173 lines
3.1 KiB
CSS
173 lines
3.1 KiB
CSS
@import './tokens.css';
|
|
@import '@douyinfe/semi-theme-default/scss/index.scss';
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 1280px;
|
|
background: var(--vp-bg);
|
|
color: var(--vp-text);
|
|
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
.vp-app {
|
|
min-height: 100vh;
|
|
background: var(--vp-bg);
|
|
}
|
|
|
|
.vp-shell {
|
|
display: grid;
|
|
grid-template-columns: var(--vp-shell-sidebar) minmax(0, 1fr);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.vp-sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
background: var(--vp-surface);
|
|
border-right: 1px solid var(--vp-border);
|
|
padding: 16px 12px;
|
|
}
|
|
|
|
.vp-brand {
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 8px 16px;
|
|
font-weight: 700;
|
|
color: var(--vp-text);
|
|
}
|
|
|
|
.vp-brand-mark {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 7px;
|
|
background: linear-gradient(135deg, var(--vp-primary), var(--vp-cyan));
|
|
}
|
|
|
|
.vp-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.vp-topbar {
|
|
height: var(--vp-shell-header);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border-bottom: 1px solid var(--vp-border);
|
|
backdrop-filter: blur(12px);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.vp-link-health-button-warning {
|
|
color: var(--vp-warning);
|
|
border-color: rgba(247, 144, 9, 0.45);
|
|
background: rgba(247, 144, 9, 0.08);
|
|
}
|
|
|
|
.vp-link-health-button-ok {
|
|
color: var(--vp-success);
|
|
border-color: rgba(18, 183, 106, 0.45);
|
|
background: rgba(18, 183, 106, 0.08);
|
|
}
|
|
|
|
.vp-page {
|
|
padding: var(--vp-page-gutter);
|
|
}
|
|
|
|
.vp-section {
|
|
background: var(--vp-surface);
|
|
border: 1px solid var(--vp-border);
|
|
border-radius: var(--vp-radius);
|
|
box-shadow: var(--vp-shadow-sm);
|
|
}
|
|
|
|
.vp-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.vp-grid.two {
|
|
grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
|
|
}
|
|
|
|
.vp-kpi-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.vp-kpi-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 34px;
|
|
color: var(--vp-text);
|
|
}
|
|
|
|
.vp-kpi-label {
|
|
margin-top: 4px;
|
|
color: var(--vp-text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.vp-map {
|
|
position: relative;
|
|
height: 360px;
|
|
overflow: hidden;
|
|
background:
|
|
linear-gradient(90deg, rgba(22, 100, 255, 0.08) 1px, transparent 1px),
|
|
linear-gradient(0deg, rgba(22, 100, 255, 0.08) 1px, transparent 1px),
|
|
#f8fbff;
|
|
background-size: 36px 36px;
|
|
}
|
|
|
|
.vp-map-dot {
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: var(--vp-primary);
|
|
box-shadow: 0 0 0 5px rgba(22, 100, 255, 0.16);
|
|
}
|
|
|
|
.vp-json {
|
|
margin: 0;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
background: #101828;
|
|
color: #e4e7ec;
|
|
overflow: auto;
|
|
max-height: 360px;
|
|
font-size: 12px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.vp-table-footer {
|
|
min-height: 52px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.vp-vehicle-summary {
|
|
min-height: 72px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.semi-navigation-item-text {
|
|
font-size: 14px;
|
|
}
|