:root {
|
--visitor-blue: #2f73ff;
|
--visitor-blue-light: #eef6ff;
|
--visitor-text: #15243d;
|
--visitor-muted: #70839f;
|
--visitor-line: #dde8f7;
|
--visitor-page: #edf3fb;
|
--visitor-card: rgba(255, 255, 255, 0.94);
|
--visitor-danger: #e5484d;
|
--visitor-success: #18a058;
|
}
|
|
body {
|
background:
|
radial-gradient(circle at 78% 2%, rgba(84, 146, 255, 0.16), transparent 24%),
|
linear-gradient(180deg, #f4f8ff 0%, var(--visitor-page) 100%);
|
}
|
|
#app {
|
min-width: 1180px;
|
font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
|
|
.sidebar-container {
|
width: 214px !important;
|
background: linear-gradient(180deg, #2f73ff 0%, #2762e8 55%, #2355cf 100%) !important;
|
box-shadow: 10px 0 32px rgba(35, 85, 207, 0.18);
|
|
.sidebar-logo-container {
|
height: 118px;
|
line-height: 118px;
|
background: transparent !important;
|
}
|
|
.sidebar-logo-link {
|
height: 118px !important;
|
display: flex !important;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
gap: 14px;
|
}
|
|
.sidebar-logo {
|
width: 58px !important;
|
height: 58px !important;
|
padding: 14px;
|
border-radius: 18px !important;
|
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);
|
}
|
|
.sidebar-title {
|
color: #fff !important;
|
font-size: 15px !important;
|
font-weight: 700 !important;
|
line-height: 1 !important;
|
letter-spacing: 0;
|
}
|
|
&.has-logo .el-scrollbar {
|
height: calc(100% - 118px);
|
}
|
|
.el-menu {
|
padding: 0 12px 24px;
|
background: transparent !important;
|
}
|
|
.el-menu-item,
|
.el-submenu__title {
|
height: 42px !important;
|
line-height: 42px !important;
|
margin-top: 8px;
|
border-radius: 13px;
|
color: rgba(255, 255, 255, 0.9) !important;
|
background: transparent !important;
|
font-size: 13px;
|
font-weight: 700;
|
transition: background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
|
}
|
|
.el-menu-item .svg-icon,
|
.el-submenu__title .svg-icon {
|
width: 15px;
|
height: 15px;
|
margin-right: 14px;
|
color: currentColor;
|
vertical-align: -2px;
|
}
|
|
.el-submenu .el-menu-item {
|
min-width: 0 !important;
|
height: 36px !important;
|
line-height: 36px !important;
|
margin: 0 0 4px;
|
padding: 0 0 0 48px !important;
|
border-radius: 13px;
|
color: rgba(255, 255, 255, 0.92) !important;
|
background: transparent !important;
|
font-size: 12px;
|
font-weight: 700;
|
box-shadow: none !important;
|
}
|
|
.el-submenu .el-menu-item .svg-icon {
|
display: none;
|
}
|
|
.el-submenu .el-menu {
|
padding: 4px 0 8px !important;
|
background: transparent !important;
|
background-color: transparent !important;
|
}
|
|
.theme-dark .el-submenu .el-menu,
|
.theme-dark .el-submenu .el-menu--inline,
|
.theme-dark .el-submenu .nest-menu,
|
.theme-dark .nest-menu .el-submenu > .el-submenu__title,
|
.theme-dark .el-submenu .el-menu-item {
|
background: transparent !important;
|
background-color: transparent !important;
|
}
|
|
.el-menu-item:hover,
|
.el-submenu__title:hover {
|
color: #fff !important;
|
background: rgba(255, 255, 255, 0.14) !important;
|
background-color: rgba(255, 255, 255, 0.14) !important;
|
}
|
|
.theme-dark .el-submenu .el-menu-item:hover,
|
.theme-dark .el-submenu .el-menu-item.is-active,
|
.el-submenu .el-menu-item:hover,
|
.el-submenu .el-menu-item.is-active {
|
color: #fff !important;
|
background: rgba(255, 255, 255, 0.14) !important;
|
background-color: rgba(255, 255, 255, 0.14) !important;
|
}
|
|
> .el-scrollbar > .el-scrollbar__wrap > .el-scrollbar__view > .el-menu > .el-menu-item.is-active,
|
> .el-scrollbar > .el-scrollbar__wrap > .el-scrollbar__view > .el-menu > .el-submenu.is-active > .el-submenu__title,
|
> .el-scrollbar > .el-scrollbar__wrap > .el-scrollbar__view > .el-menu > .el-submenu.is-opened > .el-submenu__title {
|
color: #fff !important;
|
background: rgba(255, 255, 255, 0.16) !important;
|
background-color: rgba(255, 255, 255, 0.16) !important;
|
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92);
|
}
|
|
.el-submenu__icon-arrow {
|
right: 20px;
|
width: 8px;
|
height: 8px;
|
margin-top: -4px;
|
border: solid rgba(255, 255, 255, 0.9);
|
border-width: 0 2px 2px 0;
|
font-size: 0;
|
transform: rotate(-45deg);
|
transition: transform 0.16s ease;
|
}
|
|
.el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
|
transform: rotate(45deg);
|
}
|
}
|
|
.main-container {
|
margin-left: 214px;
|
background: transparent;
|
}
|
|
.hideSidebar {
|
.sidebar-container {
|
width: 54px !important;
|
}
|
|
.main-container {
|
margin-left: 54px;
|
}
|
}
|
|
.navbar {
|
position: absolute;
|
right: 18px;
|
top: 0;
|
z-index: 5;
|
height: 42px;
|
background: transparent;
|
box-shadow: none;
|
overflow: visible;
|
}
|
|
.tags-view-container {
|
height: 42px;
|
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);
|
|
.tags-view-wrapper .tags-view-item {
|
height: 34px;
|
line-height: 34px;
|
margin-top: 8px;
|
border: 1px solid #dbe7f6;
|
border-bottom-color: transparent;
|
border-radius: 10px 10px 0 0;
|
color: var(--visitor-muted);
|
background: #f8fbff;
|
font-size: 13px;
|
font-weight: 700;
|
|
&.active {
|
color: #18304f;
|
background: #fff;
|
border-color: #dbe7f6;
|
}
|
}
|
}
|
|
.app-main {
|
min-height: calc(100vh - 42px);
|
background: transparent;
|
}
|
}
|
|
.visitor-page {
|
min-height: calc(100vh - 122px);
|
padding: 20px;
|
background: transparent;
|
}
|
|
.visitor-card {
|
min-height: calc(100vh - 122px);
|
padding: 18px 20px 28px;
|
border: 1px solid rgba(221, 232, 247, 0.92);
|
border-radius: 14px;
|
background: var(--visitor-card);
|
box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08);
|
}
|
|
.visitor-header {
|
min-height: 48px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
gap: 16px;
|
margin-bottom: 16px;
|
|
h1 {
|
margin: 0;
|
color: var(--visitor-text);
|
font-size: 18px;
|
font-weight: 800;
|
}
|
}
|
|
.visitor-query {
|
margin-bottom: 16px;
|
padding: 16px;
|
border: 1px solid #e5edf7;
|
border-radius: 12px;
|
background: #fbfdff;
|
|
.el-form-item {
|
margin: 0 12px 10px 0;
|
}
|
|
.el-form-item__label {
|
color: #2e4057;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.el-input__inner,
|
.el-range-editor.el-input__inner,
|
.vue-treeselect__control {
|
height: 34px;
|
border-color: #d8e3f0;
|
border-radius: 8px;
|
background: #fff;
|
}
|
|
.el-input__inner:focus {
|
border-color: var(--visitor-blue);
|
box-shadow: 0 0 0 3px rgba(46, 115, 255, 0.1);
|
}
|
}
|
|
.visitor-toolbar {
|
display: flex;
|
align-items: center;
|
justify-content: flex-end;
|
gap: 10px;
|
min-height: 46px;
|
margin-bottom: 10px;
|
|
.el-row {
|
margin-left: auto;
|
}
|
}
|
|
.visitor-card .el-button--primary,
|
.visitor-primary {
|
border-color: #1677ff;
|
background: #1677ff;
|
color: #fff;
|
box-shadow: 0 6px 14px rgba(22, 119, 255, 0.18);
|
}
|
|
.visitor-card .el-button.is-plain {
|
border-radius: 9px;
|
font-weight: 700;
|
}
|
|
.visitor-table.el-table {
|
border: 1px solid #e5edf7;
|
border-radius: 12px;
|
overflow: visible;
|
|
&::before {
|
display: none;
|
}
|
|
th.el-table__cell {
|
background: #f2f6fb;
|
color: #516579;
|
font-weight: 800;
|
}
|
|
td.el-table__cell {
|
color: #25364a;
|
}
|
|
.el-table__body tr:hover > td.el-table__cell {
|
background: #eef6ff;
|
}
|
|
.el-button--text {
|
color: #1677ff;
|
font-weight: 700;
|
}
|
}
|
|
.visitor-side-layout {
|
display: grid;
|
grid-template-columns: 248px minmax(0, 1fr);
|
gap: 20px;
|
align-items: start;
|
}
|
|
.visitor-side {
|
min-height: 640px;
|
padding: 16px 14px;
|
border: 1px solid #e5edf7;
|
border-radius: 12px;
|
background: #fff;
|
box-shadow: 0 4px 14px rgba(31, 65, 112, 0.04);
|
|
h2 {
|
margin: 0 0 14px;
|
color: #1f2d3d;
|
font-size: 16px;
|
font-weight: 800;
|
}
|
|
.el-input__inner {
|
height: 34px;
|
border-color: #d9e5f2;
|
border-radius: 18px;
|
background: #f8fbff;
|
}
|
|
.el-tree {
|
margin-top: 12px;
|
color: #344963;
|
background: transparent;
|
}
|
|
.el-tree-node__content {
|
height: 36px;
|
margin: 2px 0;
|
border-radius: 8px;
|
}
|
|
.el-tree-node__content:hover,
|
.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
|
color: #1677ff;
|
background: #e8f3ff;
|
font-weight: 700;
|
}
|
}
|
|
.visitor-device-page {
|
padding: 14px 16px 18px;
|
|
.visitor-card {
|
min-height: calc(100vh - 98px);
|
padding: 20px 20px 28px;
|
border-radius: 10px;
|
box-shadow: 0 8px 24px rgba(34, 69, 126, 0.06);
|
}
|
|
.visitor-header {
|
min-height: 28px;
|
margin-bottom: 16px;
|
|
h1 {
|
font-size: 18px;
|
font-weight: 800;
|
}
|
}
|
|
.visitor-side-layout {
|
grid-template-columns: 214px minmax(0, 1fr);
|
gap: 16px;
|
}
|
|
.visitor-side {
|
min-height: 604px;
|
padding: 16px 14px;
|
border-color: #dfe9f6;
|
border-radius: 10px;
|
box-shadow: none;
|
|
h2 {
|
margin-bottom: 10px;
|
font-size: 14px;
|
font-weight: 600;
|
}
|
|
.el-input__inner {
|
height: 30px;
|
border-radius: 8px;
|
font-size: 12px;
|
}
|
|
.el-tree {
|
margin-top: 12px;
|
font-size: 12px;
|
}
|
|
.el-tree-node__content {
|
height: 30px;
|
margin: 3px 0;
|
border-radius: 6px;
|
}
|
|
.el-tree-node__expand-icon {
|
padding: 4px 5px 4px 3px;
|
color: #8da1b8;
|
font-size: 12px;
|
}
|
|
.el-tree-node__expand-icon.is-leaf {
|
color: transparent;
|
}
|
|
.area-tree-node {
|
min-width: 0;
|
display: inline-flex;
|
align-items: center;
|
color: #334963;
|
}
|
|
.area-tree-node-icon {
|
width: 16px;
|
margin-right: 6px;
|
color: #2f73ff;
|
font-size: 14px;
|
text-align: center;
|
}
|
|
.area-tree-label {
|
min-width: 0;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
}
|
|
.device-panel {
|
min-width: 0;
|
|
> h2 {
|
margin: 18px 0 8px;
|
color: #1f2d3d;
|
font-size: 14px;
|
font-weight: 600;
|
}
|
}
|
|
.visitor-query {
|
min-height: 80px;
|
display: flex;
|
align-items: center;
|
flex-wrap: wrap;
|
column-gap: 28px;
|
row-gap: 12px;
|
margin-bottom: 14px;
|
padding: 18px 18px;
|
border-color: #dfe9f6;
|
border-radius: 10px;
|
background: #fbfdff;
|
|
.el-form-item {
|
display: inline-flex;
|
align-items: center;
|
margin: 0;
|
}
|
|
.el-form-item__label {
|
padding-right: 8px;
|
line-height: 30px;
|
color: #1f2d3d;
|
font-weight: 700;
|
}
|
|
.el-form-item__content {
|
display: inline-flex;
|
align-items: center;
|
line-height: 30px;
|
}
|
|
.el-form-item:nth-child(1) .el-input,
|
.el-form-item:nth-child(2) .el-input {
|
width: 176px;
|
}
|
|
.el-form-item:nth-child(3) .el-select {
|
width: 164px;
|
}
|
|
.el-input__inner {
|
height: 30px;
|
border-radius: 6px;
|
font-size: 12px;
|
}
|
|
.el-button {
|
min-width: 52px;
|
height: 30px;
|
padding: 0 14px;
|
border-radius: 6px;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.el-button + .el-button {
|
margin-left: 12px;
|
}
|
}
|
|
.visitor-toolbar {
|
min-height: 42px;
|
margin-bottom: 10px;
|
|
.el-button {
|
min-width: 100px;
|
height: 34px;
|
padding: 0 18px;
|
border-radius: 8px;
|
font-size: 13px;
|
font-weight: 700;
|
}
|
}
|
|
.visitor-table.el-table {
|
border-color: #e2ebf5;
|
border-radius: 8px;
|
|
th.el-table__cell {
|
padding: 7px 0;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
td.el-table__cell {
|
padding: 7px 0;
|
font-size: 12px;
|
}
|
|
.cell {
|
line-height: 18px;
|
padding-left: 14px;
|
padding-right: 14px;
|
}
|
|
.el-button--text {
|
padding: 0;
|
font-size: 12px;
|
}
|
|
.el-dropdown {
|
margin-left: 14px;
|
}
|
}
|
|
.status-pill {
|
min-width: 44px;
|
height: 20px;
|
padding: 0 9px;
|
font-size: 12px;
|
}
|
}
|
|
.visitor-device-more-menu {
|
min-width: 92px;
|
padding: 8px 0;
|
border-color: #edf2f8;
|
border-radius: 8px;
|
box-shadow: 0 10px 24px rgba(23, 43, 77, 0.14);
|
|
.el-dropdown-menu__item {
|
height: 32px;
|
display: flex;
|
align-items: center;
|
padding: 0 14px;
|
color: #334963;
|
font-size: 12px;
|
font-weight: 700;
|
line-height: 32px;
|
|
i {
|
width: 16px;
|
margin-right: 8px;
|
font-size: 14px;
|
text-align: center;
|
}
|
|
.el-icon-refresh-left {
|
color: #2f73ff;
|
}
|
|
.el-icon-view {
|
color: var(--visitor-success);
|
}
|
|
.el-icon-circle-close {
|
color: #708195;
|
}
|
|
&.danger-item {
|
color: var(--visitor-danger);
|
|
.el-icon-delete {
|
color: var(--visitor-danger);
|
}
|
}
|
}
|
}
|
|
.status-pill {
|
min-width: 52px;
|
height: 24px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
padding: 0 10px;
|
border-radius: 999px;
|
font-size: 12px;
|
font-weight: 700;
|
line-height: 1;
|
|
&.enabled,
|
&.online {
|
color: var(--visitor-success);
|
background: #e9f8f0;
|
}
|
|
&.disabled {
|
color: #708195;
|
background: #eef2f6;
|
}
|
|
&.offline {
|
color: #d9822b;
|
background: #fff2df;
|
}
|
|
&.unactivated {
|
color: #708195;
|
background: #eef2f6;
|
}
|
|
&.danger {
|
color: var(--visitor-danger);
|
background: #fff3f3;
|
}
|
}
|
|
.visitor-empty {
|
padding: 38px;
|
color: #8a9ab0;
|
text-align: center;
|
font-size: 13px;
|
}
|
|
.el-dialog {
|
border-radius: 6px;
|
overflow: hidden;
|
|
.el-dialog__header {
|
text-align: center;
|
}
|
|
.el-dialog__title {
|
color: #111827;
|
font-size: 16px;
|
font-weight: 700;
|
}
|
|
.el-dialog__footer {
|
padding-bottom: 22px;
|
}
|
}
|
|
.el-message {
|
min-width: 190px;
|
border: 1px solid #edf1f6;
|
border-radius: 4px;
|
box-shadow: 0 10px 28px rgba(16, 42, 78, 0.18);
|
}
|
|
.visitor-native-input,
|
.visitor-native-select,
|
.visitor-native-textarea {
|
width: 100%;
|
min-width: 0;
|
border: 1px solid #cbd2dc;
|
color: #1f2d3d;
|
background: #fff;
|
outline: 0;
|
font: inherit;
|
|
&:focus {
|
border-color: #2f80ed;
|
box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.08);
|
}
|
}
|
|
.visitor-native-input,
|
.visitor-native-select {
|
height: 34px;
|
padding: 0 10px;
|
}
|
|
.visitor-native-textarea {
|
padding: 8px 10px;
|
resize: vertical;
|
}
|
|
.visitor-form-actions {
|
display: flex;
|
justify-content: flex-end;
|
gap: 14px;
|
}
|
|
.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 #1f82ea;
|
color: #fff;
|
background: #1f82ea;
|
}
|
|
@media (max-width: 1360px) {
|
.visitor-side-layout {
|
grid-template-columns: 230px minmax(0, 1fr);
|
gap: 16px;
|
}
|
}
|
|
.visitor-dashboard-page {
|
padding: 12px 20px 24px;
|
background: transparent;
|
|
.panel {
|
border: 1px solid rgba(221, 232, 247, 0.92);
|
border-radius: 8px;
|
background: rgba(255, 255, 255, 0.92);
|
box-shadow: 0 6px 18px rgba(34, 69, 126, 0.08);
|
}
|
|
.overview-panel {
|
padding: 0;
|
border: 0;
|
background: transparent;
|
box-shadow: none;
|
}
|
|
.section-toolbar {
|
display: flex;
|
align-items: center;
|
justify-content: flex-start;
|
gap: 18px;
|
min-height: 52px;
|
margin-bottom: 12px;
|
}
|
|
h1,
|
h2 {
|
margin: 0;
|
color: #15243d;
|
font-weight: 800;
|
}
|
|
h1,
|
h2 {
|
font-size: 22px;
|
}
|
|
.date-filter {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
color: #5f6f86;
|
font-size: 12px;
|
}
|
|
.date-filter-label {
|
color: #66768e;
|
font-weight: 700;
|
white-space: nowrap;
|
}
|
|
.filter-button {
|
height: 36px;
|
border: 1px solid #dbe7f6;
|
border-radius: 8px;
|
color: #637895;
|
background: #fff;
|
font-weight: 700;
|
box-shadow: none;
|
}
|
|
.date-range-picker {
|
width: 268px;
|
height: 36px;
|
padding: 3px 10px;
|
border-color: #dbe7f6;
|
border-radius: 8px;
|
background: #f8fbff;
|
}
|
|
.date-range-picker .el-range__icon {
|
color: #7d9bbd;
|
font-size: 14px;
|
}
|
|
.date-range-picker .el-range-input {
|
color: #637895;
|
background: transparent;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.date-range-picker .el-range-separator {
|
width: 24px;
|
color: #a6b6c8;
|
font-size: 12px;
|
line-height: 28px;
|
}
|
|
.filter-button {
|
min-width: 76px;
|
padding: 0 14px;
|
cursor: pointer;
|
}
|
|
.filter-button.active {
|
color: #2f67ff;
|
background: #eef4ff;
|
border-color: #d7e5ff;
|
}
|
|
.summary-grid {
|
display: grid;
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
gap: 24px;
|
padding: 0;
|
background: #f4f8ff;
|
}
|
|
.summary-card {
|
min-height: 268px;
|
display: flex;
|
flex-direction: column;
|
padding: 22px 18px 20px;
|
border: 1px solid #e0eaff;
|
border-radius: 30px;
|
overflow: hidden;
|
position: relative;
|
background: #fff;
|
box-shadow: 0 10px 24px rgba(38, 82, 148, 0.06);
|
}
|
|
.card-title {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
color: #2277ff;
|
font-size: 15px;
|
font-weight: 800;
|
}
|
|
.title-mark {
|
width: 3px;
|
height: 20px;
|
display: inline-block;
|
border-radius: 2px;
|
background: #2f73ff;
|
}
|
|
.card-icon {
|
width: 16px;
|
height: 16px;
|
display: inline-grid;
|
place-items: center;
|
font-size: 15px;
|
}
|
|
.card-icon.solid {
|
width: 16px;
|
height: 16px;
|
border-radius: 50%;
|
background: currentColor;
|
font-size: 11px;
|
}
|
|
.card-icon.solid i {
|
color: #fff;
|
}
|
|
.metric-list {
|
margin-top: 22px;
|
display: grid;
|
gap: 20px;
|
}
|
|
.summary-card:nth-child(1) .metric-list,
|
.summary-card:nth-child(2) .metric-list {
|
grid-template-columns: 1fr;
|
}
|
|
.metric {
|
min-height: 56px;
|
padding: 0;
|
border-radius: 0;
|
background: transparent;
|
box-shadow: none;
|
}
|
|
.summary-card:nth-child(n+3) .metric {
|
min-height: 88px;
|
display: grid;
|
place-items: center;
|
}
|
|
.summary-card:nth-child(n+3) .metric-list {
|
margin-top: 58px;
|
}
|
|
.metric-label {
|
display: inline-flex;
|
align-items: center;
|
gap: 4px;
|
color: #6689a9;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.metric-label i {
|
color: #6f91ad;
|
font-size: 13px;
|
}
|
|
.metric-value {
|
margin-top: 6px;
|
color: #1e3f78;
|
font-size: 34px;
|
line-height: 1;
|
font-weight: 900;
|
}
|
|
.summary-card:nth-child(n+3) .metric-value {
|
margin-top: 0;
|
font-size: 48px;
|
}
|
|
.metric-unit {
|
margin-left: 8px;
|
color: #6c91b8;
|
font-size: 14px;
|
font-weight: 700;
|
}
|
|
.card-foot {
|
display: flex;
|
align-items: center;
|
gap: 3px;
|
margin-top: auto;
|
padding-top: 14px;
|
border-top: 1px solid #e8eff8;
|
color: #6d9bc3;
|
font-size: 11px;
|
font-weight: 600;
|
}
|
|
.card-foot::before {
|
content: "";
|
width: 9px;
|
height: 9px;
|
border-radius: 50%;
|
background: #76a9ca;
|
}
|
|
.lower-grid {
|
display: grid;
|
grid-template-columns: minmax(680px, 2fr) minmax(340px, 1fr);
|
gap: 28px;
|
margin-top: 4px;
|
}
|
|
.panel {
|
min-height: 334px;
|
padding: 22px;
|
}
|
|
.trend-panel canvas {
|
width: 100%;
|
height: 232px;
|
display: block;
|
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);
|
cursor: pointer;
|
}
|
|
.chart-legend {
|
display: flex;
|
justify-content: center;
|
gap: 16px;
|
margin-top: 8px;
|
color: #4f6d8c;
|
font-size: 12px;
|
}
|
|
.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;
|
}
|
|
.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-grid {
|
display: grid;
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
gap: 14px 16px;
|
padding: 18px 0 0;
|
}
|
|
.quick-entry {
|
height: 64px;
|
display: grid;
|
grid-template-columns: 42px 1fr;
|
align-items: center;
|
gap: 18px;
|
padding: 0 20px;
|
border: 1px solid #dbe8ff;
|
border-radius: 12px;
|
color: #19304f;
|
background: #fff;
|
font-size: 16px;
|
font-weight: 800;
|
cursor: pointer;
|
outline: none;
|
transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
|
}
|
|
.quick-entry:hover {
|
transform: translateY(-1px);
|
border-color: #8bb4ff;
|
color: #3974e8;
|
background: linear-gradient(90deg, rgba(111, 163, 255, 0.12), rgba(111, 163, 255, 0.03));
|
box-shadow: 0 10px 24px rgba(47, 103, 255, 0.14), inset 0 0 0 1px rgba(111, 163, 255, 0.08);
|
}
|
|
.quick-entry:hover .quick-icon {
|
background: linear-gradient(145deg, #8db8ff, #6497f4);
|
box-shadow: 0 8px 18px rgba(79, 137, 241, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.36);
|
}
|
|
.quick-entry.active,
|
.quick-entry:active,
|
.quick-entry:focus-visible {
|
border-color: #a86cff;
|
color: #7146e8;
|
background: linear-gradient(90deg, rgba(168, 108, 255, 0.12), rgba(168, 108, 255, 0.03));
|
box-shadow: 0 8px 20px rgba(137, 83, 255, 0.14), inset 0 0 0 1px rgba(168, 108, 255, 0.12);
|
}
|
|
.quick-entry.active .quick-icon,
|
.quick-entry:active .quick-icon,
|
.quick-entry:focus-visible .quick-icon {
|
background: linear-gradient(135deg, #8f5bff, #bd8cff);
|
box-shadow: 0 8px 18px rgba(143, 91, 255, 0.28);
|
}
|
|
.quick-icon {
|
position: relative;
|
width: 42px;
|
height: 42px;
|
display: grid;
|
place-items: center;
|
border-radius: 13px;
|
color: #fff;
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)), var(--entry-color);
|
box-shadow: 0 8px 18px rgba(82, 112, 180, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.34);
|
|
i {
|
font-size: 19px;
|
font-weight: 500;
|
}
|
}
|
|
@media (max-width: 1280px) {
|
.summary-grid {
|
gap: 14px;
|
}
|
|
.summary-card {
|
padding: 20px 16px;
|
}
|
}
|
|
@media (max-width: 1120px) {
|
.summary-grid,
|
.lower-grid {
|
grid-template-columns: 1fr;
|
}
|
|
.summary-card {
|
min-height: 220px;
|
}
|
}
|
|
@media (max-width: 760px) {
|
.section-toolbar,
|
.date-filter {
|
align-items: flex-start;
|
flex-direction: column;
|
}
|
|
.date-range-picker {
|
width: min(100%, 268px);
|
}
|
}
|
}
|
|
.config-page {
|
padding: 20px;
|
background: transparent;
|
}
|
|
.config-card {
|
min-height: calc(100vh - 122px);
|
display: grid;
|
grid-template-columns: 190px 1fr;
|
border: 1px solid rgba(221, 232, 247, 0.92);
|
border-radius: 14px;
|
background: #fff;
|
box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08);
|
overflow: hidden;
|
}
|
|
.config-card > .config-nav {
|
padding: 18px 12px;
|
border-right: 1px solid #eef3f8;
|
background-color: #fff !important;
|
|
h1 {
|
margin: 0 0 28px;
|
color: #111827;
|
font-size: 16px;
|
font-weight: 800;
|
}
|
}
|
|
.config-nav-item {
|
width: 100%;
|
height: 36px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
padding: 0 12px;
|
border: 0;
|
color: #26384f;
|
background: transparent;
|
font-size: 13px;
|
text-align: left;
|
cursor: pointer;
|
outline: 0;
|
|
&.active {
|
color: #1781ff;
|
background: #e6f7ff;
|
font-weight: 800;
|
box-shadow: none;
|
}
|
}
|
|
.config-nav-icon {
|
width: 16px;
|
height: 16px;
|
flex: 0 0 16px;
|
color: currentColor;
|
fill: none !important;
|
stroke: currentColor;
|
font-size: 15px;
|
text-align: center;
|
vertical-align: middle;
|
}
|
|
.config-workspace {
|
min-width: 0;
|
position: relative;
|
padding: 44px 36px 82px;
|
}
|
|
.config-section {
|
max-width: 760px;
|
margin-bottom: 28px;
|
|
h2 {
|
min-height: 22px;
|
display: inline-flex;
|
align-items: center;
|
gap: 8px;
|
margin: 0 0 14px;
|
color: #10213b;
|
font-size: 15px;
|
line-height: 22px;
|
font-weight: 800;
|
}
|
|
h2::before {
|
content: "";
|
width: 4px;
|
height: 22px;
|
flex: 0 0 4px;
|
align-self: center;
|
border-radius: 2px;
|
background: #2e8064;
|
}
|
|
p {
|
margin: 0 0 16px 12px;
|
color: #8a9ab0;
|
font-size: 12px;
|
line-height: 20px;
|
}
|
}
|
|
.config-switch-row {
|
height: 48px;
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
border-bottom: 1px solid #edf2f7;
|
color: #10213b;
|
font-size: 14px;
|
line-height: 20px;
|
font-weight: 800;
|
|
input {
|
position: absolute;
|
opacity: 0;
|
pointer-events: none;
|
}
|
|
.row-label {
|
min-width: 140px;
|
display: inline-flex;
|
align-items: center;
|
align-self: stretch;
|
}
|
}
|
|
.row-icon {
|
width: 18px;
|
height: 18px;
|
flex: 0 0 18px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
color: #4c9378;
|
fill: none !important;
|
stroke: currentColor;
|
font-size: 18px;
|
font-weight: 600;
|
vertical-align: middle;
|
}
|
|
.system-entry .row-icon {
|
width: 16px;
|
height: 16px;
|
flex-basis: 16px;
|
}
|
|
.appointment-time-row {
|
height: 48px;
|
display: flex;
|
align-items: center;
|
gap: 12px;
|
border-bottom: 1px solid #edf2f7;
|
color: #10213b;
|
font-size: 14px;
|
line-height: 20px;
|
font-weight: 800;
|
|
.row-label {
|
min-width: 176px;
|
display: inline-flex;
|
align-items: center;
|
align-self: stretch;
|
}
|
}
|
|
.time-day {
|
color: #26384f;
|
font-weight: 500;
|
}
|
|
.appointment-time-input {
|
width: 118px !important;
|
|
.el-input__inner {
|
height: 30px;
|
padding: 0 28px 0 10px;
|
border-color: #cfd8e3;
|
color: #26384f;
|
font-size: 13px;
|
line-height: 30px;
|
}
|
|
.el-input__prefix {
|
display: none;
|
}
|
|
.el-input__suffix {
|
right: 6px;
|
line-height: 30px;
|
}
|
}
|
|
.switch-control {
|
width: 46px;
|
height: 20px;
|
display: inline-block;
|
position: relative;
|
border-radius: 999px;
|
background: #c8d3df;
|
cursor: pointer;
|
transition: background 0.16s ease;
|
}
|
|
.switch-control::after {
|
content: "";
|
position: absolute;
|
top: 2px;
|
left: 2px;
|
width: 16px;
|
height: 16px;
|
border-radius: 50%;
|
background: #fff;
|
box-shadow: 0 1px 4px rgba(15, 35, 70, 0.18);
|
transition: transform 0.16s ease;
|
}
|
|
.config-switch-row input:checked + .switch-control,
|
.switch-line input:checked + .switch-control {
|
background: #2d725d;
|
}
|
|
.config-switch-row input:checked + .switch-control::after {
|
transform: translateX(26px);
|
}
|
|
.print-layout {
|
display: grid;
|
grid-template-columns: minmax(420px, 1fr) 360px;
|
align-items: start;
|
gap: 44px;
|
}
|
|
.print-settings .config-section h2 {
|
height: 20px;
|
min-height: 20px;
|
line-height: 20px;
|
}
|
|
.print-settings .config-section h2::before {
|
align-self: center;
|
}
|
|
.print-field-list {
|
display: grid;
|
gap: 9px;
|
margin-left: 24px;
|
}
|
|
.print-field-item {
|
width: 220px;
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
min-height: 26px;
|
padding: 2px 6px;
|
border-radius: 6px;
|
color: #253855;
|
font-size: 13px;
|
cursor: grab;
|
user-select: none;
|
|
input {
|
width: 13px;
|
height: 13px;
|
margin: 0;
|
accent-color: #2d725d;
|
cursor: pointer;
|
}
|
}
|
|
.print-field-chosen {
|
background: #eef6ff;
|
box-shadow: 0 6px 16px rgba(31, 88, 160, 0.14);
|
cursor: grabbing;
|
}
|
|
.print-field-ghost {
|
opacity: 0.45;
|
background: #f3f8ff;
|
}
|
|
.sort-hint {
|
height: 30px;
|
display: inline-flex;
|
align-items: center;
|
gap: 8px;
|
margin: 14px 0 0 14px;
|
padding: 0 18px;
|
border: 0;
|
border-radius: 18px;
|
color: #31455f;
|
background: #e9f1f8;
|
font-size: 12px;
|
}
|
|
.sort-hint-icon {
|
color: #f6b817;
|
font-size: 14px;
|
}
|
|
.print-preview {
|
width: 360px;
|
max-width: 100%;
|
align-self: start;
|
}
|
|
.preview-title {
|
height: 26px;
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
color: #111827;
|
font-size: 14px;
|
font-weight: 800;
|
|
button {
|
width: 22px;
|
height: 22px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
padding: 0;
|
border: 0;
|
color: #6f747b;
|
background: transparent;
|
font-size: 16px;
|
cursor: pointer;
|
}
|
|
button:hover {
|
color: #2d725d;
|
}
|
}
|
|
.preview-stage {
|
width: 100%;
|
min-height: 392px;
|
box-sizing: border-box;
|
display: flex;
|
justify-content: center;
|
padding: 10px 18px 24px;
|
background: #f0f0f0;
|
}
|
|
.ticket-preview {
|
width: 290px;
|
min-height: 365px;
|
box-sizing: border-box;
|
padding: 18px 34px 24px;
|
border: 1px solid #cfd5dd;
|
background: #fff;
|
|
h3 {
|
margin: 0 0 18px;
|
color: #111827;
|
font-size: 14px;
|
font-weight: 800;
|
text-align: center;
|
}
|
}
|
|
.ticket-rows {
|
display: grid;
|
gap: 14px;
|
}
|
|
.ticket-row {
|
display: grid;
|
grid-template-columns: 90px 1fr;
|
gap: 12px;
|
color: #111827;
|
font-size: 12px;
|
line-height: 18px;
|
|
span {
|
color: #515d6f;
|
text-align: right;
|
}
|
}
|
|
.field-grid {
|
display: grid;
|
grid-template-columns: repeat(2, minmax(260px, 1fr));
|
gap: 38px 76px;
|
margin-left: 12px;
|
}
|
|
.input-field {
|
display: grid;
|
gap: 10px;
|
color: #26384f;
|
font-size: 13px;
|
font-weight: 800;
|
|
input[type="text"] {
|
width: 100%;
|
height: 38px;
|
padding: 0 14px;
|
border: 1px solid #d9e3ef;
|
border-radius: 20px;
|
color: #17233d;
|
background: #f7faff;
|
outline: 0;
|
}
|
}
|
|
.logo-upload {
|
width: 316px;
|
max-width: 100%;
|
height: 38px;
|
display: grid;
|
grid-template-columns: auto minmax(0, 1fr);
|
align-items: center;
|
gap: 8px;
|
position: relative;
|
padding: 0 12px;
|
border: 1px solid #d9e3ef;
|
border-radius: 20px;
|
color: #6f7f92;
|
background: #f7faff;
|
font-size: 12px;
|
overflow: hidden;
|
cursor: pointer;
|
}
|
|
.logo-upload input[type="file"] {
|
position: absolute;
|
inset: 0;
|
width: 100%;
|
height: 100%;
|
opacity: 0;
|
cursor: pointer;
|
}
|
|
.logo-upload input[type="file"]:disabled {
|
cursor: not-allowed;
|
}
|
|
.logo-upload-button,
|
.logo-file-name {
|
position: relative;
|
z-index: 1;
|
line-height: 1;
|
}
|
|
.logo-upload-button {
|
height: 24px;
|
display: inline-flex;
|
align-items: center;
|
padding: 0 10px;
|
border: 1px solid #c8d2df;
|
border-radius: 2px;
|
color: #26384f;
|
background: #fff;
|
font-weight: 700;
|
}
|
|
.logo-file-name {
|
min-width: 0;
|
overflow: hidden;
|
color: #6f7f92;
|
font-weight: 600;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.config-actions {
|
position: absolute;
|
left: 36px;
|
bottom: 26px;
|
}
|
|
.config-save-button {
|
min-width: 58px;
|
height: 26px;
|
padding: 0 16px;
|
border: 1px solid #2e73ff;
|
border-radius: 4px;
|
color: #fff;
|
background: #2e73ff;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.protocol-page {
|
padding: 10px 12px 18px;
|
background: #eef3f8;
|
}
|
|
.protocol-card {
|
min-height: calc(100vh - 118px);
|
position: relative;
|
padding: 18px 26px 82px;
|
border-radius: 6px;
|
background: #fff;
|
box-shadow: 0 1px 8px rgba(28, 82, 142, 0.08);
|
|
h1 {
|
margin: 0 0 26px;
|
color: #111827;
|
font-size: 16px;
|
font-weight: 700;
|
}
|
}
|
|
.section-title {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
margin: 0 0 28px 24px;
|
color: #10213b;
|
font-size: 14px;
|
|
span {
|
width: 4px;
|
height: 16px;
|
display: inline-block;
|
border-radius: 2px;
|
background: #2e73ff;
|
}
|
}
|
|
.editor-shell {
|
width: min(865px, calc(100vw - 330px));
|
min-width: 720px;
|
margin-left: 26px;
|
border: 1px solid #d4d8df;
|
background: #fff;
|
|
&.fullscreen {
|
position: fixed;
|
inset: 18px;
|
z-index: 240;
|
width: auto;
|
min-width: 0;
|
margin: 0;
|
display: flex;
|
flex-direction: column;
|
box-shadow: 0 16px 42px rgba(13, 34, 64, 0.28);
|
}
|
}
|
|
.editor-toolbar {
|
height: 42px;
|
display: grid;
|
grid-template-columns: repeat(12, 1fr);
|
align-items: center;
|
border-bottom: 1px solid #edf1f5;
|
background: #fff;
|
|
button {
|
height: 42px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border: 0;
|
color: #666;
|
background: transparent;
|
font-size: 26px;
|
cursor: pointer;
|
}
|
|
button:hover {
|
color: #1f82ea;
|
background: #f5f9ff;
|
}
|
}
|
|
.font-color {
|
font-family: Georgia, "Times New Roman", serif;
|
font-size: 24px;
|
font-weight: 700;
|
text-decoration: underline;
|
}
|
|
.font-size {
|
font-family: Georgia, "Times New Roman", serif;
|
font-size: 22px;
|
font-weight: 700;
|
|
small {
|
margin-left: 1px;
|
font-size: 13px;
|
}
|
}
|
|
.list-icon,
|
.align-icon,
|
.fullscreen-icon {
|
width: 26px;
|
height: 26px;
|
position: relative;
|
display: inline-block;
|
}
|
|
.list-icon {
|
&::before,
|
&::after {
|
content: "";
|
position: absolute;
|
}
|
|
&.unordered::before {
|
left: 1px;
|
top: 4px;
|
width: 4px;
|
height: 4px;
|
border-radius: 50%;
|
background: currentColor;
|
box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor;
|
}
|
|
&.ordered::before {
|
left: 0;
|
top: 2px;
|
content: "1.\A 2.\A 3.";
|
white-space: pre;
|
font-family: Arial, sans-serif;
|
font-size: 7px;
|
font-weight: 700;
|
line-height: 8px;
|
}
|
|
&::after {
|
left: 9px;
|
top: 5px;
|
width: 16px;
|
height: 3px;
|
background: currentColor;
|
box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor;
|
}
|
}
|
|
.align-icon {
|
&::before {
|
content: "";
|
position: absolute;
|
top: 5px;
|
height: 3px;
|
background: currentColor;
|
box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
|
}
|
|
&.left::before {
|
left: 2px;
|
width: 22px;
|
}
|
|
&.center::before {
|
left: 5px;
|
width: 16px;
|
}
|
|
&.right::before {
|
right: 2px;
|
width: 22px;
|
}
|
}
|
|
.undo-icon,
|
.redo-icon {
|
font-size: 32px;
|
line-height: 1;
|
}
|
|
.fullscreen-icon {
|
&::before,
|
&::after {
|
content: "";
|
position: absolute;
|
width: 8px;
|
height: 8px;
|
}
|
|
&::before {
|
left: 3px;
|
top: 3px;
|
border-left: 2px solid currentColor;
|
border-top: 2px solid currentColor;
|
box-shadow: 12px 0 0 -1px #fff, 12px 0 0 0 currentColor;
|
}
|
|
&::after {
|
right: 3px;
|
bottom: 3px;
|
border-right: 2px solid currentColor;
|
border-bottom: 2px solid currentColor;
|
box-shadow: -12px 0 0 -1px #fff, -12px 0 0 0 currentColor;
|
}
|
}
|
|
.protocol-editor {
|
min-height: 405px;
|
position: relative;
|
padding: 14px 8px;
|
color: #1f2d3d;
|
background: #fff;
|
font-size: 14px;
|
line-height: 1.8;
|
white-space: pre-wrap;
|
overflow-wrap: break-word;
|
outline: 0;
|
overflow: auto;
|
|
&.is-empty::before {
|
content: attr(data-placeholder);
|
position: absolute;
|
top: 14px;
|
left: 8px;
|
color: #7c8da6;
|
pointer-events: none;
|
}
|
|
&.is-empty:focus::before {
|
display: none;
|
}
|
|
p {
|
margin: 0 0 8px;
|
}
|
|
ul,
|
ol {
|
margin: 0 0 8px 24px;
|
padding: 0;
|
}
|
}
|
|
.editor-shell.fullscreen .protocol-editor {
|
flex: 1;
|
min-height: 0;
|
}
|
|
.protocol-actions {
|
position: absolute;
|
left: 26px;
|
bottom: 24px;
|
}
|
|
.protocol-save-button {
|
min-width: 58px;
|
height: 26px;
|
padding: 0 16px;
|
border: 1px solid #2e73ff;
|
border-radius: 4px;
|
color: #fff;
|
background: #2e73ff;
|
font-size: 12px;
|
cursor: pointer;
|
|
&:disabled {
|
cursor: not-allowed;
|
opacity: 0.72;
|
}
|
}
|
|
@media (max-width: 1280px) {
|
.editor-shell {
|
width: min(865px, calc(100vw - 285px));
|
min-width: 680px;
|
}
|
|
}
|
|
.version-page {
|
padding: 20px;
|
background: transparent;
|
}
|
|
.version-card {
|
min-height: calc(100vh - 122px);
|
padding: 18px 20px 40px;
|
border: 1px solid rgba(221, 232, 247, 0.92);
|
border-radius: 14px;
|
background: var(--visitor-card);
|
box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08);
|
}
|
|
.version-header {
|
height: 56px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
|
h1 {
|
margin: 0;
|
color: #15243d;
|
font-size: 18px;
|
font-weight: 800;
|
}
|
}
|
|
.add-button {
|
min-width: 78px;
|
height: 32px;
|
padding: 0 14px;
|
border: 1px solid #2e73ff;
|
border-radius: 16px;
|
color: #fff;
|
background: #2e73ff;
|
font-size: 13px;
|
font-weight: 700;
|
cursor: pointer;
|
box-shadow: 0 8px 18px rgba(47, 115, 255, 0.18);
|
}
|
|
.version-table {
|
width: 100%;
|
border-collapse: separate;
|
border-spacing: 0;
|
table-layout: fixed;
|
border: 1px solid #e5edf7;
|
border-radius: 12px;
|
color: #111827;
|
background: #fff;
|
font-size: 13px;
|
overflow: visible;
|
|
thead tr {
|
height: 42px;
|
background: #f2f6fb;
|
}
|
|
th,
|
td {
|
padding: 0 12px;
|
text-align: left;
|
}
|
|
th {
|
color: #516579;
|
font-weight: 800;
|
}
|
|
td {
|
height: 44px;
|
border-top: 1px solid #edf2f8;
|
color: #25364a;
|
}
|
|
tbody tr:nth-child(even) {
|
background: #f8fbff;
|
}
|
}
|
|
.version-content-cell {
|
position: relative;
|
}
|
|
.version-content-text {
|
max-width: 285px;
|
display: inline-block;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
vertical-align: middle;
|
}
|
|
.table-actions {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
|
button {
|
border: 0;
|
color: #0075ff;
|
background: transparent;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
}
|
|
.version-form {
|
display: grid;
|
gap: 14px;
|
padding: 18px 54px 20px;
|
}
|
|
.version-create-dialog {
|
.el-dialog__header {
|
padding: 20px 54px 10px;
|
text-align: left;
|
}
|
|
.el-dialog__title {
|
font-size: 14px;
|
font-weight: 700;
|
}
|
|
.el-dialog__body {
|
padding: 0;
|
}
|
}
|
|
.version-row {
|
display: grid;
|
grid-template-columns: 76px 1fr;
|
align-items: start;
|
gap: 10px;
|
color: #24364f;
|
font-size: 12px;
|
|
> span:first-child {
|
padding-top: 8px;
|
font-size: 12px;
|
font-weight: 600;
|
text-align: left;
|
}
|
|
&.required > span:first-child::before {
|
content: "*";
|
margin-right: 2px;
|
color: #f15a5a;
|
}
|
}
|
|
.version-input-line {
|
position: relative;
|
|
> span {
|
position: absolute;
|
z-index: 1;
|
left: 10px;
|
top: 9px;
|
color: #24364f;
|
line-height: 1;
|
}
|
|
input {
|
padding-left: 25px;
|
}
|
}
|
|
.version-row textarea {
|
height: 68px;
|
box-sizing: border-box;
|
}
|
|
.version-upload-field {
|
width: 100%;
|
}
|
|
.upload-drop {
|
width: 100%;
|
height: 102px;
|
display: grid;
|
place-items: center;
|
border: 1px dashed #dce3ec;
|
color: #9aa8bb;
|
background: #fff;
|
font-size: 12px;
|
cursor: pointer;
|
|
strong {
|
color: #0075ff;
|
}
|
|
&.has-file {
|
border-style: solid;
|
color: #24364f;
|
background: #f9fbfe;
|
}
|
|
&.drag-over {
|
border-color: #2e73ff;
|
color: #2e73ff;
|
background: #f5f9ff;
|
}
|
}
|
|
.upload-tip {
|
width: 100%;
|
margin: 10px 0 0;
|
color: #8a9ab0;
|
font-size: 11px;
|
text-align: center;
|
}
|
|
.switch-line {
|
grid-template-columns: 76px 0 46px;
|
align-items: center;
|
|
input {
|
position: absolute;
|
opacity: 0;
|
pointer-events: none;
|
}
|
|
input:checked + .switch-control::after {
|
transform: translateX(26px);
|
}
|
|
input:checked + .switch-control {
|
background: #22b573;
|
}
|
}
|
|
.area-page,
|
.department-page {
|
padding: 20px;
|
background: transparent;
|
}
|
|
.area-card,
|
.department-card {
|
min-height: calc(100vh - 122px);
|
padding: 24px 28px 34px;
|
border: 1px solid #dde8f7;
|
border-radius: 16px;
|
background: rgba(255, 255, 255, 0.94);
|
box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08);
|
}
|
|
.area-header,
|
.department-header {
|
height: 48px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
|
h1 {
|
margin: 0;
|
color: #15243d;
|
font-size: 18px;
|
font-weight: 800;
|
}
|
}
|
|
.add-root-button,
|
.add-root-dept-button {
|
min-width: 126px;
|
height: 34px;
|
border: 1px solid #2f73ff;
|
border-radius: 18px;
|
color: #fff;
|
background: #2f73ff;
|
font-size: 13px;
|
font-weight: 700;
|
cursor: pointer;
|
box-shadow: 0 8px 18px rgba(47, 115, 255, 0.18);
|
}
|
|
.area-search,
|
.department-search {
|
width: 256px;
|
height: 36px;
|
display: grid;
|
grid-template-columns: 1fr 38px;
|
margin: 6px 0 24px;
|
border: 1px solid #d8e5f5;
|
border-radius: 18px;
|
background: #fbfdff;
|
overflow: hidden;
|
|
input {
|
min-width: 0;
|
height: 34px;
|
padding: 0 14px;
|
border: 0;
|
color: #1f2d3d;
|
background: transparent;
|
outline: 0;
|
font-size: 13px;
|
}
|
|
button {
|
position: relative;
|
border: 0;
|
background: transparent;
|
cursor: pointer;
|
}
|
|
button::before {
|
content: "";
|
position: absolute;
|
left: 10px;
|
top: 9px;
|
width: 10px;
|
height: 10px;
|
border: 1.5px solid #8091a8;
|
border-radius: 50%;
|
}
|
|
button::after {
|
content: "";
|
position: absolute;
|
left: 21px;
|
top: 20px;
|
width: 7px;
|
height: 1.5px;
|
background: #8091a8;
|
transform: rotate(45deg);
|
}
|
}
|
|
.area-tree-panel,
|
.department-tree-panel {
|
min-height: 560px;
|
border: 1px solid #dce8f7;
|
border-radius: 14px;
|
background: #fff;
|
box-shadow: inset 0 0 0 1px rgba(245, 249, 254, 0.84);
|
overflow: auto;
|
}
|
|
.area-tree,
|
.department-tree {
|
min-width: 920px;
|
padding: 24px 12px 34px;
|
}
|
|
.area-node,
|
.department-node {
|
min-height: 40px;
|
}
|
|
.area-node-content,
|
.department-node-content {
|
position: relative;
|
height: 40px;
|
display: grid;
|
grid-template-columns: 18px 20px 278px 88px 88px 88px minmax(220px, 1fr);
|
align-items: center;
|
gap: 8px;
|
padding: 0 12px;
|
color: #243850;
|
font-size: 14px;
|
cursor: default;
|
|
&:hover {
|
background: #f6faff;
|
}
|
|
&.active {
|
color: #1774ff;
|
background: #e9f3ff;
|
box-shadow: inset 4px 0 0 #2f73ff, 0 0 0 1px #dbeaff;
|
}
|
|
&.disabled {
|
color: #9aaabd;
|
background: #f4f6f9;
|
}
|
}
|
|
.area-node.level-2 > .area-node-content,
|
.department-node.level-2 > .department-node-content {
|
margin-left: 36px;
|
}
|
|
.area-node.level-3 > .area-node-content,
|
.department-node.level-3 > .department-node-content {
|
margin-left: 72px;
|
}
|
|
.area-node.level-4 > .area-node-content,
|
.department-node.level-4 > .department-node-content {
|
margin-left: 108px;
|
}
|
|
.area-toggle,
|
.department-toggle {
|
width: 16px;
|
height: 16px;
|
border: 0;
|
background: transparent;
|
cursor: pointer;
|
position: relative;
|
}
|
|
.area-toggle::before,
|
.department-toggle::before {
|
content: "";
|
position: absolute;
|
left: 5px;
|
top: 5px;
|
width: 0;
|
height: 0;
|
border-left: 4px solid transparent;
|
border-right: 4px solid transparent;
|
border-top: 6px solid currentColor;
|
}
|
|
.area-node.collapsed > .area-node-content .area-toggle::before,
|
.department-node.collapsed > .department-node-content .department-toggle::before {
|
border-top: 4px solid transparent;
|
border-bottom: 4px solid transparent;
|
border-left: 6px solid currentColor;
|
border-right: 0;
|
}
|
|
.area-node.no-children > .area-node-content .area-toggle::before,
|
.department-node.no-children > .department-node-content .department-toggle::before {
|
display: none;
|
}
|
|
.area-folder-icon,
|
.area-file-icon,
|
.department-folder-icon,
|
.department-file-icon {
|
width: 14px;
|
height: 14px;
|
position: relative;
|
display: inline-block;
|
color: #7390b3;
|
border: 1.4px solid currentColor;
|
border-radius: 3px;
|
}
|
|
.area-folder-icon::before,
|
.department-folder-icon::before {
|
content: "";
|
position: absolute;
|
left: 1px;
|
top: -5px;
|
width: 7px;
|
height: 5px;
|
border: 1.4px solid currentColor;
|
border-bottom: 0;
|
}
|
|
.area-name,
|
.department-name {
|
min-width: 0;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.area-action,
|
.department-action {
|
width: max-content;
|
min-width: 58px;
|
height: 26px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
gap: 4px;
|
padding: 0 12px;
|
border: 1px solid transparent;
|
border-radius: 999px;
|
background: transparent;
|
font-size: 12px;
|
font-weight: 800;
|
cursor: pointer;
|
|
&.add-child {
|
min-width: 82px;
|
color: #2f73ff;
|
border-color: #cfe0ff;
|
background: #eff6ff;
|
}
|
|
&.edit {
|
color: #48617f;
|
border-color: #d8e3f1;
|
background: #f5f8fc;
|
}
|
|
&.delete {
|
color: #e5484d;
|
border-color: #ffd7d9;
|
background: #fff3f3;
|
}
|
}
|
|
.area-disabled-badge,
|
.department-disabled-badge {
|
min-width: 32px;
|
height: 20px;
|
display: inline-flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 10px;
|
color: #8b9bad;
|
background: #e7edf5;
|
font-size: 12px;
|
font-weight: 800;
|
}
|
|
.area-form,
|
.department-form {
|
display: grid;
|
gap: 18px;
|
padding: 18px 80px 20px;
|
}
|
|
.area-row,
|
.department-row {
|
display: grid;
|
grid-template-columns: 86px 1fr;
|
align-items: center;
|
gap: 12px;
|
color: #111827;
|
font-size: 14px;
|
font-weight: 700;
|
|
> span:first-child {
|
text-align: right;
|
}
|
|
&.required > span:first-child::before {
|
content: "*";
|
margin-right: 8px;
|
color: #f15a5a;
|
font-weight: 400;
|
}
|
}
|