From 217538023ff5dfe333b720764c1a4340f91dbd97 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 27 Sep 2020 00:35:09 +0100 Subject: [PATCH] fix(scss): case where invisible text on dark button hover/focus Affects .dark a .btn :hover/focus For example, with red button and red link color, led to red button with (invisible) red text on button hover/focus. --- wowchemy/assets/scss/wowchemy/_root.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wowchemy/assets/scss/wowchemy/_root.scss b/wowchemy/assets/scss/wowchemy/_root.scss index 94dfb1a2..db0c7fd2 100644 --- a/wowchemy/assets/scss/wowchemy/_root.scss +++ b/wowchemy/assets/scss/wowchemy/_root.scss @@ -134,8 +134,8 @@ a:focus { color: $sta-dark-link; } -.dark a:hover, -.dark a:focus { +.dark a:not(.btn):hover, +.dark a:not(.btn):focus { color: $sta-dark-link-hover; }