[gnome-themes-standard] pathbar: apply a linked style to the filechooser pathbar buttons
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] pathbar: apply a linked style to the filechooser pathbar buttons
- Date: Tue, 6 Sep 2011 13:52:28 +0000 (UTC)
commit d64782dce4d8fe2a843111792264a16b977d052c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Sep 6 09:51:25 2011 -0400
pathbar: apply a linked style to the filechooser pathbar buttons
This requires GTK+ 3.1.18 to work properly, which added nth-child()
support in GtkPathBar.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 209d8a7..e169938 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1045,6 +1045,34 @@ GtkTreeMenu .menuitem * {
border-width: 1 1 1 0;
}
+GtkPathBar .button,
+GtkPathBar .button:active,
+GtkPathBar .button:active:hover {
+ border-image: none;
+ border-style: solid;
+ border-width: 1 0 1 1;
+ border-radius: 0;
+
+ border-color: @button_border;
+ box-shadow: 1 0 inset shade(@button_border, 1.40);
+}
+
+GtkPathBar .button:active,
+GtkPathBar .button:active:hover {
+ box-shadow: 1 0 inset shade(@button_border, 1.20);
+}
+
+GtkPathBar .button:nth-child(first),
+GtkPathBar .button:active:nth-child(first) {
+ border-radius: 3 0 0 3;
+}
+
+GtkPathBar .button:nth-child(last),
+GtkPathBar .button:active:nth-child(last) {
+ border-width: 1;
+ border-radius: 0 3 3 0;
+}
+
.primary-toolbar.toolbar .entry {
background-color: @primary_toolbar_entry_bg;
color: @primary_toolbar_entry_fg;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]