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:
Lapo Calamandrei 2016-03-19 17:46:49 +01:00
parent 99e2f91dfe
commit 43937c6aa0
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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 {