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.18/sass/_common.scss | 7 +++++++ common/gtk-3.0/3.18/sass/_transparent_widgets.scss | 2 ++ 2 files changed, 9 insertions(+) (limited to 'common/gtk-3.0/3.18/sass') diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index 0f28be6..86545a1 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -2165,6 +2165,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.18/sass/_transparent_widgets.scss b/common/gtk-3.0/3.18/sass/_transparent_widgets.scss index 9518e8b..92c1b59 100644 --- a/common/gtk-3.0/3.18/sass/_transparent_widgets.scss +++ b/common/gtk-3.0/3.18/sass/_transparent_widgets.scss @@ -125,6 +125,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