-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
widgets.scss
92 lines (68 loc) · 1.63 KB
/
widgets.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.widget {
font-weight: 500;
overflow: hidden;
position:relative;
vertical-align:top;
display: inline-flex;
flex-direction: column;
align-items: stretch;
max-width: 100%;
max-height: 100%;
width: 100rem;
height: 100rem;
contain: strict;
@supports not (contain: strict) {
transform: rotateZ(0); // force new stacking context
}
-webkit-tap-highlight-color:transparent;
// transform-origin: top left;
--line-width: 1rem;
--widget-padding: 1rem;
--color-stroke:var(--color-widget);
--color-fill:var(--color-widget);
--alpha-stroke: 0.5;
--alpha-fill-off: 0.0;
--alpha-fill-on: 0.25;
--alpha-fill: var(--alpha-fill-off);
--alpha-pips: 0.5;
--alpha-pips-text: 0.7;
--border-radius: 0;
border-radius: var(--border-radius);
color: var(--color-text);
background-color: transparent;
background-clip: content-box;
&.absolute-position {
position: absolute;
z-index: 10;
}
canvas {
flex: 1;
height: auto;
min-height: 0;
min-width: 0;
}
> inner {
overflow: hidden;
position: relative;
flex: 1;
border-radius: inherit;
}
&.no-interaction {
pointer-events: none;
> * {
pointer-events: none
}
}
.html {
text-align: center;
line-height: 30rem;
min-height: 0;
}
}
@import 'widgets/basics';
@import 'widgets/containers';
@import 'widgets/graphs';
@import 'widgets/frames';
@import 'widgets/indicators';
@import 'widgets/pads';
@import 'widgets/sliders';