diff options
Diffstat (limited to 'themes/HighContrast/gtk-3.0/_common.scss')
-rw-r--r-- | themes/HighContrast/gtk-3.0/_common.scss | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/themes/HighContrast/gtk-3.0/_common.scss b/themes/HighContrast/gtk-3.0/_common.scss index a97e2e78..3d38e3da 100644 --- a/themes/HighContrast/gtk-3.0/_common.scss +++ b/themes/HighContrast/gtk-3.0/_common.scss @@ -1290,6 +1290,44 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { outline-offset: 0; } +@each $w,$a in ('check', 'checkbox'), + ('radio','radio') { + .#{$w} { + color: transparentize($fg_color,0.9); + background-image: none; + -gtk-icon-source: -gtk-icontheme('#{$a}-checked-symbolic'); + &:active { + color: $fg_color; + &:insensitive { + color: $insensitive_fg_color; + &:backdrop { color: $backdrop_insensitive_color; } + } + &:backdrop { color: $backdrop_fg_color; } + } + &:insensitive { + color: transparentize($insensitive_fg_color,0.9); + &:backdrop { color: transparent; } + } + &:inconsistent { + -gtk-icon-source: -gtk-icontheme('#{$a}-mixed-symbolic'); + } + &:selected, &:selected:focus { + // :selected:focus not to get overridden by .view style + color: transparentize($selected_fg_color,0.9); + &:active { + color: $selected_fg_color; + &:backdrop { + color: $backdrop_base_color; + } + } + } + &:backdrop { + color: transparentize($backdrop_fg_color,0.9); + &:selected { color: transparentize($backdrop_base_color,0.9); } + } + } +} + /************ * GtkScale * ************/ |