From 2aed6ade7951948cab03fdd14a3c0919e1295dcf Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Tue, 10 Mar 2015 19:16:28 +0100 Subject: [PATCH] theme: modal dialog headlines https://bugzilla.gnome.org/show_bug.cgi?id=745687 --- data/theme/gnome-shell-high-contrast.css | 8 +++----- data/theme/gnome-shell-sass | 2 +- data/theme/gnome-shell.css | 8 +++----- js/ui/extensionDownloader.js | 2 +- js/ui/shellMountOperation.js | 2 +- 5 files changed, 9 insertions(+), 13 deletions(-) diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index ab7528ea2..56a8146b8 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -324,7 +324,7 @@ StScrollBar { .prompt-dialog-headline { font-weight: bold; - color: #bebeb6; } + color: #b2b2a9; } .prompt-dialog-description:rtl { text-align: right; } @@ -553,9 +553,7 @@ StScrollBar { font-weight: bold; height: 1.86em; } #panel.unlock-screen, #panel.login-screen, #panel.lock-screen { - background-color: transparent; - background-gradient-start: transparent; - background-gradient-end: transparent; } + background-color: transparent; } #panel #panelLeft, #panel #panelCenter { spacing: 4px; } #panel .panel-corner { @@ -565,7 +563,7 @@ StScrollBar { -panel-corner-border-color: transparent; } #panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus { -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-background-color: transparent; -panel-corner-border-color: transparent; } diff --git a/data/theme/gnome-shell-sass b/data/theme/gnome-shell-sass index 52dbed90a..fec0c971a 160000 --- a/data/theme/gnome-shell-sass +++ b/data/theme/gnome-shell-sass @@ -1 +1 @@ -Subproject commit 52dbed90aea05fc8a3ce6ec39de4a64fb949518c +Subproject commit fec0c971a3fe2c9c7990a41903f4e92dc6d0281e diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 28270b872..c19fafda8 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -324,7 +324,7 @@ StScrollBar { .prompt-dialog-headline { font-weight: bold; - color: #bebeb6; } + color: #b2b2a9; } .prompt-dialog-description:rtl { text-align: right; } @@ -553,9 +553,7 @@ StScrollBar { font-weight: bold; height: 1.86em; } #panel.unlock-screen, #panel.login-screen, #panel.lock-screen { - background-color: transparent; - background-gradient-start: transparent; - background-gradient-end: transparent; } + background-color: transparent; } #panel #panelLeft, #panel #panelCenter { spacing: 4px; } #panel .panel-corner { @@ -565,7 +563,7 @@ StScrollBar { -panel-corner-border-color: transparent; } #panel .panel-corner:active, #panel .panel-corner:overview, #panel .panel-corner:focus { -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-background-color: transparent; -panel-corner-border-color: transparent; } diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index 6102eb15c..602b49684 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -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', + let label = new St.Label({ style_class: 'prompt-dialog-headline headline', text: message }); box.add(label); }, diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js index 522ae0856..413f196b2 100644 --- a/js/ui/shellMountOperation.js +++ b/js/ui/shellMountOperation.js @@ -347,7 +347,7 @@ const ShellMountPasswordDialog = new Lang.Class({ mainContentBox.add(this._messageBox, { 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, { y_fill: false, y_align: St.Align.START });