Unify pagination styles and teaching monitor filters
This commit is contained in:
1 parent
fb1a177c03
commit
05311a5d9a
4 files changed
+54
-17
No files matched your search
@@ -446,8 +446,6 @@ onMounted(loadReleases)
|
||||
small { color: #5f6f7d; display: block; font-size: 10px; margin-top: 4px; }
|
||||
.active-label { color: #1f7468; font-size: 11px; font-weight: 700; }
|
||||
.el-table { margin-top: 12px; }
|
||||
.cursor-pager { align-items:center; display:flex; gap:10px; justify-content:flex-end; padding:16px 18px; }
|
||||
.cursor-pager span { color:#5f6f7d; font-size:11px; }
|
||||
.form-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
|
||||
.form-grid .el-select { width: 100%; }
|
||||
|
||||
|
||||
+42
-2
@@ -492,7 +492,23 @@ button:disabled { cursor: not-allowed; }
|
||||
.course-rule-help b { color: var(--ink); font-size: 11px; }
|
||||
.course-rule-help span { color: var(--muted); font-size: 10px; line-height: 1.5; }
|
||||
.pagination-bar { min-height: 62px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
|
||||
.pagination-bar > span { color: var(--muted); font-size: 11px; }
|
||||
.pagination-bar > span { color: var(--muted); font-size: 12px; }
|
||||
.cursor-pager {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px 12px;
|
||||
padding: 12px 16px;
|
||||
}
|
||||
.cursor-pager > span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.cursor-pager > .el-button + .el-button { margin-left: 0; }
|
||||
:is(.pagination-bar, .plan-pagination) > .cursor-pager { padding: 0; }
|
||||
.course-ledger { min-height: 92px; display: flex; align-items: stretch; color: white; background: linear-gradient(105deg, #1a2d61, #263f80); overflow: hidden; position: relative; }
|
||||
.course-ledger::after { content: "CATALOGUE"; position: absolute; right: 22px; top: 8px; color: rgba(255,255,255,.045); font: 700 44px/1 Consolas, monospace; letter-spacing: .08em; }
|
||||
.ledger-label { width: 220px; padding: 18px 26px; display: flex; align-items: baseline; gap: 7px; border-right: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
|
||||
@@ -2027,7 +2043,31 @@ button:focus-visible {
|
||||
.el-table th.el-table__cell { height: 46px; color: var(--table-header-text); background: var(--table-header-surface); }
|
||||
.el-table td.el-table__cell { padding: 12px 0; }
|
||||
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell { background: var(--table-row-hover); }
|
||||
.el-pagination { padding: 14px 0 2px; justify-content: flex-end; }
|
||||
.el-pagination {
|
||||
--el-pagination-border-radius: var(--radius-control);
|
||||
--el-pagination-text-color: var(--text-secondary);
|
||||
--el-pagination-button-disabled-color: var(--button-disabled-text);
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
padding: 14px 0 2px;
|
||||
justify-content: flex-end;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.el-pagination:not(.is-background) .el-pager li.is-active {
|
||||
color: var(--action-primary);
|
||||
background: var(--selection-surface);
|
||||
box-shadow: inset 0 0 0 1px var(--selection-border);
|
||||
}
|
||||
:is(.pagination-bar, .plan-pagination) > .el-pagination { padding: 0; }
|
||||
@media (max-width: 760px) {
|
||||
.cursor-pager { justify-content: flex-start; }
|
||||
.el-pagination {
|
||||
--el-pagination-item-gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
row-gap: 8px;
|
||||
}
|
||||
.el-pagination .el-pager { max-width: 100%; flex-wrap: wrap; }
|
||||
}
|
||||
.el-dialog { overflow: hidden; border-radius: 12px; box-shadow: 0 20px 60px rgba(18, 37, 63, .25); }
|
||||
.el-dialog__header { margin-right: 0; padding: 20px 22px 16px; border-bottom: 1px solid #e6ebf1; }
|
||||
.el-dialog__body { padding: 22px; }
|
||||
|
||||
@@ -679,7 +679,7 @@ onMounted(() => load());
|
||||
/>
|
||||
</section>
|
||||
|
||||
<div v-if="inboxCursors.length || inboxHasMore" class="message-pager">
|
||||
<div v-if="inboxCursors.length || inboxHasMore" class="cursor-pager">
|
||||
<el-button
|
||||
:disabled="!inboxCursors.length || loading"
|
||||
@click="previousInboxPage"
|
||||
@@ -1113,7 +1113,7 @@ onMounted(() => load());
|
||||
/>
|
||||
</section>
|
||||
|
||||
<div v-if="sentCursors.length || sentHasMore" class="message-pager">
|
||||
<div v-if="sentCursors.length || sentHasMore" class="cursor-pager">
|
||||
<el-button
|
||||
:disabled="!sentCursors.length || loading"
|
||||
@click="previousSentPage"
|
||||
@@ -1438,12 +1438,6 @@ onMounted(() => load());
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.message-pager {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.compose-shell {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--message-line);
|
||||
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user