annotate gtk-3.20/gtk.scss @ 56:229f052fe6b6

Change base colour to brighten default terminal colours
author IBBoard <dev@ibboard.co.uk>
date Mon, 10 Apr 2017 16:17:30 +0100
parents 7fbabe5abef0
children 95d826ffdd2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // General guidelines:
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // - very unlikely you want to edit something else than _common.scss
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 // - keep the number of defined colors to a minimum, use the color blending functions if
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 // you need a subtle shade
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 // - if you need to inverse a color function use the @if directive to match for dark $variant
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 /// TODO:
53
12f43097192d Update comments
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
9 /// * Firefox GTK3 defaults to grey page background (".background" CSS rule)
55
7fbabe5abef0 Add reference for Firefox page background bug
IBBoard <dev@ibboard.co.uk>
parents: 54
diff changeset
10 /// - https://bugzilla.mozilla.org/show_bug.cgi?id=1268618
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 $variant: 'light';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 // Import the default colours
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 @import 'colors';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 // Override some colours
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 $base_color: #C6C6C6;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 $bg_color: #C6C6C6;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 $fg_color: #161616;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 $selected_bg_color: #5E7F3E;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 $selected_borders_color: darken($selected_bg_color, 30%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 $borders_color: darken($bg_color,30%);
41
d49665775e8b Try incorporating 3.22 into 3.20 for multi-version compat without separate folders
IBBoard <dev@ibboard.co.uk>
parents: 39
diff changeset
25 $alt_borders_color: if($variant == 'light', darken($bg_color, 35%), darken($bg_color, 17%));
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 $borders_edge: transparentize(lighten($bg_color, 30%), 0.9);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 $dark_fill: mix($borders_color, $bg_color, 35%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 $link_color: darken($selected_bg_color,10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 $link_visited_color: darken($selected_bg_color,20%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 $top_hilight: $borders_edge;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 $popover_bg_color: $bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 $popover_hover_color: lighten($bg_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 $menu_color: $bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 $scrollbar_bg_color: darken($bg_color, 7%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 $sidebar_bg_color: darken($bg_color,5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 //insensitive state derived colors
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 $insensitive_bg_color: mix($bg_color, $base_color, 60%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 $insensitive_borders_color: $borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 //colors for the backdrop state, derived from the main colors.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 $backdrop_base_color: darken($base_color, 1%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 $backdrop_text_color: mix($text_color, $backdrop_base_color, 80%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 $backdrop_bg_color: $bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 $backdrop_insensitive_color: darken($backdrop_bg_color, 15%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 $backdrop_selected_fg_color: $selected_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 $backdrop_selected_bg_color: desaturate($selected_bg_color,100%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 $backdrop_sidebar_bg_color: darken($backdrop_bg_color,5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 $backdrop_menu_color: $backdrop_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56
54
4bc0f6c0cf82 Define colours to fix scrollbar slider colouring
IBBoard <dev@ibboard.co.uk>
parents: 53
diff changeset
57 $scrollbar_slider_active_color: $selected_bg_color;
4bc0f6c0cf82 Define colours to fix scrollbar slider colouring
IBBoard <dev@ibboard.co.uk>
parents: 53
diff changeset
58 $backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, 50%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 // Add our own colours
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 $text_input_color: #F0F0F0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 $backdrop_text_input_color: darken($text_input_color, 1%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 $bg_dark_color: #3D3D3D;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 $fg_dark_color: #dddddd;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 $insensitive_dark_fg_color: mix($fg_dark_color, $bg_dark_color, 50%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 $titlebar_highlight: #4c4c4c;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 $header_button_raised_gradient_color_a: lighten($bg_dark_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 $header_button_checked: darken($bg_dark_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 $header_button_border: darken($bg_dark_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 $header_button_border_unfocused: darken($bg_dark_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 $menu_fg_dark_color: #cccccc;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 $focused_entry_outer: transparentize($selected_bg_color, 0.45);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 $bg_gradient_1: lighten($bg_color, 20%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 $bg_gradient_2: lighten($bg_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 $bg_gradient_3: lighten($bg_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 $bg_prelight: $bg_gradient_1;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 $selected_bg_color_hover: lighten($selected_bg_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 $selected_bg_color_shade: darken($selected_bg_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 $selected_bg_border: darken($selected_bg_color, 30%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 $title_fg: #fff;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 $header_separator: lighten($bg_dark_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 $fg_color_emphasis: darken($fg_color, 50%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 $fg_color_de_emphasis: lighten($fg_color, 20%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 $unfocused_fg_color: $backdrop_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 $unfocused_insensitive_fg_color: lighten($insensitive_fg_color, 20%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 $transparent_outline: #383436;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 // Import the default widgets
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 @import 'drawing';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 // Style everything
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 @import 'common';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 //Export default colours
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 @import 'colors-public';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 //Override some exported colours
56
229f052fe6b6 Change base colour to brighten default terminal colours
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
98 @define-color theme_base_color #eeeeee;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 @define-color wm_title #{"" + $bg_dark_color};
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 @define-color wm_unfocused_title #{"" + $bg_dark_color};
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 @define-color wm_highlight shade(#{"" + $bg_dark_color}, 1.03);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 @define-color wm_borders_edge #{"" + $bg_dark_color};
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 @define-color wm_bg_a shade(#{$bg_dark_color}, 1.2);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 @define-color wm_bg_b #{$bg_dark_color};
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 @define-color wm_button_hover_color_a shade(#{$bg_dark_color}, 1.3);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 @define-color wm_button_hover_color_b #{$bg_dark_color};
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 @define-color wm_button_active_color_a shade(#{$bg_dark_color}, 0.85);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 @define-color wm_button_active_color_b shade(#{$bg_dark_color}, 0.89);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 @define-color wm_button_active_color_c shade(#{$bg_dark_color}, 0.9);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113
46
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
114
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
115
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
116
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
117
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
118
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
119 /**************************
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
120 * *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
121 * Adwaita Dark Overrides *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
122 * *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
123 * And now do our own *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
124 * overrides of styling! *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
125 * *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
126 **************************/
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
127
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
128
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
129
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
130
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
131 *:disabled {
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
132 -gtk-icon-effect: highlight;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 /***************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136 * Header bars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 ***************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 %titlebar,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 color: $title_fg;
39
e6a354b1be3f Tweak header to remove dark-light-dark gradient in header bar
IBBoard <dev@ibboard.co.uk>
parents: 35
diff changeset
141 background-image: linear-gradient(to bottom, lighten($bg_dark_color, 3%) 0%, $bg_dark_color 45%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 border-color: shade($bg_dark_color, 0.90);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 border-bottom-width: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 box-shadow: inset 0 2px $titlebar_highlight, inset 0 1px $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 background-color: $bg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 color: $fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 box-shadow: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 background-color: $bg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
152 border-bottom-width: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153 border-color: darken($bg_dark_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 .title {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 color: $title_fg;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 .subtitle {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
161 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 .tiled &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 .maximized & { &:backdrop, & { }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 &.default-decoration {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 button.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
168 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 spinbutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 separator,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
178 switch {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
182 .background:not(.tiled):not(.maximized) .titlebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
183 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
185 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
186
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 window:not(.tiled):not(.maximized) separator:first-child + &, // tackles the paned container case
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
189 window:not(.tiled):not(.maximized) &:first-child { &:backdrop, & { }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
190
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
191 window:not(.tiled):not(.maximized) &:last-child { &:backdrop, & { }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
192 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
193
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
194 .titlebar:not(headerbar) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
195 window.csd > & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
196 // in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 background-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
199 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
200 border-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
201 border-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
202 box-shadow: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
203 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
204
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
205 > separator { background-color: $borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
206
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
207 @extend %titlebar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 headerbar button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 &, &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
212 &, &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213 &, & label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
214 color: $fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
215 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
216 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
217 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
218 }
48
ad922cd4c540 Fix dark buttons in "selection mode" header - now selected colour
IBBoard <dev@ibboard.co.uk>
parents: 47
diff changeset
219 %titlebar headerbar:not(.selection-mode),
ad922cd4c540 Fix dark buttons in "selection mode" header - now selected colour
IBBoard <dev@ibboard.co.uk>
parents: 47
diff changeset
220 headerbar:not(.selection-mode) {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 color: $fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 background-image: linear-gradient(to bottom, $header_button_raised_gradient_color_a, $bg_dark_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
225 -gtk-icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 outline-color: $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
229
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
230 &.flat, &.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
231 color: $fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
232 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 background-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 border-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 box-shadow: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 text-shadow: none;
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
237 -gtk-icon-shadow: none;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238
35
04dc05eaaa71 Fix background of menu button in top-left of title bar
IBBoard <dev@ibboard.co.uk>
parents: 34
diff changeset
239 &:hover, &:active, &:backdrop, &:checked {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240 color: $title_fg;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241 }
26
156b2c122b1f Remove border from flat/title buttons when in ":backdrop"
IBBoard <dev@ibboard.co.uk>
parents: 25
diff changeset
242 &:backdrop {
156b2c122b1f Remove border from flat/title buttons when in ":backdrop"
IBBoard <dev@ibboard.co.uk>
parents: 25
diff changeset
243 border-color: transparent;
156b2c122b1f Remove border from flat/title buttons when in ":backdrop"
IBBoard <dev@ibboard.co.uk>
parents: 25
diff changeset
244 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
245 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
247 &:hover, &.titlebutton:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 color: shade($fg_dark_color, 1.3);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
249 outline-color: $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
250 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
251 background-image: linear-gradient(to bottom, shade($header_button_raised_gradient_color_a, 1.1), shade($bg_dark_color, 1.1));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
252 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
253 -gtk-icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
254 box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
255 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
256
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 &:active,
35
04dc05eaaa71 Fix background of menu button in top-left of title bar
IBBoard <dev@ibboard.co.uk>
parents: 34
diff changeset
258 &:checked, &.titlebutton:active, &.titlebutton:active:backdrop, &.titlebutton:checked, &.titlebutton:checked:backdrop {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
259 color: $title_fg;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 outline-color: $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
261 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
262 background-image: linear-gradient(to bottom, $bg_dark_color, $header_button_checked);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
263 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
264 -gtk-icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
265 box-shadow: inset 0 1px transparentize($header_button_raised_gradient_color_a, 0.7), 0 1px $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
266 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
267
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
268 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
269 color: $fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
270 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271 background-color: $bg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
273 box-shadow:none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
274 text-shadow: none;
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
275 -gtk-icon-shadow: none;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
276
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
277 transition: $backdrop_transition;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
278 -gtk-icon-effect: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
279
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
280 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
281 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
282 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
283 background-color: $header_button_checked;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
284 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
285 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
286
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
287 &:disabled, &.suggested-action:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
288 color: $insensitive_dark_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
289 background-color: $bg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
290 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
291 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
292 box-shadow: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
293
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
294 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
295 &:checked { }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
296 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
297 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
298
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
299 &.flat { &:backdrop, &:disabled, &:backdrop:disabled { }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
300
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
301 &:disabled, &.suggested-action:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
302 color: $insensitive_dark_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
303 background-color: $bg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
304 background-image: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
305 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
306 box-shadow: 0 1px $header_button_raised_gradient_color_a;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
307 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
308
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
309 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
310 color: $drop_target_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
311 border-color: $drop_target_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
312 box-shadow: inset 0 0 0 1px $drop_target_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
313 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
314
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
315 &.suggested-action:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
316 border-color: $header_button_border;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
317 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
318
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
319 &.suggested-action label { color: $selected_fg_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
320 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
321 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
322
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
323 column-header button, column-header headerbar button.titlebutton, headerbar column-header button.titlebutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
324 column-header .titlebar button.titlebutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
325 .titlebar column-header button.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
326 color: $fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
327 background-color: $bg_gradient_2;}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
328 column-header button:hover, column-header headerbar button.titlebutton:hover, headerbar column-header button.titlebutton:hover,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
329 column-header .titlebar button.titlebutton:hover,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
330 .titlebar column-header button.titlebutton:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
331 color: $fg_color_emphasis; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
332
41
d49665775e8b Try incorporating 3.22 into 3.20 for multi-version compat without separate folders
IBBoard <dev@ibboard.co.uk>
parents: 39
diff changeset
333 %entry,
d49665775e8b Try incorporating 3.22 into 3.20 for multi-version compat without separate folders
IBBoard <dev@ibboard.co.uk>
parents: 39
diff changeset
334 entry {
47
d1b3ef174846 Remove deprecated use of linear-gradient with one colour
IBBoard <dev@ibboard.co.uk>
parents: 46
diff changeset
335 background-color: $text_input_color;
d1b3ef174846 Remove deprecated use of linear-gradient with one colour
IBBoard <dev@ibboard.co.uk>
parents: 46
diff changeset
336 &:disabled { background-color: $insensitive_bg_color; }
d1b3ef174846 Remove deprecated use of linear-gradient with one colour
IBBoard <dev@ibboard.co.uk>
parents: 46
diff changeset
337 &:backdrop { background-color: $backdrop_text_input_color; }
d1b3ef174846 Remove deprecated use of linear-gradient with one colour
IBBoard <dev@ibboard.co.uk>
parents: 46
diff changeset
338 &:backdrop:disabled { background-color: $insensitive_bg_color; }
41
d49665775e8b Try incorporating 3.22 into 3.20 for multi-version compat without separate folders
IBBoard <dev@ibboard.co.uk>
parents: 39
diff changeset
339 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
340 spinbutton:not(.vertical) button:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
341 background-color: transparentize($bg_color,0.6);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
342 border-top-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
343 border-top-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
344 border-top-width:1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
345 border-bottom-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
346 border-bottom-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
347 border-bottom-width:1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
348 background-clip: padding-box;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
349 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
350
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
351 .view, .view text, iconview, iconview text, textview, textview text, list, list-row, list-row.button, {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
352 color: $text_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
353 background-color: $text_input_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
354 &:backdrop, &:backdrop:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
355 color: $backdrop_text_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
356 background-color: $backdrop_text_input_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
357 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
358 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
359 color: $selected_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
360 background-color: $selected_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
361 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
362 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
363 background-color: mix($fg_color, $text_input_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
364 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
365 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
366 box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
367 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
368 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
369 &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
370 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
371 background-color: mix($fg_color, $selected_bg_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
372 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
373 &:backdrop { background-color: $selected_bg_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
374 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
375 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
376
42
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
377 .sidebar list {
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
378 background: transparent;
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
379 }
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
380
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
381 // The path bar box in Open dialogs is classed as a view, but we don't
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
382 // want it that light
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
383 #pathbarbox {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
384 background-color: $bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
385 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
386 list-row {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
387 // Set sidebar items back to something reasonable
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
388 &.sidebar-item {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
389 background-color: $sidebar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
390 border-color: $borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
391 &:backdrop, &:backdrop:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
392 background-color: $backdrop_sidebar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
393 border-color: $backdrop_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
394 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
395 // let's take care of background colors
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
396 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
397 background-color: mix($fg_color, $base_color, 5%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
398 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
399 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
400 box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
401 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
402 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
403 background-color: $selected_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
404 &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
405 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
406 background-color: mix($fg_color, $selected_bg_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
407 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
408 &:backdrop { background-color: $selected_bg_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
409 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
410 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
411 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
412
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
413 /* Fudge the Nautilus icon view background colour in the only way that seems to work */
28
3ae6b747786b Make SCSS match last CSS change to fix Nautilus
IBBoard <dev@ibboard.co.uk>
parents: 26
diff changeset
414 .nautilus-window notebook > stack > box > grid { background-color: $text_input_color; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
415
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
416 /* And make the Nautilus places bar a bit darker, as it used to be */
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
417 placessidebar list {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
418 background-color: $sidebar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
419 border-color: $borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
420 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
421 background-color: $backdrop_sidebar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
422 border-color: $backdrop_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
423 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
424 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
425
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
426 // Fix the rubberband background after we gave lists and views a lighter background
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
427 .view.rubberband {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
428 background-color: transparentize($selected_bg_color,0.8);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
429 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
430 menubar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
431 background-color: $bg_dark_color;
52
90907f1c42b6 Remove fudge from menu styling to fix Firefox GTK3 tabs
IBBoard <dev@ibboard.co.uk>
parents: 50
diff changeset
432 color: $menu_fg_dark_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
433 box-shadow: inset 0 -1px transparentize(black, 0.9);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
434 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
435 background-color: $bg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
436 color: $menu_fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
437 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
438 }
33
389af1327aa1 Fix menu colour of top-level menu items on hover
IBBoard <dev@ibboard.co.uk>
parents: 32
diff changeset
439 menuitem:hover > label {
389af1327aa1 Fix menu colour of top-level menu items on hover
IBBoard <dev@ibboard.co.uk>
parents: 32
diff changeset
440 color: $selected_bg_color
389af1327aa1 Fix menu colour of top-level menu items on hover
IBBoard <dev@ibboard.co.uk>
parents: 32
diff changeset
441 }
29
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
442 // Make all menus dark - we mainly want the menu bar menus dark, but
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
443 // Firefox and other non-standard apps use those colours for their
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
444 // context menus as well, so be consistent.
30
78e21cea68af Fix context menus in some situations (seen in Corebird)
IBBoard <dev@ibboard.co.uk>
parents: 29
diff changeset
445 menu, .menu, .context-menu {
29
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
446 background-color: $bg_dark_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
447 color: $menu_fg_dark_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
448 border-color: $header_button_border;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
449 }
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
450 // Except combo box backgrounds. We want those to be grey, like the
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
451 // combobox itself
30
78e21cea68af Fix context menus in some situations (seen in Corebird)
IBBoard <dev@ibboard.co.uk>
parents: 29
diff changeset
452 popover.menu, #gtk-combobox-popup-menu {
29
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
453 background-color: $bg_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
454 color: $fg_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
455 }
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
456 // Top-level menu text needs to be tweaked to match dark menus
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
457 menubar, headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
458 & > menuitem {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
459 &, & label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
460 &:hover { //Seems like it :hover even with keyboard focus
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
461 color: $selected_bg_color
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
462 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
463 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
464 color: $menu_fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
465 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
466 & menuitem.check, & menuitem.radio {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
467 color: $fg_dark_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
468 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
469 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
470 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
471 }
25
cf107670260d Remove red border for debugging, which shows up in LibreOffice
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
472
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
473 .floating-bar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
474 opacity: 0.9;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
475 color: $text_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
476 background-color: $text_input_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
477 border: 1px solid $borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
478
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
479 @each $tb,$tb_corner in ('top','bottom'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
480 ('bottom','top') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
481 @each $lr,$lr_corner in ('left','right'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
482 ('right','left') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
483 &.#{$tb}.#{$lr} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
484 border-#{$tb_corner}-#{$lr_corner}-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
485 border-#{$tb}-width: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
486 border-#{$lr}-width: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
487 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
488 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
489 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
490 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
491
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
492 treeview.view header button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
493 &, &:hover, &:active, &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
494 &, &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
495 border-color: lighten($borders_color, 20%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
496 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
497 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
498 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
499
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
500 treeview.view header button:last-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
501 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
502 border-right-width: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
503 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
504 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
505
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
506 // Lighten selected tabs a bit to match other UI
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
507 notebook {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
508 > header {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
509 tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
510 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
511 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
512 border-color: $borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
513 background-color: $bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
514 &:hover { background-color: lighten($bg_color, 5%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
515 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
516 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
517
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
518 &:backdrop:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
519 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
520 background-color: $backdrop_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
521 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
522 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
523 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
524 }
50
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
525 }
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
526
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
527 // Import extra Nautilus CSS manually, because they only do this if
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
528 // you're using Adwaita -
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
529 // https://github.com/GNOME/nautilus/blob/gnome-3-24/src/nautilus-application.c#L1099-L1112
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
530 @import url("./nautilus.css");