refactor styles

This commit is contained in:
2025-11-10 11:30:16 +01:00
parent b4a1821a55
commit 585caaee58
31 changed files with 4873 additions and 4867 deletions
@@ -0,0 +1,44 @@
.panel-modal__header {
padding: 1rem 1rem 1rem 0.5rem;
border-bottom: 1px solid var(--border);
}
.panel-modal__body {
flex: 1;
overflow: auto;
padding: 0;
}
.modal__body {
width: 100%;
}
.modal h3 {
margin: 0;
font-size: 1.15rem;
font-weight: 600;
}
.modal__form {
display: flex;
flex-direction: column;
gap: 0.9rem;
}
.modal__form label {
font-weight: 600;
font-size: 0.9rem;
}
.modal__error {
margin: -0.45rem 0 0;
font-size: 0.85rem;
color: var(--danger);
}
.modal__actions {
display: flex;
justify-content: flex-start;
padding: 0.25rem;
gap: 0.6rem;
}
@@ -0,0 +1,77 @@
.status-banner {
padding: 0.45rem 0.8rem;
border-radius: 2px;
font-size: 0.85rem;
}
.status-banner.info {
background: var(--surface-subtle);
color: var(--muted);
}
.status-banner.success {
background: var(--success-subtle);
color: var(--success);
}
.status-banner.error {
background: var(--danger-soft);
color: var(--danger);
}
.drop-overlay {
position: fixed;
inset: 0;
background: var(--accent-soft);
backdrop-filter: blur(4px);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}
.drop-overlay.active {
display: flex;
}
.drop-overlay__content {
background: var(--surface);
color: var(--fg);
padding: 1.25rem 1.75rem;
border-radius: 2px;
text-align: center;
font-size: 0.95rem;
box-shadow: none;
}
.modal-backdrop {
position: fixed;
inset: 0;
background: var(--overlay-backdrop);
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem;
z-index: 3000;
}
.modal {
background: var(--surface);
border-radius: 4px;
box-shadow: 0 18px 42px var(--overlay-shadow);
width: min(360px, 100%);
padding: 1.6rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.modal--panel {
width: 80vw;
max-width: 960px;
max-height: 90vh;
padding: 0;
border-radius: 12px;
overflow: hidden;
gap: 0;
}