style: refine legacy Taro page layouts

This commit is contained in:
Codex
2026-07-02 02:00:15 +08:00
parent 685856e02e
commit b0e08acd8d
3 changed files with 211 additions and 4 deletions

View File

@@ -68,6 +68,16 @@
padding-bottom: 6px;
}
.platform-shell > .platform-actions,
.platform-shell > .platform-tabs,
.platform-section > .platform-actions:first-child {
padding: 14px;
border: 1px solid var(--tiku-border);
border-radius: 24px;
background: #fff;
box-shadow: var(--tiku-shadow);
}
.platform-button,
.platform-mini-button {
border: 1px solid var(--tiku-border);
@@ -148,6 +158,11 @@
.platform-section {
margin-top: 4px;
padding: 24px;
border: 1px solid var(--tiku-border);
border-radius: 28px;
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.platform-section-title {
@@ -172,6 +187,18 @@
box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}
.platform-row:nth-child(4n + 1) {
border-color: #dbeafe;
}
.platform-row:nth-child(4n + 2) {
border-color: #dcfce7;
}
.platform-row:nth-child(4n + 3) {
border-color: #fae8ff;
}
.platform-module-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -270,6 +297,10 @@
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin-bottom: 14px;
padding: 16px;
border: 1px solid var(--tiku-border);
border-radius: 22px;
background: #f8fafc;
}
.platform-form.compact {
@@ -296,7 +327,8 @@
display: flex;
gap: 10px;
margin-top: 14px;
overflow-x: auto;
flex-wrap: wrap;
overflow-x: visible;
}
.platform-permission-panel {
@@ -369,7 +401,7 @@
@media (min-width: 980px) {
.platform-page {
max-width: 1180px;
max-width: 1240px;
margin: 0 auto;
padding: 38px;
}
@@ -397,6 +429,14 @@
.platform-module-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.platform-section .platform-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.platform-permission-panel {
padding: 22px;
}
}
@media (max-width: 520px) {
@@ -414,4 +454,23 @@
.platform-title {
font-size: 34px;
}
.platform-section {
padding: 18px;
border-radius: 24px;
}
.platform-actions,
.platform-tabs,
.platform-row-actions,
.platform-permission-header {
flex-wrap: wrap;
overflow-x: visible;
}
.platform-button,
.platform-mini-button {
min-width: 0;
flex: 1 1 138px;
}
}