style(workshop): 需求栏字段卡片化——维度名作小标题置左上角+内容在下+padding 10px(展开高度340→400)
This commit is contained in:
1 parent
e6ab15faf1
commit
504c92e90d
1 file changed
+7
-7
@@ -212,19 +212,19 @@ main { height: calc(100vh - 54px); }
|
||||
display: flex; flex-direction: column; gap: 10px;
|
||||
}
|
||||
.req-modal .modal-title-row { flex: none; margin-bottom: 0; }
|
||||
/* 需求区:一个维度一行(09-02 改:去双列左右卡片 → 单列清单,维度名=左标签 + 内容同行),超高内部滚动 */
|
||||
/* 需求区:一个维度一张卡片(09-02 v12 改:维度名=卡片内小标题置左上角,内容在其下;卡片 padding 10px),超高内部滚动 */
|
||||
.req-sheet {
|
||||
flex: none; display: grid; grid-template-columns: 1fr; gap: 6px 0;
|
||||
max-height: 340px; overflow: auto; align-content: start; padding: 2px;
|
||||
max-height: 400px; overflow: auto; align-content: start; padding: 2px;
|
||||
}
|
||||
.req-field {
|
||||
display: flex; align-items: flex-start; gap: 10px;
|
||||
display: flex; flex-direction: column; gap: 4px;
|
||||
background: #f6f8fb; border: 1px solid #edf0f4; border-radius: 8px;
|
||||
padding: 6px 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
.req-field.empty { background: #fafbfd; }
|
||||
.rf-title { flex: none; width: 104px; font-size: 12px; color: #7a8494; font-weight: 600; letter-spacing: .2px; line-height: 1.4; padding-top: 3px; }
|
||||
.rf-val { flex: 1; font-size: 14px; color: var(--text); line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
|
||||
.rf-title { font-size: 12px; color: #5b6472; font-weight: 600; letter-spacing: .2px; line-height: 1.4; }
|
||||
.rf-val { font-size: 14px; color: var(--text); line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
|
||||
.req-field.empty .rf-val { color: #c6ccd6; font-size: 13px; }
|
||||
/* 需求区折叠容器(09-02):标题行「创作需求 + n/5 已填 + 箭头」点击展开/收起,默认收起 */
|
||||
.req-sheet-box { flex: none; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 2px 10px 4px; }
|
||||
@@ -247,7 +247,7 @@ main { height: calc(100vh - 54px); }
|
||||
.req-sheet-toggle .rst-caret svg { transition: transform .2s ease; transform: rotate(180deg); } /* 收起(默认):箭头朝下提示可展开 */
|
||||
.req-sheet-box.open .rst-caret svg { transform: rotate(0deg); }
|
||||
.req-sheet-box .req-sheet { max-height: 0; overflow: hidden; padding: 0; transition: max-height .2s ease; }
|
||||
.req-sheet-box.open .req-sheet { max-height: 340px; overflow: auto; padding: 2px; }
|
||||
.req-sheet-box.open .req-sheet { max-height: 400px; overflow: auto; padding: 2px; }
|
||||
/* 需求栏下方功能选项条(09-02 v11):时长目标下拉(30/60/120/240/自定义),与需求栏同宽同视觉层级 */
|
||||
.req-opts { flex: none; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; }
|
||||
.req-opts .opts-label { flex: none; font-size: 13px; font-weight: 600; color: var(--text); }
|
||||
|
||||
Reference in new issue
Block a user