summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2020-01-13 15:13:53 +0100
committerFlorian Müllner <fmuellner@gnome.org>2020-01-15 00:18:30 +0100
commite4cb1a8f4bce7d5dae23a5f09895280811477751 (patch)
tree1037740eb1f3b3b897c7034df5c22e9f81efa218
parent2fc84e0fe3f735fd35d678bfeb92ca4c655aa1ae (diff)
downloadgnome-shell-e4cb1a8f4bce7d5dae23a5f09895280811477751.tar.gz
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
-rw-r--r--data/theme/gnome-shell-sass/widgets/_dialogs.scss17
1 files changed, 7 insertions, 10 deletions
diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss b/data/theme/gnome-shell-sass/widgets/_dialogs.scss
index 8ccd9a01f..18969a96a 100644
--- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss
+++ b/data/theme/gnome-shell-sass/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 */