theme: use a global headline class

https://bugzilla.gnome.org/show_bug.cgi?id=745687
This commit is contained in:
Jakub Steiner 2015-03-10 17:45:04 +01:00
parent 567dc70c9b
commit 5915348396
6 changed files with 14 additions and 18 deletions

View File

@ -151,7 +151,8 @@ StScrollBar {
/* Modal Dialogs */ /* Modal Dialogs */
.headline { .headline {
font-size: 110%; } font-size: 110%;
color: #d6d6d1; }
.lightbox { .lightbox {
background-color: black; } background-color: black; }
@ -323,8 +324,7 @@ StScrollBar {
spacing: 16px; } spacing: 16px; }
.prompt-dialog-headline { .prompt-dialog-headline {
font-weight: bold; font-weight: bold; }
color: #bebeb6; }
.prompt-dialog-description:rtl { .prompt-dialog-description:rtl {
text-align: right; } text-align: right; }
@ -553,9 +553,7 @@ StScrollBar {
font-weight: bold; font-weight: bold;
height: 1.86em; } height: 1.86em; }
#panel.unlock-screen, #panel.login-screen, #panel.lock-screen { #panel.unlock-screen, #panel.login-screen, #panel.lock-screen {
background-color: transparent; background-color: transparent; }
background-gradient-start: transparent;
background-gradient-end: transparent; }
#panel #panelLeft, #panel #panelCenter { #panel #panelLeft, #panel #panelCenter {
spacing: 4px; } spacing: 4px; }
#panel .panel-corner { #panel .panel-corner {
@ -565,7 +563,7 @@ StScrollBar {
-panel-corner-border-color: transparent; } -panel-corner-border-color: transparent; }
#panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus { #panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
-panel-corner-border-color: #256ab1; } -panel-corner-border-color: #256ab1; }
#panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-corner.unlock-screen { #panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-cornerunlock-screen {
-panel-corner-radius: 0; -panel-corner-radius: 0;
-panel-corner-background-color: transparent; -panel-corner-background-color: transparent;
-panel-corner-border-color: transparent; } -panel-corner-border-color: transparent; }

@ -1 +1 @@
Subproject commit 52dbed90aea05fc8a3ce6ec39de4a64fb949518c Subproject commit 36b87103582b87e30a8b36afe15aa5a9aa1df769

View File

@ -151,7 +151,8 @@ StScrollBar {
/* Modal Dialogs */ /* Modal Dialogs */
.headline { .headline {
font-size: 110%; } font-size: 110%;
color: #d6d6d1; }
.lightbox { .lightbox {
background-color: black; } background-color: black; }
@ -323,8 +324,7 @@ StScrollBar {
spacing: 16px; } spacing: 16px; }
.prompt-dialog-headline { .prompt-dialog-headline {
font-weight: bold; font-weight: bold; }
color: #bebeb6; }
.prompt-dialog-description:rtl { .prompt-dialog-description:rtl {
text-align: right; } text-align: right; }
@ -553,9 +553,7 @@ StScrollBar {
font-weight: bold; font-weight: bold;
height: 1.86em; } height: 1.86em; }
#panel.unlock-screen, #panel.login-screen, #panel.lock-screen { #panel.unlock-screen, #panel.login-screen, #panel.lock-screen {
background-color: transparent; background-color: transparent; }
background-gradient-start: transparent;
background-gradient-end: transparent; }
#panel #panelLeft, #panel #panelCenter { #panel #panelLeft, #panel #panelCenter {
spacing: 4px; } spacing: 4px; }
#panel .panel-corner { #panel .panel-corner {
@ -565,7 +563,7 @@ StScrollBar {
-panel-corner-border-color: transparent; } -panel-corner-border-color: transparent; }
#panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus { #panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus {
-panel-corner-border-color: #256ab1; } -panel-corner-border-color: #256ab1; }
#panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-corner.unlock-screen { #panel .panel-corner.lock-screen, #panel .panel-corner.login-screen, #panel .panel-cornerunlock-screen {
-panel-corner-radius: 0; -panel-corner-radius: 0;
-panel-corner-background-color: transparent; -panel-corner-background-color: transparent;
-panel-corner-border-color: transparent; } -panel-corner-border-color: transparent; }

View File

@ -211,7 +211,7 @@ const InstallExtensionDialog = new Lang.Class({
let icon = new St.Icon({ gicon: gicon }); let icon = new St.Icon({ gicon: gicon });
box.add(icon); box.add(icon);
let label = new St.Label({ style_class: 'prompt-dialog-headline', let label = new St.Label({ style_class: 'prompt-dialog-headline headline',
text: message }); text: message });
box.add(label); box.add(label);
}, },

View File

@ -347,7 +347,7 @@ const ShellMountPasswordDialog = new Lang.Class({
mainContentBox.add(this._messageBox, mainContentBox.add(this._messageBox,
{ y_align: St.Align.START, expand: true, x_fill: true, y_fill: true }); { y_align: St.Align.START, expand: true, x_fill: true, y_fill: true });
let subject = new St.Label({ style_class: 'prompt-dialog-headline' }); let subject = new St.Label({ style_class: 'prompt-dialog-headline headline' });
this._messageBox.add(subject, this._messageBox.add(subject,
{ y_fill: false, { y_fill: false,
y_align: St.Align.START }); y_align: St.Align.START });

View File

@ -61,7 +61,7 @@ const DisplayChangeDialog = new Lang.Class({
mainContentBox.add(messageBox, mainContentBox.add(messageBox,
{ expand: true, y_align: St.Align.START }); { expand: true, y_align: St.Align.START });
let subjectLabel = new St.Label({ style_class: 'prompt-dialog-headline', let subjectLabel = new St.Label({ style_class: 'prompt-dialog-headline headline',
text: _("Do you want to keep these display settings?") }); text: _("Do you want to keep these display settings?") });
messageBox.add(subjectLabel, messageBox.add(subjectLabel,
{ y_fill: false, { y_fill: false,