[gtk+] win32-theme: Theme column headers



commit c066136c3ad2dba4b303411705bb1d47f7bdf08f
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Nov 24 09:53:39 2011 +0100

    win32-theme: Theme column headers

 gtk/gtk-win32.css |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk-win32.css b/gtk/gtk-win32.css
index f72cd87..c761e63 100644
--- a/gtk/gtk-win32.css
+++ b/gtk/gtk-win32.css
@@ -606,3 +606,23 @@ GtkComboBox.combobox-entry .button:insensitive {
 .toolbar .button:insensitive {
     background-image: -gtk-win32-theme-part(toolbar, 1 4);
 }
+
+/* Column headers */
+
+column-header .button,
+column-header .button:focus {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(header, 1 1);
+}
+
+column-header .button:prelight,
+column-header .button:prelight:focus {
+    background-image: -gtk-win32-theme-part(header, 1 2);
+}
+
+column-header .button:active,
+column-header .button:active:prelight,
+column-header .button:active:focus,
+column-header .button:active:prelight:focus {
+    background-image: -gtk-win32-theme-part(header, 1 3);
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]