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
This commit is contained in:
parent
b5860d687d
commit
f77333e4d7
@ -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;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8e42cb424f727d9bf5be4f70971042760c5925ee
|
||||
Subproject commit 68fff905b0927ff1594061d03418221c312b2f75
|
@ -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;
|
||||
|
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user