9dc202053c
- Added category 'Audio/Video' to module.json to fix 'Non répertorié' issue - Created styles/tokens/_spacing.less with spacing tokens (xxs, xs, sm, md, lg, xl, 2xl) - Added legacy aliases (--sp-space-xs, --sp-space-sm, --sp-space-m, etc.) for preset-import-export.less - Added --sp-bg and --sp-surface-elevated tokens to _base.less - Fixed _player-privacy-panel.less to use CSS custom properties instead of LESS variables - Added background: var(--sp-surface) to all dialog root elements: - PlayerPrivacyPanel - PresetSaveDialog - PresetLoadDialog - DirectorsBoard - PresetImport/Export dialogs - Added _spacing.less import to scrying-pool.less - Rebuilt CSS (dist/styles/scrying-pool.css) This fixes: 1. Transparent dialogs (now have proper background colors) 2. Missing spacing tokens (caused build errors) 3. Module category (now shows as 'Audio/Video' instead of 'Uncategorized') All 900 unit tests passing. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
129 lines
3.8 KiB
Plaintext
129 lines
3.8 KiB
Plaintext
/**
|
|
* styles/components/_directors-board.less
|
|
*
|
|
* Layout for the Director's Board ApplicationV2 window.
|
|
* All selectors scoped under .scrying-pool.
|
|
* Uses --sp-* tokens only — no Foundry --color-* / --font-* / --border-* tokens.
|
|
*/
|
|
|
|
// The ApplicationV2 window root already has .scrying-pool .directors-board applied
|
|
// via DEFAULT_OPTIONS.classes. The content section and footer live inside PARTS.
|
|
|
|
.scrying-pool.directors-board {
|
|
background: var(--sp-surface);
|
|
color: var(--sp-text-primary);
|
|
|
|
// ── Participant grid ──────────────────────────────────────────────────────
|
|
.directors-board__content {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
|
|
gap: 8px;
|
|
padding: 12px;
|
|
overflow-y: auto;
|
|
flex: 1 1 auto;
|
|
list-style: none;
|
|
margin: 0;
|
|
}
|
|
|
|
// ── Empty state ────────────────────────────────────────────────────────────
|
|
.directors-board__empty {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
color: var(--sp-text-muted);
|
|
font-size: 13px;
|
|
padding: 24px 0;
|
|
margin: 0;
|
|
}
|
|
|
|
// ── Bulk-action bar ────────────────────────────────────────────────────────
|
|
.directors-board__bulk-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-top: 1px solid var(--sp-border);
|
|
flex-shrink: 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.directors-board__bulk-btn {
|
|
font-size: 12px;
|
|
background: var(--sp-accent, #4a6f9c);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 3px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
transition: opacity 0.15s;
|
|
|
|
&:hover { opacity: 0.85; }
|
|
&:active { opacity: 0.7; }
|
|
|
|
// Undo — secondary style
|
|
&--undo {
|
|
background: transparent;
|
|
color: var(--sp-text-muted);
|
|
border: 1px solid var(--sp-border);
|
|
|
|
&:hover { color: var(--sp-text, inherit); border-color: currentColor; }
|
|
}
|
|
|
|
// Restore — spotlight accent (distinct from Undo)
|
|
&--restore {
|
|
background: var(--sp-spotlight-accent, #7b4fa6);
|
|
}
|
|
}
|
|
|
|
// ── Help / shortcut-panel button ───────────────────────────────────────────
|
|
.directors-board__help-btn {
|
|
margin-left: auto;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--sp-border);
|
|
background: transparent;
|
|
color: var(--sp-text-muted);
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&:hover { background: var(--sp-accent, #4a6f9c); color: #fff; border-color: transparent; }
|
|
}
|
|
|
|
// ── Footer (preset actions) ────────────────────────────────────────────
|
|
.directors-board__footer {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-top: 1px solid var(--sp-border);
|
|
flex-shrink: 0;
|
|
|
|
&-btn {
|
|
flex: 1;
|
|
font-size: 12px;
|
|
background: var(--sp-accent, #4a6f9c);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 3px;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
transition: opacity 0.15s;
|
|
|
|
&:hover { opacity: 0.85; }
|
|
&:active { opacity: 0.7; }
|
|
&[disabled] {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
background: transparent;
|
|
color: var(--sp-text-muted);
|
|
border: 1px solid var(--sp-border);
|
|
}
|
|
}
|
|
}
|
|
}
|