459 lines
11 KiB
Plaintext
459 lines
11 KiB
Plaintext
.dashboard-page {
|
|||
|
|
position: relative;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
background: var(--bg-primary);
|
||
|
|
overflow: hidden;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
|
||
|
|
&::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.12), transparent 45%),
|
||
|
|
radial-gradient(circle at 80% 10%, rgba(0, 255, 136, 0.08), transparent 45%),
|
||
|
|
radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.08), transparent 55%);
|
||
|
|
z-index: 0;
|
||
|
|
pointer-events: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-bg-animation {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
background-image:
|
||
|
|
linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
|
||
|
|
linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
|
||
|
|
background-size: 40px 40px;
|
||
|
|
animation: gridMove 32s linear infinite;
|
||
|
|
z-index: 0;
|
||
|
|
pointer-events: none;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Main Content Grid */
|
||
|
|
.dashboard-spin {
|
||
|
|
height: 100%;
|
||
|
|
:global(.ant-spin-container) {
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-content {
|
||
|
|
flex: 1;
|
||
|
|
padding: 16px 18px;
|
||
|
|
overflow: hidden;
|
||
|
|
position: relative;
|
||
|
|
z-index: 1;
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 25% 50% 25%;
|
||
|
|
grid-template-rows: 100%;
|
||
|
|
gap: 14px;
|
||
|
|
height: 100%;
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.grid-col {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 16px;
|
||
|
|
height: 100%;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Panel Card Styles */
|
||
|
|
.panel-card {
|
||
|
|
background: transparent !important;
|
||
|
|
border-radius: 8px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
|
||
|
|
&.glass-panel {
|
||
|
|
position: relative;
|
||
|
|
background: rgba(19, 26, 61, 0.7) !important;
|
||
|
|
border: 1px solid rgba(0, 212, 255, 0.15) !important;
|
||
|
|
backdrop-filter: blur(8px);
|
||
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
||
|
|
overflow: hidden;
|
||
|
|
|
||
|
|
&::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
pointer-events: none;
|
||
|
|
background:
|
||
|
|
linear-gradient(90deg, rgba(0, 212, 255, 0.6), transparent 60px) top left / 60px 2px no-repeat,
|
||
|
|
linear-gradient(180deg, rgba(0, 212, 255, 0.6), transparent 60px) top left / 2px 60px no-repeat,
|
||
|
|
linear-gradient(270deg, rgba(0, 212, 255, 0.6), transparent 60px) top right / 60px 2px no-repeat,
|
||
|
|
linear-gradient(180deg, rgba(0, 212, 255, 0.6), transparent 60px) top right / 2px 60px no-repeat,
|
||
|
|
linear-gradient(90deg, rgba(0, 212, 255, 0.6), transparent 60px) bottom left / 60px 2px no-repeat,
|
||
|
|
linear-gradient(0deg, rgba(0, 212, 255, 0.6), transparent 60px) bottom left / 2px 60px no-repeat,
|
||
|
|
linear-gradient(270deg, rgba(0, 212, 255, 0.6), transparent 60px) bottom right / 60px 2px no-repeat,
|
||
|
|
linear-gradient(0deg, rgba(0, 212, 255, 0.6), transparent 60px) bottom right / 2px 60px no-repeat;
|
||
|
|
opacity: 0.35;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-card-head) {
|
||
|
|
min-height: 40px;
|
||
|
|
padding: 0 12px;
|
||
|
|
border-bottom: 1px solid rgba(0, 212, 255, 0.1);
|
||
|
|
|
||
|
|
.ant-card-head-title {
|
||
|
|
font-size: 15px;
|
||
|
|
color: #fff;
|
||
|
|
padding: 8px 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-card-body) {
|
||
|
|
flex: 1;
|
||
|
|
padding: 12px;
|
||
|
|
overflow: hidden;
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.chart-wrapper {
|
||
|
|
flex: 1;
|
||
|
|
width: 100%;
|
||
|
|
position: relative;
|
||
|
|
min-height: 0; /* Important for flex child */
|
||
|
|
|
||
|
|
> div {
|
||
|
|
height: 100% !important;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.flex-grow {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fill-bottom {
|
||
|
|
flex: 0.8; /* Slightly smaller than other sections if needed */
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Alert List */
|
||
|
|
.alert-list-container {
|
||
|
|
height: 100%;
|
||
|
|
overflow-y: auto;
|
||
|
|
|
||
|
|
&::-webkit-scrollbar {
|
||
|
|
width: 4px;
|
||
|
|
}
|
||
|
|
&::-webkit-scrollbar-thumb {
|
||
|
|
background: rgba(0, 212, 255, 0.2);
|
||
|
|
border-radius: 2px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.alert-item {
|
||
|
|
padding: 8px 0 !important;
|
||
|
|
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
|
||
|
|
|
||
|
|
.alert-row {
|
||
|
|
display: flex;
|
||
|
|
width: 100%;
|
||
|
|
align-items: flex-start;
|
||
|
|
|
||
|
|
.alert-badge {
|
||
|
|
margin-right: 8px;
|
||
|
|
margin-top: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.alert-content {
|
||
|
|
flex: 1;
|
||
|
|
|
||
|
|
.alert-head {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 2px;
|
||
|
|
|
||
|
|
.alert-name { color: #fff; font-weight: 500; font-size: 13px; }
|
||
|
|
.alert-time { color: var(--accent-blue); font-size: 12px; font-family: monospace; }
|
||
|
|
}
|
||
|
|
|
||
|
|
.alert-msg {
|
||
|
|
color: rgba(255,255,255,0.6);
|
||
|
|
font-size: 12px;
|
||
|
|
line-height: 1.2;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Center Column Specifics */
|
||
|
|
.kpi-row {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(4, 1fr);
|
||
|
|
gap: 12px;
|
||
|
|
height: 80px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-card {
|
||
|
|
background: rgba(19, 26, 61, 0.7);
|
||
|
|
border: 1px solid rgba(0, 212, 255, 0.15);
|
||
|
|
border-radius: 6px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
padding: 0 16px;
|
||
|
|
|
||
|
|
.kpi-icon {
|
||
|
|
font-size: 24px;
|
||
|
|
margin-right: 12px;
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
border-radius: 50%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: rgba(255,255,255,0.05);
|
||
|
|
|
||
|
|
&.blue { color: #00d4ff; box-shadow: 0 0 10px rgba(0, 212, 255, 0.2); }
|
||
|
|
&.green { color: #00ff88; box-shadow: 0 0 10px rgba(0, 255, 136, 0.2); }
|
||
|
|
&.yellow { color: #ffb800; box-shadow: 0 0 10px rgba(255, 184, 0, 0.2); }
|
||
|
|
&.purple { color: #9d4edd; box-shadow: 0 0 10px rgba(157, 78, 221, 0.2); }
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-info {
|
||
|
|
.label { font-size: 12px; color: rgba(255,255,255,0.6); }
|
||
|
|
.value { font-size: 24px; font-weight: bold; color: #fff; font-family: 'Segoe UI', sans-serif; line-height: 1.2; }
|
||
|
|
small { font-size: 14px; margin-left: 2px; }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.map-portal-wrapper {
|
||
|
|
flex: 2; /* Occupy most space */
|
||
|
|
position: relative;
|
||
|
|
background: rgba(0,0,0,0.2);
|
||
|
|
border: 1px solid rgba(0, 212, 255, 0.3);
|
||
|
|
border-radius: 12px;
|
||
|
|
overflow: hidden;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
|
||
|
|
/* Grid Background */
|
||
|
|
.map-bg-grid {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
background-image:
|
||
|
|
linear-gradient(rgba(0, 212, 255, 0.2) 1px, transparent 1px),
|
||
|
|
linear-gradient(90deg, rgba(0, 212, 255, 0.2) 1px, transparent 1px);
|
||
|
|
background-size: 80px 80px;
|
||
|
|
perspective: 1000px;
|
||
|
|
transform: perspective(500px) rotateX(20deg) scale(1.5);
|
||
|
|
opacity: 0.3;
|
||
|
|
animation: gridMove 20s linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.map-content {
|
||
|
|
position: relative;
|
||
|
|
z-index: 3;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.radar-sweep {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
z-index: 2;
|
||
|
|
pointer-events: none;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
|
||
|
|
&::before {
|
||
|
|
content: '';
|
||
|
|
width: 520px;
|
||
|
|
height: 520px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background:
|
||
|
|
repeating-radial-gradient(circle, rgba(0, 212, 255, 0.22) 0 1px, transparent 1px 28px),
|
||
|
|
radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 62%),
|
||
|
|
radial-gradient(circle, rgba(0, 255, 136, 0.10), transparent 70%);
|
||
|
|
filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.25));
|
||
|
|
opacity: 0.55;
|
||
|
|
}
|
||
|
|
|
||
|
|
&::after {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
width: 520px;
|
||
|
|
height: 520px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: conic-gradient(
|
||
|
|
from 0deg,
|
||
|
|
rgba(0, 212, 255, 0.00) 0deg,
|
||
|
|
rgba(0, 212, 255, 0.28) 18deg,
|
||
|
|
rgba(0, 212, 255, 0.06) 45deg,
|
||
|
|
rgba(0, 212, 255, 0.00) 75deg,
|
||
|
|
rgba(0, 212, 255, 0.00) 360deg
|
||
|
|
);
|
||
|
|
mix-blend-mode: screen;
|
||
|
|
animation: radarRotate 2.8s linear infinite;
|
||
|
|
opacity: 0.9;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.portal-center {
|
||
|
|
text-align: center;
|
||
|
|
width: 340px;
|
||
|
|
height: 340px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: rgba(10, 14, 39, 0.78);
|
||
|
|
padding: 0 34px;
|
||
|
|
border-radius: 50%;
|
||
|
|
border: 1px solid var(--accent-blue);
|
||
|
|
box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
|
||
|
|
backdrop-filter: blur(5px);
|
||
|
|
position: relative;
|
||
|
|
overflow: hidden;
|
||
|
|
|
||
|
|
&::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
inset: 10px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.22), transparent 45%),
|
||
|
|
radial-gradient(circle at 70% 70%, rgba(0, 255, 136, 0.12), transparent 50%);
|
||
|
|
opacity: 0.6;
|
||
|
|
pointer-events: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.portal-title {
|
||
|
|
color: #fff;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
font-size: 22px;
|
||
|
|
letter-spacing: 2px;
|
||
|
|
text-shadow: 0 0 10px var(--accent-blue);
|
||
|
|
}
|
||
|
|
|
||
|
|
.portal-btn {
|
||
|
|
height: 44px;
|
||
|
|
padding: 0 32px;
|
||
|
|
font-size: 16px;
|
||
|
|
background: linear-gradient(90deg, #00d4ff, #007aff);
|
||
|
|
border: none;
|
||
|
|
box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
|
||
|
|
transition: all 0.3s;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-filter {
|
||
|
|
:global(.ant-segmented) {
|
||
|
|
background: rgba(0, 212, 255, 0.06);
|
||
|
|
border: 1px solid rgba(0, 212, 255, 0.18);
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-segmented-item-label) {
|
||
|
|
color: rgba(255, 255, 255, 0.75);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-segmented-item-selected) {
|
||
|
|
background: rgba(0, 212, 255, 0.22) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-picker) {
|
||
|
|
background: rgba(0, 212, 255, 0.06);
|
||
|
|
border: 1px solid rgba(0, 212, 255, 0.18);
|
||
|
|
color: rgba(255, 255, 255, 0.85);
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-picker-input > input) {
|
||
|
|
color: rgba(255, 255, 255, 0.85);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
:global(.ant-picker-suffix) {
|
||
|
|
color: rgba(255, 255, 255, 0.55);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Right Column */
|
||
|
|
.task-overview-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 1fr;
|
||
|
|
gap: 8px;
|
||
|
|
|
||
|
|
.task-stat-box {
|
||
|
|
background: rgba(255,255,255,0.03);
|
||
|
|
padding: 8px;
|
||
|
|
text-align: center;
|
||
|
|
border-radius: 4px;
|
||
|
|
|
||
|
|
.val { font-size: 18px; font-weight: bold; color: #fff; }
|
||
|
|
.lbl { font-size: 11px; color: rgba(255,255,255,0.5); }
|
||
|
|
|
||
|
|
.val.pending { color: var(--accent-yellow); }
|
||
|
|
.val.running { color: var(--accent-blue); }
|
||
|
|
.val.completed { color: var(--accent-green); }
|
||
|
|
.val.failed { color: var(--accent-red); }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Animation Keyframes */
|
||
|
|
@keyframes gridMove {
|
||
|
|
0% { background-position: 0 0; }
|
||
|
|
100% { background-position: 0 80px; }
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes radarRotate {
|
||
|
|
0% { transform: rotate(0deg); }
|
||
|
|
100% { transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Media Queries for Responsive adjustments on smaller screens (if needed) */
|
||
|
|
@media (max-width: 1400px) {
|
||
|
|
.dashboard-grid {
|
||
|
|
grid-template-columns: 28% 44% 28%;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 1200px) {
|
||
|
|
.dashboard-page {
|
||
|
|
height: auto;
|
||
|
|
overflow-y: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-content {
|
||
|
|
height: auto;
|
||
|
|
overflow: visible;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
grid-template-rows: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.grid-col {
|
||
|
|
height: auto;
|
||
|
|
min-height: 400px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.map-portal-wrapper {
|
||
|
|
min-height: 300px;
|
||
|
|
}
|
||
|
|
}
|