From 8c55e27d1e416cffccee487b2cab47ff99a44403 Mon Sep 17 00:00:00 2001 From: Cynthia Lin <15116870+synicalsyntax@users.noreply.github.com> Date: Fri, 19 Jul 2019 07:36:10 +0000 Subject: [PATCH] night mode: Fix loss of border color on default style buttons. --- static/styles/night_mode.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss index e9d566b716..c5f043bfb3 100644 --- a/static/styles/night_mode.scss +++ b/static/styles/night_mode.scss @@ -2,7 +2,6 @@ body.night-mode { background-color: hsl(212, 28%, 18%); color: hsl(236, 33%, 90%); - .new-style .button.btn-link:hover, a:hover { color: hsl(200, 79%, 66%); } @@ -95,7 +94,16 @@ on a dark background, and don't change the dark labels dark either. */ .new-style .button { background-color: hsla(0, 0%, 0%, 0.2); - border-color: unset; + + &:not(.sea-green):not(.btn-danger):not(.btn-warning):not(.btn-link) { + border-color: hsla(0, 0%, 0%, 0.6); + color: inherit; + } + + &.btn-link { + border-color: hsla(0, 0%, 0%, 0.6); + color: hsl(200, 79%, 66%); + } &:hover, &:focus,