style: 批量工具页面样式参数回调至原型基线
All checks were successful
Build and Deploy TenantUI / build-and-deploy (push) Successful in 51s

This commit is contained in:
2026-02-26 13:32:35 +08:00
parent 08d8a0e94c
commit 97e833d8d8
3 changed files with 32 additions and 30 deletions

View File

@@ -2,61 +2,60 @@
.pbt-grid { .pbt-grid {
display: grid; display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px; gap: 16px;
} }
.pbt-card { .pbt-card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 12px; gap: 10px;
min-height: 178px; min-height: 172px;
padding: 20px 22px 18px; padding: 20px 24px;
background: #fff; background: #fff;
border: 1px solid #e5eaf3; border: 1px solid #f0f0f0;
border-radius: 14px; border-radius: 10px;
box-shadow: 0 1px 2px rgb(17 24 39 / 3%); box-shadow: var(--pbt-shadow-sm);
transition: var(--pbt-transition); transition: var(--pbt-transition);
} }
.pbt-card:hover, .pbt-card:hover,
.pbt-card.active { .pbt-card.active {
border-color: #c7dbff; border-color: #e5e7eb;
box-shadow: 0 8px 24px rgb(22 119 255 / 10%); box-shadow: var(--pbt-shadow-md);
transform: translateY(-2px);
} }
.pbt-card-icon { .pbt-card-icon {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 36px; width: 40px;
height: 36px; height: 40px;
font-size: 18px; margin-bottom: 2px;
font-size: 20px;
border-radius: 10px; border-radius: 10px;
} }
.pbt-card-name { .pbt-card-name {
margin: 0; margin: 0;
font-size: 24px; font-size: 15px;
font-weight: 700; font-weight: 600;
line-height: 1.25; color: #1a1a2e;
color: #111827;
} }
.pbt-card-desc { .pbt-card-desc {
margin: 0; margin: 0;
min-height: 28px; min-height: 40px;
font-size: 15px; font-size: 13px;
line-height: 1.4; line-height: 1.5;
color: #6b7280; color: #9ca3af;
} }
.pbt-card-action { .pbt-card-action {
height: 36px; height: 34px;
margin-top: auto; margin-top: auto;
font-size: 15px; font-size: 13px;
font-weight: 600; font-weight: 600;
border-radius: 8px; border-radius: 6px;
} }
.pbt-card.is-orange .pbt-card-icon { .pbt-card.is-orange .pbt-card-icon {

View File

@@ -3,20 +3,24 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16px; gap: 16px;
max-width: 1180px; max-width: 1120px;
} }
.pbt-toolbar-card { .pbt-toolbar-card {
border-radius: 12px; border-radius: 10px;
box-shadow: var(--pbt-shadow-sm); box-shadow: var(--pbt-shadow-sm);
} }
.pbt-toolbar-card .ant-card-body {
padding: 12px 16px;
}
.pbt-toolbar-card .store-scope-toolbar { .pbt-toolbar-card .store-scope-toolbar {
gap: 14px; gap: 12px;
} }
.pbt-toolbar-card .store-scope-selector { .pbt-toolbar-card .store-scope-selector {
width: 300px; width: 240px;
} }
.pbt-toolbar-card .store-scope-spacer { .pbt-toolbar-card .store-scope-spacer {
@@ -26,7 +30,7 @@
.pbt-toolbar-tip { .pbt-toolbar-tip {
font-size: 13px; font-size: 13px;
color: #9ca3af; color: #9ca3af;
white-space: nowrap; line-height: 1.4;
} }
.pbt-empty-wrap { .pbt-empty-wrap {

View File

@@ -14,7 +14,6 @@
.pbt-toolbar-tip { .pbt-toolbar-tip {
width: 100%; width: 100%;
white-space: normal;
} }
.pbt-actions { .pbt-actions {