diff options
| author | cristiano <[email protected]> | 2019-12-18 18:11:04 +0000 |
|---|---|---|
| committer | cristiano <[email protected]> | 2019-12-18 18:11:04 +0000 |
| commit | ea83632a0ebd587f96aacd3da33fc7fcde32172f (patch) | |
| tree | abf4ffe0b75c3a75a07c23a222725efd6aa3ed12 /templates/@theme-base/_styles.scss | |
| parent | 63ced04c63ff3ac3b7ac9742a3ad254d3edbd5a3 (diff) | |
| download | protonmail-themes-ea83632a0ebd587f96aacd3da33fc7fcde32172f.tar.xz protonmail-themes-ea83632a0ebd587f96aacd3da33fc7fcde32172f.zip | |
Checked image has theme color on hover (fix).
Diffstat (limited to 'templates/@theme-base/_styles.scss')
| -rw-r--r-- | templates/@theme-base/_styles.scss | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/templates/@theme-base/_styles.scss b/templates/@theme-base/_styles.scss index b44b79c..948ad89 100644 --- a/templates/@theme-base/_styles.scss +++ b/templates/@theme-base/_styles.scss @@ -87,8 +87,6 @@ $boxshadow-main: none; background: rgba($highlight, 0.1); } - - .item-checkbox:checked + .item-icon { background-color: $highlight; border-color: $highlight; @@ -102,12 +100,19 @@ $boxshadow-main: none; fill: $navigation; } - .selectBoxElement-container:hover .item-icon { - // background-color: transparent; - border: 1px solid darken($highlight, 5%); + .selectBoxElement-container:hover { + .item-icon { + background-color: transparent; + border: 1px solid darken($highlight, 5%); + + .item-icon-fakecheck-icon { + fill: darken($highlight, 5%); + } + } - .item-icon-fakecheck-icon { - fill: darken($highlight, 5%); + .item-checkbox:checked + .item-icon { + background-color: darken($highlight, 5%); + border-color: darken($highlight, 5%); } } } |
