Unify shared frontend design styles
This commit is contained in:
1 parent
e14939edb9
commit
bfbf5cf39a
30 files changed
+196
-240
No files matched your search
@@ -307,13 +307,11 @@ watch(locale, load);
|
||||
</script>
|
||||
<template>
|
||||
<section class="calendar-page">
|
||||
<header class="calendar-masthead">
|
||||
<header class="calendar-masthead page-heading">
|
||||
<div>
|
||||
<p>ACADEMIC ALMANAC</p>
|
||||
<p class="eyebrow">ACADEMIC ALMANAC</p>
|
||||
<h1>{{ t('calendar.title') }}</h1>
|
||||
<span
|
||||
>{{ t('calendar.description') }}</span
|
||||
>
|
||||
<p>{{ t('calendar.description') }}</p>
|
||||
</div>
|
||||
<div v-if="canManage" class="calendar-masthead-actions">
|
||||
<el-button @click="openHolidaySync">{{ t('calendar.sync.action') }}</el-button>
|
||||
@@ -542,38 +540,15 @@ watch(locale, load);
|
||||
padding: 10px 0 38px;
|
||||
}
|
||||
.calendar-masthead {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: end;
|
||||
gap: 24px;
|
||||
margin: 10px 0 22px;
|
||||
}
|
||||
.calendar-masthead-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
.calendar-masthead p {
|
||||
margin: 0 0 5px;
|
||||
color: #2a7890;
|
||||
font:
|
||||
700 11px/1 ui-monospace,
|
||||
monospace;
|
||||
letter-spacing: 0.14em;
|
||||
}
|
||||
.calendar-masthead h1 {
|
||||
margin: 0 0 9px;
|
||||
color: #183e57;
|
||||
font:
|
||||
700 32px/1.1 "STZhongsong",
|
||||
"Songti SC",
|
||||
serif;
|
||||
}
|
||||
.calendar-masthead span {
|
||||
color: #657b8d;
|
||||
font-size: 14px;
|
||||
gap: 8px;
|
||||
}
|
||||
.calendar-masthead-actions :deep(.el-button + .el-button) { margin-left: 0; }
|
||||
.calendar-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -116,7 +116,7 @@ function resizeTrend() {
|
||||
<span v-else>{{ t('academicOverview.note') }}</span>
|
||||
</section>
|
||||
|
||||
<section class="overview-card">
|
||||
<section class="overview-card surface-card">
|
||||
<header>
|
||||
<div>
|
||||
<span>ALL PUBLISHED COURSES</span>
|
||||
@@ -143,7 +143,7 @@ function resizeTrend() {
|
||||
</el-table>
|
||||
</section>
|
||||
|
||||
<section class="trend-card">
|
||||
<section class="trend-card surface-card">
|
||||
<header>
|
||||
<div>
|
||||
<span>TERM-BY-TERM TREND</span>
|
||||
@@ -161,7 +161,7 @@ function resizeTrend() {
|
||||
.academic-overview-page { max-width: 1180px; }
|
||||
.overview-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; color: #35506f; background: #edf5fc; border: 1px solid #cbddec; border-radius: var(--radius-control); font-size: 13px; line-height: 1.6; }
|
||||
.overview-note .el-icon { flex: 0 0 auto; margin-top: 3px; color: #315a9b; font-size: 17px; }
|
||||
.overview-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
|
||||
.overview-card { overflow: hidden; }
|
||||
.overview-card header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #f7faff, #fff); }
|
||||
.overview-card header span { color: #527199; font: 700 10px/1.2 system-ui, sans-serif; letter-spacing: .12em; }
|
||||
.overview-card h3 { margin: 5px 0 0; color: var(--ink); font-size: 18px; }
|
||||
@@ -170,7 +170,7 @@ function resizeTrend() {
|
||||
.overview-table strong { display: block; color: var(--ink); font-size: 14px; }
|
||||
.overview-table small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
|
||||
.metric-value { color: #1e518e; font: 700 22px/1 Consolas, monospace; }
|
||||
.trend-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
|
||||
.trend-card { overflow: hidden; }
|
||||
.trend-card header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; }
|
||||
.trend-card header span { color: #527199; font: 700 10px/1.2 system-ui, sans-serif; letter-spacing: .12em; }
|
||||
.trend-card h3 { margin: 5px 0 0; color: var(--ink); font-size: 18px; }
|
||||
|
||||
@@ -194,7 +194,7 @@ onMounted(async () => {
|
||||
|
||||
<template>
|
||||
<section class="account-page">
|
||||
<header class="account-heading">
|
||||
<header class="account-heading workspace-hero">
|
||||
<div>
|
||||
<span class="eyebrow">ACCOUNT & SECURITY</span>
|
||||
<h1>{{ t('auth.account.title') }}</h1>
|
||||
@@ -300,9 +300,6 @@ onMounted(async () => {
|
||||
|
||||
<style scoped>
|
||||
.account-page { display: grid; gap: 22px; }
|
||||
.account-heading { display: flex; align-items: center; justify-content: space-between; padding: 26px 30px; border-radius: var(--radius-feature); background: linear-gradient(125deg, #173a50, #176b87 65%, #2e9b91); color: white; box-shadow: 0 18px 45px rgba(23, 58, 80, .18); }
|
||||
.account-heading h1 { margin: 7px 0 5px; font-family: "STZhongsong", "Songti SC", serif; font-size: 30px; }
|
||||
.account-heading p { margin: 0; color: rgba(255,255,255,.72); }
|
||||
.account-heading .eyebrow { color: #8ee4d8; }
|
||||
.account-avatar { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid rgba(255,255,255,.34); border-radius: var(--radius-feature); background: rgba(255,255,255,.12); font-size: 28px; font-weight: 700; }
|
||||
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
|
||||
|
||||
Loaded 3 of 30 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user