[libadwaita/wip/exalm/selection-color: 4/9] stylesheet: Drop an unused label selection style
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/selection-color: 4/9] stylesheet: Drop an unused label selection style
- Date: Tue, 4 May 2021 15:04:12 +0000 (UTC)
commit 216a7908105ba201ec21092d65f418adc721268e
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon May 3 14:37:55 2021 +0500
stylesheet: Drop an unused label selection style
This was originally added for the places sidebar in backdrop, separate
backdrop styles are gone.
src/stylesheet/_common.scss | 10 +++-------
src/stylesheet/widgets/_labels.scss | 2 --
2 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 98eba51..4b2d8cc 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -45,14 +45,10 @@ dnd {
%selected_items {
background-color: $selected_bg_color;
+ color: $selected_fg_color;
- @at-root %nobg_selected_items, & {
- color: $selected_fg_color;
-
- @at-root %selected_items_disabled,
- &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
-
- }
+ @at-root %selected_items_disabled,
+ &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
}
:not(window):drop(active):focus,
diff --git a/src/stylesheet/widgets/_labels.scss b/src/stylesheet/widgets/_labels.scss
index 91cd0fe..146a994 100644
--- a/src/stylesheet/widgets/_labels.scss
+++ b/src/stylesheet/widgets/_labels.scss
@@ -5,8 +5,6 @@ label {
@extend .dim-label;
}
- &:selected { @extend %nobg_selected_items; }
-
> selection {
background-color: $selected_bg_color;
color: $selected_fg_color;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]