[libadwaita/wip/exalm/osd-menu-buttons: 3/5] stylesheet: Fix menubutton.osd style
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/osd-menu-buttons: 3/5] stylesheet: Fix menubutton.osd style
- Date: Wed, 23 Jun 2021 13:13:53 +0000 (UTC)
commit 6d9dfb1a8fb5cf0f0d6b35941b2ae3d80848643e
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Jun 23 13:36:44 2021 +0500
stylesheet: Fix menubutton.osd style
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/216
src/stylesheet/widgets/_buttons.scss | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index dfab7f69..d1265787 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -79,10 +79,10 @@ button {
}
// big standalone buttons like in Documents pager
+ @at-root %osd_button,
&.osd {
min-width: 32px;
min-height: 32px;
-
@include focus-ring($outer: true, $offset: 1px);
transition: $button_transition;
@@ -338,6 +338,13 @@ button.outline {
}
menubutton {
+ &.osd {
+ background: none;
+ color: inherit;
+
+ > button { @extend %osd_button; }
+ }
+
arrow {
min-height: 16px;
min-width: 16px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]