feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 9fc5fd212d
commit 28e924e371
242 changed files with 9242 additions and 5043 deletions
+72 -12
View File
@@ -1,16 +1,10 @@
.website-settings-page {
--website-insights-footer-gap: 18px;
display: flex;
flex-direction: column;
box-sizing: border-box;
/* Match Settings: 24px layout padding + 8px page padding on each side. */
padding-inline: 32px;
min-height: calc(100vh - var(--content-top-offset, 0px));
min-height: calc(100dvh - var(--content-top-offset, 0px));
/* PageLayout already inserts the marquee spacer above this page. */
padding-top: calc(
var(--app-header-height, 64px) - var(--content-top-offset, 0px) + 20px
);
padding-bottom: 20px;
min-width: 0;
padding: 0;
}
.website-settings-page .website-settings-card {
@@ -18,8 +12,43 @@
min-height: 100%;
}
.website-settings-page .website-settings-card.ant-card > .ant-card-body {
padding-top: 8px;
}
.website-settings-page .website-settings-card--error.ant-card > .ant-card-body {
padding-top: 24px;
}
.website-settings-page .website-insights-categories > .ant-card-head,
.website-settings-page .website-insights-categories > .ant-card-body {
padding-inline: 18px;
}
.website-settings-page .website-insights-category-heading {
margin: 0;
line-height: 24px;
}
.website-insights {
min-width: 0;
padding-bottom: var(--website-insights-footer-gap, 18px);
}
.website-insights-row-actions {
display: flex;
align-items: center;
gap: 6px;
}
.website-insights-row-actions .ant-btn {
height: auto;
padding: 0 4px;
font-size: 13px;
}
.website-settings-page .website-research-ratio-hint {
opacity: 0.9;
}
.website-settings-page .website-settings-tab-description {
@@ -100,10 +129,28 @@
}
.website-insights-toolbar {
flex-wrap: wrap;
flex-wrap: nowrap;
justify-content: space-between;
margin-bottom: 16px;
}
.website-settings-page .website-insights-search-field {
flex: 0 1 310px;
width: 310px;
min-width: 0;
}
.website-settings-page .website-insights-search {
width: 100%;
}
.website-insights-toolbar-actions {
display: flex;
align-items: center;
flex-shrink: 0;
gap: 8px;
}
.website-insights-article-meta {
display: grid;
gap: 4px;
@@ -195,9 +242,22 @@
}
@media (max-width: 767px) {
.website-insights-toolbar {
flex-wrap: wrap;
}
.website-settings-page .website-insights-search-field {
flex-basis: 100%;
width: 100%;
}
.website-insights-toolbar-actions {
justify-content: flex-end;
width: 100%;
}
.website-settings-page {
/* Match the shared mobile layout's 5px plus the page's 8px. */
padding-inline: 13px;
padding: 0;
}
.website-insights-editor-layout {