mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 06:25:41 +00:00
exp(orbit): start modal, paste-to-join, suggest track from context menu
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11443,3 +11443,148 @@ html[data-app-hidden="true"] *::after {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* ── Queue-header "start session" trigger ──────────────────────── */
|
||||
.queue-header-orbit-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
|
||||
color: var(--accent);
|
||||
cursor: pointer;
|
||||
flex-shrink: 0;
|
||||
transition: background 150ms ease, border-color 150ms ease, transform 160ms ease;
|
||||
}
|
||||
.queue-header-orbit-btn:hover {
|
||||
background: color-mix(in srgb, var(--accent) 22%, transparent);
|
||||
border-color: color-mix(in srgb, var(--accent) 52%, transparent);
|
||||
transform: rotate(30deg);
|
||||
}
|
||||
|
||||
/* ── Start-session modal ────────────────────────────────────────── */
|
||||
.orbit-start-overlay {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.orbit-start-modal {
|
||||
max-width: 420px;
|
||||
width: min(420px, calc(100vw - 32px));
|
||||
padding: 28px 26px 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.orbit-start-modal__title {
|
||||
margin: 0 0 6px;
|
||||
padding-right: 2rem;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.orbit-start-modal__sub {
|
||||
margin: 0 0 18px;
|
||||
font-size: 12.5px;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.orbit-start-modal__label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
letter-spacing: 0.02em;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.orbit-start-modal__label strong {
|
||||
font-size: 13px;
|
||||
color: var(--accent);
|
||||
font-weight: 700;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.orbit-start-modal__input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 6px;
|
||||
padding: 9px 12px;
|
||||
background: var(--ctp-base);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
}
|
||||
.orbit-start-modal__input:focus {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.orbit-start-modal__range {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 8px;
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
|
||||
.orbit-start-modal__error {
|
||||
margin-bottom: 12px;
|
||||
padding: 8px 10px;
|
||||
font-size: 12px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--ctp-red, #f38ba8) 14%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--ctp-red, #f38ba8) 35%, transparent);
|
||||
color: var(--ctp-red, #f38ba8);
|
||||
}
|
||||
|
||||
.orbit-start-modal__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.orbit-start-modal__link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 18px;
|
||||
padding: 10px 12px;
|
||||
background: var(--ctp-base);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
font-family: var(--font-mono, ui-monospace, 'Courier New', monospace);
|
||||
font-size: 11.5px;
|
||||
color: var(--accent);
|
||||
word-break: break-all;
|
||||
}
|
||||
.orbit-start-modal__link code {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
background: none;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
}
|
||||
.orbit-start-modal__copy {
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--accent) 14%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
|
||||
color: var(--accent);
|
||||
cursor: pointer;
|
||||
transition: background 150ms ease, border-color 150ms ease;
|
||||
}
|
||||
.orbit-start-modal__copy:hover {
|
||||
background: color-mix(in srgb, var(--accent) 26%, transparent);
|
||||
border-color: color-mix(in srgb, var(--accent) 50%, transparent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user