@chosengeneration/light-code 0.74.0 → 0.77.0
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/dist/cli.js +1037 -138
- package/dist/client/client.css +88 -0
- package/dist/client/client.js +56 -56
- package/dist/client/index.html +17 -0
- package/dist/server.js +1036 -137
- package/package.json +1 -1
package/dist/client/client.css
CHANGED
|
@@ -133,7 +133,95 @@ body {
|
|
|
133
133
|
display: none;
|
|
134
134
|
padding: 6px 12px;
|
|
135
135
|
font-size: 12px;
|
|
136
|
+
line-height: 1.4;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* Broken. Nothing is getting through and the user has to do something.
|
|
141
|
+
*/
|
|
142
|
+
#status.error {
|
|
136
143
|
background: var(--vscode-inputValidation-errorBackground);
|
|
137
144
|
border-bottom: 1px solid var(--vscode-inputValidation-errorBorder);
|
|
138
145
|
color: var(--vscode-inputValidation-errorForeground);
|
|
139
146
|
}
|
|
147
|
+
|
|
148
|
+
/*
|
|
149
|
+
* Working, with something worth knowing — the polling fallback.
|
|
150
|
+
*
|
|
151
|
+
* Every status used to share the error style, so a page that had successfully adapted to a
|
|
152
|
+
* network which will not carry a stream announced itself in red and was reported as a fault.
|
|
153
|
+
* People read the colour before the sentence, and it was saying the wrong thing.
|
|
154
|
+
*/
|
|
155
|
+
#status.notice {
|
|
156
|
+
background: var(--vscode-inputValidation-infoBackground, rgba(100, 148, 237, 0.12));
|
|
157
|
+
border-bottom: 1px solid var(--vscode-inputValidation-infoBorder, rgba(100, 148, 237, 0.5));
|
|
158
|
+
color: var(--vscode-foreground);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/*
|
|
162
|
+
* The starting screen.
|
|
163
|
+
*
|
|
164
|
+
* An indeterminate bar rather than a percentage: nothing here knows how much is left, and a
|
|
165
|
+
* progress bar that invents a number is worse than one that only says "still going" — it gets
|
|
166
|
+
* believed, and then it stalls at 90%.
|
|
167
|
+
*/
|
|
168
|
+
#booting {
|
|
169
|
+
position: fixed;
|
|
170
|
+
inset: 0;
|
|
171
|
+
display: flex;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
gap: 10px;
|
|
176
|
+
background: var(--vscode-editor-background);
|
|
177
|
+
color: var(--vscode-foreground);
|
|
178
|
+
font-family: var(--vscode-font-family);
|
|
179
|
+
z-index: 10;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
#booting.done {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.booting-label {
|
|
187
|
+
font-size: 13px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.booting-detail {
|
|
191
|
+
font-size: 11px;
|
|
192
|
+
opacity: 0.7;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.booting-track {
|
|
196
|
+
width: 180px;
|
|
197
|
+
height: 3px;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
border-radius: 2px;
|
|
200
|
+
background: var(--vscode-input-background, rgba(127, 127, 127, 0.2));
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.booting-bar {
|
|
204
|
+
width: 40%;
|
|
205
|
+
height: 100%;
|
|
206
|
+
border-radius: 2px;
|
|
207
|
+
background: var(--vscode-progressBar-background, #0e70c0);
|
|
208
|
+
animation: booting-slide 1.1s ease-in-out infinite;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@keyframes booting-slide {
|
|
212
|
+
0% {
|
|
213
|
+
transform: translateX(-100%);
|
|
214
|
+
}
|
|
215
|
+
100% {
|
|
216
|
+
transform: translateX(350%);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* Respecting the setting, because an infinite animation is exactly what it is about. */
|
|
221
|
+
@media (prefers-reduced-motion: reduce) {
|
|
222
|
+
.booting-bar {
|
|
223
|
+
animation: none;
|
|
224
|
+
width: 100%;
|
|
225
|
+
opacity: 0.5;
|
|
226
|
+
}
|
|
227
|
+
}
|