исправил настройку временных слотов

This commit is contained in:
Zuev
2026-05-02 01:34:21 +03:00
parent 3cb311f469
commit 44cfe8ab6e
10 changed files with 390 additions and 154 deletions

View File

@@ -223,6 +223,10 @@ body {
grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 1fr) auto;
}
.settings-form-single {
grid-template-columns: minmax(240px, 1fr);
}
.settings-form-assignment {
grid-template-columns: minmax(150px, 0.8fr) minmax(190px, 1fr) auto;
}
@@ -257,6 +261,10 @@ body {
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}
.native-select-control {
cursor: pointer;
}
.btn-primary,
.btn-secondary,
.btn-delete {
@@ -352,6 +360,13 @@ body {
line-height: 1.45;
}
.scope-header-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 0.6rem;
}
.table-wrap {
overflow-x: auto;
}
@@ -428,6 +443,11 @@ body {
width: 100%;
}
.select-layer-active {
position: relative;
z-index: 300;
}
.custom-select-trigger {
width: 100%;
min-height: 42px;
@@ -487,7 +507,7 @@ body {
visibility: hidden;
transform: translateY(-4px);
transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
z-index: 50;
z-index: 200;
}
[data-theme="light"] .custom-select-menu {
@@ -519,6 +539,71 @@ body {
opacity: 0.45;
}
.settings-modal-overlay {
position: fixed;
inset: 0;
z-index: 1000;
display: none;
align-items: center;
justify-content: center;
padding: 1.25rem;
background: rgba(2, 6, 23, 0.64);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.settings-modal-overlay.open {
display: flex;
}
.settings-modal-card {
width: min(100%, 460px);
border: 1px solid var(--bg-card-border);
border-radius: var(--radius-md);
background: var(--bg-primary);
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
padding: 1.25rem;
}
.settings-modal-subtitle {
margin-top: 0.35rem;
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.45;
}
.settings-modal-close {
width: 36px;
height: 36px;
border: 1px solid var(--bg-card-border);
border-radius: var(--radius-sm);
background: var(--bg-input);
color: var(--text-secondary);
font-size: 1.3rem;
line-height: 1;
cursor: pointer;
transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.settings-modal-close:hover,
.settings-modal-close:focus {
border-color: rgba(239, 68, 68, 0.45);
background: rgba(239, 68, 68, 0.12);
color: var(--error);
}
.settings-modal-form {
display: grid;
gap: 1rem;
margin-top: 1.2rem;
}
.settings-modal-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
@media (max-width: 1180px) {
.settings-grid,
.settings-form {
@@ -528,6 +613,10 @@ body {
.settings-form .btn-primary {
width: fit-content;
}
.scope-header-actions {
justify-content: flex-start;
}
}
@media (max-width: 640px) {