rpg-engine 0.21.0 → 0.22.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/campaign/host-files.js +4 -1
- package/dist/campaign/index.d.ts +2 -1
- package/dist/campaign/index.js +2 -1
- package/dist/campaign/port.d.ts +6 -0
- package/dist/campaign/port.js +24 -0
- package/dist/campaign/settings.d.ts +17 -0
- package/dist/campaign/settings.js +24 -1
- package/dist/cli/cli.js +15 -0
- package/dist/commands/config/config.js +15 -1
- package/dist/commands/config/dashboard.d.ts +4 -0
- package/dist/commands/config/dashboard.js +37 -6
- package/dist/commands/config/shown.js +4 -0
- package/dist/commands/config/words.d.ts +3 -1
- package/dist/commands/config/words.js +28 -1
- package/dist/commands/mode.d.ts +1 -1
- package/dist/commands/package/data.js +27 -0
- package/dist/commands/package/theme.js +2 -1
- package/dist/commands/scene/scene.js +6 -1
- package/dist/commands/shared/books/adventures.d.ts +1 -0
- package/dist/commands/shared/books/adventures.js +1 -1
- package/dist/commands/shared/campaign/git.d.ts +25 -0
- package/dist/commands/shared/campaign/git.js +104 -0
- package/dist/commands/shared/campaign/saves.js +5 -1
- package/dist/commands/shared/packages/catalog.js +24 -5
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +8 -4
- package/dist/core/context.d.ts +2 -0
- package/dist/core/version.d.ts +2 -0
- package/dist/core/version.js +5 -0
- package/dist/dashboard/guide/ar.md +6 -4
- package/dist/dashboard/guide/cs.md +6 -4
- package/dist/dashboard/guide/da.md +6 -4
- package/dist/dashboard/guide/de.md +8 -6
- package/dist/dashboard/guide/el.md +6 -4
- package/dist/dashboard/guide/en.md +5 -3
- package/dist/dashboard/guide/es.md +6 -4
- package/dist/dashboard/guide/fi.md +6 -4
- package/dist/dashboard/guide/fr.md +6 -4
- package/dist/dashboard/guide/he.md +6 -4
- package/dist/dashboard/guide/hi.md +6 -4
- package/dist/dashboard/guide/hu.md +6 -4
- package/dist/dashboard/guide/is.md +6 -4
- package/dist/dashboard/guide/it.md +6 -4
- package/dist/dashboard/guide/ja.md +7 -5
- package/dist/dashboard/guide/ko.md +6 -4
- package/dist/dashboard/guide/nb.md +7 -5
- package/dist/dashboard/guide/nl.md +6 -4
- package/dist/dashboard/guide/pl.md +6 -4
- package/dist/dashboard/guide/pt.md +6 -4
- package/dist/dashboard/guide/ro.md +6 -4
- package/dist/dashboard/guide/ru.md +6 -4
- package/dist/dashboard/guide/sv.md +6 -4
- package/dist/dashboard/guide/tr.md +6 -4
- package/dist/dashboard/guide/uk.md +6 -4
- package/dist/dashboard/guide/zh.md +6 -4
- package/dist/dashboard/i18n/ar.json +25 -0
- package/dist/dashboard/i18n/cs.json +25 -0
- package/dist/dashboard/i18n/da.json +25 -0
- package/dist/dashboard/i18n/de.json +25 -0
- package/dist/dashboard/i18n/el.json +25 -0
- package/dist/dashboard/i18n/es.json +25 -0
- package/dist/dashboard/i18n/fi.json +25 -0
- package/dist/dashboard/i18n/fr.json +25 -0
- package/dist/dashboard/i18n/he.json +25 -0
- package/dist/dashboard/i18n/hi.json +25 -0
- package/dist/dashboard/i18n/hu.json +25 -0
- package/dist/dashboard/i18n/is.json +25 -0
- package/dist/dashboard/i18n/it.json +25 -0
- package/dist/dashboard/i18n/ja.json +25 -0
- package/dist/dashboard/i18n/ko.json +25 -0
- package/dist/dashboard/i18n/nb.json +25 -0
- package/dist/dashboard/i18n/nl.json +25 -0
- package/dist/dashboard/i18n/pl.json +25 -0
- package/dist/dashboard/i18n/pt.json +25 -0
- package/dist/dashboard/i18n/ro.json +25 -0
- package/dist/dashboard/i18n/ru.json +25 -0
- package/dist/dashboard/i18n/sv.json +25 -0
- package/dist/dashboard/i18n/tr.json +25 -0
- package/dist/dashboard/i18n/uk.json +25 -0
- package/dist/dashboard/i18n/zh.json +25 -0
- package/dist/dashboard/packages/installed.js +2 -2
- package/dist/dashboard/packages/packages.js +1 -1
- package/dist/dashboard/parts/labels.js +7 -0
- package/dist/dashboard/settings/settings.js +33 -6
- package/dist/dashboard/shell/system-style.js +89 -5
- package/dist/dashboard/shell/tooltip.js +5 -4
- package/dist/dashboard/style.css +234 -81
- package/dist/git/git.d.ts +12 -0
- package/dist/git/git.js +175 -0
- package/dist/git/ignore.d.ts +2 -0
- package/dist/git/ignore.js +16 -0
- package/dist/git/index.d.ts +2 -0
- package/dist/git/index.js +2 -0
- package/dist/importer/index.d.ts +1 -1
- package/dist/importer/index.js +1 -1
- package/dist/languages/pack.js +2 -1
- package/dist/server/bell-listener.d.ts +2 -1
- package/dist/server/bell-listener.js +10 -41
- package/dist/server/dashboard/files.d.ts +3 -2
- package/dist/server/dashboard/files.js +44 -15
- package/dist/server/dashboard/index.d.ts +15 -2
- package/dist/server/dashboard/index.js +52 -22
- package/dist/server/dashboard/news.d.ts +3 -2
- package/dist/server/dashboard/news.js +19 -5
- package/dist/server/dashboard/ports.d.ts +17 -2
- package/dist/server/dashboard/ports.js +60 -4
- package/dist/server/mcp.d.ts +3 -2
- package/dist/server/mcp.js +55 -11
- package/dist/themes/css.d.ts +1 -1
- package/dist/themes/css.js +101 -2
- package/dist/themes/index.d.ts +1 -1
- package/dist/themes/index.js +1 -1
- package/dist/themes/theme.d.ts +34 -3
- package/dist/themes/theme.js +176 -19
- package/instructions/core.md +1 -0
- package/instructions/dashboard-guide.md +1 -1
- package/package.json +1 -1
package/dist/dashboard/style.css
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
The layers in their order, then the files, which the build joins in this order into one style.css: a layer later wins over one before it, whatever
|
|
3
3
|
the selectors; a style sheet without a layer wins over them all, but never over the guarantees, all !important and first, as among !important
|
|
4
4
|
declarations the first layer wins. The game's style, the theme of the campaign's system, is the layer theme, which the page adopts while the player keeps
|
|
5
|
-
it on: custom properties alone, over the tokens (D-528).
|
|
6
|
-
|
|
5
|
+
it on: custom properties alone, over the tokens (D-528). A theme's own style sheet, which the player may turn off, comes last, theme-style, over every
|
|
6
|
+
rule of the page but the guarantees (D-575). docs/dashboard-style.md says where a rule goes. */
|
|
7
|
+
@layer guarantees, tokens, theme, base, parts, pages, theme-style;
|
|
7
8
|
|
|
8
9
|
/* The tokens: every colour, corner, shadow and length of time, as custom properties of :root, and the theme the player picked. */
|
|
9
10
|
@layer tokens {
|
|
@@ -40,7 +41,8 @@
|
|
|
40
41
|
/* Gold as text or a line, readable on the light page; text on the danger's colour. */
|
|
41
42
|
--gold-ink: light-dark(#8a5a00, var(--gold));
|
|
42
43
|
--on-low: light-dark(#ffffff, var(--on-gold));
|
|
43
|
-
/* The land of the map's paper, the same in both themes: each biome's colour and the ink of its marks, on the map and wherever a biome is named.
|
|
44
|
+
/* The land of the map's paper, the same in both themes: each biome's colour and the ink of its marks, on the map and wherever a biome is named. Its
|
|
45
|
+
inks, and the documents' below, are copied in themes/theme.ts (paperInks), which measures them on a theme's paper: change them there too. */
|
|
44
46
|
--m-mark: #6b4a5c;
|
|
45
47
|
--m-land: #f1e6cc;
|
|
46
48
|
--m-ink: #3f2f1f;
|
|
@@ -141,8 +143,26 @@
|
|
|
141
143
|
/* What no style sheet may take away, a package's either (D-523, D-528): the ring of the focus and the other rings drawn as outlines, no clip or mask on a
|
|
142
144
|
control, and the tooltips. All !important. */
|
|
143
145
|
@layer guarantees {
|
|
146
|
+
/* The colours they draw with, the page's; a theme gives its own here too (themes/css.ts). Set on every element and !important, so that no rule of a theme's
|
|
147
|
+
own style sheet changes them where they are read (D-575); the rules below read nothing else a sheet could change. */
|
|
148
|
+
:root[data-theme="light"],
|
|
149
|
+
:root[data-theme="light"] * {
|
|
150
|
+
--guard-accent: #254b83 !important;
|
|
151
|
+
--guard-ink: #182c4c !important;
|
|
152
|
+
--guard-paper: #f3ede2 !important;
|
|
153
|
+
--guard-gold: #f5c63e !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:root[data-theme="dark"],
|
|
157
|
+
:root[data-theme="dark"] * {
|
|
158
|
+
--guard-accent: #f5c63e !important;
|
|
159
|
+
--guard-ink: #eff0fa !important;
|
|
160
|
+
--guard-paper: #06132b !important;
|
|
161
|
+
--guard-gold: #f5c63e !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
144
164
|
:focus-visible {
|
|
145
|
-
outline: 2px solid var(--accent) !important;
|
|
165
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
146
166
|
outline-offset: 2px !important;
|
|
147
167
|
}
|
|
148
168
|
|
|
@@ -161,7 +181,14 @@
|
|
|
161
181
|
}
|
|
162
182
|
|
|
163
183
|
.quest-cover-top :focus-visible {
|
|
164
|
-
outline-color:
|
|
184
|
+
outline-color: #f3f4fa !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Over a place's picture, on its dark veil, the ring in gold as on the dark page; on a phone the name goes under the picture. */
|
|
188
|
+
@media (min-width: 601px) {
|
|
189
|
+
.place-band.over .place-caption :focus-visible {
|
|
190
|
+
outline-color: var(--guard-gold) !important;
|
|
191
|
+
}
|
|
165
192
|
}
|
|
166
193
|
|
|
167
194
|
.note-title:focus-visible,
|
|
@@ -174,7 +201,7 @@
|
|
|
174
201
|
}
|
|
175
202
|
|
|
176
203
|
.tracked-what:focus-visible {
|
|
177
|
-
outline: 2px solid var(--accent) !important;
|
|
204
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
178
205
|
outline-offset: 3px !important;
|
|
179
206
|
}
|
|
180
207
|
|
|
@@ -183,7 +210,7 @@
|
|
|
183
210
|
}
|
|
184
211
|
|
|
185
212
|
.setup-card h2:focus-visible {
|
|
186
|
-
outline: 2px solid var(--accent) !important;
|
|
213
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
187
214
|
outline-offset: 4px !important;
|
|
188
215
|
}
|
|
189
216
|
|
|
@@ -196,61 +223,87 @@
|
|
|
196
223
|
}
|
|
197
224
|
|
|
198
225
|
.asked.folded:has(.asked-fold:focus-visible) {
|
|
199
|
-
outline: 2px solid var(--accent) !important;
|
|
226
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
200
227
|
outline-offset: 3px !important;
|
|
201
228
|
}
|
|
202
229
|
|
|
203
230
|
.asked-buttons button.sent {
|
|
204
|
-
outline: 2px solid var(--accent) !important;
|
|
231
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
205
232
|
outline-offset: 2px !important;
|
|
206
233
|
}
|
|
207
234
|
|
|
208
235
|
.ask-choices > .sent {
|
|
209
|
-
outline: 2px solid var(--accent) !important;
|
|
236
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
210
237
|
outline-offset: 2px !important;
|
|
211
238
|
}
|
|
212
239
|
|
|
213
240
|
.requested {
|
|
214
|
-
outline: 2px solid var(--gold) !important;
|
|
241
|
+
outline: 2px solid var(--guard-gold) !important;
|
|
215
242
|
outline-offset: -1px !important;
|
|
216
243
|
}
|
|
217
244
|
|
|
218
245
|
:is(.asked-hand, .package-use) input:focus-visible {
|
|
219
|
-
outline: 2px solid var(--accent) !important;
|
|
246
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
220
247
|
outline-offset: 2px !important;
|
|
221
248
|
}
|
|
222
249
|
|
|
223
250
|
.asked-own input:focus-visible {
|
|
224
|
-
outline: 2px solid var(--accent) !important;
|
|
251
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
225
252
|
outline-offset: 1px !important;
|
|
226
253
|
}
|
|
227
254
|
|
|
228
255
|
/* The page's one tooltip (T-228), what a control's data-tip says: in the top layer, over every card, list and dialog, nothing cuts it; shell/tooltip.ts
|
|
229
256
|
shows it after a moment under a pointer or at once by the keyboard, never at a touch, and places it beside its control inside the window. Its lines
|
|
230
|
-
wrap, a name of several things a line for each. It comes from its control's side.
|
|
231
|
-
|
|
257
|
+
wrap, a name of several things a line for each. It comes from its control's side.
|
|
258
|
+
While it shows (where a browser has no popover, while it is not hidden), every property first to its initial value, then the page's: nothing a theme's
|
|
259
|
+
own style sheet says of it shows (D-575). tooltip.ts sets top and left inline; its sizes have a floor in pixels, whatever a sheet makes of the root's. */
|
|
260
|
+
.page-tip:is(:popover-open, :not([popover], [hidden])) {
|
|
261
|
+
all: initial !important;
|
|
262
|
+
display: block !important;
|
|
232
263
|
position: fixed !important;
|
|
233
|
-
inset:
|
|
264
|
+
inset: 0 auto auto 0 !important;
|
|
234
265
|
box-sizing: border-box !important;
|
|
235
266
|
width: max-content !important;
|
|
236
|
-
max-width: min(20rem, calc(100vw - 16px)) !important;
|
|
237
|
-
height: auto !important;
|
|
238
|
-
margin: 0 !important;
|
|
267
|
+
max-width: min(max(20rem, 320px), calc(100vw - 16px)) !important;
|
|
239
268
|
padding: 5px 8px !important;
|
|
240
|
-
border:
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
font: 400 0.8rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif !important;
|
|
246
|
-
letter-spacing: 0 !important;
|
|
269
|
+
border-radius: 4px !important;
|
|
270
|
+
background: var(--guard-ink) !important;
|
|
271
|
+
color: var(--guard-paper) !important;
|
|
272
|
+
font: 400 max(0.8rem, 12px)/1.2 system-ui, -apple-system, "Segoe UI", sans-serif !important;
|
|
273
|
+
unicode-bidi: isolate !important;
|
|
247
274
|
text-align: start !important;
|
|
248
|
-
text-transform: none !important;
|
|
249
275
|
white-space: pre-line !important;
|
|
250
276
|
overflow-wrap: break-word !important;
|
|
251
277
|
pointer-events: none !important;
|
|
252
278
|
opacity: 1 !important;
|
|
253
|
-
transition: opacity
|
|
279
|
+
transition: opacity 100ms linear !important;
|
|
280
|
+
transform: none !important;
|
|
281
|
+
scale: none !important;
|
|
282
|
+
translate: none !important;
|
|
283
|
+
rotate: none !important;
|
|
284
|
+
zoom: 1 !important;
|
|
285
|
+
-webkit-text-fill-color: currentcolor !important;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/* all leaves the direction out: the one tooltip.ts gives it, from its control. */
|
|
289
|
+
.page-tip[dir="ltr"] {
|
|
290
|
+
direction: ltr !important;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.page-tip[dir="rtl"] {
|
|
294
|
+
direction: rtl !important;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.page-tip::before,
|
|
298
|
+
.page-tip::after,
|
|
299
|
+
.page-tip::backdrop {
|
|
300
|
+
all: initial !important;
|
|
301
|
+
display: none !important;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.page-tip::first-line,
|
|
305
|
+
.page-tip::first-letter {
|
|
306
|
+
all: unset !important;
|
|
254
307
|
}
|
|
255
308
|
|
|
256
309
|
@starting-style {
|
|
@@ -260,9 +313,8 @@
|
|
|
260
313
|
}
|
|
261
314
|
|
|
262
315
|
@media (prefers-reduced-motion: no-preference) {
|
|
263
|
-
.page-tip {
|
|
264
|
-
|
|
265
|
-
transition: opacity var(--quick) linear, translate var(--quick) var(--ease) !important;
|
|
316
|
+
.page-tip:is(:popover-open, :not([popover], [hidden])) {
|
|
317
|
+
transition: opacity 100ms linear, translate 100ms cubic-bezier(0.2, 0, 0, 1) !important;
|
|
266
318
|
}
|
|
267
319
|
|
|
268
320
|
@starting-style {
|
|
@@ -291,17 +343,17 @@
|
|
|
291
343
|
|
|
292
344
|
/* A chapter the calendar led to, ringed while it has the focus. */
|
|
293
345
|
.chapter:focus {
|
|
294
|
-
outline: 2px solid var(--accent) !important;
|
|
346
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
295
347
|
outline-offset: 4px !important;
|
|
296
348
|
}
|
|
297
349
|
|
|
298
350
|
.act-who-one:has(input:focus-visible) {
|
|
299
|
-
outline: 2px solid var(--accent) !important;
|
|
351
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
300
352
|
outline-offset: 2px !important;
|
|
301
353
|
}
|
|
302
354
|
|
|
303
355
|
.act-words:focus-visible {
|
|
304
|
-
outline: 2px solid var(--accent) !important;
|
|
356
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
305
357
|
outline-offset: 1px !important;
|
|
306
358
|
}
|
|
307
359
|
|
|
@@ -314,19 +366,19 @@
|
|
|
314
366
|
}
|
|
315
367
|
|
|
316
368
|
:is(.package-add-line, .package-credits, .search) input:focus-visible {
|
|
317
|
-
outline: 2px solid var(--accent) !important;
|
|
369
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
318
370
|
outline-offset: 0 !important;
|
|
319
371
|
}
|
|
320
372
|
|
|
321
373
|
.filter-chips :is(button, a):focus-visible,
|
|
322
374
|
.package-show:focus-visible,
|
|
323
375
|
.package-row:focus-visible {
|
|
324
|
-
outline: 2px solid var(--accent) !important;
|
|
376
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
325
377
|
outline-offset: 2px !important;
|
|
326
378
|
}
|
|
327
379
|
|
|
328
380
|
.package-bin:focus-visible {
|
|
329
|
-
outline: 2px solid var(--accent) !important;
|
|
381
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
330
382
|
}
|
|
331
383
|
|
|
332
384
|
.package-said:focus {
|
|
@@ -334,7 +386,7 @@
|
|
|
334
386
|
}
|
|
335
387
|
|
|
336
388
|
.package-said:focus-visible {
|
|
337
|
-
outline: 2px solid var(--accent) !important;
|
|
389
|
+
outline: 2px solid var(--guard-accent) !important;
|
|
338
390
|
outline-offset: 2px !important;
|
|
339
391
|
}
|
|
340
392
|
}
|
|
@@ -535,7 +587,7 @@
|
|
|
535
587
|
}
|
|
536
588
|
}
|
|
537
589
|
}
|
|
538
|
-
/* Card: a card that folds and one always open, their headers, icons, previews and chevrons; the game's edge, second line and
|
|
590
|
+
/* Card: a card that folds and one always open, their headers, icons, previews and chevrons; the game's edge, second line, ornament, corners and texture (D-528). */
|
|
539
591
|
@layer parts {
|
|
540
592
|
/* A card that is always open: its CardHead, then its body. */
|
|
541
593
|
.card {
|
|
@@ -544,7 +596,7 @@
|
|
|
544
596
|
min-width: 0;
|
|
545
597
|
border: 1px solid var(--card-edge);
|
|
546
598
|
border-radius: var(--radius-l);
|
|
547
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
599
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
548
600
|
box-shadow: var(--lift), var(--raise);
|
|
549
601
|
}
|
|
550
602
|
|
|
@@ -558,10 +610,15 @@
|
|
|
558
610
|
padding: 0 16px;
|
|
559
611
|
border: 1px solid var(--card-edge);
|
|
560
612
|
border-radius: var(--radius-l);
|
|
561
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
613
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
562
614
|
box-shadow: var(--lift), var(--raise);
|
|
563
615
|
}
|
|
564
616
|
|
|
617
|
+
/* A folded card is its header alone: the ornament's corner is its chevron's, so the ornament waits for it to open; its texture stays. */
|
|
618
|
+
:is(.group, .rolls-card, .table-card):not([open]) {
|
|
619
|
+
--card-ornament-layer: none;
|
|
620
|
+
}
|
|
621
|
+
|
|
565
622
|
/* A card's header, all of it the toggle (D-284): its icon and title on the left, what it holds while closed, the chevron on the right. */
|
|
566
623
|
:is(.group, .rolls-card, .table-card) > summary {
|
|
567
624
|
display: flex;
|
|
@@ -572,6 +629,7 @@
|
|
|
572
629
|
padding-block: 8px;
|
|
573
630
|
padding-inline: 16px 12px;
|
|
574
631
|
border-radius: calc(var(--radius-l) - 1px);
|
|
632
|
+
corner-shape: var(--card-corner, round);
|
|
575
633
|
cursor: pointer;
|
|
576
634
|
list-style: none;
|
|
577
635
|
}
|
|
@@ -661,13 +719,16 @@
|
|
|
661
719
|
padding-bottom: 14px;
|
|
662
720
|
}
|
|
663
721
|
|
|
664
|
-
/* The game's second line inside the cards (D-528): an outline that takes no room, in the colour of their edge
|
|
722
|
+
/* The game's second line inside the cards (D-528): an outline that takes no room, in the colour of their edge; and their corners, cut, notched or
|
|
723
|
+
scooped, where the browser draws them, else round. */
|
|
665
724
|
:is(.card, .group, .band, .rolls-card, .turns-card, .settings-group, .scene-now, .quest-card, .note-card, .save-card, .chapter) {
|
|
666
725
|
outline: 1px var(--card-inner-line) color-mix(in srgb, var(--card-edge) 70%, transparent);
|
|
667
726
|
outline-offset: -5px;
|
|
727
|
+
corner-shape: var(--card-corner, round);
|
|
668
728
|
}
|
|
669
729
|
}
|
|
670
|
-
/* Buttons: buttons of words and of icons, and the state layer of whatever is clicked.
|
|
730
|
+
/* Buttons: buttons of words and of icons, and the state layer of whatever is clicked. A button of words, a segmented control's and the master's question's
|
|
731
|
+
take the game's shape (D-528): --button-radius and --button-corner, the page's corners while it gives none. */
|
|
671
732
|
@layer parts {
|
|
672
733
|
/* A button of words: gold for the one main action of a view, quiet for a secondary one, danger for one that loses something. */
|
|
673
734
|
.button {
|
|
@@ -678,7 +739,8 @@
|
|
|
678
739
|
min-height: 38px;
|
|
679
740
|
padding: 0 14px;
|
|
680
741
|
border: 1px solid var(--rule);
|
|
681
|
-
border-radius: var(--radius-m);
|
|
742
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
743
|
+
corner-shape: var(--button-corner, round);
|
|
682
744
|
background: var(--float);
|
|
683
745
|
color: var(--ink);
|
|
684
746
|
font: inherit;
|
|
@@ -843,7 +905,8 @@
|
|
|
843
905
|
inset: 0 0 auto;
|
|
844
906
|
z-index: 21;
|
|
845
907
|
display: grid;
|
|
846
|
-
|
|
908
|
+
/* A long name gives way to the chips' widest (their min-width), the rest of them wrapping out of sight, never running under them. */
|
|
909
|
+
grid-template-columns: auto minmax(0, max-content) minmax(auto, 1fr);
|
|
847
910
|
grid-template-areas: "robot titles chips" "robot nav nav" "place place place";
|
|
848
911
|
align-items: center;
|
|
849
912
|
column-gap: 20px;
|
|
@@ -944,9 +1007,15 @@
|
|
|
944
1007
|
display: none;
|
|
945
1008
|
}
|
|
946
1009
|
|
|
1010
|
+
/* The name's link cuts the name, not its title: a cut by the title would cut the link's focus ring too. As wide as the name, the title's at most. */
|
|
947
1011
|
.title-home {
|
|
1012
|
+
display: block;
|
|
1013
|
+
width: fit-content;
|
|
1014
|
+
max-width: 100%;
|
|
1015
|
+
overflow: hidden;
|
|
948
1016
|
color: inherit;
|
|
949
1017
|
text-decoration: none;
|
|
1018
|
+
text-overflow: ellipsis;
|
|
950
1019
|
}
|
|
951
1020
|
|
|
952
1021
|
.top > .titles {
|
|
@@ -957,6 +1026,7 @@
|
|
|
957
1026
|
/* The chips to the right edge, in line with what the master asks and the cards under them. */
|
|
958
1027
|
.top > .status-chips {
|
|
959
1028
|
grid-area: chips;
|
|
1029
|
+
min-width: min-content;
|
|
960
1030
|
margin: 0;
|
|
961
1031
|
/* Clear of the theme's corner, whose button is wider than its triangle. */
|
|
962
1032
|
margin-inline-end: 40px;
|
|
@@ -967,6 +1037,35 @@
|
|
|
967
1037
|
margin-inline-start: -14px;
|
|
968
1038
|
}
|
|
969
1039
|
|
|
1040
|
+
/* The game's picture at the head (D-528), only when it gives one: in the room the chips leave beside the campaign's name, to the window's top and end
|
|
1041
|
+
edges, fading into the top toward the name; under no words but the chips', which have their own ground. Not on a phone, whose top has no such room. */
|
|
1042
|
+
.top::before {
|
|
1043
|
+
content: var(--head-picture-shown, none);
|
|
1044
|
+
grid-area: chips;
|
|
1045
|
+
align-self: stretch;
|
|
1046
|
+
z-index: -1;
|
|
1047
|
+
margin-block-start: calc(-1 * var(--gap));
|
|
1048
|
+
margin-inline-end: calc(-1 * var(--gap));
|
|
1049
|
+
background: var(--head-picture, none) right center / var(--head-picture-size, cover) var(--head-picture-repeat, no-repeat);
|
|
1050
|
+
mask-image: linear-gradient(to right, transparent, #000 45%);
|
|
1051
|
+
pointer-events: none;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.top.compact::before {
|
|
1055
|
+
margin-block-start: -8px;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
[dir="rtl"] .top::before {
|
|
1059
|
+
background-position: left center;
|
|
1060
|
+
mask-image: linear-gradient(to left, transparent, #000 45%);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
@media (max-width: 600px) {
|
|
1064
|
+
.top::before {
|
|
1065
|
+
content: none;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
|
|
970
1069
|
/* The row of the sections (D-333): the sections, then the pages at its end, then the menu with what does not fit; what does not fit stays in the row unseen,
|
|
971
1070
|
for the page to measure it. */
|
|
972
1071
|
.nav-row {
|
|
@@ -1122,7 +1221,8 @@
|
|
|
1122
1221
|
display: none;
|
|
1123
1222
|
}
|
|
1124
1223
|
|
|
1125
|
-
/* The sections (D-309): links with their pictures, the one shown in the accent with a bar under it, drawn as a background since ::after is the state layer
|
|
1224
|
+
/* The sections (D-309): links with their pictures, the one shown in the accent with a bar under it, drawn as a background since ::after is the state layer;
|
|
1225
|
+
or, in the game's shape of the tabs (D-528), on a tint of the accent, --tab-chosen, with the corners --tab-radius and --tab-corner. */
|
|
1126
1226
|
.sections {
|
|
1127
1227
|
display: flex;
|
|
1128
1228
|
gap: 2px;
|
|
@@ -1134,7 +1234,8 @@
|
|
|
1134
1234
|
gap: 8px;
|
|
1135
1235
|
height: 40px;
|
|
1136
1236
|
padding: 0 14px;
|
|
1137
|
-
border-radius: var(--radius-m) var(--radius-m) 0 0;
|
|
1237
|
+
border-radius: var(--tab-radius, var(--radius-m) var(--radius-m) 0 0);
|
|
1238
|
+
corner-shape: var(--tab-corner, round);
|
|
1138
1239
|
color: var(--muted);
|
|
1139
1240
|
font-size: inherit;
|
|
1140
1241
|
font-weight: 600;
|
|
@@ -1144,7 +1245,7 @@
|
|
|
1144
1245
|
|
|
1145
1246
|
/* The section shown: in the accent, its tab lit as under a pointer, with a bar as wide as the tab. */
|
|
1146
1247
|
.sections a[aria-current="page"] {
|
|
1147
|
-
background: linear-gradient(var(--accent), var(--accent)) no-repeat center bottom / 100% 3px;
|
|
1248
|
+
background: var(--tab-chosen, linear-gradient(var(--accent), var(--accent)) no-repeat center bottom / 100% 3px);
|
|
1148
1249
|
color: var(--accent);
|
|
1149
1250
|
}
|
|
1150
1251
|
|
|
@@ -1225,12 +1326,10 @@
|
|
|
1225
1326
|
}
|
|
1226
1327
|
|
|
1227
1328
|
.titles h1 {
|
|
1228
|
-
overflow: hidden;
|
|
1229
1329
|
font-size: 2.4rem;
|
|
1230
1330
|
line-height: 1.05;
|
|
1231
1331
|
letter-spacing: var(--title-spacing, 0.04em);
|
|
1232
1332
|
font-variant: small-caps;
|
|
1233
|
-
text-overflow: ellipsis;
|
|
1234
1333
|
white-space: nowrap;
|
|
1235
1334
|
}
|
|
1236
1335
|
|
|
@@ -1635,7 +1734,8 @@
|
|
|
1635
1734
|
.top .main-nav .section-mark {
|
|
1636
1735
|
width: 52px;
|
|
1637
1736
|
height: 30px;
|
|
1638
|
-
border-radius: var(--radius-m);
|
|
1737
|
+
border-radius: var(--tab-radius, var(--radius-m));
|
|
1738
|
+
corner-shape: var(--tab-corner, round);
|
|
1639
1739
|
}
|
|
1640
1740
|
|
|
1641
1741
|
.top .main-nav a[aria-current="page"] .section-mark {
|
|
@@ -1730,7 +1830,8 @@
|
|
|
1730
1830
|
gap: 2px;
|
|
1731
1831
|
padding: 3px;
|
|
1732
1832
|
border: 1px solid var(--rule);
|
|
1733
|
-
border-radius: var(--radius-m);
|
|
1833
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
1834
|
+
corner-shape: var(--button-corner, round);
|
|
1734
1835
|
background: var(--float);
|
|
1735
1836
|
}
|
|
1736
1837
|
|
|
@@ -1738,7 +1839,8 @@
|
|
|
1738
1839
|
min-height: 36px;
|
|
1739
1840
|
padding: 0 12px;
|
|
1740
1841
|
border: 0;
|
|
1741
|
-
border-radius: var(--radius-s);
|
|
1842
|
+
border-radius: var(--button-radius, var(--radius-s));
|
|
1843
|
+
corner-shape: var(--button-corner, round);
|
|
1742
1844
|
background: transparent;
|
|
1743
1845
|
color: var(--muted);
|
|
1744
1846
|
font: inherit;
|
|
@@ -2094,7 +2196,7 @@
|
|
|
2094
2196
|
margin-top: 18px;
|
|
2095
2197
|
}
|
|
2096
2198
|
}
|
|
2097
|
-
/* Tabs: a section's tabs and their marks. */
|
|
2199
|
+
/* Tabs: a section's tabs and their marks; the chosen one with a bar under it, or in the game's shape of the tabs on a tint of the accent (D-528). */
|
|
2098
2200
|
@layer parts {
|
|
2099
2201
|
.page-tabs {
|
|
2100
2202
|
display: flex;
|
|
@@ -2112,6 +2214,8 @@
|
|
|
2112
2214
|
padding: 0 16px;
|
|
2113
2215
|
border: 0;
|
|
2114
2216
|
border-bottom: 3px solid transparent;
|
|
2217
|
+
border-radius: var(--tab-radius, 0);
|
|
2218
|
+
corner-shape: var(--tab-corner, round);
|
|
2115
2219
|
background: transparent;
|
|
2116
2220
|
color: var(--muted);
|
|
2117
2221
|
font: inherit;
|
|
@@ -2120,7 +2224,8 @@
|
|
|
2120
2224
|
}
|
|
2121
2225
|
|
|
2122
2226
|
.page-tabs button[aria-selected="true"] {
|
|
2123
|
-
border-bottom-color: var(--accent);
|
|
2227
|
+
border-bottom-color: var(--tab-bar, var(--accent));
|
|
2228
|
+
background: var(--tab-chosen, transparent);
|
|
2124
2229
|
color: var(--accent);
|
|
2125
2230
|
}
|
|
2126
2231
|
|
|
@@ -2769,7 +2874,8 @@
|
|
|
2769
2874
|
color: var(--muted);
|
|
2770
2875
|
}
|
|
2771
2876
|
}
|
|
2772
|
-
/* Tokens: a picture of someone as a coin under glass, with the pips of its side and state
|
|
2877
|
+
/* Tokens: a picture of someone as a coin under glass, with the pips of its side and state; the game's shape and frame of the portraits (D-528):
|
|
2878
|
+
--portrait-radius and --portrait-corner, the glass's rim --portrait-rim, which only a round coin has, and --portrait-frame inside its edge. */
|
|
2773
2879
|
@layer parts {
|
|
2774
2880
|
/* Tokens as coins (D-409): a round picture on a dark disc, whatever the theme, its edge bevelled and its shadow low on the page; no colour of a side. The
|
|
2775
2881
|
disc's dark edge is under the picture, seen only where there is none; the picture is round itself, so that the pip of the side may stand out of it (D-414). */
|
|
@@ -2781,7 +2887,8 @@
|
|
|
2781
2887
|
place-items: center;
|
|
2782
2888
|
width: var(--size);
|
|
2783
2889
|
height: var(--size);
|
|
2784
|
-
border-radius: 50
|
|
2890
|
+
border-radius: var(--portrait-radius, 50%);
|
|
2891
|
+
corner-shape: var(--portrait-corner, round);
|
|
2785
2892
|
background: var(--disc);
|
|
2786
2893
|
box-shadow: var(--coin-shadow);
|
|
2787
2894
|
flex: 0 0 auto;
|
|
@@ -2796,14 +2903,15 @@
|
|
|
2796
2903
|
position: absolute;
|
|
2797
2904
|
inset: 0;
|
|
2798
2905
|
z-index: 1;
|
|
2799
|
-
border-radius: 50
|
|
2906
|
+
border-radius: var(--portrait-radius, 50%);
|
|
2907
|
+
corner-shape: var(--portrait-corner, round);
|
|
2800
2908
|
pointer-events: none;
|
|
2801
2909
|
}
|
|
2802
2910
|
|
|
2803
2911
|
/* The glass's top, and the coin's bevel over its rim: lit above, shaded below. */
|
|
2804
2912
|
.token::before {
|
|
2805
2913
|
z-index: 2;
|
|
2806
|
-
box-shadow: inset 0 1.5px 0 rgb(255 255 255 / 0.28), inset 0 -1.5px 0 rgb(0 0 0 / 0.35);
|
|
2914
|
+
box-shadow: var(--portrait-frame, 0 0 0 transparent), inset 0 1.5px 0 rgb(255 255 255 / 0.28), inset 0 -1.5px 0 rgb(0 0 0 / 0.35);
|
|
2807
2915
|
background: linear-gradient(135deg, rgb(255 255 255 / 0.3) 0%, rgb(255 255 255 / 0.08) 44%, transparent 45%, transparent 60%, rgb(255 255 255 / 0.05) 61%, transparent 68%);
|
|
2808
2916
|
}
|
|
2809
2917
|
|
|
@@ -2812,7 +2920,7 @@
|
|
|
2812
2920
|
background:
|
|
2813
2921
|
radial-gradient(circle at 27% 24%, rgb(255 255 255 / 0.6), transparent 40%),
|
|
2814
2922
|
linear-gradient(135deg, rgb(255 255 255 / 0.3), transparent 45%, transparent 55%, rgb(0 0 0 / 0.24));
|
|
2815
|
-
mask: radial-gradient(circle closest-side, transparent 78%, rgb(0 0 0 / 0.1) 84%, rgb(0 0 0 / 0.4) 90%, rgb(0 0 0 / 0.75) 95%, #000);
|
|
2923
|
+
mask: var(--portrait-rim, radial-gradient(circle closest-side, transparent 78%, rgb(0 0 0 / 0.1) 84%, rgb(0 0 0 / 0.4) 90%, rgb(0 0 0 / 0.75) 95%, #000));
|
|
2816
2924
|
}
|
|
2817
2925
|
|
|
2818
2926
|
/* A foe the master marked (D-415): a thin red ring close round the coin, a hair of the page between them so that it reads in grey too, and a breath of red past it. */
|
|
@@ -2846,7 +2954,8 @@
|
|
|
2846
2954
|
display: block;
|
|
2847
2955
|
width: 100%;
|
|
2848
2956
|
height: 100%;
|
|
2849
|
-
border-radius: 50
|
|
2957
|
+
border-radius: var(--portrait-radius, 50%);
|
|
2958
|
+
corner-shape: var(--portrait-corner, round);
|
|
2850
2959
|
object-fit: cover;
|
|
2851
2960
|
}
|
|
2852
2961
|
|
|
@@ -3042,7 +3151,8 @@
|
|
|
3042
3151
|
|
|
3043
3152
|
.initials {
|
|
3044
3153
|
display: grid;
|
|
3045
|
-
border-radius: 50
|
|
3154
|
+
border-radius: var(--portrait-radius, 50%);
|
|
3155
|
+
corner-shape: var(--portrait-corner, round);
|
|
3046
3156
|
place-items: center;
|
|
3047
3157
|
width: 100%;
|
|
3048
3158
|
height: 100%;
|
|
@@ -4133,7 +4243,8 @@
|
|
|
4133
4243
|
min-height: 48px;
|
|
4134
4244
|
padding: 8px 18px;
|
|
4135
4245
|
border: 1px solid var(--rule);
|
|
4136
|
-
border-radius: var(--radius-m);
|
|
4246
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
4247
|
+
corner-shape: var(--button-corner, round);
|
|
4137
4248
|
background: var(--panel-2);
|
|
4138
4249
|
cursor: pointer;
|
|
4139
4250
|
}
|
|
@@ -4409,7 +4520,8 @@
|
|
|
4409
4520
|
min-height: 48px;
|
|
4410
4521
|
padding: 8px 20px;
|
|
4411
4522
|
border: 0;
|
|
4412
|
-
border-radius: var(--radius-m);
|
|
4523
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
4524
|
+
corner-shape: var(--button-corner, round);
|
|
4413
4525
|
background: var(--gold);
|
|
4414
4526
|
color: var(--on-gold);
|
|
4415
4527
|
font: inherit;
|
|
@@ -5221,7 +5333,7 @@
|
|
|
5221
5333
|
padding: 0 16px 6px;
|
|
5222
5334
|
border: 1px solid var(--card-edge);
|
|
5223
5335
|
border-radius: var(--radius-l);
|
|
5224
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
5336
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
5225
5337
|
box-shadow: var(--lift), var(--raise);
|
|
5226
5338
|
}
|
|
5227
5339
|
|
|
@@ -7798,7 +7910,7 @@
|
|
|
7798
7910
|
padding: 14px 16px 6px;
|
|
7799
7911
|
border: 1px solid var(--card-edge);
|
|
7800
7912
|
border-radius: var(--radius-l);
|
|
7801
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
7913
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
7802
7914
|
box-shadow: var(--lift), var(--raise);
|
|
7803
7915
|
}
|
|
7804
7916
|
|
|
@@ -7834,7 +7946,16 @@
|
|
|
7834
7946
|
}
|
|
7835
7947
|
}
|
|
7836
7948
|
|
|
7949
|
+
.settings-group-note {
|
|
7950
|
+
margin: 4px 0 8px;
|
|
7951
|
+
padding: 8px 12px;
|
|
7952
|
+
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--rule));
|
|
7953
|
+
border-radius: var(--radius-l);
|
|
7954
|
+
background: color-mix(in srgb, var(--accent) 10%, var(--panel));
|
|
7955
|
+
}
|
|
7956
|
+
|
|
7837
7957
|
.settings-group h3 + .setting,
|
|
7958
|
+
.settings-group .settings-group-note + .setting,
|
|
7838
7959
|
.settings-group .setting-about + .setting {
|
|
7839
7960
|
border-top: 0;
|
|
7840
7961
|
}
|
|
@@ -8361,7 +8482,7 @@
|
|
|
8361
8482
|
overflow: hidden;
|
|
8362
8483
|
border: 1px solid var(--card-edge);
|
|
8363
8484
|
border-radius: var(--radius-l);
|
|
8364
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
8485
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
8365
8486
|
box-shadow: var(--lift), var(--raise);
|
|
8366
8487
|
}
|
|
8367
8488
|
|
|
@@ -8696,7 +8817,7 @@
|
|
|
8696
8817
|
padding: 14px 16px;
|
|
8697
8818
|
border: 1px solid var(--card-edge);
|
|
8698
8819
|
border-radius: var(--radius-l);
|
|
8699
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
8820
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
8700
8821
|
box-shadow: var(--lift), var(--raise);
|
|
8701
8822
|
}
|
|
8702
8823
|
|
|
@@ -9145,7 +9266,7 @@
|
|
|
9145
9266
|
padding: 12px 14px 8px;
|
|
9146
9267
|
border: 1px solid var(--card-edge);
|
|
9147
9268
|
border-radius: var(--radius-l);
|
|
9148
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
9269
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
9149
9270
|
box-shadow: var(--lift), var(--raise);
|
|
9150
9271
|
}
|
|
9151
9272
|
|
|
@@ -9503,7 +9624,7 @@
|
|
|
9503
9624
|
grid-template-columns: 168px minmax(0, 1fr);
|
|
9504
9625
|
border: 1px solid var(--card-edge);
|
|
9505
9626
|
border-radius: var(--radius-l);
|
|
9506
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
9627
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
9507
9628
|
box-shadow: var(--lift);
|
|
9508
9629
|
}
|
|
9509
9630
|
|
|
@@ -10060,7 +10181,7 @@
|
|
|
10060
10181
|
margin-bottom: var(--gap);
|
|
10061
10182
|
border: 1px solid var(--card-edge);
|
|
10062
10183
|
border-radius: var(--radius-l);
|
|
10063
|
-
background: var(--card-ornament-layer), linear-gradient(180deg, var(--panel-2), var(--panel));
|
|
10184
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), linear-gradient(180deg, var(--panel-2), var(--panel));
|
|
10064
10185
|
box-shadow: var(--lift), var(--raise);
|
|
10065
10186
|
}
|
|
10066
10187
|
|
|
@@ -11600,7 +11721,7 @@
|
|
|
11600
11721
|
border: 1px solid var(--card-edge);
|
|
11601
11722
|
border-inline-start: 4px solid var(--accent);
|
|
11602
11723
|
border-radius: var(--radius-l);
|
|
11603
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
11724
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
11604
11725
|
box-shadow: var(--lift), var(--raise);
|
|
11605
11726
|
}
|
|
11606
11727
|
|
|
@@ -12028,7 +12149,7 @@
|
|
|
12028
12149
|
min-width: 0;
|
|
12029
12150
|
border: 1px solid var(--card-edge);
|
|
12030
12151
|
border-radius: var(--radius-l);
|
|
12031
|
-
background: var(--card-ornament-layer), var(--panel);
|
|
12152
|
+
background: var(--card-ornament-layer), var(--card-texture-layer, none), var(--panel);
|
|
12032
12153
|
box-shadow: var(--lift), var(--raise);
|
|
12033
12154
|
}
|
|
12034
12155
|
|
|
@@ -12438,7 +12559,8 @@
|
|
|
12438
12559
|
.turn-notice-go {
|
|
12439
12560
|
margin-inline-start: auto;
|
|
12440
12561
|
padding: 4px 12px;
|
|
12441
|
-
border-radius: var(--radius-m);
|
|
12562
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
12563
|
+
corner-shape: var(--button-corner, round);
|
|
12442
12564
|
background: color-mix(in srgb, var(--on-gold) 12%, transparent);
|
|
12443
12565
|
}
|
|
12444
12566
|
|
|
@@ -12576,9 +12698,11 @@
|
|
|
12576
12698
|
overflow: hidden;
|
|
12577
12699
|
}
|
|
12578
12700
|
|
|
12701
|
+
/* The fog where the map is not known and the halo of its words: of the game's paper of the maps, when it gives one (D-528). The rivers', the trail's and
|
|
12702
|
+
the regions' inks are copied in themes/theme.ts (paperInks), which measures them on a theme's paper: change them there too. */
|
|
12579
12703
|
.map-card {
|
|
12580
|
-
--m-fog: #dccaa2;
|
|
12581
|
-
--m-halo: #f1e6cc;
|
|
12704
|
+
--m-fog: var(--map-fog, #dccaa2);
|
|
12705
|
+
--m-halo: var(--map-paper, #f1e6cc);
|
|
12582
12706
|
--m-river: #3a6d96;
|
|
12583
12707
|
--m-trail: #b2361f;
|
|
12584
12708
|
--m-region-ink: #5a3f4f;
|
|
@@ -13410,9 +13534,10 @@
|
|
|
13410
13534
|
/* The paper's colours, fixed: the map is a sheet, not a screen. */
|
|
13411
13535
|
/* The map of the place (GRD-6, D-323, D-325): ink and washes on paper that stays light in both themes, as the world map's; the ground by the place's look; in Combat beside the order of the turns. */
|
|
13412
13536
|
.lm {
|
|
13413
|
-
|
|
13414
|
-
--l-
|
|
13415
|
-
--l-
|
|
13537
|
+
/* The game's paper of the maps, its floor and grid drawn of it (D-528), when it gives one. */
|
|
13538
|
+
--l-paper: var(--map-paper, #f1e6cc);
|
|
13539
|
+
--l-floor: var(--map-floor, #f6ecd6);
|
|
13540
|
+
--l-grid: var(--map-grid, #cdb98f);
|
|
13416
13541
|
--l-ink: #3f2f1f;
|
|
13417
13542
|
--l-wood: #dcb47c;
|
|
13418
13543
|
--l-wood-dark: #bb8a52;
|
|
@@ -14038,7 +14163,8 @@
|
|
|
14038
14163
|
flex: 1;
|
|
14039
14164
|
min-height: 44px;
|
|
14040
14165
|
border: 0;
|
|
14041
|
-
border-radius: var(--radius-m);
|
|
14166
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
14167
|
+
corner-shape: var(--button-corner, round);
|
|
14042
14168
|
background: var(--gold);
|
|
14043
14169
|
color: var(--on-gold);
|
|
14044
14170
|
font-weight: 700;
|
|
@@ -14327,7 +14453,8 @@
|
|
|
14327
14453
|
min-height: 44px;
|
|
14328
14454
|
padding: 0 16px;
|
|
14329
14455
|
border: 1px solid var(--rule);
|
|
14330
|
-
border-radius: var(--radius-m);
|
|
14456
|
+
border-radius: var(--button-radius, var(--radius-m));
|
|
14457
|
+
corner-shape: var(--button-corner, round);
|
|
14331
14458
|
background: none;
|
|
14332
14459
|
}
|
|
14333
14460
|
|
|
@@ -16206,3 +16333,29 @@
|
|
|
16206
16333
|
}
|
|
16207
16334
|
}
|
|
16208
16335
|
}
|
|
16336
|
+
|
|
16337
|
+
/* The colours the guarantees draw with, registered here, outside every layer, as among @property rules the last layer wins and a style sheet without a layer
|
|
16338
|
+
over them all: no @property of a theme's own style sheet gives them another syntax, which would make them invalid and put out the ring and the tooltip. */
|
|
16339
|
+
@property --guard-accent {
|
|
16340
|
+
syntax: "<color>";
|
|
16341
|
+
inherits: true;
|
|
16342
|
+
initial-value: #254b83;
|
|
16343
|
+
}
|
|
16344
|
+
|
|
16345
|
+
@property --guard-ink {
|
|
16346
|
+
syntax: "<color>";
|
|
16347
|
+
inherits: true;
|
|
16348
|
+
initial-value: #182c4c;
|
|
16349
|
+
}
|
|
16350
|
+
|
|
16351
|
+
@property --guard-paper {
|
|
16352
|
+
syntax: "<color>";
|
|
16353
|
+
inherits: true;
|
|
16354
|
+
initial-value: #f3ede2;
|
|
16355
|
+
}
|
|
16356
|
+
|
|
16357
|
+
@property --guard-gold {
|
|
16358
|
+
syntax: "<color>";
|
|
16359
|
+
inherits: true;
|
|
16360
|
+
initial-value: #f5c63e;
|
|
16361
|
+
}
|