[gnome-themes-standard] Fix GtkPathBar active buttons styling.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Fix GtkPathBar active buttons styling.
- Date: Fri, 16 Sep 2011 17:35:36 +0000 (UTC)
commit dcd41b6e1c890bebb1c64d3a0a4a704cb1f096ae
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Sep 16 19:35:14 2011 +0200
Fix GtkPathBar active buttons styling.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index dfc6a18..0c4fff2 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1105,32 +1105,38 @@ GtkTreeMenu .menuitem * {
border-width: 1 1 1 0;
}
-GtkPathBar .button,
-GtkPathBar .button:active,
-GtkPathBar .button:active:hover {
+GtkPathBar .button {
border-image: none;
border-style: solid;
- border-width: 1 0 1 1;
+ border-width: 1 0;
border-radius: 0;
-
border-color: @button_border;
- box-shadow: 1 0 inset shade(@button_border, 1.40);
+ box-shadow: 1 0 inset shade(@button_border, 1.40), -1 0 inset @button_border;
}
GtkPathBar .button:active,
GtkPathBar .button:active:hover {
- box-shadow: 1 0 inset shade(@button_border, 1.20);
+ border-image: none;
+ box-shadow: -1 0 inset @button_border;
}
GtkPathBar .button:nth-child(first),
-GtkPathBar .button:active:nth-child(first) {
+GtkPathBar .button:active:nth-child(first),
+GtkPathBar .button:active:hover:nth-child(first) {
border-radius: 3 0 0 3;
+ border-left-width: 1;
+ box-shadow: -1 0 inset @button_border;
}
-GtkPathBar .button:nth-child(last),
-GtkPathBar .button:active:nth-child(last) {
- border-width: 1;
+GtkPathBar .button:nth-child(last) {
+ box-shadow: 1 0 inset shade(@button_border, 1.40);
border-radius: 0 3 3 0;
+ border-right-width: 1;
+}
+
+GtkPathBar .button:active:nth-child(last),
+GtkPathBar .button:active:hover:nth-child(last) {
+ box-shadow: none;
}
.primary-toolbar.toolbar .entry {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]