mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Adwaita: clean up checkbutton and radiobutton styling
some superfluous selectors there since generic label styling was broken.
This commit is contained in:
parent
ec50042228
commit
38211ff800
@ -2504,15 +2504,6 @@ checkbutton.text-button, radiobutton.text-button {
|
||||
&:first-child { margin-left: 4px; }
|
||||
&:last-child { margin-right: 4px; }
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
&:active, &:indeterminate, & {
|
||||
// set insensitive color, which is overriden otherwise
|
||||
color: $insensitive_fg_color;
|
||||
|
||||
&:backdrop { color: $backdrop_insensitive_color; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
check,
|
||||
|
@ -2522,10 +2522,6 @@ checkbutton.text-button, radiobutton.text-button {
|
||||
margin-left: 4px; }
|
||||
checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button label:not(:only-child):last-child {
|
||||
margin-right: 4px; }
|
||||
checkbutton.text-button:disabled:active, checkbutton.text-button:disabled:indeterminate, checkbutton.text-button:disabled, radiobutton.text-button:disabled:active, radiobutton.text-button:disabled:indeterminate, radiobutton.text-button:disabled {
|
||||
color: #949796; }
|
||||
checkbutton.text-button:disabled:active:backdrop, checkbutton.text-button:disabled:indeterminate:backdrop, checkbutton.text-button:disabled:backdrop, radiobutton.text-button:disabled:active:backdrop, radiobutton.text-button:disabled:indeterminate:backdrop, radiobutton.text-button:disabled:backdrop {
|
||||
color: #5d6767; }
|
||||
|
||||
check,
|
||||
radio {
|
||||
|
@ -2546,10 +2546,6 @@ checkbutton.text-button, radiobutton.text-button {
|
||||
margin-left: 4px; }
|
||||
checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button label:not(:only-child):last-child {
|
||||
margin-right: 4px; }
|
||||
checkbutton.text-button:disabled:active, checkbutton.text-button:disabled:indeterminate, checkbutton.text-button:disabled, radiobutton.text-button:disabled:active, radiobutton.text-button:disabled:indeterminate, radiobutton.text-button:disabled {
|
||||
color: #8b8e8f; }
|
||||
checkbutton.text-button:disabled:active:backdrop, checkbutton.text-button:disabled:indeterminate:backdrop, checkbutton.text-button:disabled:backdrop, radiobutton.text-button:disabled:active:backdrop, radiobutton.text-button:disabled:indeterminate:backdrop, radiobutton.text-button:disabled:backdrop {
|
||||
color: #c3c3c0; }
|
||||
|
||||
check,
|
||||
radio {
|
||||
|
Loading…
Reference in New Issue
Block a user