annotate gtk-3.20/gtk.scss @ 98:9da64f7bb19c

Add support for GTK4 Includes `gtk-minimal.css`, which can be used to override Adwaita colours by running `ln -s ~/.themes/Adwaita-Dark-Green/gtk-4.4/gtk-minimal.css ~/.config/gtk-4.0/gtk.css`
author IBBoard <dev@ibboard.co.uk>
date Sat, 26 Mar 2022 20:03:44 +0000
parents e79c5676f972
children
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
60
342bda5df0af Add extra note after investigating Firefox page background issue
IBBoard <dev@ibboard.co.uk>
parents: 59
diff changeset
11 /// - Can't fudge this because Synapse uses the background colour and
342bda5df0af Add extra note after investigating Firefox page background issue
IBBoard <dev@ibboard.co.uk>
parents: 59
diff changeset
12 /// seems to create its own gradient from it
73
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
13 /// * LibreOffice button-menus (e.g. "More numbering" under bullet styles) have green-on-green
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
14 /// text on hover
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
15 ///
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
16 /// Unresolvable issues:
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
17 /// * Gnome Terminal uses #C6C6C6 for background
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
18 /// - This is because it uses @theme_base_color, and that is our base colour.
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
19 /// The only way to change it in the theme is to change the base colour, but
7a748463e21a Add more notes about minor issues
IBBoard <dev@ibboard.co.uk>
parents: 72
diff changeset
20 /// that would affect anything that relies on the base colour.
91
240e408b8c7f Update documentation for v1.0.6 release
IBBoard <dev@ibboard.co.uk>
parents: 87
diff changeset
21 /// * Nautilus pathbar style doesn't properly change from "in bar" to "no bar"
240e408b8c7f Update documentation for v1.0.6 release
IBBoard <dev@ibboard.co.uk>
parents: 87
diff changeset
22 /// when making the window wider. It needs an unfocus/focus cycle
240e408b8c7f Update documentation for v1.0.6 release
IBBoard <dev@ibboard.co.uk>
parents: 87
diff changeset
23 /// - This is an Adwaita/Nautilus problem and can be seen in the base theme
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 $variant: 'light';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 // 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
28 @import 'colors';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 // 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
31 $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
32 $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
33 $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
34 $selected_bg_color: #5E7F3E;
69
486bdc94db57 Don't darken selected border colour as much
IBBoard <dev@ibboard.co.uk>
parents: 67
diff changeset
35 $selected_borders_color: darken($selected_bg_color, 20%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 $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
37 $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
38 $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
39 $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
40 $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
41 $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
42 $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
43 $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
44 $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
45 $menu_color: $bg_color;
67
7091813fe00c Darken the "destructive" colour
IBBoard <dev@ibboard.co.uk>
parents: 63
diff changeset
46 $destructive_color: darken($destructive_color, 15%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 $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
49
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 $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
51
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 //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
53 $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
54 $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
55 $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
56
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 //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
58 $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
59 $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
60 $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
61 $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
62 $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
63 $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
64 $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
65 $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
66 $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
67 $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
68 $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
69
54
4bc0f6c0cf82 Define colours to fix scrollbar slider colouring
IBBoard <dev@ibboard.co.uk>
parents: 53
diff changeset
70 $scrollbar_slider_active_color: $selected_bg_color;
4bc0f6c0cf82 Define colours to fix scrollbar slider colouring
IBBoard <dev@ibboard.co.uk>
parents: 53
diff changeset
71 $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
72 $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
73
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 // 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
76 $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
77 $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
78 $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
79 $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
80 $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
81 $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
82 $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
83 $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
84 $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
85 $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
86 $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
87 $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
88 $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
89 $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
90 $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
91 $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
92 $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
93 $selected_bg_color_shade: darken($selected_bg_color, 10%);
69
486bdc94db57 Don't darken selected border colour as much
IBBoard <dev@ibboard.co.uk>
parents: 67
diff changeset
94 $selected_bg_border: darken($selected_bg_color, 20%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 $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
96 $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
97 $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
98 $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
99 $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
100 $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
101 $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
102
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 // 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
104 @import 'drawing';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 // Style everything
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 @import 'common';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 //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
108 @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
109
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 //Override some exported colours
67
7091813fe00c Darken the "destructive" colour
IBBoard <dev@ibboard.co.uk>
parents: 63
diff changeset
111 @define-color theme_base_color #{"" + $base_color};
95
f3009ca89a46 Fix exported colours and export dark ones
IBBoard <dev@ibboard.co.uk>
parents: 91
diff changeset
112 @define-color theme_fg_dark_color #{"" + $fg_dark_color};
f3009ca89a46 Fix exported colours and export dark ones
IBBoard <dev@ibboard.co.uk>
parents: 91
diff changeset
113 @define-color theme_bg_dark_color #{"" + $bg_dark_color};
f3009ca89a46 Fix exported colours and export dark ones
IBBoard <dev@ibboard.co.uk>
parents: 91
diff changeset
114 @define-color wm_title #{"" + $fg_dark_color};
f3009ca89a46 Fix exported colours and export dark ones
IBBoard <dev@ibboard.co.uk>
parents: 91
diff changeset
115 @define-color wm_unfocused_title #{"" + $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
116 @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
117 @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
118
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 @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
120 @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
121
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 @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
123 @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
124 @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
125 @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
126 @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
127
59
a2b67776d320 Fix Nautilus button pulsing
IBBoard <dev@ibboard.co.uk>
parents: 58
diff changeset
128 @define-color wm_button_border #{$header_button_border};
a2b67776d320 Fix Nautilus button pulsing
IBBoard <dev@ibboard.co.uk>
parents: 58
diff changeset
129
a2b67776d320 Fix Nautilus button pulsing
IBBoard <dev@ibboard.co.uk>
parents: 58
diff changeset
130 @define-color button_emphasis_a #{lighten($header_button_raised_gradient_color_a, 10%)};
a2b67776d320 Fix Nautilus button pulsing
IBBoard <dev@ibboard.co.uk>
parents: 58
diff changeset
131 @define-color button_emphasis_b #{lighten(mix($header_button_raised_gradient_color_a, $bg_dark_color, 50%), 10%)};
a2b67776d320 Fix Nautilus button pulsing
IBBoard <dev@ibboard.co.uk>
parents: 58
diff changeset
132 @define-color button_emphasis_c #{lighten($bg_dark_color, 10%)};
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133
46
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
134
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
135
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
136
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
137
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
138
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
139 /**************************
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
140 * *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
141 * Adwaita Dark Overrides *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
142 * *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
143 * And now do our own *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
144 * overrides of styling! *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
145 * *
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
146 **************************/
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
147
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
148
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
149
c60ad4cc19f7 Make start of overrides clearer
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
150
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
151 *:disabled {
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
152 -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
153 }
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 * Header bars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 ***************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 %titlebar,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 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
161 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
162 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
163 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
164 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
165 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
166
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
168 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
169 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
170 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
171 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
172 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
173 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
174 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 .title {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 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
178 }
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 .subtitle {
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
183 .tiled &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 .maximized & { &:backdrop, & { }}
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 &.default-decoration {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 button.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
189 }
77
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
190
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
191 label {
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
192 &, &:backdrop {
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
193 color: $fg_dark_color;
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
194 }
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
195 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
196 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
199 entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
200 spinbutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
201 separator,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
202 button {
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 switch {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
205 }
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208 .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
209 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
212
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
214 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
215 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
216
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
217 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
218 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
219
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
220 .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
221 window.csd > & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 // 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
223 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 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
225 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
226 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
227 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
228 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
229 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
230
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
231 > 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
232
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 @extend %titlebar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 headerbar button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 &, &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 &, &:checked {
77
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
239 &, & label, &label:backdrop {
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: $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
241 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 }
48
ad922cd4c540 Fix dark buttons in "selection mode" header - now selected colour
IBBoard <dev@ibboard.co.uk>
parents: 47
diff changeset
245 %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
246 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
247 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 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
249 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
250 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
251 -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
252 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
253 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
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 &.flat, &.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 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
258 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
259 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
260 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
261 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
262 text-shadow: none;
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
263 -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
264
35
04dc05eaaa71 Fix background of menu button in top-left of title bar
IBBoard <dev@ibboard.co.uk>
parents: 34
diff changeset
265 &: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
266 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
267 }
26
156b2c122b1f Remove border from flat/title buttons when in ":backdrop"
IBBoard <dev@ibboard.co.uk>
parents: 25
diff changeset
268 &:backdrop {
156b2c122b1f Remove border from flat/title buttons when in ":backdrop"
IBBoard <dev@ibboard.co.uk>
parents: 25
diff changeset
269 border-color: transparent;
156b2c122b1f Remove border from flat/title buttons when in ":backdrop"
IBBoard <dev@ibboard.co.uk>
parents: 25
diff changeset
270 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
273 &: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
274 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
275 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
276 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
277 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
278 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
279 -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
280 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
281 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
282
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
283 &:active,
35
04dc05eaaa71 Fix background of menu button in top-left of title bar
IBBoard <dev@ibboard.co.uk>
parents: 34
diff changeset
284 &: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
285 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
286 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
287 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
288 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
289 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
290 -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
291 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
292 }
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 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
295 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
296 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
297 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
298 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
299 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
300 text-shadow: none;
31
d8fb69db13bf Fix theme warnings/errors
IBBoard <dev@ibboard.co.uk>
parents: 30
diff changeset
301 -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
302
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
303 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
304 -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
305
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
306 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
307 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
308 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
309 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
310 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
311 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
312
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
313 &: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
314 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
315 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
316 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
317 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
318 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
319
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
320 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
321 &:checked { }
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 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
324
77
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
325 &.flat { &:backdrop, &:disabled, &:backdrop:disabled { } }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
326
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
327 &: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
328 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
329 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
330 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
331 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
332 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
333 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
334
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
335 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
336 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
337 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
338 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
339 }
58
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
340 &.suggested-action {
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
341 @include button(normal, $selected_bg_color, white);
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
342 &.flat {
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
343 @include button(undecorated);
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
344
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
345 color: $selected_bg_color; //FIXME: does it work on the dark variant?
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
346 }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
347
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
348 &:hover { @include button(hover, $selected_bg_color, white); }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
349
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
350 &:active,
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
351 &:checked { @include button(active, $selected_bg_color, white); }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
352
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
353 &:backdrop,
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
354 &.flat:backdrop {
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
355 @include button(backdrop, $selected_bg_color, white);
70
aa6a1c6e24ad Reduce jump between focus and backdrop for "suggested action" button
IBBoard <dev@ibboard.co.uk>
parents: 69
diff changeset
356 border-color: $selected_bg_border;
58
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
357
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
358 &:active,
61
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
359 &:checked { @include button(backdrop-active, $selected_bg_color, $insensitive_dark_fg_color); }
58
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
360
61
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
361 &:disabled, &:disabled label {
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
362 color: $insensitive_dark_fg_color;
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
363 background-color: $bg_dark_color;
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
364 background-image: none;
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
365 border-color: $header_button_border;
872653c403c4 Fix grey disabled "suggest-action" headerbar button when in backdrop
IBBoard <dev@ibboard.co.uk>
parents: 60
diff changeset
366 box-shadow: none;
58
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
367
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
368 &:active,
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
369 &:checked { @include button(backdrop-insensitive-active, $selected_bg_color, white); }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
370 }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
371 }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
372
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
373 &.flat {
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
374 &:backdrop, &:disabled, &:backdrop:disabled {
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
375 @include button(undecorated);
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
376
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
377 color: transparentize($selected_bg_color, 0.2);
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
378 }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
379 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
380 }
58
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
381 // &.suggested-action:backdrop {
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
382 // @include button(normal, $selected_bg_color, white);
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
383 // }
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
384 //
95d826ffdd2e Fix "suggested action" button colouring after recent changes
IBBoard <dev@ibboard.co.uk>
parents: 56
diff changeset
385 // &.suggested-action label { color: $selected_fg_color; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
386 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
387 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
388
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
389 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
390 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
391 .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
392 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
393 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
394 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
395 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
396 .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
397 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
398
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
399 %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
400 entry {
47
d1b3ef174846 Remove deprecated use of linear-gradient with one colour
IBBoard <dev@ibboard.co.uk>
parents: 46
diff changeset
401 background-color: $text_input_color;
d1b3ef174846 Remove deprecated use of linear-gradient with one colour
IBBoard <dev@ibboard.co.uk>
parents: 46
diff changeset
402 &: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
403 &: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
404 &: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
405 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
406 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
407 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
408 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
409 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
410 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
411 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
412 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
413 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
414 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
415 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
416
86
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
417 .view, .view text, iconview, iconview text, textview, textview text {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
418 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
419 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
420 &: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
421 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
422 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
423 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
424 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
425 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
426 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
427 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
428 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
429 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
430 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
431 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
432 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
433 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
434 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
435 &: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
436 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
437 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
438 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
439 &: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
440 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
441 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
442
86
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
443 list, list-row, list-row.button {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
444 background-color: darken($text_input_color, 6%);
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
445 &:backdrop, &:backdrop:hover {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
446 color: $backdrop_text_color;
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
447 background-color: darken($backdrop_text_input_color, 6%);
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
448 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
449 &:selected {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
450 color: $selected_fg_color;
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
451 background-color: $selected_bg_color;
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
452 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
453 &:hover {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
454 background-color: mix($fg_color, darken($text_input_color, 6%), 5%);
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
455 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
456 &:active {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
457 box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
458 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
459 &:selected {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
460 &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
461 &:hover {
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
462 background-color: mix($fg_color, $selected_bg_color, 10%);
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
463 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
464 &:backdrop { background-color: $selected_bg_color; }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
465 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
466 }
e98478e5fe6d Darken the background for lists
IBBoard <dev@ibboard.co.uk>
parents: 83
diff changeset
467
42
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
468 .sidebar list {
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
469 background: transparent;
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
470 }
464e0bd93ed9 Fix light "sidebar" tabs when window is unfocused
IBBoard <dev@ibboard.co.uk>
parents: 41
diff changeset
471
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
472 // 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
473 // 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
474 #pathbarbox {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
475 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
476 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
477 list-row {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
478 // 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
479 &.sidebar-item {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
480 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
481 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
482 &: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
483 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
484 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
485 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
486 // 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
487 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
488 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
489 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
490 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
491 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
492 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
493 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
494 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
495 &: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
496 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
497 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
498 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
499 &: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
500 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
501 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
502 }
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 /* 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
505 .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
506
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
507 /* 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
508 placessidebar list {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
509 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
510 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
511 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
512 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
513 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
514 }
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 // 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
518 .view.rubberband {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
519 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
520 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
521 menubar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
522 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
523 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
524 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
525 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
526 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
527 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
528 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
529 }
72
9521e9919497 Remove rule that seems to break Chrome menus
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
530
29
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
531 // 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
532 // 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
533 // 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
534 menu, .menu, .context-menu {
29
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
535 background-color: $bg_dark_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
536 color: $menu_fg_dark_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
537 border-color: $header_button_border;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
538 }
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
539 // 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
540 // combobox itself
30
78e21cea68af Fix context menus in some situations (seen in Corebird)
IBBoard <dev@ibboard.co.uk>
parents: 29
diff changeset
541 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
542 background-color: $bg_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
543 color: $fg_color;
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
544 }
ccdb5b8b5a6f Make all menus dark but keep comboboxes light
IBBoard <dev@ibboard.co.uk>
parents: 28
diff changeset
545 // 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
546 menubar, headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
547 & > menuitem {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
548 &, & label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
549 &: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
550 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
551 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
552 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
553 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
554 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
555 & 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
556 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
557 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
558 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
559 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
560 }
25
cf107670260d Remove red border for debugging, which shows up in LibreOffice
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
561
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
562 .floating-bar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
563 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
564 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
565 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
566 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
567
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
568 @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
569 ('bottom','top') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
570 @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
571 ('right','left') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
572 &.#{$tb}.#{$lr} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
573 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
574 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
575 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
576 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
577 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
578 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
579 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
580
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
581 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
582 &, &: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
583 &, &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
584 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
585 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
586 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
587 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
588
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
589 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
590 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
591 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
592 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
593 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
594
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
595 // 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
596 notebook {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
597 > header {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
598 tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
599 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
600 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
601 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
602 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
603 &: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
604 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
605 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
606
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
607 &:backdrop:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
608 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
609 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
610 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
611 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
612 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
613 }
50
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
614 }
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
615
83
6d9661c97630 Minor fix to disabled, backdrop spinbutton buttons
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
616 // Stop the disabled spin button being dark grey
6d9661c97630 Minor fix to disabled, backdrop spinbutton buttons
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
617 spinbutton:not(.vertical) button:backdrop:disabled { background: transparent none; }
6d9661c97630 Minor fix to disabled, backdrop spinbutton buttons
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
618
74
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
619 // Fix the category icons in the Emoji input box
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
620 .emoji-section label {
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
621 font-family: "Symbola";
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
622 font-weight: bold;
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
623 font-size: 125%
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
624 }
123f62e85944 Fix emoji input category icons
IBBoard <dev@ibboard.co.uk>
parents: 73
diff changeset
625
77
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
626
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
627 // GTK 3.24 updates
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
628 headerbar .background {
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
629 background: lighten($bg_dark_color, 5%);
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
630 color: $fg_dark_color;
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
631
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
632 &:backdrop {
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
633 background: transparent none;
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
634 color: $fg_dark_color;
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
635 }
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
636 }
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
637
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
638 headerbar frame > border, headerbar .frame,
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
639 headerbar frame > border:backdrop, headerbar .frame:backdrop
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
640 { border-color: $header_button_border; }
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
641
84a6e9aa7c8f Add rules to fix Nautilus 3.30 rendering with GTK 3.24 styles
IBBoard <dev@ibboard.co.uk>
parents: 74
diff changeset
642
50
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
643 // 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
644 // you're using Adwaita -
a37b4370a2e5 Fix Nautilus disk usage graph by importing Nautilus CSS
IBBoard <dev@ibboard.co.uk>
parents: 49
diff changeset
645 // https://github.com/GNOME/nautilus/blob/gnome-3-24/src/nautilus-application.c#L1099-L1112
87
94b091763a15 Fix Gnome Builder omnibar colouring
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
646 @import url("./nautilus.css");
94b091763a15 Fix Gnome Builder omnibar colouring
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
647
94b091763a15 Fix Gnome Builder omnibar colouring
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
648 // Gnome Builder fixes
94b091763a15 Fix Gnome Builder omnibar colouring
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
649 @import url("./gnome-builder.css");
96
e79c5676f972 Add custom Cawbird theme for the top bar
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
650
e79c5676f972 Add custom Cawbird theme for the top bar
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
651 // Customise Cawbird bar to be dark, because it's like a menu bar but isn't
e79c5676f972 Add custom Cawbird theme for the top bar
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
652 @import url("./cawbird.css");