[libadwaita/wip/exalm/selection-color: 29/32] stylesheet: Make insensitive labels transparent instead of grey
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/selection-color: 29/32] stylesheet: Make insensitive labels transparent instead of grey
- Date: Mon, 3 May 2021 21:48:42 +0000 (UTC)
commit 76db46676e57a68f586ce7326e614651f270f177
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon May 3 14:47:25 2021 +0500
stylesheet: Make insensitive labels transparent instead of grey
Also remove the separate selection style as it's inherited now.
src/stylesheet/_common.scss | 1 -
src/stylesheet/widgets/_labels.scss | 7 +------
2 files changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 4b2d8cc..c6d071e 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -47,7 +47,6 @@ dnd {
background-color: $selected_bg_color;
color: $selected_fg_color;
- @at-root %selected_items_disabled,
&:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
}
diff --git a/src/stylesheet/widgets/_labels.scss b/src/stylesheet/widgets/_labels.scss
index 146a994..d9decbc 100644
--- a/src/stylesheet/widgets/_labels.scss
+++ b/src/stylesheet/widgets/_labels.scss
@@ -11,16 +11,11 @@ label {
}
&:disabled {
- color: $insensitive_fg_color;
-
- button & { color: inherit; }
-
- > selection { @extend %selected_items_disabled; }
+ filter: opacity(0.5);
}
&.error {
color: $error_color;
- &:disabled { color: transparentize($error_color,0.5); }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]