From 1000e4a96e2d2f0a7c79cb5b74ee78e6a865f2a7 Mon Sep 17 00:00:00 2001 From: ebremner <ebremner@uwaterloo.ca> Date: Mon, 23 Mar 2020 08:48:54 -0400 Subject: [PATCH] ISTWCMS-3574: adding stylings for neutral in CTAs --- .../call-to-action/_call-to-action.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/_patterns/04-components/call-to-action/_call-to-action.scss b/source/_patterns/04-components/call-to-action/_call-to-action.scss index 7ec18b8b..acfc7304 100644 --- a/source/_patterns/04-components/call-to-action/_call-to-action.scss +++ b/source/_patterns/04-components/call-to-action/_call-to-action.scss @@ -1,4 +1,4 @@ -$faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat', 'org-sci', 'org-school'; +$faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat', 'org-sci', 'org-school'; @each $faculty in $faculties { .uw-cta { @@ -8,6 +8,9 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat' @if $faculty == org-default { color: $uw-gold; } + @else if $faculty == neutral { + color: $uw-grey; + } @else { color: gesso-brand($faculty, 'lvl1'); } @@ -25,6 +28,13 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat' color: $uw-black; } } + @else if $faculty == neutral { + background-color: $uw-grey; + + .uw-cta__text--big { + color: $uw-white; + } + } @else { background-color: gesso-brand($faculty, 'lvl1'); -- GitLab