[libadwaita/wip/exalm/dialog-title] stylesheet: Make message dialog title selector more specific




commit 6e99bfc072dbea03e7c174e0f78b97c63bd89473
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Oct 14 12:49:07 2021 +0500

    stylesheet: Make message dialog title selector more specific
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/291

 src/stylesheet/_common.scss                 | 6 +++---
 src/stylesheet/widgets/_message-dialog.scss | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index a261f65d..c661af7f 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -2,11 +2,11 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
 $backdrop_transition: 200ms ease-out;
 $button_transition: all 200ms $ease-out-quad;
 $focus_transition: outline-width 200ms $ease-out-quad, outline-offset 200ms $ease-out-quad;
-$button_radius: 5px;
+$button_radius: 6px;
 $menu_radius: 5px;
-$menu_margin: $menu_radius; //margin around menuitems & sidebar items
+$menu_margin: 5px; //margin around menuitems & sidebar items
 $menu_padding: 12px; //inner menuitem padding
-$window_radius: $button_radius + 3;
+$window_radius: $button_radius + 6;
 $popover_radius: $button_radius + 4;
 
 .background {
diff --git a/src/stylesheet/widgets/_message-dialog.scss b/src/stylesheet/widgets/_message-dialog.scss
index 5c21a26e..b9734055 100644
--- a/src/stylesheet/widgets/_message-dialog.scss
+++ b/src/stylesheet/widgets/_message-dialog.scss
@@ -10,11 +10,11 @@ window.dialog.message {
   box.dialog-vbox.vertical {
     margin-top: 6px;
     border-spacing: 24px;
-  }
 
-  & label.title {
-    font-weight: 800;
-    font-size: 15pt;
+    > box > box > box > label.title {
+      font-weight: 800;
+      font-size: 15pt;
+    }
   }
 
   &.csd {


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