style: 首页学时说明改为居中橙色
This commit is contained in:
@@ -994,7 +994,6 @@ onUnmounted(() => {
|
|||||||
<div class="spin" role="status" aria-label="正在获取"></div>
|
<div class="spin" role="status" aria-label="正在获取"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p v-if="summary?.hours_source === 'history'" class="hours-source-note">{{ historyHoursNote }}</p>
|
|
||||||
<n-tooltip placement="bottom">
|
<n-tooltip placement="bottom">
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<n-button
|
<n-button
|
||||||
@@ -1012,6 +1011,7 @@ onUnmounted(() => {
|
|||||||
刷新数据
|
刷新数据
|
||||||
</n-tooltip>
|
</n-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
<p v-if="summary?.hours_source === 'history'" class="hours-source-note">{{ historyHoursNote }}</p>
|
||||||
<dl class="facts">
|
<dl class="facts">
|
||||||
<div v-for="item in facts" :key="item.label">
|
<div v-for="item in facts" :key="item.label">
|
||||||
<dt>{{ item.label }}</dt>
|
<dt>{{ item.label }}</dt>
|
||||||
|
|||||||
+3
-9
@@ -599,12 +599,11 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hours-source-note {
|
.hours-source-note {
|
||||||
flex: 1 1 240px;
|
margin: 0;
|
||||||
margin: 2px 0 0;
|
color: #f5a524;
|
||||||
color: var(--muted);
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.55;
|
line-height: 1.55;
|
||||||
text-align: right;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-refresh.n-button {
|
.home-refresh.n-button {
|
||||||
@@ -1443,11 +1442,6 @@ select {
|
|||||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
.hours-source-note {
|
|
||||||
flex-basis: 100%;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.history-facts {
|
.history-facts {
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user