merge: объединить с origin/react-migration — CustomSelect-селекты и правки багов
This commit is contained in:
commit
df59e1a924
42 files changed
+1201
-305
No files matched your search
@@ -51,15 +51,13 @@
|
||||
/* ===== Cards ===== */
|
||||
.card {
|
||||
background: var(--bg-card);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border: 1px solid var(--bg-card-border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 1.75rem;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
animation: slideUpCard 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) both;
|
||||
/* Непрозрачная поверхность не требует фильтрации и трансформации фонового слоя. */
|
||||
transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
@@ -2924,6 +2922,51 @@ input[type="number"] {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* React-селекты не создают соседние DOM-узлы через MutationObserver. */
|
||||
.react-custom-select {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.react-custom-select select[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.card:has(.react-custom-select.select-layer-active),
|
||||
.settings-card:has(.react-custom-select.select-layer-active) {
|
||||
position: relative;
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
.react-custom-select .custom-select-trigger {
|
||||
font-family: inherit;
|
||||
text-align: left;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.react-custom-select .custom-select-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-family: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.react-custom-select .custom-select-item.selected {
|
||||
background: var(--accent-glow);
|
||||
}
|
||||
|
||||
[data-theme="light"] .react-custom-select .custom-select-item.selected {
|
||||
background: rgba(99, 102, 241, 0.15);
|
||||
}
|
||||
|
||||
.react-select-options {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.custom-select-icon {
|
||||
margin-left: 0.75rem;
|
||||
display: flex;
|
||||
@@ -3995,8 +4038,6 @@ tbody tr:hover {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
padding: 0;
|
||||
transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
|
||||
z-index: 100;
|
||||
@@ -4241,9 +4282,9 @@ tbody tr:hover {
|
||||
.project-dialog-field textarea { width: 100%; resize: vertical; }
|
||||
.project-dialog-error { min-height: 1.3rem; margin-top: 0.35rem; color: var(--danger, #dc2626); font-size: 0.85rem; }
|
||||
|
||||
/* ===== ������ ����� 5 (����� 1): ������ inline-������ ����������� ������� ===== */
|
||||
/* ===== Классы этапа 5 (волна 1): замена inline-стилей перенесённых вкладок ===== */
|
||||
|
||||
/* ��������� �������� � ��������� ������ (���������) */
|
||||
/* Заголовок карточки с действием справа (аудитории) */
|
||||
.card-toolbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -4257,7 +4298,7 @@ tbody tr:hover {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ������ � ������ ���� */
|
||||
/* Строки и группы форм */
|
||||
.form-row--spacing {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
@@ -4288,7 +4329,7 @@ tbody tr:hover {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* ������ ������ */
|
||||
/* Ячейки таблиц */
|
||||
.th-actions {
|
||||
text-align: right;
|
||||
}
|
||||
@@ -4312,7 +4353,7 @@ tbody tr:hover {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
/* ��������� ���� ����������� ������� */
|
||||
/* Модальные окна перенесённых вкладок */
|
||||
.modal-content--medium {
|
||||
max-width: 600px;
|
||||
width: 90%;
|
||||
@@ -4341,7 +4382,7 @@ tbody tr:hover {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* ��������� �������� lazy-������� */
|
||||
/* Состояние загрузки lazy-вкладки */
|
||||
.tab-loading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -4351,7 +4392,7 @@ tbody tr:hover {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* �������: ������� � ���������� */
|
||||
/* Дашборд: метрики и мониторинг */
|
||||
.dashboard-metric-label {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-secondary);
|
||||
@@ -4404,7 +4445,7 @@ tbody tr:hover {
|
||||
border: 1px solid rgba(16, 185, 129, 0.2);
|
||||
}
|
||||
|
||||
/* �������: ����� �������������� (Red Zone) */
|
||||
/* Дашборд: центр предупреждений (Red Zone) */
|
||||
.red-zone-card {
|
||||
border-top: 4px solid var(--error, #ef4444);
|
||||
}
|
||||
@@ -4444,9 +4485,9 @@ tbody tr:hover {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* ===== ���� 5 (����� 2): ������ inline-������ ����������� ������� ===== */
|
||||
/* ===== Этап 5 (волна 2): классы inline-стилей перенесённых вкладок ===== */
|
||||
|
||||
/* ������� ��������� ���� (���������, �������, ����������� �������) */
|
||||
/* Широкие модальные окна (подгруппы, профили, календарные графики) */
|
||||
.modal-content--wide {
|
||||
max-width: 700px;
|
||||
width: 90%;
|
||||
@@ -4462,7 +4503,7 @@ tbody tr:hover {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
/* ����� ������� �� ������� ��������� ���� */
|
||||
/* Форма профиля на вкладке структуры вуза */
|
||||
.profile-form-spec {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
@@ -4478,13 +4519,13 @@ tbody tr:hover {
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
/* ��� ������ �����, ����������� �� ������ ������ */
|
||||
/* Ряд кнопок формы, выровненных по нижней кромке */
|
||||
.form-actions-row {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
align-items: flex-end;
|
||||
}
|
||||
/* ����� 3 (���� 5): ������ inline-����� �� legacy department-workspace.html */
|
||||
/* Волна 3 (этап 5): замена inline-стиля из legacy department-workspace.html */
|
||||
.schedule-section-label--flush {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user