поправил поля ввода и вызово боковой панели конструктора правил
This commit is contained in:
@@ -728,33 +728,60 @@
|
|||||||
.schedule-visual-handle {
|
.schedule-visual-handle {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 0;
|
right: 0 !important;
|
||||||
z-index: 905;
|
z-index: 905;
|
||||||
width: 40px;
|
width: 46px !important;
|
||||||
height: 40px;
|
height: 100px !important;
|
||||||
border: 1px solid var(--button-secondary-border);
|
border: 1px solid var(--bg-card-border) !important;
|
||||||
border-right: 0;
|
border-left: 3px solid var(--accent) !important;
|
||||||
border-radius: var(--button-radius) 0 0 var(--button-radius);
|
border-right: 0 !important;
|
||||||
background: var(--button-secondary-bg);
|
border-radius: 8px 0 0 8px !important;
|
||||||
color: var(--button-secondary-text);
|
background: color-mix(in srgb, var(--accent) 8%, var(--bg-card)) !important;
|
||||||
box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
|
color: var(--text-primary) !important;
|
||||||
transform: translateY(-50%);
|
box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.25) !important;
|
||||||
transition: right var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
|
transform: translateY(-50%) !important;
|
||||||
|
transition: right 0.28s cubic-bezier(0.22, 1, 0.36, 1),
|
||||||
|
width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
|
||||||
|
background 0.25s ease,
|
||||||
|
color 0.25s ease,
|
||||||
|
box-shadow 0.3s ease,
|
||||||
|
border-color 0.25s ease !important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-visual-handle:hover,
|
.schedule-visual-handle:hover {
|
||||||
.schedule-visual-handle.open {
|
background: color-mix(in srgb, var(--accent) 18%, var(--bg-card)) !important;
|
||||||
border-color: var(--button-secondary-border);
|
color: var(--text-primary) !important;
|
||||||
background: var(--button-secondary-bg-hover);
|
width: 62px !important;
|
||||||
color: var(--button-secondary-text);
|
box-shadow: -8px 8px 24px rgba(0, 0, 0, 0.35) !important;
|
||||||
|
transform: translateY(-50%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-visual-handle.open {
|
.schedule-visual-handle.open {
|
||||||
right: min(92vw, 1180px);
|
right: min(92vw, 1180px) !important;
|
||||||
|
border-color: var(--bg-card-border) !important;
|
||||||
|
border-left: 3px solid var(--accent) !important;
|
||||||
|
background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)) !important;
|
||||||
|
color: var(--text-primary) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.schedule-visual-handle.open:hover {
|
||||||
|
transform: translateY(-50%) !important;
|
||||||
|
width: 62px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-visual-handle.open .schedule-visual-handle-icon {
|
.schedule-visual-handle.open .schedule-visual-handle-icon {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.schedule-visual-handle-icon {
|
||||||
|
width: 38px !important;
|
||||||
|
height: 38px !important;
|
||||||
|
stroke-width: 3px !important;
|
||||||
|
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-visual-backdrop {
|
.schedule-visual-backdrop {
|
||||||
@@ -1135,7 +1162,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.schedule-visual-handle.open {
|
.schedule-visual-handle.open {
|
||||||
right: calc(100vw - 42px);
|
right: calc(100vw - 46px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-visual-header {
|
.schedule-visual-header {
|
||||||
@@ -1660,8 +1687,7 @@
|
|||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1180px) {
|
@media (max-width: 1350px) {
|
||||||
|
|
||||||
.schedule-view-filter-grid,
|
.schedule-view-filter-grid,
|
||||||
.schedule-view-metrics,
|
.schedule-view-metrics,
|
||||||
.department-workspace-grid {
|
.department-workspace-grid {
|
||||||
@@ -1674,9 +1700,17 @@
|
|||||||
|
|
||||||
.schedule-slot-row,
|
.schedule-slot-row,
|
||||||
.schedule-slot-row.has-subgroup {
|
.schedule-slot-row.has-subgroup {
|
||||||
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
grid-template-columns: repeat(4, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.schedule-slot-remove {
|
||||||
|
grid-column: 4;
|
||||||
|
justify-self: end;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
.calendar-fill-panel {
|
.calendar-fill-panel {
|
||||||
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
||||||
}
|
}
|
||||||
@@ -1698,6 +1732,17 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.2rem;
|
gap: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.schedule-slot-row,
|
||||||
|
.schedule-slot-row.has-subgroup {
|
||||||
|
grid-template-columns: repeat(2, minmax(150px, 1fr));
|
||||||
|
}
|
||||||
|
|
||||||
|
.schedule-slot-remove {
|
||||||
|
grid-column: 2;
|
||||||
|
justify-self: end;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
@@ -1710,6 +1755,12 @@
|
|||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.schedule-slot-remove {
|
||||||
|
grid-column: 1;
|
||||||
|
justify-self: stretch;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.subject-import-row {
|
.subject-import-row {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -271,7 +271,6 @@ export async function initSchedule() {
|
|||||||
visualToggleButton?.classList.add('open');
|
visualToggleButton?.classList.add('open');
|
||||||
visualToggleButton?.setAttribute('aria-expanded', 'true');
|
visualToggleButton?.setAttribute('aria-expanded', 'true');
|
||||||
visualToggleButton?.setAttribute('aria-label', 'Скрыть визуальное расписание');
|
visualToggleButton?.setAttribute('aria-label', 'Скрыть визуальное расписание');
|
||||||
if (visualToggleButton) visualToggleButton.textContent = '›';
|
|
||||||
if (visualBackdrop) visualBackdrop.hidden = false;
|
if (visualBackdrop) visualBackdrop.hidden = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -282,7 +281,6 @@ export async function initSchedule() {
|
|||||||
visualToggleButton?.classList.remove('open');
|
visualToggleButton?.classList.remove('open');
|
||||||
visualToggleButton?.setAttribute('aria-expanded', 'false');
|
visualToggleButton?.setAttribute('aria-expanded', 'false');
|
||||||
visualToggleButton?.setAttribute('aria-label', 'Показать визуальное расписание');
|
visualToggleButton?.setAttribute('aria-label', 'Показать визуальное расписание');
|
||||||
if (visualToggleButton) visualToggleButton.textContent = '‹';
|
|
||||||
if (visualBackdrop) visualBackdrop.hidden = true;
|
if (visualBackdrop) visualBackdrop.hidden = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user