[libadwaita/wip/exalm/checks] stylesheet: Fix menu radio hover state
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/checks] stylesheet: Fix menu radio hover state
- Date: Sat, 5 Feb 2022 13:44:41 +0000 (UTC)
commit b00454f7a5f7d36c95e607bee1e49cf6b5b6e6cf
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Feb 5 18:45:03 2022 +0500
stylesheet: Fix menu radio hover state
Remove the weird box-shadow leaking from the main style.
src/stylesheet/widgets/_menus.scss | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/stylesheet/widgets/_menus.scss b/src/stylesheet/widgets/_menus.scss
index 20f707c1..85fda979 100644
--- a/src/stylesheet/widgets/_menus.scss
+++ b/src/stylesheet/widgets/_menus.scss
@@ -84,6 +84,7 @@ popover.menu {
&:hover:indeterminate,
&:hover:not(:checked):not(:indeterminate) {
background: none;
+ box-shadow: none;
color: inherit;
}
}
@@ -95,17 +96,10 @@ popover.menu {
}
}
- check {
- &, &:not(:checked):not(:indeterminate):hover {
- box-shadow: none;
- }
- }
-
//only menu radios have a border
radio {
padding: 1px;
border: 1px solid gtkalpha(currentColor, $dimmer_opacity);
- box-shadow: none;
}
check,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]