comparison gtk-3.20/gtk.scss @ 54:4bc0f6c0cf82

Define colours to fix scrollbar slider colouring
author IBBoard <dev@ibboard.co.uk>
date Mon, 10 Apr 2017 15:45:48 +0100
parents 12f43097192d
children 7fbabe5abef0
comparison
equal deleted inserted replaced
53:12f43097192d 54:4bc0f6c0cf82
5 // - if you need to inverse a color function use the @if directive to match for dark $variant 5 // - if you need to inverse a color function use the @if directive to match for dark $variant
6 6
7 7
8 /// TODO: 8 /// TODO:
9 /// * Firefox GTK3 defaults to grey page background (".background" CSS rule) 9 /// * Firefox GTK3 defaults to grey page background (".background" CSS rule)
10 /// * Geany scrollbar disappears when unfocused
11 10
12 11
13 $variant: 'light'; 12 $variant: 'light';
14 13
15 // Import the default colours 14 // Import the default colours
52 $backdrop_borders_color: mix($borders_color, $bg_color, 90%); 51 $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
53 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%); 52 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
54 $backdrop_sidebar_bg_color: darken($backdrop_bg_color,5%); 53 $backdrop_sidebar_bg_color: darken($backdrop_bg_color,5%);
55 $backdrop_menu_color: $backdrop_bg_color; 54 $backdrop_menu_color: $backdrop_bg_color;
56 55
56 $scrollbar_slider_active_color: $selected_bg_color;
57 $backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, 50%);
57 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%); 58 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
58 59
59 60
60 // Add our own colours 61 // Add our own colours
61 $text_input_color: #F0F0F0; 62 $text_input_color: #F0F0F0;