mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-19 08:30:09 +00:00
win32: Clean up spinbutton themeing
This commit is contained in:
parent
64f707c86a
commit
8f427babbb
@ -347,54 +347,54 @@ GtkAssistant .sidebar .highlight {
|
|||||||
|
|
||||||
/* Spinbuttons */
|
/* Spinbuttons */
|
||||||
|
|
||||||
.spinbutton.button,
|
.spinbutton .button,
|
||||||
.spinbutton.button:focused {
|
.spinbutton .button:focused {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-width: 1px 1px 0 0;
|
background-image: -gtk-win32-theme-part(spin, 1 1, margins(-1 -1 0 -1));
|
||||||
border-style: none;
|
|
||||||
background-image: -gtk-win32-theme-part(spin, 1 1);
|
|
||||||
color: rgba(0, 0, 0, 0);
|
color: rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinbutton.button:prelight,
|
.spinbutton .button:last-child {
|
||||||
.spinbutton.button:prelight:focused {
|
background-image: -gtk-win32-theme-part(spin, 1 1, margins(-1 -1 0 -2));
|
||||||
background-image: -gtk-win32-theme-part(spin, 1 2);
|
|
||||||
color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinbutton.button:active,
|
.spinbutton .button:prelight,
|
||||||
.spinbutton.button:active:prelight {
|
.spinbutton .button:prelight:focused {
|
||||||
background-image: -gtk-win32-theme-part(spin, 1 3);
|
background-image: -gtk-win32-theme-part(spin, 1 2, margins(-1 -1 0 -1));
|
||||||
color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinbutton.button:insensitive {
|
.spinbutton .button:active,
|
||||||
background-image: -gtk-win32-theme-part(spin, 1 4);
|
.spinbutton .button:active:prelight,
|
||||||
color: rgba(0, 0, 0, 0);
|
.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.bottom,
|
.spinbutton .button:insensitive {
|
||||||
.spinbutton.button.bottom:focused {
|
background-image: -gtk-win32-theme-part(spin, 1 4, margins(-1 -1 0 -1));
|
||||||
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);
|
background-image: -gtk-win32-theme-part(spin, 2 1);
|
||||||
color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinbutton.button.bottom:prelight,
|
.spinbutton .button.bottom:prelight,
|
||||||
.spinbutton.button.bottom:prelight:focused {
|
.spinbutton .button.bottom:prelight:focused {
|
||||||
background-image: -gtk-win32-theme-part(spin, 2 2);
|
background-image: -gtk-win32-theme-part(spin, 2 2);
|
||||||
color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinbutton.button.bottom:active,
|
.spinbutton .button.bottom:active,
|
||||||
.spinbutton.button.bottom:active:prelight {
|
.spinbutton .button.bottom:active:prelight {
|
||||||
background-image: -gtk-win32-theme-part(spin, 2 3);
|
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);
|
background-image: -gtk-win32-theme-part(spin, 2 4);
|
||||||
color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ranges */
|
/* Ranges */
|
||||||
|
@ -36,3 +36,13 @@ GtkNotebook.notebook {
|
|||||||
background-image: none;
|
background-image: none;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spinbutton .button {
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #7b9ebd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spinbutton .button:last-child {
|
||||||
|
border-width: 1px 1px 1px 0px;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user