v1.2.4 — 责善改过简洁分割线风格
- 去掉序号标题和错误/改进方案标签文字 - 两条输入框纵向排列,项目间仅用分割线分隔 - 删除按钮绝对定位右上角,编辑模式下显示
This commit is contained in:
@@ -615,9 +615,13 @@ body {
|
||||
.btn-del:hover { background: var(--danger-light); }
|
||||
.btn-del .icon-sm { width: 16px; height: 16px; }
|
||||
|
||||
/* 责善改过 横排双输入 */
|
||||
/* 责善改过 — 简洁分割线风格 */
|
||||
|
||||
.evening-row {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 0 0 12px;
|
||||
margin-bottom: 12px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
@@ -626,42 +630,17 @@ body {
|
||||
.evening-row:last-child {
|
||||
border-bottom: none;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.evening-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
.evening-row .btn-del {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.evening-header .idx {
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mistake-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.mistake-row .col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.mistake-row .col label {
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
font-weight: 500;
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.mistake-row input[type="text"] {
|
||||
.evening-row input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 9px 12px;
|
||||
border: 1.5px solid var(--border);
|
||||
@@ -671,8 +650,10 @@ body {
|
||||
color: var(--text);
|
||||
background: var(--bg);
|
||||
transition: border-color 0.2s, background 0.2s;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mistake-row input[type="text"]:focus {
|
||||
|
||||
.evening-row input[type="text"]:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary);
|
||||
background: var(--card);
|
||||
|
||||
Reference in New Issue
Block a user