Mercurial > repos > other > Adwaita-Dark-Green
annotate gtk-3.18/_common.scss @ 41:d49665775e8b
Try incorporating 3.22 into 3.20 for multi-version compat without separate folders
This seems to work without warnings on 3.20 - needs testing on 3.22
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 15 Mar 2017 20:17:42 +0000 |
parents | cb3e1a45b770 |
children |
rev | line source |
---|---|
22
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 @function gtkalpha($c,$a) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 @return unquote("alpha(#{$c},#{$a})"); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 $asset_suffix: if($variant=='dark', '-dark', ''); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 * { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 -GtkToolButton-icon-spacing: 4; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 -GtkTextView-error-underline-color: $error_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 -GtkCheckButton-indicator-size: 16; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 -GtkCheckMenuItem-indicator-size: 16; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 // The size for scrollbars. The slider is 2px smaller, but we keep it |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 // up so that the whole area is sensitive to button presses for the |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 // slider. The stepper button is larger in both directions, the slider |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 // only in the width |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 -GtkScrolledWindow-scrollbar-spacing: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 -GtkScrolledWindow-scrollbars-within-bevel: 1; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 -GtkToolItemGroup-expander-size: 11; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 -GtkExpander-expander-size: 16; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 -GtkTreeView-expander-size: 11; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 -GtkTreeView-horizontal-separator: 4; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 -GtkMenu-horizontal-padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 -GtkMenu-vertical-padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 -GtkWidget-link-color: $link_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 -GtkWidget-visited-link-color: $link_visited_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 -GtkWidget-focus-padding: 2; // FIXME: do we still need these? |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 -GtkWidget-focus-line-width: 1; // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 -GtkWidget-text-handle-width: 20; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 -GtkWidget-text-handle-height: 24; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 -GtkDialog-button-spacing: 4; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 -GtkDialog-action-area-border: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 -GtkStatusbar-shadow-type: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 // We use the outline properties to signal the focus properties |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 // to the adwaita engine: using real CSS properties is faster, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 // and we don't use any outlines for now. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 outline-color: transparentize($fg_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 outline-style: dashed; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 outline-offset: -3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 outline-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 outline-radius: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 /*************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 * Base States * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 ***************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 .background { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 background-color: if($variant == 'light', darken($bg_color, 1.5%), $bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 color: $backdrop_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 background-color: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 /* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 These wildcard seems unavoidable, need to investigate. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 Wildcards are bad and troublesome, use them with care, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 or better, just don't. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
79 Everytime a wildcard is used a kitten dies, painfully. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 */ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 *:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 -gtk-image-effect: dim; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 .gtkstyle-fallback { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 background-color: $bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 &:prelight { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 background-color: lighten($bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 background-color: darken($bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 background-color: $insensitive_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 .view { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 color: $text_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 background-color: $base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 color: $backdrop_text_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 @extend %selected_items; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 .rubberband { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 border: 1px solid darken($selected_bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 background-color: transparentize(darken($selected_bg_color, 10%), 0.8); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 .label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 &.separator { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 @extend .dim-label; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 &:backdrop { color: $backdrop_fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 &:selected, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 &:selected:focus, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
135 &:selected:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 @extend %selected_items; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
137 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
138 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 &:backdrop { color: $backdrop_insensitive_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
141 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
142 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 .dim-label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
145 opacity: 0.55; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
146 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
148 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
149 GtkAssistant { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
150 .sidebar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 background-color: $base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
152 border-top: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
153 &:dir(ltr) { border-right: 1px solid $borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
154 &:dir(rtl) { border-left: 1px solid $borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
155 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
156 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
157 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
158 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
159 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
160 &.csd .sidebar { border-top-style: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
161 .sidebar .label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
162 padding: 6px 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
163 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
164 .sidebar .label.highlight { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
165 background-color: mix($bg_color, $fg_color, 80%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
166 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
167 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
168 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
169 GtkTextView { // This will get overridden by .view, needed by gedit line numbers |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
170 background-color: mix($bg_color, $base_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
171 &:backdrop { background-color: mix($backdrop_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
172 $backdrop_base_color, 50%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
173 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
174 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
175 .grid-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 padding: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
177 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
178 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
179 @extend %selected_items; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
180 outline-offset: -2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
181 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
182 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
183 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
184 %osd, .osd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
185 color: $osd_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
186 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
187 background-color: $osd_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
188 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
189 outline-color: transparentize($osd_fg_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
190 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
191 text-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
192 icon-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
193 &:backdrop { text-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
194 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
195 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
196 /********************* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
197 * Spinner Animation * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
198 *********************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
199 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
200 @keyframes spin { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
201 to { -gtk-icon-transform: rotate(1turn); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
202 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
203 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
204 .spinner { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
205 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
206 background-color: blue; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
207 opacity: 0; // non spinning spinner makes no sense |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
208 -gtk-icon-source: -gtk-icontheme('process-working-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
209 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
210 opacity: 1; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
211 animation: spin 1s linear infinite; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
212 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
213 opacity: 0.5; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
214 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
215 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
216 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
217 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
218 /**************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
219 * Text Entries * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
220 ****************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
221 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
222 .entry { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
223 border: 1px solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
224 padding: 5px 8px 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
225 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
226 &.image { // icons inside the entry |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
227 &.left { padding-left: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
228 &.right { padding-right: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
229 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
230 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
231 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
232 transition: all 200ms $ease-out-quad; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
233 @include entry(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
234 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
235 &.flat, &.flat:focus { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
236 padding: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
237 @include entry(normal, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
238 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
239 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
240 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
241 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
242 &:focus { @include entry(focus); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
243 &:insensitive { @include entry(insensitive); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
244 &:backdrop { @include entry(backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
245 &:backdrop:insensitive { @include entry(backdrop-insensitive); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
246 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
247 &:selected, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
248 &:selected:focus { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
249 @extend %selected_items; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
250 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
251 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
252 &.progressbar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
253 margin: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
254 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
255 border-width: 0 0 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
256 border-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
257 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
258 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
259 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
260 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
261 &:backdrop { background-color: transparent; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
262 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
263 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
264 .linked:not(.vertical) > & { @extend %linked; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
265 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
266 .linked:not(.vertical) > &:focus + .entry, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
267 .linked:not(.vertical) > &:focus + .button, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
268 .linked:not(.vertical) > &:focus + GtkComboBox > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
269 .linked:not(.vertical) > &:focus + GtkComboBoxText > .the-button-in-the-combobox { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
270 border-left-color: entry_focus_border(); // colors the border of the widget following a focused entry |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
271 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
272 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
273 // entry error and warning style |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
274 @each $e_type, $e_color in (error, $error_color), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
275 (warning, $warning_color) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
276 &.#{$e_type} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
277 color: $e_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
278 border-color: entry_focus_border($e_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
279 &:focus { @include entry(focus, $e_color); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
280 &:selected, &:selected:focus { background-color: $e_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
281 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
282 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
283 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
284 &.image { // entry icons colors |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
285 color: mix($fg_color, $base_color, 80%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
286 &:hover { color: $fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
287 &:active { color: $selected_bg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
288 &:backdrop { color: mix($backdrop_fg_color, $backdrop_base_color, 80%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
289 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
290 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
291 .osd & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
292 @include entry(osd); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
293 &:focus { @include entry(osd-focus); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
294 &:backdrop { @include entry(osd-backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
295 &:insensitive { @include entry(osd-insensitive); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
296 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
297 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
298 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
299 // Vertically linked entries |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
300 // FIXME: take care of "colored" entries |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
301 .linked.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
302 > .entry { @extend %linked_vertical; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
303 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
304 // remove the edge hilight and the focus shadow (unfortunatelly) |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
305 > .entry:not(:last-child) { box-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
306 // add back the focus shadow |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
307 > .entry:focus:not(:last-child) { box-shadow: entry_focus_shadow(); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
308 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
309 // brighter border between linked entries |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
310 > .entry:not(:insensitive) + .entry:not(:insensitive) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
311 border-top-color: mix($borders_color, $base_color, 30%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
312 background-image: linear-gradient(to bottom, $base_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
313 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
314 border-top-color: mix($backdrop_borders_color, $backdrop_base_color, 30%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
315 background-image: linear-gradient(to bottom, $backdrop_base_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
316 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
317 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
318 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
319 // color back the top border of a linked focused entry following another entry and add back the focus shadow. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
320 > .entry + .entry:focus:not(:last-child) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
321 border-top-color: entry_focus_border(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
322 box-shadow: entry_focus_shadow(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
323 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
324 // just recolor the top border on the last focused entry, since we don't reset the shadow here letting that be |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
325 // inherited by the entry styling. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
326 > .entry + .entry:focus:last-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
327 border-top-color: entry_focus_border(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
328 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
329 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
330 // this takes care of coloring the top border of the focused entry subsequent widget. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
331 // :not(:only-child) is a specificity bump hack. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
332 > .entry:focus:not(:only-child) + .entry, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
333 > .entry:focus:not(:only-child) + .button, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
334 > .entry:focus:not(:only-child) + GtkComboBox > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
335 > .entry:focus:not(:only-child) + GtkComboBoxText > .the-button-in-the-combobox { border-top-color: entry_focus_border(); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
336 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
337 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
338 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
339 /*********** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
340 * Buttons * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
341 ***********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
342 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
343 // stuff for .needs-attention |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
344 $_dot_color: if($variant=='light', $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
345 lighten($selected_bg_color,15%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
346 @keyframes needs_attention { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
347 from { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
348 background-image: -gtk-gradient(radial, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
349 center center, 0, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
350 center center, 0.01, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
351 to($_dot_color), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
352 to(transparent)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
353 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
354 to { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
355 background-image: -gtk-gradient(radial, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
356 center center, 0, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
357 center center, 0.5, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
358 to($selected_bg_color), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
359 to(transparent)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
360 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
361 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
362 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
363 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
364 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
365 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
366 $_button_transition: all 200ms $ease-out-quad; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
367 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
368 border: 1px solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
369 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
370 padding: 5px 8px 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
371 transition: $_button_transition; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
372 @include button(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
373 &.flat { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
374 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
375 // to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
376 // to none, while it's added back in the hover state, so the button decoration will fade in on hover, but |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
377 // it won't fade out when the pointer leave the button allocation area. To make the transition more evident |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
378 // in this case the duration is increased. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
379 transition: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
380 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
381 transition: $_button_transition; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
382 transition-duration: 500ms; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
383 &:active { transition: $_button_transition; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
384 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
385 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
386 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
387 @include button(hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
388 -gtk-image-effect: highlight; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
389 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
390 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
391 @include button(active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
392 transition-duration: 50ms; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
393 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
394 &:backdrop, &.flat:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
395 @include button(backdrop); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
396 -gtk-image-effect: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
397 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
398 @include button(backdrop-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
399 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
400 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
401 @include button(backdrop-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
402 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
403 &:insensitive:active, &:insensitive:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
404 @include button(backdrop-insensitive-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
405 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
406 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
407 &.flat:backdrop, &.flat:insensitive, &.flat:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
408 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
409 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
410 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
411 @include button(insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
412 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
413 @include button(insensitive-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
414 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
415 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
416 // big standalone buttons like in Documents pager |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
417 &.osd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
418 &.image-button { padding: 13px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
419 color: $osd_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
420 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
421 outline-color: transparentize($osd_fg_color, 0.7); //FIXME: define a color var? |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
422 @include button(osd); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
423 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
424 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
425 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
426 @include button(osd-hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
427 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
428 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
429 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
430 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
431 @include button(osd-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
432 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
433 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
434 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
435 &:insensitive, &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
436 @include button(osd-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
437 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
438 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
439 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
440 @include button(osd-backdrop); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
441 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
442 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
443 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
444 //overlay / OSD style |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
445 .osd & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
446 @include button(osd); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
447 // there's a problem with sass which prevents it to extend the linked |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
448 // placeholder as expected, it should just be "@extend %linked;", the |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
449 // placeholder is basically replicated here |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
450 // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
451 // Workaround START |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
452 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
453 border-left-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
454 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
455 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
456 border-right-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
457 border-left-style: solid |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
458 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
459 &:first-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
460 border-radius: 3px 0 0 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
461 border-left-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
462 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
463 &:last-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
464 border-radius: 0 3px 3px 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
465 &:dir(rtl) { border-right-style: solid; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
466 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
467 &:only-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
468 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
469 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
470 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
471 // Workaround END |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
472 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
473 @include button(osd-hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
474 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
475 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
476 &:active, &:checked, &:backdrop:active, &:backdrop:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
477 @include button(osd-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
478 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
479 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
480 &:insensitive, &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
481 @include button(osd-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
482 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
483 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
484 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
485 @include button(osd-backdrop); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
486 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
487 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
488 &.flat { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
489 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
490 box-shadow: none; //FIXME respect no edge on the button mixin |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
491 text-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
492 icon-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
493 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
494 @include button(osd-hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
495 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
496 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
497 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
498 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
499 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
500 @include button(osd-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
501 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
502 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
503 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
504 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
505 &:backdrop { @include button(undecorated); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
506 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
507 @include button(osd-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
508 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
509 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
510 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
511 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
512 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
513 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
514 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
515 // Suggested and Destructive Action buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
516 @each $b_type, $b_color in (suggested-action, $selected_bg_color), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
517 (destructive-action, $destructive_color) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
518 &.#{$b_type} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
519 @include button(normal, $b_color, white); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
520 &.flat { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
521 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
522 color: $b_color; //FIXME: does it work on the dark variant? |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
523 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
524 &:hover { @include button(hover, $b_color, white); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
525 &:active, &:checked { @include button(active, $b_color, white); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
526 &:backdrop, &.flat:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
527 @include button(backdrop, $b_color, white); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
528 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
529 @include button(backdrop-active, $b_color, white); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
530 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
531 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
532 @include button(backdrop-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
533 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
534 @include button(backdrop-insensitive-active, $b_color, white); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
535 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
536 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
537 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
538 &.flat:backdrop, &.flat:insensitive, &.flat:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
539 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
540 color: transparentize($b_color, 0.2); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
541 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
542 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
543 @include button(insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
544 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
545 @include button(insensitive-active, $b_color, white); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
546 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
547 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
548 .osd & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
549 @include button(osd, $b_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
550 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
551 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
552 @include button(osd-hover, $b_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
553 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
554 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
555 &:active, &:checked, &:backdrop:active, &:backdrop:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
556 @include button(osd-active, $b_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
557 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
558 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
559 &:insensitive, &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
560 @include button(osd-insensitive, $b_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
561 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
562 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
563 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
564 @include button(osd-backdrop, $b_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
565 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
566 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
567 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
568 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
569 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
570 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
571 &.image-button { padding: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
572 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
573 &.text-button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
574 padding-left: 16px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
575 padding-right: 16px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
576 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
577 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
578 &.text-button.image-button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
579 // those buttons needs uneven horizontal padding, we want the icon side |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
580 // to have the image-button padding, while the text side the text-button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
581 // one, so we're adding the missing padding to the label depending on |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
582 // its position inside the button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
583 padding: 5px 8px 6px; // same as .button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
584 .label:first-child { padding-left: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
585 .label:last-child { padding-right: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
586 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
587 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
588 .stack-switcher > & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
589 // to position the needs attention dot, padding is added to the button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
590 // child, a label needs just lateral padding while an icon needs vertical |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
591 // padding added too. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
592 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
593 outline-offset: -3px; // needs to be set or it gets overriden by GtkRadioButton outline-offset |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
594 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
595 > .label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
596 padding-left: 6px; // label padding |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
597 padding-right: 6px; // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
598 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
599 > GtkImage { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
600 padding-left: 6px; // image padding |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
601 padding-right: 6px; // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
602 padding-top: 3px; // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
603 padding-bottom: 3px; // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
604 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
605 &.text-button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
606 padding: 5px 10px 6px; // needed or it will get overridden |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
607 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
608 &.image-button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
609 // we want image buttons to have a 1:1 aspect ratio, so compensation |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
610 // of the padding added to the GtkImage is needed |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
611 padding: 5px 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
612 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
613 &.needs-attention > .label, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
614 &.needs-attention > GtkImage { @extend %needs_attention; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
615 &.needs-attention:active > .label, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
616 &.needs-attention:active > GtkImage, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
617 &.needs-attention:checked > .label, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
618 &.needs-attention:checked > GtkImage { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
619 animation: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
620 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
621 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
622 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
623 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
624 //inline-toolbar buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
625 .inline-toolbar &, .inline-toolbar &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
626 border-radius: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
627 border-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
628 @extend %linked; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
629 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
630 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
631 .primary-toolbar & { icon-shadow: none; } // tango icons don't need shadows |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
632 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
633 .linked > &, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
634 .linked > &:hover, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
635 .linked > &:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
636 .linked > &:checked, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
637 .linked > &:backdrop { @extend %linked; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
638 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
639 .linked.vertical > &, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
640 .linked.vertical > &:hover, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
641 .linked.vertical > &:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
642 .linked.vertical > &:checked, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
643 .linked.vertical > &:backdrop { @extend %linked_vertical; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
644 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
645 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
646 %needs_attention { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
647 animation: needs_attention 150ms ease-in; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
648 $_dot_shadow: _text_shadow_color(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
649 $_dot_shadow_r: if($variant=='light',0.5,0.45); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
650 background-image: -gtk-gradient(radial, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
651 center center, 0, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
652 center center, 0.5, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
653 to($_dot_color), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
654 to(transparent)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
655 -gtk-gradient(radial, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
656 center center, 0, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
657 center center, $_dot_shadow_r, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
658 to($_dot_shadow), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
659 to(transparent)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
660 background-size: 6px 6px, 6px 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
661 background-repeat: no-repeat; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
662 @if $variant == 'light' { background-position: right 3px, right 4px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
663 @else { background-position: right 3px, right 2px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
664 &:backdrop { background-size: 6px 6px, 0 0;} |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
665 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
666 @if $variant == 'light' { background-position: left 3px, left 4px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
667 @else { background-position: left 3px, left 2px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
668 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
669 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
670 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
671 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
672 // all the following is for the +|- buttons on inline toolbars, that way |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
673 // should really be deprecated... |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
674 .inline-toolbar GtkToolButton > .button { // redefining the button look is |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
675 // needed since those are flat... |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
676 @include button(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
677 &:hover { @include button(hover); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
678 &:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
679 &:checked{ @include button(active); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
680 &:insensitive { @include button(insensitive); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
681 &:insensitive:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
682 &:insensitive:checked { @include button(insensitive-active); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
683 &:backdrop { @include button(backdrop); }; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
684 &:backdrop:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
685 &:backdrop:checked { @include button(backdrop-active); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
686 &:backdrop:insensitive { @include button(backdrop-insensitive); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
687 &:backdrop:insensitive:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
688 &:backdrop:insensitive:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
689 @include button(backdrop-insensitive-active); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
690 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
691 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
692 // More inline toolbar buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
693 .inline-toolbar.toolbar GtkToolButton, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
694 .inline-toolbar.toolbar GtkToolButton:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
695 & > .button.flat { @extend %linked_middle; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
696 &:first-child > .button.flat { @extend %linked:first-child; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
697 &:last-child > .button.flat { @extend %linked:last-child; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
698 &:only-child > .button.flat { @extend %linked:only-child; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
699 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
700 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
701 %linked_middle { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
702 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
703 border-right-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
704 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
705 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
706 %linked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
707 @extend %linked_middle; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
708 &:first-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
709 border-top-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
710 border-bottom-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
711 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
712 &:last-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
713 border-top-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
714 border-bottom-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
715 border-right-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
716 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
717 &:only-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
718 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
719 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
720 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
721 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
722 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
723 %linked_vertical_middle { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
724 border-style: solid solid none solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
725 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
726 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
727 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
728 %linked_vertical{ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
729 @extend %linked_vertical_middle; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
730 &:first-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
731 border-top-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
732 border-top-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
733 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
734 &:last-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
735 border-bottom-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
736 border-bottom-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
737 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
738 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
739 &:only-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
740 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
741 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
742 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
743 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
744 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
745 %undecorated_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
746 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
747 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
748 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
749 box-shadow: inset 0 1px transparentize(white,1), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
750 0 1px transparentize(white, 1); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
751 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
752 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
753 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
754 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
755 /* menu buttons */ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
756 .menuitem.button.flat { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
757 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
758 outline-offset: -1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
759 &:hover { background-color: mix($fg_color, $bg_color, 10%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
760 &:selected { @extend %selected_items; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
761 &:backdrop, &:backdrop:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
762 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
763 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
764 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
765 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
766 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
767 GtkColorButton.button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
768 padding: 5px; // Uniform padding on the GtkColorButton |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
769 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
770 GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
771 // colorpicker style, otherwise |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
772 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
773 box-shadow: inset 0 1px 1px transparentize(black, 0.9), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
774 _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
775 &:insensitive, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
776 &:backdrop { box-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
777 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
778 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
779 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
780 /********* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
781 * Links * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
782 *********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
783 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
784 *:link { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
785 color: $link_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
786 &:visited { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
787 color: $link_visited_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
788 *:selected & { color: mix($selected_fg_color, $selected_bg_color, 60%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
789 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
790 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
791 color: lighten($link_color,10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
792 *:selected & { color: mix($selected_fg_color, $selected_bg_color, 90%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
793 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
794 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
795 color: $link_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
796 *:selected & { color: mix($selected_fg_color, $selected_bg_color, 80%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
797 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
798 &:backdrop, &:backdrop:hover, &:backdrop:hover:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
799 color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
800 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
801 &:selected, *:selected & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
802 color: mix($selected_fg_color, $selected_bg_color, 80%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
803 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
804 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
805 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
806 .button:link, .button:visited { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
807 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
808 @extend *:link; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
809 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
810 &:hover, &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
811 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
812 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
813 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
814 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
815 @extend %undecorated_button; //This shouldn't be needed but avoids |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
816 //a weird transition which for some reason |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
817 //makes borders blink on hover |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
818 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
819 & > .label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
820 text-decoration-line: underline; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
821 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
822 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
823 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
824 /***************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
825 * GtkSpinButton * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
826 *****************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
827 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
828 .spinbutton { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
829 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
830 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
831 border-style: none none none solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
832 border-color: transparentize($borders_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
833 color: mix($fg_color, $base_color, 90%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
834 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
835 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
836 // padding-left: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
837 // padding-right: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
838 &:dir(rtl) { border-style: none solid none none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
839 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
840 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
841 background-color: transparentize($fg_color, 0.95); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
842 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
843 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
844 color: transparentize($insensitive_fg_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
845 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
846 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
847 box-shadow: inset 0 2px 3px -1px transparentize(black, 0.8); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
848 background-color: transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
849 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
850 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
851 color: mix($backdrop_fg_color, $backdrop_base_color, 90%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
852 border-color: transparentize($backdrop_borders_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
853 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
854 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
855 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
856 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
857 color: transparentize($backdrop_insensitive_color,0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
858 border-style: none none none solid; // It is needed or it gets overridden |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
859 &:dir(rtl) { border-style: none solid none none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
860 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
861 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
862 .osd & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
863 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
864 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
865 color: $osd_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
866 border-style: none none none solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
867 border-color: transparentize($osd_borders_color, 0.3); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
868 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
869 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
870 icon-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
871 &:dir(rtl) { border-style: none solid none none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
872 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
873 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
874 color: $osd_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
875 border-color: transparentize(opacify($osd_borders_color, 1), 0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
876 background-color: transparentize($osd_fg_color, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
877 icon-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
878 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
879 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
880 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
881 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
882 color: $osd_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
883 border-color: transparentize(opacify($osd_borders_color, 1), 0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
884 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
885 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
886 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
887 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
888 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
889 color: $osd_insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
890 border-color: transparentize(opacify($osd_borders_color, 1), 0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
891 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
892 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
893 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
894 &:last-child { border-radius: 0 3px 3px 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
895 &:dir(rtl):first-child { border-radius: 3px 0 0 3px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
896 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
897 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
898 &.vertical, &.vertical:dir(rtl) { //FIXME: try using linking templates for vertically linked stuff |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
899 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
900 padding-top: 8px; // Same vertical padding as image-buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
901 padding-bottom: 8px; // |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
902 &:first-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
903 @extend %top_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
904 @include button(normal, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
905 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
906 @extend %top_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
907 @include button(active, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
908 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
909 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
910 @extend %top_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
911 @include button(hover, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
912 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
913 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
914 @extend %top_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
915 @include button(insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
916 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
917 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
918 @extend %top_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
919 @include button(backdrop, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
920 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
921 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
922 &:last-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
923 @extend %bottom_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
924 @include button(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
925 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
926 @extend %bottom_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
927 @include button(active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
928 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
929 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
930 @extend %bottom_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
931 @include button(hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
932 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
933 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
934 @extend %bottom_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
935 @include button(insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
936 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
937 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
938 @extend %bottom_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
939 @include button(backdrop); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
940 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
941 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
942 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
943 @include button(backdrop-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
944 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
945 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
946 &.entry { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
947 // we should remove the bottom edge hilight here, but seems |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
948 // like buttons are on top of it so it doesn't show up |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
949 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
950 padding-left: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
951 padding-right: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
952 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
953 %top_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
954 border-radius: 3px 3px 0 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
955 border-style: solid solid none solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
956 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
957 %bottom_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
958 border-radius: 0 0 3px 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
959 border-style: none solid solid solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
960 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
961 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
962 GtkTreeView & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
963 &.entry, &.entry:focus { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
964 padding: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
965 border-width: 1px 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
966 border-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
967 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
968 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
969 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
970 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
971 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
972 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
973 /************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
974 * ComboBoxes * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
975 **************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
976 GtkComboBox { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
977 > .the-button-in-the-combobox { padding-top: 3px; padding-bottom: 4px; } // Otherwise combos |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
978 // are bigger then |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
979 // buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
980 -GtkComboBox-arrow-scaling: 0.5; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
981 -GtkComboBox-shadow-type: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
982 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
983 @include _button_text_shadow; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
984 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
985 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
986 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
987 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
988 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
989 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
990 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
991 color: $backdrop_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
992 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
993 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
994 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
995 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
996 color: $backdrop_insensitive_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
997 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
998 .menuitem { text-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
999 .separator.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1000 // always disable separators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1001 -GtkWidget-wide-separators: true; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1002 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1003 &.combobox-entry .entry { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1004 &:dir(ltr) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1005 border-top-right-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1006 border-bottom-right-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1007 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1008 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1009 border-top-left-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1010 border-bottom-left-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1011 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1012 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1013 &.combobox-entry .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1014 &:dir(ltr) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1015 border-top-left-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1016 border-bottom-left-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1017 border-left-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1018 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1019 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1020 border-top-right-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1021 border-bottom-right-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1022 border-right-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1023 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1024 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1025 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1026 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1027 .linked > GtkComboBox > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1028 .linked > GtkComboBoxText > .the-button-in-the-combobox { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1029 // the combo is a composite widget so the way we do button linkind doesn't |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1030 // work, special case needed. See |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1031 // https://bugzilla.gnome.org/show_bug.cgi?id=733979 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1032 &:dir(ltr), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1033 &:dir(rtl) { @extend %linked_middle; } // specificity bump |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1034 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1035 .linked > GtkComboBox:first-child > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1036 .linked > GtkComboBoxText:first-child > .the-button-in-the-combobox { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1037 @extend %linked:first-child; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1038 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1039 .linked > GtkComboBox:last-child > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1040 .linked > GtkComboBoxText:last-child > .the-button-in-the-combobox { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1041 @extend %linked:last-child; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1042 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1043 .linked > GtkComboBox:only-child > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1044 .linked > GtkComboBoxText:only-child > .the-button-in-the-combobox { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1045 @extend %linked:only-child; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1046 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1047 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1048 .linked.vertical > GtkComboBoxText > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1049 .linked.vertical > GtkComboBox > .the-button-in-the-combobox { @extend %linked_vertical_middle; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1050 .linked.vertical > GtkComboBoxText:first-child > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1051 .linked.vertical > GtkComboBox:first-child > .the-button-in-the-combobox { @extend %linked_vertical:first-child; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1052 .linked.vertical > GtkComboBoxText:last-child > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1053 .linked.vertical > GtkComboBox:last-child > .the-button-in-the-combobox { @extend %linked_vertical:last-child; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1054 .linked.vertical > GtkComboBoxText:only-child > .the-button-in-the-combobox, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1055 .linked.vertical > GtkComboBox:only-child > .the-button-in-the-combobox { @extend %linked_vertical:only-child; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1056 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1057 /************ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1058 * Toolbars * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1059 ************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1060 .toolbar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1061 -GtkWidget-window-dragging: true; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1062 padding: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1063 background-color: $bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1064 .osd &, &.osd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1065 padding: 13px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1066 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1067 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1068 background-color: $osd_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1069 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1070 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1071 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1072 //searchbar, location-bar & inline-toolbar |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1073 .inline-toolbar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1074 @extend .toolbar; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1075 @extend %inset-bar; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1076 border-width: 0 1px 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1077 padding: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1078 border-radius: 0 0 5px 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1079 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1080 .search-bar, .location-bar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1081 @extend .toolbar; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1082 @extend %inset-bar; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1083 border-width: 0 0 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1084 padding: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1085 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1086 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1087 %inset-bar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1088 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1089 border-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1090 $_bg: mix($bg_color, $borders_color, 70%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1091 background-color: $_bg; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1092 box-shadow: inset 0 2px 3px -1px mix($borders_color, $_bg, 60%), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1093 _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1094 //FIXME edge would be nice, but doesn't work |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1095 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1096 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1097 background-color: $backdrop_dark_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1098 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1099 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1100 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1101 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1102 /*************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1103 * Header bars * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1104 ***************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1105 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1106 .titlebar, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1107 .header-bar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1108 padding: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1109 border-width: 0 0 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1110 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1111 border-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1112 border-radius: 7px 7px 0 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1113 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1114 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1115 @include headerbar_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1116 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1117 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1118 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1119 background-color: $bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1120 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1121 box-shadow: inset 0 1px $top_hilight; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1122 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1123 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1124 .title { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1125 font-weight: bold; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1126 padding-left: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1127 padding-right: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1128 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1129 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1130 .subtitle { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1131 font-size: smaller; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1132 padding-left: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1133 padding-right: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1134 @extend .dim-label; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1135 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1136 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1137 .header-bar-separator, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1138 & > GtkBox > .separator.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1139 -GtkWidget-wide-separators: true; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1140 -GtkWidget-separator-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1141 border-width: 0 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1142 border-image: linear-gradient(to bottom, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1143 transparentize($borders_color,1), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1144 $borders_color 30%, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1145 $borders_color 70%, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1146 transparentize($borders_color,1) 100%) |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1147 0 1 / 0 1px stretch; //FIXME use a proper color |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1148 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1149 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1150 border-image: linear-gradient(to bottom, transparentize($backdrop_borders_color, 0.5)) |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1151 0 1 / 1px 1px; //FIXME use a proper color |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1152 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1153 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1154 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1155 &.selection-mode { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1156 $_hc: mix($top_hilight,$selected_bg_color, 50%); // hilight color |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1157 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1158 color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1159 text-shadow: 0 -1px transparentize(black, 0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1160 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1161 background-image: linear-gradient(to bottom, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1162 lighten($selected_bg_color,5%), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1163 $selected_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1164 box-shadow: inset 0 -1px mix($selected_borders_color, $selected_bg_color, 35%), //bottom shade |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1165 inset 0 1px $_hc; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1166 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1167 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1168 background-image: linear-gradient(to bottom, $selected_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1169 box-shadow: inset 0 1px mix($top_hilight, $selected_bg_color, 60%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1170 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1171 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1172 .subtitle:link { @extend *:link:selected; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1173 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1174 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1175 @include button(normal, $selected_bg_color, $selected_fg_color, $_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1176 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1177 &.flat { @include button(undecorated); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1178 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1179 &:hover { @include button(hover, $selected_bg_color, $selected_fg_color, $_hc); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1180 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1181 &:active, &:checked { @include button(active, $selected_bg_color, $selected_fg_color, $_hc); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1182 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1183 &:backdrop, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1184 &.flat:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1185 @include button(backdrop, $selected_bg_color, $selected_fg_color, $_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1186 -gtk-image-effect: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1187 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1188 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1189 &:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1190 &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1191 @include button(backdrop-active, $selected_bg_color, $selected_fg_color, $_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1192 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1193 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1194 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1195 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1196 @include button(backdrop-insensitive, $selected_bg_color, $selected_fg_color, $_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1197 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1198 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1199 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1200 &:insensitive:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1201 &:insensitive:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1202 @include button(backdrop-insensitive-active, $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1203 $selected_fg_color, $_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1204 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1205 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1206 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1207 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1208 &.flat:backdrop, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1209 &.flat:insensitive, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1210 &.flat:insensitive:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1211 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1212 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1213 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1214 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1215 @include button(insensitive, $selected_bg_color, $selected_fg_color, $_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1216 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1217 &:active, &:checked { @include button(insensitive-active, $selected_bg_color, $selected_fg_color, $_hc); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1218 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1219 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1220 &.suggested-action { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1221 @include button(normal, $edge:$_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1222 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1223 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1224 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1225 @include button(hover, $edge:$_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1226 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1227 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1228 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1229 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1230 @include button(active, $edge:$_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1231 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1232 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1233 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1234 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1235 @include button(insensitive, $edge:$_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1236 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1237 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1238 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1239 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1240 @include button(backdrop, $edge:$_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1241 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1242 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1243 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1244 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1245 @include button(backdrop-insensitive, $edge:$_hc); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1246 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1247 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1248 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1249 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1250 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1251 .selection-menu { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1252 border-color: transparentize($selected_bg_color, 1); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1253 background-image: linear-gradient(to bottom, transparentize($selected_bg_color, 1)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1254 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1255 padding-left: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1256 padding-right: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1257 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1258 GtkArrow { -GtkArrow-arrow-scaling: 1; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1259 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1260 .arrow { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1261 -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1262 color: transparentize($selected_fg_color,0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1263 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1264 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1265 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1266 &:backdrop { @extend .selection-menu }; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1267 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1268 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1269 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1270 .tiled &, .maximized & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1271 border-radius: 0; // squared corners when the window is max'd or tiled |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1272 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1273 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1274 &.default-decoration { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1275 padding: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1276 .button { padding: 5px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1277 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1278 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1279 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1280 /************ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1281 * Pathbars * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1282 ************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1283 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1284 .path-bar .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1285 padding: 5px 6px 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1286 &:first-child { padding-left: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1287 &:last-child { padding-right: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1288 &:only-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1289 padding-left: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1290 padding-right: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1291 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1292 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1293 // the following is for spacing the icon and the label inside the home button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1294 .label:last-child { padding-left: 2px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1295 .label:first-child { padding-right: 2px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1296 .label:only-child { padding-right: 0; padding-left: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1297 GtkImage { padding-top: 1px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1298 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1299 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1300 /************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1301 * Tree Views * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1302 **************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1303 GtkTreeView.view { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1304 -GtkTreeView-grid-line-width: 1; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1305 -GtkTreeView-grid-line-pattern: ''; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1306 -GtkTreeView-tree-line-width: 1; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1307 -GtkTreeView-tree-line-pattern: ''; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1308 -GtkTreeView-expander-size: 16; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1309 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1310 border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1311 border-top-color: $bg_color; // while this is the grid lines color, better then nothing |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1312 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1313 &.rubberband { @extend .rubberband; } // to avoid borders being overridden by the previously set props |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1314 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1315 &:selected { border-radius: 0; } // rest border radius in lists |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1316 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1317 &:selected, &:backdrop:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1318 border-left-color: mix($selected_fg_color, $selected_bg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1319 border-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunatelly |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1320 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1321 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1322 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1323 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1324 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1325 color: mix($selected_fg_color, $selected_bg_color, 40%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1326 &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 30%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1327 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1328 &:backdrop { color: $backdrop_insensitive_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1329 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1330 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1331 &.separator:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1332 color: transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1333 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1334 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1335 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1336 border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1337 border-top: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1338 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1339 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1340 &.dnd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1341 border-style: solid none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1342 border-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1343 border-color: mix($fg_color, $selected_bg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1344 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1345 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1346 &.expander { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1347 -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1348 &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1349 color: mix($fg_color, $base_color, 70%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1350 &:hover { color: $fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1351 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1352 color: mix($selected_fg_color, $selected_bg_color, 70%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1353 &:hover { color: $selected_fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1354 &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 70%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1355 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1356 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1357 &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1358 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1359 &:backdrop { color: mix($backdrop_fg_color, $backdrop_base_color, 70%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1360 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1361 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1362 &.progressbar { // progress bar in treeviews |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1363 @if $variant == light { color: $base_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1364 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1365 border: 1px solid $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1366 border-radius: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1367 background-image: linear-gradient(to bottom, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1368 $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1369 darken($selected_bg_color,10%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1370 box-shadow: inset 0 1px if($variant=='light', transparentize(white,0.7), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1371 transparentize(white,0.85)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1372 0 1px if($variant=='light', transparentize(black, 0.8), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1373 transparentize(black,0.9)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1374 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1375 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1376 @if $variant == 'light' { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1377 color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1378 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1379 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1380 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1381 @else { box-shadow: inset 0 1px transparentize(white, 0.95); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1382 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1383 background-image: linear-gradient(to bottom, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1384 $base_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1385 darken($base_color,10%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1386 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1387 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1388 @if $variant == 'light' { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1389 color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1390 border-color: $selected_borders_color; // otherwise it gets inherited by .view(?!?) |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1391 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1392 @else { border-color: $backdrop_base_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1393 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1394 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1395 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1396 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1397 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1398 @if $variant == 'light' { color: $backdrop_base_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1399 @else { border-color: $backdrop_base_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1400 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1401 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1402 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1403 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1404 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1405 &.trough { // progress bar trough in treeviews |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1406 background-color: transparentize($fg_color,0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1407 border-radius: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1408 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1409 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1410 background-color: if($variant == 'light', |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1411 transparentize($selected_fg_color, 0.7), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1412 darken($selected_bg_color, 10%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1413 @if $variant == 'light' { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1414 border-width: 1px 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1415 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1416 border-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1417 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1418 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1419 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1420 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1421 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1422 column-header { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1423 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1424 @extend %column_header_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1425 $_column_header_color: mix($fg_color, $base_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1426 color: $_column_header_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1427 background-color: $base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1428 font-weight: bold; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1429 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1430 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1431 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1432 @extend %column_header_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1433 color: mix($_column_header_color, $fg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1434 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1435 transition: none; //I shouldn't need this |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1436 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1437 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1438 @extend %column_header_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1439 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1440 transition: none; //I shouldn't need this |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1441 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1442 &.dnd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1443 @extend column-header.button.dnd; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1444 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1445 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1446 &:last-child .button, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1447 &:last-child .button:backdrop, // set :backdrop too or the border will be visibile there |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1448 &:last-child.button, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1449 &:last-child.button:backdrop { //treeview-like derived widgets in Banshee and Evolution |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1450 border-right-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1451 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1452 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1453 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1454 column-header.button.dnd { // for treeview-like derive widgets |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1455 transition: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1456 color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1457 box-shadow: inset 1px 1px 0 1px $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1458 inset -1px 0 0 1px $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1459 inset 1px 1px $base_color, inset -1px 0 $base_color;; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1460 &:active { @extend column-header.button.dnd; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1461 &:selected { @extend column-header.button.dnd; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1462 &:hover { @extend column-header.button.dnd; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1463 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1464 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1465 %column_header_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1466 padding: 3px 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1467 border-style: none solid solid none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1468 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1469 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1470 border-color: $bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1471 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1472 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1473 border-color: $bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1474 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1475 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1476 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1477 border-color: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1478 border-style: none solid solid none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1479 color: mix($backdrop_fg_color, $backdrop_bg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1480 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1481 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1482 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1483 border-color: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1484 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1485 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1486 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1487 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1488 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1489 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1490 /********* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1491 * Menus * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1492 *********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1493 .menubar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1494 -GtkWidget-window-dragging: true; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1495 padding: 0px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1496 box-shadow: inset 0 -1px transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1497 &:backdrop { background-color: $backdrop_bg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1498 & > .menuitem { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1499 padding: 4px 8px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1500 &:hover { //Seems like it :hover even with keyboard focus |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1501 box-shadow: inset 0 -3px $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1502 color: $link_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1503 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1504 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1505 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1506 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1507 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1508 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1509 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1510 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1511 .menu { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1512 margin: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1513 padding: 0px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1514 background-color: $menu_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1515 border: 1px solid $borders_color; // adds borders in a non composited env |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1516 .csd & { border: none; } // axes borders in a composited env |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1517 &:backdrop { background-color: $backdrop_menu_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1518 .menuitem { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1519 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1520 padding: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1521 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1522 color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1523 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1524 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1525 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1526 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1527 &:backdrop { color: $backdrop_insensitive_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1528 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1529 &:backdrop, &:backdrop:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1530 color: $backdrop_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1531 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1532 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1533 //submenu indicators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1534 &.arrow { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1535 &.arrow:dir(rtl) {-gtk-icon-source:-gtk-icontheme('pan-end-symbolic-rtl'); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1536 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1537 &.button { // overlow buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1538 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1539 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1540 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1541 &.top { border-bottom: 1px solid mix($fg_color, $base_color, 10%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1542 &.bottom { border-top: 1px solid mix($fg_color, $base_color, 10%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1543 &:hover { background-color: mix($fg_color, $base_color, 10%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1544 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1545 color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1546 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1547 border-color: transparent ; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1548 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1549 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1550 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1551 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1552 .menuitem .accelerator { color: gtkalpha(currentColor,0.55); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1553 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1554 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1555 /*************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1556 * Popovers * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1557 ***************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1558 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1559 .popover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1560 padding: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1561 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1562 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1563 background-color: mix($bg_color, $base_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1564 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1565 box-shadow: 0 1px 2px transparentize(black, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1566 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1567 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1568 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1569 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1570 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1571 > .list, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1572 > .view, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1573 > .toolbar, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1574 &.osd > .toolbar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1575 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1576 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1577 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1578 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1579 .button.flat, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1580 .button.flat:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1581 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1582 transition: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1583 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1584 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1585 &.osd { @extend %osd; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1586 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1587 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1588 /***************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1589 * Notebooks and * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1590 * Tabs * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1591 *****************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1592 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1593 .notebook { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1594 // Through me you go to the grief wracked city; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1595 // Through me you go to everlasting pain; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1596 // Through me you go a pass among lost souls. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1597 // ... |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1598 // Abandon all hope — Ye Who Enter Here |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1599 padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1600 background-color: $base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1601 -GtkNotebook-initial-gap: 10; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1602 -GtkNotebook-arrow-spacing: 5; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1603 -GtkNotebook-tab-curvature: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1604 -GtkNotebook-tab-overlap: -8; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1605 -GtkNotebook-has-tab-gap: false; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1606 -GtkWidget-focus-padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1607 -GtkWidget-focus-line-width: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1608 transition: all 200ms $ease-out-quad; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1609 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1610 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1611 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1612 &.frame { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1613 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1614 // FIXME doesn't work |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1615 &.top { border-top-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1616 &.bottom { border-bottom-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1617 &.right { border-right-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1618 &.left { border-left-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1619 &:backdrop { border-color: $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1620 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1621 &.header { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1622 // FIXME: double borders in some case, can't fix it w/o a class tho |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1623 // FIXME: doesn't work on dark var |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1624 background-color: mix($bg_color, $borders_color, 70%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1625 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1626 // this is the shading of the header behind the tabs |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1627 &.frame { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1628 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1629 &.top { border-bottom-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1630 &.bottom { border-top-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1631 &.right { border-left-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1632 &.left { border-right-width: 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1633 &:backdrop { border-color: $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1634 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1635 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1636 $_header_shade: inset 0 2px 3px -1px transparentize(black, 0.85); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1637 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1638 box-shadow: $_header_shade, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1639 inset 0 -1px $borders_color; // border |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1640 &:backdrop { box-shadow: inset 0 -1px $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1641 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1642 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1643 box-shadow: $_header_shade, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1644 inset 0 1px $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1645 &:backdrop { box-shadow: inset 0 1px $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1646 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1647 &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1648 box-shadow: $_header_shade, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1649 inset 1px 0 $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1650 &:backdrop { box-shadow: inset 1px 0 $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1651 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1652 &.left { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1653 box-shadow: $_header_shade, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1654 inset -1px 0 $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1655 &:backdrop { box-shadow: inset -1px 0 $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1656 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1657 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1658 // same color as backdrop pushed button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1659 background-color: $backdrop_dark_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1660 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1661 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1662 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1663 tab { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1664 border-width: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1665 border-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1666 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1667 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1668 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1669 outline-offset: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1670 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1671 $tab_indicator_size: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1672 //vertical tab sizing |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1673 $vt_vpadding: 8px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1674 $vt_hpadding: 20px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1675 // horizontal tab sizing |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1676 $ht_vpadding: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1677 $ht_hpadding: 20px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1678 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1679 //FIXME: we get double border in some cases, not considering the broken |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1680 //notebook content frame... |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1681 &.top, &.bottom { padding: $vt_vpadding $vt_hpadding; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1682 &.left, &.right { padding: $ht_vpadding $ht_hpadding; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1683 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1684 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1685 /* works for testnotebookdnd, but there's a superfluous border |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1686 in gedit or web, commented out for now, needs gtk fixes |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1687 &.reorderable-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1688 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1689 padding-top: ($vt_vpadding - 1px); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1690 border-top-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1691 border-left-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1692 border-right-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1693 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1694 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1695 padding-bottom: ($vt_vpadding - 1px); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1696 border-bottom-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1697 border-left-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1698 border-right-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1699 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1700 &.left { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1701 padding-left: ($ht_hpadding - 1px); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1702 border-left-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1703 border-top-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1704 border-bottom-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1705 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1706 &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1707 padding-right: ($ht_hpadding - 1px); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1708 border-right-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1709 border-top-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1710 border-bottom-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1711 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1712 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1713 */ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1714 &.reorderable-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1715 &.top, &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1716 padding-left: 12px; // for a nicer close button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1717 padding-right: 12px; // placement |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1718 border-left-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1719 border-right-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1720 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1721 &.left, &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1722 border-bottom-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1723 border-top-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1724 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1725 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1726 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1727 //padding-bottom: ($vt_vpadding -$tab_indicator_size); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1728 border-bottom-width: $tab_indicator_size; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1729 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1730 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1731 //padding-top: ($vt_vpadding -$tab_indicator_size); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1732 border-top-width: $tab_indicator_size; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1733 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1734 &.left { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1735 //padding-right: ($ht_hpadding -$tab_indicator_size); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1736 border-right-width: $tab_indicator_size; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1737 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1738 &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1739 //padding-left: ($ht_hpadding -$tab_indicator_size); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1740 border-left-width: $tab_indicator_size; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1741 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1742 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1743 //here's the interesting stuff |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1744 &:hover, &.prelight-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1745 border-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1746 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1747 &:active, &.active-page, &:backdrop:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1748 border-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1749 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1750 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1751 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1752 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1753 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1754 @each $_tab, $_border in (top, bottom), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1755 (bottom, top), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1756 (left, right), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1757 (right, left) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1758 &.reorderable-page.#{$_tab} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1759 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1760 &:hover, &.prelight-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1761 border-color: transparentize($borders_color,0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1762 border-#{$_border}-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1763 background-color: transparentize($bg_color,0.8); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1764 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1765 &:active, &.active-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1766 background-color: transparentize($bg_color,0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1767 border-color: transparentize($borders_color,0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1768 border-#{$_border}-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1769 &:hover { background-color: transparentize($bg_color,0.3); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1770 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1771 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1772 background-color: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1773 border-#{$_border}-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1774 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1775 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1776 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1777 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1778 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1779 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1780 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1781 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1782 .label { //tab text |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1783 padding: 0 2px; // needed for a nicer focus ring |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1784 font-weight: bold; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1785 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1786 &:backdrop, &.prelight-page:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1787 color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1788 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1789 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1790 .prelight-page .label, .label.prelight-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1791 // prelight tab text |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1792 color: mix($fg_color, $insensitive_fg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1793 &:backdrop { // FIXME, it's the same as .label:backdrop up here |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1794 color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1795 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1796 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1797 .active-page .label, .label.active-page { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1798 // active tab text |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1799 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1800 &:backdrop { color: $backdrop_fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1801 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1802 .button { //tab close button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1803 padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1804 border: 1px solid transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1805 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1806 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1807 transition: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1808 color: transparentize($fg_color,0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1809 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1810 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1811 @include button(hover, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1812 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1813 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1814 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1815 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1816 @include button(active, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1817 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1818 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1819 color: transparentize($backdrop_fg_color,0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1820 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1821 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1822 & > GtkImage { // this is a hack which makes tabs grow |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1823 padding: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1824 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1825 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1826 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1827 &.arrow { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1828 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1829 &:hover { color: mix($fg_color, $insensitive_fg_color, 50%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1830 &:active { color: $fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1831 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1832 color: transparentize($insensitive_fg_color,0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1833 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1834 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1835 color: transparentize($backdrop_fg_color,0.6); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1836 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1837 color: $backdrop_insensitive_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1838 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1839 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1840 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1841 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1842 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1843 /************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1844 * Scrollbars * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1845 **************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1846 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1847 .scrollbar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1848 -GtkRange-slider-width: 13; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1849 -GtkRange-trough-border: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1850 -GtkScrollbar-has-backward-stepper: false; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1851 -GtkScrollbar-has-forward-stepper: false; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1852 -GtkScrollbar-min-slider-length: 42; // minimum size for the slider. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1853 // sadly can't be in '.slider' |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1854 // where it belongs |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1855 -GtkRange-stepper-spacing: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1856 -GtkRange-trough-under-steppers: 1; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1857 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1858 $_slider_margin: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1859 $_slider_fine_tune_margin: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1860 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1861 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1862 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1863 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1864 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1865 &.overlay-indicator { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1866 &:not(.dragging):not(.hovering) { // Overlay scrolling indicator |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1867 opacity: 0.4; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1868 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1869 -GtkRange-slider-width: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1870 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1871 .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1872 margin: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1873 background-color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1874 border: 1px solid if($variant==light, white, black); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1875 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1876 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1877 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1878 .trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1879 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1880 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1881 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1882 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1883 // w/o the following margin tweaks the slider shrinks when hovering/dragging |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1884 &.vertical .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1885 margin-top: $_slider_margin - 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1886 margin-bottom: $_slider_margin - 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1887 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1888 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1889 &.horizontal .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1890 margin-left: $_slider_margin - 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1891 margin-right: $_slider_margin - 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1892 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1893 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1894 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1895 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1896 &.dragging, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1897 &.hovering { opacity: 0.7; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1898 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1899 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1900 // trough coloring |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1901 .trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1902 background-color: $scrollbar_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1903 border: 1px none $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1904 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1905 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1906 background-color: $backdrop_scrollbar_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1907 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1908 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1909 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1910 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1911 // slider coloring |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1912 .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1913 background-color: mix($fg_color, $bg_color, 60%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1914 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1915 &:hover { background-color: mix($fg_color, $bg_color, 80%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1916 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1917 &:prelight:active { background-color: if($variant=='light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 10%));} |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1918 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1919 &:backdrop { background-color: mix($backdrop_fg_color, $backdrop_bg_color, 40%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1920 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1921 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1922 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1923 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1924 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1925 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1926 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1927 // sizing |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1928 .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1929 border-radius: 100px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1930 margin: $_slider_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1931 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1932 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1933 &.fine-tune .slider { margin: $_slider_fine_tune_margin; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1934 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1935 &.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1936 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1937 .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1938 margin-left: 1px + $_slider_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1939 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1940 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1941 margin-left: $_slider_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1942 margin-right: 1px + $_slider_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1943 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1944 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1945 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1946 &.fine-tune .slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1947 margin-left: 1px + $_slider_fine_tune_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1948 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1949 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1950 margin-left: $_slider_fine_tune_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1951 margin-right: 1px + $_slider_fine_tune_margin; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1952 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1953 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1954 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1955 .trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1956 border-left-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1957 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1958 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1959 border-left-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1960 border-right-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1961 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1962 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1963 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1964 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1965 &.horizontal { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1966 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1967 .slider { margin-top: 1px + $_slider_margin; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1968 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1969 &.fine-tune .slider { margin-top: 1px + $_slider_fine_tune_margin; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1970 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1971 .trough { border-top-style: solid; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1972 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1973 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1974 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1975 .scrollbars-junction, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1976 .scrollbars-junction.frame { // the small square between two scrollbars |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1977 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1978 // the border image is used to add the missing dot between the borders, details, details, details... |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1979 border-image: linear-gradient(to bottom, $borders_color 1px, transparent 1px) 0 0 0 1 / 0 1px stretch; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1980 background-color: $scrollbar_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1981 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1982 &:dir(rtl) { border-image-slice: 0 1 0 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1983 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1984 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1985 border-image-source: linear-gradient(to bottom, $backdrop_borders_color 1px, transparent 1px); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1986 background-color: $backdrop_scrollbar_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1987 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1988 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1989 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1990 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1991 /********** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1992 * Switch * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1993 **********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1994 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1995 GtkSwitch { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1996 -GtkSwitch-slider-width: 45px; // 55px is the right value to make it as tall |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1997 // as buttons, not doing that for now |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1998 -GtkSwitch-slider-height: 27px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1999 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2000 font-weight: bold; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2001 font-size: smaller; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2002 outline-offset: -4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2003 box-shadow: inset 0 1px transparentize(black, 0.9), // needs to be set here |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2004 _widget_edge(); // otherwise it gets |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2005 // clipped |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2006 &.trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2007 // similar to the .scale |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2008 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2009 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2010 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2011 background-image: linear-gradient(to bottom, mix($bg_color, $borders_color, 60%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2012 text-shadow: 0 1px transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2013 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2014 @include progressbar_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2015 color: white; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2016 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2017 box-shadow: _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2018 text-shadow: 0 1px transparentize($selected_borders_color, 0.5), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2019 0 0 2px transparentize(white, 0.4); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2020 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2021 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2022 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2023 border-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2024 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2025 background-color: $insensitive_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2026 box-shadow: _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2027 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2028 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2029 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2030 color: $backdrop_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2031 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2032 background-image: linear-gradient(to bottom, $backdrop_dark_fill); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2033 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2034 text-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2035 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2036 @if $variant == 'light' { color: $backdrop_bg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2037 border-color: if($variant == 'light', $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2038 $selected_borders_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2039 background-image: linear-gradient(to bottom, $selected_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2040 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2041 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2042 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2043 color: $backdrop_insensitive_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2044 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2045 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2046 background-color: $insensitive_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2047 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2048 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2049 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2050 &.slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2051 border: 1px solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2052 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2053 @include button(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2054 box-shadow: inset 0 1px if($variant=='light', white, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2055 transparentize(white, 0.85)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2056 inset 0 -2px transparentize($bg_color, 0.4), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2057 inset 0 -1px mix($bg_color, $borders_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2058 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2059 @include button(hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2060 box-shadow: inset 0 1px if($variant=='light', white, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2061 transparentize(white, 0.85)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2062 inset 0 -2px transparentize($bg_color, 0.4), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2063 inset 0 -1px mix($bg_color, $borders_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2064 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2065 &:active { border: 1px solid $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2066 &:insensitive { @include button(insensitive, $edge:none); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2067 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2068 @include button(backdrop); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2069 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2070 &:active{ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2071 border-color: if($variant == 'light', $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2072 $selected_borders_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2073 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2074 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2075 @include button(backdrop-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2076 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2077 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2078 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2079 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2080 .list-row:selected & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2081 @if $variant == 'light' { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2082 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2083 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2084 &:backdrop { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2085 &.slider:dir(rtl) { border-left-color: $borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2086 &.slider:dir(ltr) { border-right-color: $borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2087 &.slider, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2088 &.slider:active { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2089 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2090 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2091 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2092 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2093 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2094 /************************* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2095 * Check and Radio items * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2096 *************************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2097 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2098 // draw regular check and radio items using our PNG assets |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2099 // all assets are rendered from assets.svg. never add pngs directly |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2100 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2101 @each $w,$a in ('check', 'checkbox'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2102 ('radio','radio') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2103 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2104 //standard checks and radios |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2105 @each $s,$as in ('','-unchecked'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2106 (':hover', '-unchecked-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2107 (':active', '-unchecked-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2108 (':insensitive','-unchecked-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2109 (':backdrop', '-unchecked-backdrop'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2110 (':backdrop:insensitive', '-unchecked-backdrop-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2111 (':inconsistent', '-mixed'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2112 (':inconsistent:hover', '-mixed-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2113 (':inconsistent:selected', '-mixed-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2114 (':inconsistent:backdrop', '-mixed-backdrop'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2115 (':inconsistent:insensitive', '-mixed-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2116 (':inconsistent:insensitive:backdrop', '-mixed-backdrop-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2117 (':checked', '-checked'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2118 (':checked:insensitive','-checked-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2119 (':checked:hover', '-checked-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2120 (':checked:active', '-checked-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2121 (':backdrop:checked', '-checked-backdrop'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2122 (':backdrop:checked:insensitive', '-checked-backdrop-insensitive') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2123 .#{$w}#{$s} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2124 -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}#{$asset_suffix}.png"), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2125 url("assets/#{$a}#{$as}#{$asset_suffix}@2.png")); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2126 icon-shadow: if(str-index($s,"backdrop"), none, 0 1px 0 $borders_edge); //no edge highlight for :backdrop |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2127 &.button.flat { icon-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2128 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2129 @if $variant == 'light' { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2130 // the borders of the light variant versions of checks and radios are |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2131 // too similar in luminosity to the selected background color, hence |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2132 // we need special casing. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2133 .view.#{$w}#{$s}:selected, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2134 .list-row:selected .#{$w}#{$s} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2135 -gtk-icon-source: -gtk-scaled(url("assets/selected-#{$a}#{$as}#{$asset_suffix}.png"), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2136 url("assets/selected-#{$a}#{$as}#{$asset_suffix}@2.png")); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2137 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2138 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2139 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2140 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2141 //menu |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2142 .menu .menuitem.#{$w} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2143 -gtk-icon-source: -gtk-icontheme('#{$a}-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2144 color: mix($fg_color, $bg_color, 60%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2145 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2146 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2147 -gtk-icon-source: -gtk-icontheme('#{$a}-checked-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2148 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2149 &:inconsistent { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2150 -gtk-icon-source: -gtk-icontheme('#{$a}-mixed-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2151 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2152 &:hover { color: $selected_fg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2153 &:insensitive { color: mix($insensitive_fg_color, $bg_color, 50%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2154 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2155 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2156 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2157 //treeview and list-rows |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2158 .view.check, .view.radio, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2159 .list-row .check, list-row .radio { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2160 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2161 &:selected, &:hover { icon-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2162 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2163 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2164 //selection-mode |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2165 @each $s,$as in ('','-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2166 (':hover', '-hover-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2167 (':active', '-active-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2168 (':backdrop', '-backdrop-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2169 (':checked', '-checked-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2170 (':checked:hover', '-checked-hover-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2171 (':checked:active', '-checked-active-selectionmode'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2172 (':backdrop:checked', '-checked-backdrop-selectionmode') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2173 .view.content-view.check#{$s}:not(.list) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2174 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2175 -gtk-icon-source: -gtk-scaled(url("assets/checkbox#{$as}.png"), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2176 url("assets/checkbox#{$as}@2.png")); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2177 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2178 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2179 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2180 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2181 GtkCheckButton.text-button, GtkRadioButton.text-button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2182 // this is for a nice focus on check and radios text |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2183 padding: 1px 2px 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2184 outline-offset: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2185 &:insensitive, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2186 &:insensitive:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2187 &:insensitive:inconsistent { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2188 // set insensitive color, which is overriden otherwise |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2189 color: $insensitive_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2190 &:backdrop { color: $backdrop_insensitive_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2191 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2192 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2193 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2194 /************ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2195 * GtkScale * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2196 ************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2197 .scale, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2198 .scale.scale-has-marks-above.scale-has-marks-below, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2199 .scale.vertical.scale-has-marks-above.scale-has-marks-below { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2200 // FIXME: rationalize |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2201 -GtkScale-slider-length: 20; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2202 -GtkRange-slider-width: 20; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2203 -GtkRange-trough-border: 2; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2204 outline-offset: -9px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2205 outline-radius: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2206 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2207 &.fine-tune { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2208 outline-offset: -7px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2209 outline-radius: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2210 &.trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2211 margin: 8px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2212 border-radius: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2213 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2214 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2215 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2216 &.slider { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2217 //FIXME: better gradient on the slider and hover state |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2218 @include button(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2219 border: 1px solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2220 border-radius: 50%; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2221 border-color: darken($borders_color,3%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2222 box-shadow: inset 0 1px if($variant=='light', white, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2223 transparentize(white,0.85)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2224 inset 0 #{-2px} $bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2225 inset 0 #{-1px} mix($bg_color, $borders_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2226 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2227 @include button(hover); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2228 border-color: darken($borders_color,3%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2229 border-radius: 50%; // needed for double marks scales |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2230 box-shadow: inset 0 1px if($variant=='light', white, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2231 transparentize(white, 0.85)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2232 inset 0 #{-2px} if($variant=='light', white, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2233 transparentize(white, 0.86)), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2234 inset 0 #{-1px} mix($bg_color, $borders_color, 70%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2235 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2236 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2237 border-style: solid; // needed for double marks scales or they'll get |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2238 border-radius: 50%; // overridden |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2239 background-image: linear-gradient(to bottom, $insensitive_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2240 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2241 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2242 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2243 border-style: solid; // needed for double marks scales or they'll get |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2244 border-radius: 50%; // overridden |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2245 border-color: darken($backdrop_borders_color,3%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2246 background-image: linear-gradient(to bottom, $backdrop_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2247 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2248 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2249 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2250 @include button(backdrop-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2251 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2252 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2253 border: 1px solid if($variant=='light',darken($selected_borders_color,3%), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2254 darken($selected_bg_color,15%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2255 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2256 //OSD sliders |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2257 .osd & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2258 @include button(osd); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2259 background-color: opacify($osd_bg_color, 1); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2260 &:hover { @include button(osd-hover); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2261 &:active { @include button(osd-active); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2262 &:backdrop { @include button(osd-backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2263 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2264 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2265 &.trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2266 margin: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2267 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2268 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2269 background-color: mix($bg_color, $borders_color, 60%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2270 box-shadow: inset 1px 1px transparentize(black, 0.9), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2271 _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2272 &.highlight { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2273 @include progressbar_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2274 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2275 box-shadow: _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2276 &.vertical { @include progressbar_fill(vertical); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2277 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2278 border-color: if($variant=='light', $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2279 $selected_borders_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2280 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2281 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2282 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2283 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2284 &:insensitive, &.vertical:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2285 border-color: $insensitive_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2286 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2287 background-color: $insensitive_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2288 box-shadow: _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2289 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2290 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2291 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2292 background-color: mix($backdrop_bg_color, $borders_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2293 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2294 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2295 &:backdrop:insensitive, .highlight:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2296 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2297 background-color: $insensitive_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2298 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2299 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2300 //OSD troughs |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2301 .osd & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2302 border-color: $osd_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2303 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2304 margin: 9px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2305 &.fine-tune { margin: 7px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2306 background-color: transparentize($osd_borders_color, 0.2); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2307 outline-color: transparentize($osd_fg_color, 0.8); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2308 outline-offset: -8px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2309 &.highlight { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2310 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2311 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2312 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2313 &:insensitive, &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2314 border-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2315 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2316 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2317 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2318 border-color: $osd_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2319 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2320 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2321 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2322 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2323 // scales on selected list rows |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2324 .list-row:selected & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2325 border-color: $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2326 &.trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2327 box-shadow: inset 1px 1px transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2328 &:backdrop { box-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2329 &.highlight:backdrop { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2330 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2331 &:insensitive, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2332 &.trough.highlight:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2333 border-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2334 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2335 background-color: mix($selected_fg_color, $selected_bg_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2336 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2337 &:backdrop { background-color: mix($backdrop_selected_fg_color, $selected_bg_color, 50%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2338 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2339 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2340 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2341 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2342 @each $d,$dn in ('', 'horz'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2343 ('.vertical', 'vert') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2344 @each $w,$we in ('scale-has-marks-below','scale_marks_below'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2345 ('scale-has-marks-above','scale_marks_above') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2346 .scale#{$d}.#{$w} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2347 -GtkScale-slider-length: 20; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2348 -GtkRange-slider-width: 24; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2349 -GtkRange-trough-border: 2; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2350 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2351 color: gtkalpha(currentColor, 0.5); // marks color |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2352 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2353 @extend %#{$we}_#{$dn}; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2354 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2355 @each $s,$as in ('',''), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2356 (':hover','-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2357 (':active','-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2358 (':insensitive','-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2359 (':backdrop','-backdrop'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2360 (':backdrop:insensitive','-backdrop-insensitive') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2361 &.slider#{$s} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2362 $_url: 'assets/slider-#{$dn}-#{$w}#{$as}#{$asset_suffix}'; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2363 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2364 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2365 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2366 background-image: -gtk-scaled(url('#{$_url}.png'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2367 url('#{$_url}@2.png')); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2368 background-repeat: no-repeat; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2369 background-position: center; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2370 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2371 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2372 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2373 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2374 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2375 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2376 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2377 %scale_marks_above_horz { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2378 .trough { margin: 14px 10px 10px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2379 &.fine-tune .trough { margin: 12px 8px 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2380 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2381 %scale_marks_below_horz { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2382 .trough { margin: 10px 10px 14px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2383 &.fine-tune .trough { margin: 8px 8px 12px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2384 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2385 %scale_marks_above_vert { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2386 .trough { margin: 10px 10px 10px 14px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2387 &.fine-tune .trough { margin: 8px 8px 8px 12px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2388 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2389 %scale_marks_below_vert { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2390 .trough { margin: 10px 14px 10px 10px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2391 &.fine-tune .trough { margin: 8px 12px 8px 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2392 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2393 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2394 /***************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2395 * Progress bars * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2396 *****************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2397 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2398 GtkProgressBar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2399 padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2400 font-size: smaller; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2401 color: transparentize($fg_color, 0.6); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2402 box-shadow: inset 1px 1px transparentize(black, 0.9), // needs to be set |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2403 _widget_edge(); // here ot it gets |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2404 // clipped |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2405 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2406 color: $backdrop_insensitive_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2407 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2408 &.osd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2409 -GtkProgressBar-xspacing: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2410 -GtkProgressBar-yspacing: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2411 -GtkProgressBar-min-horizontal-bar-height: 3; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2412 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2413 &.trough { // background |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2414 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2415 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2416 background-color: mix($borders_color, $bg_color, 35%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2417 &:backdrop{ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2418 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2419 background-color: $backdrop_dark_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2420 box-shadow: 0 1px transparentize(white,1); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2421 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2422 &.osd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2423 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2424 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2425 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2426 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2427 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2428 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2429 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2430 // moving bit |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2431 .progressbar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2432 @include progressbar_fill; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2433 border: 1px solid $selected_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2434 border-radius: 1.5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2435 box-shadow: none; //needed for clipping |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2436 &.left { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2437 border-top-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2438 border-bottom-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2439 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2440 &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2441 border-top-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2442 border-bottom-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2443 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2444 &.left.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2445 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2446 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2447 &.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2448 @include progressbar_fill(vertical); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2449 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2450 border-bottom-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2451 border-bottom-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2452 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2453 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2454 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2455 border-top-left-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2456 border-top-right-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2457 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2458 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2459 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2460 border-color: if($variant=='light', $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2461 $selected_borders_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2462 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2463 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2464 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2465 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2466 &.osd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2467 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2468 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2469 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2470 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2471 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2472 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2473 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2474 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2475 /************* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2476 * Level Bar * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2477 *************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2478 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2479 .level-bar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2480 box-shadow: _widget_edge(); // needs to be set here to avoid clipping |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2481 -GtkLevelBar-min-block-width: 34; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2482 -GtkLevelBar-min-block-height: 3; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2483 &.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2484 -GtkLevelBar-min-block-width: 3; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2485 -GtkLevelBar-min-block-height: 34; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2486 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2487 &.trough { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2488 border: 1px solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2489 padding: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2490 border-radius: 3px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2491 @include entry(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2492 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2493 @include entry(backdrop); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2494 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2495 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2496 &.fill-block { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2497 // FIXME: it would be nice to set make fill blocks bigger, but we'd need |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2498 // :nth-child working on discrete indicators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2499 border: 1px solid if($variant=='light', darken($selected_bg_color,10%), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2500 darken($selected_bg_color,5%)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2501 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2502 box-shadow: 0 1px transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2503 border-radius: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2504 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2505 border-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2506 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2507 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2508 &.indicator-discrete { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2509 &.horizontal { margin: 0 1px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2510 &.vertical { margin: 1px 0; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2511 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2512 &.level-high { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2513 border-color: darken($success_color,10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2514 background-color: $success_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2515 &:backdrop { border-color: $success_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2516 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2517 &.level-low { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2518 border-color: darken($warning_color,10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2519 background-color: $warning_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2520 &:backdrop { border-color: $warning_color; }; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2521 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2522 &.empty-fill-block { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2523 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2524 border-color: if($variant=='light', transparentize($fg_color,0.8), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2525 transparentize($fg_color,0.9)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2526 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2527 &:backdrop { border-color: transparentize($backdrop_fg_color,0.85); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2528 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2529 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2530 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2531 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2532 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2533 /********** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2534 * Frames * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2535 **********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2536 .frame { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2537 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2538 &.flat { border-style: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2539 &:backdrop { border-color: $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2540 padding: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2541 &.action-bar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2542 padding: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2543 border-width: 1px 0 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2544 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2545 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2546 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2547 GtkScrolledWindow { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2548 GtkViewport.frame { // avoid double borders when viewport inside |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2549 // scrolled window |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2550 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2551 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2552 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2553 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2554 //vbox and hbox separators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2555 .separator { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2556 // always disable separators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2557 // -GtkWidget-wide-separators: true; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2558 color: transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2559 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2560 // Font and File button separators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2561 GtkFileChooserButton &.vertical, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2562 GtkFontButton &.vertical { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2563 // always disable separators |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2564 -GtkWidget-wide-separators: true; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2565 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2566 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2567 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2568 /********* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2569 * Lists * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2570 *********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2571 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2572 .list { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2573 background-color: $base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2574 border-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2575 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2576 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2577 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2578 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2579 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2580 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2581 .list-row, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2582 .grid-child { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2583 padding: 2px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2584 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2585 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2586 .list-row.activatable { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2587 // let's take care of background colors |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2588 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2589 //background-color: mix($fg_color, $base_color, 5%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2590 background-color: if(variant == light, transparentize($fg_color, 0.9), transparentize($fg_color, 0.95)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2591 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2592 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2593 box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2594 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2595 &:backdrop:hover { background-color: transparent; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2596 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2597 &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2598 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2599 background-color: mix($fg_color, $selected_bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2600 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2601 &:backdrop { background-color: $selected_bg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2602 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2603 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2604 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2605 .list-row:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2606 @extend %selected_items; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2607 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2608 @include button(normal, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2609 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2610 &.flat { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2611 @include button(undecorated, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2612 color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2613 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2614 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2615 @include button(hover, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2616 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2617 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2618 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2619 @include button(active, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2620 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2621 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2622 &:backdrop, &.flat:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2623 @include button(backdrop, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2624 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2625 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2626 @include button(backdrop-active, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2627 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2628 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2629 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2630 @include button(backdrop-insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2631 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2632 &:active, &:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2633 @include button(backdrop-insensitive-active, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2634 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2635 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2636 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2637 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2638 &.flat:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2639 @include button(undecorated); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2640 color: if($variant=='light', $backdrop_base_color, $backdrop_fg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2641 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2642 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2643 @include button(insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2644 @if $variant == 'light' { border-color: $selected_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2645 &:active, &:checked { @include button(insensitive-active, $edge:none); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2646 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2647 //FIXME: make placeholder with buttons w/o edge to be extended around |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2648 // istead of repeating everytime this stuff. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2649 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2650 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2651 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2652 // transition |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2653 .list-row { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2654 transition: all 150ms $ease-out-quad; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2655 &:hover { transition: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2656 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2657 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2658 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2659 /********************* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2660 * App Notifications * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2661 *********************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2662 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2663 .app-notification, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2664 .app-notification.frame { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2665 @extend %osd; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2666 padding: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2667 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2668 border-radius: 0 0 6px 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2669 background-color: $osd_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2670 background-image: linear-gradient(to bottom, transparentize(black, 0.8), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2671 transparent 2px); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2672 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2673 &:backdrop { background-image: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2674 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2675 @include button(osd); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2676 &.flat { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2677 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2678 icon-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2679 text-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2680 &:backdrop, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2681 &:insensitive, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2682 &:backdrop:insensitive { @extend %undecorated_button; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2683 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2684 &:hover { @include button(osd-hover); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2685 &:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2686 &:checked, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2687 &:backdrop:active, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2688 &:backdrop:checked { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2689 @include button(osd-active); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2690 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2691 &:insensitive, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2692 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2693 @include button(osd-insensitive); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2694 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2695 &:backdrop { @include button(osd-backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2696 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2697 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2698 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2699 /************* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2700 * Expanders * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2701 *************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2702 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2703 .expander { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2704 -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2705 &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2706 &:hover { color: lighten($fg_color,30%); } //only lightens the arrow |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2707 &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2708 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2709 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2710 /************ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2711 * Calendar * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2712 ***********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2713 GtkCalendar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2714 color: $text_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2715 border: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2716 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2717 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2718 @extend .view:selected; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2719 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2720 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2721 &.header { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2722 border: 1px solid transparentize(black, 0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2723 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2724 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2725 &:backdrop { border-color: transparentize(black, 0.9); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2726 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2727 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2728 &.button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2729 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2730 color: transparentize($fg_color, 0.55); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2731 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2732 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2733 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2734 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2735 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2736 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2737 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2738 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2739 color: transparentize($backdrop_fg_color,0.55); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2740 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2741 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2742 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2743 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2744 color: transparentize($insensitive_fg_color,0.55); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2745 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2746 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2747 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2748 &:inconsistent, &:inconsistent:backdrop { color: gtkalpha(currentColor, 0.55); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2749 &.highlight, &.highlight:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2750 font-size: smaller; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2751 color: $fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2752 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2753 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2754 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2755 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2756 color: $backdrop_text_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2757 border-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2758 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2759 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2760 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2761 /*********** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2762 * Dialogs * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2763 ***********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2764 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2765 .message-dialog .dialog-action-area .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2766 padding: 8px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2767 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2768 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2769 .message-dialog { // Message Dialog styling |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2770 @if $variant==light { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2771 // the bright variant as a slightly darker bg which in this case clashes with the window decoration, overriding |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2772 &.background { background-color: $bg_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2773 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2774 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2775 .titlebar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2776 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2777 box-shadow: inset 0 1px $borders_edge; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2778 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2779 &.csd { // rounded bottom border styling for csd version |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2780 &.background { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2781 // bigger radius for better antialiasing |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2782 border-bottom-left-radius: 9px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2783 border-bottom-right-radius: 9px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2784 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2785 .dialog-action-area .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2786 padding: 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2787 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2788 @include button(normal, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2789 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2790 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2791 @include button(hover, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2792 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2793 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2794 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2795 @include button(active, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2796 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2797 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2798 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2799 @include button(insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2800 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2801 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2802 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2803 @include button(backdrop, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2804 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2805 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2806 &:backdrop:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2807 @include button(backdrop-insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2808 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2809 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2810 @each $b_type, $b_color in (suggested-action, $selected_bg_color), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2811 (destructive-action, $destructive_color) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2812 &.#{$b_type} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2813 @include button(normal, $b_color, white, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2814 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2815 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2816 @include button(hover, $b_color, white, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2817 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2818 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2819 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2820 @include button(active, $b_color, white, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2821 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2822 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2823 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2824 @include button(backdrop, $b_color, white, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2825 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2826 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2827 @include button(backdrop-insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2828 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2829 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2830 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2831 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2832 @include button(insensitive, $edge:none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2833 @extend %middle_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2834 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2835 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2836 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2837 &:first-child{ @extend %first_button; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2838 &:last-child { @extend %last_button; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2839 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2840 %middle_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2841 border-left-style: solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2842 border-right-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2843 border-bottom-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2844 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2845 %last_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2846 border-bottom-right-radius: 7px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2847 outline-bottom-right-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2848 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2849 %first_button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2850 border-left-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2851 border-bottom-left-radius: 7px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2852 outline-bottom-left-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2853 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2854 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2855 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2856 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2857 GtkFileChooserDialog { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2858 .search-bar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2859 background-color: $base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2860 border-color: $bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2861 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2862 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2863 background-color: $backdrop_base_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2864 border-color: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2865 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2866 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2867 .dialog-action-box { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2868 border-top: 1px solid $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2869 &:backdrop { border-top-color: $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2870 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2871 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2872 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2873 /*********** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2874 * Sidebar * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2875 ***********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2876 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2877 .sidebar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2878 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2879 background-color: mix($bg_color, $base_color, 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2880 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2881 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2882 background-color: $backdrop_sidebar_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2883 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2884 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2885 &:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2886 @extend %selected_items; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2887 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2888 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2889 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2890 $_placesidebar_icons_opacity: 0.7; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2891 GtkSidebarRow { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2892 // Needs overriding of the GtkListBoxRow padding |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2893 &.list-row { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2894 padding: 0px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2895 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2896 // Using margins/padding directly in the SidebarRow |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2897 // will make the animation of the new bookmark row jump |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2898 .sidebar-revealer { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2899 padding: 4px 14px 4px 12px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2900 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2901 .sidebar-icon { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2902 opacity: $_placesidebar_icons_opacity; // dim the device icons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2903 &:dir(ltr) { padding-right: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2904 &:dir(rtl) { padding-left: 8px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2905 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2906 .sidebar-label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2907 &:dir(ltr) { padding-right: 2px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2908 &:dir(rtl) { padding-left: 2px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2909 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2910 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2911 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2912 GtkPlacesSidebar.sidebar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2913 // in the sidebar case it makes no sense to click the selected row |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2914 .list-row:selected:active { box-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2915 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2916 // looks like the label doesn't get all the states so work around |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2917 .list-row:selected:insensitive .label { @extend %selected_items:insensitive; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2918 .list-row:selected:backdrop:insensitive .label { @extend %selected_items:backdrop:insensitive; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2919 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2920 .sidebar-placeholder-row { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2921 border: solid 1px $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2922 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2923 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2924 .sidebar-new-bookmark-row { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2925 color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2926 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2927 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2928 @at-root .sidebar-button.button { // @at-root needded to not change the specificity making button styling inheritance broken |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2929 // so istead of "GtkPlacesSidebar.sidebar .sidebar-button.button" [specificity 0,0,3,1] |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2930 // the extended selector ".sidebar-button.button" [specificity 0,0,2,0] |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2931 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2932 &.image-button { padding: 5px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2933 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2934 @extend .button.flat; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2935 border-radius: 100%; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2936 outline-radius: 100%; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2937 &:not(:hover):not(:active) > GtkImage, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2938 &:backdrop > GtkImage { opacity: $_placesidebar_icons_opacity }; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2939 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2940 // this is for indicating which sidebar row generated a popover |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2941 // see https://bugzilla.gnome.org/show_bug.cgi?id=754411 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2942 .has-open-popup { @extend .list-row.activatable:hover; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2943 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2944 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2945 .sidebar-item { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2946 padding: 10px 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2947 > .label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2948 padding-left: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2949 padding-right: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2950 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2951 &.needs-attention > .label { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2952 @extend %needs_attention; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2953 background-size: 6px 6px, 0 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2954 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2955 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2956 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2957 /**************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2958 * File chooser * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2959 ****************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2960 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2961 GtkPlacesView { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2962 .server-list-button > GtkImage { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2963 transition: 200ms $ease-out-quad; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2964 -gtk-icon-transform: rotate(0turn); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2965 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2966 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2967 .server-list-button:checked > GtkImage { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2968 transition: 200ms $ease-out-quad; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2969 -gtk-icon-transform: rotate(-0.5turn); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2970 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2971 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2972 .list-row.activatable:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2973 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2974 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2975 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2976 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2977 /********* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2978 * Paned * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2979 *********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2980 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2981 GtkPaned { // this is for the standard paned separator |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2982 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2983 -GtkPaned-handle-size: 1; // sets separator width |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2984 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2985 -gtk-icon-source: none; // removes handle decoration |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2986 margin: 0 8px 8px 0; // drag area of the separator, not a real margin |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2987 &:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2988 margin-right: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2989 margin-left: 8px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2990 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2991 .pane-separator { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2992 background-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2993 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2994 background-color: $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2995 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2996 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2997 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2998 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2999 GtkPaned.wide { // this is for the paned with wide separator |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3000 -GtkPaned-handle-size: 5; // wider separator here |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3001 margin: 0; // no need of the invisible drag area so, reset margin |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3002 .pane-separator { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3003 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3004 border-style: none solid; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3005 border-color: $borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3006 border-width: 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3007 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3008 &.vertical .pane-separator { border-style: solid none;} |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3009 .pane-separator:backdrop { border-color: $backdrop_borders_color; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3010 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3011 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3012 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3013 /************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3014 * GtkInfoBar * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3015 **************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3016 GtkInfoBar { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3017 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3018 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3019 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3020 .info, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3021 .question, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3022 .warning, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3023 .error { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3024 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3025 color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3026 text-shadow: 0 1px darken($selected_bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3027 border-color: darken($selected_bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3028 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3029 // FIXME: extend selection mode buttons |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3030 @include button(normal, $selected_bg_color, $selected_fg_color, none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3031 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3032 @include button(hover, $selected_bg_color, $selected_fg_color, none); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3033 &:active { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3034 @include button(active, $selected_bg_color, $selected_fg_color, none); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3035 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3036 @include button(insensitive,$selected_bg_color,$selected_fg_color,none); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3037 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3038 @include button(backdrop, $selected_bg_color, $selected_fg_color, none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3039 border-color: _border_color($selected_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3040 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3041 @include button(backdrop-insensitive, $selected_bg_color, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3042 $selected_fg_color, none); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3043 border-color: _border_color($selected_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3044 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3045 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3046 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3047 .label:selected, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3048 .label:selected:focus, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3049 .label:selected:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3050 background-color: darken($selected_bg_color, 10%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3051 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3052 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3053 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3054 /************ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3055 * Tooltips * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3056 ************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3057 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3058 .tooltip { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3059 &.background { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3060 // background-color needs to be set this way otherwise it gets drawn twice |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3061 // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3062 background-color: transparentize(black, 0.2); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3063 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3064 border: 1px solid $tooltip_borders_color; // this suble border is meant to |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3065 // not make the tooltip melt with |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3066 // very dark backgrounds |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3067 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3068 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3069 color: white; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3070 padding: 4px; /* not working */ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3071 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3072 box-shadow: none; // otherwise it gets inherited by windowframe.csd |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3073 text-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3074 // FIXME: we need a border or tooltips vanish on black background. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3075 &.window-frame.csd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3076 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3077 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3078 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3079 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3080 .tooltip * { //Yeah this is ugly |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3081 padding: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3082 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3083 color: inherit; // just to be sure |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3084 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3085 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3086 /***************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3087 * Color Chooser * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3088 *****************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3089 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3090 GtkColorSwatch { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3091 // This widget is made of two boxes one on top of the other, the lower box is GtkColorSwatch {} the other one |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3092 // is GtkColorSwatch > .overlay {}, GtkColorSwatch has the programmatically set background, so most of the style |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3093 // is applied to the overlay box. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3094 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3095 $_colorswatch_shadow: inset 0 1px transparentize(black, 0.9), _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3096 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3097 $_colorswatch_radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3098 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3099 box-shadow: $_colorswatch_shadow; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3100 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3101 // take care of colorswatches on selected elements |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3102 :selected & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3103 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3104 &.overlay, &.overlay:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3105 border-color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3106 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3107 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3108 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3109 // we need to re-set the shadow here since it get axed by the previous bit |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3110 &:selected { box-shadow: $_colorswatch_shadow; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3111 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3112 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3113 opacity: 0.5; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3114 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3115 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3116 // base color corners rounding |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3117 // to avoid the artifacts caused by rounded corner anti-aliasing the base color |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3118 // sports a bigger radius. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3119 // nth-child is needed by the custom color strip. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3120 // The :not() madness is needed since actually the overlay is selectable by GtkColorSwatch > .overlay |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3121 // and GtkColorSwatch.overlay, I know it's weird, but this is gtk+, not a browser. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3122 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3123 border-top-left-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3124 border-top-right-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3125 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3126 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3127 border-bottom-left-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3128 border-bottom-right-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3129 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3130 &.left, &:first-child:not(.overlay):not(.top) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3131 border-top-left-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3132 border-bottom-left-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3133 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3134 &.right, &:last-child:not(.overlay):not(.bottom) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3135 border-top-right-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3136 border-bottom-right-radius: $_colorswatch-radius + 1px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3137 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3138 &:only-child:not(.overlay) { border-radius: $_colorswatch-radius + 1px; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3139 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3140 // overlay corner rounding |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3141 &.top > .overlay { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3142 border-top-left-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3143 border-top-right-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3144 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3145 &.bottom > .overlay { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3146 border-bottom-left-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3147 border-bottom-right-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3148 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3149 &:first-child:not(.top) > .overlay { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3150 border-top-left-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3151 border-bottom-left-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3152 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3153 &:last-child:not(.bottom) > .overlay { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3154 border-top-right-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3155 border-bottom-right-radius: $_colorswatch-radius; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3156 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3157 &:only-child > .overlay { border-radius: $_colorswatch-radius; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3158 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3159 // hover effect |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3160 &:hover, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3161 &:hover:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3162 background-image: linear-gradient(135deg, transparentize(white, 0.3), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3163 transparentize(white, 1) 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3164 box-shadow: inset 0 1px transparentize(white, 0.6), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3165 inset 0 -1px if($variant == 'light', transparentize(black, 0.9), transparentize(black, 0.6)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3166 &.color-dark { // swatches with colors with luminosity lower than 50% get the color-dark class |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3167 background-image: linear-gradient(135deg, transparentize(white, 0.5), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3168 transparentize(white, 1) 50%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3169 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3170 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3171 &:backdrop, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3172 &:backdrop:selected |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3173 &.color-dark:backdrop, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3174 &.color-dark:backdrop:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3175 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3176 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3177 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3178 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3179 // no hover effect for the colorswatch in the color editor |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3180 GtkColorEditor & { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3181 border-radius: 3px; // same radius as the entry |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3182 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3183 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3184 box-shadow: inset 0 1px transparentize(black, 0.9), _widget_edge(); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3185 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3186 &:backdrop { box-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3187 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3188 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3189 // indicator and keynav outline colors |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3190 &.color-dark { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3191 color: white; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3192 outline-color: transparentize(white, 0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3193 &:backdrop { color: transparentize(white, 0.7); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3194 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3195 &.color-light { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3196 color: black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3197 outline-color: transparentize(black, 0.5); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3198 &:backdrop { color: transparentize(black, 0.7); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3199 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3200 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3201 // border color |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3202 &.overlay, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3203 &.overlay:selected { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3204 border: 1px solid if($variant == 'light', transparentize(black, 0.7), $borders_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3205 &:hover { border-color: if($variant == 'light', transparentize(black, 0.5), black); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3206 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3207 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3208 // make the add color button looks like, well, a button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3209 &#add-color-button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3210 border-style: solid; // the borders are drawn by the overlay for standard colorswatches to have them semi |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3211 border-width: 1px; // translucent on the colored background, here it's not necessary so they need to be set |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3212 @include button(normal); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3213 &:hover { @include button(hover); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3214 &:backdrop { @include button(backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3215 .overlay { @include button(undecorated); } // reset the overlay to not cover the button style underneat |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3216 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3217 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3218 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3219 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3220 /******** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3221 * Misc * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3222 ********/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3223 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3224 //content view (grid/list) |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3225 .content-view { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3226 background-color: darken($bg_color,7%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3227 &:hover { -gtk-image-effect: highlight; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3228 &:backdrop { background-color: darken($bg_color,7%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3229 &.rubberband { @extend .rubberband; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3230 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3231 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3232 .scale-popup { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3233 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3234 .osd & { @extend %osd; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3235 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3236 .osd & .button.flat { //FIXME: quick hack, redo properly |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3237 padding: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3238 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3239 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3240 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3241 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3242 .button { // +/- buttons on GtkVolumeButton popup |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3243 padding: 6px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3244 &:hover { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3245 @extend %undecorated_button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3246 background-color: transparentize($fg_color,0.9); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3247 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3248 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3249 &:backdrop, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3250 &:backdrop:hover, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3251 &:backdrop:insensitive { @extend %undecorated_button; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3252 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3253 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3254 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3255 GtkScaleButton.button, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3256 GtkVolumeButton.button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3257 // I assume both are image-button *by default* |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3258 // with the image-button/text-button classes automagically applied depending on the button child these selectors can be deleted. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3259 @extend .image-button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3260 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3261 &.text-button { @extend .text-button } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3262 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3263 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3264 /********************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3265 * Window Decorations * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3266 *********************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3267 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3268 .window-frame { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3269 border-radius: 7px 7px 0 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3270 // lamefun trick to get rounded borders regardless of CSD use |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3271 border-width: 0px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3272 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3273 // this needs to be transparent |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3274 // see bug #722563 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3275 $_wm_border: if($variant=='light', transparentize(black, 0.77), transparentize($borders_color, 0.1)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3276 $_wm_border_backdrop: if($variant=='light', transparentize(black, 0.82), transparentize($borders_color, 0.1)); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3277 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3278 box-shadow: 0 3px 9px 1px transparentize(black, 0.5), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3279 0 0 0 1px $_wm_border; //doing borders with box-shadow |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3280 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3281 // FIXME rationalize window-frame shadows |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3282 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3283 /* this is used for the resize cursor area */ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3284 margin: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3285 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3286 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3287 box-shadow: 0 2px 6px 2px transparentize(black, 0.8), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3288 0 0 0 1px $_wm_border_backdrop; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3289 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3290 &.tiled { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3291 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3292 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3293 &.popup { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3294 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3295 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3296 // server-side decorations as used by mutter |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3297 &.ssd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3298 box-shadow: 0 0 0 1px $_wm_border; //just doing borders, wm draws actual shadows |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3299 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3300 &.csd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3301 &.popup { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3302 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3303 box-shadow: 0 1px 2px transparentize(black, 0.8), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3304 0 0 0 1px transparentize($_wm_border,0.1); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3305 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3306 &.tooltip { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3307 border-radius: 5px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3308 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3309 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3310 &.message-dialog { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3311 border-radius: 7px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3312 box-shadow: 0 1px 2px transparentize(black, 0.8), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3313 0 0 0 1px transparentize($_wm_border,0.1); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3314 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3315 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3316 &.solid-csd { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3317 border-radius: 0; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3318 margin: 4px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3319 background-color: $backdrop_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3320 border: solid 1px $backdrop_borders_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3321 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3322 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3323 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3324 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3325 // Window Close button |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3326 .header-bar .button.titlebutton, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3327 .titlebar .button.titlebutton { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3328 @extend .button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3329 @extend .button.flat; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3330 @extend .image-button; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3331 @include _button_text_shadow; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3332 &:backdrop { icon-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3333 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3334 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3335 .header-bar.selection-mode .button.titlebutton, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3336 .titlebar.selection-mode .button.titlebutton { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3337 @include _button_text_shadow(white, $selected_bg_color); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3338 &:backdrop { icon-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3339 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3340 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3341 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3342 // catch all extend :) |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3343 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3344 %selected_items { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3345 background-color: $selected_bg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3346 color: $selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3347 @if $variant == 'light' { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3348 outline-color: transparentize($selected_fg_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3349 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3350 &:insensitive { color: mix($selected_fg_color, $selected_bg_color, 50%); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3351 &:backdrop { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3352 color: $backdrop_selected_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3353 &:insensitive { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3354 color: mix($backdrop_selected_fg_color, $selected_bg_color, 30%); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3355 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3356 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3357 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3358 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3359 .monospace { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3360 font: Monospace; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3361 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3362 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3363 /********************** |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3364 * Touch Copy & Paste * |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3365 *********************/ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3366 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3367 //touch selection handlebars for the Popover.osd above |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3368 .entry.cursor-handle, |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3369 .cursor-handle { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3370 background-color: transparent; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3371 background-image: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3372 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3373 border-style: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3374 @each $s,$as in ('',''), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3375 (':hover','-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3376 (':active','-active') { //no need for insensitive and backdrop |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3377 &.top#{$s}:dir(ltr), &.bottom#{$s}:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3378 $_url: 'assets/text-select-start#{$as}#{$asset_suffix}'; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3379 -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3380 url('#{$_url}@2.png')); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3381 padding-left: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3382 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3383 &.bottom#{$s}:dir(ltr), &.top#{$s}:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3384 $_url: 'assets/text-select-end#{$as}#{$asset_suffix}'; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3385 -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3386 url('#{$_url}@2.png')); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3387 padding-right: 10px; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3388 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3389 &.insertion-cursor#{$s}:dir(ltr), &.insertion-cursor#{$s}:dir(rtl) { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3390 $_url: 'assets/slider-horz-scale-has-marks-above#{$as}#{$asset_suffix}'; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3391 -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3392 url('#{$_url}@2.png')); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3393 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3394 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3395 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3396 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3397 /* Decouple the font of context menus from their entry/textview */ |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3398 .context-menu { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3399 font: initial; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3400 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3401 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3402 .touch-selection { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3403 font: initial; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3404 color: $osd_fg_color; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3405 border: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3406 background-color: opacify($osd_bg_color,0.2); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3407 background-clip: padding-box; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3408 outline-color: transparentize($osd_fg_color, 0.7); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3409 box-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3410 text-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3411 icon-shadow: 0 1px black; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3412 &:backdrop { text-shadow: none; } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3413 .button { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3414 @include button(osd); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3415 &:hover { @include button(osd-hover); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3416 &:active, &:checked { @include button(osd-active); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3417 &:insensitive, &:backdrop:insensitive { @include button(osd-insensitive); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3418 &:backdrop { @include button(osd-backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3419 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3420 // checkboxes and radios to use the -dark style for OSD style popovers |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3421 @each $w,$a in ('check', 'checkbox'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3422 ('radio','radio') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3423 @each $s,$as in ('','-unchecked'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3424 (':hover', '-unchecked-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3425 (':active', '-unchecked-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3426 (':insensitive','-unchecked-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3427 (':inconsistent', '-mixed'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3428 (':inconsistent:hover', '-mixed-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3429 (':inconsistent:selected', '-mixed-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3430 (':inconsistent:insensitive', '-mixed-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3431 (':checked', '-checked'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3432 (':checked:insensitive','-checked-insensitive'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3433 (':checked:hover', '-checked-hover'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3434 (':checked:active', '-checked-active'), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3435 (':backdrop:checked', '-checked-backdrop') { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3436 .#{$w}#{$s} { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3437 icon-shadow: none; |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3438 -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}-dark.png"), |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3439 url("assets/#{$a}#{$as}-dark@2.png")); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3440 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3441 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3442 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3443 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3444 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3445 // This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3446 // This draws a box on top of the content, the size changes programmatically. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3447 .overshoot { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3448 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3449 @include overshoot(top); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3450 &:backdrop { @include overshoot(top, backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3451 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3452 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3453 @include overshoot(bottom); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3454 &:backdrop { @include overshoot(bottom, backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3455 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3456 &.left { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3457 @include overshoot(left); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3458 &:backdrop { @include overshoot(left, backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3459 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3460 &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3461 @include overshoot(right); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3462 &:backdrop { @include overshoot(right, backdrop); } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3463 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3464 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3465 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3466 // Overflow indication, works similarly to the overshoot, the size if fixed tho. |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3467 .undershoot { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3468 &.top { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3469 @include undershoot(top); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3470 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3471 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3472 &.bottom { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3473 @include undershoot(bottom); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3474 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3475 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3476 &.left { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3477 @include undershoot(left); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3478 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3479 |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3480 &.right { |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3481 @include undershoot(right); |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3482 } |
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3483 } |