[gnome-themes-standard] Fix infobar backdrop style
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Fix infobar backdrop style
- Date: Tue, 6 May 2014 23:20:17 +0000 (UTC)
commit 402db0396d28e5b2546f993e15100b56ce162845
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue May 6 19:19:29 2014 -0400
Fix infobar backdrop style
https://bugzilla.gnome.org/show_bug.cgi?id=727416
themes/Adwaita/gtk-3.0/gtk-main-common.css | 3 ---
themes/Adwaita/gtk-3.0/gtk-widgets.css | 18 +++++++++---------
2 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-common.css b/themes/Adwaita/gtk-3.0/gtk-main-common.css
index f7908b4..bdb42af 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-common.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-common.css
@@ -86,9 +86,6 @@
@define-color error_color #cc0000;
@define-color success_color #4e9a06;
- define-color infobar_fg_color white;
- define-color infobar_text_shadow alpha(black, 0.3);
-
/*****************
* Fallback Mode *
*****************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 976a122..736baa1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -4493,8 +4493,8 @@ GtkInfoBar {
.warning,
.error {
background-color: @theme_selected_bg_color;
- color: @infobar_fg_color;
- text-shadow: 0 1px @infobar_text_shadow;
+ color: @theme_selected_fg_color;
+ text-shadow: 0 1px shade(@theme_selected_bg_color, 0.8);
border-color: darker(@theme_selected_bg_color);
}
@@ -4503,17 +4503,17 @@ GtkInfoBar {
.question:backdrop,
.error:backdrop {
text-shadow: none;
- background-color: @theme_unselected_bg_color;
- color: @infobar_fg_color;
- border-color: darker(@theme_selected_bg_color);
+ background-color: @theme_unfocused_selected_bg_color;
+ color: @theme_unfocused_selected_fg_color;
+ border-color: darker(@theme_unfocused_selected_bg_color);
}
.info .button.close,
.warning .button.close,
.question .button.close,
.error .button.close {
- color: @infobar_fg_color;
- icon-shadow: 0 1px @infobar_text_shadow;
+ color: @theme_selected_fg_color;
+ icon-shadow: 0 1px shade(@theme_selected_bg_color, 0.8);
}
.info .button.close:hover,
@@ -4530,7 +4530,7 @@ GtkInfoBar {
.warning .button.close:active,
.question .button.close:active,
.error .button.close:active {
- color: @infobar_fg_color;
+ color: @theme_selected_fg_color;
background-image: linear-gradient(to bottom,
alpha(black, 0.1),
transparent);
@@ -4540,7 +4540,7 @@ GtkInfoBar {
.warning .button.close:backdrop,
.question .button.close:backdrop,
.error .button.close:backdrop {
- color: @infobar_fg_color;
+ color: @theme_selected_fg_color;
icon-shadow: none;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]