[gnome-shell-sass] ui: Use MessageDialogContent where appropriate
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] ui: Use MessageDialogContent where appropriate
- Date: Sun, 16 Jul 2017 16:10:07 +0000 (UTC)
commit 82941c9d93a879bab99545fdf57e4bb3299a9e7f
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Jul 15 08:14:40 2017 +0200
ui: Use MessageDialogContent where appropriate
The gros of our ModalDialogs follow a UI pattern that matches the
newly added widget, so port them over to cut down on duplication.
https://bugzilla.gnome.org/show_bug.cgi?id=784985
_common.scss | 99 +++++++++++++---------------------------------------------
1 files changed, 22 insertions(+), 77 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 6995afc..54c9801 100644
--- a/_common.scss
+++ b/_common.scss
@@ -313,28 +313,28 @@ StScrollBar {
.mount-dialog {
spacing: 24px;
- }
- .mount-dialog-subject {
- padding-top: 10px;
- padding-left: 17px;
- padding-bottom: 6px;
- max-width: 34em;
- }
+ .message-dialog-title {
+ padding-top: 10px;
+ padding-left: 17px;
+ padding-bottom: 6px;
+ max-width: 34em;
+ }
- .mount-dialog-subject:rtl {
- padding-left: 0px;
- padding-right: 17px;
- }
+ .message-dialog-title:rtl {
+ padding-left: 0px;
+ padding-right: 17px;
+ }
- .mount-dialog-description {
- padding-left: 17px;
- width: 28em;
- }
+ .message-dialog-body {
+ padding-left: 17px;
+ width: 28em;
+ }
- .mount-dialog-description:rtl {
- padding-left: 0px;
- padding-right: 17px;
+ .message-dialog-body:rtl {
+ padding-left: 0px;
+ padding-right: 17px;
+ }
}
.mount-dialog-app-list {
@@ -372,21 +372,11 @@ StScrollBar {
//this is the width of the entire modal popup
width: 34em;
border: 3px solid $_bubble_borders_color;
-}
- .prompt-dialog-main-layout {
- spacing: 24px;
- padding: 10px;
- }
-
- .prompt-dialog-message-layout {
- spacing: 16px;
- }
-
- .prompt-dialog-headline {
- font-weight: bold;
- color: darken($osd_fg_color,25%);
- }
+ .message-dialog-main-layout { spacing: 24px; padding: 10px; }
+ .message-dialog-content { spacing: 16px; }
+ .message-dialog-title { color: darken($osd_fg_color,25%); }
+}
.prompt-dialog-description:rtl {
text-align: right;
@@ -479,56 +469,11 @@ StScrollBar {
spacing: 30px;
}
- .access-dialog-main-layout {
- padding: 12px 20px 0;
- spacing: 12px;
- }
-
- .access-dialog-content {
- max-width: 28em;
- spacing: 20px;
- }
-
- .access-dialog-icon {
- min-width: 48px;
- icon-size: 48px;
- }
-
- .access-dialog-title {
- font-weight: bold;
- }
-
- .access-dialog-subtitle {
- color: darken($fg_color,40%);
- font-weight: bold;
- }
-
/* Geolocation Dialog */
.geolocation-dialog {
spacing: 30px;
}
- .geolocation-dialog-main-layout {
- spacing: 12px;
- }
-
- .geolocation-dialog-content {
- spacing: 20px;
- }
-
- .geolocation-dialog-icon {
- icon-size: 48px;
- }
-
- .geolocation-dialog-title {
- font-weight: bold;
- }
-
- .geolocation-dialog-reason {
- color: darken($fg_color,40%);
- font-weight: bold;
- }
-
/* Extension Dialog */
.extension-dialog {
.message-dialog-main-layout { spacing: 24px; padding: 10px; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]