summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-11-24 15:56:58 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-11-24 15:56:58 -0500
commitaab69471098cd8a2501bed987d2d8c74935186d0 (patch)
treefbe9c767c2c5323cee33ee154eeb47713f04b277
parentd8bac72c49e585ffab56830d607a935ed408b288 (diff)
downloadgnome-themes-standard-aab69471098cd8a2501bed987d2d8c74935186d0.tar.gz
column-header: simplify selectors
No need to re-specify another border, we can just use the same border-image.
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css20
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-borders.css20
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 72f59e40..678c3c37 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 5aabe24b..f28c6f90 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,