mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
Adwaita: checkbutton and radiobutton backdrop color fix
this sets the right backdrop color to the label insider the aformentined widgets.
This commit is contained in:
parent
99e2f91dfe
commit
43937c6aa0
@ -2497,6 +2497,8 @@ checkbutton.text-button, radiobutton.text-button {
|
||||
&:last-child { margin-right: 4px; }
|
||||
}
|
||||
|
||||
&:backdrop { color: $backdrop_fg_color; }
|
||||
|
||||
&:disabled {
|
||||
&:active, &:indeterminate, & {
|
||||
// set insensitive color, which is overriden otherwise
|
||||
|
@ -2442,6 +2442,8 @@ 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:backdrop, radiobutton.text-button:backdrop {
|
||||
color: #949796; }
|
||||
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 {
|
||||
|
@ -2466,6 +2466,8 @@ 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:backdrop, radiobutton.text-button:backdrop {
|
||||
color: #8b8e8f; }
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user