From e6cc72279d445cd5c55819dcc8f259ca3248ff30 Mon Sep 17 00:00:00 2001 From: actionless Date: Fri, 25 Mar 2016 12:55:15 +0100 Subject: [PATCH] fix(gtk3): progressbar inside treeview --- gtk-3.0/scss/widgets/_view.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gtk-3.0/scss/widgets/_view.scss b/gtk-3.0/scss/widgets/_view.scss index d868914..82631aa 100644 --- a/gtk-3.0/scss/widgets/_view.scss +++ b/gtk-3.0/scss/widgets/_view.scss @@ -126,6 +126,31 @@ background-color: $base_color; background-image: none; } + + .progressbar, + .progressbar:selected, + .progressbar:selected:focus { + @include linear-gradient($selected_bg_color); + border: 1px solid mix($selected_bg_color, $selected_fg_color, .2); + } + + .trough, + .trough:selected, + .trough:selected:focus { + background-color: mix($bg_color, $base_color, .5); + border: 1px solid $bg_color; + } + + .progressbar:insensitive, + .progressbar:insensitive:insensitive { + @include linear-gradient($bg_color); + border-color: $bg_color; + } + + .trough:insensitive, + .trough:insensitive:insensitive { + background-color: $base_color; + } } }