pacem-less 0.20.1 → 0.20.2-baalbek
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/pacem/scaffolding/dark/index.less +1 -0
- package/pacem/scaffolding/dark/namevalue-list.less +8 -0
- package/pacem/{ui → scaffolding}/dark/snapshot.less +30 -38
- package/pacem/scaffolding/dark/tags.less +1 -1
- package/pacem/text-overrides.less +1 -1
- package/pacem/ui/dark/index.less +0 -1
- package/pacem/ui/dark/tuner.less +21 -4
- package/pacem/ui/shared.less +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@import "
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
.@{PCSS}-brightout {
|
|
4
6
|
-moz-animation: bright-out 1s 1 normal;
|
|
@@ -41,17 +43,19 @@
|
|
|
41
43
|
height: @_dim_h + 2 * @_brd;
|
|
42
44
|
|
|
43
45
|
.@{PCSS}-snapshot {
|
|
44
|
-
position: relative;
|
|
45
46
|
height: 100%;
|
|
46
47
|
width: 100%;
|
|
47
|
-
display:
|
|
48
|
+
display: grid;
|
|
49
|
+
grid-template-rows: auto 1fr;
|
|
50
|
+
grid-template-columns: auto 1fr auto;
|
|
51
|
+
grid-template-areas: "topleft center topright" "left center right";
|
|
48
52
|
justify-content: center;
|
|
49
53
|
align-items: center;
|
|
50
54
|
|
|
51
55
|
&.@{PCSS}-ongoing {
|
|
52
56
|
}
|
|
53
57
|
|
|
54
|
-
|
|
58
|
+
@{P}-button {
|
|
55
59
|
// default: disabled
|
|
56
60
|
.ButtonHidden();
|
|
57
61
|
color: @color_light;
|
|
@@ -66,20 +70,20 @@
|
|
|
66
70
|
}
|
|
67
71
|
}
|
|
68
72
|
// cascade-based visibility
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
&.snapshot-steady @{P}-button.snapshot-camera,
|
|
74
|
+
&.snapshot-preview @{P}-button.snapshot-confirm,
|
|
75
|
+
&.snapshot-ongoing @{P}-button.snapshot-undo,
|
|
76
|
+
&.snapshot-video @{P}-button.snapshot-countdown {
|
|
73
77
|
.ButtonVisible();
|
|
74
78
|
}
|
|
75
79
|
|
|
76
|
-
|
|
80
|
+
&.snapshot-video @{P}-button.snapshot-countdown {
|
|
77
81
|
pointer-events: /*still*/ none;
|
|
78
82
|
}
|
|
79
83
|
// taking picture vs countdown rolling
|
|
80
84
|
&.@{PCSS}-video.@{PCSS}-countdown {
|
|
81
85
|
|
|
82
|
-
|
|
86
|
+
@{P}-button.@{PCSS}-countdown {
|
|
83
87
|
font-size: @grid_spacing;
|
|
84
88
|
text-align: center;
|
|
85
89
|
|
|
@@ -89,27 +93,22 @@
|
|
|
89
93
|
}
|
|
90
94
|
}
|
|
91
95
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
&:before {
|
|
96
|
-
.Icon('photo_camera');
|
|
97
|
-
}
|
|
96
|
+
.snapshot-camera {
|
|
97
|
+
grid-area: center;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
.snapshot-undo:before {
|
|
101
101
|
.Icon('arrow_back');
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
.snapshot-confirm:before {
|
|
105
105
|
.Icon('check');
|
|
106
106
|
color: @color_highlight;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
canvas, video {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
left: 0;
|
|
110
|
+
grid-row: 1 span 2;
|
|
111
|
+
grid-column: 1 span 3;
|
|
113
112
|
width: 100%;
|
|
114
113
|
height: 100%;
|
|
115
114
|
box-sizing: border-box;
|
|
@@ -121,14 +120,14 @@
|
|
|
121
120
|
pointer-events: none;
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
&.snapshot-steady .snapshot-preview,
|
|
124
|
+
&.snapshot-preview.snapshot-taking .snapshot-preview,
|
|
125
|
+
&.snapshot-video video {
|
|
127
126
|
visibility: visible;
|
|
128
127
|
pointer-events: all;
|
|
129
128
|
}
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
&.snapshot-preview.snapshot-taking .snapshot-preview {
|
|
132
131
|
border-color: @color_highlight;
|
|
133
132
|
}
|
|
134
133
|
|
|
@@ -139,20 +138,13 @@
|
|
|
139
138
|
|
|
140
139
|
@_pad: @grid_spacing/4;
|
|
141
140
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.@{PCSS}-countdown {
|
|
145
|
-
position: absolute;
|
|
146
|
-
top: @_pad;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.@{PCSS}-undo {
|
|
150
|
-
left: @_pad;
|
|
141
|
+
.snapshot-undo {
|
|
142
|
+
grid-area: topleft;
|
|
151
143
|
}
|
|
152
144
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
145
|
+
.snapshot-confirm,
|
|
146
|
+
.snapshot-countdown {
|
|
147
|
+
grid-area: topright;
|
|
156
148
|
}
|
|
157
149
|
}
|
|
158
150
|
}
|
|
@@ -160,7 +152,7 @@
|
|
|
160
152
|
|
|
161
153
|
.@{PCSS}-animations {
|
|
162
154
|
|
|
163
|
-
|
|
155
|
+
@{P}-snapshot {
|
|
164
156
|
.Animatable(pop-anim, .4s, @easing_out_back);
|
|
165
157
|
}
|
|
166
158
|
}
|
package/pacem/ui/dark/index.less
CHANGED
package/pacem/ui/dark/tuner.less
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
display: block;
|
|
7
7
|
position: relative;
|
|
8
8
|
|
|
9
|
+
&::part(@{PCSS}-tuner),
|
|
9
10
|
canvas.@{PCSS}-tuner {
|
|
10
11
|
width: 100%;
|
|
11
12
|
height: 100%;
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
&::part(@{PCSS}-content),
|
|
23
25
|
.@{PCSS}-content {
|
|
24
26
|
position: absolute;
|
|
25
27
|
display: flex;
|
|
@@ -49,42 +51,49 @@
|
|
|
49
51
|
}
|
|
50
52
|
// coloring
|
|
51
53
|
&.tuner-accent {
|
|
54
|
+
&::part(@{PCSS}-tuner),
|
|
52
55
|
canvas.@{PCSS}-tuner {
|
|
53
56
|
stroke: @color_accent;
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
&.tuner-warning {
|
|
61
|
+
&::part(@{PCSS}-tuner),
|
|
58
62
|
canvas.@{PCSS}-tuner {
|
|
59
63
|
stroke: @color_warning;
|
|
60
64
|
}
|
|
61
65
|
}
|
|
62
66
|
|
|
63
67
|
&.tuner-success {
|
|
68
|
+
&::part(@{PCSS}-tuner),
|
|
64
69
|
canvas.@{PCSS}-tuner {
|
|
65
70
|
stroke: @color_success;
|
|
66
71
|
}
|
|
67
72
|
}
|
|
68
73
|
|
|
69
74
|
&.tuner-danger {
|
|
75
|
+
&::part(@{PCSS}-tuner),
|
|
70
76
|
canvas.@{PCSS}-tuner {
|
|
71
77
|
stroke: @color_danger;
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
&.tuner-error {
|
|
82
|
+
&::part(@{PCSS}-tuner),
|
|
76
83
|
canvas.@{PCSS}-tuner {
|
|
77
84
|
stroke: @color_error;
|
|
78
85
|
}
|
|
79
86
|
}
|
|
80
87
|
|
|
81
88
|
&.tuner-primary {
|
|
89
|
+
&::part(@{PCSS}-tuner),
|
|
82
90
|
canvas.@{PCSS}-tuner {
|
|
83
91
|
stroke: @color_primary;
|
|
84
92
|
}
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
&.tuner-thin {
|
|
96
|
+
&::part(@{PCSS}-tuner),
|
|
88
97
|
canvas.@{PCSS}-tuner {
|
|
89
98
|
stroke-width: 3px;
|
|
90
99
|
}
|
|
@@ -97,9 +106,13 @@
|
|
|
97
106
|
background-repeat: no-repeat;
|
|
98
107
|
background-size: 100%;
|
|
99
108
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
109
|
+
@{P}-tuner {
|
|
110
|
+
|
|
111
|
+
&::part(@{PCSS}-tuner),
|
|
112
|
+
canvas.@{PCSS}-tuner {
|
|
113
|
+
stroke-width: 3px !important;
|
|
114
|
+
border-color: fade(@clr, 10);
|
|
115
|
+
}
|
|
103
116
|
}
|
|
104
117
|
}
|
|
105
118
|
|
|
@@ -109,6 +122,10 @@
|
|
|
109
122
|
background-size: 100%;
|
|
110
123
|
transition: @easing_out_sine .25s;
|
|
111
124
|
padding: @grid_spacing/3;
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items:center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
.TunerWrapper(@color_default);
|
|
112
129
|
|
|
113
130
|
&.tuner-accent {
|
|
114
131
|
.TunerWrapper(@color_accent);
|
|
@@ -138,7 +155,7 @@
|
|
|
138
155
|
.@{PCSS}-animations {
|
|
139
156
|
|
|
140
157
|
.@{PCSS}-tuner-wrapper,
|
|
141
|
-
|
|
158
|
+
@{P}-tuner {
|
|
142
159
|
.Animatable(pop-anim, .4s, @easing_out_back);
|
|
143
160
|
}
|
|
144
161
|
}
|
package/pacem/ui/shared.less
CHANGED
|
@@ -94,10 +94,12 @@
|
|
|
94
94
|
width: @_outer_radius;
|
|
95
95
|
height: @_outer_radius;
|
|
96
96
|
|
|
97
|
+
&::part(@{PCSS}-tuner),
|
|
97
98
|
canvas.@{PCSS}-tuner {
|
|
98
99
|
stroke-width: @_thickness;
|
|
99
100
|
}
|
|
100
101
|
|
|
102
|
+
&::part(@{PCSS}-content),
|
|
101
103
|
.@{PCSS}-content {
|
|
102
104
|
width: @_outer_radius;
|
|
103
105
|
height: @_outer_radius;
|
package/package.json
CHANGED