[gnome-shell-sass] dialog: Update the layout of dialogs according to the new design



commit c7b783301c78241795c7c41c360b7936a67b5f78
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Mon Jan 13 15:13:53 2020 +0100

    dialog: Update the layout of dialogs according to the new design
    
    According to the new dialog mockups, update the dialogs paddings and
    spacings. Also change the font-weigth of the title to 800 and the
    font-size to 18pt, this will make the headings of some dialogs ellipsize
    because they contain too much text, we'll have to fix this in subsequent
    commits.
    
    See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

 widgets/_dialogs.scss | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/widgets/_dialogs.scss b/widgets/_dialogs.scss
index 8ccd9a0..18969a9 100644
--- a/widgets/_dialogs.scss
+++ b/widgets/_dialogs.scss
@@ -35,17 +35,14 @@
 
 /* Message Dialog */
 .message-dialog-content {
-  max-width: 28em;
-  spacing: 20px;
-}
-
-.message-dialog-title {
-  font-weight: bold;
-}
+  spacing: 18px;
 
-.message-dialog-description {
-  color: $fg_color;
-  font-weight: bold;
+  .message-dialog-title {
+    text-align: center;
+    font-size: 18pt;
+    font-weight: 800;
+  }
+  .message-dialog-description { text-align: center; }
 }
 
 /* ShellMountOperation Dialogs */


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