From a1cbcc18b3735438ec2e585b4f8a45a3a7e82f8e Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Tue, 16 Feb 2016 02:11:12 +0100 Subject: [PATCH] Adwaita: stop using assets for treeview check/radio... ...the sizing is still off, waiting for Benjamin to add the magic, probably the icon shadow is missing, not sure since it's blurry. This needs to be reverted in case the sizing won't get fixed. --- gtk/theme/Adwaita/_common.scss | 95 +- gtk/theme/Adwaita/assets.svg | 4463 +--------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 339 +- gtk/theme/Adwaita/gtk-contained.css | 453 +-- 4 files changed, 144 insertions(+), 5206 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 781f2c5a1e..e14dcc35f4 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1459,10 +1459,12 @@ treeview.view { &:disabled { color: $insensitive_fg_color; + &:selected { color: mix($selected_fg_color, $selected_bg_color, 40%); &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 30%); } } + &:backdrop { color: $backdrop_insensitive_color; } } @@ -1486,14 +1488,18 @@ treeview.view { &.expander { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } color: mix($fg_color, $base_color, 70%); &:hover { color: $fg_color; } + &:selected { color: mix($selected_fg_color, $selected_bg_color, 70%); + &:hover { color: $selected_fg_color; } + &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 70%); } } @@ -2278,52 +2284,6 @@ switch { // draw regular check and radio items using our PNG assets // all assets are rendered from assets.svg. never add pngs directly -@each $w,$a in ('check', 'checkbox'), - ('radio','radio') { - - //standard checks and radios - @each $s,$as in ('','-unchecked'), - (':hover', '-unchecked-hover'), - (':active', '-unchecked-active'), - (':disabled','-unchecked-insensitive'), - (':backdrop', '-unchecked-backdrop'), - (':backdrop:disabled', '-unchecked-backdrop-insensitive'), - (':indeterminate', '-mixed'), - (':indeterminate:hover', '-mixed-hover'), - (':indeterminate:selected', '-mixed-active'), - (':indeterminate:backdrop', '-mixed-backdrop'), - (':indeterminate:disabled', '-mixed-insensitive'), - (':indeterminate:disabled:backdrop', '-mixed-backdrop-insensitive'), - (':checked', '-checked'), - (':checked:disabled','-checked-insensitive'), - (':checked:hover', '-checked-hover'), - (':checked:active', '-checked-active'), - (':backdrop:checked', '-checked-backdrop'), - (':backdrop:checked:disabled', '-checked-backdrop-insensitive') { - treeview.#{$w}#{$s} { - -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}#{$asset_suffix}.png"), - url("assets/#{$a}#{$as}#{$asset_suffix}@2.png")); - -gtk-icon-shadow: if(str-index($s,"backdrop"), none, 0 1px 0 $borders_edge); //no edge highlight for :backdrop - & button.flat { -gtk-icon-shadow: none; } - } - @if $variant == 'light' { - // the borders of the light variant versions of checks and radios are - // too similar in luminosity to the selected background color, hence - // we need special casing. - .view treeview.#{$w}#{$s}:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-#{$a}#{$as}#{$asset_suffix}.png"), - url("assets/selected-#{$a}#{$as}#{$asset_suffix}@2.png")); - } - } - } -} - -//treeview and rows -.view.check, .view.radio, -row .check, row .radio { - -gtk-icon-shadow: none; - &:selected, &:hover { -gtk-icon-shadow: none; } -} //selection-mode @each $s,$as in ('','-selectionmode'), @@ -2346,6 +2306,7 @@ checkbutton.text-button, radiobutton.text-button { // this is for a nice focus on check and radios text padding: 1px 2px 4px; outline-offset: 0; + &:disabled, &:disabled:active, &:disabled:indeterminate { @@ -2358,6 +2319,7 @@ checkbutton.text-button, radiobutton.text-button { check, radio { margin: 0 4px; + &:only-child { margin: 0; } min-height: 14px; @@ -2365,11 +2327,13 @@ radio { border: 1px solid; -gtk-icon-source: none; @include button(normal); + &:hover { @include button(hover); } &:active { @include button(active); } &:disabled { @include button(insensitive); } &:backdrop { @include button(backdrop); + &:disabled { @include button(backdrop-insensitive); } } @@ -2394,6 +2358,7 @@ radio { } } +%check, check { border-radius: 3px; &:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")), @@ -2402,6 +2367,7 @@ check { -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); } } +%radio, radio { border-radius: 100%; &:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")), @@ -2441,6 +2407,43 @@ menu menuitem { } +// treeview stuff, let's the fun begin: +treeview.view check:selected { + &:focus, &:backdrop, & { + &:disabled, & { + @extend %check; + @if $variant == 'light' { border-color: $selected_borders_color; } + } + } +} + +treeview.view radio:selected { + &:focus, &:backdrop, & { + &:disabled, & { + @extend %radio; + @if $variant == 'light' { border-color: $selected_borders_color; } + } + } +} + +treeview.view check, +treeview.view radio { + &:dir(rtl), &:dir(ltr) { // specificity bump + &:selected, & { + &:focus, &:hover, & { color: $fg_color; } + + &:backdrop { + &:hover, & { color: $backdrop_fg_color; } + + &:disabled { color: $backdrop_insensitive_color; } + } + + &:disabled { color: $insensitive_fg_color;} + } + } +} + + /************ * GtkScale * ************/ diff --git a/gtk/theme/Adwaita/assets.svg b/gtk/theme/Adwaita/assets.svg index 63d920eb53..6bfabc7049 100644 --- a/gtk/theme/Adwaita/assets.svg +++ b/gtk/theme/Adwaita/assets.svg @@ -33,167 +33,6 @@ offset="1" style="stop-color:#d3d3d3;stop-opacity:1;" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - header > tabs > arrow, treeview.check button.sidebar-button, treeview.check headerbar button.titlebutton, headerbar treeview.check button.titlebutton, - treeview.check .titlebar button.titlebutton, - .titlebar treeview.check button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:hover { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-hover-dark.png"), url("assets/checkbox-unchecked-hover-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:hover button.flat, treeview.check:hover notebook > header > tabs > arrow, treeview.check:hover button.sidebar-button, treeview.check:hover headerbar button.titlebutton, headerbar treeview.check:hover button.titlebutton, - treeview.check:hover .titlebar button.titlebutton, - .titlebar treeview.check:hover button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:active { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-active-dark.png"), url("assets/checkbox-unchecked-active-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:active button.flat, treeview.check:active notebook > header > tabs > arrow, treeview.check:active button.sidebar-button, treeview.check:active headerbar button.titlebutton, headerbar treeview.check:active button.titlebutton, - treeview.check:active .titlebar button.titlebutton, - .titlebar treeview.check:active button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-insensitive-dark.png"), url("assets/checkbox-unchecked-insensitive-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:disabled button.flat, treeview.check:disabled notebook > header > tabs > arrow, treeview.check:disabled button.sidebar-button, treeview.check:disabled headerbar button.titlebutton, headerbar treeview.check:disabled button.titlebutton, - treeview.check:disabled .titlebar button.titlebutton, - .titlebar treeview.check:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-backdrop-dark.png"), url("assets/checkbox-unchecked-backdrop-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop button.flat, treeview.check:backdrop notebook > header > tabs > arrow, treeview.check:backdrop button.sidebar-button, treeview.check:backdrop headerbar button.titlebutton, headerbar treeview.check:backdrop button.titlebutton, - treeview.check:backdrop .titlebar button.titlebutton, - .titlebar treeview.check:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:backdrop:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-backdrop-insensitive-dark.png"), url("assets/checkbox-unchecked-backdrop-insensitive-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop:disabled button.flat, treeview.check:backdrop:disabled notebook > header > tabs > arrow, treeview.check:backdrop:disabled button.sidebar-button, treeview.check:backdrop:disabled headerbar button.titlebutton, headerbar treeview.check:backdrop:disabled button.titlebutton, - treeview.check:backdrop:disabled .titlebar button.titlebutton, - .titlebar treeview.check:backdrop:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:indeterminate { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-dark.png"), url("assets/checkbox-mixed-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:indeterminate button.flat, treeview.check:indeterminate notebook > header > tabs > arrow, treeview.check:indeterminate button.sidebar-button, treeview.check:indeterminate headerbar button.titlebutton, headerbar treeview.check:indeterminate button.titlebutton, - treeview.check:indeterminate .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:indeterminate:hover { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-hover-dark.png"), url("assets/checkbox-mixed-hover-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:indeterminate:hover button.flat, treeview.check:indeterminate:hover notebook > header > tabs > arrow, treeview.check:indeterminate:hover button.sidebar-button, treeview.check:indeterminate:hover headerbar button.titlebutton, headerbar treeview.check:indeterminate:hover button.titlebutton, - treeview.check:indeterminate:hover .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:hover button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:indeterminate:selected { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-active-dark.png"), url("assets/checkbox-mixed-active-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:indeterminate:selected button.flat, treeview.check:indeterminate:selected notebook > header > tabs > arrow, treeview.check:indeterminate:selected button.sidebar-button, treeview.check:indeterminate:selected headerbar button.titlebutton, headerbar treeview.check:indeterminate:selected button.titlebutton, - treeview.check:indeterminate:selected .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:selected button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:indeterminate:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-backdrop-dark.png"), url("assets/checkbox-mixed-backdrop-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.check:indeterminate:backdrop button.flat, treeview.check:indeterminate:backdrop notebook > header > tabs > arrow, treeview.check:indeterminate:backdrop button.sidebar-button, treeview.check:indeterminate:backdrop headerbar button.titlebutton, headerbar treeview.check:indeterminate:backdrop button.titlebutton, - treeview.check:indeterminate:backdrop .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:indeterminate:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-insensitive-dark.png"), url("assets/checkbox-mixed-insensitive-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:indeterminate:disabled button.flat, treeview.check:indeterminate:disabled notebook > header > tabs > arrow, treeview.check:indeterminate:disabled button.sidebar-button, treeview.check:indeterminate:disabled headerbar button.titlebutton, headerbar treeview.check:indeterminate:disabled button.titlebutton, - treeview.check:indeterminate:disabled .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:indeterminate:disabled:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-backdrop-insensitive-dark.png"), url("assets/checkbox-mixed-backdrop-insensitive-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.check:indeterminate:disabled:backdrop button.flat, treeview.check:indeterminate:disabled:backdrop notebook > header > tabs > arrow, treeview.check:indeterminate:disabled:backdrop button.sidebar-button, treeview.check:indeterminate:disabled:backdrop headerbar button.titlebutton, headerbar treeview.check:indeterminate:disabled:backdrop button.titlebutton, - treeview.check:indeterminate:disabled:backdrop .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:disabled:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:checked { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-dark.png"), url("assets/checkbox-checked-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:checked button.flat, treeview.check:checked notebook > header > tabs > arrow, treeview.check:checked button.sidebar-button, treeview.check:checked headerbar button.titlebutton, headerbar treeview.check:checked button.titlebutton, - treeview.check:checked .titlebar button.titlebutton, - .titlebar treeview.check:checked button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive-dark.png"), url("assets/checkbox-checked-insensitive-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:checked:disabled button.flat, treeview.check:checked:disabled notebook > header > tabs > arrow, treeview.check:checked:disabled button.sidebar-button, treeview.check:checked:disabled headerbar button.titlebutton, headerbar treeview.check:checked:disabled button.titlebutton, - treeview.check:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.check:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:checked:hover { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-dark.png"), url("assets/checkbox-checked-hover-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:checked:hover button.flat, treeview.check:checked:hover notebook > header > tabs > arrow, treeview.check:checked:hover button.sidebar-button, treeview.check:checked:hover headerbar button.titlebutton, headerbar treeview.check:checked:hover button.titlebutton, - treeview.check:checked:hover .titlebar button.titlebutton, - .titlebar treeview.check:checked:hover button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:checked:active { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active-dark.png"), url("assets/checkbox-checked-active-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.check:checked:active button.flat, treeview.check:checked:active notebook > header > tabs > arrow, treeview.check:checked:active button.sidebar-button, treeview.check:checked:active headerbar button.titlebutton, headerbar treeview.check:checked:active button.titlebutton, - treeview.check:checked:active .titlebar button.titlebutton, - .titlebar treeview.check:checked:active button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:backdrop:checked { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-dark.png"), url("assets/checkbox-checked-backdrop-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop:checked button.flat, treeview.check:backdrop:checked notebook > header > tabs > arrow, treeview.check:backdrop:checked button.sidebar-button, treeview.check:backdrop:checked headerbar button.titlebutton, headerbar treeview.check:backdrop:checked button.titlebutton, - treeview.check:backdrop:checked .titlebar button.titlebutton, - .titlebar treeview.check:backdrop:checked button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.check:backdrop:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-insensitive-dark.png"), url("assets/checkbox-checked-backdrop-insensitive-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop:checked:disabled button.flat, treeview.check:backdrop:checked:disabled notebook > header > tabs > arrow, treeview.check:backdrop:checked:disabled button.sidebar-button, treeview.check:backdrop:checked:disabled headerbar button.titlebutton, headerbar treeview.check:backdrop:checked:disabled button.titlebutton, - treeview.check:backdrop:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.check:backdrop:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-dark.png"), url("assets/radio-unchecked-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio button.flat, treeview.radio notebook > header > tabs > arrow, treeview.radio button.sidebar-button, treeview.radio headerbar button.titlebutton, headerbar treeview.radio button.titlebutton, - treeview.radio .titlebar button.titlebutton, - .titlebar treeview.radio button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:hover { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-hover-dark.png"), url("assets/radio-unchecked-hover-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:hover button.flat, treeview.radio:hover notebook > header > tabs > arrow, treeview.radio:hover button.sidebar-button, treeview.radio:hover headerbar button.titlebutton, headerbar treeview.radio:hover button.titlebutton, - treeview.radio:hover .titlebar button.titlebutton, - .titlebar treeview.radio:hover button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:active { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-active-dark.png"), url("assets/radio-unchecked-active-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:active button.flat, treeview.radio:active notebook > header > tabs > arrow, treeview.radio:active button.sidebar-button, treeview.radio:active headerbar button.titlebutton, headerbar treeview.radio:active button.titlebutton, - treeview.radio:active .titlebar button.titlebutton, - .titlebar treeview.radio:active button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-insensitive-dark.png"), url("assets/radio-unchecked-insensitive-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:disabled button.flat, treeview.radio:disabled notebook > header > tabs > arrow, treeview.radio:disabled button.sidebar-button, treeview.radio:disabled headerbar button.titlebutton, headerbar treeview.radio:disabled button.titlebutton, - treeview.radio:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-backdrop-dark.png"), url("assets/radio-unchecked-backdrop-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop button.flat, treeview.radio:backdrop notebook > header > tabs > arrow, treeview.radio:backdrop button.sidebar-button, treeview.radio:backdrop headerbar button.titlebutton, headerbar treeview.radio:backdrop button.titlebutton, - treeview.radio:backdrop .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:backdrop:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-backdrop-insensitive-dark.png"), url("assets/radio-unchecked-backdrop-insensitive-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop:disabled button.flat, treeview.radio:backdrop:disabled notebook > header > tabs > arrow, treeview.radio:backdrop:disabled button.sidebar-button, treeview.radio:backdrop:disabled headerbar button.titlebutton, headerbar treeview.radio:backdrop:disabled button.titlebutton, - treeview.radio:backdrop:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:indeterminate { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-dark.png"), url("assets/radio-mixed-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:indeterminate button.flat, treeview.radio:indeterminate notebook > header > tabs > arrow, treeview.radio:indeterminate button.sidebar-button, treeview.radio:indeterminate headerbar button.titlebutton, headerbar treeview.radio:indeterminate button.titlebutton, - treeview.radio:indeterminate .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:indeterminate:hover { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-hover-dark.png"), url("assets/radio-mixed-hover-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:indeterminate:hover button.flat, treeview.radio:indeterminate:hover notebook > header > tabs > arrow, treeview.radio:indeterminate:hover button.sidebar-button, treeview.radio:indeterminate:hover headerbar button.titlebutton, headerbar treeview.radio:indeterminate:hover button.titlebutton, - treeview.radio:indeterminate:hover .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:hover button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:indeterminate:selected { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-active-dark.png"), url("assets/radio-mixed-active-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:indeterminate:selected button.flat, treeview.radio:indeterminate:selected notebook > header > tabs > arrow, treeview.radio:indeterminate:selected button.sidebar-button, treeview.radio:indeterminate:selected headerbar button.titlebutton, headerbar treeview.radio:indeterminate:selected button.titlebutton, - treeview.radio:indeterminate:selected .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:selected button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:indeterminate:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-backdrop-dark.png"), url("assets/radio-mixed-backdrop-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:indeterminate:backdrop button.flat, treeview.radio:indeterminate:backdrop notebook > header > tabs > arrow, treeview.radio:indeterminate:backdrop button.sidebar-button, treeview.radio:indeterminate:backdrop headerbar button.titlebutton, headerbar treeview.radio:indeterminate:backdrop button.titlebutton, - treeview.radio:indeterminate:backdrop .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:indeterminate:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-insensitive-dark.png"), url("assets/radio-mixed-insensitive-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:indeterminate:disabled button.flat, treeview.radio:indeterminate:disabled notebook > header > tabs > arrow, treeview.radio:indeterminate:disabled button.sidebar-button, treeview.radio:indeterminate:disabled headerbar button.titlebutton, headerbar treeview.radio:indeterminate:disabled button.titlebutton, - treeview.radio:indeterminate:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:indeterminate:disabled:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-backdrop-insensitive-dark.png"), url("assets/radio-mixed-backdrop-insensitive-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:indeterminate:disabled:backdrop button.flat, treeview.radio:indeterminate:disabled:backdrop notebook > header > tabs > arrow, treeview.radio:indeterminate:disabled:backdrop button.sidebar-button, treeview.radio:indeterminate:disabled:backdrop headerbar button.titlebutton, headerbar treeview.radio:indeterminate:disabled:backdrop button.titlebutton, - treeview.radio:indeterminate:disabled:backdrop .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:disabled:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:checked { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-dark.png"), url("assets/radio-checked-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:checked button.flat, treeview.radio:checked notebook > header > tabs > arrow, treeview.radio:checked button.sidebar-button, treeview.radio:checked headerbar button.titlebutton, headerbar treeview.radio:checked button.titlebutton, - treeview.radio:checked .titlebar button.titlebutton, - .titlebar treeview.radio:checked button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-insensitive-dark.png"), url("assets/radio-checked-insensitive-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:checked:disabled button.flat, treeview.radio:checked:disabled notebook > header > tabs > arrow, treeview.radio:checked:disabled button.sidebar-button, treeview.radio:checked:disabled headerbar button.titlebutton, headerbar treeview.radio:checked:disabled button.titlebutton, - treeview.radio:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:checked:hover { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-hover-dark.png"), url("assets/radio-checked-hover-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:checked:hover button.flat, treeview.radio:checked:hover notebook > header > tabs > arrow, treeview.radio:checked:hover button.sidebar-button, treeview.radio:checked:hover headerbar button.titlebutton, headerbar treeview.radio:checked:hover button.titlebutton, - treeview.radio:checked:hover .titlebar button.titlebutton, - .titlebar treeview.radio:checked:hover button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:checked:active { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-active-dark.png"), url("assets/radio-checked-active-dark@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(238, 238, 236, 0.07); } - treeview.radio:checked:active button.flat, treeview.radio:checked:active notebook > header > tabs > arrow, treeview.radio:checked:active button.sidebar-button, treeview.radio:checked:active headerbar button.titlebutton, headerbar treeview.radio:checked:active button.titlebutton, - treeview.radio:checked:active .titlebar button.titlebutton, - .titlebar treeview.radio:checked:active button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:backdrop:checked { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-backdrop-dark.png"), url("assets/radio-checked-backdrop-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop:checked button.flat, treeview.radio:backdrop:checked notebook > header > tabs > arrow, treeview.radio:backdrop:checked button.sidebar-button, treeview.radio:backdrop:checked headerbar button.titlebutton, headerbar treeview.radio:backdrop:checked button.titlebutton, - treeview.radio:backdrop:checked .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop:checked button.titlebutton { - -gtk-icon-shadow: none; } - -treeview.radio:backdrop:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-backdrop-insensitive-dark.png"), url("assets/radio-checked-backdrop-insensitive-dark@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop:checked:disabled button.flat, treeview.radio:backdrop:checked:disabled notebook > header > tabs > arrow, treeview.radio:backdrop:checked:disabled button.sidebar-button, treeview.radio:backdrop:checked:disabled headerbar button.titlebutton, headerbar treeview.radio:backdrop:checked:disabled button.titlebutton, - treeview.radio:backdrop:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view.check, iconview.check, .view.radio, iconview.radio, -row .check, row .radio { - -gtk-icon-shadow: none; } - .view.check:selected, iconview.check:selected, .view.check:hover, iconview.check:hover, .view.radio:selected, iconview.radio:selected, .view.radio:hover, iconview.radio:hover, - row .check:selected, - row .check:hover, row .radio:selected, row .radio:hover { - -gtk-icon-shadow: none; } - .view.content-view.check:not(list), iconview.content-view.check:not(list) { -gtk-icon-shadow: none; -gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png")); @@ -2912,17 +2616,23 @@ radio { border-color: currentColor; animation: none; } +treeview.view check:selected:focus:disabled, treeview.view check:selected:focus, treeview.view check:selected:backdrop:disabled, treeview.view check:selected:backdrop, treeview.view check:selected:disabled, treeview.view check:selected, check { border-radius: 3px; } + treeview.view check:checked:selected, check:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")), -gtk-recolor(url("assets/check-symbolic.symbolic.png"))); } + treeview.view check:indeterminate:selected, check:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); } +treeview.view radio:selected:focus:disabled, treeview.view radio:selected:focus, treeview.view radio:selected:backdrop:disabled, treeview.view radio:selected:backdrop, treeview.view radio:selected:disabled, treeview.view radio:selected, radio { border-radius: 100%; } + treeview.view radio:checked:selected, radio:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")), -gtk-recolor(url("assets/bullet-symbolic.symbolic.png"))); } + treeview.view radio:indeterminate:selected, radio:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); } @@ -2956,6 +2666,43 @@ menu menuitem check:indeterminate:checked:active, menu menuitem radio:indeterminate:checked { animation: none; } +treeview.view check:dir(rtl):selected:focus, treeview.view check:dir(rtl):selected:hover, treeview.view check:dir(rtl):selected, treeview.view check:dir(rtl):focus, treeview.view check:dir(rtl):hover, treeview.view check:dir(rtl), treeview.view check:dir(ltr):selected:focus, treeview.view check:dir(ltr):selected:hover, treeview.view check:dir(ltr):selected, treeview.view check:dir(ltr):focus, treeview.view check:dir(ltr):hover, treeview.view check:dir(ltr), +treeview.view radio:dir(rtl):selected:focus, +treeview.view radio:dir(rtl):selected:hover, +treeview.view radio:dir(rtl):selected, +treeview.view radio:dir(rtl):focus, +treeview.view radio:dir(rtl):hover, +treeview.view radio:dir(rtl), +treeview.view radio:dir(ltr):selected:focus, +treeview.view radio:dir(ltr):selected:hover, +treeview.view radio:dir(ltr):selected, +treeview.view radio:dir(ltr):focus, +treeview.view radio:dir(ltr):hover, +treeview.view radio:dir(ltr) { + color: #eeeeec; } +treeview.view check:dir(rtl):selected:backdrop:hover, treeview.view check:dir(rtl):selected:backdrop, treeview.view check:dir(rtl):backdrop:hover, treeview.view check:dir(rtl):backdrop, treeview.view check:dir(ltr):selected:backdrop:hover, treeview.view check:dir(ltr):selected:backdrop, treeview.view check:dir(ltr):backdrop:hover, treeview.view check:dir(ltr):backdrop, +treeview.view radio:dir(rtl):selected:backdrop:hover, +treeview.view radio:dir(rtl):selected:backdrop, +treeview.view radio:dir(rtl):backdrop:hover, +treeview.view radio:dir(rtl):backdrop, +treeview.view radio:dir(ltr):selected:backdrop:hover, +treeview.view radio:dir(ltr):selected:backdrop, +treeview.view radio:dir(ltr):backdrop:hover, +treeview.view radio:dir(ltr):backdrop { + color: #949796; } +treeview.view check:dir(rtl):selected:backdrop:disabled, treeview.view check:dir(rtl):backdrop:disabled, treeview.view check:dir(ltr):selected:backdrop:disabled, treeview.view check:dir(ltr):backdrop:disabled, +treeview.view radio:dir(rtl):selected:backdrop:disabled, +treeview.view radio:dir(rtl):backdrop:disabled, +treeview.view radio:dir(ltr):selected:backdrop:disabled, +treeview.view radio:dir(ltr):backdrop:disabled { + color: #5d6767; } +treeview.view check:dir(rtl):selected:disabled, treeview.view check:dir(rtl):disabled, treeview.view check:dir(ltr):selected:disabled, treeview.view check:dir(ltr):disabled, +treeview.view radio:dir(rtl):selected:disabled, +treeview.view radio:dir(rtl):disabled, +treeview.view radio:dir(ltr):selected:disabled, +treeview.view radio:dir(ltr):disabled { + color: #949796; } + /************ * GtkScale * ************/ diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index fbeade60df..25039b23f9 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -2511,410 +2511,6 @@ switch { /************************* * Check and Radio items * *************************/ -treeview.check { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check button.flat, treeview.check notebook > header > tabs > arrow, treeview.check button.sidebar-button, treeview.check headerbar button.titlebutton, headerbar treeview.check button.titlebutton, - treeview.check .titlebar button.titlebutton, - .titlebar treeview.check button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:selected, iconview treeview.check:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-unchecked.png"), url("assets/selected-checkbox-unchecked@2.png")); } - -treeview.check:hover { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-hover.png"), url("assets/checkbox-unchecked-hover@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:hover button.flat, treeview.check:hover notebook > header > tabs > arrow, treeview.check:hover button.sidebar-button, treeview.check:hover headerbar button.titlebutton, headerbar treeview.check:hover button.titlebutton, - treeview.check:hover .titlebar button.titlebutton, - .titlebar treeview.check:hover button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:hover:selected, iconview treeview.check:hover:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-unchecked-hover.png"), url("assets/selected-checkbox-unchecked-hover@2.png")); } - -treeview.check:active { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-active.png"), url("assets/checkbox-unchecked-active@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:active button.flat, treeview.check:active notebook > header > tabs > arrow, treeview.check:active button.sidebar-button, treeview.check:active headerbar button.titlebutton, headerbar treeview.check:active button.titlebutton, - treeview.check:active .titlebar button.titlebutton, - .titlebar treeview.check:active button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:active:selected, iconview treeview.check:active:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-unchecked-active.png"), url("assets/selected-checkbox-unchecked-active@2.png")); } - -treeview.check:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-insensitive.png"), url("assets/checkbox-unchecked-insensitive@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:disabled button.flat, treeview.check:disabled notebook > header > tabs > arrow, treeview.check:disabled button.sidebar-button, treeview.check:disabled headerbar button.titlebutton, headerbar treeview.check:disabled button.titlebutton, - treeview.check:disabled .titlebar button.titlebutton, - .titlebar treeview.check:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:disabled:selected, iconview treeview.check:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-unchecked-insensitive.png"), url("assets/selected-checkbox-unchecked-insensitive@2.png")); } - -treeview.check:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-backdrop.png"), url("assets/checkbox-unchecked-backdrop@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop button.flat, treeview.check:backdrop notebook > header > tabs > arrow, treeview.check:backdrop button.sidebar-button, treeview.check:backdrop headerbar button.titlebutton, headerbar treeview.check:backdrop button.titlebutton, - treeview.check:backdrop .titlebar button.titlebutton, - .titlebar treeview.check:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:backdrop:selected, iconview treeview.check:backdrop:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-unchecked-backdrop.png"), url("assets/selected-checkbox-unchecked-backdrop@2.png")); } - -treeview.check:backdrop:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-backdrop-insensitive.png"), url("assets/checkbox-unchecked-backdrop-insensitive@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop:disabled button.flat, treeview.check:backdrop:disabled notebook > header > tabs > arrow, treeview.check:backdrop:disabled button.sidebar-button, treeview.check:backdrop:disabled headerbar button.titlebutton, headerbar treeview.check:backdrop:disabled button.titlebutton, - treeview.check:backdrop:disabled .titlebar button.titlebutton, - .titlebar treeview.check:backdrop:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:backdrop:disabled:selected, iconview treeview.check:backdrop:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-unchecked-backdrop-insensitive.png"), url("assets/selected-checkbox-unchecked-backdrop-insensitive@2.png")); } - -treeview.check:indeterminate { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed.png"), url("assets/checkbox-mixed@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:indeterminate button.flat, treeview.check:indeterminate notebook > header > tabs > arrow, treeview.check:indeterminate button.sidebar-button, treeview.check:indeterminate headerbar button.titlebutton, headerbar treeview.check:indeterminate button.titlebutton, - treeview.check:indeterminate .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:indeterminate:selected, iconview treeview.check:indeterminate:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-mixed.png"), url("assets/selected-checkbox-mixed@2.png")); } - -treeview.check:indeterminate:hover { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-hover.png"), url("assets/checkbox-mixed-hover@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:indeterminate:hover button.flat, treeview.check:indeterminate:hover notebook > header > tabs > arrow, treeview.check:indeterminate:hover button.sidebar-button, treeview.check:indeterminate:hover headerbar button.titlebutton, headerbar treeview.check:indeterminate:hover button.titlebutton, - treeview.check:indeterminate:hover .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:hover button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:indeterminate:hover:selected, iconview treeview.check:indeterminate:hover:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-mixed-hover.png"), url("assets/selected-checkbox-mixed-hover@2.png")); } - -treeview.check:indeterminate:selected { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-active.png"), url("assets/checkbox-mixed-active@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:indeterminate:selected button.flat, treeview.check:indeterminate:selected notebook > header > tabs > arrow, treeview.check:indeterminate:selected button.sidebar-button, treeview.check:indeterminate:selected headerbar button.titlebutton, headerbar treeview.check:indeterminate:selected button.titlebutton, - treeview.check:indeterminate:selected .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:selected button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:indeterminate:selected:selected, iconview treeview.check:indeterminate:selected:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-mixed-active.png"), url("assets/selected-checkbox-mixed-active@2.png")); } - -treeview.check:indeterminate:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-backdrop.png"), url("assets/checkbox-mixed-backdrop@2.png")); - -gtk-icon-shadow: none; } - treeview.check:indeterminate:backdrop button.flat, treeview.check:indeterminate:backdrop notebook > header > tabs > arrow, treeview.check:indeterminate:backdrop button.sidebar-button, treeview.check:indeterminate:backdrop headerbar button.titlebutton, headerbar treeview.check:indeterminate:backdrop button.titlebutton, - treeview.check:indeterminate:backdrop .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:indeterminate:backdrop:selected, iconview treeview.check:indeterminate:backdrop:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-mixed-backdrop.png"), url("assets/selected-checkbox-mixed-backdrop@2.png")); } - -treeview.check:indeterminate:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-insensitive.png"), url("assets/checkbox-mixed-insensitive@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:indeterminate:disabled button.flat, treeview.check:indeterminate:disabled notebook > header > tabs > arrow, treeview.check:indeterminate:disabled button.sidebar-button, treeview.check:indeterminate:disabled headerbar button.titlebutton, headerbar treeview.check:indeterminate:disabled button.titlebutton, - treeview.check:indeterminate:disabled .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:indeterminate:disabled:selected, iconview treeview.check:indeterminate:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-mixed-insensitive.png"), url("assets/selected-checkbox-mixed-insensitive@2.png")); } - -treeview.check:indeterminate:disabled:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-backdrop-insensitive.png"), url("assets/checkbox-mixed-backdrop-insensitive@2.png")); - -gtk-icon-shadow: none; } - treeview.check:indeterminate:disabled:backdrop button.flat, treeview.check:indeterminate:disabled:backdrop notebook > header > tabs > arrow, treeview.check:indeterminate:disabled:backdrop button.sidebar-button, treeview.check:indeterminate:disabled:backdrop headerbar button.titlebutton, headerbar treeview.check:indeterminate:disabled:backdrop button.titlebutton, - treeview.check:indeterminate:disabled:backdrop .titlebar button.titlebutton, - .titlebar treeview.check:indeterminate:disabled:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:indeterminate:disabled:backdrop:selected, iconview treeview.check:indeterminate:disabled:backdrop:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-mixed-backdrop-insensitive.png"), url("assets/selected-checkbox-mixed-backdrop-insensitive@2.png")); } - -treeview.check:checked { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked.png"), url("assets/checkbox-checked@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:checked button.flat, treeview.check:checked notebook > header > tabs > arrow, treeview.check:checked button.sidebar-button, treeview.check:checked headerbar button.titlebutton, headerbar treeview.check:checked button.titlebutton, - treeview.check:checked .titlebar button.titlebutton, - .titlebar treeview.check:checked button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:checked:selected, iconview treeview.check:checked:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-checked.png"), url("assets/selected-checkbox-checked@2.png")); } - -treeview.check:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-insensitive.png"), url("assets/checkbox-checked-insensitive@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:checked:disabled button.flat, treeview.check:checked:disabled notebook > header > tabs > arrow, treeview.check:checked:disabled button.sidebar-button, treeview.check:checked:disabled headerbar button.titlebutton, headerbar treeview.check:checked:disabled button.titlebutton, - treeview.check:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.check:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:checked:disabled:selected, iconview treeview.check:checked:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-checked-insensitive.png"), url("assets/selected-checkbox-checked-insensitive@2.png")); } - -treeview.check:checked:hover { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover.png"), url("assets/checkbox-checked-hover@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:checked:hover button.flat, treeview.check:checked:hover notebook > header > tabs > arrow, treeview.check:checked:hover button.sidebar-button, treeview.check:checked:hover headerbar button.titlebutton, headerbar treeview.check:checked:hover button.titlebutton, - treeview.check:checked:hover .titlebar button.titlebutton, - .titlebar treeview.check:checked:hover button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:checked:hover:selected, iconview treeview.check:checked:hover:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-checked-hover.png"), url("assets/selected-checkbox-checked-hover@2.png")); } - -treeview.check:checked:active { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active.png"), url("assets/checkbox-checked-active@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.check:checked:active button.flat, treeview.check:checked:active notebook > header > tabs > arrow, treeview.check:checked:active button.sidebar-button, treeview.check:checked:active headerbar button.titlebutton, headerbar treeview.check:checked:active button.titlebutton, - treeview.check:checked:active .titlebar button.titlebutton, - .titlebar treeview.check:checked:active button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:checked:active:selected, iconview treeview.check:checked:active:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-checked-active.png"), url("assets/selected-checkbox-checked-active@2.png")); } - -treeview.check:backdrop:checked { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop.png"), url("assets/checkbox-checked-backdrop@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop:checked button.flat, treeview.check:backdrop:checked notebook > header > tabs > arrow, treeview.check:backdrop:checked button.sidebar-button, treeview.check:backdrop:checked headerbar button.titlebutton, headerbar treeview.check:backdrop:checked button.titlebutton, - treeview.check:backdrop:checked .titlebar button.titlebutton, - .titlebar treeview.check:backdrop:checked button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:backdrop:checked:selected, iconview treeview.check:backdrop:checked:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-checked-backdrop.png"), url("assets/selected-checkbox-checked-backdrop@2.png")); } - -treeview.check:backdrop:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-insensitive.png"), url("assets/checkbox-checked-backdrop-insensitive@2.png")); - -gtk-icon-shadow: none; } - treeview.check:backdrop:checked:disabled button.flat, treeview.check:backdrop:checked:disabled notebook > header > tabs > arrow, treeview.check:backdrop:checked:disabled button.sidebar-button, treeview.check:backdrop:checked:disabled headerbar button.titlebutton, headerbar treeview.check:backdrop:checked:disabled button.titlebutton, - treeview.check:backdrop:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.check:backdrop:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.check:backdrop:checked:disabled:selected, iconview treeview.check:backdrop:checked:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-checkbox-checked-backdrop-insensitive.png"), url("assets/selected-checkbox-checked-backdrop-insensitive@2.png")); } - -treeview.radio { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked.png"), url("assets/radio-unchecked@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio button.flat, treeview.radio notebook > header > tabs > arrow, treeview.radio button.sidebar-button, treeview.radio headerbar button.titlebutton, headerbar treeview.radio button.titlebutton, - treeview.radio .titlebar button.titlebutton, - .titlebar treeview.radio button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:selected, iconview treeview.radio:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-unchecked.png"), url("assets/selected-radio-unchecked@2.png")); } - -treeview.radio:hover { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-hover.png"), url("assets/radio-unchecked-hover@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:hover button.flat, treeview.radio:hover notebook > header > tabs > arrow, treeview.radio:hover button.sidebar-button, treeview.radio:hover headerbar button.titlebutton, headerbar treeview.radio:hover button.titlebutton, - treeview.radio:hover .titlebar button.titlebutton, - .titlebar treeview.radio:hover button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:hover:selected, iconview treeview.radio:hover:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-unchecked-hover.png"), url("assets/selected-radio-unchecked-hover@2.png")); } - -treeview.radio:active { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-active.png"), url("assets/radio-unchecked-active@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:active button.flat, treeview.radio:active notebook > header > tabs > arrow, treeview.radio:active button.sidebar-button, treeview.radio:active headerbar button.titlebutton, headerbar treeview.radio:active button.titlebutton, - treeview.radio:active .titlebar button.titlebutton, - .titlebar treeview.radio:active button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:active:selected, iconview treeview.radio:active:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-unchecked-active.png"), url("assets/selected-radio-unchecked-active@2.png")); } - -treeview.radio:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-insensitive.png"), url("assets/radio-unchecked-insensitive@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:disabled button.flat, treeview.radio:disabled notebook > header > tabs > arrow, treeview.radio:disabled button.sidebar-button, treeview.radio:disabled headerbar button.titlebutton, headerbar treeview.radio:disabled button.titlebutton, - treeview.radio:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:disabled:selected, iconview treeview.radio:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-unchecked-insensitive.png"), url("assets/selected-radio-unchecked-insensitive@2.png")); } - -treeview.radio:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-backdrop.png"), url("assets/radio-unchecked-backdrop@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop button.flat, treeview.radio:backdrop notebook > header > tabs > arrow, treeview.radio:backdrop button.sidebar-button, treeview.radio:backdrop headerbar button.titlebutton, headerbar treeview.radio:backdrop button.titlebutton, - treeview.radio:backdrop .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:backdrop:selected, iconview treeview.radio:backdrop:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-unchecked-backdrop.png"), url("assets/selected-radio-unchecked-backdrop@2.png")); } - -treeview.radio:backdrop:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-unchecked-backdrop-insensitive.png"), url("assets/radio-unchecked-backdrop-insensitive@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop:disabled button.flat, treeview.radio:backdrop:disabled notebook > header > tabs > arrow, treeview.radio:backdrop:disabled button.sidebar-button, treeview.radio:backdrop:disabled headerbar button.titlebutton, headerbar treeview.radio:backdrop:disabled button.titlebutton, - treeview.radio:backdrop:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:backdrop:disabled:selected, iconview treeview.radio:backdrop:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-unchecked-backdrop-insensitive.png"), url("assets/selected-radio-unchecked-backdrop-insensitive@2.png")); } - -treeview.radio:indeterminate { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.png"), url("assets/radio-mixed@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:indeterminate button.flat, treeview.radio:indeterminate notebook > header > tabs > arrow, treeview.radio:indeterminate button.sidebar-button, treeview.radio:indeterminate headerbar button.titlebutton, headerbar treeview.radio:indeterminate button.titlebutton, - treeview.radio:indeterminate .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:indeterminate:selected, iconview treeview.radio:indeterminate:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-mixed.png"), url("assets/selected-radio-mixed@2.png")); } - -treeview.radio:indeterminate:hover { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-hover.png"), url("assets/radio-mixed-hover@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:indeterminate:hover button.flat, treeview.radio:indeterminate:hover notebook > header > tabs > arrow, treeview.radio:indeterminate:hover button.sidebar-button, treeview.radio:indeterminate:hover headerbar button.titlebutton, headerbar treeview.radio:indeterminate:hover button.titlebutton, - treeview.radio:indeterminate:hover .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:hover button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:indeterminate:hover:selected, iconview treeview.radio:indeterminate:hover:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-mixed-hover.png"), url("assets/selected-radio-mixed-hover@2.png")); } - -treeview.radio:indeterminate:selected { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-active.png"), url("assets/radio-mixed-active@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:indeterminate:selected button.flat, treeview.radio:indeterminate:selected notebook > header > tabs > arrow, treeview.radio:indeterminate:selected button.sidebar-button, treeview.radio:indeterminate:selected headerbar button.titlebutton, headerbar treeview.radio:indeterminate:selected button.titlebutton, - treeview.radio:indeterminate:selected .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:selected button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:indeterminate:selected:selected, iconview treeview.radio:indeterminate:selected:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-mixed-active.png"), url("assets/selected-radio-mixed-active@2.png")); } - -treeview.radio:indeterminate:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-backdrop.png"), url("assets/radio-mixed-backdrop@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:indeterminate:backdrop button.flat, treeview.radio:indeterminate:backdrop notebook > header > tabs > arrow, treeview.radio:indeterminate:backdrop button.sidebar-button, treeview.radio:indeterminate:backdrop headerbar button.titlebutton, headerbar treeview.radio:indeterminate:backdrop button.titlebutton, - treeview.radio:indeterminate:backdrop .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:indeterminate:backdrop:selected, iconview treeview.radio:indeterminate:backdrop:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-mixed-backdrop.png"), url("assets/selected-radio-mixed-backdrop@2.png")); } - -treeview.radio:indeterminate:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-insensitive.png"), url("assets/radio-mixed-insensitive@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:indeterminate:disabled button.flat, treeview.radio:indeterminate:disabled notebook > header > tabs > arrow, treeview.radio:indeterminate:disabled button.sidebar-button, treeview.radio:indeterminate:disabled headerbar button.titlebutton, headerbar treeview.radio:indeterminate:disabled button.titlebutton, - treeview.radio:indeterminate:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:indeterminate:disabled:selected, iconview treeview.radio:indeterminate:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-mixed-insensitive.png"), url("assets/selected-radio-mixed-insensitive@2.png")); } - -treeview.radio:indeterminate:disabled:backdrop { - -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-backdrop-insensitive.png"), url("assets/radio-mixed-backdrop-insensitive@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:indeterminate:disabled:backdrop button.flat, treeview.radio:indeterminate:disabled:backdrop notebook > header > tabs > arrow, treeview.radio:indeterminate:disabled:backdrop button.sidebar-button, treeview.radio:indeterminate:disabled:backdrop headerbar button.titlebutton, headerbar treeview.radio:indeterminate:disabled:backdrop button.titlebutton, - treeview.radio:indeterminate:disabled:backdrop .titlebar button.titlebutton, - .titlebar treeview.radio:indeterminate:disabled:backdrop button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:indeterminate:disabled:backdrop:selected, iconview treeview.radio:indeterminate:disabled:backdrop:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-mixed-backdrop-insensitive.png"), url("assets/selected-radio-mixed-backdrop-insensitive@2.png")); } - -treeview.radio:checked { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked.png"), url("assets/radio-checked@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:checked button.flat, treeview.radio:checked notebook > header > tabs > arrow, treeview.radio:checked button.sidebar-button, treeview.radio:checked headerbar button.titlebutton, headerbar treeview.radio:checked button.titlebutton, - treeview.radio:checked .titlebar button.titlebutton, - .titlebar treeview.radio:checked button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:checked:selected, iconview treeview.radio:checked:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-checked.png"), url("assets/selected-radio-checked@2.png")); } - -treeview.radio:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-insensitive.png"), url("assets/radio-checked-insensitive@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:checked:disabled button.flat, treeview.radio:checked:disabled notebook > header > tabs > arrow, treeview.radio:checked:disabled button.sidebar-button, treeview.radio:checked:disabled headerbar button.titlebutton, headerbar treeview.radio:checked:disabled button.titlebutton, - treeview.radio:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:checked:disabled:selected, iconview treeview.radio:checked:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-checked-insensitive.png"), url("assets/selected-radio-checked-insensitive@2.png")); } - -treeview.radio:checked:hover { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-hover.png"), url("assets/radio-checked-hover@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:checked:hover button.flat, treeview.radio:checked:hover notebook > header > tabs > arrow, treeview.radio:checked:hover button.sidebar-button, treeview.radio:checked:hover headerbar button.titlebutton, headerbar treeview.radio:checked:hover button.titlebutton, - treeview.radio:checked:hover .titlebar button.titlebutton, - .titlebar treeview.radio:checked:hover button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:checked:hover:selected, iconview treeview.radio:checked:hover:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-checked-hover.png"), url("assets/selected-radio-checked-hover@2.png")); } - -treeview.radio:checked:active { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-active.png"), url("assets/radio-checked-active@2.png")); - -gtk-icon-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } - treeview.radio:checked:active button.flat, treeview.radio:checked:active notebook > header > tabs > arrow, treeview.radio:checked:active button.sidebar-button, treeview.radio:checked:active headerbar button.titlebutton, headerbar treeview.radio:checked:active button.titlebutton, - treeview.radio:checked:active .titlebar button.titlebutton, - .titlebar treeview.radio:checked:active button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:checked:active:selected, iconview treeview.radio:checked:active:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-checked-active.png"), url("assets/selected-radio-checked-active@2.png")); } - -treeview.radio:backdrop:checked { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-backdrop.png"), url("assets/radio-checked-backdrop@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop:checked button.flat, treeview.radio:backdrop:checked notebook > header > tabs > arrow, treeview.radio:backdrop:checked button.sidebar-button, treeview.radio:backdrop:checked headerbar button.titlebutton, headerbar treeview.radio:backdrop:checked button.titlebutton, - treeview.radio:backdrop:checked .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop:checked button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:backdrop:checked:selected, iconview treeview.radio:backdrop:checked:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-checked-backdrop.png"), url("assets/selected-radio-checked-backdrop@2.png")); } - -treeview.radio:backdrop:checked:disabled { - -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-backdrop-insensitive.png"), url("assets/radio-checked-backdrop-insensitive@2.png")); - -gtk-icon-shadow: none; } - treeview.radio:backdrop:checked:disabled button.flat, treeview.radio:backdrop:checked:disabled notebook > header > tabs > arrow, treeview.radio:backdrop:checked:disabled button.sidebar-button, treeview.radio:backdrop:checked:disabled headerbar button.titlebutton, headerbar treeview.radio:backdrop:checked:disabled button.titlebutton, - treeview.radio:backdrop:checked:disabled .titlebar button.titlebutton, - .titlebar treeview.radio:backdrop:checked:disabled button.titlebutton { - -gtk-icon-shadow: none; } - -.view treeview.radio:backdrop:checked:disabled:selected, iconview treeview.radio:backdrop:checked:disabled:selected { - -gtk-icon-source: -gtk-scaled(url("assets/selected-radio-checked-backdrop-insensitive.png"), url("assets/selected-radio-checked-backdrop-insensitive@2.png")); } - -.view.check, iconview.check, .view.radio, iconview.radio, -row .check, row .radio { - -gtk-icon-shadow: none; } - .view.check:selected, iconview.check:selected, .view.check:hover, iconview.check:hover, .view.radio:selected, iconview.radio:selected, .view.radio:hover, iconview.radio:hover, - row .check:selected, - row .check:hover, row .radio:selected, row .radio:hover { - -gtk-icon-shadow: none; } - .view.content-view.check:not(list), iconview.content-view.check:not(list) { -gtk-icon-shadow: none; -gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png")); @@ -3045,17 +2641,23 @@ radio { border-color: currentColor; animation: none; } +treeview.view check:selected:focus:disabled, treeview.view check:selected:focus, treeview.view check:selected:backdrop:disabled, treeview.view check:selected:backdrop, treeview.view check:selected:disabled, treeview.view check:selected, check { border-radius: 3px; } + treeview.view check:checked:selected, check:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")), -gtk-recolor(url("assets/check-symbolic.symbolic.png"))); } + treeview.view check:indeterminate:selected, check:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); } +treeview.view radio:selected:focus:disabled, treeview.view radio:selected:focus, treeview.view radio:selected:backdrop:disabled, treeview.view radio:selected:backdrop, treeview.view radio:selected:disabled, treeview.view radio:selected, radio { border-radius: 100%; } + treeview.view radio:checked:selected, radio:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")), -gtk-recolor(url("assets/bullet-symbolic.symbolic.png"))); } + treeview.view radio:indeterminate:selected, radio:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); } @@ -3089,6 +2691,49 @@ menu menuitem check:indeterminate:checked:active, menu menuitem radio:indeterminate:checked { animation: none; } +treeview.view check:selected:focus:disabled, treeview.view check:selected:focus, treeview.view check:selected:backdrop:disabled, treeview.view check:selected:backdrop, treeview.view check:selected:disabled, treeview.view check:selected { + border-color: #184472; } + +treeview.view radio:selected:focus:disabled, treeview.view radio:selected:focus, treeview.view radio:selected:backdrop:disabled, treeview.view radio:selected:backdrop, treeview.view radio:selected:disabled, treeview.view radio:selected { + border-color: #184472; } + +treeview.view check:dir(rtl):selected:focus, treeview.view check:dir(rtl):selected:hover, treeview.view check:dir(rtl):selected, treeview.view check:dir(rtl):focus, treeview.view check:dir(rtl):hover, treeview.view check:dir(rtl), treeview.view check:dir(ltr):selected:focus, treeview.view check:dir(ltr):selected:hover, treeview.view check:dir(ltr):selected, treeview.view check:dir(ltr):focus, treeview.view check:dir(ltr):hover, treeview.view check:dir(ltr), +treeview.view radio:dir(rtl):selected:focus, +treeview.view radio:dir(rtl):selected:hover, +treeview.view radio:dir(rtl):selected, +treeview.view radio:dir(rtl):focus, +treeview.view radio:dir(rtl):hover, +treeview.view radio:dir(rtl), +treeview.view radio:dir(ltr):selected:focus, +treeview.view radio:dir(ltr):selected:hover, +treeview.view radio:dir(ltr):selected, +treeview.view radio:dir(ltr):focus, +treeview.view radio:dir(ltr):hover, +treeview.view radio:dir(ltr) { + color: #2e3436; } +treeview.view check:dir(rtl):selected:backdrop:hover, treeview.view check:dir(rtl):selected:backdrop, treeview.view check:dir(rtl):backdrop:hover, treeview.view check:dir(rtl):backdrop, treeview.view check:dir(ltr):selected:backdrop:hover, treeview.view check:dir(ltr):selected:backdrop, treeview.view check:dir(ltr):backdrop:hover, treeview.view check:dir(ltr):backdrop, +treeview.view radio:dir(rtl):selected:backdrop:hover, +treeview.view radio:dir(rtl):selected:backdrop, +treeview.view radio:dir(rtl):backdrop:hover, +treeview.view radio:dir(rtl):backdrop, +treeview.view radio:dir(ltr):selected:backdrop:hover, +treeview.view radio:dir(ltr):selected:backdrop, +treeview.view radio:dir(ltr):backdrop:hover, +treeview.view radio:dir(ltr):backdrop { + color: #8b8e8f; } +treeview.view check:dir(rtl):selected:backdrop:disabled, treeview.view check:dir(rtl):backdrop:disabled, treeview.view check:dir(ltr):selected:backdrop:disabled, treeview.view check:dir(ltr):backdrop:disabled, +treeview.view radio:dir(rtl):selected:backdrop:disabled, +treeview.view radio:dir(rtl):backdrop:disabled, +treeview.view radio:dir(ltr):selected:backdrop:disabled, +treeview.view radio:dir(ltr):backdrop:disabled { + color: #c3c3c0; } +treeview.view check:dir(rtl):selected:disabled, treeview.view check:dir(rtl):disabled, treeview.view check:dir(ltr):selected:disabled, treeview.view check:dir(ltr):disabled, +treeview.view radio:dir(rtl):selected:disabled, +treeview.view radio:dir(rtl):disabled, +treeview.view radio:dir(ltr):selected:disabled, +treeview.view radio:dir(ltr):disabled { + color: #8b8e8f; } + /************ * GtkScale * ************/