[libadwaita/wip/exalm/dropdown-style: 2/5] stylesheet: Disable active for .has-open-popup list rows
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/dropdown-style: 2/5] stylesheet: Disable active for .has-open-popup list rows
- Date: Mon, 18 Oct 2021 13:49:00 +0000 (UTC)
commit 3ac7c98cc357a43f095f9d6a4680aa4bb6926715
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Oct 18 18:39:44 2021 +0500
stylesheet: Disable active for .has-open-popup list rows
This needs a specificity bump.
src/stylesheet/widgets/_lists.scss | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/widgets/_lists.scss b/src/stylesheet/widgets/_lists.scss
index db112708..b55c820d 100644
--- a/src/stylesheet/widgets/_lists.scss
+++ b/src/stylesheet/widgets/_lists.scss
@@ -30,16 +30,19 @@ row {
background-clip: padding-box;
&.activatable {
- &.has-open-popup, // this is for indicathing which row generated a popover see
https://bugzilla.gnome.org/show_bug.cgi?id=754411
&:hover { background-color: $view_hover_color; }
&:active { background-color: $view_active_color; }
+ // this is for indicathing which row generated a popover see
https://bugzilla.gnome.org/show_bug.cgi?id=754411
+ &.has-open-popup { background-color: $view_hover_color; }
+
&:selected {
- &.has-open-popup,
&:hover { background-color: $view_selected_hover_color; }
&:active { background-color: $view_selected_active_color; }
+
+ &.has-open-popup { background-color: $view_selected_hover_color; }
}
}
@@ -166,7 +169,6 @@ row.combo {
border-bottom: 1px solid $borders_color;
&:not(:selected).activatable {
- &.has-open-popup,
&:hover {
background-color: gtkalpha(currentColor, .03);
}
@@ -174,6 +176,10 @@ row.combo {
&:active {
background-color: gtkalpha(currentColor, .08);
}
+
+ &.has-open-popup {
+ background-color: gtkalpha(currentColor, .03);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]