feat(ui): adopt Deni application shell and shared page styling
This commit is contained in:
1 parent
ec918674ee
commit
15a44b7314
3 files changed
+1337
-1386
No files matched your search
@@ -0,0 +1,594 @@
|
||||
/*
|
||||
* Deni shell adapted from OpenVue Foundation Deni (MIT), commit
|
||||
* 72156473d5f73a26f97d35aa5fed3a96059779ef:
|
||||
* src/assets/styles/_layout.scss, _sidebar.scss, _topbar.scss.
|
||||
* Nuxt route slots, measured maintenance offset and accessible mobile focus remain local.
|
||||
*/
|
||||
.deni-layout {
|
||||
min-height: 100dvh;
|
||||
padding-top: var(--console-banner-height, 0px);
|
||||
background: var(--deni-ground);
|
||||
}
|
||||
.deni-layout .layout-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: calc(100dvh - var(--console-banner-height, 0px));
|
||||
margin-left: var(--deni-sidebar-width);
|
||||
}
|
||||
.deni-layout .layout-content {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: var(--deni-content-max);
|
||||
margin: 0 auto;
|
||||
padding: 24px 32px 48px;
|
||||
}
|
||||
.deni-layout .layout-content:focus {
|
||||
outline: none;
|
||||
}
|
||||
.deni-layout .maintenance-banner {
|
||||
position: fixed;
|
||||
inset: 0 0 auto;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
min-height: 38px;
|
||||
max-height: 40dvh;
|
||||
padding: 8px 14px;
|
||||
overflow-y: auto;
|
||||
background: var(--p-yellow-100);
|
||||
color: var(--p-yellow-900);
|
||||
}
|
||||
.deni-layout .maintenance-banner > span {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.deni-layout .maintenance-banner > .iconify {
|
||||
flex-shrink: 0;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.app-dark .deni-layout .maintenance-banner {
|
||||
background: var(--p-yellow-950);
|
||||
color: var(--p-yellow-200);
|
||||
}
|
||||
.deni-layout .sidebar {
|
||||
--deni-menu-active-background: var(--p-primary-50);
|
||||
--deni-menu-active-color: var(--p-text-color);
|
||||
--deni-menu-active-accent: var(--p-primary-600);
|
||||
--deni-menu-sub-active-color: var(--p-primary-700);
|
||||
position: fixed;
|
||||
top: var(--console-banner-height, 0px);
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 950;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: var(--deni-sidebar-width);
|
||||
background: var(--deni-panel);
|
||||
border-right: 1px solid var(--p-content-border-color);
|
||||
transition: transform var(--deni-transition);
|
||||
}
|
||||
.app-dark .deni-layout .sidebar {
|
||||
--deni-menu-active-background: color-mix(
|
||||
in srgb,
|
||||
var(--p-primary-color) 16%,
|
||||
transparent
|
||||
);
|
||||
--deni-menu-active-color: var(--p-primary-300);
|
||||
--deni-menu-active-accent: var(--p-primary-300);
|
||||
--deni-menu-sub-active-color: var(--p-primary-300);
|
||||
}
|
||||
.deni-layout .sidebar-brand {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
height: var(--deni-topbar-height);
|
||||
padding: 0 16px;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
}
|
||||
.deni-layout .brand,
|
||||
.deni-layout .mobile-brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
.deni-layout .brand-logo {
|
||||
display: block;
|
||||
width: 148px;
|
||||
height: auto;
|
||||
max-height: 32px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.deni-layout .sidebar-nav {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
padding: 12px 10px 20px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.deni-layout .sidebar-section + .sidebar-section {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.deni-layout .sidebar-section-label {
|
||||
margin: 0;
|
||||
padding: 0 8px 6px;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.deni-layout .sidebar-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
}
|
||||
.deni-layout .nav-item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
min-height: 36px;
|
||||
padding: 7px 10px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--p-text-color);
|
||||
font: inherit;
|
||||
font-size: 13.5px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background var(--deni-transition),
|
||||
color var(--deni-transition);
|
||||
}
|
||||
.deni-layout .nav-item:hover,
|
||||
.deni-layout .sub-item:hover {
|
||||
background: var(--deni-hover);
|
||||
text-decoration: none;
|
||||
}
|
||||
.deni-layout .nav-item:focus-visible {
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.deni-layout .nav-item.active:not(button),
|
||||
.deni-layout .nav-item.router-link-exact-active {
|
||||
background: var(--deni-menu-active-background);
|
||||
color: var(--deni-menu-active-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
.deni-layout .nav-item.active:not(button)::before {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
bottom: 6px;
|
||||
left: -10px;
|
||||
width: 2px;
|
||||
border-radius: 0 2px 2px 0;
|
||||
background: var(--p-primary-color);
|
||||
content: "";
|
||||
}
|
||||
.deni-layout .nav-icon {
|
||||
flex: 0 0 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
.deni-layout .nav-item.active .nav-icon {
|
||||
color: var(--deni-menu-active-accent);
|
||||
}
|
||||
.deni-layout .nav-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.deni-layout .nav-unavailable {
|
||||
color: var(--p-text-muted-color);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.deni-layout .nav-arrow {
|
||||
flex-shrink: 0;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-left: auto;
|
||||
transition: transform var(--deni-transition);
|
||||
}
|
||||
.deni-layout .nav-arrow.open {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
/* 已有后台递归菜单的 i 图标朝下,静态 Deni 菜单的 Lucide 图标朝右。 */
|
||||
.deni-layout i.nav-arrow {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
.deni-layout i.nav-arrow.open {
|
||||
transform: rotate(0);
|
||||
}
|
||||
.deni-layout .sub-nav {
|
||||
display: grid;
|
||||
grid-template-rows: 0fr;
|
||||
transition: grid-template-rows var(--deni-transition);
|
||||
}
|
||||
.deni-layout .sub-nav.open {
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
.deni-layout .sub-nav-clip {
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.deni-layout .sub-nav-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
margin: 1px 0 1px 19px;
|
||||
padding-left: 10px;
|
||||
border-left: 1px solid var(--p-content-border-color);
|
||||
}
|
||||
.deni-layout .sub-item {
|
||||
display: block;
|
||||
padding: 6px 10px;
|
||||
border-radius: 4px;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 13px;
|
||||
text-decoration: none;
|
||||
transition:
|
||||
background var(--deni-transition),
|
||||
color var(--deni-transition);
|
||||
}
|
||||
.deni-layout .sub-item.active {
|
||||
color: var(--deni-menu-sub-active-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
.deni-layout .sidebar-footer {
|
||||
flex: 0 0 auto;
|
||||
padding: 10px;
|
||||
border-top: 1px solid var(--p-content-border-color);
|
||||
}
|
||||
.deni-layout .sidebar-account {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
color: var(--p-text-color);
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
.deni-layout .sidebar-account:hover,
|
||||
.deni-layout .topbar-user:hover,
|
||||
.deni-layout .topbar-action:hover,
|
||||
.deni-layout .nav-close:hover {
|
||||
background: var(--deni-hover);
|
||||
}
|
||||
.deni-layout .sidebar-account-text {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.deni-layout .sidebar-account-name {
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.deni-layout .sidebar-account-id {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 12px;
|
||||
}
|
||||
.deni-layout .sidebar-account > .iconify {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
.deni-layout .topbar {
|
||||
position: sticky;
|
||||
top: var(--console-banner-height, 0px);
|
||||
z-index: 800;
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
height: var(--deni-topbar-height);
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
background: var(--deni-panel);
|
||||
}
|
||||
.deni-layout .topbar-left,
|
||||
.deni-layout .topbar-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.deni-layout .topbar-left {
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
.deni-layout .topbar-right {
|
||||
flex-shrink: 0;
|
||||
gap: 4px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.deni-layout .topbar-action,
|
||||
.deni-layout .nav-close {
|
||||
display: inline-flex;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
color: var(--p-text-muted-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
.deni-layout .topbar-action > .iconify,
|
||||
.deni-layout .nav-close > .iconify {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.deni-layout .nav-close {
|
||||
margin-left: auto;
|
||||
}
|
||||
.deni-layout .nav-toggle,
|
||||
.deni-layout .mobile-brand,
|
||||
.deni-layout .nav-close {
|
||||
display: none;
|
||||
}
|
||||
.deni-layout .topbar-divider {
|
||||
width: 1px;
|
||||
height: 20px;
|
||||
margin: 0 6px;
|
||||
background: var(--p-content-border-color);
|
||||
}
|
||||
.deni-layout .topbar-user {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
padding: 4px 8px 4px 4px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--p-text-color);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.deni-layout .topbar-user-name {
|
||||
max-width: 160px;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.deni-layout .topbar-user > .iconify {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
.deni-layout .crumbs {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
}
|
||||
.deni-layout .crumb-home {
|
||||
display: inline-flex;
|
||||
flex-shrink: 0;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
.deni-layout .crumb-home > .iconify {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.deni-layout .crumb-sep {
|
||||
flex-shrink: 0;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
.deni-layout .crumb {
|
||||
color: var(--p-text-muted-color);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.deni-layout .crumb.current {
|
||||
overflow: hidden;
|
||||
color: var(--p-text-color);
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.deni-layout .mail-btn {
|
||||
position: relative;
|
||||
}
|
||||
.deni-layout .mail-badge {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
font-size: 10px;
|
||||
line-height: 18px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.deni-layout .layout-mask {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 900;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: var(--deni-mask);
|
||||
cursor: pointer;
|
||||
}
|
||||
.deni-layout .skip-link {
|
||||
position: fixed;
|
||||
top: 8px;
|
||||
left: 14px;
|
||||
z-index: 1100;
|
||||
padding: 12px 18px;
|
||||
border-radius: 4px;
|
||||
background: var(--p-primary-color);
|
||||
color: var(--p-primary-contrast-color);
|
||||
text-decoration: none;
|
||||
transform: translateY(-160%);
|
||||
}
|
||||
.deni-layout .skip-link:focus {
|
||||
transform: translateY(0);
|
||||
}
|
||||
/* Dialog 内容会 Teleport 到 body;这些规则不依赖布局祖先。 */
|
||||
.mail-pop {
|
||||
width: 100%;
|
||||
}
|
||||
.mail-pop-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: 360px;
|
||||
overflow: auto;
|
||||
}
|
||||
.mail-pop-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
background: transparent;
|
||||
color: var(--p-text-color);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mail-pop-item:hover {
|
||||
background: var(--deni-hover);
|
||||
}
|
||||
.mail-pop-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
.mail-pop-dot {
|
||||
flex-shrink: 0;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--p-primary-color);
|
||||
}
|
||||
.mail-pop-time {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 12px;
|
||||
}
|
||||
.mail-pop-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 7px;
|
||||
min-height: 280px;
|
||||
text-align: center;
|
||||
}
|
||||
.mail-pop-empty > .iconify {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin-bottom: 12px;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
.mail-pop-empty strong {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.mail-pop-empty > span {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 13px;
|
||||
}
|
||||
.mail-pop-foot {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--p-primary-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.deni-layout .layout-main {
|
||||
margin-left: 0;
|
||||
}
|
||||
.deni-layout .layout-content {
|
||||
padding: 20px 20px 40px;
|
||||
}
|
||||
.deni-layout .sidebar {
|
||||
max-width: calc(100vw - 32px);
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
.deni-layout.layout-overlay-open .sidebar {
|
||||
transform: translateX(0);
|
||||
}
|
||||
.deni-layout .nav-toggle,
|
||||
.deni-layout .nav-close,
|
||||
.deni-layout .mobile-brand {
|
||||
display: inline-flex;
|
||||
}
|
||||
.deni-layout .crumbs {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.deni-layout .topbar {
|
||||
padding: 0 12px;
|
||||
}
|
||||
.deni-layout .topbar-left {
|
||||
gap: 8px;
|
||||
}
|
||||
.deni-layout .mobile-brand .brand-logo {
|
||||
width: 120px;
|
||||
}
|
||||
.deni-layout .topbar-user {
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
padding: 0;
|
||||
}
|
||||
.deni-layout .topbar-user-name,
|
||||
.deni-layout .topbar-user > .iconify,
|
||||
.deni-layout .topbar-divider {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 360px) {
|
||||
.deni-layout .mobile-brand .brand-logo {
|
||||
width: 96px;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
.deni-layout {
|
||||
min-height: 0;
|
||||
padding-top: 0;
|
||||
background: white;
|
||||
}
|
||||
.deni-layout .sidebar,
|
||||
.deni-layout .topbar,
|
||||
.deni-layout .layout-mask,
|
||||
.deni-layout .maintenance-banner,
|
||||
.deni-layout .skip-link {
|
||||
display: none !important;
|
||||
}
|
||||
.deni-layout .layout-main {
|
||||
min-height: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
.deni-layout .layout-content {
|
||||
max-width: none;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@@ -1133,21 +1133,29 @@
|
||||
.pi-spinner:before {
|
||||
content: "";
|
||||
}
|
||||
/* 全局设计变量在这里定义;业务样式通过变量读取主题,不应逐组件硬编码一套颜色。 */
|
||||
/* Deni _base.scss 的全站语义;业务既有变量统一读取同一套 token。 */
|
||||
:root {
|
||||
--console-page-bg: #f8fafc;
|
||||
--console-panel-bg: #fff;
|
||||
--console-panel-border: #e2e8f0;
|
||||
--console-panel-shadow: 0 1px 2px #0000001a, 0 1px 3px #0000001a;
|
||||
--page-title-size: 1.25rem;
|
||||
--deni-sidebar-width: 248px;
|
||||
--deni-topbar-height: 56px;
|
||||
--deni-content-max: 1440px;
|
||||
--deni-transition: 140ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--deni-panel: var(--p-content-background);
|
||||
--deni-hover: var(--p-content-hover-background);
|
||||
--deni-ground: var(--p-surface-50);
|
||||
--deni-mask: color-mix(in srgb, var(--p-surface-900) 40%, transparent);
|
||||
--console-page-bg: var(--deni-ground);
|
||||
--console-panel-bg: var(--deni-panel);
|
||||
--console-panel-border: var(--p-content-border-color);
|
||||
--console-panel-shadow: none;
|
||||
--page-title-size: 20px;
|
||||
--font-mono:
|
||||
ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo,
|
||||
"HarmonyOS Sans SC", monospace;
|
||||
--radius-sm: 4px;
|
||||
--radius-md: 6px;
|
||||
--radius-lg: 10px;
|
||||
--radius-lg: 6px;
|
||||
color: var(--p-text-color, #23324d);
|
||||
background: var(--p-content-background, #fff);
|
||||
background: var(--deni-ground);
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizelegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -1160,7 +1168,7 @@
|
||||
Segoe UI Emoji,
|
||||
Segoe UI Symbol,
|
||||
Noto Color Emoji;
|
||||
font-size: 81.25%;
|
||||
font-size: 87.5%;
|
||||
line-height: 1.5;
|
||||
}
|
||||
*,
|
||||
@@ -1270,9 +1278,7 @@ video {
|
||||
}
|
||||
}
|
||||
.app-dark {
|
||||
--console-page-bg: #09090b;
|
||||
--console-panel-bg: #18181b;
|
||||
--console-panel-border: #3f3f46;
|
||||
--deni-ground: var(--p-surface-950);
|
||||
}
|
||||
.app-dark img[src$="/images/brand/logo.png"] {
|
||||
filter: brightness(2.5);
|
||||
@@ -1858,17 +1864,17 @@ video {
|
||||
.config-page > .config-loading-shell {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
/* 以下为业务列表共享外壳;查询、空态、表格与分页需要一起维持窄屏可用性。 */
|
||||
/* Deni _page.scss 的标题、panel、toolbar、empty-state 规则适配已有业务结构。 */
|
||||
.list-page {
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
gap: 16px;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
.list-head {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
min-height: 38px;
|
||||
display: flex;
|
||||
@@ -1877,7 +1883,8 @@ video {
|
||||
color: var(--p-text-color);
|
||||
margin: 0;
|
||||
font-size: var(--page-title-size);
|
||||
font-weight: 600;
|
||||
font-weight: 650;
|
||||
letter-spacing: -0.015em;
|
||||
}
|
||||
.list-head-actions {
|
||||
flex-shrink: 0;
|
||||
@@ -1889,7 +1896,7 @@ video {
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
gap: 8px;
|
||||
display: flex;
|
||||
}
|
||||
.host-list-page .list-toolbar {
|
||||
@@ -1947,13 +1954,12 @@ video {
|
||||
width: 280px;
|
||||
}
|
||||
.list-table {
|
||||
background: var(--p-content-background);
|
||||
background: var(--deni-panel);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: var(--radius-md);
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 3px #00000014;
|
||||
}
|
||||
.list-table:has(.p-datatable-mask):has(.p-datatable-empty-message) {
|
||||
min-height: 100dvh;
|
||||
@@ -1967,7 +1973,7 @@ video {
|
||||
.list-table .p-datatable-header-cell,
|
||||
.list-table .p-datatable-tbody > tr > td {
|
||||
border-color: var(--p-content-border-color);
|
||||
padding: 18px 14px;
|
||||
padding: 12px 16px;
|
||||
}
|
||||
.list-table .p-tag,
|
||||
.list-table .p-tag-label {
|
||||
@@ -1994,22 +2000,29 @@ video {
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 56px 20px;
|
||||
gap: 6px;
|
||||
padding: 48px 24px;
|
||||
display: flex;
|
||||
}
|
||||
.list-empty > i {
|
||||
opacity: 0.5;
|
||||
font-size: 2.375rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-bottom: 6px;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.list-empty-title {
|
||||
color: var(--p-text-color);
|
||||
font-size: 1.0625rem;
|
||||
font-size: 14px;
|
||||
font-weight: 650;
|
||||
}
|
||||
.list-empty-desc {
|
||||
max-width: 42em;
|
||||
max-width: 380px;
|
||||
margin: 0;
|
||||
font-size: 0.9375rem;
|
||||
font-size: 13px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
.list-foot {
|
||||
@@ -2260,28 +2273,28 @@ video {
|
||||
min-height: 272px;
|
||||
}
|
||||
.home-card {
|
||||
background: var(--p-content-background);
|
||||
background: var(--deni-panel);
|
||||
border: 1px solid var(--p-content-border-color, #e2e8f0);
|
||||
border-radius: var(--radius-md);
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 1px 3px #0000001a;
|
||||
}
|
||||
.home-card-head {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-height: 50px;
|
||||
padding: 0 14px;
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
display: flex;
|
||||
}
|
||||
.home-card-title {
|
||||
color: var(--p-text-color, #334155);
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
font-weight: 650;
|
||||
display: flex;
|
||||
}
|
||||
.home-card-more,
|
||||
@@ -2302,13 +2315,13 @@ video {
|
||||
color: var(--p-primary-color);
|
||||
}
|
||||
.home-card-body {
|
||||
padding: 14px;
|
||||
padding: 16px;
|
||||
}
|
||||
.home-card-foot {
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
margin-top: auto;
|
||||
padding: 14px;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
}
|
||||
.home-card-foot > * {
|
||||
|
||||
+697
-1353
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user