From 77581d7b30ce27fae3d773a52eeb287608fe9982 Mon Sep 17 00:00:00 2001 From: perennial Date: Tue, 8 Oct 2024 15:24:31 +1100 Subject: [PATCH] custom-btn-secondary hover state --- assets/css/bootstrap-style.css | 5 +++++ assets/css/bootstrap-style.scss | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/assets/css/bootstrap-style.css b/assets/css/bootstrap-style.css index 200d04b..b1f34fc 100644 --- a/assets/css/bootstrap-style.css +++ b/assets/css/bootstrap-style.css @@ -12929,6 +12929,11 @@ textarea.form-control-lg { display: none !important; } } +.custom-btn-secondary:hover, .custom-btn-secondary-flex:hover, .custom-btn-secondary:focus, .custom-btn-secondary-flex:focus, .custom-btn-secondary:active, .custom-btn-secondary-flex:active { + background-color: #2d2d2d !important; + color: white; +} + .custom-novel-nav { max-height: 40vh; } diff --git a/assets/css/bootstrap-style.scss b/assets/css/bootstrap-style.scss index 4e875a4..efbb3a5 100644 --- a/assets/css/bootstrap-style.scss +++ b/assets/css/bootstrap-style.scss @@ -137,6 +137,12 @@ $utilities: map-merge( @extend .border-0; @extend .py-2; @extend .px-3; + &:hover, + &:focus, + &:active { + background-color: darken(map-get($custom-colors, charcoal-surface2), 5%) !important; + color: white; // Ensure text remains white on hover + } } .custom-btn-secondary-flex {