win32: Fix entry theming

This commit is contained in:
Alexander Larsson 2012-03-15 19:02:59 +01:00
parent 1e5a803614
commit dc1510c53d

View File

@ -336,17 +336,22 @@ GtkAssistant .sidebar .highlight {
.entry { .entry {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-image: -gtk-win32-theme-part(edit, 1 1) 1 1 1 1 stretch; border-image: -gtk-win32-theme-part(edit, 6 1) 1 1 1 1 stretch;
background-image: -gtk-win32-theme-part(edit, 1 1, margins(-1 -1 -1 -1)); background-image: -gtk-win32-theme-part(edit, 6 1, margins(-1 -1 -1 -1));
padding: 2px; padding: 2px;
} }
.entry:insensitive { .entry:insensitive {
border-image: -gtk-win32-theme-part(edit, 1 4) 1 1 1 1 stretch; border-image: -gtk-win32-theme-part(edit, 6 4) 1 1 1 1 stretch;
background-image: -gtk-win32-theme-part(edit, 1 4, margins(-1 -1 -1 -1)); background-image: -gtk-win32-theme-part(edit, 6 4, margins(-1 -1 -1 -1));
color: #a7aba7;
} }
.entry:prelight { .entry:prelight {
border-image: -gtk-win32-theme-part(edit, 1 2) 1 1 1 1 stretch; border-image: -gtk-win32-theme-part(edit, 6 2) 1 1 1 1 stretch;
background-image: -gtk-win32-theme-part(edit, 1 2, margins(-1 -1 -1 -1)); background-image: -gtk-win32-theme-part(edit, 6 2, margins(-1 -1 -1 -1));
}
.entry:focused {
border-image: -gtk-win32-theme-part(edit, 6 3) 1 1 1 1 stretch;
background-image: -gtk-win32-theme-part(edit, 6 3, margins(-1 -1 -1 -1));
} }
/* Spinbuttons */ /* Spinbuttons */
@ -569,13 +574,15 @@ GtkProgressBar.trough {
} }
GtkProgressBar.progressbar, GtkProgressBar.progressbar,
GtkEntry.progressbar { GtkEntry.progressbar,
GtkEntry.progressbar:focused {
border-width: 0; border-width: 0;
background-image: -gtk-win32-theme-part(progress, 5 1); background-image: -gtk-win32-theme-part(progress, 5 1);
} }
GtkProgressBar.progressbar.pulse, GtkProgressBar.progressbar.pulse,
GtkEntry.progressbar.pulse { GtkEntry.progressbar.pulse,
GtkEntry.progressbar.pulse:focused {
background-color: transparent; background-color: transparent;
background-image: -gtk-win32-theme-part(progress, 8 1); background-image: -gtk-win32-theme-part(progress, 8 1);
} }