forked from AuroraMiddleware/gtk
W32: give scrollbar slider active and insensitive styles
https://bugzilla.gnome.org/show_bug.cgi?id=727391
This commit is contained in:
parent
0d53a581b4
commit
3a806b97c9
@ -351,6 +351,18 @@ GtkButton.check:active:prelight {
|
||||
background-image: -gtk-win32-theme-part(scrollbar, 2 2, over (8 2));
|
||||
}
|
||||
|
||||
.scrollbar.slider:active {
|
||||
background-image: -gtk-win32-theme-part(scrollbar, 2 3, over (8 3));
|
||||
}
|
||||
|
||||
.scrollbar.slider:insensitive {
|
||||
/* There's a theme part for "disabled slider", but the only app observed
|
||||
to have a disabled scrollbar (Notepad) does not draw its slider at all
|
||||
when scrollbar is disabled. */
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.scrollbar.slider.vertical {
|
||||
background-image: -gtk-win32-theme-part(scrollbar, 3 1, over (9 1));
|
||||
}
|
||||
@ -359,6 +371,15 @@ GtkButton.check:active:prelight {
|
||||
background-image: -gtk-win32-theme-part(scrollbar, 3 2, over (9 2));
|
||||
}
|
||||
|
||||
.scrollbar.slider.vertical:active {
|
||||
background-image: -gtk-win32-theme-part(scrollbar, 3 3, over (9 3));
|
||||
}
|
||||
|
||||
.scrollbar.slider.vertical:insensitive {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Entry */
|
||||
|
||||
/* We apply the border as a border combined with the background so that
|
||||
|
Loading…
Reference in New Issue
Block a user