813 lines
25 KiB
SCSS
Executable File
813 lines
25 KiB
SCSS
Executable File
// 全局样式
|
|
html,
|
|
body,
|
|
#app {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: var(--mint-text);
|
|
background: var(--mint-bg-page);
|
|
}
|
|
|
|
:root {
|
|
--theme-color: var(--mint-primary);
|
|
--default-bg-color: var(--mint-bg-page);
|
|
--default-box-color: var(--mint-surface);
|
|
--art-card-border: var(--mint-border);
|
|
--custom-radius: 16px;
|
|
}
|
|
|
|
// 顶部进度条颜色
|
|
#nprogress .bar {
|
|
z-index: 2400;
|
|
background-color: var(--mint-primary);
|
|
}
|
|
|
|
#nprogress .peg {
|
|
box-shadow:
|
|
0 0 10px var(--theme-color),
|
|
0 0 5px var(--theme-color) !important;
|
|
}
|
|
|
|
#nprogress .spinner-icon {
|
|
border-top-color: var(--theme-color) !important;
|
|
border-left-color: var(--theme-color) !important;
|
|
}
|
|
|
|
// 处理移动端组件兼容性
|
|
@media screen and (max-width: 640px) {
|
|
* {
|
|
cursor: default !important;
|
|
}
|
|
}
|
|
|
|
// 背景滤镜
|
|
*,
|
|
::before,
|
|
::after {
|
|
--tw-backdrop-blur: ;
|
|
--tw-backdrop-brightness: ;
|
|
--tw-backdrop-contrast: ;
|
|
--tw-backdrop-grayscale: ;
|
|
--tw-backdrop-hue-rotate: ;
|
|
--tw-backdrop-invert: ;
|
|
--tw-backdrop-opacity: ;
|
|
--tw-backdrop-saturate: ;
|
|
--tw-backdrop-sepia: ;
|
|
}
|
|
|
|
// 色弱模式
|
|
.color-weak {
|
|
filter: invert(80%);
|
|
-webkit-filter: invert(80%);
|
|
}
|
|
|
|
#noop {
|
|
display: none;
|
|
}
|
|
|
|
// 语言切换选中样式
|
|
.langDropDownStyle {
|
|
// 选中项背景颜色
|
|
.is-selected {
|
|
background-color: var(--art-el-active-color) !important;
|
|
}
|
|
|
|
// 语言切换按钮菜单样式优化
|
|
.lang-btn-item {
|
|
.el-dropdown-menu__item {
|
|
padding-left: 13px !important;
|
|
padding-right: 6px !important;
|
|
margin-bottom: 3px !important;
|
|
}
|
|
|
|
&:last-child {
|
|
.el-dropdown-menu__item {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
}
|
|
|
|
.menu-txt {
|
|
min-width: 60px;
|
|
display: block;
|
|
}
|
|
|
|
i {
|
|
font-size: 10px;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 盒子默认边框
|
|
.page-content {
|
|
border: 1px solid var(--mint-border) !important;
|
|
border-radius: var(--mint-radius) !important;
|
|
box-shadow: var(--mint-shadow) !important;
|
|
}
|
|
|
|
@mixin art-card-base($border-color, $shadow: none, $radius-diff: 4px) {
|
|
background: var(--default-box-color);
|
|
border: 1px solid #{$border-color} !important;
|
|
border-radius: calc(var(--custom-radius) + #{$radius-diff}) !important;
|
|
box-shadow: #{$shadow} !important;
|
|
|
|
--el-card-border-color: var(--default-border) !important;
|
|
}
|
|
|
|
.art-card,
|
|
.art-card-sm,
|
|
.art-card-xs {
|
|
border: 1px solid var(--art-card-border);
|
|
}
|
|
|
|
// 盒子边框
|
|
[data-box-mode='border-mode'] {
|
|
.page-content,
|
|
.art-table-card {
|
|
border: 1px solid var(--art-card-border) !important;
|
|
}
|
|
|
|
.art-card {
|
|
@include art-card-base(var(--art-card-border), none, 4px);
|
|
}
|
|
|
|
.art-card-sm {
|
|
@include art-card-base(var(--art-card-border), none, 0px);
|
|
}
|
|
|
|
.art-card-xs {
|
|
@include art-card-base(var(--art-card-border), none, -4px);
|
|
}
|
|
}
|
|
|
|
// 盒子阴影
|
|
[data-box-mode='shadow-mode'] {
|
|
.page-content,
|
|
.art-table-card {
|
|
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.04) !important;
|
|
border: 1px solid var(--art-gray-200) !important;
|
|
}
|
|
|
|
.layout-sidebar {
|
|
border-right: 1px solid var(--art-card-border) !important;
|
|
}
|
|
|
|
.art-card {
|
|
@include art-card-base(
|
|
var(--art-gray-200),
|
|
(0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.08)),
|
|
4px
|
|
);
|
|
}
|
|
|
|
.art-card-sm {
|
|
@include art-card-base(
|
|
var(--art-gray-200),
|
|
(0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.08)),
|
|
2px
|
|
);
|
|
}
|
|
|
|
.art-card-xs {
|
|
@include art-card-base(
|
|
var(--art-gray-200),
|
|
(0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 1px -1px rgba(0, 0, 0, 0.08)),
|
|
-4px
|
|
);
|
|
}
|
|
}
|
|
|
|
// 元素全屏
|
|
.el-full-screen {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100vw !important;
|
|
height: 100% !important;
|
|
z-index: 2300;
|
|
margin-top: 0;
|
|
padding: 15px;
|
|
box-sizing: border-box;
|
|
background-color: var(--default-box-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
// 表格卡片
|
|
.art-table-card {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 12px;
|
|
border-radius: var(--mint-radius) !important;
|
|
border: 1px solid var(--mint-border) !important;
|
|
box-shadow: var(--mint-shadow) !important;
|
|
|
|
.el-card__body {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
// 容器全高
|
|
.art-full-height {
|
|
height: var(--art-full-height);
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@media (max-width: 640px) {
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
// 徽章样式
|
|
.art-badge {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 20px;
|
|
bottom: 0;
|
|
width: 6px;
|
|
height: 6px;
|
|
margin: auto;
|
|
background: #ff3860;
|
|
border-radius: 50%;
|
|
animation: breathe 1.5s ease-in-out infinite;
|
|
|
|
&.art-badge-horizontal {
|
|
right: 0;
|
|
}
|
|
|
|
&.art-badge-mixed {
|
|
right: 0;
|
|
}
|
|
|
|
&.art-badge-dual {
|
|
right: 5px;
|
|
top: 5px;
|
|
bottom: auto;
|
|
}
|
|
}
|
|
|
|
// 文字徽章样式
|
|
.art-text-badge {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 12px;
|
|
bottom: 0;
|
|
min-width: 20px;
|
|
height: 18px;
|
|
line-height: 17px;
|
|
padding: 0 5px;
|
|
margin: auto;
|
|
font-size: 10px;
|
|
color: #fff;
|
|
text-align: center;
|
|
background: #fd4e4e;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
@keyframes breathe {
|
|
0% {
|
|
opacity: 0.7;
|
|
transform: scale(1);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0.7;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
// 修复老机型 loading 定位问题
|
|
.art-loading-fix {
|
|
position: fixed !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
width: 100vw !important;
|
|
height: 100vh !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.art-loading-fix .el-loading-spinner {
|
|
position: static !important;
|
|
top: auto !important;
|
|
left: auto !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
// 去除移动端点击背景色
|
|
@media screen and (max-width: 1180px) {
|
|
* {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
}
|
|
|
|
.page-head {
|
|
margin-bottom: 16px;
|
|
|
|
h1 {
|
|
margin: 0 0 4px;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
color: var(--mint-text);
|
|
}
|
|
|
|
.page-desc,
|
|
.desc {
|
|
margin: 0;
|
|
color: var(--mint-text-muted);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
max-width: 720px;
|
|
}
|
|
}
|
|
|
|
.panel {
|
|
background: var(--mint-surface);
|
|
border: 1px solid var(--mint-border);
|
|
border-radius: var(--mint-radius);
|
|
box-shadow: var(--mint-shadow);
|
|
/* 不要用 overflow:hidden:会导致 el-table 右侧固定列(fixed="right")无法正确粘贴/层级错乱 */
|
|
overflow: visible;
|
|
}
|
|
|
|
.panel-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--mint-border);
|
|
|
|
h2,
|
|
h3 {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--mint-text);
|
|
}
|
|
|
|
h2 .title-ic,
|
|
h3 .title-ic {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--mint-primary-bg);
|
|
color: var(--mint-primary-dark);
|
|
border: 1px solid rgba(16, 185, 129, 0.16);
|
|
margin-right: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
h2 .title-ic::before,
|
|
h3 .title-ic::before {
|
|
content: '';
|
|
width: 14px;
|
|
height: 14px;
|
|
background-color: currentColor;
|
|
opacity: 0.95;
|
|
mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
|
-webkit-mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
|
}
|
|
|
|
h2.title-bar-heading {
|
|
gap: 8px;
|
|
}
|
|
|
|
h2.title-bar-heading .title-ic {
|
|
display: none !important;
|
|
}
|
|
|
|
h2.title-bar-heading::before {
|
|
content: '';
|
|
width: 4px;
|
|
height: 14px;
|
|
border-radius: 999px;
|
|
background: var(--mint-primary, #10b981);
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-tenant,
|
|
.console-container .panel-top h2.auto-title-tenant {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-dict,
|
|
.console-container .panel-top h2.auto-title-dict {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-role,
|
|
.console-container .panel-top h2.auto-title-role {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-menu,
|
|
.console-container .panel-top h2.auto-title-menu {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-post,
|
|
.console-container .panel-top h2.auto-title-post {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-unit,
|
|
.console-container .panel-top h2.auto-title-unit {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7L12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-express,
|
|
.console-container .panel-top h2.auto-title-express {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-dept,
|
|
.console-container .panel-top h2.auto-title-dept {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cpath d='m7 15 5-4 5 4'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-list,
|
|
.console-container .panel-top h2.auto-title-list {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container .storage-content-header h3 {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--mint-text);
|
|
|
|
.title-ic {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--mint-primary-bg);
|
|
color: var(--mint-primary-dark);
|
|
border: 1px solid rgba(16, 185, 129, 0.16);
|
|
margin-right: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.title-ic::before {
|
|
content: '';
|
|
width: 14px;
|
|
height: 14px;
|
|
background-color: currentColor;
|
|
opacity: 0.95;
|
|
mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
|
-webkit-mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
|
}
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-operation,
|
|
.console-container .panel-top h2.auto-title-operation {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-location,
|
|
.console-container .panel-top h2.auto-title-location {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.5-7-11a7 7 0 1 1 14 0c0 6.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-user,
|
|
.console-container .panel-top h2.auto-title-user {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-settings,
|
|
.console-container .panel-top h2.auto-title-settings {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-1.5 2.6-0.2-.1a2 2 0 0 0-2.1.4 1.8 1.8 0 0 0-.6 2v.2H9.6v-.2a1.8 1.8 0 0 0-.6-2 2 2 0 0 0-2.1-.4l-.2.1-1.5-2.6.1-.1A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-1.6-1.1H3v-3h.0a1.7 1.7 0 0 0 1.6-1.1 1.7 1.7 0 0 0-.3-1.9l-.1-.1 1.5-2.6.2.1a2 2 0 0 0 2.1-.4 1.8 1.8 0 0 0 .6-2V2h4.8v.2a1.8 1.8 0 0 0 .6 2 2 2 0 0 0 2.1.4l.2-.1 1.5 2.6-.1.1a1.7 1.7 0 0 0-.3 1.9A1.7 1.7 0 0 0 21 10.9h.0v3H21a1.7 1.7 0 0 0-1.6 1.1z'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-category,
|
|
.console-container .panel-top h2.auto-title-category {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-box,
|
|
.console-container .panel-top h2.auto-title-box {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7L12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-receipt,
|
|
.console-container .panel-top h2.auto-title-receipt {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-2-1-2 1-2-1-2 1-2-1-2 1V2z'/%3E%3Cpath d='M8 6h8'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h6'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-file,
|
|
.console-container .panel-top h2.auto-title-file {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-quote,
|
|
.console-container .panel-top h2.auto-title-quote {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H7l-4 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
|
|
}
|
|
.page-container :is(.panel-top h2, .panel-top h3, .storage-content-header h3, .storage-aside__head h2, .user-dept-aside__head h2).auto-title-calc,
|
|
.console-container .panel-top h2.auto-title-calc {
|
|
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M9 6h6'/%3E%3Cpath d='M8 10h2'/%3E%3Cpath d='M14 10h2'/%3E%3Cpath d='M8 14h2'/%3E%3Cpath d='M14 14h2'/%3E%3Cpath d='M8 18h8'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.page-container,
|
|
.console-container {
|
|
.filter-block {
|
|
padding: 12px 16px 10px;
|
|
background: var(--mint-surface);
|
|
border-bottom: 1px solid var(--mint-border);
|
|
}
|
|
|
|
.filter-hint {
|
|
margin: 0 0 8px;
|
|
font-size: 11px;
|
|
color: var(--mint-text-muted);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.filter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px 14px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.filter-actions-row {
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-actions-end,
|
|
.toolbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.list-toolbar,
|
|
.toolbar {
|
|
padding: 0;
|
|
background: var(--mint-table-head);
|
|
border-bottom: 1px solid var(--mint-border);
|
|
}
|
|
|
|
.list-toolbar-row,
|
|
.toolbar {
|
|
padding: 8px 16px;
|
|
gap: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
/* 列表工具栏按钮间距统一由 gap 控制,清除 Element 默认相邻按钮 margin */
|
|
.list-toolbar-row .el-button + .el-button,
|
|
.toolbar .el-button + .el-button,
|
|
.toolbar-right .el-button + .el-button,
|
|
.toolbar-actions .el-button + .el-button,
|
|
.filter-actions-end .el-button + .el-button {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.list-toolbar-selected,
|
|
.toolbar-left {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 36px;
|
|
padding: 0 10px 0 0;
|
|
margin-right: 4px;
|
|
border-right: 1px solid var(--mint-border);
|
|
font-size: 12px;
|
|
color: var(--mint-text-muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sel-num {
|
|
color: var(--mint-primary-dark);
|
|
font-weight: 700;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.list-body {
|
|
border-top: 1px solid var(--mint-border);
|
|
}
|
|
|
|
.list-wrap {
|
|
border-radius: 0 0 var(--mint-radius) var(--mint-radius);
|
|
overflow: visible;
|
|
}
|
|
|
|
.pagination.list-pager-bar,
|
|
.list-footer {
|
|
margin-top: 0;
|
|
padding: 10px 16px 12px;
|
|
border-top: 1px solid var(--mint-border);
|
|
background: var(--mint-surface);
|
|
border-radius: 0 0 var(--mint-radius) var(--mint-radius);
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 0;
|
|
padding: 10px 16px 12px;
|
|
border-top: 1px solid var(--mint-border);
|
|
background: var(--mint-surface);
|
|
}
|
|
|
|
.search-bar {
|
|
background: var(--mint-surface);
|
|
border: 1px solid var(--mint-border);
|
|
border-radius: var(--mint-radius);
|
|
box-shadow: var(--mint-shadow);
|
|
}
|
|
|
|
.detail-hero {
|
|
margin-bottom: 14px;
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--mint-border);
|
|
border-radius: var(--mint-radius);
|
|
background: var(--mint-primary-bg);
|
|
}
|
|
|
|
.detail-hero-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--mint-text);
|
|
}
|
|
|
|
.detail-hero-meta {
|
|
margin-top: 6px;
|
|
color: var(--mint-text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.detail-section {
|
|
border-radius: var(--mint-radius);
|
|
overflow: hidden;
|
|
margin-bottom: 14px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.page-container,
|
|
.console-container {
|
|
.filter-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.page-container,
|
|
.console-container {
|
|
.filter-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.filter-actions-row {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* 弹窗表单栅格(与 docs/web-admin-ui-spec-fresh-mint.md §9.3.1 / §10.3 一致) */
|
|
.form-grid-2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px 20px;
|
|
}
|
|
|
|
.form-grid-3 {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px 16px;
|
|
}
|
|
|
|
.form-grid-4 {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px 14px;
|
|
}
|
|
|
|
.form-grid-5 {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 12px 12px;
|
|
}
|
|
|
|
.form-col-span-2 {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.sort-field {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-tip {
|
|
margin-left: 8px;
|
|
color: var(--mint-text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.form-label-tip {
|
|
margin-left: 4px;
|
|
color: var(--mint-text-muted);
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.form-grid-3 {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.form-grid-4,
|
|
.form-grid-5 {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.form-grid-2,
|
|
.form-grid-3,
|
|
.form-grid-4,
|
|
.form-grid-5 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* 标准 CRUD 弹窗:相对视口上下各保留至少 50px 可视留白,正文区纵向滚动(不占满视口高度) */
|
|
.el-dialog.dialog-form-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: calc(100vh - 100px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.el-dialog.dialog-form-layout .el-dialog__header {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.el-dialog.dialog-form-layout .el-dialog__body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 18px 22px;
|
|
}
|
|
|
|
.el-dialog.dialog-form-layout .el-dialog__footer {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#app-header > div {
|
|
background: var(--mint-surface) !important;
|
|
}
|
|
|
|
#app-header .relative.box-border.flex-b {
|
|
height: 56px !important;
|
|
line-height: 56px !important;
|
|
padding: 0 var(--mint-content-padding);
|
|
}
|
|
|
|
#app-header .flex-c.gap-2\.5 {
|
|
gap: 10px !important;
|
|
}
|
|
|
|
#app-header .flex-b.w-full,
|
|
#app-header .worktab-strip.w-full {
|
|
margin-bottom: 0 !important;
|
|
padding: 0 24px 10px !important;
|
|
}
|
|
|
|
#app-sidebar .layout-sidebar {
|
|
border-right: 1px solid var(--mint-border) !important;
|
|
background: var(--mint-surface);
|
|
}
|
|
|
|
#app-sidebar .menu-left .header {
|
|
height: 56px;
|
|
line-height: 56px;
|
|
border-bottom: 1px solid var(--mint-border);
|
|
}
|