[libadwaita/wip/exalm/recoloring-checks: 31/33] stylesheet: Make check recoloring easier
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/recoloring-checks: 31/33] stylesheet: Make check recoloring easier
- Date: Tue, 26 Oct 2021 07:56:35 +0000 (UTC)
commit 1d5d90a1e86958ad06b569ae276cdd279d300ffc
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Oct 22 13:05:03 2021 +0500
stylesheet: Make check recoloring easier
src/stylesheet/widgets/_checks.scss | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/widgets/_checks.scss b/src/stylesheet/widgets/_checks.scss
index 4d500261..1389fa8e 100644
--- a/src/stylesheet/widgets/_checks.scss
+++ b/src/stylesheet/widgets/_checks.scss
@@ -22,7 +22,7 @@ radio {
box-shadow: inset 0 0 0 1px $border_color;
}
- &:hover {
+ &:hover:not(:checked):not(:indeterminate) {
background-color: $trough_hover_color;
&:active { background-color: $trough_active_color; }
@@ -38,9 +38,9 @@ radio {
}
&:hover {
- background-color: $fill_hover_color;
+ background-image: image(gtkalpha(currentColor, .1));
- &:active { background-color: $fill_active_color; }
+ &:active { background-image: image(transparentize(black, .8)); }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]