forked from wangziqi/gongxue-base
style: refine legacy entry and backoffice density
This commit is contained in:
@@ -20,22 +20,23 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
z-index: 28;
|
z-index: 28;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 8px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
padding: 14px 16px;
|
padding: 10px 12px;
|
||||||
border-bottom: 1px solid #e5e7eb;
|
border-bottom: 1px solid #e5e7eb;
|
||||||
background: rgba(255, 255, 255, 0.96);
|
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 {
|
.backoffice-mobile-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 7px;
|
gap: 6px;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
min-height: 44px;
|
min-height: 38px;
|
||||||
padding: 0 12px;
|
padding: 0 10px;
|
||||||
border-radius: 14px;
|
border: 1px solid #f1f5f9;
|
||||||
|
border-radius: 10px;
|
||||||
background: #f8fafc;
|
background: #f8fafc;
|
||||||
color: #64748b;
|
color: #64748b;
|
||||||
}
|
}
|
||||||
@@ -47,13 +48,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.backoffice-mobile-mark {
|
.backoffice-mobile-mark {
|
||||||
font-size: 18px;
|
font-size: 14px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
.backoffice-mobile-text {
|
.backoffice-mobile-text {
|
||||||
font-size: 20px;
|
font-size: 13px;
|
||||||
font-weight: 780;
|
font-weight: 820;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,6 +78,26 @@
|
|||||||
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
|
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 .admin-header::after,
|
||||||
.backoffice-legacy-main .platform-header::after {
|
.backoffice-legacy-main .platform-header::after {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -416,6 +437,16 @@
|
|||||||
|
|
||||||
.backoffice-legacy-main .admin-title,
|
.backoffice-legacy-main .admin-title,
|
||||||
.backoffice-legacy-main .platform-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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,33 +1,41 @@
|
|||||||
.bootstrap-page {
|
.bootstrap-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding: 56px 28px;
|
padding: 28px;
|
||||||
background: var(--tiku-page);
|
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);
|
color: var(--tiku-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bootstrap-shell {
|
.bootstrap-shell {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: calc(100vh - 112px);
|
max-width: 720px;
|
||||||
|
min-height: calc(100vh - 56px);
|
||||||
|
margin: 0 auto;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 18px;
|
gap: 18px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 40px;
|
padding: 44px;
|
||||||
border-radius: 32px;
|
border: 1px solid #f1f5f9;
|
||||||
background: linear-gradient(135deg, #1152d4, #3b82f6 62%, #60a5fa);
|
border-radius: 24px;
|
||||||
box-shadow: var(--tiku-shadow-blue);
|
background: #fff;
|
||||||
|
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bootstrap-shell::after {
|
.bootstrap-shell::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -72px;
|
right: 28px;
|
||||||
bottom: -94px;
|
top: 32px;
|
||||||
width: 280px;
|
width: 72px;
|
||||||
height: 280px;
|
height: 72px;
|
||||||
border-radius: 999px;
|
border-radius: 18px;
|
||||||
background: rgba(255, 255, 255, 0.14);
|
background: linear-gradient(135deg, #1152d4, #60a5fa);
|
||||||
|
box-shadow: 0 12px 24px rgba(17, 82, 212, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.eyebrow,
|
.eyebrow,
|
||||||
@@ -40,39 +48,65 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.eyebrow {
|
.eyebrow {
|
||||||
color: rgba(255, 255, 255, 0.82);
|
color: #1152d4;
|
||||||
font-size: 24px;
|
font-size: 15px;
|
||||||
font-weight: 850;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 620px;
|
max-width: 620px;
|
||||||
color: #fff;
|
color: #111827;
|
||||||
font-size: 48px;
|
font-size: 36px;
|
||||||
font-weight: 950;
|
font-weight: 950;
|
||||||
line-height: 1.18;
|
line-height: 1.18;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
color: rgba(255, 255, 255, 0.8);
|
color: #64748b;
|
||||||
font-size: 28px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
color: #fecaca;
|
color: #dc2626;
|
||||||
font-size: 24px;
|
font-size: 18px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-button {
|
.primary-button {
|
||||||
width: 240px;
|
width: 160px;
|
||||||
height: 76px;
|
height: 48px;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 20px;
|
border-radius: 12px;
|
||||||
background: #fff;
|
background: #1e293b;
|
||||||
color: var(--tiku-primary);
|
color: #fff;
|
||||||
font-size: 28px;
|
font-size: 15px;
|
||||||
font-weight: 900;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,18 +5,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-page {
|
.login-page {
|
||||||
display: flex;
|
display: grid;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
flex-direction: column;
|
align-content: center;
|
||||||
justify-content: center;
|
gap: 20px;
|
||||||
gap: 24px;
|
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 {
|
.login-hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
min-height: 310px;
|
||||||
padding: 34px 30px;
|
padding: 34px 30px;
|
||||||
border-radius: 30px;
|
border-radius: 24px;
|
||||||
background: linear-gradient(135deg, #1152d4 0%, #2563eb 58%, #60a5fa 100%);
|
background: linear-gradient(135deg, #1152d4 0%, #2563eb 58%, #60a5fa 100%);
|
||||||
box-shadow: var(--tiku-shadow-blue);
|
box-shadow: var(--tiku-shadow-blue);
|
||||||
}
|
}
|
||||||
@@ -44,10 +49,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 82px;
|
width: 72px;
|
||||||
height: 82px;
|
height: 72px;
|
||||||
border: 4px solid rgba(255, 255, 255, 0.5);
|
border: 3px solid rgba(255, 255, 255, 0.54);
|
||||||
border-radius: 999px;
|
border-radius: 18px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,9 +64,9 @@
|
|||||||
|
|
||||||
.login-kicker {
|
.login-kicker {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 24px;
|
margin-top: 22px;
|
||||||
color: rgba(255, 255, 255, 0.82);
|
color: rgba(255, 255, 255, 0.82);
|
||||||
font-size: 23px;
|
font-size: 18px;
|
||||||
font-weight: 850;
|
font-weight: 850;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,7 +74,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 48px;
|
font-size: 42px;
|
||||||
font-weight: 950;
|
font-weight: 950;
|
||||||
line-height: 1.12;
|
line-height: 1.12;
|
||||||
}
|
}
|
||||||
@@ -78,16 +83,35 @@
|
|||||||
display: block;
|
display: block;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
color: rgba(255, 255, 255, 0.84);
|
color: rgba(255, 255, 255, 0.84);
|
||||||
font-size: 25px;
|
font-size: 21px;
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-card {
|
.login-card {
|
||||||
padding: 28px;
|
padding: 24px;
|
||||||
border: 1px solid var(--tiku-border);
|
border: 1px solid #f1f5f9;
|
||||||
border-radius: 28px;
|
border-radius: 16px;
|
||||||
background: #fff;
|
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 {
|
.student-topbar {
|
||||||
@@ -1971,8 +1995,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.region-page .list-row {
|
.region-page .list-row {
|
||||||
min-height: 104px;
|
min-height: 112px;
|
||||||
padding-right: 56px;
|
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 {
|
.region-page .list-row.active {
|
||||||
@@ -2009,6 +2042,44 @@
|
|||||||
font-size: 42px;
|
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 {
|
.student-topbar {
|
||||||
padding: 20px 24px;
|
padding: 20px 24px;
|
||||||
border: 1px solid #f1f5f9;
|
border: 1px solid #f1f5f9;
|
||||||
@@ -2105,6 +2176,10 @@
|
|||||||
flex: 1 1 150px;
|
flex: 1 1 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login-card .toolbar .secondary-button {
|
||||||
|
flex: 0 0 86px;
|
||||||
|
}
|
||||||
|
|
||||||
.asset-preview-frame,
|
.asset-preview-frame,
|
||||||
.asset-preview-iframe {
|
.asset-preview-iframe {
|
||||||
min-height: 520px;
|
min-height: 520px;
|
||||||
|
|||||||
Reference in New Issue
Block a user