[gnome-shell] extensionDownloader: Don't reuse .prompt-* style classes



commit f77333e4d70c51afc72e879ca187da3e87a339c2
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Jul 16 14:57:59 2017 +0200

    extensionDownloader: Don't reuse .prompt-* style classes
    
    Those will go away when we port authentication prompts to the new
    MessageDialogContent widget, so pick the style classes from there
    and adjust individual properties with more specific rules to re-
    produce the existing style.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784985

 data/theme/gnome-shell-high-contrast.css |    8 ++++++++
 data/theme/gnome-shell-sass              |    2 +-
 data/theme/gnome-shell.css               |    8 ++++++++
 js/ui/extensionDownloader.js             |    4 ++--
 4 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css
index be23adc..66aa66b 100644
--- a/data/theme/gnome-shell-high-contrast.css
+++ b/data/theme/gnome-shell-high-contrast.css
@@ -489,6 +489,14 @@ StScrollBar {
   color: #999999;
   font-weight: bold; }
 
+/* Extension Dialog */
+.extension-dialog .message-dialog-main-layout {
+  spacing: 24px;
+  padding: 10px; }
+
+.extension-dialog .message-dialog-title {
+  color: #b2b2a9; }
+
 /* Network Agent Dialog */
 .network-dialog-secret-table {
   spacing-rows: 15px;
diff --git a/data/theme/gnome-shell-sass b/data/theme/gnome-shell-sass
index 8e42cb4..68fff90 160000
--- a/data/theme/gnome-shell-sass
+++ b/data/theme/gnome-shell-sass
@@ -1 +1 @@
-Subproject commit 8e42cb424f727d9bf5be4f70971042760c5925ee
+Subproject commit 68fff905b0927ff1594061d03418221c312b2f75
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index beafb18..2d041cf 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -489,6 +489,14 @@ StScrollBar {
   color: #8e8e80;
   font-weight: bold; }
 
+/* Extension Dialog */
+.extension-dialog .message-dialog-main-layout {
+  spacing: 24px;
+  padding: 10px; }
+
+.extension-dialog .message-dialog-title {
+  color: #b2b2a9; }
+
 /* Network Agent Dialog */
 .network-dialog-secret-table {
   spacing-rows: 15px;
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index 0b026d2..6fa0627 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -203,7 +203,7 @@ const InstallExtensionDialog = new Lang.Class({
 
         let message = _("Download and install “%s” from extensions.gnome.org?").format(info.name);
 
-        let box = new St.BoxLayout({ style_class: 'prompt-dialog-main-layout',
+        let box = new St.BoxLayout({ style_class: 'message-dialog-main-layout',
                                      vertical: false });
         this.contentLayout.add(box);
 
@@ -211,7 +211,7 @@ const InstallExtensionDialog = new Lang.Class({
         let icon = new St.Icon({ gicon: gicon });
         box.add(icon);
 
-        let label = new St.Label({ style_class: 'prompt-dialog-headline headline',
+        let label = new St.Label({ style_class: 'message-dialog-title headline',
                                    text: message });
         box.add(label);
     },


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