aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcristiano <[email protected]>2019-12-18 18:11:04 +0000
committercristiano <[email protected]>2019-12-18 18:11:04 +0000
commitea83632a0ebd587f96aacd3da33fc7fcde32172f (patch)
treeabf4ffe0b75c3a75a07c23a222725efd6aa3ed12
parent63ced04c63ff3ac3b7ac9742a3ad254d3edbd5a3 (diff)
downloadprotonmail-themes-ea83632a0ebd587f96aacd3da33fc7fcde32172f.tar.xz
protonmail-themes-ea83632a0ebd587f96aacd3da33fc7fcde32172f.zip
Checked image has theme color on hover (fix).
-rw-r--r--templates/@theme-base/_styles.scss19
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%);
}
}
}