From 724ae7a106e4ea468d035af512cf0b9aa0f2bbaa Mon Sep 17 00:00:00 2001 From: Andrew Bone Date: Mon, 24 Dec 2018 14:40:33 +0000 Subject: [PATCH] Added --theme-top-bar-write-* (#1388) * Added --theme-top-bar-write-* Adding both --theme-top-bar-write-color and --theme-top-bar-write-background to change the text/border colour and background colour of the write a post button. * add --theme-top-bar-write-color to border Added --theme-top-bar-write-color to border * Revert theme changes * Limit changes to write button Styles were leaking but are now contained --- app/assets/stylesheets/top-bar.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/top-bar.scss b/app/assets/stylesheets/top-bar.scss index 0446ef9f5..70661af3a 100644 --- a/app/assets/stylesheets/top-bar.scss +++ b/app/assets/stylesheets/top-bar.scss @@ -55,6 +55,9 @@ font-weight: bold; border-radius: 3px; border: 2px solid $black; + border: 2px solid var(--theme-top-bar-write-color, $black); + color: var(--theme-top-bar-write-color, $black); + background: var(--theme-top-bar-write-background, $green); @media screen and (min-width: 560px) { display: block; right: 140px;