[libadwaita/libadwaita-1-0] stylesheet: Fix menu radio hover state
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/libadwaita-1-0] stylesheet: Fix menu radio hover state
- Date: Sat, 5 Feb 2022 17:56:04 +0000 (UTC)
commit 03cdb450a30126c30cc21c77a2f79d0cfabc4291
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.
(cherry picked from commit 99c069b06df24de2e78b9c5576c7bdd63b6870f9)
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]