[gnome-themes-standard] Widgets: some initial infobars work.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widgets: some initial infobars work.
- Date: Fri, 13 Jan 2012 19:22:53 +0000 (UTC)
commit 57e44bf1a3e1853a8b7317066296b3cd1fa99c28
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Jan 13 20:09:53 2012 +0100
Widgets: some initial infobars work.
themes/Adwaita/gtk-3.0/gnome-applications.css | 48 ++++++++++++++++++++++--
themes/Adwaita/gtk-3.0/gtk-widgets.css | 46 +++++++++++++++++++++++
2 files changed, 90 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index c906f4b..adb2a0d 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -68,12 +68,55 @@ NautilusXContentBar.info,
NautilusSearchBar.info,
NautilusQueryEditor.info {
background-color: @nautilus_cluebar_color;
+ color: @theme_base_color;
+
+/* border-width: 0;
+ border-style: solid; */
+ border-color: shade(@nautilus_cluebar_color, 0.85);
+}
+
+NautilusTrashBar.info:backdrop,
+NautilusXContentBar.info:backdrop,
+NautilusSearchBar.info:backdrop,
+NautilusQueryEditor.info:backdrop {
+ border-color: @unfocused_theme_fg_color;
+/* border-style: solid; */
+}
+
+/*NautilusTrashBar.info:backdrop:last-child,
+NautilusXContentBar.info:backdrop:last-child,
+NautilusSearchBar.info:backdrop:last-child,
+NautilusQueryEditor.info:backdrop:last-child {
+ border-bottom-width: 1;
+ border-style: solid;
+}*/
+
+/* Something broken here, need to investigate with Cosimo */
+/*.nautilus-cluebar-label {
+ font: bold;
+ color: @theme_base_color;
+ text-shadow: 0 1 alpha(black, 0.15);
+}
+
+.nautilus-cluebar-label:backdrop {
+ font: bold;
+ color: @unfocused_theme_fg_color;
+ text-shadow: none;
+}*/
+
+/*
+NautilusTrashBar.info,
+NautilusXContentBar.info,
+NautilusSearchBar.info,
+NautilusQueryEditor.info {
+ background-color: @nautilus_cluebar_color;
border-color: darker (@nautilus_cluebar_color);
border-radius: 0;
border-width: 0 0 1 0;
border-style: solid;
}
+*/
/*
NautilusTrashBar.info:first-child,
@@ -96,6 +139,7 @@ NautilusLocationEntry.entry {
padding-right: 4;
}
+
NautilusSearchBar .entry,
NautilusSearchBar .entry:focus {
border-image: none;
@@ -112,10 +156,6 @@ NautilusSearchBar .entry:focus {
color: @nautilus_cluebar_color;
}*/
-.nautilus-cluebar-label {
- font: bold;
- color: @theme_base_color;
-}
/*NautilusPlacesSidebar .cell:selected { FUNGE, ci vuole una border image qui
border-radius: 0 100 100 0;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 28d68a3..326ac62 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1966,26 +1966,37 @@ GtkCalendar.highlight {
border-width: 0;
}
+/* Use different button and entry borders on infobars */
+GtkInfoBar .entry,
+GtkInfoBar .entry:focus,
GtkInfoBar .button,
GtkInfoBar .button:insensitive,
GtkInfoBar .button:active,
GtkInfoBar .button:focus,
GtkInfoBar .button:active:focus,
+.info .entry,
+.info .entry:focus,
.info .button,
.info .button:insensitive,
.info .button:active,
.info .button:focus,
.info .button:active:focus,
+.warning .entry,
+.warning .entry:focus,
.warning .button,
.warning .button:insensitive,
.warning .button:active,
.warning .button:focus,
.warning .button:active:focus,
+.question .entry,
+.question .entry:focus,
.question .button,
.question .button:insensitive,
.question .button:active,
.question .button:focus,
.question .button:active:focus,
+.error .entry,
+.error .entry:focus,
.error .button,
.error .button:insensitive,
.error .button:active,
@@ -2006,24 +2017,59 @@ GtkInfoBar,
text-shadow: 0 1 alpha(black, 0.15);
}
+GtkInfoBar:backdrop,
+.info:backdrop,
+.warning:backdrop,
+.question:backdrop,
+.error:backdrop {
+ text-shadow: none;
+ background-color: @theme_base_color;
+ color: @unfocused_theme_fg_color;
+}
+
+/* GtkInfoBar:first-child,
+.info:first-child,
+.warning:first-child,
+.question:first-child,
+.error:first-child {
+ border-top: 1 solid black;
+} */
+
+GtkInfoBar:last-child,
+.info:last-child,
+.warning:last-child,
+.question:last-child,
+.error:last-child {
+ border-bottom-width: 1;
+ border-style: solid;
+}
+
.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;
+
+ border-color: darker(@question_bg_color);
}
.error {
background-color: @error_bg_color;
color: @error_fg_color;
+
+ border-color: darker(@error_bg_color);
}
.dim-label,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]