summaryrefslogtreecommitdiff
path: root/gtk/theme
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2015-01-28 18:19:20 +0100
committerLapo Calamandrei <calamandrei@gmail.com>2015-01-28 18:20:05 +0100
commitf07ac793fea9a76605f5c6a7b86015377a98ffc3 (patch)
tree6583b3b918b01e7d2dbc8846a374df6fa1feb99d /gtk/theme
parent3f4df0644c76c88a57a0bbe57a4b469f5dddb71e (diff)
downloadgtk+-f07ac793fea9a76605f5c6a7b86015377a98ffc3.tar.gz
Adwaita: set the right background color for message dialogs
Diffstat (limited to 'gtk/theme')
-rw-r--r--gtk/theme/Adwaita/_common.scss6
-rw-r--r--gtk/theme/Adwaita/gtk-contained.css2
2 files changed, 8 insertions, 0 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index bdf1c6bbf5..44596e27f4 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2779,6 +2779,12 @@ GtkCalendar {
.message-dialog { // Message Dialog styling
-GtkDialog-button-spacing: 0;
+
+ @if $variant==light {
+ // the bright variant as a slightly darker bg which in this case clashes with the window decoration, overriding
+ &.background { background-color: $bg_color; }
+ }
+
.titlebar {
border-style: none;
box-shadow: inset 0 1px $borders_edge;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 26a1f6eb0f..ce7c34fb0b 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3972,6 +3972,8 @@ GtkCalendar {
.message-dialog {
-GtkDialog-button-spacing: 0; }
+ .message-dialog.background {
+ background-color: #ededed; }
.message-dialog .titlebar {
border-style: none;
box-shadow: inset 0 1px white; }