[gnome-themes-standard] Use the same color for infobars
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Use the same color for infobars
- Date: Mon, 15 Jul 2013 17:46:55 +0000 (UTC)
commit 6bfa3aa073c31f776db73ff44c6b65d90e1d5cd4
Author: William Jon McCann <william jon mccann gmail com>
Date: Mon Jul 15 10:53:34 2013 -0400
Use the same color for infobars
https://bugzilla.gnome.org/show_bug.cgi?id=704266
themes/Adwaita/gtk-3.0/gtk-main-common.css | 15 ++-------
themes/Adwaita/gtk-3.0/gtk-widgets.css | 46 ++++++++-------------------
2 files changed, 17 insertions(+), 44 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-common.css b/themes/Adwaita/gtk-3.0/gtk-main-common.css
index 8ccb134..073acae 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-common.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-common.css
@@ -77,18 +77,9 @@
@define-color error_color #cc0000;
@define-color success_color #4e9a06;
- define-color info_fg_color black;
- define-color info_text_shadow alpha(black, 0.1);
- define-color info_bg_color rgb (252, 252, 189);
- define-color warning_fg_color black;
- define-color warning_text_shadow alpha(black, 0.1);
- define-color warning_bg_color rgb (250, 173, 61);
- define-color question_fg_color white;
- define-color question_text_shadow alpha(black, 0.3);
- define-color question_bg_color rgb (138, 173, 212);
- define-color error_fg_color white;
- define-color error_text_shadow alpha(black, 0.5);
- define-color error_bg_color rgb (237, 54, 54);
+ define-color infobar_fg_color white;
+ define-color infobar_text_shadow alpha(black, 0.3);
+ define-color infobar_bg_color rgb (138, 173, 212);
/*****************
* Fallback Mode *
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 83c7660..5c8562d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3875,14 +3875,7 @@ GtkInfoBar {
.error .entry:focus,
.error .button,
.error .button:insensitive,
-.error .button:active {
- border-image: none;
-
- border-color: shade(@borders, 0.9);
- border-style: solid;
- border-width: 1px;
-}
-
+.error .button:active,
.question .entry,
.question .entry:focus,
.question .button,
@@ -3890,7 +3883,7 @@ GtkInfoBar {
.question .button:active {
border-image: none;
- border-color: darker(@question_bg_color);
+ border-color: darker(@infobar_bg_color);
border-style: solid;
border-width: 1px;
}
@@ -3918,32 +3911,21 @@ GtkInfoBar {
border-width: 1px;
}
-.info {
- background-color: @info_bg_color;
- color: @info_fg_color;
-
- border-color: darker(@info_bg_color);
-}
-
-.warning {
- background-color: @warning_bg_color;
- color: @warning_fg_color;
-
- border-color: darker(@warning_bg_color);
-}
-
-.question {
- background-color: @question_bg_color;
- color: @question_fg_color;
+.info,
+.question,
+.warning,
+.error {
+ background-color: @infobar_bg_color;
+ color: @infobar_fg_color;
- border-color: darker(@question_bg_color);
+ border-color: darker(@infobar_bg_color);
}
-.error {
- background-color: @error_bg_color;
- color: @error_fg_color;
-
- border-color: darker(@error_bg_color);
+.info .button,
+.question .button,
+.warning .button,
+.error .button {
+ color: @theme_fg_color;
}
/**************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]