[libadwaita/wip/exalm/buttons-again-2: 4/5] Revert "stylesheet: Apply toolbar popover overrides for all popovers"
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/buttons-again-2: 4/5] Revert "stylesheet: Apply toolbar popover overrides for all popovers"
- Date: Mon, 15 Nov 2021 11:35:05 +0000 (UTC)
commit 89af20c5ac3551da06d27416f8732c7d5fd49dd6
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Nov 15 12:11:11 2021 +0500
Revert "stylesheet: Apply toolbar popover overrides for all popovers"
This reverts commit 4704b141f5a5c5fde6d295c8f8919bbb893a48fb.
That caused weird priority issues with e.g. buttons within popovers within
toolbars getting toolbar margins, spinbutton buttons being styled like
regular buttons etc.
src/stylesheet/widgets/_toolbars.scss | 54 +++++++++++++++++------------------
1 file changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 90ae3216..3e14afcf 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -78,39 +78,39 @@
margin-top: 10px;
margin-bottom: 10px;
}
-}
-// Reset styles for popovers inside toolbars
-popover {
- button:not(.flat):not(.outline):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
- &.arrow-button,
- &.image-button,
- &.image-text-button {
- @extend %button_basic_raised;
+ // Reset styles for popovers
+ popover {
+
button:not(.flat):not(.outline):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
+ &.arrow-button,
+ &.image-button,
+ &.image-text-button {
+ @extend %button_basic_raised;
+ }
}
- }
-
menubutton:not(.flat):not(.outline):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque)
{
- &.image-button > button {
- @extend %button_basic_raised;
+
menubutton:not(.flat):not(.outline):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque)
{
+ &.image-button > button {
+ @extend %button_basic_raised;
+ }
}
- }
- entry,
- spinbutton,
- splitbutton,
- separator:not(.sidebar),
- button,
- menubutton,
- scalebutton,
- switch {
- margin-top: 0;
- margin-bottom: 0;
- }
+ entry,
+ spinbutton,
+ splitbutton,
+ separator:not(.sidebar),
+ button,
+ menubutton,
+ scalebutton,
+ switch {
+ margin-top: 0;
+ margin-bottom: 0;
+ }
- &.menu separator:not(.sidebar) {
- margin-top: 6px;
- margin-bottom: 6px;
+ &.menu separator:not(.sidebar) {
+ margin-top: 6px;
+ margin-bottom: 6px;
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]