forked from wangziqi/gongxue-base
style: refine legacy Taro page layouts
This commit is contained in:
@@ -208,6 +208,11 @@
|
||||
box-shadow: var(--tiku-shadow);
|
||||
}
|
||||
|
||||
.student-page > .quiet-panel:first-of-type:not(.login-card) {
|
||||
border-color: #bfdbfe;
|
||||
background: linear-gradient(135deg, #eff6ff 0%, #fff 72%);
|
||||
}
|
||||
|
||||
.list-stack > .quiet-panel:first-child {
|
||||
border-radius: 28px;
|
||||
}
|
||||
@@ -231,6 +236,11 @@
|
||||
box-shadow: var(--tiku-shadow);
|
||||
}
|
||||
|
||||
.report-panel .metric,
|
||||
.quiet-panel .metric {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.learning-report-panel {
|
||||
background: #f8fbff;
|
||||
}
|
||||
@@ -359,6 +369,18 @@
|
||||
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
|
||||
}
|
||||
|
||||
.list-row:nth-child(3n + 1) {
|
||||
border-color: #dbeafe;
|
||||
}
|
||||
|
||||
.list-row:nth-child(3n + 2) {
|
||||
border-color: #dcfce7;
|
||||
}
|
||||
|
||||
.list-row:nth-child(3n) {
|
||||
border-color: #fef3c7;
|
||||
}
|
||||
|
||||
.list-row.active {
|
||||
border-color: var(--tiku-primary);
|
||||
background: var(--tiku-primary-soft);
|
||||
@@ -569,6 +591,12 @@
|
||||
background: #0f172a;
|
||||
}
|
||||
|
||||
.student-page .toolbar + .quiet-panel,
|
||||
.student-page .toolbar + .report-panel,
|
||||
.student-page .section-block + .quiet-panel {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.checkout-toolbar {
|
||||
align-items: center;
|
||||
overflow-x: visible;
|
||||
@@ -857,6 +885,15 @@
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.student-page > .answer-sheet,
|
||||
.quiet-panel + .answer-sheet {
|
||||
padding: 18px;
|
||||
border: 1px solid var(--tiku-border);
|
||||
border-radius: 24px;
|
||||
background: #fff;
|
||||
box-shadow: var(--tiku-shadow);
|
||||
}
|
||||
|
||||
.answer-card {
|
||||
min-width: 0;
|
||||
height: 58px;
|
||||
@@ -1055,6 +1092,11 @@
|
||||
background: var(--tiku-card-soft);
|
||||
}
|
||||
|
||||
.asset-preview-panel .toolbar {
|
||||
flex-wrap: wrap;
|
||||
overflow-x: visible;
|
||||
}
|
||||
|
||||
.asset-preview-iframe {
|
||||
width: 100%;
|
||||
height: 720px;
|
||||
@@ -1350,6 +1392,19 @@
|
||||
.toolbar.wrap {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.student-page .section-block.grid-two,
|
||||
.student-page > .grid-two {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.vocabulary-word-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.asset-preview-panel {
|
||||
padding: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
@@ -1365,4 +1420,39 @@
|
||||
.row-meta {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.student-topbar,
|
||||
.amount-row,
|
||||
.split-row {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.toolbar,
|
||||
.toolbar.wrap,
|
||||
.checkout-toolbar,
|
||||
.handbook-search-panel {
|
||||
flex-wrap: wrap;
|
||||
overflow-x: visible;
|
||||
}
|
||||
|
||||
.grid-two,
|
||||
.vocabulary-word-grid,
|
||||
.avatar-choice-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.primary-button,
|
||||
.secondary-button,
|
||||
.pill-button,
|
||||
.danger-button {
|
||||
min-width: 0;
|
||||
flex: 1 1 150px;
|
||||
}
|
||||
|
||||
.asset-preview-frame,
|
||||
.asset-preview-iframe {
|
||||
min-height: 520px;
|
||||
height: 520px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user