:root {
|
--blue: #1f82ea;
|
--blue-strong: #227ff0;
|
--blue-soft: #eef6ff;
|
--sidebar: #2381e8;
|
--text: #17233d;
|
--muted: #7c8da6;
|
--line: #e5edf7;
|
--page: #f2f5f9;
|
--card: #ffffff;
|
}
|
|
* {
|
box-sizing: border-box;
|
}
|
|
body {
|
margin: 0;
|
min-width: 1180px;
|
min-height: 100vh;
|
font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
|
color: var(--text);
|
background: var(--page);
|
}
|
|
button {
|
font: inherit;
|
}
|
|
.app-shell {
|
min-height: 100vh;
|
display: grid;
|
grid-template-columns: 216px 1fr;
|
}
|
|
.sidebar {
|
background: var(--sidebar);
|
color: #fff;
|
box-shadow: 2px 0 10px rgba(23, 91, 169, 0.18);
|
z-index: 2;
|
}
|
|
.brand {
|
height: 96px;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
gap: 8px;
|
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
|
}
|
|
.brand img {
|
width: 48px;
|
height: 48px;
|
border-radius: 50%;
|
}
|
|
.brand strong {
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.menu {
|
padding: 4px 0 20px;
|
}
|
|
.menu-item,
|
.menu-title,
|
.menu-group a {
|
width: 100%;
|
height: 36px;
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
padding: 0 14px;
|
border: 0;
|
color: #fff;
|
background: transparent;
|
text-decoration: none;
|
font-size: 13px;
|
cursor: pointer;
|
}
|
|
.menu-item.active {
|
background: rgba(255, 255, 255, 0.2);
|
}
|
|
.menu-group a {
|
height: 34px;
|
padding-left: 56px;
|
font-size: 12px;
|
}
|
|
.menu-group:not(.open) a {
|
display: none;
|
}
|
|
.menu-group a:hover,
|
.menu-title:hover,
|
.menu-item:hover {
|
background: rgba(255, 255, 255, 0.14);
|
}
|
|
.menu-icon {
|
width: 16px;
|
height: 16px;
|
flex: 0 0 16px;
|
position: relative;
|
border: 1.8px solid currentColor;
|
}
|
|
.menu-icon.home {
|
transform: rotate(45deg);
|
border-width: 1.5px;
|
}
|
|
.menu-icon.screen {
|
border-radius: 2px;
|
}
|
|
.menu-icon.device {
|
border-radius: 50%;
|
}
|
|
.menu-icon.people::before,
|
.menu-icon.account::before {
|
content: "";
|
position: absolute;
|
left: 4px;
|
top: 2px;
|
width: 5px;
|
height: 5px;
|
border: 1.5px solid currentColor;
|
border-radius: 50%;
|
}
|
|
.menu-icon.people::after,
|
.menu-icon.account::after {
|
content: "";
|
position: absolute;
|
left: 2px;
|
bottom: 2px;
|
width: 9px;
|
height: 5px;
|
border: 1.5px solid currentColor;
|
border-radius: 8px 8px 0 0;
|
}
|
|
.menu-icon.map,
|
.menu-icon.log {
|
border-radius: 2px;
|
}
|
|
.chevron {
|
width: 8px;
|
height: 8px;
|
margin-left: auto;
|
border-top: 2px solid currentColor;
|
border-left: 2px solid currentColor;
|
transform: rotate(45deg);
|
transition: transform 0.16s ease;
|
}
|
|
.menu-group:not(.open) .chevron {
|
transform: rotate(135deg);
|
}
|
|
.main {
|
min-width: 0;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.topbar {
|
height: 50px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
padding: 0 28px;
|
background: var(--blue);
|
color: #fff;
|
}
|
|
.top-actions {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
position: relative;
|
}
|
|
.icon-button,
|
.user-name {
|
border: 0;
|
color: #fff;
|
background: transparent;
|
cursor: pointer;
|
}
|
|
.expand-icon {
|
width: 14px;
|
height: 14px;
|
display: block;
|
border: 2px solid rgba(255, 255, 255, 0.8);
|
border-radius: 3px;
|
}
|
|
.user-avatar {
|
width: 18px;
|
height: 18px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 50%;
|
color: var(--blue);
|
background: #fff;
|
font-size: 11px;
|
font-weight: 700;
|
}
|
|
.user-name {
|
display: inline-flex;
|
align-items: center;
|
gap: 4px;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.user-caret {
|
width: 0;
|
height: 0;
|
border-left: 3px solid transparent;
|
border-right: 3px solid transparent;
|
border-top: 4px solid currentColor;
|
}
|
|
.user-menu {
|
position: relative;
|
}
|
|
.user-dropdown {
|
position: absolute;
|
right: 0;
|
top: 28px;
|
width: 82px;
|
padding: 4px 0;
|
color: #1f2d3d;
|
background: #fff;
|
border: 1px solid #d9e2ec;
|
box-shadow: 0 4px 12px rgba(14, 38, 76, 0.18);
|
z-index: 20;
|
}
|
|
.user-dropdown::before {
|
content: "";
|
position: absolute;
|
right: 18px;
|
top: -6px;
|
width: 10px;
|
height: 10px;
|
background: #fff;
|
border-left: 1px solid #d9e2ec;
|
border-top: 1px solid #d9e2ec;
|
transform: rotate(45deg);
|
}
|
|
.user-dropdown button {
|
width: 100%;
|
height: 26px;
|
padding: 0 8px;
|
border: 0;
|
color: #1f2d3d;
|
background: transparent;
|
text-align: left;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.user-dropdown button:hover {
|
color: var(--blue);
|
background: #edf5ff;
|
}
|
|
.tabs {
|
height: 40px;
|
display: flex;
|
align-items: center;
|
gap: 16px;
|
padding: 0 18px;
|
background: #fff;
|
box-shadow: 0 2px 8px rgba(28, 82, 142, 0.08);
|
}
|
|
.home-tab {
|
width: 16px;
|
height: 16px;
|
border: 1.8px solid #78adff;
|
transform: rotate(45deg);
|
}
|
|
.tab-divider {
|
width: 1px;
|
height: 18px;
|
background: #dbe4ef;
|
}
|
|
.tab {
|
height: 40px;
|
display: inline-flex;
|
align-items: center;
|
padding: 0 20px;
|
font-size: 12px;
|
}
|
|
.tab.active {
|
background: #f7f9fc;
|
}
|
|
.content {
|
flex: 1;
|
padding: 10px 12px 18px;
|
}
|
|
.overview-panel,
|
.panel {
|
background: var(--card);
|
border-radius: 8px;
|
box-shadow: 0 1px 8px rgba(28, 82, 142, 0.08);
|
}
|
|
.overview-panel {
|
padding: 20px 22px 4px;
|
}
|
|
.section-toolbar {
|
display: flex;
|
align-items: center;
|
gap: 24px;
|
margin-bottom: 20px;
|
}
|
|
h1,
|
h2 {
|
margin: 0;
|
font-weight: 500;
|
}
|
|
h1 {
|
font-size: 20px;
|
}
|
|
h2 {
|
font-size: 20px;
|
}
|
|
.date-filter {
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
color: #5f6f86;
|
font-size: 12px;
|
}
|
|
.date-input {
|
width: 238px;
|
height: 32px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: space-between;
|
padding: 0 12px;
|
border: 1px solid #dce7f3;
|
border-radius: 6px;
|
color: #9aabc0;
|
background: #f9fbfe;
|
}
|
|
.calendar-icon {
|
width: 13px;
|
height: 13px;
|
border: 1.8px solid #9bb0c9;
|
border-radius: 2px;
|
}
|
|
.filter-button {
|
height: 32px;
|
padding: 0 14px;
|
border: 1px solid #dce7f3;
|
border-radius: 6px;
|
color: #51627a;
|
background: #fff;
|
font-size: 12px;
|
}
|
|
.filter-button.active {
|
color: #256df0;
|
background: #edf5ff;
|
}
|
|
.summary-grid {
|
display: grid;
|
grid-template-columns: repeat(5, minmax(160px, 1fr));
|
gap: 22px;
|
background: linear-gradient(180deg, #eef6ff 0, #f8fbff 100%);
|
padding-bottom: 5px;
|
}
|
|
.summary-card {
|
min-height: 238px;
|
display: flex;
|
flex-direction: column;
|
padding: 22px 16px 18px;
|
border: 1px solid #e5effc;
|
border-radius: 28px;
|
background: #fff;
|
}
|
|
.card-title {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
color: #1674ff;
|
font-size: 14px;
|
font-weight: 700;
|
}
|
|
.title-mark {
|
width: 3px;
|
height: 20px;
|
background: #2e73ff;
|
}
|
|
.card-icon {
|
width: 14px;
|
height: 14px;
|
border-radius: 50%;
|
background: currentColor;
|
}
|
|
.metric-list {
|
margin-top: 22px;
|
display: grid;
|
gap: 16px;
|
}
|
|
.metric-label {
|
color: #55708e;
|
font-size: 12px;
|
}
|
|
.metric-value {
|
margin-top: 2px;
|
color: #1f3f76;
|
font-size: 36px;
|
line-height: 1;
|
font-weight: 700;
|
}
|
|
.metric-unit {
|
margin-left: 6px;
|
color: #5f84b5;
|
font-size: 12px;
|
font-weight: 500;
|
}
|
|
.card-foot {
|
margin-top: auto;
|
padding-top: 14px;
|
border-top: 1px solid #edf2f8;
|
color: #6a89aa;
|
font-size: 11px;
|
}
|
|
.lower-grid {
|
display: grid;
|
grid-template-columns: minmax(680px, 1fr) 340px;
|
gap: 26px;
|
margin-top: 4px;
|
}
|
|
.panel {
|
min-height: 354px;
|
padding: 12px 20px 18px;
|
}
|
|
.trend-panel canvas {
|
width: 100%;
|
height: 282px;
|
display: block;
|
margin-top: 6px;
|
}
|
|
.chart-legend {
|
display: flex;
|
justify-content: center;
|
gap: 28px;
|
color: #4f6d8c;
|
font-size: 12px;
|
}
|
|
.legend-dot {
|
width: 9px;
|
height: 9px;
|
display: inline-block;
|
margin-right: 7px;
|
border-radius: 50%;
|
}
|
|
.legend-dot.blue {
|
background: #3c7cff;
|
}
|
|
.legend-dot.green {
|
background: #23bd8e;
|
}
|
|
.quick-panel {
|
min-height: 354px;
|
}
|
|
.quick-grid {
|
display: grid;
|
grid-template-columns: repeat(3, 1fr);
|
gap: 26px 28px;
|
padding: 28px 10px 0;
|
}
|
|
.quick-entry {
|
display: grid;
|
justify-items: center;
|
gap: 10px;
|
color: #253855;
|
text-decoration: none;
|
font-size: 11px;
|
}
|
|
.quick-icon {
|
width: 40px;
|
height: 40px;
|
display: grid;
|
place-items: center;
|
border-radius: 6px;
|
color: #fff;
|
background: var(--entry-color);
|
}
|
|
.quick-icon svg {
|
width: 23px;
|
height: 23px;
|
fill: none;
|
stroke: currentColor;
|
stroke-width: 2;
|
stroke-linecap: round;
|
stroke-linejoin: round;
|
}
|
|
.modal {
|
position: fixed;
|
inset: 0;
|
z-index: 100;
|
display: grid;
|
place-items: center;
|
}
|
|
.modal-mask {
|
position: absolute;
|
inset: 0;
|
background: rgba(0, 0, 0, 0.58);
|
}
|
|
.modal-panel {
|
position: relative;
|
width: 486px;
|
min-height: 382px;
|
background: #fff;
|
border-radius: 4px;
|
box-shadow: 0 12px 32px rgba(15, 35, 70, 0.25);
|
overflow: hidden;
|
}
|
|
.modal-panel.password-panel {
|
width: 646px;
|
min-height: 424px;
|
}
|
|
.modal-header {
|
height: 56px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
padding: 0 18px;
|
}
|
|
.modal-header h3 {
|
margin: 0;
|
font-size: 15px;
|
font-weight: 600;
|
}
|
|
.modal-close {
|
position: absolute;
|
right: 16px;
|
top: 14px;
|
width: 28px;
|
height: 28px;
|
border: 0;
|
color: #666;
|
background: transparent;
|
font-size: 22px;
|
line-height: 1;
|
cursor: pointer;
|
}
|
|
.modal-form {
|
display: grid;
|
gap: 26px;
|
padding: 44px 88px 76px;
|
}
|
|
.profile-form {
|
padding: 44px 88px 76px;
|
}
|
|
.password-form {
|
gap: 34px;
|
padding: 28px 148px 76px;
|
}
|
|
.form-row {
|
display: grid;
|
grid-template-columns: 74px 1fr;
|
align-items: center;
|
gap: 12px;
|
font-size: 13px;
|
}
|
|
.form-row span {
|
color: #111;
|
font-weight: 600;
|
text-align: right;
|
}
|
|
.form-row.required > span::before {
|
content: "*";
|
margin-right: 8px;
|
color: #f15a5a;
|
font-weight: 400;
|
}
|
|
.modal-form input,
|
.modal-form select {
|
height: 34px;
|
min-width: 0;
|
padding: 0 10px;
|
border: 1px solid #d8e2ee;
|
border-radius: 3px;
|
color: #1f2d3d;
|
background: #fff;
|
outline: 0;
|
}
|
|
.modal-form input:disabled {
|
color: #7d8da3;
|
background: #f5f7fa;
|
}
|
|
.modal-form input:focus,
|
.modal-form select:focus {
|
border-color: #2f80ed;
|
box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.08);
|
}
|
|
.avatar-row {
|
align-items: start;
|
}
|
|
.avatar-upload {
|
width: 72px;
|
height: 72px;
|
display: grid;
|
place-items: center;
|
padding: 0;
|
border: 1px solid #d2d7df;
|
color: #666;
|
background: #fafafa;
|
font-size: 28px;
|
line-height: 1;
|
cursor: pointer;
|
overflow: hidden;
|
}
|
|
.avatar-upload img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
|
.modal-message {
|
min-height: 18px;
|
margin: 0;
|
padding-left: 86px;
|
color: #d92d20;
|
font-size: 12px;
|
line-height: 18px;
|
}
|
|
.password-form .modal-message {
|
padding-left: 86px;
|
margin-top: -18px;
|
}
|
|
.modal-message.success {
|
color: #1f8a4c;
|
}
|
|
.modal-actions {
|
position: absolute;
|
right: 38px;
|
bottom: 32px;
|
display: flex;
|
justify-content: flex-end;
|
gap: 32px;
|
}
|
|
.ghost-button,
|
.primary-button {
|
min-width: 58px;
|
height: 24px;
|
border-radius: 3px;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.ghost-button {
|
border: 1px solid #cdd8e5;
|
color: #52657a;
|
background: #fff;
|
}
|
|
.primary-button {
|
border: 1px solid var(--blue);
|
color: #fff;
|
background: var(--blue);
|
}
|
|
[hidden] {
|
display: none !important;
|
}
|
|
@media (max-width: 1280px) {
|
body {
|
min-width: 1024px;
|
}
|
|
.app-shell {
|
grid-template-columns: 200px 1fr;
|
}
|
|
.summary-grid {
|
gap: 12px;
|
}
|
|
.lower-grid {
|
grid-template-columns: 1fr 320px;
|
gap: 16px;
|
}
|
}
|
|
body {
|
background:
|
radial-gradient(circle at 78% 2%, rgba(84, 146, 255, 0.16), transparent 24%),
|
linear-gradient(180deg, #f4f8ff 0%, #edf3fb 100%);
|
}
|
|
.app-shell {
|
grid-template-columns: 214px 1fr;
|
}
|
|
.sidebar {
|
position: sticky;
|
top: 0;
|
height: 100vh;
|
background: linear-gradient(180deg, #2f73ff 0%, #2762e8 55%, #2355cf 100%);
|
box-shadow: 10px 0 32px rgba(35, 85, 207, 0.18);
|
overflow: hidden;
|
}
|
|
.sidebar::after {
|
content: "";
|
position: absolute;
|
inset: auto -40px -80px 20px;
|
height: 180px;
|
background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
|
pointer-events: none;
|
}
|
|
.brand {
|
height: 118px;
|
gap: 14px;
|
border-bottom: 0;
|
}
|
|
.brand img {
|
width: 58px;
|
height: 58px;
|
padding: 14px;
|
border-radius: 18px;
|
background: rgba(255, 255, 255, 0.16);
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 28px rgba(20, 70, 190, 0.28);
|
}
|
|
.brand strong {
|
font-size: 15px;
|
letter-spacing: 0;
|
}
|
|
.menu {
|
position: relative;
|
z-index: 1;
|
padding: 0 12px 24px;
|
}
|
|
.menu-item,
|
.menu-title,
|
.menu-group a {
|
height: 42px;
|
padding: 0 16px;
|
border-radius: 13px;
|
color: rgba(255, 255, 255, 0.9);
|
font-size: 13px;
|
font-weight: 600;
|
}
|
|
.menu-group {
|
margin-top: 8px;
|
}
|
|
.menu-group a {
|
height: 34px;
|
margin-top: 2px;
|
padding-left: 48px;
|
color: rgba(255, 255, 255, 0.78);
|
font-size: 12px;
|
}
|
|
.menu-item.active,
|
.menu-group a.active {
|
color: #fff;
|
background: rgba(255, 255, 255, 0.18);
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
|
}
|
|
.menu-group a:hover,
|
.menu-title:hover,
|
.menu-item:hover {
|
color: #fff;
|
background: rgba(255, 255, 255, 0.14);
|
}
|
|
.menu-icon {
|
border-width: 1.6px;
|
opacity: 0.95;
|
}
|
|
.chevron {
|
width: 7px;
|
height: 7px;
|
transform: rotate(225deg);
|
opacity: 0.78;
|
}
|
|
.menu-group.open .chevron {
|
transform: rotate(225deg);
|
}
|
|
.menu-group:not(.open) .chevron {
|
transform: rotate(135deg);
|
}
|
|
.main {
|
position: relative;
|
background: transparent;
|
}
|
|
.topbar {
|
position: absolute;
|
right: 18px;
|
top: 0;
|
z-index: 5;
|
height: 42px;
|
padding: 0;
|
background: transparent;
|
color: #20324d;
|
}
|
|
.icon-button,
|
.user-name {
|
color: #20324d;
|
}
|
|
.icon-button {
|
width: 32px;
|
height: 32px;
|
display: grid;
|
place-items: center;
|
border-radius: 10px;
|
background: #fff;
|
box-shadow: 0 6px 18px rgba(36, 86, 160, 0.08);
|
}
|
|
.expand-icon {
|
border-color: #7d91ad;
|
}
|
|
.user-avatar {
|
width: 22px;
|
height: 22px;
|
color: #fff;
|
background: linear-gradient(135deg, #3c78ff, #786bff);
|
}
|
|
.user-name {
|
font-size: 13px;
|
}
|
|
.tabs {
|
height: 42px;
|
gap: 10px;
|
padding: 0 22px;
|
background: rgba(255, 255, 255, 0.86);
|
border-bottom: 1px solid rgba(205, 218, 236, 0.8);
|
box-shadow: 0 8px 22px rgba(36, 86, 160, 0.06);
|
}
|
|
.home-tab {
|
width: 34px;
|
height: 34px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border: 0;
|
border-radius: 12px;
|
background: #fff;
|
box-shadow: 0 6px 18px rgba(36, 86, 160, 0.08);
|
transform: none;
|
}
|
|
.home-tab::before {
|
content: "";
|
width: 14px;
|
height: 10px;
|
border-top: 2px solid #7690b2;
|
border-bottom: 2px solid #7690b2;
|
box-shadow: 0 4px 0 -2px #7690b2;
|
}
|
|
.tab-divider {
|
display: none;
|
}
|
|
.tab {
|
height: 34px;
|
min-width: 84px;
|
justify-content: center;
|
border-radius: 10px 10px 0 0;
|
color: #70839f;
|
background: #f8fbff;
|
border: 1px solid #dbe7f6;
|
border-bottom-color: transparent;
|
font-size: 13px;
|
font-weight: 700;
|
}
|
|
.tab.active {
|
color: #18304f;
|
background: #fff;
|
}
|
|
.content,
|
body .config-page,
|
body .protocol-page,
|
body .version-page,
|
body .area-page,
|
body .machine-page {
|
padding: 20px;
|
background: transparent;
|
}
|
|
.overview-panel,
|
.panel,
|
body .config-card,
|
body .protocol-card,
|
body .version-card,
|
body .area-card,
|
body .machine-card {
|
border: 1px solid rgba(221, 232, 247, 0.92);
|
border-radius: 14px;
|
background: rgba(255, 255, 255, 0.92);
|
box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08);
|
}
|
|
.overview-panel {
|
padding: 22px 26px 28px;
|
}
|
|
.section-toolbar {
|
justify-content: space-between;
|
gap: 20px;
|
margin-bottom: 28px;
|
}
|
|
h1,
|
h2 {
|
color: #15243d;
|
font-weight: 800;
|
}
|
|
h1 {
|
font-size: 22px;
|
}
|
|
h2 {
|
font-size: 22px;
|
}
|
|
.date-filter {
|
gap: 8px;
|
}
|
|
.date-filter > span {
|
display: none;
|
}
|
|
.date-input,
|
.filter-button {
|
height: 32px;
|
border-color: #dbe7f6;
|
border-radius: 9px;
|
color: #637895;
|
background: #fff;
|
font-weight: 700;
|
box-shadow: 0 4px 14px rgba(34, 69, 126, 0.04);
|
}
|
|
.date-input {
|
width: 314px;
|
justify-content: center;
|
gap: 54px;
|
}
|
|
.filter-button.active {
|
color: #2f67ff;
|
background: #eef4ff;
|
border-color: #d7e5ff;
|
}
|
|
.summary-grid {
|
grid-template-columns: minmax(260px, 1.5fr) minmax(260px, 1.5fr) minmax(138px, 0.72fr) minmax(138px, 0.72fr) minmax(138px, 0.72fr);
|
gap: 14px;
|
padding: 0;
|
background: transparent;
|
}
|
|
.summary-card {
|
min-height: 216px;
|
padding: 24px 20px 22px;
|
border-radius: 24px;
|
overflow: hidden;
|
position: relative;
|
border: 1px solid rgba(114, 164, 255, 0.34);
|
background: linear-gradient(135deg, #cfe2ff 0%, #e8f2ff 100%);
|
box-shadow: none;
|
}
|
|
.summary-card:nth-child(2) {
|
border-color: rgba(91, 209, 155, 0.34);
|
background: linear-gradient(135deg, #d5f6e7 0%, #eafbf3 100%);
|
}
|
|
.summary-card:nth-child(3) {
|
border-color: rgba(118, 169, 255, 0.28);
|
background: linear-gradient(135deg, #f2f7ff 0%, #f9fcff 100%);
|
}
|
|
.summary-card:nth-child(4) {
|
border-color: rgba(95, 211, 157, 0.28);
|
background: linear-gradient(135deg, #f1fff8 0%, #f8fffb 100%);
|
}
|
|
.summary-card:nth-child(5) {
|
border-color: rgba(248, 185, 103, 0.34);
|
background: linear-gradient(135deg, #fff3e3 0%, #fffaf4 100%);
|
}
|
|
.summary-card::after {
|
content: "";
|
position: absolute;
|
right: 16px;
|
top: 22px;
|
width: 58px;
|
height: 58px;
|
border-radius: 50%;
|
background: rgba(255, 255, 255, 0.28);
|
}
|
|
.card-title {
|
color: #173764;
|
font-size: 20px;
|
font-weight: 800;
|
}
|
|
.title-mark {
|
display: none;
|
}
|
|
.card-icon {
|
width: 40px;
|
height: 40px;
|
display: grid;
|
place-items: center;
|
background: linear-gradient(135deg, #4f87ff, #6aa1ff);
|
box-shadow: 0 8px 18px rgba(47, 103, 255, 0.22);
|
}
|
|
.card-icon::before {
|
content: "";
|
width: 16px;
|
height: 16px;
|
border: 2px solid #fff;
|
border-radius: 50%;
|
}
|
|
.summary-card:nth-child(2) .card-icon,
|
.summary-card:nth-child(4) .card-icon {
|
background: linear-gradient(135deg, #39c88b, #60d7a2);
|
}
|
|
.summary-card:nth-child(5) .card-icon {
|
background: linear-gradient(135deg, #f3a33a, #ffbd69);
|
}
|
|
.metric-list {
|
margin-top: 34px;
|
gap: 14px;
|
}
|
|
.summary-card:nth-child(1) .metric-list,
|
.summary-card:nth-child(2) .metric-list {
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
}
|
|
.metric {
|
min-height: 98px;
|
padding: 18px 16px;
|
border-radius: 16px;
|
background: rgba(255, 255, 255, 0.82);
|
box-shadow: inset 0 0 0 1px rgba(222, 233, 250, 0.8);
|
}
|
|
.summary-card:nth-child(n+3) .metric {
|
min-height: 92px;
|
display: grid;
|
place-items: center;
|
background: transparent;
|
box-shadow: none;
|
}
|
|
.metric-label {
|
color: #426489;
|
font-weight: 700;
|
}
|
|
.metric-value {
|
margin-top: 8px;
|
color: #2251a7;
|
font-size: 40px;
|
font-weight: 900;
|
}
|
|
.summary-card:nth-child(2) .metric-value,
|
.summary-card:nth-child(4) .metric-value {
|
color: #178b61;
|
}
|
|
.summary-card:nth-child(5) .metric-value {
|
color: #c57112;
|
}
|
|
.metric-unit {
|
color: currentColor;
|
opacity: 0.76;
|
}
|
|
.card-foot {
|
border-top: 0;
|
color: #7a94b5;
|
font-weight: 600;
|
}
|
|
.lower-grid {
|
grid-template-columns: minmax(680px, 2fr) minmax(340px, 1fr);
|
gap: 24px;
|
margin-top: 26px;
|
}
|
|
.panel {
|
min-height: 334px;
|
padding: 22px;
|
}
|
|
.trend-panel canvas {
|
height: 232px;
|
margin-top: 18px;
|
border-radius: 18px;
|
background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(239, 247, 255, 0.62));
|
box-shadow: inset 0 0 0 1px rgba(222, 233, 250, 0.72);
|
}
|
|
.chart-legend {
|
margin-top: 8px;
|
gap: 16px;
|
}
|
|
.chart-legend span {
|
height: 26px;
|
display: inline-flex;
|
align-items: center;
|
padding: 0 12px;
|
border: 1px solid #dce9fb;
|
border-radius: 14px;
|
background: #f8fbff;
|
font-weight: 700;
|
}
|
|
.quick-grid {
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
gap: 12px;
|
padding: 18px 0 0;
|
}
|
|
.quick-entry {
|
height: 52px;
|
grid-template-columns: 38px 1fr;
|
justify-items: start;
|
align-items: center;
|
gap: 12px;
|
padding: 0 14px;
|
border: 1px solid color-mix(in srgb, var(--entry-color) 44%, #dbe8ff);
|
border-radius: 12px;
|
color: color-mix(in srgb, var(--entry-color) 78%, #19304f);
|
background: linear-gradient(135deg, color-mix(in srgb, var(--entry-color) 12%, #fff), #fff);
|
font-size: 14px;
|
font-weight: 800;
|
}
|
|
.quick-entry:hover {
|
transform: translateY(-1px);
|
box-shadow: 0 10px 24px color-mix(in srgb, var(--entry-color) 16%, transparent);
|
}
|
|
.quick-icon {
|
width: 34px;
|
height: 34px;
|
border-radius: 12px;
|
background: linear-gradient(135deg, var(--entry-color), color-mix(in srgb, var(--entry-color) 64%, #fff));
|
box-shadow: 0 8px 18px color-mix(in srgb, var(--entry-color) 22%, transparent);
|
}
|
|
.quick-icon svg {
|
width: 20px;
|
height: 20px;
|
}
|
|
.menu-icon {
|
width: 18px;
|
height: 18px;
|
flex: 0 0 18px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border: 0;
|
opacity: 0.96;
|
transform: none;
|
}
|
|
.menu-icon::before,
|
.menu-icon::after {
|
content: none;
|
}
|
|
.menu-icon svg {
|
width: 18px;
|
height: 18px;
|
display: block;
|
fill: none;
|
stroke: currentColor;
|
stroke-width: 1.8;
|
stroke-linecap: round;
|
stroke-linejoin: round;
|
}
|
|
@media (max-width: 1280px) {
|
.app-shell {
|
grid-template-columns: 200px 1fr;
|
}
|
|
.summary-grid {
|
grid-template-columns: repeat(5, minmax(130px, 1fr));
|
}
|
|
.summary-card {
|
padding: 20px 14px;
|
}
|
|
.metric-value {
|
font-size: 34px;
|
}
|
}
|