[libadwaita/wip/exalm/osd-menu-buttons: 4/5] stylesheet: Fix osd menu button popovers




commit 5879f4284cba2186e59017d4dd348c0a4f253780
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Jun 23 13:39:59 2021 +0500

    stylesheet: Fix osd menu button popovers
    
    Bump specificity for osd popover backgrounds, remove the GtkScaleButton
    overrides as they were a workaround for the same issue.

 src/stylesheet/widgets/_misc.scss     | 12 ------------
 src/stylesheet/widgets/_popovers.scss |  2 +-
 2 files changed, 1 insertion(+), 13 deletions(-)
---
diff --git a/src/stylesheet/widgets/_misc.scss b/src/stylesheet/widgets/_misc.scss
index e5412db6..426df4c2 100644
--- a/src/stylesheet/widgets/_misc.scss
+++ b/src/stylesheet/widgets/_misc.scss
@@ -55,18 +55,6 @@ video {
   background: black;
 }
 
-/******************
- * GtkScaleButton *
- ******************/
-
-.scale-popup {
-  .osd & { @extend %osd; }
-
-  button { // +/- buttons on GtkVolumeButton popup
-    @extend %button_basic_flat;
-  }
-}
-
 /****************
  * GtkStatusBar *
  ****************/
diff --git a/src/stylesheet/widgets/_popovers.scss b/src/stylesheet/widgets/_popovers.scss
index 627a7798..122452fd 100644
--- a/src/stylesheet/widgets/_popovers.scss
+++ b/src/stylesheet/widgets/_popovers.scss
@@ -41,7 +41,7 @@ popover.background {
     list separator { margin: 0; }
   }
 
-  .osd &,
+  .osd &.background,
   &.touch-selection,
   &.magnifier {
     background-color: transparent;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]