[gnome-shell-sass] dialog: Remove messageBox container from MessageDialogContent



commit 4716650a8382fd91aea16f029ec86c4039cf68c9
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Thu Dec 5 10:55:00 2019 +0100

    dialog: Remove messageBox container from MessageDialogContent
    
    `MessageDialogContent.messageBox` is not really needed and was only
    needed to show icons, which is now no longer supported. The styling can
    also be done using other CSS classes and this makes it a bit more
    straightforward to add actors to the MessageDialogContent.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

 widgets/_dialogs.scss | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/widgets/_dialogs.scss b/widgets/_dialogs.scss
index 373291b..dc84636 100644
--- a/widgets/_dialogs.scss
+++ b/widgets/_dialogs.scss
@@ -5,7 +5,9 @@
   @extend %bubble_panel;
 
   .modal-dialog-content-box {
-    padding: $base_padding * 4;
+    margin: 32px 40px;
+    spacing: 32px;
+    max-width: 28em;
   }
 
   .run-dialog-entry { width: 20em; margin-bottom: 6px; }
@@ -32,11 +34,6 @@
 }
 
 /* Message Dialog */
-.message-dialog-main-layout {
-  padding: 12px 20px 0;
-  spacing: 12px;
-}
-
 .message-dialog-content {
   max-width: 28em;
   spacing: 20px;
@@ -118,7 +115,6 @@
   //this is the width of the entire modal popup
   width: 34em;
 
-  .message-dialog-main-layout { spacing: 24px; padding: 10px; }
   .message-dialog-content { spacing: $base_spacing * 4; }
   .message-dialog-title { color: lighten($fg_color,15%); }
 }
@@ -247,7 +243,6 @@
 /* Extension Dialog */
 .extension-dialog {
   @extend %bubble_panel;
-  .message-dialog-main-layout { spacing: 24px; padding: 10px; }
   .message-dialog-title { font-weight: normal; color: $fg_color; }
 }
 


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