From 7e1ecdb9c7ecc1d38a5ae052dc88efcb3a3a46e2 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 2 Oct 2015 13:38:50 +0200 Subject: add dark checkboxes to filechooser --- common/gtk-3.0/3.14/sass/_common.scss | 7 +++++++ common/gtk-3.0/3.14/sass/_transparent_widgets.scss | 2 ++ 2 files changed, 9 insertions(+) (limited to 'common/gtk-3.0/3.14/sass') diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index fee7076..8eeb0eb 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -1956,6 +1956,13 @@ GtkSwitch { -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}#{$asset_suffix}.png"), url("assets/#{$a}#{$as}#{$asset_suffix}@2.png")); } + + %osd_check_radio { + .#{$w}#{$s} { + -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}-dark.png"), + url("assets/#{$a}#{$as}-dark@2.png")); + } + } // the borders of checks and radios are // too similar in luminosity to the selected background color, hence // we need special casing. diff --git a/common/gtk-3.0/3.14/sass/_transparent_widgets.scss b/common/gtk-3.0/3.14/sass/_transparent_widgets.scss index 47dc6a1..c97956c 100644 --- a/common/gtk-3.0/3.14/sass/_transparent_widgets.scss +++ b/common/gtk-3.0/3.14/sass/_transparent_widgets.scss @@ -83,6 +83,8 @@ GtkFileChooserDialog { .button { @extend %dark_sidebar_button; } .entry { @extend %dark_sidebar_entry; } + @extend %osd_check_radio; + GtkLabel, GtkComboBox { color: $dark_sidebar_fg; } } } -- cgit v1.2.3