Skip to content

Commit

Permalink
Removed right margin in every third span4 footer content block in 768…
Browse files Browse the repository at this point in the history
…px - 979px breakpoint

Fixed #312
  • Loading branch information
hyperboy committed Apr 26, 2016
1 parent c70a7dd commit d3cd4ba
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
40 changes: 21 additions & 19 deletions css/open_framework.css
Original file line number Diff line number Diff line change
Expand Up @@ -1399,19 +1399,21 @@ ul.primary {
width: 30.6%;
}

/* line 1272, ../sass/includes/_base.scss */
/* line 1273, ../sass/includes/_base.scss */
.footer-content .block.span2:nth-child(3n+1),
.footer-content .block.span3:nth-child(3n+1) {
.footer-content .block.span3:nth-child(3n+1),
.footer-content .block.span4:nth-child(3n+1) {
clear: both;
}

/* line 1276, ../sass/includes/_base.scss */
/* line 1278, ../sass/includes/_base.scss */
.footer-content .block.span2:nth-child(3n),
.footer-content .block.span3:nth-child(3n) {
.footer-content .block.span3:nth-child(3n),
.footer-content .block.span4:nth-child(3n) {
margin-right: 0;
}

/* line 1282, ../sass/includes/_base.scss */
/* line 1284, ../sass/includes/_base.scss */
.sidebar-first .content-row3 .span4,
.sidebar-first .content-col3.row-fluid .span4,
.sidebar-first .content-row4 .span3,
Expand All @@ -1423,22 +1425,22 @@ ul.primary {
width: 49%;
}

/* line 1292, ../sass/includes/_base.scss */
/* line 1294, ../sass/includes/_base.scss */
.sidebar-first .content-row3 .span4:nth-child(odd),
.sidebar-first .content-col3.row-fluid .span4:nth-child(odd),
.sidebar-first .content-row4 .span3:nth-child(odd),
.sidebar-first .content-col4.row-fluid .span3:nth-child(odd) {
margin-right: 2%;
}

/* line 1297, ../sass/includes/_base.scss */
/* line 1299, ../sass/includes/_base.scss */
.sidebar-first .content-col3.row-fluid [class*="span"]:nth-child(2n),
.sidebar-first .content-row4 [class*="span"]:nth-child(2n),
.sidebar-first .content-col4.row-fluid [class*="span"]:nth-child(2n) {
margin-right: 0;
}

/* line 1305, ../sass/includes/_base.scss */
/* line 1307, ../sass/includes/_base.scss */
.sidebar-first .content-row2 [class*="span"]:nth-child(2n+1),
.sidebar-first .content-col2.row-fluid [class*="span"]:nth-child(2n+1),
.sidebar-first .content-row3 [class*="span"]:nth-child(2n+1),
Expand All @@ -1449,7 +1451,7 @@ ul.primary {
margin-left: 0;
}

/* line 1312, ../sass/includes/_base.scss */
/* line 1314, ../sass/includes/_base.scss */
.two-sidebars .content-row3 .span4,
.two-sidebars .content-col3.row-fluid .span4,
.two-sidebars .content-row4 .span3,
Expand All @@ -1461,22 +1463,22 @@ ul.primary {
width: 49%;
}

/* line 1322, ../sass/includes/_base.scss */
/* line 1324, ../sass/includes/_base.scss */
.two-sidebars .content-row3 .span4:nth-child(odd),
.two-sidebars .content-col3.row-fluid .span4:nth-child(odd),
.two-sidebars .content-row4 .span3:nth-child(odd),
.two-sidebars .content-col4.row-fluid .span3:nth-child(odd) {
margin-right: 2%;
}

/* line 1327, ../sass/includes/_base.scss */
/* line 1329, ../sass/includes/_base.scss */
.two-sidebars .content-col3.row-fluid [class*="span"]:nth-child(2n),
.two-sidebars .content-row4 [class*="span"]:nth-child(2n),
.two-sidebars .content-col4.row-fluid [class*="span"]:nth-child(2n) {
margin-right: 0;
}

/* line 1335, ../sass/includes/_base.scss */
/* line 1337, ../sass/includes/_base.scss */
.two-sidebars .content-row2 [class*="span"]:nth-child(2n+1),
.two-sidebars .content-col2.row-fluid [class*="span"]:nth-child(2n+1),
.two-sidebars .content-row3 [class*="span"]:nth-child(2n+1),
Expand All @@ -1487,7 +1489,7 @@ ul.primary {
margin-left: 0;
}

/* line 1342, ../sass/includes/_base.scss */
/* line 1344, ../sass/includes/_base.scss */
.no-sidebars .content-row3 .span4,
.no-sidebars .content-col3.row-fluid .span4,
.no-sidebars .content-row4 .span3,
Expand All @@ -1499,22 +1501,22 @@ ul.primary {
width: 49%;
}

/* line 1352, ../sass/includes/_base.scss */
/* line 1354, ../sass/includes/_base.scss */
.no-sidebars .content-row3 .span4:nth-child(odd),
.no-sidebars .content-col3.row-fluid .span4:nth-child(odd),
.no-sidebars .content-row4 .span3:nth-child(odd),
.no-sidebars .content-col4.row-fluid .span3:nth-child(odd) {
margin-right: 2%;
}

/* line 1357, ../sass/includes/_base.scss */
/* line 1359, ../sass/includes/_base.scss */
.no-sidebars .content-col3.row-fluid [class*="span"]:nth-child(2n),
.no-sidebars .content-row4 [class*="span"]:nth-child(2n),
.no-sidebars .content-col4.row-fluid [class*="span"]:nth-child(2n) {
margin-right: 0;
}

/* line 1365, ../sass/includes/_base.scss */
/* line 1367, ../sass/includes/_base.scss */
.no-sidebars .content-row2 [class*="span"]:nth-child(2n+1),
.no-sidebars .content-col2.row-fluid [class*="span"]:nth-child(2n+1),
.no-sidebars .content-row3 [class*="span"]:nth-child(2n+1),
Expand All @@ -1525,7 +1527,7 @@ ul.primary {
margin-left: 0;
}

/* line 1371, ../sass/includes/_base.scss */
/* line 1373, ../sass/includes/_base.scss */
.sidebar-second .content-row2 [class*="span"]:nth-child(2n+1),
.sidebar-second .content-row3 [class*="span"]:nth-child(3n+1),
.sidebar-second .content-row4 [class*="span"]:nth-child(4n+1) {
Expand All @@ -1535,7 +1537,7 @@ ul.primary {
}
/* large desktop */
@media (min-width: 980px) {
/* line 1383, ../sass/includes/_base.scss */
/* line 1385, ../sass/includes/_base.scss */
.content-row2 [class*="span"]:nth-child(2n+1),
.content-row3 [class*="span"]:nth-child(3n+1),
.content-row4 [class*="span"]:nth-child(4n+1) {
Expand All @@ -1545,7 +1547,7 @@ ul.primary {
}
/* desktop */
@media (min-width: 980px) and (max-width: 1199px) {
/* line 1395, ../sass/includes/_base.scss */
/* line 1397, ../sass/includes/_base.scss */
.two-sidebars .content .callout,
.two-sidebars .content .bracket,
.two-sidebars .content .topline {
Expand Down
6 changes: 4 additions & 2 deletions sass/includes/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1269,11 +1269,13 @@ ul.primary {
width: 30.6%;
}
.footer-content .block.span2:nth-child(3n+1),
.footer-content .block.span3:nth-child(3n+1) {
.footer-content .block.span3:nth-child(3n+1),
.footer-content .block.span4:nth-child(3n+1) {
clear: both;
}
.footer-content .block.span2:nth-child(3n),
.footer-content .block.span3:nth-child(3n) {
.footer-content .block.span3:nth-child(3n),
.footer-content .block.span4:nth-child(3n) {
margin-right: 0;
}
.sidebar-first .content-row3 .span4,
Expand Down
2 changes: 1 addition & 1 deletion sass/open_framework.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"includes/module-theme-options",
"includes/module-views-grid",
"includes/module-bootstrap-overrides",
"includes/module-ie";
"includes/module-ie";
2 changes: 1 addition & 1 deletion sass/open_framework_print.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import
"compass/css3",
"includes/variables",
"includes/print";
"includes/print";

0 comments on commit d3cd4ba

Please sign in to comment.