]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtk-win32-base.css
win32: Theme paned separator
[~andy/gtk] / gtk / gtk-win32-base.css
index bf49f574eae8129af7b05dad1a550aa5cfb2ac19..341bbf3d0ff08d675711b291f4d2aa59a607e6e4 100644 (file)
@@ -78,7 +78,11 @@ GtkFrame {
 }
 
 .spinner:active {
-  transition: 750ms linear lop;
+  transition: 750ms linear loop;
+}
+
+.notebook > GtkScrolledWindow.frame {
+    border-style: none;
 }
 
 GtkScrolledWindow.frame {
@@ -162,7 +166,11 @@ GtkAssistant .sidebar .highlight {
     background-image: -gtk-win32-theme-part(button, 3 4);
 }
 
-.check:prelight {
+/* The GtkButton here is to avoid problems with checkboxes
+   in a listview where all checkboxes in a row gets prelighted
+   whenever the row is prelighted */
+
+GtkButton.check:prelight {
     background-image: -gtk-win32-theme-part(button, 3 2);
 }
 
@@ -174,7 +182,7 @@ GtkAssistant .sidebar .highlight {
     background-image: -gtk-win32-theme-part(button, 3 8);
 }
 
-.check:active:prelight {
+GtkButton.check:active:prelight {
     background-image: -gtk-win32-theme-part(button, 3 6);
 }
 
@@ -614,7 +622,6 @@ GtkProgressBar.trough.vertical {
 
 /* Combobox */
 
-
 GtkComboBox.combobox-entry .button {
     background-color: transparent;
     border-width: 0;
@@ -637,6 +644,13 @@ GtkComboBox.combobox-entry .button:insensitive {
     background-image: -gtk-win32-theme-part(combobox, 1 4);
 }
 
+GtkComboBox .separator {
+    /* always disable separators */
+    -GtkWidget-wide-separators: true;
+    -GtkWidget-horizontal-separator: 0;
+    -GtkWidget-vertical-separator: 0;
+}
+
 /* Notebook */
 
 .notebook {
@@ -770,6 +784,73 @@ GtkSwitch.trough:active {
     color: -gtk-win32-color(button, 7);
 }
 
+.menubar .menuitem *:backdrop {
+    color: mix (-gtk-win32-color(button, 7), white, 0.5);
+}
+
 .menubar > .menuitem {
     padding: 3px 5px;
 }
+
+/* Assistant */
+
+GtkAssistant .sidebar .highlight {
+    background-color: blue;
+    font: bold;
+}
+
+GtkAssistant .sidebar {
+    padding: 12px;
+
+    background-color: white;
+
+    border-image: none;
+    border-width: 0 1px 0 0;
+    border-style: solid;
+}
+
+GtkColorSwatch {
+    border-style: solid;
+    border-width: 1px;
+}
+
+GtkColorSwatch:prelight {
+    border-color: shade (@bg_color, 0.2);
+}
+
+.separator,
+.separator:prelight {
+    color: shade (@bg_color, 0.6);
+}
+
+.pane-separator.horizontal {
+    background-image: -gtk-win32-theme-part(rebar, 1 1);
+
+    background-size: 6px 21px;
+    background-repeat: no-repeat;
+    background-position: center;
+}
+
+.pane-separator.vertical {
+    background-image: -gtk-win32-theme-part(rebar, 2 1);
+
+    background-size: 21px 6px;
+    background-repeat: no-repeat;
+    background-position: center;
+}
+
+GtkStatusbar > GtkFrame {
+    border-width: 1px 1px 1px 1px;
+    border-style: solid;
+    border-image:  -gtk-win32-theme-part(status, 0 0, margins (-1 0 0 0))  2 1 1 1 stretch;
+    background-image: none;
+}
+
+/*
+ This doesn't quite look right with no background (i.e. when not on a statusbar
+
+.grip {
+    background-color: transparent;
+    background-image:  -gtk-win32-theme-part(status, 3 1);
+}
+*/
\ No newline at end of file