Files
dsp-thomann-interface/src/features/dsp408/components/MiscellaneousSection/CopyChannelModal.css
T
2026-10-24 19:55:54 +02:00

156 lines
2.7 KiB
CSS

.copy-channel-overlay {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-4);
background: rgba(0, 0, 0, 0.5);
animation: copy-channel-fade-in var(--dur-base) var(--ease-standard);
}
@keyframes copy-channel-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.copy-channel-modal {
width: 100%;
max-width: 440px;
max-height: 90vh;
overflow-y: auto;
user-select: none;
-webkit-user-select: none;
animation: copy-channel-scale-in var(--dur-base) var(--ease-standard);
}
@keyframes copy-channel-scale-in {
from {
opacity: 0;
transform: scale(0.96);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Header (matches miscellaneous section header) */
.copy-channel-modal__header {
margin-bottom: var(--space-3);
}
.copy-channel-modal__header h2 {
margin: 0;
font-size: var(--font-md);
font-weight: var(--font-weight-semibold);
color: var(--text-primary);
}
.copy-channel-modal__header p {
margin: var(--space-1) 0 0;
font-size: var(--font-sm);
line-height: 1.4;
color: var(--text-muted);
}
/* Source -> destination */
.copy-channel-modal__transfer {
display: flex;
align-items: flex-end;
gap: var(--space-3);
}
/* Field (matches miscellaneous field) */
.copy-channel-modal__field {
display: flex;
flex-direction: column;
gap: 0;
flex: 1;
min-width: 0;
font-family: var(--font-mono);
}
.copy-channel-modal__field label {
font-size: var(--font-sm);
color: var(--text-muted);
}
/* Fixed control height (matches miscellaneous choice select) */
.copy-channel-modal__choice-select {
height: var(--card-control-height);
min-height: var(--card-control-height);
max-height: var(--card-control-height);
box-sizing: border-box;
flex-shrink: 0;
}
.copy-channel-modal__arrow {
display: flex;
align-items: center;
justify-content: center;
height: var(--card-control-height);
color: var(--text-muted);
flex: 0 0 auto;
}
.copy-channel-modal__arrow svg {
width: var(--space-5);
height: var(--space-5);
}
.copy-channel-modal__summary {
margin: var(--space-3) 0 0;
font-size: var(--font-sm);
line-height: 1.4;
color: var(--text-muted);
}
/* Footer actions (matches miscellaneous actions) */
.copy-channel-modal__actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: var(--space-3);
margin-top: var(--space-2);
}
/* Mobile */
@media (max-width: 600px) {
.copy-channel-modal__transfer {
flex-direction: column;
align-items: stretch;
}
.copy-channel-modal__arrow {
transform: rotate(90deg);
}
.copy-channel-modal__actions {
justify-content: flex-start;
flex-wrap: wrap;
}
}