style: refine legacy entry and backoffice density

This commit is contained in:
Codex
2026-07-02 03:16:34 +08:00
parent e6735b58da
commit 2cb025b74f
3 changed files with 199 additions and 59 deletions

View File

@@ -20,22 +20,23 @@
top: 0;
z-index: 28;
display: flex;
gap: 10px;
gap: 8px;
overflow-x: auto;
padding: 14px 16px;
padding: 10px 12px;
border-bottom: 1px solid #e5e7eb;
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.backoffice-mobile-item {
display: flex;
align-items: center;
gap: 7px;
gap: 6px;
flex: 0 0 auto;
min-height: 44px;
padding: 0 12px;
border-radius: 14px;
min-height: 38px;
padding: 0 10px;
border: 1px solid #f1f5f9;
border-radius: 10px;
background: #f8fafc;
color: #64748b;
}
@@ -47,13 +48,13 @@
}
.backoffice-mobile-mark {
font-size: 18px;
font-size: 14px;
font-weight: 900;
}
.backoffice-mobile-text {
font-size: 20px;
font-weight: 780;
font-size: 13px;
font-weight: 820;
white-space: nowrap;
}
@@ -77,6 +78,26 @@
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.backoffice-legacy-main .admin-list,
.backoffice-legacy-main .platform-list {
gap: 8px;
}
.backoffice-legacy-main .admin-row,
.backoffice-legacy-main .platform-row {
padding: 13px 15px;
}
.backoffice-legacy-main .admin-row-main,
.backoffice-legacy-main .platform-row-main {
font-size: 16px;
}
.backoffice-legacy-main .admin-row-meta,
.backoffice-legacy-main .platform-row-meta {
font-size: 13px;
}
.backoffice-legacy-main .admin-header::after,
.backoffice-legacy-main .platform-header::after {
display: none;
@@ -416,6 +437,16 @@
.backoffice-legacy-main .admin-title,
.backoffice-legacy-main .platform-title {
font-size: 30px;
font-size: 24px;
}
.backoffice-legacy-main .admin-subtitle,
.backoffice-legacy-main .platform-subtitle {
font-size: 14px;
}
.backoffice-legacy-main .admin-section,
.backoffice-legacy-main .platform-section {
padding: 14px;
}
}

View File

@@ -1,33 +1,41 @@
.bootstrap-page {
min-height: 100vh;
padding: 56px 28px;
background: var(--tiku-page);
padding: 28px;
background:
linear-gradient(to right, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
linear-gradient(to bottom, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
#f4f6f9;
background-size: 40px 40px;
color: var(--tiku-text);
}
.bootstrap-shell {
position: relative;
display: flex;
min-height: calc(100vh - 112px);
max-width: 720px;
min-height: calc(100vh - 56px);
margin: 0 auto;
flex-direction: column;
justify-content: center;
gap: 18px;
overflow: hidden;
padding: 40px;
border-radius: 32px;
background: linear-gradient(135deg, #1152d4, #3b82f6 62%, #60a5fa);
box-shadow: var(--tiku-shadow-blue);
padding: 44px;
border: 1px solid #f1f5f9;
border-radius: 24px;
background: #fff;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.bootstrap-shell::after {
content: "";
position: absolute;
right: -72px;
bottom: -94px;
width: 280px;
height: 280px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.14);
right: 28px;
top: 32px;
width: 72px;
height: 72px;
border-radius: 18px;
background: linear-gradient(135deg, #1152d4, #60a5fa);
box-shadow: 0 12px 24px rgba(17, 82, 212, 0.2);
}
.eyebrow,
@@ -40,39 +48,65 @@
}
.eyebrow {
color: rgba(255, 255, 255, 0.82);
font-size: 24px;
font-weight: 850;
color: #1152d4;
font-size: 15px;
font-weight: 900;
}
.title {
display: block;
max-width: 620px;
color: #fff;
font-size: 48px;
color: #111827;
font-size: 36px;
font-weight: 950;
line-height: 1.18;
}
.status {
color: rgba(255, 255, 255, 0.8);
font-size: 28px;
color: #64748b;
font-size: 20px;
}
.error {
color: #fecaca;
font-size: 24px;
color: #dc2626;
font-size: 18px;
line-height: 1.5;
}
.primary-button {
width: 240px;
height: 76px;
width: 160px;
height: 48px;
border: 0;
border-radius: 20px;
background: #fff;
color: var(--tiku-primary);
font-size: 28px;
border-radius: 12px;
background: #1e293b;
color: #fff;
font-size: 15px;
font-weight: 900;
line-height: 76px;
line-height: 48px;
}
@media (max-width: 520px) {
.bootstrap-page {
padding: 20px;
}
.bootstrap-shell {
min-height: calc(100vh - 40px);
padding: 30px 24px;
}
.bootstrap-shell::after {
width: 54px;
height: 54px;
border-radius: 14px;
}
.title {
max-width: 260px;
font-size: 31px;
}
.status {
font-size: 18px;
}
}

View File

@@ -5,18 +5,23 @@
}
.login-page {
display: flex;
display: grid;
min-height: 100vh;
flex-direction: column;
justify-content: center;
gap: 24px;
align-content: center;
gap: 20px;
background:
linear-gradient(to right, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
linear-gradient(to bottom, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
#f4f6f9;
background-size: 40px 40px;
}
.login-hero {
position: relative;
overflow: hidden;
min-height: 310px;
padding: 34px 30px;
border-radius: 30px;
border-radius: 24px;
background: linear-gradient(135deg, #1152d4 0%, #2563eb 58%, #60a5fa 100%);
box-shadow: var(--tiku-shadow-blue);
}
@@ -44,10 +49,10 @@
display: flex;
align-items: center;
justify-content: center;
width: 82px;
height: 82px;
border: 4px solid rgba(255, 255, 255, 0.5);
border-radius: 999px;
width: 72px;
height: 72px;
border: 3px solid rgba(255, 255, 255, 0.54);
border-radius: 18px;
background: #fff;
}
@@ -59,9 +64,9 @@
.login-kicker {
display: block;
margin-top: 24px;
margin-top: 22px;
color: rgba(255, 255, 255, 0.82);
font-size: 23px;
font-size: 18px;
font-weight: 850;
}
@@ -69,7 +74,7 @@
display: block;
margin-top: 10px;
color: #fff;
font-size: 48px;
font-size: 42px;
font-weight: 950;
line-height: 1.12;
}
@@ -78,16 +83,35 @@
display: block;
margin-top: 12px;
color: rgba(255, 255, 255, 0.84);
font-size: 25px;
font-size: 21px;
line-height: 1.45;
}
.login-card {
padding: 28px;
border: 1px solid var(--tiku-border);
border-radius: 28px;
padding: 24px;
border: 1px solid #f1f5f9;
border-radius: 16px;
background: #fff;
box-shadow: var(--tiku-shadow);
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.login-card .row-main {
font-size: 25px;
font-weight: 900;
}
.login-card .row-meta {
font-size: 19px;
}
.login-card .toolbar {
align-items: center;
overflow-x: visible;
}
.login-card .toolbar .input {
flex: 1;
min-width: 0;
}
.student-topbar {
@@ -1971,8 +1995,17 @@
}
.region-page .list-row {
min-height: 104px;
padding-right: 56px;
min-height: 112px;
padding: 20px 56px 20px 18px;
border-left: 4px solid #1152d4;
}
.region-page .list-row:nth-child(2n) {
border-left-color: #10b981;
}
.region-page .list-row:nth-child(3n) {
border-left-color: #f59e0b;
}
.region-page .list-row.active {
@@ -2009,6 +2042,44 @@
font-size: 42px;
}
.login-page {
grid-template-columns: minmax(0, 1fr) 430px;
align-items: stretch;
max-width: 1040px;
gap: 0;
padding: 56px;
}
.login-hero {
min-height: 620px;
border-radius: 24px 0 0 24px;
}
.login-title {
margin-top: 12px;
font-size: 48px;
}
.login-card {
justify-content: center;
min-height: 620px;
border-left: 0;
border-radius: 0 24px 24px 0;
padding: 40px;
}
.login-card .input {
height: 52px;
font-size: 15px;
}
.login-card .primary-button,
.login-card .secondary-button {
height: 46px;
font-size: 14px;
line-height: 46px;
}
.student-topbar {
padding: 20px 24px;
border: 1px solid #f1f5f9;
@@ -2105,6 +2176,10 @@
flex: 1 1 150px;
}
.login-card .toolbar .secondary-button {
flex: 0 0 86px;
}
.asset-preview-frame,
.asset-preview-iframe {
min-height: 520px;