[gnome-themes-standard] column-header: simplify selectors
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] column-header: simplify selectors
- Date: Sat, 24 Nov 2012 20:59:15 +0000 (UTC)
commit aab69471098cd8a2501bed987d2d8c74935186d0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 24 15:56:58 2012 -0500
column-header: simplify selectors
No need to re-specify another border, we can just use the same
border-image.
.../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css | 20 +++++++++-----------
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 20 +++++++++-----------
2 files changed, 18 insertions(+), 22 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
index 72f59e4..678c3c3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -160,6 +160,15 @@ column-header .button:active:hover {
border-color: transparent;
}
+column-header.button:last-child,
+column-header:last-child .button,
+column-header.button:last-child:active,
+column-header:last-child .button:active,
+column-header.button:last-child:active:hover,
+column-header:last-child .button:active:hover {
+ border-width: 0 0 1px 0;
+}
+
column-header.button:backdrop,
column-header .button:backdrop,
column-header.button:last-child:backdrop,
@@ -183,17 +192,6 @@ column-header .button:insensitive {
border-color: transparent;
}
-column-header.button:last-child,
-column-header:last-child .button,
-column-header.button:last-child:active,
-column-header:last-child .button:active,
-column-header.button:last-child:active:hover,
-column-header:last-child .button:active:hover {
- border-image: none;
- border-color: @borders;
- border-right-width: 0;
-}
-
/* unfocused window: generic element borders */
.selection-mode.toolbar .suggested-action.button:backdrop,
.selection-mode.toolbar GtkToolButton.suggested-action .button:backdrop,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 5aabe24..f28c6f9 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -160,6 +160,15 @@ column-header .button:active:hover {
border-color: transparent;
}
+column-header.button:last-child,
+column-header:last-child .button,
+column-header.button:last-child:active,
+column-header:last-child .button:active,
+column-header.button:last-child:active:hover,
+column-header:last-child .button:active:hover {
+ border-width: 0 0 1px 0;
+}
+
column-header.button:backdrop,
column-header .button:backdrop,
column-header.button:last-child:backdrop,
@@ -183,17 +192,6 @@ column-header .button:insensitive {
border-color: transparent;
}
-column-header.button:last-child,
-column-header:last-child .button,
-column-header.button:last-child:active,
-column-header:last-child .button:active,
-column-header.button:last-child:active:hover,
-column-header:last-child .button:active:hover {
- border-image: none;
- border-color: mix(@borders, @theme_base_color, 0.5);
- border-right-width: 0;
-}
-
/* unfocused window: generic element borders */
.selection-mode.toolbar .suggested-action.button:backdrop,
.selection-mode.toolbar GtkToolButton.suggested-action .button:backdrop,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]