X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtk-win32-base.css;h=0c86bbb058e25c819eb3e51accc67d1053f6f314;hb=e09957a47da9425cc26d1b33cb4e9cc3e92e9ac7;hp=30a37f580fdfd3f5c0b55c27584593606a06d0a1;hpb=dc1510c53dbc6cc7fcc743b3afd31eb2ca3d3317;p=~andy%2Fgtk diff --git a/gtk/gtk-win32-base.css b/gtk/gtk-win32-base.css index 30a37f580..0c86bbb05 100644 --- a/gtk/gtk-win32-base.css +++ b/gtk/gtk-win32-base.css @@ -22,6 +22,9 @@ GtkViewport { -GtkWidget-link-color: -gtk-win32-color(button, 26); -GtkWidget-visited-link-color: -gtk-win32-color(button, 26); border-color: shade (@bg_color, 0.6); + + -GtkScrolledWindow-scrollbars-within-bevel: 1; + -GtkScrolledWindow-scrollbars-spacing: 0; } GtkFrame { @@ -74,6 +77,16 @@ GtkFrame { color: #fff; } +.notebook > GtkScrolledWindow.frame { + border-style: none; +} + +GtkScrolledWindow.frame { + border-style: solid; + border-width: 2px; + border-image: -gtk-win32-theme-part(listview, 5 1) 2 2 2 2 stretch; +} + .view { border-width: 0; border-radius: 0; @@ -149,7 +162,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); } @@ -161,7 +178,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); } @@ -601,7 +618,6 @@ GtkProgressBar.trough.vertical { /* Combobox */ - GtkComboBox.combobox-entry .button { background-color: transparent; border-width: 0; @@ -624,6 +640,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 { @@ -757,6 +780,57 @@ 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); +} + +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); +} +*/