From e34cf5f0863a5628435e6728b8d286470b0a6317 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 22 Sep 2024 17:27:49 +0900 Subject: [PATCH] Fix: Infobar - Primary button color --- css/leptonChrome.css | 20 ++++++++++++++++++++ css/leptonChromeESR.css | 9 +++++++++ src/theme/_fully_color.scss | 10 ++++++++++ 3 files changed, 39 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index ac8f9a8b..890c0e59 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -1996,6 +1996,15 @@ .notification-button:hover:active { background-color: var(--button-active-bgcolor) !important; } + .notification-button.primary { + background-color: var(--button-primary-bgcolor) !important; + } + .notification-button.primary:hover { + background-color: var(--button-primary-hover-bgcolor) !important; + } + .notification-button.primary:hover:active { + background-color: var(--button-primary-active-bgcolor) !important; + } html|button.ghost-button:not(.semi-transparent):enabled:hover { background-color: var(--button-hover-bgcolor) !important; } @@ -15843,6 +15852,17 @@ background-color: var(--button-active-bgcolor) !important; } } +@media (-moz-bool-pref: "userChrome.theme.fully_color") { + .notification-button.primary { + background-color: var(--button-primary-bgcolor) !important; + } + .notification-button.primary:hover { + background-color: var(--button-primary-hover-bgcolor) !important; + } + .notification-button.primary:hover:active { + background-color: var(--button-primary-active-bgcolor) !important; + } +} @media (-moz-bool-pref: "userChrome.theme.fully_color") { html|button.ghost-button:not(.semi-transparent):enabled:hover { background-color: var(--button-hover-bgcolor) !important; diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 13e7f495..d6c45a19 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -2223,6 +2223,15 @@ .notification-button:hover:active { background-color: var(--button-active-bgcolor) !important; } + .notification-button.primary { + background-color: var(--button-primary-bgcolor) !important; + } + .notification-button.primary:hover { + background-color: var(--button-primary-hover-bgcolor) !important; + } + .notification-button.primary:hover:active { + background-color: var(--button-primary-active-bgcolor) !important; + } html|button.ghost-button:not(.semi-transparent):enabled:hover { background-color: var(--button-hover-bgcolor) !important; } diff --git a/src/theme/_fully_color.scss b/src/theme/_fully_color.scss index 54e54494..6f841eb0 100644 --- a/src/theme/_fully_color.scss +++ b/src/theme/_fully_color.scss @@ -134,6 +134,16 @@ html#main-window menupopup:not(.in-menulist) { background-color: var(--button-active-bgcolor) !important; } } +.notification-button.primary { + background-color: var(--button-primary-bgcolor) !important; + + &:hover { + background-color: var(--button-primary-hover-bgcolor) !important; + } + &:hover:active { + background-color: var(--button-primary-active-bgcolor) !important; + } +} html|button.ghost-button:not(.semi-transparent):enabled:hover { background-color: var(--button-hover-bgcolor) !important;