From db55f871d474e47ebc5ca186d485d0142cc6e6cc Mon Sep 17 00:00:00 2001 From: Andrew Bone Date: Sat, 15 Dec 2018 17:48:28 +0000 Subject: [PATCH] Beginning of css variable implementation (#1307) Added --theme-top-bar-background leaving the default the same. This will make no, visible, change to the styles currently. --- app/assets/stylesheets/top-bar.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/top-bar.scss b/app/assets/stylesheets/top-bar.scss index 8b614b92e..25bd0fafd 100644 --- a/app/assets/stylesheets/top-bar.scss +++ b/app/assets/stylesheets/top-bar.scss @@ -20,7 +20,7 @@ z-index: 1000; font-size: 17px; height: 48px; - background: $tan; + background: var(--theme-top-bar-background, $tan); position: fixed; border-bottom: 1px solid rgba(0, 0, 0, 0.33); box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.13); @@ -29,7 +29,6 @@ width: 1250px; margin: auto; position: relative; - background: $tan; a { &:active { opacity: 0.8;