]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtk-win32.css
a11y: Redo ref_accessible_at_point()
[~andy/gtk] / gtk / gtk-win32.css
index 215d1f3fe2c2c75c7071f92b807f59a791ca6c29..e1d604a203520e8452db7d0834668337c0e1230c 100644 (file)
@@ -3,7 +3,7 @@
 /* Buttons */
 
 .button {
-    background-color: none;
+    background-color: transparent;
     background-image: -gtk-win32-theme-part(button, 1 1);
     border-width: 0;
     -GtkWidget-focus-line-width: 1;
@@ -31,7 +31,7 @@
 /* Check buttons */
 
 .check {
-    background-color: none;
+    background-color: transparent;
     background-image: -gtk-win32-theme-part(button, 3 1);
     border-width: 0;
 }
@@ -71,7 +71,7 @@
 /* Radio buttons */
 
 .radio {
-    background-color: none;
+    background-color: transparent;
     background-image: -gtk-win32-theme-part(button, 2 1);
     border-width: 0;
 }
    don't use this atm */
 
 .scrollbar {
-    background-color: none;
+    background-color: transparent;
     -GtkRange-trough-border: 0;
     -GtkRange-arrow-scaling: 0.0;
     -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
 
 .spinbutton.button,
 .spinbutton.button:focused {
-    background-color: none;
-    border-width: 1 1 0 0;
+    background-color: transparent;
+    border-width: 1px 1px 0 0;
     border-style: none;
     background-image: -gtk-win32-theme-part(spin, 1 1);
     color: rgba(0, 0, 0, 0);
 
 .spinbutton.button.bottom,
 .spinbutton.button.bottom:focused {
-    border-width: 0 1 1 0;
+    border-width: 0 1px 1px 0;
     background-image: -gtk-win32-theme-part(spin, 2 1);
     color: rgba(0, 0, 0, 0);
 }
    trough */
 
 .scale {
-    background-color: none;
+    background-color: transparent;
     -GtkScale-value-spacing: 0;
     -GtkScale-slider-length: 9;
     -GtkRange-slider-width: 20;
 .scale.trough {
     border-style: none;
     border-width: 0;
-    background-image: -gtk-win32-theme-part(trackbar, 1 1);
+    background-image: -gtk-win32-theme-part(trackbar, 1 1, margins (2 0 2 0));
+}
+
+.scale.trough.vertical {
+    background-image: -gtk-win32-theme-part(trackbar, 1 1, margins (0 2 0 2));
 }
 
 .scale.slider {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     color: rgba(0,0,0,0);
     background-image: -gtk-win32-theme-part(trackbar, 3 1);
 /* Progress bars */
 
 GtkProgressBar {
-    background-color: none;
+    background-color: transparent;
     padding: 0;
 }
 
@@ -476,25 +480,25 @@ GtkProgressBar.trough.vertical {
 /* Menus */
 
 .menubar {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(menu, 7 1);
 }
 
 .menubar .menuitem {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(menu, 8 1);
 }
 
 .menubar .menuitem:prelight {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(menu, 8 3);
 }
 
 .menuitem:prelight {
-    background-color: none;
+    background-color: transparent;
     background-image: -gtk-win32-theme-part(menu, 14 2);
 
 }
@@ -502,7 +506,7 @@ GtkProgressBar.trough.vertical {
 .menuitem.radio,
 .menuitem.radio:prelight,
 .menuitem.radio:insensitive {
-    background-color: none;
+    background-color: transparent;
     background-image: none;
     border-width: 0;
 }
@@ -560,7 +564,7 @@ GtkProgressBar.trough.vertical {
 
 
 GtkComboBox.combobox-entry .button {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(combobox, 1 1);
     color: rgba(0, 0, 0, 0);
@@ -584,22 +588,34 @@ GtkComboBox.combobox-entry .button:insensitive {
 /* Notebook */
 
 .notebook {
-    background-color: none;
-    border-width: 0;
-    background-image: -gtk-win32-theme-part(tab, 9 1);
+    background-color: transparent;
+    border-width: 1px 3px 2px 2px;
+    border-style: solid;
+    background-origin: padding-box;
+    background-clip: border-box;
+    /*background-image: -gtk-win32-theme-part(tab, 9 1, margins(-2)); */
+    border-image: -gtk-win32-theme-part(tab, 9 1) 1 3 2 2 stretch;
     -GtkNotebook-tab-overlap: 1;
-    -GtkNotebook-tab-curvature: 1;
+    -GtkNotebook-tab-curvature: 0;
 }
 
 .notebook tab {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(tab, 1 1);
 }
 
 .notebook tab:active {
-    background-image: -gtk-win32-theme-part(tab, 1 3);
-    padding: 4;
+    background-image: -gtk-win32-theme-part(tab, 1 3, margins(0 0 -1 0));
+    padding: 4px;
+}
+
+.notebook tab:last-child {
+    background-image: -gtk-win32-theme-part(tab, 3 1);
+}
+
+.notebook tab:active:last-child {
+    background-image: -gtk-win32-theme-part(tab, 3 3, margins(0 0 -1 0));
 }
 
 .notebook {
@@ -609,14 +625,14 @@ GtkComboBox.combobox-entry .button:insensitive {
 /* Toolbar */
 
 .toolbar {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(rebar, 6 1);
 }
 
 .toolbar .button,
 .toolbar .button:focused {
-    background-color: none;
+    background-color: transparent;
     background-image: -gtk-win32-theme-part(toolbar, 1 1);
 }
 
@@ -641,7 +657,7 @@ GtkComboBox.combobox-entry .button:insensitive {
 
 column-header .button,
 column-header .button:focus {
-    background-color: none;
+    background-color: transparent;
     border-width: 0;
     background-image: -gtk-win32-theme-part(header, 1 1);
 }