Убрал rollupOptions из vite.config. Убрал equipments. Скорректировал route. Декомпозировал EdgeDetailPage.

This commit is contained in:
Первов Артем
2026-06-21 03:08:35 +03:00
parent 31add10e56
commit 61ab9eb37a
17 changed files with 238 additions and 317 deletions

View File

@@ -2,5 +2,4 @@
@import './detail/overview.css';
@import './detail/indicators.css';
@import './detail/archive.css';
@import './detail/equipment.css';
@import './detail/electrical.css';

View File

@@ -1,57 +0,0 @@
.equipment-section {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
margin: 0;
}
.equipment-frame-shell {
position: relative;
flex: 1;
min-height: 0;
overflow: hidden;
border: 1px solid rgba(88, 103, 121, 0.5);
border-radius: 8px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 32%),
repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 11px),
rgba(2, 6, 23, 0.58);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.08),
inset 0 -1px 0 rgba(0, 0, 0, 0.52);
}
.equipment-frame-loading {
position: absolute;
inset: 0;
z-index: 2;
display: grid;
place-items: center;
gap: 12px;
align-content: center;
color: #cbd5e1;
background: rgba(2, 6, 23, 0.74);
}
.equipment-frame-loading__ring {
width: 34px;
height: 34px;
border: 3px solid rgba(212, 165, 116, 0.22);
border-top-color: var(--accent-soft);
border-radius: 999px;
animation: equipmentFrameSpin 900ms linear infinite;
}
.equipment-frame {
width: 100%;
height: 100%;
border: 0;
background: #05080d;
}
@keyframes equipmentFrameSpin {
to {
transform: rotate(360deg);
}
}

View File

@@ -146,23 +146,12 @@
}
.workspace--archive,
.workspace--equipment,
.workspace--electrical {
display: flex;
flex-direction: column;
overflow: auto;
}
.workspace--equipment {
overflow: hidden;
padding: 14px;
}
.workspace--equipment .topbar {
flex: 0 0 auto;
margin-bottom: 12px;
}
.topbar {
display: flex;
justify-content: space-between;