From 11899ff70e65ebdb955c48b8011984ae1f9afdab Mon Sep 17 00:00:00 2001 From: Dave Williams Date: Tue, 24 Oct 2017 12:33:02 +0100 Subject: [PATCH 1/2] Fix callout sass nesting in Static_Starter_GULP --- Static_Starter_GULP/scss/core/_callout.scss | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Static_Starter_GULP/scss/core/_callout.scss b/Static_Starter_GULP/scss/core/_callout.scss index 58b76ac03..59e2713eb 100644 --- a/Static_Starter_GULP/scss/core/_callout.scss +++ b/Static_Starter_GULP/scss/core/_callout.scss @@ -16,6 +16,16 @@ float: right; width: 50%; } + + @each $color, $value in $theme-colors { + &.callout-#{$color} { + border-left-color: $value; + + h4 { + color: $value; + } + } + } } .callout-bordered { @@ -44,12 +54,3 @@ } } -@each $color, $value in $theme-colors { - &.callout-#{$color} { - border-left-color: $value; - - h4 { - color: $value; - } - } -} From c70bf3dce95e7cac11c36f12576d072f48ee69ea Mon Sep 17 00:00:00 2001 From: Dave Williams Date: Tue, 24 Oct 2017 12:35:07 +0100 Subject: [PATCH 2/2] Fix callout sass nesting in Static_Full_Project --- .../scss/core/_callout.scss | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Static_Full_Project_GULP/scss/core/_callout.scss b/Static_Full_Project_GULP/scss/core/_callout.scss index 58b76ac03..be5d36254 100644 --- a/Static_Full_Project_GULP/scss/core/_callout.scss +++ b/Static_Full_Project_GULP/scss/core/_callout.scss @@ -16,6 +16,16 @@ float: right; width: 50%; } + + @each $color, $value in $theme-colors { + &.callout-#{$color} { + border-left-color: $value; + + h4 { + color: $value; + } + } + } } .callout-bordered { @@ -43,13 +53,3 @@ color: $text-muted; } } - -@each $color, $value in $theme-colors { - &.callout-#{$color} { - border-left-color: $value; - - h4 { - color: $value; - } - } -}