feat: 立即开始停止学习并整理学时历史与界面
This commit is contained in:
+127
-44
@@ -327,9 +327,14 @@ select {
|
||||
|
||||
.page-head {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
.page-head h2 {
|
||||
@@ -360,6 +365,102 @@ select {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.panel-card {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 4px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.panel-card > h3 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 13px;
|
||||
font-weight: 650;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.panel-card-head h3 {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
font-weight: 650;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.panel-card-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.compact-form,
|
||||
.compact-nform {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
max-width: 560px;
|
||||
}
|
||||
|
||||
.compact-nform.n-form {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.compact-nform .n-form-item {
|
||||
margin: 0;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.compact-nform .n-form-item-label {
|
||||
white-space: nowrap;
|
||||
padding-right: 12px !important;
|
||||
}
|
||||
|
||||
.compact-nform .n-form-item-blank {
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.compact-nform .n-form-item-feedback-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.compact-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.compact-row > label,
|
||||
.compact-row > .field-title,
|
||||
.field-title {
|
||||
flex: none;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.compact-row > .n-select,
|
||||
.compact-row > .n-input,
|
||||
.compact-row > .n-input-number,
|
||||
.compact-row > .n-time-picker {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.settings-stack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
max-width: 640px;
|
||||
}
|
||||
|
||||
.settings-stack .form-hint {
|
||||
margin: 0 0 4px 188px;
|
||||
}
|
||||
|
||||
.list-page {
|
||||
@@ -376,10 +477,6 @@ select {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
padding: 16px;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.home-summary .facts {
|
||||
@@ -461,50 +558,21 @@ select {
|
||||
width: 88px;
|
||||
}
|
||||
|
||||
.start-control .n-time-picker {
|
||||
width: 148px;
|
||||
}
|
||||
|
||||
.target-unit {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.home-proxy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.home-proxy .form-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.home-proxy .form-row label {
|
||||
flex: none;
|
||||
width: 84px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.home-proxy .form-row .n-select,
|
||||
.home-proxy .form-row .n-input,
|
||||
.home-proxy .form-row .n-input-number {
|
||||
flex: 1;
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
.home-proxy-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding-left: 96px;
|
||||
}
|
||||
|
||||
.home-study-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding-top: 12px;
|
||||
padding-top: 8px;
|
||||
margin-top: 4px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
@@ -1056,13 +1124,13 @@ select {
|
||||
}
|
||||
|
||||
.settings-form .form-row {
|
||||
grid-template-columns: max-content minmax(160px, 280px);
|
||||
grid-template-columns: 7.5em minmax(160px, 280px);
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.settings-form .form-row label {
|
||||
min-width: 15em;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.setting-control {
|
||||
@@ -1093,11 +1161,26 @@ select {
|
||||
|
||||
.form-hint {
|
||||
margin: 0;
|
||||
padding: 2px 0 0 160px;
|
||||
padding: 2px 0 0 0;
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.history-table {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.history-title {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.n-data-table {
|
||||
--n-merged-th-color: transparent;
|
||||
--n-merged-td-color: transparent;
|
||||
}
|
||||
|
||||
.page-head-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user