Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Contact widget table spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Nov 9, 2015
1 parent 2a11b7b commit e008568
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
22 changes: 19 additions & 3 deletions sass/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
border-width: $megafooter-widget-head-border-width;
border-color: $megafooter-widget-head-border-color;
background-color: $megafooter-widget-head-bg;

} @else if $parent == "#maxmegamenu" {
padding: $maxmegamenu-widget-head-padding;
border-width: $maxmegamenu-widget-head-border-width;
Expand Down Expand Up @@ -423,8 +422,26 @@
/* === UCONN Widgets
*/
&.uc-contact-widget {

.table-responsive {
@if $parent == "#mega-footer" {
padding:1em;
} @else if $parent == "#maxmegamenu" {
padding:1em;
} @else if $parent == ".subpage" {
padding:1em;
}
}

th {
white-space:nowrap;
white-space:nowrap;
@if $parent == "#mega-footer" {
padding-left:0;
} @else if $parent == "#maxmegamenu" {
padding-left:0;
} @else if $parent == ".subpage" {
padding-left:0;
}
}
td{
&.uc-output-email{
Expand All @@ -433,7 +450,6 @@
&.uc-output-more{
word-break: break-all;
}

}
}

Expand Down
15 changes: 12 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6343,8 +6343,11 @@ button.close {
width: 50%; }
.home #content .panel-grid .widget.widget_dpe_fp_widget .dpe-flexible-posts li.has-post-thumbnail a:hover .title {
text-decoration: underline; }
.home #content .panel-grid .widget.uc-contact-widget .table-responsive {
padding: 1em; }
.home #content .panel-grid .widget.uc-contact-widget th {
white-space: nowrap; }
white-space: nowrap;
padding-left: 0; }
.home #content .panel-grid .widget.uc-contact-widget td.uc-output-email {
word-break: break-all; }
.home #content .panel-grid .widget.uc-contact-widget td.uc-output-more {
Expand Down Expand Up @@ -6893,8 +6896,11 @@ button.close {
width: 50%; }
.subpage .widget.widget_dpe_fp_widget .dpe-flexible-posts li.has-post-thumbnail a:hover .title {
text-decoration: underline; }
.subpage .widget.uc-contact-widget .table-responsive {
padding: 1em; }
.subpage .widget.uc-contact-widget th {
white-space: nowrap; }
white-space: nowrap;
padding-left: 0; }
.subpage .widget.uc-contact-widget td.uc-output-email {
word-break: break-all; }
.subpage .widget.uc-contact-widget td.uc-output-more {
Expand Down Expand Up @@ -7863,8 +7869,11 @@ body.sticky .ie8 #footers {
width: 50%; }
#mega-footer .widget.widget_dpe_fp_widget .dpe-flexible-posts li.has-post-thumbnail a:hover .title {
text-decoration: underline; }
#mega-footer .widget.uc-contact-widget .table-responsive {
padding: 1em; }
#mega-footer .widget.uc-contact-widget th {
white-space: nowrap; }
white-space: nowrap;
padding-left: 0; }
#mega-footer .widget.uc-contact-widget td.uc-output-email {
word-break: break-all; }
#mega-footer .widget.uc-contact-widget td.uc-output-more {
Expand Down

0 comments on commit e008568

Please sign in to comment.