From 80a2b51a535191a343b7f213128e1d1b85bd2c10 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 16 May 2022 14:18:32 +0900 Subject: [PATCH] Clean: Refactoring theme/fully_dark, theme/waterfox --- css/leptonChrome.css | 3 --- src/theme/_fully_dark.scss | 7 ++++--- src/theme/_waterfox.scss | 13 ++++++------- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index c30ea35..212f522 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -1443,7 +1443,6 @@ #alertSettings > .button-box > .box-inherit { margin: -4px 4px 3px 0 !important; } - #alertSettings > .button-box > .box-inherit > .button-icon { padding: 1px; } @@ -7558,11 +7557,9 @@ /* This button needs to align with the tree above it. */ margin-inline-start: 4px; } - #editBMPanel_newFolderButton:hover { background-color: var(--button-hover-bgcolor); } - #editBMPanel_newFolderButton:hover:active { background-color: var(--button-active-bgcolor); } diff --git a/src/theme/_fully_dark.scss b/src/theme/_fully_dark.scss index f13463d..f505451 100644 --- a/src/theme/_fully_dark.scss +++ b/src/theme/_fully_dark.scss @@ -65,8 +65,9 @@ browser[type="content"] > html { } #alertSettings > .button-box > .box-inherit { margin: -4px 4px 3px 0 !important; - } - #alertSettings > .button-box > .box-inherit > .button-icon { - padding: 1px; + + > .button-icon { + padding: 1px; + } } } diff --git a/src/theme/_waterfox.scss b/src/theme/_waterfox.scss index 699d13a..2fa4ac1 100644 --- a/src/theme/_waterfox.scss +++ b/src/theme/_waterfox.scss @@ -15,12 +15,11 @@ /* This button needs to align with the tree above it. */ margin-inline-start: 4px; -} -#editBMPanel_newFolderButton:hover { - background-color: var(--button-hover-bgcolor); -} - -#editBMPanel_newFolderButton:hover:active { - background-color: var(--button-active-bgcolor); + &:hover { + background-color: var(--button-hover-bgcolor); + &:active { + background-color: var(--button-active-bgcolor); + } + } }