[gtk+] Adwaita: set the right background color for message dialogs
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: set the right background color for message dialogs
- Date: Wed, 28 Jan 2015 17:20:19 +0000 (UTC)
commit f07ac793fea9a76605f5c6a7b86015377a98ffc3
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Jan 28 18:19:20 2015 +0100
Adwaita: set the right background color for message dialogs
gtk/theme/Adwaita/_common.scss | 6 ++++++
gtk/theme/Adwaita/gtk-contained.css | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index bdf1c6b..44596e2 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 26a1f6e..ce7c34f 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]