[libadwaita/wip/exalm/recoloring-checks: 2/4] stylesheet: Make check recoloring easier
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/recoloring-checks: 2/4] stylesheet: Make check recoloring easier
- Date: Fri, 22 Oct 2021 08:05:27 +0000 (UTC)
commit 99e712c2a4cbe9cc51b827bfb58e047f17f18595
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 091494f4..18749258 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]