forked from wangziqi/gongxue-base
feat: add taro student learning flow
This commit is contained in:
213
apps/taro/src/pages/student/student.css
Normal file
213
apps/taro/src/pages/student/student.css
Normal file
@@ -0,0 +1,213 @@
|
||||
.student-page {
|
||||
min-height: 100vh;
|
||||
padding: 28px;
|
||||
background: #f6f8fb;
|
||||
}
|
||||
|
||||
.student-topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.student-title-block {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.student-kicker {
|
||||
display: block;
|
||||
color: #64748b;
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.student-title {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
color: #111827;
|
||||
font-size: 38px;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.student-subtitle {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
color: #64748b;
|
||||
font-size: 24px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.pill-button,
|
||||
.primary-button,
|
||||
.secondary-button,
|
||||
.danger-button {
|
||||
min-width: 120px;
|
||||
height: 64px;
|
||||
border-radius: 8px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 64px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
border: 0;
|
||||
background: #2563eb;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.secondary-button,
|
||||
.pill-button {
|
||||
border: 1px solid #cbd5e1;
|
||||
background: #fff;
|
||||
color: #1e3a8a;
|
||||
}
|
||||
|
||||
.danger-button {
|
||||
border: 1px solid #fecaca;
|
||||
background: #fff1f2;
|
||||
color: #be123c;
|
||||
}
|
||||
|
||||
.pill-button.active {
|
||||
border-color: #2563eb;
|
||||
background: #eff6ff;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.section-block {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
display: block;
|
||||
margin-bottom: 16px;
|
||||
color: #172033;
|
||||
font-size: 30px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.quiet-panel {
|
||||
padding: 26px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.list-stack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.list-row {
|
||||
padding: 22px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.row-main {
|
||||
display: block;
|
||||
color: #111827;
|
||||
font-size: 28px;
|
||||
font-weight: 750;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.row-meta {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
color: #64748b;
|
||||
font-size: 22px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.grid-two {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.metric {
|
||||
padding: 22px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.metric-value {
|
||||
display: block;
|
||||
color: #0f172a;
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.metric-label {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
color: #64748b;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
padding: 38px 26px;
|
||||
border: 1px dashed #cbd5e1;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
color: #64748b;
|
||||
font-size: 24px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.input {
|
||||
width: 100%;
|
||||
height: 72px;
|
||||
padding: 0 20px;
|
||||
border: 1px solid #cbd5e1;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
color: #111827;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.textarea {
|
||||
width: 100%;
|
||||
min-height: 140px;
|
||||
padding: 18px 20px;
|
||||
border: 1px solid #cbd5e1;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
color: #111827;
|
||||
font-size: 26px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.error-text {
|
||||
display: block;
|
||||
margin-top: 14px;
|
||||
color: #be123c;
|
||||
font-size: 22px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.success-text {
|
||||
display: block;
|
||||
margin-top: 14px;
|
||||
color: #047857;
|
||||
font-size: 22px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.muted-text {
|
||||
color: #64748b;
|
||||
}
|
||||
Reference in New Issue
Block a user