From 1d559fe4b0743a41039f7f63c1d9bd66ac3366b7 Mon Sep 17 00:00:00 2001 From: Lucy Oliphant Date: Mon, 25 Apr 2016 17:18:24 +0100 Subject: [PATCH] Node Sass fix --- dist/fonts/fc-icons.eot | Bin 3716 -> 3716 bytes dist/fonts/fc-icons.ttf | Bin 3548 -> 3548 bytes dist/fonts/fc-icons.woff | Bin 2280 -> 2280 bytes dist/sass/_mixins/css-properties.scss | 9 +++---- dist/sass/_mixins/fonts.scss | 9 +++---- dist/sass/_mixins/hero.scss | 10 +++---- dist/sass/_mixins/misc.scss | 8 ++---- dist/sass/_mixins/structure.scss | 37 +++++++++++++------------- dist/sass/general/forms-v2.scss | 1 - 9 files changed, 31 insertions(+), 43 deletions(-) diff --git a/dist/fonts/fc-icons.eot b/dist/fonts/fc-icons.eot index 6906d51fa683c93da3cc668cee906e24b1d806f3..c519c68b782956cea6b6fe901adae4383a782ebe 100644 GIT binary patch delta 55 zcmZpXZIPW|!!qsay^4trE173$1WtT2MW*83)oJnkHeVUI8NV<9!DZ*q+hFwOIgBrO E0EBxMvj6}9 delta 55 zcmZpXZIPW|!&23?qjI9dN@iW(`xD{@e2bGT;^@7h0&YmFuvdc E08pS5DF6Tf diff --git a/dist/fonts/fc-icons.ttf b/dist/fonts/fc-icons.ttf index bf01c8cc9d3750fb2625fb2bd6a5d8094dd82d34..afc79c1a316c7c17ffaec3c6ac7a57c26b816035 100644 GIT binary patch delta 46 vcmca3eMfqNBl9ecz={@e2bGTz3Av4MuPL@`48dt0ofC delta 46 ucmca3eMfqNBeSmW{fRD9WGZ)bRmJn$d}ZKf{K5bPmwDT2Vf4l?FL(fw^$^qm diff --git a/dist/fonts/fc-icons.woff b/dist/fonts/fc-icons.woff index 021a94ab2d2d7bb15c2cf066d15361d0cc080c07..b457aa4f15b7b59b5fc2809645ef984b546c0727 100644 GIT binary patch delta 65 zcmV-H0KWg|5$F++a|tj2001@znkZ4ReAxvjihFCW#q-;IW#DG~0u*7m?EHBfjQ;;0 XsN^eHoP&W0Bnkkc<__z#d 1 { $bpHeroMin: nth($bpHeroList, $i - 1); } @@ -164,9 +163,8 @@ // - if this is the last iteration (so the max val is inf) // - $i == 1 -> the first interval is the default rule so we don't have a breakpoint (false false) // - if $heroFreeBreakPoints is false, we don't set a max breakpoint so that styling is overlapping - @if $i == (length($bpHeroList) + 1) or $i == 1 or $heroFreeBreakPoints { - $bpHeroMax: false; - } @else { + $bpHeroMax: false; + @if $i != (length($bpHeroList) + 1) and $i > 1 and $heroFreeBreakPoints == false { $bpHeroMax: nth($bpHeroList, $i); } diff --git a/dist/sass/_mixins/misc.scss b/dist/sass/_mixins/misc.scss index 6603a90..f7b69ce 100644 --- a/dist/sass/_mixins/misc.scss +++ b/dist/sass/_mixins/misc.scss @@ -44,7 +44,8 @@ // read width and height $width: if(first($direction) == last($direction), first($size)/2, first($size)); $height: last($size); - + $solid: top; + $transparent: left, right; @if first($direction) == up { @@ -82,11 +83,6 @@ $solid: right; $transparent: top, bottom; - } @else { - - $solid: top; - $transparent: left, right; - } border-#{$solid}: $height solid $color; diff --git a/dist/sass/_mixins/structure.scss b/dist/sass/_mixins/structure.scss index bf89cc7..d493d17 100644 --- a/dist/sass/_mixins/structure.scss +++ b/dist/sass/_mixins/structure.scss @@ -271,6 +271,21 @@ $colRatio: 1; | vertical-align: top \* ---------------------------------------------------------------------- */ +@mixin dtStyle($row, $verticalAlign, $cols, $padding) { + display: table; + + @if $row { + & > * { display: table-row; } + & > * > * { + @include tableCellV2($verticalAlign, $cols, $padding); + } + } @else { + & > * { + @include tableCellV2($verticalAlign, $cols, $padding); + } + } +} + @mixin table($verticalAlign:top, $reset: false, $hide: false, $cols: false, $row:false, $padding: $defaultColsPadding) { // table general stuff @@ -304,26 +319,12 @@ $colRatio: 1; $minPoint: last($reset); } - @mixin dtStyle { - display: table; - - @if $row { - & > * { display: table-row; } - & > * > * { - @include tableCellV2($verticalAlign, $cols, $padding); - } - } @else { - & > * { - @include tableCellV2($verticalAlign, $cols, $padding); - } - } - } - @if $ie { - @include dtStyle; - } @else { + @include dtStyle($row, $verticalAlign, $cols, $padding); + } + @else { @include breakPoints($minPoint, false) { - @include dtStyle; + @include dtStyle($row, $verticalAlign, $cols, $padding); } } diff --git a/dist/sass/general/forms-v2.scss b/dist/sass/general/forms-v2.scss index da714a2..aecaec5 100644 --- a/dist/sass/general/forms-v2.scss +++ b/dist/sass/general/forms-v2.scss @@ -750,7 +750,6 @@ } &:after { - @extend %insetElement; content: ''; background: rgb(255,255,255); border: 1px solid $formInputBorderMain;