feat: add country selection, cron automation, sparkle effects and layout fixes

This commit is contained in:
2026-04-29 16:34:09 +02:00
parent c8f8c76e8a
commit 8bd9106ff3
11 changed files with 1130 additions and 52 deletions

View File

@@ -361,6 +361,28 @@ input:focus-visible,
gap: 6px;
}
.library-select-manage-btn {
width: 100%;
min-height: 38px;
margin-top: 4px;
padding: 0 12px;
border: 1px dashed rgba(var(--accent-rgb), 0.24);
border-radius: 12px;
background: rgba(var(--accent-rgb), 0.08);
color: var(--text-main);
font: inherit;
font-size: 0.84rem;
font-weight: 800;
text-align: left;
transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.library-select-manage-btn:hover {
border-color: rgba(var(--accent-rgb), 0.4);
background: rgba(var(--accent-rgb), 0.14);
transform: translateY(-1px);
}
.library-select-option {
width: 100%;
min-width: 0;
@@ -886,7 +908,9 @@ input:focus-visible,
overflow: hidden;
flex: 1 1 0;
min-width: 0;
height: 100%;
align-self: flex-start;
margin-bottom: 12px;
height: calc(100% - 12px);
min-height: 0;
display: grid;
grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1.08fr);
@@ -2047,6 +2071,92 @@ input[type=range]::-webkit-slider-thumb {
accent-color: var(--accent);
}
.country-selection-modal {
width: min(780px, 100%);
}
.country-selection-toolbar {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
margin-bottom: 12px;
}
.country-selection-search {
margin: 0;
}
.country-selection-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.country-selection-actions .btn {
min-width: 148px;
}
.country-selection-list {
max-height: min(48vh, 420px);
padding-right: 4px;
}
.country-selection-item {
margin-bottom: 8px;
padding: 0;
overflow: hidden;
}
.country-selection-option {
display: grid;
grid-template-columns: 18px 1.4rem minmax(0, 1fr);
gap: 12px;
align-items: start;
padding: 13px 14px;
cursor: pointer;
}
.country-selection-option input {
width: 18px;
height: 18px;
margin: 3px 0 0;
accent-color: var(--accent);
}
.country-selection-option input:disabled {
cursor: not-allowed;
}
.country-selection-flag {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.4rem;
height: 1rem;
margin-top: 3px;
font-size: 1rem;
line-height: 1;
flex: 0 0 auto;
}
.country-selection-flag-img {
display: block;
width: 1.4rem;
height: 1rem;
object-fit: cover;
border-radius: 2px;
}
.country-selection-copy {
min-width: 0;
}
.country-selection-footer {
justify-content: flex-end;
margin-top: 8px;
}
.field-row {
margin-bottom: 10px;
}
@@ -2645,6 +2755,19 @@ input[type=range]::-webkit-slider-thumb {
flex-direction: column;
}
.country-selection-toolbar {
grid-template-columns: 1fr;
}
.country-selection-actions {
width: 100%;
}
.country-selection-actions .btn {
flex: 1;
min-width: 0;
}
.editor-station-actions,
.editor-actions {
width: 100%;