annotate gtk-3.20/_common.scss @ 43:d8eaee5178b7

Update to GTK 3.22 at revision ecf9c06
author IBBoard <dev@ibboard.co.uk>
date Sat, 01 Apr 2017 11:21:01 +0100
parents 1b8713fff1e1
children b85e4f7ff7c8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 @function gtkalpha($c,$a) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 @return unquote("alpha(#{$c},#{$a})");
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 $asset_suffix: if($variant=='dark', '-dark', '');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 $backdrop_transition: 200ms ease-out;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 $button_transition: all 200ms $ease-out-quad;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 * {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 -GtkToolButton-icon-spacing: 4;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 -GtkTextView-error-underline-color: $error_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 // The size for scrollbars. The slider is 2px smaller, but we keep it
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 // up so that the whole area is sensitive to button presses for the
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 // slider. The stepper button is larger in both directions, the slider
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 // only in the width
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 -GtkScrolledWindow-scrollbar-spacing: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 -GtkToolItemGroup-expander-size: 11;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 -GtkWidget-text-handle-width: 20;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 -GtkWidget-text-handle-height: 24;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 -GtkDialog-button-spacing: 4;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 -GtkDialog-action-area-border: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 // We use the outline properties to signal the focus properties
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 // to the adwaita engine: using real CSS properties is faster,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 // and we don't use any outlines for now.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
34 outline-color: gtkalpha(currentColor, 0.3);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 outline-style: dashed;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 outline-offset: -3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 outline-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 -gtk-outline-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 -gtk-secondary-caret-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
41 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42
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 /***************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 * Base States *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 ***************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 .background {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 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
49 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
50
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 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
53 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
54 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
55 -gtk-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
56 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 }
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 These wildcard seems unavoidable, need to investigate.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 Wildcards are bad and troublesome, use them with care,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 or better, just don't.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 Everytime a wildcard is used a kitten dies, painfully.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 */
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 *:disabled { -gtk-icon-effect: dim; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 .gtkstyle-fallback {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 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
70 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
71
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 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
74 background-color: 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 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 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
79 background-color: darken($bg_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 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
84 background-color: $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
85 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 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
89 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
90 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 .view,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 %view {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 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
96 background-color: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 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
100 background-color: $backdrop_base_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
101 &:disabled { color: $backdrop_insensitive_color; }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
102 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
103
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
104 &:disabled {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
105 color: $insensitive_fg_color;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
106 background-color: $insensitive_bg_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 @extend %selected_items;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 border-radius: 3px;
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 .view,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 textview {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 text {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 @extend %view;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 selection { &:focus, & { @extend %selected_items; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 textview border { background-color: mix($bg_color, $base_color, 50%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 iconview { @extend .view; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 .rubberband,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 rubberband {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 border: 1px solid 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
134 background-color: transparentize(darken($selected_bg_color, 10%), 0.8);
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 flowbox {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 rubberband { @extend rubberband; }
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 flowboxchild {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 padding: 3px;
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 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 @extend %selected_items;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 outline-offset: -2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 }
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
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
151 .content-view .tile {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
152 margin: 2px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
153 background-color: if($variant=='light', transparent, black);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
154 border-radius: 0;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
155 padding: 0;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
156
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
157 &:backdrop { background-color: if($variant=='light', transparent, darken($backdrop_base_color,5%)); }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
158 &:active, &:selected { background-color: if($variant=='light', transparent, $selected_bg_color); }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
159 &:disabled { background-color: if($variant=='light', transparent, $insensitive_bg_color); }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
160 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
161
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 caret-color: currentColor; // this shouldn't be needed.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 &.separator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 @extend .dim-label;
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 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
169
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 &:backdrop { 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
171 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 row:selected &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 &:selected { @extend %nobg_selected_items; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 selection {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 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
178 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
179 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
182 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
183
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 selection { @extend %selected_items:disabled; }
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 &:backdrop { color: $backdrop_insensitive_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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
189 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
190 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
191
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
192 selection { @extend %selected_items:backdrop; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
193 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
194 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
195
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
196 .dim-label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 opacity: 0.55;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 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
199 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
200
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
201 assistant {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
202 .sidebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
203 background-color: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
204 border-top: 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
205
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
206 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
207 background-color: $backdrop_base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208 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
209 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
212 &.csd .sidebar { border-top-style: none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
214 .sidebar label { padding: 6px 12px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
215
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
216 .sidebar label.highlight { background-color: mix($bg_color, $fg_color, 80%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
217 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
218
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
219 %osd,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
220 .osd {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 color: $osd_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 background-color: $osd_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 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
225 text-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 -gtk-icon-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
229 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
230 -gtk-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
231 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
232 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 /*********************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 * Spinner Animation *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 *********************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 @keyframes spin {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
239 to { -gtk-icon-transform: rotate(1turn); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 spinner {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 background: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 opacity: 0; // non spinning spinner makes no sense
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
245 -gtk-icon-source: -gtk-icontheme('process-working-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
247 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 opacity: 1;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
249 animation: spin 1s linear infinite;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
250
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
251 &:disabled { opacity: 0.5; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
252 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
253 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
254
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
255
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
256 /****************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 * Text Entries *
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 %entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
261 entry {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
262 %entry_basic, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
263 min-height: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
264 padding-left: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
265 padding-right: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
266 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
267 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
268 transition: all 200ms $ease-out-quad;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
269
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
270 @include entry(normal);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272 image { // icons inside the entry
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
273 &.left { margin-right: 6px; }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
274 &.right { margin-left: 6px; }
24
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 undershoot {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
278 &.left { @include undershoot(left); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
279 &.right { @include undershoot(right); }
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
282 &.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
283 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
284 min-height: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
285 padding: 2px;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
286 background-color: transparent;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
287 border-color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
288 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
289 }
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 &:focus { @include entry(focus); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
293
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
294 &:disabled { @include entry(insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
295
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
296 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
297 @include entry(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
298
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
299 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
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 &:backdrop:disabled { @include entry(backdrop-insensitive); }
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 selection { @extend %selected_items; }
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 // entry error and warning style
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
307 @each $e_type, $e_color in (error, $error_color),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
308 (warning, $warning_color) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
309 &.#{$e_type} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
310 color: $e_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
311 border-color: entry_focus_border($e_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
312
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
313 &:focus { @include entry(focus, $e_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
314
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
315 selection { background-color: $e_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
316 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
317 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
318
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
319 image { // entry icons colors
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
320 color: mix($fg_color, $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
321
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
322 &:hover { 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
323
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
324 &:active { 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
325
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
326 &:backdrop { color: mix($backdrop_fg_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
327 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
328
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
329 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
330 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
331 border-color: $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
332 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
333 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
334 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
335
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
336 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
337 @include entry(osd);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
338
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
339 &:focus { @include entry(osd-focus); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
340
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
341 &:backdrop { @include entry(osd-backdrop); }
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 &:disabled { @include entry(osd-insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
344 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
345 }
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 progress {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
348 margin: 2px -6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
349 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
350 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
351 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
352 border-width: 0 0 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
353 border-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
354 border-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
355 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
356
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
357 &:backdrop { 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
358 }
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 // linked entries
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
361 .linked:not(.vertical) > & { @extend %linked; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
362 .linked:not(.vertical) > &:focus + &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
363 .linked:not(.vertical) > &:focus + button,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
364 .linked:not(.vertical) > &:focus + combobox > box > button.combo { border-left-color: entry_focus_border(); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
365
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
366 .linked:not(.vertical) > &:drop(active) + &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
367 .linked:not(.vertical) > &:drop(active) + button,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
368 .linked:not(.vertical) > &:drop(active) + combobox > box > button.combo { border-left-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
369
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
370 // Vertically linked entries
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
371 // FIXME: take care of "colored" entries
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
372 .linked.vertical > & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
373 @extend %linked_vertical;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
374
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
375 // brighter border between linked entries
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
376 &:not(:disabled) + entry:not(:disabled),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
377 &:not(:disabled) + %entry:not(:disabled) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
378 border-top-color: mix($borders_color, $base_color, 30%);
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
379
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
380 &:backdrop { border-top-color: mix($backdrop_borders_color, $backdrop_base_color, 30%); }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
381 }
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 // brighter border between linked insensitive entries
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
384 &:disabled + %entry:disabled,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
385 &:disabled + entry:disabled { border-top-color: mix($borders_color, $base_color, 30%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
386
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
387 // color back the top border of a linked focused entry following another entry.
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
388 // :not(:only-child) is a specificity bump hack.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
389 + %entry:focus:not(:only-child),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
390 + entry:focus:not(:only-child) { border-top-color: entry_focus_border(); }
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 + %entry:drop(active):not(:only-child),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
393 + entry:drop(active):not(:only-child) { border-top-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
394
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
395 // this takes care of coloring the top border of the focused entry subsequent widget.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
396 // :not(:only-child) is a specificity bump hack.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
397 &:focus:not(:only-child) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
398 + %entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
399 + entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
400 + button,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
401 + combobox > box > button.combo { border-top-color: entry_focus_border(); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
402 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
403
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
404 &:drop(active):not(:only-child) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
405 + %entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
406 + entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
407 + button,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
408 + combobox > box > button.combo { border-top-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
409 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
410 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
411 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
412
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
413 treeview entry {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
414 &:focus {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
415 &:dir(rtl), &:dir(ltr) { // specificity bump hack
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: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
417 transition-property: color, background;
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
421 &.flat, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
422 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
423 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
424 background-color: $base_color;
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 &:focus { border-color: $selected_bg_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
427 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
428 }
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
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
431 /***********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
432 * Buttons *
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 // stuff for .needs-attention
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
435 $_dot_color: if($variant=='light', $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
436 lighten($selected_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
437 @keyframes needs_attention {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
438 from {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
439 background-image: -gtk-gradient(radial,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
440 center center, 0,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
441 center center, 0.01,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
442 to($_dot_color),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
443 to(transparent));
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 to {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
447 background-image: -gtk-gradient(radial,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
448 center center, 0,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
449 center center, 0.5,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
450 to($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
451 to(transparent));
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 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
454
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
455 %button,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
456 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
457 @at-root %button_basic, & {
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 min-height: 24px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
460 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
461 padding: 4px 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
462 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
463 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
464 transition: $button_transition;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
465
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
466 @include button(normal);
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 &.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
469 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
470 // to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
471 // to none, while it's added back in the hover state, so the button decoration will fade in on hover, but
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
472 // it won't fade out when the pointer leave the button allocation area. To make the transition more evident
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
473 // in this case the duration is increased.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
474 transition: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
475
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
476 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
477 transition: $button_transition;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
478 transition-duration: 500ms;
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 &:active { transition: $button_transition; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
481 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
482 }
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 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
485 @include button(hover);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
486 -gtk-icon-effect: highlight;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
487 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
488
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
489 &:active,
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 @include button(active);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
492
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
493 transition-duration: 50ms;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
494 }
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 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
497 &.flat, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
498 @include button(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
499
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
500 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
501 -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
502
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
503 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
504 &:checked { @include button(backdrop-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
505
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
506 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
507 @include button(backdrop-insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
508
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
509 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
510 &:checked { @include button(backdrop-insensitive-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
511 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
512 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
513 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
514
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
515 &.flat { &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
516
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
517 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
518 @include button(insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
519
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
520 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
521 &:checked { @include button(insensitive-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
522 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
523
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
524 &.image-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
525 min-width: 24px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
526 padding-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
527 padding-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
528 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
529
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
530 &.text-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
531 padding-left: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
532 padding-right: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
533 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
534
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
535 &.text-button.image-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
536 padding-left: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
537 padding-right: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
538
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
539 label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
540 padding-left: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
541 padding-right: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
542 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
543 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
544
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
545 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
546 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
547 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
548 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
549 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
550 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
551
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
552 @at-root %button_selected, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
553 row:selected & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
554 @if $variant == 'light' { border-color: $selected_borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
555
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
556 &.flat:not(:active):not(:checked):not(:hover):not(disabled) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
557 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
558 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
559
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
560 &:backdrop { color: if($variant=='light', $backdrop_base_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
561 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
562 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
563 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
564
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
565
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
566 // big standalone buttons like in Documents pager
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
567 &.osd {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
568 min-width: 24px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
569 min-height: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
570
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
571 &.image-button { min-width: 32px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
572
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
573 color: $osd_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
574 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
575
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
576 @include button(osd);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
577
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
578 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
579 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
580
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
581 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
582 @include button(osd-hover);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
583
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
584 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
585 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
586 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
587
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
588 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
589 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
590 @include button(osd-active);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
591
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
592 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
593 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
594 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
595
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
596 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
597 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
598 @include button(osd-insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
599
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
600 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
601 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
602 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
603
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
604 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
605 @include button(osd-backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
606
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
607 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
608 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
609 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
610
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
611 //overlay / OSD style
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
612 @at-root %osd_button,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
613 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
614 @include button(osd);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
615
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
616 &:hover { @include button(osd-hover); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
617
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
618 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
619 &:checked { &:backdrop, & { @include button(osd-active); }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
620
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
621 &:disabled { &:backdrop, & { @include button(osd-insensitive); }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
622
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
623 &:backdrop { @include button(osd-backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
624
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
625 &.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
626 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
627
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
628 box-shadow: none; //FIXME respect no edge on the button mixin
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
629 text-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
630 -gtk-icon-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
631
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
632 &:hover { @include button(osd-hover); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
633
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
634 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
635 @include button(osd-insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
636 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
637 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
638 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
639 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
640
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
641 &:backdrop { @include button(undecorated); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
642
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
643 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
644 &:checked { @include button(osd-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
645 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
646 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
647
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
648 // Suggested and Destructive Action buttons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
649 @each $b_type, $b_color in (suggested-action, $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
650 (destructive-action, $destructive_color) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
651 &.#{$b_type} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
652 @include button(normal, $b_color, white);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
653
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
654 &.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
655 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
656
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
657 color: $b_color; //FIXME: does it work on the dark variant?
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
658 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
659
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
660 &:hover { @include button(hover, $b_color, white); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
661
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
662 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
663 &:checked { @include button(active, $b_color, white); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
664
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
665 &:backdrop,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
666 &.flat:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
667 @include button(backdrop, $b_color, white);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
668
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
669 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
670 &:checked { @include button(backdrop-active, $b_color, white); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
671
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
672 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
673 @include button(backdrop-insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
674
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
675 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
676 &:checked { @include button(backdrop-insensitive-active, $b_color, white); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
677 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
678 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
679
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
680 &.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
681 &: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
682 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
683
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
684 color: transparentize($b_color, 0.2);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
685 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
686 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
687
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
688 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
689 @include button(insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
690
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
691 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
692 &:checked { @include button(insensitive-active, $b_color, white); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
693 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
694
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
695 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
696 @include button(osd, $b_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
697
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
698 &:hover { @include button(osd-hover, $b_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
699
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
700 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
701 &:checked { &:backdrop, & { @include button(osd-active, $b_color); }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
702
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
703 &:disabled { &:backdrop, & { @include button(osd-insensitive, $b_color); }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
704
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
705 &:backdrop { @include button(osd-backdrop, $b_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
706 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
707 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
708 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
709
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
710 .stack-switcher > & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
711 // to position the needs attention dot, padding is added to the button
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
712 // child, a label needs just lateral padding while an icon needs vertical
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
713 // padding added too.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
714
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
715 outline-offset: -3px; // needs to be set or it gets overriden by GtkRadioButton outline-offset
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
716
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
717 > label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
718 padding-left: 6px; // label padding
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
719 padding-right: 6px; //
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
720 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
721
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
722 > image {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
723 padding-left: 6px; // image padding
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
724 padding-right: 6px; //
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
725 padding-top: 3px; //
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
726 padding-bottom: 3px; //
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
727 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
728
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
729 &.text-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
730 // compensate text-button paddings
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
731 padding-left: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
732 padding-right: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
733 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
734
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
735 &.image-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
736 // we want image buttons to have a 1:1 aspect ratio, so compensation
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
737 // of the padding added to the GtkImage is needed
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
738 padding-left: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
739 padding-right: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
740 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
741
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
742 &.needs-attention {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
743 > label,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
744 > image { @extend %needs_attention; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
745
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
746 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
747 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
748 > label,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
749 > image {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
750 animation: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
751 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
752 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
753 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
754 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
755 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
756
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
757 // hide separators
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
758 &.font,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
759 &.file { separator { background-color: transparent; }}
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
760
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
761 &.font { > box > box > label { font-weight: bold; }}
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
762
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
763 // inline-toolbar buttons
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
764 .inline-toolbar &, .inline-toolbar &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
765 border-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
766 border-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
767 @extend %linked;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
768 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
769
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
770 .primary-toolbar & { -gtk-icon-shadow: none; } // tango icons don't need shadows
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
771
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
772 .linked > &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
773 .linked > &:hover,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
774 .linked > &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
775 .linked > &:checked,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
776 .linked > &:backdrop { @extend %linked; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
777
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
778 .linked.vertical > &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
779 .linked.vertical > &:hover,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
780 .linked.vertical > &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
781 .linked.vertical > &:checked,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
782 .linked.vertical > &:backdrop { @extend %linked_vertical; }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
783
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
784 &.circular { // The Bloody Circul Button
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
785 border-radius: 9999px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
786 -gtk-outline-radius: 9999px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
787
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
788 label { padding: 0; }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
789
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
790 // the followind code is needed since we use a darker bottom border on buttons, which looks pretty
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
791 // bad with a 100% border radius (see https://bugzilla.gnome.org/show_bug.cgi?id=771205 for details),
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
792 // so on relevant states we an additional background-image with a gradient clipped on the border-box,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
793 // so setting a transparent border would reveal it.
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
794 // FIXME: take care of colored circular button.
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
795 $_border_bg: linear-gradient(to top, $alt-borders-color 25%, $borders-color 50%);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
796
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
797 &:not(.flat):not(:checked):not(:active):not(:disabled):not(:backdrop) {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
798 @include button(normal);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
799 background-image: $button_fill, $_border_bg;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
800 border-color: transparent;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
801 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
802
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
803 &:hover:not(:checked):not(:active):not(:disabled):not(:backdrop) {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
804 @include button(hover);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
805 background-image: $button_fill, $_border_bg;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
806 border-color: transparent;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
807 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
808
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
809 background-origin: padding-box, border-box;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
810 background-clip: padding-box, border-box;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
811 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
812 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
813
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
814 %needs_attention {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
815 animation: needs_attention 150ms ease-in;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
816 $_dot_shadow: _text_shadow_color();
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
817 $_dot_shadow_r: if($variant=='light',0.5,0.45);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
818 background-image: -gtk-gradient(radial,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
819 center center, 0,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
820 center center, 0.5,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
821 to($_dot_color),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
822 to(transparent)),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
823 -gtk-gradient(radial,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
824 center center, 0,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
825 center center, $_dot_shadow_r,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
826 to($_dot_shadow),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
827 to(transparent));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
828 background-size: 6px 6px, 6px 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
829 background-repeat: no-repeat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
830
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
831 @if $variant == 'light' { background-position: right 3px, right 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
832
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
833 @else { background-position: right 3px, right 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
834
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
835 &:backdrop { background-size: 6px 6px, 0 0;}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
836
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
837 &:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
838 @if $variant == 'light' { background-position: left 3px, left 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
839
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
840 @else { background-position: left 3px, left 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
841 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
842 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
843
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
844
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
845 // all the following is for the +|- buttons on inline toolbars, that way
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
846 // should really be deprecated...
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
847 .inline-toolbar toolbutton > button { // redefining the button look is
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
848 // needed since those are flat...
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
849 @include button(normal);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
850
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
851 &:hover { @include button(hover); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
852
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
853 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
854 &:checked{ @include button(active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
855
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
856 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
857 @include button(insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
858
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
859 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
860 &:checked { @include button(insensitive-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
861 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
862
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
863 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
864 @include button(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
865
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
866 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
867 &:checked { @include button(backdrop-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
868
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
869 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
870 @include button(backdrop-insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
871
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
872 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
873 &:checked { @include button(backdrop-insensitive-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
874 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
875 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
876 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
877
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
878 // More inline toolbar buttons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
879 toolbar.inline-toolbar toolbutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
880 toolbar.inline-toolbar toolbutton:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
881 > button.flat { @extend %linked_middle; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
882
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
883 &:first-child > button.flat { @extend %linked:first-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
884
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
885 &:last-child > button.flat { @extend %linked:last-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
886
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
887 &:only-child > button.flat { @extend %linked:only-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
888 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
889
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
890 %linked_middle {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
891 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
892 border-right-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
893 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
894
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
895 %linked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
896 @extend %linked_middle;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
897
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
898 &:first-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
899 border-top-left-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
900 border-bottom-left-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
901 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
902
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
903 &:last-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
904 border-top-right-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
905 border-bottom-right-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
906 border-right-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
907 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
908
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
909 &:only-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
910 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
911 border-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
912 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
913 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
914
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
915 %linked_vertical_middle {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
916 border-style: solid solid none solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
917 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
918 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
919
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
920 %linked_vertical{
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
921 @extend %linked_vertical_middle;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
922
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
923 &:first-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
924 border-top-left-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
925 border-top-right-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
926 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
927
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
928 &:last-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
929 border-bottom-left-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
930 border-bottom-right-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
931 border-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
932 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
933
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
934 &:only-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
935 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
936 border-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
937 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
938 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
939
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
940 %undecorated_button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
941 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
942 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
943 border-color: transparent;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
944 box-shadow: inset 0 1px transparentize(white, 1),
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
945 0 1px transparentize(white, 1);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
946 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
947 -gtk-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
948 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
949
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
950 /* menu buttons */
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
951 modelbutton.flat,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
952 .menuitem.button.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
953 min-height: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
954 padding-left: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
955 padding-right: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
956 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
957 outline-offset: -2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
958
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
959 @extend %undecorated_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
960
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
961 &:hover { background-color: $popover_hover_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
962
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
963 &:selected { @extend %selected_items; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
964
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
965 &:backdrop,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
966 &:backdrop:hover { @extend %undecorated_button; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
967 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
968
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
969 modelbutton.flat arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
970 background: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
971
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
972 &:hover { background: none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
973
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
974 &.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
975
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
976 &.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
977 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
978
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
979 button.color {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
980 padding: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
981
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
982 colorswatch:only-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
983 &, overlay { border-radius: 0; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
984
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
985 @if $variant == 'light' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
986 box-shadow: 0 1px _text_shadow_color();
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
987
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
988 .osd & { box-shadow: none; }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
989 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
990 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
991
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
992 @if $variant == 'light' {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
993 .osd &, & {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
994 &:disabled,
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
995 &:backdrop,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
996 &:active,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
997 &:checked { colorswatch:only-child { box-shadow: none; }}
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
998 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
999 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1000 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1001
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1002
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1003 /*********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1004 * Links *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1005 *********/
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1006
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1007 %link,
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1008 *:link {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1009 color: $link_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1010
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1011 &:visited {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1012 color: $link_visited_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1013
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1014 *:selected & { color: mix($selected_fg_color, $selected_bg_color, 60%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1015 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1016
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1017 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1018 color: lighten($link_color,10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1019
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1020 *:selected & { color: mix($selected_fg_color, $selected_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
1021 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1022
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1023 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1024 color: $link_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1025
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1026 *:selected & { color: mix($selected_fg_color, $selected_bg_color, 80%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1027 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1028
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1029 &:backdrop { &:backdrop:hover, &:backdrop:hover:selected, & { 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
1030
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1031 @at-root %link_selected,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1032 &:selected,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1033 *:selected & { color: mix($selected_fg_color, $selected_bg_color, 80%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1034 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1035
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1036 button:link,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1037 button:visited {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1038 @extend %undecorated_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1039
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1040 @extend *:link;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1041
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1042 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
1043
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1044 &:hover,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1045 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1046 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1047 @extend %undecorated_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1048
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1049 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
1050 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1051
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1052 > label {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1053 @extend %link;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1054
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1055 text-decoration-line: underline;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1056 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1057 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1058
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1059
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1060 /*****************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1061 * GtkSpinButton *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1062 *****************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1063 spinbutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1064 &:not(.vertical) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1065 // in this horizontal configuration, the whole spinbutton
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1066 // behaves as the entry, so we extend the entry styling
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1067 // and nuke the style on the internal entry
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1068 @extend %entry;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1069
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1070 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1071
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1072 entry {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1073 min-width: 28px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1074 // reset all the other props since the spinbutton node is styled here
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1075 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1076 background: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1077 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
1078 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1079 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1080 box-shadow: none;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1081
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1082 &:backdrop:disabled { background-color: transparent; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1083 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1084
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1085 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1086 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1087 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1088 padding-bottom: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1089 padding-top: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1090 color: mix($fg_color, $base_color, 90%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1091 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
1092 border-style: none none none solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1093 border-color: transparentize($borders_color, 0.7);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1094 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1095 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
1096
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1097 &:dir(rtl) { border-style: none solid none none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1098
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1099 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1100 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
1101 background-color: $base_hover_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1102 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1103
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1104 &:disabled {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1105 color: transparentize($insensitive_fg_color, 0.7);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1106 background-color: transparent;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1107 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1108
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1109 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1110 background-color: 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
1111 box-shadow: inset 0 2px 3px -1px 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
1112 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1113
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1114 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1115 color: mix($backdrop_fg_color, $backdrop_base_color, 90%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1116 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
1117 border-color: transparentize($backdrop_borders_color, 0.7);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1118 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
1119 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1120
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1121 &:backdrop:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1122 color: transparentize($backdrop_insensitive_color,0.7);
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1123 background-color: transparent;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1124 border-style: none none none solid; // It is needed or it gets overridden
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1125
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1126 &:dir(rtl) { border-style: none solid none none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1127 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1128
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1129 &:dir(ltr):last-child { border-radius: 0 3px 3px 0; }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1130
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1131 &:dir(rtl):first-child { border-radius: 3px 0 0 3px; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1132 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1133 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1134
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1135 // OSD horizontal
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1136 .osd &:not(.vertical) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1137 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1138 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1139
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1140 color: $osd_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1141 border-style: none none none solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1142 border-color: transparentize($osd_borders_color, 0.3);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1143 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1144 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
1145 -gtk-icon-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1146
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1147 &:dir(rtl) { border-style: none solid none none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1148
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1149 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1150 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1151
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1152 color: $osd_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1153 border-color: transparentize(opacify($osd_borders_color, 1), 0.5);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1154 background-color: transparentize($osd_fg_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
1155 -gtk-icon-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1156 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
1157 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1158
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1159 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1160 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1161
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1162 color: $osd_fg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1163 border-color: transparentize(opacify($osd_borders_color, 1), 0.5);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1164 -gtk-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
1165 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
1166 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1167
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1168 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1169 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1170
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1171 color: $osd_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
1172 border-color: transparentize(opacify($osd_borders_color, 1), 0.5);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1173 -gtk-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
1174 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
1175 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1176
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1177 &:dir(ltr):last-child { border-radius: 0 3px 3px 0; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1178
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1179 &:dir(rtl):first-child { border-radius: 3px 0 0 3px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1180 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1181 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1182
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1183 // Vertical
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1184 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1185 // in the vertical configuration, we treat the spinbutton
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1186 // as a box, and tweak the style of the entry in the middle
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1187 // so that it's linked
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1188
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1189 // FIXME: this should not be set at all, but otherwise it gets the wrong
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1190 // color
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1191 &:disabled { color: $insensitive_fg_color; }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1192
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1193 &:backdrop:disabled { color: $backdrop_insensitive_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1194
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1195 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1196 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
1197 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
1198 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1199
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1200 entry {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1201 min-height: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1202 min-width: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1203 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1204 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1205 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1206
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1207 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1208 min-height: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1209 min-width: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1210 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1211
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1212 &.up { @extend %top_button; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1213
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1214 &.down { @extend %bottom_button; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1215 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1216
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1217 %top_button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1218 border-radius: 3px 3px 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1219 border-style: solid solid none solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1220 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1221
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1222 %bottom_button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1223 border-radius: 0 0 3px 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1224 border-style: none solid solid solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1225 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1226 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1227
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1228 // OSD vertical
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1229 .osd &.vertical button:first-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1230 @include button(osd);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1231
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1232 &:hover { @include button(osd-hover);}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1233
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1234 &:active { @include button(osd-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1235
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1236 &:disabled { @include button(osd-insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1237
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1238 &:backdrop { @include button(osd-backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1239 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1240
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1241 // Misc
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1242 treeview &:not(.vertical) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1243 min-height: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1244 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
1245 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1246
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1247 entry {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1248 min-height: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1249 padding: 1px 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1250 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1251 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1252 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1253
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1254
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1255 /**************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1256 * ComboBoxes *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1257 **************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1258 combobox {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1259 arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1260 -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1261 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1262 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1263 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1264
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1265 &.linked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1266 button:nth-child(2) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1267 &:dir(ltr) { @extend %linked:last-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1268 &:dir(rtl) { @extend %linked:first-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1269 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1270 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1271
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1272 &:drop(active) { // FIXME: untested
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1273 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
1274
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1275 button.combo { @extend %button_basic:drop(active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1276 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1277 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1278
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1279 .linked > combobox > box > button.combo {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1280 // the combo is a composite widget so the way we do button linking doesn't
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1281 // work, special case needed. See
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1282 // https://bugzilla.gnome.org/show_bug.cgi?id=733979
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1283
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1284 &:dir(ltr),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1285 &:dir(rtl) { @extend %linked_middle; } // specificity bump
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1286 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1287
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1288 .linked:not(.vertical) > combobox:first-child > box > button.combo { @extend %linked:first-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1289 .linked:not(.vertical) > combobox:last-child > box > button.combo { @extend %linked:last-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1290 .linked:not(.vertical) > combobox:only-child > box > button.combo { @extend %linked:only-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1291
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1292 .linked.vertical > combobox > box > button.combo { @extend %linked_vertical_middle; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1293 .linked.vertical > combobox:first-child > box > button.combo { @extend %linked_vertical:first-child;}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1294 .linked.vertical > combobox:last-child > box > button.combo { @extend %linked_vertical:last-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1295 .linked.vertical > combobox:only-child > box > button.combo { @extend %linked_vertical:only-child; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1296
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1297
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1298 /************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1299 * Toolbars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1300 ************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1301 %toolbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1302 -GtkWidget-window-dragging: true;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1303 padding: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1304 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
1305 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1306
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1307 toolbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1308 @extend %toolbar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1309
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1310 padding: 4px 3px 3px 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1311
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1312 // on OSD
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1313 .osd & { 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
1314
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1315 // stand-alone OSD toolbars
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1316 &.osd {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1317 padding: 13px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1318 border: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1319 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1320 background-color: $osd_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1321
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1322 &.left,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1323 &.right,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1324 &.top,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1325 &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1326 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1327
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1328 // toolbar separators
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1329 &.horizontal separator { margin: 0 7px 1px 6px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1330 &.vertical separator { margin: 6px 1px 7px 0; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1331
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1332 &:not(.inline-toolbar):not(.osd) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1333 switch,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1334 scale,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1335 entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1336 spinbutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1337 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1338 margin-right: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1339 margin-bottom: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1340 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1341 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1342 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1343
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1344 //searchbar, location-bar & inline-toolbar
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1345 .inline-toolbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1346 @extend %toolbar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1347
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1348 @extend %darkbar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1349
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1350 padding: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1351 border-width: 0 1px 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1352 border-radius: 0 0 5px 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1353 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1354
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1355 searchbar,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1356 .location-bar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1357 @extend %toolbar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1358
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1359 @extend %darkbar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1360
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1361 border-width: 0 0 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1362 padding: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1363 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1364
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1365 %darkbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1366 border-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1367 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
1368 $_bg: mix($bg_color, $borders_color, 70%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1369 background-color: $_bg;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1370
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1371 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1372 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
1373 background-color: $backdrop_dark_fill;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1374 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
1375 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
1376 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1377 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1378
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1379
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1380 /***************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1381 * Header bars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1382 ***************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1383 %titlebar,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1384 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1385 padding: 0 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1386 min-height: 46px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1387 border-width: 0 0 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1388 border-style: solid;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1389 border-color: $alt_borders_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1390 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1391
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1392 @include headerbar_fill;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1393
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1394 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1395 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
1396 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
1397 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
1398 box-shadow: inset 0 1px $top_hilight;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1399
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1400 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
1401 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1402
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1403 .title {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1404 padding-left: 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1405 padding-right: 12px;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1406 font-weight: bold;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1407 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1408
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1409 .subtitle {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1410 font-size: smaller;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1411 padding-left: 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1412 padding-right: 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1413
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1414 @extend .dim-label;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1415 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1416
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1417 &.selection-mode {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1418 $_hc: mix($top_hilight,$selected_bg_color, 50%); // hilight color
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1419
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1420 color: $selected_fg_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1421 border-color: $selected_borders_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1422 text-shadow: 0 -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
1423
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1424 @include headerbar_fill($selected_bg_color, $_hc);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1425
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1426 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1427 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
1428 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
1429 box-shadow: inset 0 1px mix($top_hilight, $selected_bg_color, 60%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1430 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1431
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1432 .subtitle:link { @extend *:link:selected; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1433
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1434 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1435 @include button(normal, $selected_bg_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
1436
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1437 &.flat { @include button(undecorated); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1438
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1439 &:hover { @include button(hover, $selected_bg_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
1440
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1441 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1442 &:checked { @include button(active, $selected_bg_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
1443
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1444 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1445 &.flat, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1446 @include button(backdrop, $selected_bg_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
1447
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1448 -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
1449 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1450
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1451 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1452 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1453 @include button(backdrop-active, $selected_bg_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
1454
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1455 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1456 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1457
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1458 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1459 @include button(backdrop-insensitive, $selected_bg_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
1460
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1461 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1462
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1463 &:active, &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1464 @include button(backdrop-insensitive-active, $selected_bg_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
1465
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1466 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1467 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1468 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1469 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1470 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1471
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1472 &.flat { &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1473
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1474 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1475 @include button(insensitive, $selected_bg_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
1476
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1477 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1478 &:checked { @include button(insensitive-active, $selected_bg_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
1479 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1480
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1481 &.suggested-action {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1482 @include button(normal);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1483
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1484 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1485
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1486 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1487 @include button(hover);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1488
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1489 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1490 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1491
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1492 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1493 @include button(active);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1494
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1495 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1496 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1497
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1498 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1499 @include button(insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1500
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1501 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1502 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1503
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1504 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1505 @include button(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1506
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1507 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1508 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1509
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1510 &:backdrop:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1511 @include button(backdrop-insensitive);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1512
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1513 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1514 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1515 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1516 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1517
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1518 .selection-menu {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1519 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1520 border-color: transparentize($selected_bg_color, 1);
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1521 background-color: transparentize($selected_bg_color, 1);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1522 background-image: none;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1523 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
1524 padding-left: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1525 padding-right: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1526
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1527 GtkArrow { -GtkArrow-arrow-scaling: 1; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1528
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1529 .arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1530 -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1531 color: transparentize($selected_fg_color,0.5);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1532 -gtk-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
1533 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1534 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1535 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1536 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1537
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1538 .tiled &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1539 .maximized & { &:backdrop, & { border-radius: 0; }} // squared corners when the window is maximized or tiled
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1540
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1541 &.default-decoration {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1542 min-height: 28px;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1543 padding: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1544
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1545 button.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1546 min-height: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1547 min-width: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1548 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1549 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1550 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1551 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1552
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1553 .solid-csd & {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1554 &:backdrop, & {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1555 &:dir(rtl), &:dir(ltr) { // specificity bump
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1556 margin-left: -1px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1557 margin-right: -1px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1558 margin-top: -1px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1559 border-radius: 0;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1560 box-shadow: none;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1561 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1562 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1563 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1564 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1565
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1566 headerbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1567 // add vertical margins to common widget on the headerbar to avoid them spanning the whole height
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1568 entry,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1569 spinbutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1570 separator,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1571 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1572 margin-top: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1573 margin-bottom: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1574 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1575 switch {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1576 margin-top: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1577 margin-bottom: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1578 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1579 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1580
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1581 .background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1582 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1583 border-top-left-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1584 border-top-right-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1585 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1586 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1587
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1588 headerbar { // headerbar border rounding
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1589 window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + &, // tackles the paned container case
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1590 window:not(.tiled):not(.maximized):not(.solid-csd) &:first-child { &:backdrop, & { border-top-left-radius: 7px; }}
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1591 window:not(.tiled):not(.maximized):not(.solid-csd) &:last-child { &:backdrop, & { border-top-right-radius: 7px; }}
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1592 window:not(.tiled):not(.maximized):not(.solid-csd) stack & { // tackles the stacked headerbars case
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1593 &:first-child, &:last-child {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1594 &:backdrop, & {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1595 border-top-left-radius: 7px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1596 border-top-right-radius: 7px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1597 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1598 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1599 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1600 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1601
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1602 .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
1603 window.csd > & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1604 // 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
1605 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1606 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
1607 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
1608 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
1609 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
1610 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
1611 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1612
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1613 > separator { background-color: $borders_color; } // FIXME: use darker border?
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1614
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1615 @extend %titlebar;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1616 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1617
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1618
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1619 /************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1620 * Pathbars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1621 ************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1622 .path-bar button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1623 &.text-button, &.image-button, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1624 padding-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1625 padding-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1626 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1627
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1628 &.text-button.image-button label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1629 padding-left: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1630 padding-right: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1631 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1632
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1633 &.text-button.image-button, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1634 label:last-child { padding-right: 8px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1635 label:first-child { padding-left: 8px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1636 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1637
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1638 image {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1639 padding-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1640 padding-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1641 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1642
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1643 &.slider-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1644 padding-left: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1645 padding-right: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1646 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1647 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1648
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1649 /**************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1650 * Tree Views *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1651 **************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1652 treeview.view {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1653 @at-root * {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1654 -GtkTreeView-horizontal-separator: 4;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1655 -GtkTreeView-grid-line-width: 1;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1656 -GtkTreeView-grid-line-pattern: '';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1657 -GtkTreeView-tree-line-width: 1;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1658 -GtkTreeView-tree-line-pattern: '';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1659 -GtkTreeView-expander-size: 16;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1660 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1661
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1662 border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1663 border-top-color: $bg_color; // while this is the grid lines color, better then nothing
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1664
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1665 rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1666
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1667 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1668 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1669 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1670
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1671 @extend %selected_items;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1672 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1673
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1674 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1675 border-left-color: mix($selected_fg_color, $selected_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
1676 border-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunatelly
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1677 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1678 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1679
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1680 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1681 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
1682
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1683 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1684 color: mix($selected_fg_color, $selected_bg_color, 40%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1685 &:backdrop { color: mix($backdrop_selected_fg_color, $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
1686 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1687
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1688 &:backdrop { color: $backdrop_insensitive_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1689 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1690
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1691 &.separator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1692 min-height: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1693 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
1694
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1695 &:backdrop { color: transparentize($bg_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
1696 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1697
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1698 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1699 border-left-color: mix($backdrop_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
1700 border-top: $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
1701 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1702 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1703 border-style: solid none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1704 border-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1705 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1706
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1707 &.after { border-top-style: none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1708
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1709 &.before { border-bottom-style: none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1710 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1711
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1712 &.expander {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1713 -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1714
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1715 &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1716
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1717 color: mix($text_color, $base_color, 70%);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1718
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1719 &:hover { color: $text_color; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1720
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1721 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1722 color: mix($selected_fg_color, $selected_bg_color, 70%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1723
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1724 &:hover { 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
1725
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1726 &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 70%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1727 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1728
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1729 &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1730
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1731 &:backdrop { color: mix($backdrop_fg_color, $backdrop_base_color, 70%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1732 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1733
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1734 &.progressbar { // progress bar in treeviews
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1735 @if $variant == light { color: $base_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1736
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1737 border: 1px solid $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1738 border-radius: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1739 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
1740 background-image: linear-gradient(to bottom,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1741 $selected_bg_color,
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1742 darken($selected_bg_color, 10%));
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1743 box-shadow: inset 0 1px if($variant=='light', transparentize(white, 0.7), transparentize(white, 0.85)),
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1744 0 1px if($variant=='light', transparentize(black, 0.8), transparentize(black, 0.9));
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1745
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1746 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1747 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1748 border-radius: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1749
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1750 @if $variant == 'light' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1751 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
1752 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
1753 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1754
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1755 @else { box-shadow: inset 0 1px transparentize(white, 0.95); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1756
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1757 background-image: linear-gradient(to bottom, $base_color, darken($base_color,10%));
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1758
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1759 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1760 @if $variant == 'light' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1761 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
1762 border-color: $selected_borders_color; // otherwise it gets inherited by .view(?!?)
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1763 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1764
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1765 @else { border-color: $backdrop_base_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1766
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1767 background-color: $backdrop_base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1768 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1769 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1770 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1771
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1772 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1773 @if $variant == 'light' { color: $backdrop_base_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1774
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1775 @else { border-color: $backdrop_base_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1776
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1777 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
1778 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
1779 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1780 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1781
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1782 &.trough { // progress bar trough in treeviews
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1783 background-color: transparentize($fg_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
1784 border-radius: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1785
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1786 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1787 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1788 background-color: if($variant == 'light',
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1789 transparentize($selected_fg_color, 0.7),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1790 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
1791 border-radius: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1792
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1793 @if $variant == 'light' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1794 border-width: 1px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1795 border-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1796 border-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
1797 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1798 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1799 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1800 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1801
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1802 header {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1803 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1804 $_column_header_color: mix($fg_color, $base_color, 50%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1805
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1806 @extend %column_header_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1807
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1808 color: $_column_header_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1809 background-color: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1810 font-weight: bold;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1811 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
1812 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
1813
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1814 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1815 @extend %column_header_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1816
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1817 color: mix($_column_header_color, $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
1818 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
1819 transition: none; //I shouldn't need this
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1820 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1821
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1822 &:active {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1823 @extend %column_header_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1824
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1825 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
1826 transition: none; //I shouldn't need this
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1827 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1828 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1829
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1830 button:last-child { &:backdrop, & { border-right-style: none; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1831 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1832
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1833 button.dnd,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1834 header.button.dnd { // for treeview-like derive widgets
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1835 &:active, &:selected, &:hover, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1836 padding: 0 6px;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1837 color: $base_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1838 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
1839 background-color: $selected_bg_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1840 border-style: none;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1841 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1842 box-shadow: inset 0 0 0 1px $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1843 text-shadow: none;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1844 transition: none;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1845 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1846 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1847
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1848 acceleditor > label { background-color: $selected_bg_color; } // see tests/testaccel to test
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1849 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1850
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1851 %column_header_button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1852 padding: 0 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1853 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
1854 border-style: none solid solid none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1855 border-color: $bg_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1856 border-radius: 0;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1857 text-shadow: none;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1858
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1859 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1860 border-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
1861 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
1862 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1863
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1864 &:backdrop {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1865 color: mix($backdrop_fg_color, $backdrop_bg_color, 50%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1866 border-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
1867 border-style: none solid solid none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1868 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
1869 background-color: $backdrop_base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1870
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1871 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1872 border-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
1873 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
1874 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1875 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1876 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1877
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1878
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1879 /*********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1880 * Menus *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1881 *********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1882 menubar,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1883 .menubar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1884 -GtkWidget-window-dragging: true;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1885 padding: 0px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1886 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
1887
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1888 &:backdrop { 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
1889
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1890 > menuitem {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1891 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1892 padding: 4px 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1893
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1894 &: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
1895 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
1896 color: $link_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1897 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1898
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1899 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1900 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
1901 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
1902 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1903 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1904 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1905
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1906 menu,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1907 .menu,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1908 .context-menu {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1909 margin: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1910 padding: 2px 0px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1911 background-color: $menu_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1912 border: 1px solid $borders_color; // adds borders in a non composited env
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1913
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1914 .csd & { border: none; } // axes borders in a composited env
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1915
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1916 &:backdrop { background-color: $backdrop_menu_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1917
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1918 menuitem {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1919 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1920 min-width: 40px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1921 padding: 4px 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1922 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
1923
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1924 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1925 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
1926 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
1927 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1928
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1929 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1930 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
1931 &:backdrop { color: $backdrop_insensitive_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1932 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1933
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1934 &:backdrop,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1935 &:backdrop:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1936 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
1937 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
1938 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1939
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1940 // submenu indicators
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1941 arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1942 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1943 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1944
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1945 &:dir(ltr) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1946 -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1947 margin-left: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1948 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1949
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1950 &:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1951 -gtk-icon-source:-gtk-icontheme('pan-end-symbolic-rtl');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1952 margin-right: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1953 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1954 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1955
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1956 // avoids labels color being overridden, see
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1957 // https://bugzilla.gnome.org/show_bug.cgi?id=767058
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1958 label { &:dir(rtl), &:dir(ltr) { color: inherit; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1959 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1960
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1961 // overflow arrows
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1962 > arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1963 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1964
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1965 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1966 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1967 padding: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1968 background-color: $menu_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1969 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1970
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1971 &.top {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1972 margin-top: -6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1973 border-bottom: 1px solid mix($fg_color, $base_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1974 -gtk-icon-source: -gtk-icontheme('pan-up-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1975 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1976
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1977 &.bottom {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1978 margin-bottom: -6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1979 border-top: 1px solid mix($fg_color, $base_color, 10%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1980 -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1981 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1982
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1983 &:hover { background-color: mix($fg_color, $base_color, 10%); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1984
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1985 &:backdrop { background-color: $backdrop_menu_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1986
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1987 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1988 color: transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1989 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
1990 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
1991 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1992 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1993 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1994
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1995 menuitem {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1996 accelerator { color: gtkalpha(currentColor,0.55); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1997
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1998 check,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1999 radio {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2000 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2001 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2002
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2003 &:dir(ltr) { margin-right: 7px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2004 &:dir(rtl) { margin-left: 7px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2005 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2006 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2007
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2008 /***************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2009 * Popovers *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2010 ***************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2011
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2012 popover.background {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2013 padding: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2014 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2015 background-color: $popover_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2016
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2017 .csd &, & { 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
2018
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2019 box-shadow: 0 1px 2px transparentize(black, 0.7);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2020
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2021 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2022 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
2023 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
2024 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2025
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2026 > list,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2027 > .view,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2028 > toolbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2029 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
2030 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
2031 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2032
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2033 .csd &, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2034 &.touch-selection,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2035 &.magnifier {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2036 @extend %osd;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2037
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2038 border: 1px solid transparentize(white, 0.9);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2039
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2040 button { @extend %osd_button };
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2041 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2042
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2043 &.osd { @extend %osd; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2044 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2045
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2046 separator { margin: 3px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2047
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2048 list separator { margin: 0px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2049 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2050
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2051 /*************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2052 * Notebooks *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2053 *************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2054 notebook {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2055 > header {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2056 padding: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2057 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
2058 border-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2059 background-color: $dark_fill;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2060
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2061 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2062 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
2063 background-color: $backdrop_dark_fill;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2064 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2065
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2066 tabs { margin: -1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2067
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2068 &.top {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2069 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
2070 > tabs {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2071 margin-bottom: -2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2072 > tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2073 &:hover { box-shadow: inset 0 -3px $borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2074
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2075 &:backdrop { 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
2076
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2077 &:checked { 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
2078 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2079 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2080 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2081
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2082 &.bottom {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2083 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
2084 > tabs {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2085 margin-top: -2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2086 > tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2087 &:hover { box-shadow: inset 0 3px $borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2088
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2089 &:backdrop { 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
2090
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2091 &:checked { 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
2092 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2093 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2094 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2095
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2096 &.left {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2097 border-right-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2098 > tabs {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2099 margin-right: -2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2100 > tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2101 &:hover { box-shadow: inset -3px 0 $borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2102
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2103 &:backdrop { 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
2104
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2105 &:checked { box-shadow: inset -3px 0 $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
2106 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2107 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2108 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2109
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2110 &.right {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2111 border-left-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2112 > tabs {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2113 margin-left: -2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2114 > tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2115 &:hover { box-shadow: inset 3px 0 $borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2116
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2117 &:backdrop { 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
2118
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2119 &:checked { box-shadow: inset 3px 0 $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
2120 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2121 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2122 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2123
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2124 &.top > tabs > arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2125 @extend %notebook_vert_arrows;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2126
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2127 border-top-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2128 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2129
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2130 &.bottom > tabs > arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2131 @extend %notebook_vert_arrows;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2132
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2133 border-bottom-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2134 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2135
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2136 @at-root %notebook_vert_arrows {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2137 margin-left: -5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2138 margin-right: -5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2139 padding-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2140 padding-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2141
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2142 &.down { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2143
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2144 &.up { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2145 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2146
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2147 &.left > tabs > arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2148 @extend %notebook_horz_arrows;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2149
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2150 border-left-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2151 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2152
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2153 &.right > tabs > arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2154 @extend %notebook_horz_arrows;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2155
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2156 border-right-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2157 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2158
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2159 @at-root %notebook_horz_arrows {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2160 margin-top: -5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2161 margin-bottom: -5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2162 padding-top: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2163 padding-bottom: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2164
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2165 &.down { -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2166
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2167 &.up { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2168 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2169
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2170 > tabs > arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2171 @extend %button_basic;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2172
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2173 @extend %button_basic.flat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2174
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2175 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2176 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2177 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2178
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2179 &:hover:not(:active):not(:backdrop) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2180 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
2181 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
2182 background-color: transparentize(white, 0.7);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2183 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
2184 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
2185 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2186
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2187 &:disabled { @include button(undecorated); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2188 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2189
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2190 tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2191 min-height: 30px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2192 min-width: 30px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2193 padding: 3px 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2194
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2195 outline-offset: -5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2196
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2197 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
2198 font-weight: bold;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2199
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2200 border-width: 1px; // for reorderable tabs
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2201 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
2202
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2203 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2204 color: mix($insensitive_fg_color, $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
2205
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2206 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2207 border-color: transparentize($borders_color, 0.7);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2208 background-color: transparentize($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
2209 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2210 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2211
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2212 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2213 color: mix($backdrop_fg_color, $backdrop_bg_color, 60%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2214
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2215 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2216 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
2217 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
2218 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2219 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2220
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2221 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2222 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
2223 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2224 border-color: transparentize($borders_color, 0.5);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2225 background-color: transparentize($bg_color, 0.5);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2226
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2227 &:hover { background-color: transparentize($bg_color, 0.3); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2228 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2229 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2230
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2231 &:backdrop:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2232 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
2233
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2234 &.reorderable-page {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2235 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
2236 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
2237 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2238 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2239
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2240 // colors the button like the label, overridden otherwise
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2241 button.flat {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2242 &:hover { color: currentColor; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2243
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2244 &, &:backdrop { color: gtkalpha(currentColor, 0.3); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2245
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2246 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2247 margin-top: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2248 margin-bottom: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2249 // FIXME: generalize .small-button?
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2250 min-width: 20px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2251 min-height: 20px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2252
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2253 &:last-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2254 margin-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2255 margin-right: -4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2256 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2257
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2258 &:first-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2259 margin-left: -4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2260 margin-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2261 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2262 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2263 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2264
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2265 &.top,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2266 &.bottom {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2267 tabs {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2268 padding-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2269 padding-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2270
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2271 &:not(:only-child) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2272 margin-left: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2273 margin-right: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2274
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2275 &:first-child { margin-left: -1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2276 &:last-child { margin-right: -1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2277 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2278
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2279 tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2280 margin-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2281 margin-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2282
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2283 &.reorderable-page { border-style: none solid; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2284 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2285 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2286 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2287
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2288 &.left,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2289 &.right {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2290 tabs {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2291 padding-top: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2292 padding-bottom: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2293
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2294 &:not(:only-child) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2295 margin-top: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2296 margin-bottom: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2297
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2298 &:first-child { margin-top: -1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2299 &:last-child { margin-bottom: -1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2300 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2301
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2302 tab {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2303 margin-top: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2304 margin-bottom: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2305
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2306 &.reorderable-page { border-style: solid none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2307 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2308 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2309 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2310
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2311 &.top tab { padding-bottom: 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2312 &.bottom tab { padding-top: 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2313 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2314
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2315 > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2316 background-color: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2317
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2318 &:backdrop { background-color: $backdrop_base_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2319 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2320 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2321
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2322
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2323 /**************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2324 * Scrollbars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2325 **************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2326 scrollbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2327 $_slider_min_length: 40px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2328
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2329 // disable steppers
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2330 @at-root * {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2331 -GtkScrollbar-has-backward-stepper: false;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2332 -GtkScrollbar-has-forward-stepper: false;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2333 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2334
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2335 background-color: $scrollbar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2336 transition: 300ms $ease-out-quad;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2337
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2338 // scrollbar border
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2339 &.top { border-bottom: 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
2340 &.bottom { border-top: 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
2341 &.left { border-right: 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
2342 &.right { border-left: 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
2343
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2344 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2345 background-color: $backdrop_scrollbar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2346 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
2347 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
2348 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2349
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2350 // slider
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2351 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2352 min-width: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2353 min-height: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2354 margin: -1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2355 border: 4px solid transparent;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2356 border-radius: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2357 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
2358 background-color: $scrollbar_slider_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2359
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2360 &:hover { background-color: $scrollbar_slider_hover_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2361
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2362 &:hover:active { background-color: $scrollbar_slider_active_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2363
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2364 &:backdrop { background-color: $backdrop_scrollbar_slider_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2365
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2366 &:disabled { 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
2367 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2368
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2369 &.fine-tune {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2370 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2371 min-width: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2372 min-height: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2373 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2374
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2375 &.horizontal slider { border-width: 5px 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2376 &.vertical slider { border-width: 4px 5px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2377 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2378
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2379 &.overlay-indicator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2380 &:not(.dragging):not(.hovering) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2381 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
2382 opacity: 0.4;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2383 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
2384
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2385 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2386 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2387 min-width: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2388 min-height: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2389 background-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
2390 border: 1px solid if($variant == 'light', white, black);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2391 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2392
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2393 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2394 min-width: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2395 min-height: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2396 background-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
2397 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
2398 border-radius: 100%;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2399 border: 1px solid if($variant == 'light', white, black);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2400 -gtk-icon-source: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2401 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2402
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2403 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2404 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2405 margin: 0 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2406 min-width: $_slider_min_length;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2407 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2408
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2409 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2410 margin: 1px 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2411 min-width: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2412 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2413 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2414
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2415 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2416 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2417 margin: 2px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2418 min-height: $_slider_min_length;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2419 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2420
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2421 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2422 margin: 2px 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2423 min-height: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2424 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2425 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2426 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2427
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2428 &.dragging,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2429 &.hovering { opacity: 0.8; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2430 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2431
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2432 &.horizontal slider { min-width: $_slider_min_length; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2433
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2434 &.vertical slider { min-height: $_slider_min_length; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2435
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2436 // button styling
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2437 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2438 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2439 min-width: 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2440 min-height: 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2441 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
2442 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2443 transition-property: min-height, min-width, color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2444
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2445 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2446
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2447 color: $scrollbar_slider_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2448
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2449 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2450 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2451
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2452 color: $scrollbar_slider_hover_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2453 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2454 &:active, &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2455 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2456
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2457 color: $scrollbar_slider_active_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2458 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2459 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2460 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2461
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2462 color: transparentize($scrollbar_slider_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
2463 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2464 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2465 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2466
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2467 color: $backdrop_scrollbar_slider_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2468
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2469 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2470 @include button(undecorated);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2471
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2472 color: transparentize($backdrop_scrollbar_slider_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
2473 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2474 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2475 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2476
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2477 // button icons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2478 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2479 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2480 &.down { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2481
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2482 &.up { -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2483 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2484 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2485
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2486 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2487 button {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2488 &.down { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2489
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2490 &.up { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2491 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2492 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2493 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2494
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2495 treeview ~ scrollbar.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2496 border-top: 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
2497 margin-top: -1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2498 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2499
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2500 /**********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2501 * Switch *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2502 **********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2503 switch {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2504 font-weight: bold;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2505 font-size: smaller;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2506 outline-offset: -4px;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2507
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2508 // similar to the .scale
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2509 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
2510 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2511 color: $fg_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2512 background-color: $dark_fill;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2513 text-shadow: 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
2514
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2515 &:checked {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2516 color: $selected_fg_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2517 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2518 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
2519 text-shadow: 0 1px transparentize($selected_borders_color, 0.5),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2520 0 0 2px transparentize(white, 0.4);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2521 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2522
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2523 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2524 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
2525 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
2526 background-color: $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
2527 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
2528 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2529
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2530 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2531 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
2532 border-color: $backdrop_borders_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2533 background-color: $backdrop_dark_fill;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2534 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
2535 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
2536
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2537 &:checked {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2538 @if $variant == 'light' { 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
2539 border-color: if($variant == 'light', $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
2540 $selected_borders_color);
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2541 background-color: $selected_bg_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2542 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2543
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2544 &:disabled {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2545 color: $backdrop_insensitive_color;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2546 border-color: $backdrop_borders_color;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2547 background-color: $insensitive_bg_color;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2548 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2549 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2550
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2551 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2552 margin: -1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2553 min-width: 44px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2554 min-height: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2555 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2556 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2557 transition: $button_transition;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2558
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2559 @include button(normal-alt, $edge: $shadow_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2560 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2561
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2562 &:hover slider { @include button(hover-alt, $edge: $shadow_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2563
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2564 &:checked slider { border: 1px solid $selected_borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2565
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2566 &:disabled slider { @include button(insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2567
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2568 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2569 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2570 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
2571
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2572 @include button(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2573 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2574
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2575 &:checked slider { border-color: if($variant == 'light', $selected_bg_color, $selected_borders_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2576
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2577 &:disabled slider { @include button(backdrop-insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2578 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2579
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2580 row:selected & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2581 @if $variant == 'light' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2582 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
2583 border-color: $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2584
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2585 &:backdrop { border-color: $selected_borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2586
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2587 &.slider:dir(rtl) { border-left-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
2588 &.slider:dir(ltr) { border-right-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
2589
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2590 &.slider { &:checked, & { border-color: $selected_borders_color; } }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2591 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2592 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2593 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2594
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2595
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2596 /*************************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2597 * Check and Radio items *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2598 *************************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2599 // draw regular check and radio items using our PNG assets
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2600 // all assets are rendered from assets.svg. never add pngs directly
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2601
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2602
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2603 //selection-mode
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2604 @each $s,$as in ('','-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2605 (':hover', '-hover-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2606 (':active', '-active-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2607 (':backdrop', '-backdrop-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2608 (':checked', '-checked-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2609 (':checked:hover', '-checked-hover-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2610 (':checked:active', '-checked-active-selectionmode'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2611 (':backdrop:checked', '-checked-backdrop-selectionmode') {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2612 .view.content-view.check#{$s}:not(list),
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2613 .content-view .tile check#{$s}:not(list) {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2614 -gtk-icon-shadow: none;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2615 -gtk-icon-source: -gtk-scaled(url("assets/checkbox#{$as}.png"), url("assets/checkbox#{$as}@2.png"));
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2616 background-color: transparent;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2617 min-width: 40px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2618 min-height: 40px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2619 background-image: none;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2620 transition: none;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2621 box-shadow: none;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2622 border-width: 0;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2623 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2624 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2625
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2626 checkbutton.text-button, radiobutton.text-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2627 // this is for a nice focus on check and radios text
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2628 padding: 2px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2629 outline-offset: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2630
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2631 label:not(:only-child) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2632 &:first-child { margin-left: 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2633 &:last-child { margin-right: 4px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2634 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2635 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2636
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2637 check,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2638 radio {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2639 margin: 0 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2640
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2641 &:only-child { margin: 0; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2642
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2643 min-height: 14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2644 min-width: 14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2645 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2646 -gtk-icon-source: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2647
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2648 @include button(normal-alt, $edge: $shadow_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2649
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2650 &:hover { @include button(hover-alt, $edge: $shadow_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2651 &:active { @include button(active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2652 &:disabled { @include button(insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2653 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2654 @include button(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2655
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2656 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
2657
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2658 &:disabled { @include button(backdrop-insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2659 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2660
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2661 @if $variant == 'light' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2662 // the borders of the light variant versions of checks and radios are too similar in luminosity to the selected background
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2663 // color, hence we need special casing.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2664 row:selected & { border-color: $selected_borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2665 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2666
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2667 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2668 @include button(osd);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2669
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2670 &:hover { @include button(osd); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2671 &:active { @include button(osd-active); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2672 &:backdrop { @include button(osd-backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2673 &:disabled { @include button(osd-insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2674 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2675
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2676 menu menuitem & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2677 margin: 0; // this is a workaround for a menu check/radio size allocation issue
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2678
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2679 &, &:hover, &:disabled { //FIXME use button reset mixin
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2680 min-height: 14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2681 min-width: 14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2682 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
2683 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
2684 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
2685 -gtk-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
2686 color: inherit;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2687 border-color: currentColor;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2688 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2689 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2690 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2691
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2692 %check,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2693 check {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2694 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2695
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2696 &:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2697 -gtk-recolor(url("assets/check-symbolic.symbolic.png"))); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2698
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2699 &:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2700 -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2701 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2702
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2703 %radio,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2704 radio {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2705 border-radius: 100%;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2706
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2707 &:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2708 -gtk-recolor(url("assets/bullet-symbolic.symbolic.png"))); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2709
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2710 &:indeterminate { -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2711 -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2712 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2713
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2714 // ANIMATION:
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2715 // this is made with those pretty convoluted transitions, since checks and radios have to animate only on state changes,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2716 // the transformation is set on the active state and it get reset on the checked state.
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2717 radio:not(:indeterminate):not(:checked):active:not(:backdrop) { -gtk-icon-transform: scale(0); }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2718
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2719 check:not(:indeterminate):not(:checked):active:not(:backdrop) { -gtk-icon-transform: translate(6px, -3px) rotate(-45deg) scaleY(0.2) rotate(45deg) scaleX(0); }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2720
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2721 radio,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2722 check {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2723 &:active { -gtk-icon-transform: scale(0, 1); } // should tackle the indeterminate state, untested
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2724
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2725 &:checked:not(:backdrop), &:indeterminate:not(:backdrop) {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2726 -gtk-icon-transform: unset;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2727 transition: 400ms;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2728 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2729 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2730
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2731 menu menuitem {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2732 radio,
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2733 check {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2734 &:checked:not(:backdrop), &:indeterminate:not(:backdrop) { transition: none; }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2735 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2736 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2737
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2738 treeview.view check,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2739 treeview.view radio {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2740 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2741 &:focus, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2742 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
2743
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2744 @if $variant == 'light' { border-color: $selected_borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2745 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2746
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2747 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2748 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
2749
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2750 &:backdrop { color: $backdrop_insensitive_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2751 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2752 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2753
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2754 &:backdrop { &:selected, & { 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
2755 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2756
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2757 treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a workaround
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2758
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2759
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2760 /************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2761 * GtkScale *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2762 ************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2763 %scale_trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2764 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
2765 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2766 background-color: $dark_fill;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2767
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2768 &:disabled { background-color: $insensitive_bg_color; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2769
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2770 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2771 background-color: $backdrop_dark_fill;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2772 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
2773 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
2774
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2775 &:disabled { background-color: $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
2776 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2777
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2778 // ...on selected list rows
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2779 row:selected & { &:disabled, & { border-color: $selected_borders_color; }}
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2780
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2781 // OSD
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2782 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2783 border-color: $osd_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2784 background-color: transparentize($osd_borders_color, 0.2);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2785
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2786 &:disabled { background-color: $osd_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
2787 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2788 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2789
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2790 %scale_highlight {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2791 border: 1px solid $selected_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2792 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2793 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
2794
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2795 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2796 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
2797 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
2798 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2799
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2800 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2801 border-color: if($variant=='light', $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
2802 $selected_borders_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2803 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2804 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
2805 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
2806 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2807 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2808
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2809 // ...on selected list rows
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2810 row:selected & { &:disabled, & { border-color: $selected_borders_color; }}
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2811
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2812 // OSD
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2813 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2814 border-color: $osd_borders_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2815
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2816 &:disabled { 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
2817 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2818 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2819
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2820 scale {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2821 // sizing
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2822 $_marks_lenght: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2823 $_marks_distance: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2824
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2825 min-height: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2826 min-width: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2827 padding: 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2828
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2829 // those are inside the trough node, I need them to show their own border over the trough one, so negative margin
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2830 fill,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2831 highlight { margin: -1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2832
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2833 // the slider is inside the trough, so to have make it bigger there's a negative margin
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2834
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2835 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2836 min-height: 18px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2837 min-width: 18px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2838 margin: -9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2839 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2840
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2841 // click-and-hold the slider to activate
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2842 &.fine-tune {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2843 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2844 padding-top: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2845 padding-bottom: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2846 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2847 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2848
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2849 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2850 padding-left: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2851 padding-right: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2852 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2853 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2854
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2855 // to make the trough grow in fine-tune mode
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2856 slider { margin: -6px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2857
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2858 fill,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2859 highlight,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2860 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2861 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2862 -gtk-outline-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2863 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2864 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2865
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2866 // the backing bit
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2867 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2868 @extend %scale_trough;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2869
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2870 outline-offset: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2871 -gtk-outline-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2872 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2873
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2874 // the colored part of the backing bit
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2875 highlight { @extend %scale_highlight; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2876
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2877 // this is another differently styled part of the backing bit, the most relevant use case is for example
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2878 // in media player to indicate how much video stream as been cached
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2879 fill {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2880 @extend %scale_trough;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2881
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2882 &:backdrop, & { background-color: $borders_color; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2883
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2884 &:disabled {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2885 &:backdrop, & {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2886 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
2887 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
2888 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2889 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2890
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2891 // OSD
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2892 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2893 background-color: mix($osd_fg_color, $osd_borders_color, 25%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2894
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2895 &:disabled {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2896 &:backdrop, & {
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2897 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
2898 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
2899 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2900 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2901 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2902 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2903
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2904 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2905 @include button(normal-alt, $edge: $shadow_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2906
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2907 border: 1px solid darken($alt_borders_color, 3%);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2908 border-radius: 100%;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2909 transition: $button_transition;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2910 transition-property: background, border, box-shadow;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2911
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2912 &:hover { @include button(hover-alt, $edge: $shadow_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2913
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2914 &:active { border-color: $selected_borders_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2915
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2916 &:disabled { @include button(insensitive); }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2917
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2918 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2919 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
2920
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2921 @include button(backdrop);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2922
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2923 &:disabled { @include button(backdrop-insensitive); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2924 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2925
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2926 // ...on selected list rows
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2927 row:selected & { &:disabled, & { border-color: $selected_borders_color; } }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2928
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2929 // OSD
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2930 .osd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2931 @include button(osd);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2932 border-color: darken($osd_borders_color, 3%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2933 background-color: opacify($osd_bg_color, 1); // solid background needed here
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2934
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2935 &:hover {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2936 @include button(osd-hover);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2937 background-color: opacify($osd_bg_color, 1); // solid background needed here
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2938 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2939
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2940 &:active {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2941 @include button(osd-active);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2942 background-color: opacify($osd_bg_color, 1); // solid background needed here
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2943 }
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2944
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2945 &:disabled {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2946 @include button(osd-insensitive);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2947 background-color: opacify($osd_bg_color, 1); // solid background needed here
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2948 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2949
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2950 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2951 @include button(osd-backdrop);
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2952 background-color: opacify($osd_bg_color, 1); // solid background needed here
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2953
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2954 &:disabled {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2955 @include button(osd-backdrop-insensitive);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2956 background-color: opacify($osd_bg_color, 1); // solid background needed here
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2957 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2958 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2959 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2960 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2961
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2962 value { color: gtkalpha(currentColor, 0.55); }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2963
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2964 marks {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2965 color: gtkalpha(currentColor, 0.55);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2966
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2967 @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2968 (bottom, bottom, top),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2969 (top, left, right),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2970 (bottom, right, left) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2971 &.#{$marks_class} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2972 margin-#{$marks_margin}: $_marks_distance;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2973 margin-#{$marks_pos}: -($_marks_distance + $_marks_lenght);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2974 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2975 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2976 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2977
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2978 &.fine-tune marks {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2979 @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2980 (bottom, bottom, top),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2981 (top, left, right),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2982 (bottom, right, left) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2983 &.#{$marks_class} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2984 margin-#{$marks_margin}: $_marks_distance;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2985 margin-#{$marks_pos}: -($_marks_distance + $_marks_lenght - 3px);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2986 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2987 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2988 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2989
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2990 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2991 indicator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2992 min-height: $_marks_lenght;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2993 min-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2994 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2995
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2996 &.fine-tune indicator { min-height: ($_marks_lenght - 3px); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2997 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2998
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2999 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3000 indicator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3001 min-height: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3002 min-width: $_marks_lenght;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3003 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3004
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3005 &.fine-tune indicator { min-width: ($_marks_lenght - 3px); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3006 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3007
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3008 // *WARNING* scale with marks madness following
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3009
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3010 // FIXME: OSD and selected list rows missing, I don't feel like adding the other 144 assets needed for those...
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3011 $suffix: if($variant == 'light', '', '-dark');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3012
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3013 @each $dir_class, $dir_infix in ('horizontal', 'horz'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3014 ('vertical', 'vert') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3015 @each $marks_infix, $marks_class in ('scale-has-marks-above', 'marks-before:not(.marks-after)'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3016 ('scale-has-marks-below', 'marks-after:not(.marks-before)') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3017 @each $state, $state_infix in ('', ''),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3018 (':hover', '-hover'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3019 (':active', '-active'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3020 (':disabled', '-insensitive'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3021 (':backdrop', '-backdrop'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3022 (':backdrop:disabled', '-backdrop-insensitive') {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3023 &.#{$dir_class}.#{$marks_class} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3024
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3025 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3026 &#{$state} {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3027 // an asymmetric slider asset is used here, so the margins are uneven, the smaller
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3028 // margin is set on the point side.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3029 margin: -10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3030 $_scale_asset: 'assets/slider-#{$dir_infix}-#{$marks_infix}#{$state_infix}#{$suffix}';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3031 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
3032 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3033
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3034 background-color: transparent;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3035 background-image: -gtk-scaled(url('#{$_scale_asset}.png'), url('#{$_scale_asset}@2.png'));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3036
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3037 $_scale_slider_bg_pos: bottom;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3038
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3039 @if $dir_class == 'horizontal' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3040 min-height: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3041 min-width: 22px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3042
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3043 @if $marks_infix == 'scale-has-marks-above' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3044 margin-top: -14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3045
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3046 $_scale_slider_bg_pos: top;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3047 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3048
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3049 @else { margin-bottom: -14px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3050 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3051
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3052 @else {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3053 min-height: 22px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3054 min-width: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3055
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3056 @if $marks_infix == 'scale-has-marks-above' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3057 margin-left: -14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3058
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3059 $_scale_slider_bg_pos: left bottom;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3060 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3061
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3062 @else {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3063 margin-right: -14px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3064
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3065 $_scale_slider_bg_pos: right bottom;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3066 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3067 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3068
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3069 background-position: $_scale_slider_bg_pos;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3070 background-repeat: no-repeat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3071 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
3072 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3073 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3074
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3075 &.fine-tune slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3076 // bigger negative margins to make the trough grow here as well
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3077 margin: -7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3078
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3079 @if $dir_class == 'horizontal' {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3080 @if $marks_infix == 'scale-has-marks-above' { margin-top: -11px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3081
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3082 @else { margin-bottom: -11px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3083 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3084
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3085 @else {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3086 @if $marks_infix == 'scale-has-marks-above' { margin-left: -11px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3087
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3088 @else { margin-right: -11px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3089 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3090 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3091 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3092 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3093 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3094 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3095
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3096 &.color {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3097 min-height: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3098 min-width: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3099
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3100 trough {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3101 background-image: image($borders_color);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3102 background-repeat: no-repeat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3103 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3104
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3105 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3106 padding: 0 0 15px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3107
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3108 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3109 padding-bottom: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3110 background-position: 0 -3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3111 border-top-left-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3112 border-top-right-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3113 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3114
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3115 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3116 &:dir(ltr), &:dir(rtl) { // specificity bumb
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3117 &:hover, &: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
3118 margin-bottom: -15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3119 margin-top: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3120 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3121 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3122 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3123 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3124
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3125 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3126 &:dir(ltr) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3127 padding: 0 0 0 15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3128
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3129 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3130 padding-left: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3131 background-position: 3px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3132 border-bottom-right-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3133 border-top-right-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3134 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3135
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3136 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3137 &:hover, &: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
3138 margin-left: -15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3139 margin-right: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3140 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3141 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3142 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3143
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3144 &:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3145 padding: 0 15px 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3146
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3147 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3148 padding-right: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3149 background-position: -3px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3150 border-bottom-left-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3151 border-top-left-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3152 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3153
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3154 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3155 &:hover, &: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
3156 margin-right: -15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3157 margin-left: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3158 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3159 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3160 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3161 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3162
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3163 &.fine-tune {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3164 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3165 &:dir(ltr), &:dir(rtl) { // specificity bump
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3166 padding: 0 0 12px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3167
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3168 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3169 padding-bottom: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3170 background-position: 0 -6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3171 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3172
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3173 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3174 margin-bottom: -15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3175 margin-top: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3176 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3177 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3178 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3179
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3180 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3181 &:dir(ltr) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3182 padding: 0 0 0 12px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3183
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3184 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3185 padding-left: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3186 background-position: 6px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3187 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3188
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3189 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3190 margin-left: -15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3191 margin-right: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3192 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3193 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3194
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3195 &:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3196 padding: 0 12px 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3197
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3198 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3199 padding-right: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3200 background-position: -6px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3201 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3202
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3203 slider {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3204 margin-right: -15px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3205 margin-left: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3206 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3207 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3208 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3209 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3210 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3211 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3212
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3213
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3214 /*****************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3215 * Progress bars *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3216 *****************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3217 progressbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3218 // sizing
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3219 &.horizontal {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3220 trough,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3221 progress { min-height: 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3222 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3223
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3224 &.vertical {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3225 trough,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3226 progress { min-width: 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3227 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3228
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3229 &.horizontal progress { margin: 0 -1px; } // the progress node is positioned after the trough border
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3230 &.vertical progress { margin: -1px 0; } // this moves it over it.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3231
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3232
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3233 // FIXME: insensitive state missing and some other state should be set probably
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3234 font-size: smaller;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3235 color: transparentize($fg_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
3236
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3237 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3238 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
3239 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
3240 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3241
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3242 trough { @extend %scale_trough; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3243
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3244 &:backdrop trough { @extend %scale_trough:backdrop; } // looks like states are not passed to the trough component here
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3245
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3246 progress {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3247 @extend %scale_highlight;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3248
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3249 border-radius: 1.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3250
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3251 &.left {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3252 border-top-left-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3253 border-bottom-left-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3254 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3255
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3256 &.right {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3257 border-top-right-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3258 border-bottom-right-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3259 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3260
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3261 &.top {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3262 border-top-right-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3263 border-top-left-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3264 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3265
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3266 &.bottom {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3267 border-bottom-right-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3268 border-bottom-left-radius: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3269 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3270 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3271
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3272 &:backdrop progress { @extend %scale_highlight:backdrop; } // states not passed here as well
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3273
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3274 &.osd { // progressbar.osd used for epiphany page loading progress
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3275 min-width: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3276 min-height: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3277 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
3278
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3279 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3280 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
3281 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3282 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
3283 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
3284 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3285
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3286 progress {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3287 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
3288 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3289 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3290 }
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3291
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3292 trough.empty progress { all: unset; } // makes the progress indicator disappear, when the fraction is 0
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3293 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3294
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3295
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3296 /*************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3297 * Level Bar *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3298 *************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3299 levelbar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3300 block {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3301 min-width: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3302 min-height: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3303 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3304
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3305 &.vertical block {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3306 min-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3307 min-height: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3308 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3309
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3310 &:backdrop { 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
3311
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3312 trough {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3313 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3314 padding: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3315 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3316 @include entry(normal);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3317
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3318 &:backdrop { @include entry(backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3319 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3320
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3321 &.horizontal.discrete block { margin: 0 1px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3322
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3323 &.vertical.discrete block { margin: 1px 0; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3324
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3325 block {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3326 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3327 border-radius: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3328
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3329 &.low {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3330 border-color: if($variant == 'light', darken($warning_color, 20%), $warning_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3331 background-color: $warning_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3332
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3333 &:backdrop { border-color: $warning_color; };
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3334 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3335
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3336 &.high,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3337 &:not(.empty) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3338 border-color: if($variant == 'light', darken($selected_bg_color, 20%), $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
3339 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
3340
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3341 &:backdrop { border-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
3342 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3343
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3344 &.full {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3345 border-color: if($variant == 'light', darken($success_color, 20%), $success_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3346 background-color: $success_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3347
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3348 &:backdrop { border-color: $success_color; };
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3349 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3350
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3351 &.empty {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3352 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
3353 border-color: if($variant == 'light', transparentize($fg_color,0.8), transparentize($fg_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
3354
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3355 &:backdrop { border-color: transparentize($backdrop_fg_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
3356 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3357 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3358 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3359
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3360
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3361 /****************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3362 * Print dialog *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3363 *****************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3364 printdialog {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3365 paper {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3366 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
3367 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
3368 background: white;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3369 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3370
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3371 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3372 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
3373 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
3374 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3375 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3376
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3377 .dialog-action-box { margin: 12px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3378 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3379
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3380
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3381 /**********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3382 * Frames *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3383 **********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3384 frame > border,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3385 .frame {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3386 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
3387 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3388 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3389 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3390 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
3391
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3392 &.flat { 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
3393
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3394 &:backdrop { 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
3395 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3396
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3397 actionbar > revealer > box {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3398 padding: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3399 border-top: 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
3400
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3401 &:backdrop { 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
3402 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3403
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3404 scrolledwindow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3405 viewport.frame { // avoid double borders when viewport inside scrolled window
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3406 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
3407 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3408
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3409 // This is used when content is touch-dragged past boundaries.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3410 // draws a box on top of the content, the size changes programmatically.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3411 overshoot {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3412 &.top {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3413 @include overshoot(top);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3414
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3415 &:backdrop { @include overshoot(top, backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3416 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3417
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3418 &.bottom {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3419 @include overshoot(bottom);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3420
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3421 &:backdrop { @include overshoot(bottom, backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3422 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3423
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3424 &.left {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3425 @include overshoot(left);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3426
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3427 &:backdrop { @include overshoot(left, backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3428 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3429
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3430 &.right {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3431 @include overshoot(right);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3432
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3433 &:backdrop { @include overshoot(right, backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3434 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3435 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3436
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3437 // Overflow indication, works similarly to the overshoot, the size if fixed tho.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3438 undershoot {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3439 &.top { @include undershoot(top); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3440
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3441 &.bottom { @include undershoot(bottom); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3442
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3443 &.left { @include undershoot(left); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3444
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3445 &.right { @include undershoot(right); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3446 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3447
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3448 junction { // the small square between two scrollbars
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3449 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
3450 // the border image is used to add the missing dot between the borders, details, details, details...
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3451 border-image: linear-gradient(to bottom, $borders_color 1px, transparent 1px) 0 0 0 1 / 0 1px stretch;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3452 background-color: $scrollbar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3453
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3454 &:dir(rtl) { border-image-slice: 0 1 0 0; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3455
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3456 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3457 border-image-source: linear-gradient(to bottom, $backdrop_borders_color 1px, transparent 1px);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3458 background-color: $backdrop_scrollbar_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3459 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
3460 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3461 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3462 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3463
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3464 //vbox and hbox separators
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3465 separator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3466 background: 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
3467 min-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3468 min-height: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3469 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3470
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3471
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3472 /*********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3473 * Lists *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3474 *********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3475 list {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3476 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
3477 background-color: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3478 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
3479
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3480 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3481 background-color: $backdrop_base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3482 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
3483 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3484
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3485 row { padding: 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3486 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3487
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3488 row {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3489 transition: all 150ms $ease-out-quad;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3490
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3491 &:hover { transition: none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3492
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3493 &:backdrop { 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
3494
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3495 &.activatable {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3496 &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3497
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3498 &:hover { background-color: if(variant == light, transparentize($fg_color, 0.9), transparentize($fg_color, 0.95)); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3499
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3500 &:active { 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
3501
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3502 &:backdrop:hover { 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
3503
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3504 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3505 &: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
3506
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3507 &.has-open-popup,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3508 &:hover { 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
3509
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3510 &: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
3511 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3512 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3513
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3514 &:selected { @extend %selected_items; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3515 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3516
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3517
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3518 /*********************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3519 * App Notifications *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3520 *********************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3521 .app-notification,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3522 .app-notification.frame {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3523 @extend %osd;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3524
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3525 padding: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3526 border-radius: 0 0 5px 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3527 background-color: $osd_bg_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3528 background-image: linear-gradient(to bottom, 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
3529 transparent 2px);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3530 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
3531
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3532 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3533 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
3534 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
3535 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3536
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3537 button { @extend %osd_button; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3538
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3539 border { border: none; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3540 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3541
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3542
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3543 /*************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3544 * Expanders *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3545 *************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3546 expander {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3547 arrow {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3548 min-width: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3549 min-height: 16px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3550 -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3551
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3552 &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3553
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3554 &:hover { color: lighten($fg_color,30%); } //only lightens the arrow
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3555
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3556 &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3557 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3558 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3559
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3560
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3561 /************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3562 * Calendar *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3563 ***********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3564 calendar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3565 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
3566 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
3567
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3568 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3569 @extend %selected_items;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3570
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3571 border-radius: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3572 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3573
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3574 &.header {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3575 border-bottom-color: 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
3576
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3577 &:backdrop { border-bottom-color: 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
3578 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3579
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3580 &.button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3581 @extend %undecorated_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3582
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3583 color: transparentize($fg_color, 0.55);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3584
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3585 &:hover { 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
3586
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3587 &:backdrop { color: transparentize($backdrop_fg_color,0.55); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3588
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3589 &:disabled { color: transparentize($insensitive_fg_color,0.55); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3590 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3591
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3592 &.highlight {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3593 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
3594
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3595 &:backdrop { color: $backdrop_insensitive_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3596 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3597
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3598 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3599 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
3600 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
3601 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3602
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3603 &:indeterminate { color: gtkalpha(currentColor, 0.1); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3604 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3605
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3606
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3607 /***********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3608 * Dialogs *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3609 ***********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3610 messagedialog { // Message Dialog styling
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3611 .titlebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3612 min-height: 20px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3613 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
3614 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
3615 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
3616 border-top-left-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3617 border-top-right-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3618 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3619
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3620 &.csd { // rounded bottom border styling for csd version
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3621 &.background {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3622 // bigger radius for better antialiasing
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3623 border-bottom-left-radius: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3624 border-bottom-right-radius: 9px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3625 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3626
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3627 .dialog-action-area button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3628 padding: 10px 14px; // labels are not vertically centered on message dialog, this is a workaround
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3629 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3630 border-left-style: solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3631 border-right-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3632 border-bottom-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3633
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3634 &:first-child{
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3635 border-left-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3636 border-bottom-left-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3637 -gtk-outline-bottom-left-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3638 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3639
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3640 &:last-child {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3641 border-bottom-right-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3642 -gtk-outline-bottom-right-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3643 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3644 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3645 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3646 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3647
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3648 filechooser {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3649 .dialog-action-box {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3650 border-top: 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
3651
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3652 &:backdrop { border-top-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
3653 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3654
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3655 #pathbarbox { border-bottom: 1px solid $bg_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3656 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3657
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3658 filechooserbutton:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3659 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
3660 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
3661 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3662
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3663
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3664 /***********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3665 * Sidebar *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3666 ***********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3667 .sidebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3668 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
3669 background-color: mix($bg_color, $base_color, 50%);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3670
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3671 @at-root %sidebar_left,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3672 &:dir(ltr),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3673 &.left,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3674 &.left:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3675 border-right: 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
3676 border-left-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3677 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3678
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3679 @at-root %sidebar_right
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3680 &:dir(rtl),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3681 &.right {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3682 border-left: 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
3683 border-right-style: none;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3684 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3685
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3686 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3687 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
3688 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
3689 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
3690 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3691
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3692 list { 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
3693
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3694 paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { 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
3695 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3696
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3697 stacksidebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3698 &.sidebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3699 &:dir(ltr),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3700 &.left,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3701 &.left:dir(rtl) { list { @extend %sidebar_left; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3702
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3703 &:dir(rtl),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3704 &.right { list { @extend %sidebar_right; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3705 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3706
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3707 row {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3708 padding: 10px 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3709
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3710 > label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3711 padding-left: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3712 padding-right: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3713 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3714
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3715 &.needs-attention > label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3716 @extend %needs_attention;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3717
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3718 background-size: 6px 6px, 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3719 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3720 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3721 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3722
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3723
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3724 /****************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3725 * File chooser *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3726 ****************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3727 $_placesidebar_icons_opacity: 0.7;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3728
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3729 placessidebar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3730 > viewport.frame { 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
3731
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3732 row {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3733 // Needs overriding of the GtkListBoxRow padding
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3734 min-height: 36px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3735 padding: 0px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3736
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3737 // Using margins/padding directly in the SidebarRow
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3738 // will make the animation of the new bookmark row jump
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3739 > revealer { padding: 0 14px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3740
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3741 &:selected { 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
3742
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3743 &:disabled { 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
3744
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3745 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3746 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
3747
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3748 &:selected { color: $backdrop_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
3749
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3750 &:disabled { color: $backdrop_insensitive_color; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3751 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3752
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3753 image.sidebar-icon {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3754 opacity: $_placesidebar_icons_opacity; // dim the device icons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3755
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3756 &:dir(ltr) { padding-right: 8px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3757 &:dir(rtl) { padding-left: 8px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3758 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3759
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3760 label.sidebar-label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3761 &:dir(ltr) { padding-right: 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3762 &:dir(rtl) { padding-left: 2px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3763 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3764
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3765 @at-root button.sidebar-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3766 @extend %button_basic.flat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3767
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3768 @extend %button_selected.flat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3769
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3770 min-height: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3771 min-width: 26px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3772 margin-top: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3773 margin-bottom: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3774 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3775 border-radius: 100%;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3776 -gtk-outline-radius: 100%;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3777
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3778 &:not(:hover):not(:active),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3779 &:backdrop { > image { opacity: $_placesidebar_icons_opacity; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3780 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3781
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3782 // in the sidebar case it makes no sense to click the selected row
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3783 &:selected:active { 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
3784
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3785 &.sidebar-placeholder-row {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3786 padding: 0 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3787 min-height: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3788 background-image: image($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
3789 background-clip: content-box;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3790 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3791
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3792 &.sidebar-new-bookmark-row { 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
3793
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3794 &:drop(active):not(:disabled) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3795 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
3796 box-shadow: inset 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
3797 inset 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
3798
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3799 &:selected {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3800 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
3801 background-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
3802 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3803 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3804 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3805 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3806
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3807 placesview {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3808 .server-list-button > image {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3809 transition: 200ms $ease-out-quad;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3810 -gtk-icon-transform: rotate(0turn);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3811 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3812
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3813 .server-list-button:checked > image {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3814 transition: 200ms $ease-out-quad;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3815 -gtk-icon-transform: rotate(-0.5turn);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3816 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3817
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3818 row.activatable:hover { 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
3819
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3820 // this selects the "connect to server" label
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3821 > actionbar > revealer > box > label {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3822 padding-left: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3823 padding-right: 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3824 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3825 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3826
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3827
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3828 /*********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3829 * Paned *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3830 *********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3831 paned {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3832 > separator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3833 min-width: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3834 min-height: 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3835 -gtk-icon-source: none; // defeats the ugly default handle decoration
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3836 border-style: none; // just to be sure
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3837 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
3838 // workaround, using background istead of a border since the border will get rendered twice (?)
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3839 background-image: image($borders_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3840 background-size: 1px 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3841
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3842 &:selected { background-image: image($selected_bg_color); } // FIXME is this needed?
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3843
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3844 &:backdrop { background-image: image($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
3845
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3846 &.wide {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3847 min-width: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3848 min-height: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3849 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
3850 background-image: image($borders_color), image($borders_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3851 background-size: 1px 1px, 1px 1px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3852
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3853 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3854 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
3855 background-image: image($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
3856 image($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
3857 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3858 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3859 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3860
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3861 &.horizontal > separator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3862 background-repeat: repeat-y;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3863
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3864 &:dir(ltr) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3865 margin: 0 -8px 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3866 padding: 0 8px 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3867 background-position: left;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3868 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3869 &:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3870 margin: 0 0 0 -8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3871 padding: 0 0 0 8px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3872 background-position: right;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3873 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3874
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3875 &.wide {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3876 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3877 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3878 background-repeat: repeat-y, repeat-y;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3879 background-position: left, right;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3880 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3881 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3882
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3883 &.vertical > separator {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3884 margin: 0 0 -8px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3885 padding: 0 0 8px 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3886 background-repeat: repeat-x;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3887 background-position: top;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3888
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3889 &.wide {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3890 margin: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3891 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3892 background-repeat: repeat-x, repeat-x;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3893 background-position: bottom, top;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3894 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3895 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3896 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3897
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3898
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3899 /**************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3900 * GtkInfoBar *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3901 **************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3902 infobar {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3903 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
3904
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3905 &.info,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3906 &.question,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3907 &.warning,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3908 &.error {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3909 &:backdrop, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3910 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
3911 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
3912 border-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
3913 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3914
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3915 text-shadow: 0 1px 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
3916
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3917 &:backdrop { 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
3918
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3919 button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3920 // FIXME: extend selection mode buttons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3921 @include button(normal, $selected_bg_color, $selected_fg_color, none);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3922
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3923 &:hover { @include button(hover, $selected_bg_color, $selected_fg_color, none); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3924
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3925 &:active,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3926 &:checked { @include button(active, $selected_bg_color, $selected_fg_color, none); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3927
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3928 &:disabled { @include button(insensitive,$selected_bg_color,$selected_fg_color,none); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3929
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3930 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3931 @include button(backdrop, $selected_bg_color, $selected_fg_color, none);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3932 border-color: _border_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
3933
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3934 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3935 @include button(backdrop-insensitive, $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
3936 $selected_fg_color, none);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3937 border-color: _border_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
3938 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3939 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3940 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3941
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3942 selection { background-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
3943
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3944 *:link { @extend %link_selected; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3945 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3946 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3947
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3948
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3949 /************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3950 * Tooltips *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3951 ************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3952 tooltip {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3953 &.background {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3954 // background-color needs to be set this way otherwise it gets drawn twice
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3955 // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3956 background-color: transparentize(black, 0.2);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3957 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
3958 border: 1px solid $tooltip_borders_color; // this suble border is meant to
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3959 // not make the tooltip melt with
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3960 // very dark backgrounds
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3961 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3962
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3963 padding: 4px; /* not working */
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3964 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3965 box-shadow: none; // otherwise it gets inherited by windowframe.csd
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3966 text-shadow: 0 1px black;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3967
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3968 // FIXME: we need a border or tooltips vanish on black background.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3969 decoration { 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
3970
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3971 * { // Yeah this is ugly
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3972 padding: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3973 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
3974 color: white;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3975 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3976 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3977
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3978
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3979 /*****************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3980 * Color Chooser *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3981 *****************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3982 colorswatch {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3983 // This widget is made of two boxes one on top of the other, the lower box is colorswatch {} the other one
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3984 // is colorswatch overlay {}, colorswatch has the programmatically set background, so most of the style is
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3985 // applied to the overlay box.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3986
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3987 &:drop(active), & { border-style: none; } // FIXME: implement a proper drop(active) state
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3988
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3989 $_colorswatch_radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3990
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3991 // base color corners rounding
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3992 // to avoid the artifacts caused by rounded corner anti-aliasing the base color
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3993 // sports a bigger radius.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3994 // nth-child is needed by the custom color strip.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3995
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3996 &.top {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3997 border-top-left-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3998 border-top-right-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3999
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4000 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4001 border-top-left-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4002 border-top-right-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4003 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4004 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4005
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4006 &.bottom {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4007 border-bottom-left-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4008 border-bottom-right-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4009
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4010 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4011 border-bottom-left-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4012 border-bottom-right-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4013 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4014 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4015
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4016 &.left,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4017 &:first-child:not(.top) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4018 border-top-left-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4019 border-bottom-left-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4020
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4021 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4022 border-top-left-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4023 border-bottom-left-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4024 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4025 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4026
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4027 &.right,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4028 &:last-child:not(.bottom) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4029 border-top-right-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4030 border-bottom-right-radius: $_colorswatch_radius + 0.5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4031
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4032 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4033 border-top-right-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4034 border-bottom-right-radius: $_colorswatch_radius;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4035 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4036 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4037
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4038 &.dark overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4039 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
4040
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4041 &:hover { border-color: if($variant == 'light', transparentize(black, 0.2), $borders_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4042
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4043 &:backdrop { color: $backdrop_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
4044 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4045
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4046 &.light overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4047 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
4048
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4049 &:hover { border-color: if($variant == 'light', transparentize(black, 0.5), $borders_color); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4050
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4051 &:backdrop { 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
4052 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4053
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4054 &:drop(active) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4055 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
4056
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4057 &.light overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4058 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
4059 box-shadow: inset 0 0 0 2px if($variant == 'light', darken($drop_target_color, 7%), $borders_color),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4060 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
4061 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4062
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4063 &.dark overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4064 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
4065 box-shadow: inset 0 0 0 2px if($variant == 'light', transparentize(black, 0.7), $borders_color),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4066 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
4067 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4068 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4069
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4070 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4071 border: 1px solid if($variant == 'light', transparentize(black, 0.7), $borders_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4072
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4073 &:hover {
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4074 box-shadow: inset 0 1px transparentize(white, 0.6),
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4075 inset 0 -1px transparentize(black, 0.8);
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4076 }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4077
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4078 &: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
4079 border-color: if($variant == 'light', transparentize(black, 0.7), $borders_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4080 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
4081 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4082 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4083
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4084 &#add-color-button {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4085 border-radius: $_colorswatch_radius $_colorswatch_radius 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4086
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4087 &:only-child { border-radius: $_colorswatch_radius; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4088
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4089 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4090 @include button(normal);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4091
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4092 &:hover { @include button(hover); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4093
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4094 &:backdrop { @include button(backdrop); }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4095 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4096 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4097
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4098 &:disabled {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4099 opacity: 0.5;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4100
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4101 overlay {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4102 border-color: transparentize(black, 0.4);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4103 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
4104 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4105 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4106
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4107 row:selected & { box-shadow: 0 0 0 2px $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
4108
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4109 &#editor-color-sample {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4110 border-radius: 4px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4111
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4112 overlay { border-radius: 4.5px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4113 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4114 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4115
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4116 // colorscale popup
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4117 colorchooser .popover.osd { border-radius: 5px; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4118
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4119 /********
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4120 * Misc *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4121 ********/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4122 //content view (grid/list)
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4123 .content-view {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4124 background-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
4125
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4126 &:hover { -gtk-icon-effect: highlight; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4127
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4128 &:backdrop { background-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
4129
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4130 rubberband, .rubberband { @extend rubberband; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4131 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4132
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4133 .scale-popup {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4134 .osd & { @extend %osd; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4135
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4136 .osd & button.flat { //FIXME: quick hack, redo properly
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4137 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
4138 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4139 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4140
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4141 button { // +/- buttons on GtkVolumeButton popup
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4142 &:hover {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4143 @extend %undecorated_button;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4144 background-color: transparentize($fg_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
4145 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4146 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4147
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4148 &:backdrop { &:hover, &:disabled, & { @extend %undecorated_button; }}
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4149 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4150 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4151
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4152
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4153 /**********************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4154 * Window Decorations *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4155 *********************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4156 decoration {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4157 border-radius: 7px 7px 0 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4158 // lamefun trick to get rounded borders regardless of CSD use
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4159 border-width: 0px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4160
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4161 // this needs to be transparent
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4162 // see bug #722563
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4163 $_wm_border: if($variant=='light', transparentize(black, 0.77), transparentize($borders_color, 0.1));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4164 $_wm_border_backdrop: if($variant=='light', transparentize(black, 0.82), transparentize($borders_color, 0.1));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4165
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4166 box-shadow: 0 3px 9px 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
4167 0 0 0 1px $_wm_border; //doing borders with box-shadow
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4168
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4169 // FIXME rationalize shadows
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4170
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4171 // this is used for the resize cursor area
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4172 margin: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4173
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4174 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4175 // the transparent shadow here is to enforce that the shadow extents don't
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4176 // change when we go to backdrop, to prevent jumping windows.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4177 // The biggest shadow should be in the same order then in the active state
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4178 // or the jumping will happen during the transition.
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4179 box-shadow: 0 3px 9px 1px transparent,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4180 0 2px 6px 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
4181 0 0 0 1px $_wm_border_backdrop;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4182 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
4183 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4184
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4185 .maximized &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4186 .fullscreen &,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4187 .tiled & { border-radius: 0; }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4188
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4189 .popup & { 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
4190
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4191 // server-side decorations as used by mutter
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4192 .ssd & { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4193
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4194 .csd.popup & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4195 border-radius: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4196 box-shadow: 0 1px 2px transparentize(black, 0.8),
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4197 0 0 0 1px transparentize($_wm_border, 0.1);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4198 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4199
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4200 tooltip.csd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4201 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4202 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
4203 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4204
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4205 messagedialog.csd & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4206 border-radius: 7px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4207 box-shadow: 0 1px 2px transparentize(black, 0.8),
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4208 0 0 0 1px transparentize($_wm_border, 0.1);
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4209 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4210
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4211 .solid-csd & {
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4212 margin: 0;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4213 padding: 4px;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4214 background-color: $borders_color;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4215 border: solid 1px $borders_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4216 border-radius: 0;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4217 box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4218
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4219 &:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4220 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4221 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4222
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4223 // Window Close button
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4224 button.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4225 @extend %button_basic;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4226
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4227 @extend %button_basic.flat;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4228
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4229 @include _button_text_shadow;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4230
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4231 .selection-mode & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4232 @extend %button.flat.suggested-action;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4233
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4234 @extend %nobg_selected_items;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4235 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4236
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4237 &:backdrop { -gtk-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
4238 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4239
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4240 headerbar.selection-mode button.titlebutton,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4241 .titlebar.selection-mode button.titlebutton {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4242 @include _button_text_shadow(white, $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
4243
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4244 &:backdrop { -gtk-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
4245 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4246
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4247
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4248 // catch all extend :)
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4249
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4250 %selected_items {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4251 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
4252
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4253 @at-root %nobg_selected_items, & {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4254 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
4255
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4256 &:disabled { color: mix($selected_fg_color, $selected_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
4257
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4258 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4259 color: $backdrop_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
4260
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4261 &:disabled { color: mix($backdrop_selected_fg_color, $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
4262 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4263 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4264 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4265
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4266 .monospace { font-family: monospace; }
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4267
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4268
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4269 /**********************
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4270 * Touch Copy & Paste *
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4271 *********************/
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4272 //touch selection handlebars for the Popover.osd above
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4273 cursor-handle {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4274 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
4275 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
4276 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
4277 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
4278
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4279 @each $s,$as in ('',''),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4280 (':hover','-hover'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4281 (':active','-active') { //no need for insensitive and backdrop
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4282 &.top#{$s}:dir(ltr), &.bottom#{$s}:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4283 $_url: 'assets/text-select-start#{$as}#{$asset_suffix}';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4284 -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4285 url('#{$_url}@2.png'));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4286 padding-left: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4287 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4288
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4289 &.bottom#{$s}:dir(ltr), &.top#{$s}:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4290 $_url: 'assets/text-select-end#{$as}#{$asset_suffix}';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4291 -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4292 url('#{$_url}@2.png'));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4293 padding-right: 10px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4294 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4295
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4296 &.insertion-cursor#{$s}:dir(ltr), &.insertion-cursor#{$s}:dir(rtl) {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4297 $_url: 'assets/slider-horz-scale-has-marks-above#{$as}#{$asset_suffix}';
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4298 -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'),
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4299 url('#{$_url}@2.png'));
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4300 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4301 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4302 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4303
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4304 .context-menu { font: initial; } // Decouple the font of context menus from their entry/textview
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4305
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4306 // shortcut window keys
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4307 .keycap {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4308 min-width: 20px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4309 min-height: 25px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4310 margin-top: 2px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4311 padding-bottom: 3px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4312 padding-left: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4313 padding-right: 6px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4314
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4315 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
4316 background-color: $base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4317 border: 1px solid;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4318 border-color: if($variant == 'light', mix($borders_color, $bg_color, 50%), $borders_color);
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4319 border-radius: 5px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4320 box-shadow: if($variant == 'light', inset 0 -3px mix($base_color, $bg_color, 20%), inset 0 -3px mix($borders_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
4321 font-size: smaller;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4322
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4323 &:backdrop {
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4324 background-color: $backdrop_base_color;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4325 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
4326 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
4327 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4328 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4329
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4330 :not(decoration):not(window):drop(active):focus,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4331 :not(decoration):not(window):drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4332 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
4333 box-shadow: inset 0 0 0 1px $drop_target_color;
43
d8eaee5178b7 Update to GTK 3.22 at revision ecf9c06
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4334 caret-color: $drop_target_color;
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4335 }
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4336
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4337 stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4338
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4339 stackswitcher button.circular,
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4340 stackswitcher button.text-button.circular { // FIXME aggregate with buttons
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4341 min-width: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4342 min-height: 32px;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4343 padding: 0;
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4344 }