Module cleanup and tests
CI / ci (push) Failing after 7s

This commit is contained in:
2026-05-24 23:13:45 +02:00
parent 63d83e999a
commit 5dc9b3b8d4
72 changed files with 2545 additions and 1220 deletions
+20 -35
View File
@@ -1,14 +1,3 @@
/**
* styles/components/_preset-load-dialog.less
*
* Layout for the Preset Load Dialog.
* All selectors scoped under .scrying-pool.
* Uses --sp-* tokens only — no Foundry --color-* / --font-* / --border-* tokens.
*/
// The ApplicationV2 window root already has .scrying-pool .preset-load-dialog applied
// via DEFAULT_OPTIONS.classes. The content lives inside PARTS.
.scrying-pool.preset-load-dialog {
background: var(--sp-surface);
color: var(--sp-text-primary);
@@ -21,23 +10,9 @@
gap: 0;
}
// ── Header ────────────────────────────────────────────────────────────
.preset-load-dialog__header {
padding: 12px 16px;
border-bottom: 1px solid var(--sp-border);
flex-shrink: 0;
}
.preset-load-dialog__title {
margin: 0;
font-size: 14px;
font-weight: bold;
color: var(--sp-text, inherit);
}
// ── Body ──────────────────────────────────────────────────────────────
.preset-load-dialog__body {
padding: 16px;
padding: 12px;
overflow-y: auto;
flex: 1 1 auto;
}
@@ -49,6 +24,7 @@
font-size: 13px;
padding: 24px 0;
margin: 0;
font-style: italic;
}
// ── Preset list ────────────────────────────────────────────────────────
@@ -71,18 +47,28 @@
text-align: left;
font-size: 13px;
padding: 8px 12px;
border-radius: 3px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.15s, border-color 0.15s;
display: inline-flex;
align-items: center;
gap: 8px;
// Load button — primary
i { font-size: 0.85em; opacity: 0.7; flex-shrink: 0; }
// Load button — styled as a row item, not a loud primary button
&--load {
background: var(--sp-accent, #4a6f9c);
color: #fff;
border: none;
background: var(--sp-surface-elevated, rgba(255,255,255,0.06));
color: var(--sp-text-primary);
border: 1px solid var(--sp-border);
&:hover { opacity: 0.85; }
&:active { opacity: 0.7; }
&:hover {
background: var(--sp-accent, #4a6f9c);
border-color: var(--sp-accent, #4a6f9c);
color: #fff;
i { opacity: 1; }
}
&:active { opacity: 0.85; }
}
// Cancel button — secondary
@@ -90,7 +76,6 @@
background: transparent;
color: var(--sp-text-muted);
border: 1px solid var(--sp-border);
&:hover { color: var(--sp-text, inherit); border-color: currentColor; }
}
}
@@ -100,7 +85,7 @@
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 16px;
padding: 10px 12px;
border-top: 1px solid var(--sp-border);
flex-shrink: 0;
}