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