141 lines
8.4 KiB
CSS
141 lines
8.4 KiB
CSS
.settings-browser { display: block; width: 100%; min-width: 0; }
|
|
.settings-browser, .settings-grid, .settings-overview, .settings-detail, .settings-section,
|
|
.settings-browser .settings, .settings-browser .set-group, .settings-browser .dsp-settings,
|
|
.settings-browser .dsp-subsection, .settings-browser .dsp-param-list {
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
/* Settings is a workspace, not a sidebar: give the section browser the full
|
|
content area on desktop instead of leaving it inside the fixed 452px list. */
|
|
.body:has(#listPane .cards[data-view="settings"]) .player-pane { display: none; }
|
|
.body:has(#listPane .cards[data-view="settings"]) #listPane {
|
|
flex: 1 1 0;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
border-left: 0;
|
|
}
|
|
.body:has(#listPane .cards[data-view="settings"]) #listPane .cards {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow-x: hidden;
|
|
}
|
|
.settings-browser [hidden] { display: none !important; }
|
|
.settings-search { margin-bottom: 12px; }
|
|
.settings-search input { width: 100%; min-height: 44px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
|
|
.settings-overview h3 { color: var(--text-dim); margin: 16px 0 4px; font: 600 12px var(--ui, sans-serif); }
|
|
.settings-section-row { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line-soft); text-align: left; cursor: pointer; font: inherit; }
|
|
.settings-section-row svg { width: 20px; height: 20px; flex: none; color: var(--accent-bright); }
|
|
.settings-section-row span { flex: 1; min-width: 0; }
|
|
.settings-section-row b { font-size: 14px; font-weight: 600; }
|
|
.settings-section-row small { display: block; color: var(--text-2); font-size: 12px; line-height: 1.4; margin-top: 2px; }
|
|
.settings-section-row:hover, .settings-section-row[aria-current="true"] { background: var(--bg-3); border-radius: 8px; }
|
|
.settings-browser :is(button,input,select,textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
|
|
.settings-back { min-height: 44px; padding: 8px 12px; margin-bottom: 12px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; cursor: pointer; }
|
|
.settings-browser .set-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, min(40%, 260px));
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 44px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.settings-browser .set-row > :is(span, input, select, button, output) { min-width: 0; max-width: 100%; }
|
|
.settings-browser .set-row > :is(input, select, button, output) { box-sizing: border-box; }
|
|
.settings-browser .set-control-wrap { display: block; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
|
|
#listPane #cards .settings-browser .set-row select,
|
|
#listPane #cards .settings-browser .set-control-wrap select,
|
|
.settings-browser .set-row select,
|
|
.settings-browser .set-control-wrap select {
|
|
box-sizing: border-box;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding-right: 28px;
|
|
background-color: var(--bg-3);
|
|
background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
|
|
background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
|
|
background-size: 5px 5px;
|
|
background-repeat: no-repeat;
|
|
color: var(--text);
|
|
border-color: var(--line);
|
|
}
|
|
.settings-browser .set-row > span:first-child { overflow-wrap: anywhere; }
|
|
.settings-browser .set-row:has(> span:only-child) { grid-template-columns: minmax(0, 1fr); }
|
|
.settings-browser .set-row small { font-size: 12px; max-width: 100%; }
|
|
.settings-browser .set-row > span { min-width: 0; }
|
|
.settings-browser .set-row input[type="range"] { width: calc(100% - 16px); max-width: calc(100% - 16px); min-width: 0; }
|
|
.settings-browser .set-row input[type="checkbox"] {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
justify-self: end;
|
|
width: 46px;
|
|
height: 28px;
|
|
min-width: 46px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: radial-gradient(circle at 14px 50%, var(--text) 0 9px, transparent 10px), var(--bg-3);
|
|
cursor: pointer;
|
|
transition: background .16s ease, border-color .16s ease;
|
|
}
|
|
.settings-browser .set-row input[type="checkbox"]:checked {
|
|
border-color: var(--accent);
|
|
background: radial-gradient(circle at 32px 50%, var(--on-accent, #fff) 0 9px, transparent 10px), var(--accent);
|
|
}
|
|
.settings-browser .set-row input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
|
|
.dsp-file-control {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 9px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.dsp-file-control input[type="file"] { position: absolute; width: 1px; height: 1px; min-width: 0; max-width: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
.dsp-file-control:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
|
|
.dsp-file-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-3); color: var(--text); font: 600 12px var(--ui); white-space: nowrap; }
|
|
.dsp-file-name { display: block; min-width: 0; overflow: hidden; color: var(--text-2); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
|
|
.dsp-subsection .sp-note { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
|
|
.dsp-subsection > .btn { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.dsp-actions { min-width: 0; max-width: 100%; }
|
|
.dsp-param-list { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
|
|
.dsp-param-row input[type="range"] { width: calc(100% - 16px); min-width: 0; max-width: calc(100% - 16px); }
|
|
.settings-browser .settings-detail { display: none; min-width: 0; }
|
|
.settings-browser[data-detail="1"] .settings-overview { display: none; }
|
|
.settings-browser[data-detail="1"] .settings-detail { display: block; }
|
|
@media (min-width: 900px) {
|
|
.settings-grid { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.4fr); gap: 16px; }
|
|
.settings-browser .settings-overview, .settings-browser[data-detail="1"] .settings-overview, .settings-browser .settings-detail { display: block; }
|
|
.settings-back { display: none; }
|
|
.settings-browser .set-row { flex-wrap: nowrap; gap: 12px; }
|
|
}
|
|
.download-job { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
|
|
.download-job b { overflow-wrap: anywhere; }
|
|
.download-job small, .download-storage p { color: var(--text-2); }
|
|
.download-job progress { width: 100%; accent-color: var(--accent); }
|
|
.download-job > div { display: flex; gap: 8px; }
|
|
.download-job button { min-height: 44px; padding: 8px 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
|
|
.party-dj-search { display: flex; gap: 8px; margin-block: 12px; }
|
|
.party-dj-search input { min-width: 0; flex: 1; }
|
|
.party-dj-row { padding-block: 12px; border-top: 1px solid var(--line); }
|
|
.party-dj-row b, .party-dj-row small { display: block; overflow-wrap: anywhere; }
|
|
.party-dj-row small { color: var(--text-2); margin-block: 6px; }
|
|
.party-dj-row button, .party-dj-search button, .party-dj-search + div button { min-height: 44px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 4px; }
|
|
.setlist-import { display: grid; gap: 12px; }
|
|
.setlist-import input, .setlist-import textarea, .setlist-import select { width: 100%; min-width: 0; min-height: 44px; padding: 10px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
|
|
.setlist-import .download-job > button { min-height: 44px; }
|
|
|
|
.piano-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 12px; }
|
|
.piano-actions button { min-height: 44px; padding: 8px 12px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
|
|
.piano-keyboard { width: 100%; height: 150px; display: block; }
|
|
#settings-section-piano input[type="file"], #settings-section-piano input[type="password"] { max-width: 100%; min-height: 44px; }
|