[gnome-themes-standard] column-header: add a style for dragged column headers
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] column-header: add a style for dragged column headers
- Date: Sat, 24 Nov 2012 20:59:20 +0000 (UTC)
commit 8b2fe7e8379eaaa7e83841d1837ab740a4fc76fa
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 24 15:57:50 2012 -0500
column-header: add a style for dragged column headers
Based on a patch by Stefano Facchini <stefano facchini gmail com>
https://bugzilla.gnome.org/show_bug.cgi?id=684982
.../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css | 3 ++-
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 3 ++-
themes/Adwaita/gtk-3.0/gtk-widgets.css | 9 +++++++++
3 files changed, 13 insertions(+), 2 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 678c3c3..6f25a22 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -149,7 +149,8 @@ column-header .button,
column-header.button:active,
column-header .button:active,
column-header.button:active:hover,
-column-header .button:active:hover {
+column-header .button:active:hover,
+column-header .button.dnd {
border-image: linear-gradient(to top,
@borders,
@theme_base_color
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index f28c6f9..e1af847 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -149,7 +149,8 @@ column-header .button,
column-header.button:active,
column-header .button:active,
column-header.button:active:hover,
-column-header .button:active:hover {
+column-header .button:active:hover,
+column-header .button.dnd {
border-image: linear-gradient(to top,
mix(@borders, @theme_base_color, 0.5),
@theme_base_color
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 69b07a9..a3979b5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3225,6 +3225,15 @@ column-header .button *:active:hover {
icon-shadow: none;
}
+column-header .button.dnd {
+ background-color: transparent;
+ background-image: linear-gradient(to bottom,
+ shade(@theme_base_color, 0.97),
+ @theme_base_color);
+ border-width: 0 1px;
+ border-image-slice: 0 1;
+}
+
row:hover {
border-width: 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]