diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-03-14 09:46:28 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-03-15 21:12:31 +0100 |
commit | 8f427babbb526c59775443830e8803f95c34d3cf (patch) | |
tree | 407f6bcf43be63491932585878e827fd2ab09d68 /gtk/gtk-win32-base.css | |
parent | 64f707c86a5c0186d1908063887831ae5bab4c3d (diff) | |
download | gtk+-8f427babbb526c59775443830e8803f95c34d3cf.tar.gz |
win32: Clean up spinbutton themeing
Diffstat (limited to 'gtk/gtk-win32-base.css')
-rw-r--r-- | gtk/gtk-win32-base.css | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/gtk/gtk-win32-base.css b/gtk/gtk-win32-base.css index 0b6cc91440..7dd6e7e700 100644 --- a/gtk/gtk-win32-base.css +++ b/gtk/gtk-win32-base.css @@ -347,54 +347,54 @@ GtkAssistant .sidebar .highlight { /* Spinbuttons */ -.spinbutton.button, -.spinbutton.button:focused { +.spinbutton .button, +.spinbutton .button:focused { background-color: transparent; - border-width: 1px 1px 0 0; - border-style: none; - background-image: -gtk-win32-theme-part(spin, 1 1); + background-image: -gtk-win32-theme-part(spin, 1 1, margins(-1 -1 0 -1)); color: rgba(0, 0, 0, 0); } -.spinbutton.button:prelight, -.spinbutton.button:prelight:focused { - background-image: -gtk-win32-theme-part(spin, 1 2); - color: rgba(0, 0, 0, 0); +.spinbutton .button:last-child { + background-image: -gtk-win32-theme-part(spin, 1 1, margins(-1 -1 0 -2)); } -.spinbutton.button:active, -.spinbutton.button:active:prelight { - background-image: -gtk-win32-theme-part(spin, 1 3); - color: rgba(0, 0, 0, 0); +.spinbutton .button:prelight, +.spinbutton .button:prelight:focused { + background-image: -gtk-win32-theme-part(spin, 1 2, margins(-1 -1 0 -1)); } -.spinbutton.button:insensitive { - background-image: -gtk-win32-theme-part(spin, 1 4); - color: rgba(0, 0, 0, 0); +.spinbutton .button:active, +.spinbutton .button:active:prelight, +.spinbutton .button:active:focused, +.spinbutton .button:active:prelight:focused { + background-image: -gtk-win32-theme-part(spin, 1 3, margins(-1 -1 0 -1)); +} + +.spinbutton .button:insensitive { + background-image: -gtk-win32-theme-part(spin, 1 4, margins(-1 -1 0 -1)); } -.spinbutton.button.bottom, -.spinbutton.button.bottom:focused { - border-width: 0 1px 1px 0; +.spinbutton .button:insensitive:last-child { + background-image: -gtk-win32-theme-part(spin, 1 4, margins(-1 -1 0 -2)); +} + +.spinbutton .button.bottom, +.spinbutton .button.bottom:focused { background-image: -gtk-win32-theme-part(spin, 2 1); - color: rgba(0, 0, 0, 0); } -.spinbutton.button.bottom:prelight, -.spinbutton.button.bottom:prelight:focused { +.spinbutton .button.bottom:prelight, +.spinbutton .button.bottom:prelight:focused { background-image: -gtk-win32-theme-part(spin, 2 2); - color: rgba(0, 0, 0, 0); } -.spinbutton.button.bottom:active, -.spinbutton.button.bottom:active:prelight { +.spinbutton .button.bottom:active, +.spinbutton .button.bottom:active:prelight { background-image: -gtk-win32-theme-part(spin, 2 3); - color: rgba(0, 0, 0, 0); } -.spinbutton.button.bottom:insensitive { +.spinbutton .button.bottom:insensitive { background-image: -gtk-win32-theme-part(spin, 2 4); - color: rgba(0, 0, 0, 0); } /* Ranges */ |