annotate gtk-3.18/gtk.scss @ 113:3a790d4649eb default tip

Fix GTK4/Adwaita outline and background issues * Views are now used in popovers but shouldn't have "normal" view background colour * Flat buttons should be flat, not bordered/outlines * Spinbuttons in lists don't need outlines on their buttons
author IBBoard <dev@ibboard.co.uk>
date Sun, 01 May 2022 11:34:31 +0100
parents 1373809b1c32
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // General guidelines:
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // - very unlikely you want to edit something else than _common.scss
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 // - keep the number of defined colors to a minimum, use the color blending functions if
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 // you need a subtle shade
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
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
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 $variant: 'light';
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 // Import the default colours
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 @import 'colors';
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 // Override some colours
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 $base_color: #C6C6C6;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 $bg_color: #C6C6C6;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 $fg_color: #161616;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 $selected_bg_color: #5E7F3E;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 $selected_borders_color: darken($selected_bg_color, 30%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 $borders_color: darken($bg_color,30%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 $borders_edge: transparentize(lighten($bg_color, 30%), 0.9);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 $link_color: darken($selected_bg_color,10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 $link_visited_color: darken($selected_bg_color,20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 $top_hilight: $borders_edge;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 $scrollbar_bg_color: darken($bg_color, 7%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 $sidebar_bg_color: darken($bg_color,5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 //insensitive state derived colors
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 $insensitive_bg_color: mix($bg_color, $base_color, 60%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 $insensitive_borders_color: $borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 //colors for the backdrop state, derived from the main colors.
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 $backdrop_base_color: darken($base_color, 1%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 $backdrop_text_color: mix($text_color, $backdrop_base_color, 80%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 $backdrop_bg_color: $bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 $backdrop_insensitive_color: darken($backdrop_bg_color, 15%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 $backdrop_selected_fg_color: $selected_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 $backdrop_selected_bg_color: desaturate($selected_bg_color,100%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 $backdrop_sidebar_bg_color: darken($backdrop_bg_color,5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 // Add our own colours
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 $text_input_color: #F0F0F0;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 $backdrop_text_input_color: darken($text_input_color, 1%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 $bg_dark_color: #3D3D3D;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 $fg_dark_color: #dddddd;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 $insensitive_dark_fg_color: mix($fg_dark_color, $bg_dark_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 $titlebar_highlight: #4c4c4c;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 $header_button_raised_gradient_color_a: lighten($bg_dark_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 $header_button_checked: darken($bg_dark_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 $header_button_border: darken($bg_dark_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 $header_button_border_unfocused: darken($bg_dark_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 $menu_fg_dark_color: #cccccc;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 $focused_entry_outer: transparentize($selected_bg_color, 0.45);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 $bg_gradient_1: lighten($bg_color, 20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 $bg_gradient_2: lighten($bg_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 $bg_gradient_3: lighten($bg_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 $bg_prelight: $bg_gradient_1;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 $selected_bg_color_hover: lighten($selected_bg_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 $selected_bg_color_shade: darken($selected_bg_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 $selected_bg_border: darken($selected_bg_color, 30%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 $title_fg: #fff;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 $header_separator: lighten($bg_dark_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 $fg_color_emphasis: darken($fg_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 $fg_color_de_emphasis: lighten($fg_color, 20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 $unfocused_fg_color: $backdrop_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 $unfocused_insensitive_fg_color: lighten($insensitive_fg_color, 20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 $transparent_outline: #383436;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 // Import the default widgets
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 @import 'drawing';
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 // Style everything
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 @import 'common';
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 //Export default colours
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 @import 'colors-public';
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 //Override some exported colours
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 @define-color wm_title #{"" + $bg_dark_color};
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 @define-color wm_unfocused_title #{"" + $bg_dark_color};
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 @define-color wm_highlight shade(#{"" + $bg_dark_color}, 1.03);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 @define-color wm_borders_edge #{"" + $bg_dark_color};
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 @define-color wm_bg_a shade(#{$bg_dark_color}, 1.2);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 @define-color wm_bg_b #{$bg_dark_color};
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 @define-color wm_button_hover_color_a shade(#{$bg_dark_color}, 1.3);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 @define-color wm_button_hover_color_b #{$bg_dark_color};
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 @define-color wm_button_active_color_a shade(#{$bg_dark_color}, 0.85);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 @define-color wm_button_active_color_b shade(#{$bg_dark_color}, 0.89);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 @define-color wm_button_active_color_c shade(#{$bg_dark_color}, 0.9);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 // And now do our own overrides of styling
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 *:insensitive {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 -gtk-image-effect: highlight;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 /***************
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 * Header bars *
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 ***************/
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 .header-bar,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 .titlebar, GtkApplicationWindow.fullscreen {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 color: $title_fg;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 border-width: 0 0 1px;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 border-style: solid;
40
1373809b1c32 Incorporate GTK 3.20 header gradient fix into 3.18
IBBoard <dev@ibboard.co.uk>
parents: 22
diff changeset
112 background-image: linear-gradient(to bottom, lighten($bg_dark_color, 3%) 0%, $bg_dark_color 45%);
22
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 border-color: shade($bg_dark_color, 0.90);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 box-shadow: inset 0 2px $titlebar_highlight, inset 0 1px $header_button_border;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 .header-bar:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 .titlebar:backdrop, GtkApplicationWindow.fullscreen:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 color: $fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 border-color: darken($bg_dark_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 /* this is the default titlebar that is added by GTK
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 * when client-side decorations are in use and the application
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 * did not set a custom titlebar.
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 */
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 .header-bar .separator,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 .titlebar .separator {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 border-width: 1px;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 border-style: solid;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 border-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 color: $header_separator;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 .titlebar.default-decoration {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 border: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 .titlebar .title {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 font: Bold 11;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 background: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 color: $title_fg;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 .titlebar .title:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 color: $fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
152 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153 .header-bar .button.titlebutton:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 .titlebar .button.titlebutton:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 .header-bar .button.titlebutton:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 .titlebar .button.titlebutton:checked
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 .header-bar .button:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 .header-bar .button.titlebutton:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 .titlebar .button.titlebutton:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
161 .header-bar .button:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 .header-bar .button.titlebutton:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 .titlebar .button.titlebutton:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 .header-bar .button:active:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 .header-bar .button.titlebutton:active:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 .titlebar .button.titlebutton:active:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 .header-bar .button:checked:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
168 .header-bar .button.titlebutton:checked:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 .titlebar .button.titlebutton:checked:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 .header-bar .button,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 .header-bar .titlebutton.button,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172 .titlebar .titlebutton.button {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 color: $fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 background-image: linear-gradient(to bottom, $header_button_raised_gradient_color_a, $bg_dark_color);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 border-color: $header_button_border;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
178 outline-color: $header_button_raised_gradient_color_a;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181 .header-bar .titlebutton.button,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
182 .titlebar .titlebutton.button {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
183 border-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
185 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
186 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 .header-bar .button:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 .header-bar .titlebutton.button:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
189 .titlebar .titlebutton.button:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
190 .header-bar .button:insensitive:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
191 .header-bar .titlebutton.button:insensitive:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
192 .titlebar .titlebutton.button:insensitive:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
193 color: $insensitive_dark_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
194 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
195 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
196 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 .header-bar .button:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
199 .header-bar .button.titlebutton:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
200 .titlebar .button.titlebutton:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
201 color: shade($fg_dark_color, 1.3);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
202 outline-color: $header_button_raised_gradient_color_a;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
203 border-color: $header_button_border;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
204 background-image: linear-gradient(to bottom, shade($header_button_raised_gradient_color_a, 1.1), shade($bg_dark_color, 1.1));
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
205 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
206 icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
207 box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209 .header-bar .button:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 .header-bar .button.titlebutton:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 .titlebar .button.titlebutton:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
212 .header-bar .button:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213 .header-bar .button.titlebutton:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
214 .titlebar .button.titlebutton:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
215 .header-bar .button:active:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
216 .header-bar .button.titlebutton:active:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
217 .titlebar .button.titlebutton:active:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
218 .header-bar .button:checked:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
219 .header-bar .button.titlebutton:checked:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
220 .titlebar .button.titlebutton:checked:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 color: $title_fg;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 background-image: linear-gradient(to bottom, $bg_dark_color, $header_button_checked);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 .header-bar .button:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
225 .header-bar .button.titlebutton:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 .titlebar .button.titlebutton:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
229 border-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
230 box-shadow:none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
231 text-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
232 icon-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 color: $fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 .header-bar .button:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 border-color: $header_button_border_unfocused
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
239 .header-bar .button:active:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240 .header-bar .button.titlebutton:active:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241 .titlebar .button.titlebutton:active:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 .header-bar .button:checked:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 .header-bar .button.titlebutton:checked:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 .titlebar .button.titlebutton:checked:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
245 .header-bar .button:active:hover:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246 .header-bar .button.titlebutton:active:hover:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
247 .titlebar .button.titlebutton:active:hover:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 .header-bar .button:checked:hover:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
249 .header-bar .button.titlebutton:checked:hover:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
250 .titlebar .button.titlebutton:checked:hover:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
251 color: $fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
252 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
253 background-color: $header_button_checked;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
254 box-shadow:none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
255 text-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
256 icon-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
258 .header-bar .titlebutton.button:backdrop:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
259 .titlebar .titlebutton.button:backdrop:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 .header-bar .titlebutton.button:backdrop:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
261 .titlebar .titlebutton.button:backdrop:checked {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
262 border-color: $header_button_border_unfocused
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
263 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
264 .header-bar .suggested-action.button,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
265 .header-bar .suggested-action.titlebutton.button,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
266 .titlebar .suggested-action.titlebutton.button {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
267 color: $title_fg;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
268 background-color: mix($selected_bg_color, $bg_dark_color, 80%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
269 background-image: linear-gradient(to bottom, mix($selected_bg_color, $header_button_raised_gradient_color_a, 80%), mix($selected_bg_color, $bg_dark_color, 80%));
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
270 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271 icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272 border-color: mix($selected_bg_color, $header_button_border, 30%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
273 outline-color: $header_button_raised_gradient_color_a;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
274 box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
275 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
276
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
277 .header-bar .suggested-action.button:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
278 .header-bar .suggested-action.titlebutton.button:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
279 .titlebar .suggested-action.titlebutton.button:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
280 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
281 text-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
282 icon-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
283 border-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
284 outline-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
285 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
286 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
287
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
288 .header-bar .suggested-action.button:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
289 .header-bar .suggested-action.button.titlebutton:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
290 .titlebar .suggested-action.button.titlebutton:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
291 color: shade($fg_dark_color, 1.3);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
292 outline-color: $header_button_raised_gradient_color_a;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
293 border-color: $header_button_border;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
294 background-image: linear-gradient(to bottom, shade(mix($selected_bg_color, $header_button_raised_gradient_color_a, 80%), 1.1), shade(mix($selected_bg_color,$bg_dark_color,80%), 1.1));
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
295 text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
296 icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
297 box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
298 .header-bar .suggested-action.titlebutton.button:backdrop:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
299 .titlebar .suggested-action.titlebutton.button:backdrop:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
300 .header-bar .suggested-action.button:backdrop:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
301 .titlebar .suggested-action.button:backdrop:insensitive {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
302 color: mix($fg_dark_color, $bg_dark_color, 60%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
303 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
304 background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
305 border-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
306 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
307 .header-bar .suggested-action.titlebutton.button:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
308 .titlebar .suggested-action.titlebutton.button:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
309 .header-bar .suggested-action.button:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
310 .titlebar .suggested-action.button:insensitive {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
311 color: mix($fg_dark_color, $bg_dark_color, 60%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
312 background-image: linear-gradient(to bottom, $header_button_raised_gradient_color_a, $bg_dark_color);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
313 background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
314 border-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
315 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
316
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
317 .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
318 GtkPlacesSidebar.sidebar .view .titlebar > GtkBox > .vertical.separator:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
319 .header-bar .header-bar-separator,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
320 .header-bar > GtkBox > .separator.vertical,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
321 GtkPlacesSidebar.sidebar .view .header-bar > GtkBox > .vertical.separator:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
322 border-image: linear-gradient(to bottom, transparentize($header_separator, 0), $header_separator 30%, $header_separator 70%, transparentize($header_separator, 0) 100%) 0 1/0 1px stretch;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
323 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
324 .titlebar .header-bar-separator:backdrop, .titlebar > GtkBox > .separator.vertical:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
325 .header-bar .header-bar-separator:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
326 .header-bar > GtkBox > .separator.vertical:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
327 border-image: linear-gradient(to bottom, transparentize($header_separator, 0.5)) 0 1/1px 1px;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
328 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
329
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
330 column-header .button, column-header .header-bar .button.titlebutton, .header-bar column-header .button.titlebutton,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
331 column-header .titlebar .button.titlebutton,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
332 .titlebar column-header .button.titlebutton {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
333 color: $fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
334 background-color: $bg_gradient_2;}
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
335 column-header .button:hover, column-header .header-bar .button.titlebutton:hover, .header-bar column-header .button.titlebutton:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
336 column-header .titlebar .button.titlebutton:hover,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
337 .titlebar column-header .button.titlebutton:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
338 color: $fg_color_emphasis; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
339
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
340 // Somehow, our notebook tabs don't appear to be classed ".label",
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
341 // so we have to bodge it with GtkLabel directly
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
342 .notebook {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
343 // Through me you go to the grief wracked city;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
344 // Through me you go to everlasting pain;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
345 // Through me you go a pass among lost souls.
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
346 // ...
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
347 // Abandon all hope — Ye Who Enter Here
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
348 tab {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
349 GtkLabel { //tab text
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
350 padding: 0 2px; // needed for a nicer focus ring
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
351 font-weight: bold;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
352 color: $insensitive_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
353 &:backdrop, &.prelight-page:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
354 color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
355 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
356 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
357 .prelight-page GtkLabel, GtkLabel.prelight-page {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
358 // prelight tab text
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
359 color: mix($fg_color, $insensitive_fg_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
360 &:backdrop { // FIXME, it's the same as .label:backdrop up here
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
361 color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
362 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
363 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
364 .active-page GtkLabel, GtkLabel.active-page {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
365 // active tab text
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
366 color: $fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
367 &:backdrop { color: $backdrop_fg_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
368 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
369 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
370 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
371
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
372 .popover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
373 background-color: $bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
374 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
375 .popover .menuitem.button { border: none; box-shadow: none; outline: none; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
376 .menu {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
377 background-color: $bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
378 .csd & {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
379 border: 1px solid $borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
380 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
381 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
382 .background {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
383 background-color: $bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
384 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
385
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
386 .entry, .linked.vertical > .entry, .linked.vertical > .entry:first-child, .linked.vertical > .entry:last-child {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
387 background-image: entry_gradient($text_input_color);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
388 background-color: $text_input_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
389
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
390 &:focus { background-image: entry_gradient($text_input_color); }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
391 &:insensitive { background-image: linear-gradient(to bottom, $insensitive_bg_color); }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
392 &:backdrop { background-image: none; background-color: $backdrop_text_input_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
393 &:backdrop:insensitive { background-image: linear-gradient(to bottom, $insensitive_bg_color); }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
394 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
395 GtkPaned {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
396 border: 1px solid $borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
397 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
398 GtkPlacesSidebar.sidebar .view {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
399 color: $fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
400 background-color: transparent;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
401 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
402
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
403 .view, .list, .list-row, .list-row.button {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
404 color: $text_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
405 background-color: $text_input_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
406 &:backdrop, &:backdrop:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
407 color: $backdrop_text_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
408 background-color: $backdrop_text_input_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
409 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
410 &:selected {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
411 color: $selected_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
412 background-color: $selected_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
413 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
414 &:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
415 background-color: mix($fg_color, $text_input_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
416 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
417 &:active {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
418 box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
419 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
420 &:selected {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
421 &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
422 &:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
423 background-color: mix($fg_color, $selected_bg_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
424 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
425 &:backdrop { background-color: $selected_bg_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
426 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
427 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
428 .list-row {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
429 // Set sidebar items back to something reasonable
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
430 &.sidebar-item {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
431 background-color: $sidebar_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
432 border-color: $borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
433 &:backdrop, &:backdrop:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
434 background-color: $backdrop_sidebar_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
435 border-color: $backdrop_borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
436 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
437 // let's take care of background colors
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
438 &:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
439 background-color: mix($fg_color, $base_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
440 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
441 &:active {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
442 box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
443 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
444 &:selected {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
445 background-color: $selected_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
446 &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
447 &:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
448 background-color: mix($fg_color, $selected_bg_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
449 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
450 &:backdrop { background-color: $selected_bg_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
451 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
452 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
453 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
454 .sidebar .list {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
455 background-color: $sidebar_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
456 border-color: $borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
457 &:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
458 background-color: $backdrop_sidebar_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
459 border-color: $backdrop_borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
460 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
461 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
462
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
463 /*.list .list-row.button {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
464 &:hover, &:backdrop:insensitive {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
465 background-color: rgba(0,0,0,0);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
466 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
467 }*/
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
468
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
469
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
470 /*GtkPlacesSidebar .separator { color: $insensitive_fg_color; }*/
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
471
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
472
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
473 // Fix the rubberband background after we gave lists and views a lighter background
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
474 .view.rubberband {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
475 background-color: transparentize($selected_bg_color,0.8);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
476 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
477 .menubar {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
478 background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
479 color: $menu_fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
480 box-shadow: inset 0 -1px transparentize(black, 0.9);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
481 &:backdrop { background-color: $bg_dark_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
482 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
483 .menubar, .header-bar {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
484 & .menu { background-color: $bg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
485 color: $menu_fg_dark_color; border-color: $header_button_border; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
486 & > .menuitem {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
487 &:hover { //Seems like it :hover even with keyboard focus
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
488 box-shadow: inset 0 -3px $selected_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
489 color: $selected_bg_color
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
490 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
491 &:insensitive {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
492 color: $insensitive_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
493 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
494 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
495 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
496 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
497 .tweak-group .button.list-row, .tweak-categories .tweak-category.list-row {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
498 color: $fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
499 background-color: $bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
500 &:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
501 background-color: mix($fg_color, $base_color, 5%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
502 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
503 &:backdrop { background-color: $backdrop_bg_color }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
504 &:selected {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
505 background-color: $selected_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
506 color: lighten($selected_fg_color, 20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
507 &:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
508 background-color: mix($fg_color, $selected_bg_color, 10%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
509 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
510 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
511 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
512 .floating-bar {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
513 opacity: 0.9;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
514 color: $text_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
515 background-color: $text_input_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
516 border: 1px solid $borders_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
517
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
518 @each $tb,$tb_corner in ('top','bottom'),
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
519 ('bottom','top') {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
520 @each $lr,$lr_corner in ('left','right'),
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
521 ('right','left') {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
522 &.#{$tb}.#{$lr} {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
523 border-#{$tb_corner}-#{$lr_corner}-radius: 3px;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
524 border-#{$tb}-width: 0;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
525 border-#{$lr}-width: 0;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
526 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
527 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
528 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
529 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
530 .menu .menuitem.check, .menu .menuitem.radio {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
531 color: $fg_dark_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
532 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
533
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
534
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
535 /* Fix Meld dialog buttons and try not to break anything else */
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
536 /* FIXME: These should really be joined, but as of v3.18 they're spaced
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
537 .message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:backdrop, .message-dialog.csd .dialog-action-area .button:hover {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
538 border-bottom-style: solid;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
539 border-right-style: solid;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
540 &:last-child {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
541 border-right-style: solid;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
542 border-top-right-radius: 7px; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
543 &:first-child {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
544 border-left-style: solid;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
545 border-top-left-radius: 7px; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
546 &:hover, &:backdrop { border-bottom-style: solid; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
547 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
548
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
549 /* And put "linked" buttons back to Adwaita style */
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
550 .message-dialog.csd .dialog-action-area.linked .button {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
551 border-bottom-style: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
552 border-right-style: solid;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
553 &:last-child {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
554 border-right-style: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
555 border-top-right-radius: 0; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
556 &:first-child {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
557 border-left-style: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
558 border-top-left-radius: 0; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
559 &:hover, &:backdrop { border-bottom-style: none; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
560 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
561
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
562 /* Fix tree view progress bars */
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
563 GtkTreeView.view {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
564 &.progressbar { // progress bar in treeviews
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
565 color: $selected_fg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
566 background-color: $selected_bg_color;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
567
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
568 &:selected {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
569 color: darken($selected_bg_color,20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
570 &:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
571 color: darken($selected_bg_color,20%);
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
572 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
573 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
574
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
575 &:backdrop {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
576 @if $variant == 'light' { color: $backdrop_base_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
577 @else { border-color: $backdrop_base_color; }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
578 background-image: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
579 box-shadow: none;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
580 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
581 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
582 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
583
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
584 /*
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
585 * Fix text views that don't specify a class.
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
586 * Happens mainly in Meld when viewing single files
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
587 */
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
588 GtkTextView {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
589 background-color: #eee
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
590 }
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
591
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
592 /*
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
593 * Fix GTK3.18 change that makes .list-row.button items look like buttons
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
594 */
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
595 .list-row.button,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
596 .list-row.button:backdrop,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
597 .list-row.button:backdrop:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
598 .list-row.button:backdrop:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
599 .list-row.button:backdrop:insensitive,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
600 .list-row.button:backdrop:insensitive:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
601 .list-row.button:backdrop:insensitive:checked,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
602 .list-row.button:insensitive:active,
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
603 .list-row.button:insensitive:checked {
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
604 // reset button inherited stuff
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
605 @extend %undecorated_button;
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
606 background-color: transparentize($base_color,1); // for the transition
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
607 border-style: none; // I need no borders here
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
608 border-radius: 0; // and no rounded corners
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
609 box-shadow: none; // and no box-shadow
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
610
cb3e1a45b770 Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
611 }