From 23f7e905f8f606b39b4beb5322d1a16c8af4f84d Mon Sep 17 00:00:00 2001 From: Razvan Spatariu Date: Tue, 8 Mar 2016 18:38:15 +0000 Subject: [PATCH] rebuild gutter optional and golden padding as optional right padding --- dist/fonts/fc-icons.eot | Bin 3492 -> 3492 bytes dist/fonts/fc-icons.ttf | Bin 3324 -> 3324 bytes dist/fonts/fc-icons.woff | Bin 2136 -> 2136 bytes dist/sass/_mixins/structure.scss | 5 ++++- dist/sass/_variables/misc.scss | 3 ++- dist/sass/general/useful-classes.scss | 6 ++++-- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dist/fonts/fc-icons.eot b/dist/fonts/fc-icons.eot index 9191748bacf5a17b6e1cce0444dcf744ac93be75..af8f782742d056704612b12f5034649bbef25b66 100644 GIT binary patch delta 53 zcmZ1?y+nF~4f8FZEfeimF-zZkKJm>|=`B9D;`wd9GH^3~VE}^5EN2>F^yWE?96SI@ C{1egu delta 53 zcmZ1?y+nF~4YSzYQxol1F$+vQIq}U@=~H*b;`wd9GH^3~VE}?l|22wW^yWE?96SIy C*Auk> diff --git a/dist/fonts/fc-icons.ttf b/dist/fonts/fc-icons.ttf index 7bd5f979b94ad73452e110a9642061e23c7f4fc5..bb0459bbd25a237c9d8d9e3f62a46884153e3337 100644 GIT binary patch delta 45 ucmew(`A2esBeV3)=M!C~N^kMG70++;m4Tb_3j+{bW;xRcqc?ux-~j-klMvYe delta 45 ucmew(`A2esBeTH7lM`L0N}swb7SC_ diff --git a/dist/fonts/fc-icons.woff b/dist/fonts/fc-icons.woff index b08985ef74eff952e9b63ebb4ec00584cf71e4b5..b2c0d98fe33efe82c35c4bc97b7908b6e9aeabe2 100644 GIT binary patch delta 58 zcmV-A0LA~<5ZDlqc>^2S=dpZR1tu-(r{ei-zA|t#egTRwTxL1b2&4c12P*jr7Uy7K Q0*L|uTW}1*v-|~I0tTrV+yDRo delta 58 zcmV-A0LA~<5ZDlqc>@rU$+3J|1twEF*y8zZzA|t#egTRwT>7t31f&1|2P*jr7Uy7K Q0*L|uX08o0v-|~I0`MvrQUCw| diff --git a/dist/sass/_mixins/structure.scss b/dist/sass/_mixins/structure.scss index c3c7fea..bf89cc7 100644 --- a/dist/sass/_mixins/structure.scss +++ b/dist/sass/_mixins/structure.scss @@ -475,5 +475,8 @@ $maxWrapWidth: 1200px; $grpWidths: colsWidth($grpWidths); padding-left: nth($grpWidths, 1) * 1%; - padding-right: nth($grpWidths, 2) * 1%; + + @if length($grpWidths) == 3 { + padding-right: nth($grpWidths, 2) * 1%; + } } diff --git a/dist/sass/_variables/misc.scss b/dist/sass/_variables/misc.scss index 6021116..fdccab5 100644 --- a/dist/sass/_variables/misc.scss +++ b/dist/sass/_variables/misc.scss @@ -56,6 +56,8 @@ $fontFamilyDefault: 'Source Sans Pro', sans-serif; $defaultColsPadding: $fontSizeBase * 1px; +$responsiveGutter: true !default; + // Hardcoded sizes // @@ -137,4 +139,3 @@ $heroGradientMedium: rgba(0, 0, 0, .4) 0%, $heroGradientDark: rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .8) 100%; - diff --git a/dist/sass/general/useful-classes.scss b/dist/sass/general/useful-classes.scss index 6ce97a1..ce82c49 100644 --- a/dist/sass/general/useful-classes.scss +++ b/dist/sass/general/useful-classes.scss @@ -1,7 +1,9 @@ .wrap { - @include wrapThis(rem(1)); + @include wrapThis(1); - @include wrapThis(rem(1.5), $bpMobileLandscape false); + @if $responsiveGutter { + @include wrapThis(1.5, $bpMobileLandscape false); + } } .wrap--nopad { @include wrapThis(); }