86 lines
3.9 KiB
CSS
86 lines
3.9 KiB
CSS
/* U7 法规结构化引用:编号标记、引用卡片、引用清单与审计法规树。
|
||
颜色、圆角、字号只消费 @ui/tokens.css;折叠动效由 @ui Collapsible(mk-col)承担。
|
||
有效依据(verified)用实线成功色;未核验用虚线警告色;无效用虚线错误色加删除线。 */
|
||
|
||
.regcite-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
|
||
.regcite-mono { font-family: var(--mono); font-size: var(--fs-ui-sm); color: var(--text-dim); word-break: break-all; }
|
||
|
||
.regcite-mark {
|
||
display: inline;
|
||
margin: 0 2px;
|
||
padding: 0 4px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-xs);
|
||
background: none;
|
||
font: inherit;
|
||
font-size: var(--fs-ui-sm);
|
||
line-height: 1.4;
|
||
vertical-align: baseline;
|
||
cursor: pointer;
|
||
}
|
||
.regcite-mark:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||
.regcite-mark.regcite-valid { color: var(--ok-text); border-color: var(--ok-border); background: var(--ok-soft); }
|
||
.regcite-mark.regcite-unverified { color: var(--warn-text); border-style: dashed; border-color: var(--warn); background: var(--warn-soft); }
|
||
.regcite-mark.regcite-invalid { color: var(--err-text); border-style: dashed; border-color: var(--err); background: var(--err-soft); text-decoration: line-through; }
|
||
.regcite-mark-open { outline: 1px solid var(--accent); outline-offset: 1px; }
|
||
|
||
.regcite-block { margin: 0; }
|
||
|
||
.regcite-card {
|
||
margin: 6px 0;
|
||
padding: 8px 12px;
|
||
border: 1px solid var(--border-soft);
|
||
border-left-width: 3px;
|
||
border-radius: var(--radius);
|
||
background: var(--bg-raised);
|
||
font-size: var(--fs-ui-sm);
|
||
color: var(--text);
|
||
}
|
||
.regcite-card-valid { border-left-color: var(--ok); }
|
||
.regcite-card-unverified { border-left-color: var(--warn); border-left-style: dashed; }
|
||
.regcite-card-invalid { border-left-color: var(--err); border-left-style: dashed; }
|
||
.regcite-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
|
||
.regcite-card-title { font-weight: 600; color: var(--text); }
|
||
.regcite-note { margin-top: 4px; color: var(--text-dim); }
|
||
.regcite-claim { margin-top: 4px; color: var(--text); }
|
||
.regcite-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 6px 0 0; }
|
||
.regcite-fields dt { color: var(--text-dim); }
|
||
.regcite-fields dd { margin: 0; color: var(--text); word-break: break-word; }
|
||
.regcite-link { color: var(--accent-text); word-break: break-all; }
|
||
.regcite-toggle { font-size: var(--fs-ui-sm); color: var(--accent-text); }
|
||
.regcite-excerpt {
|
||
margin: 4px 0 0;
|
||
padding: 6px 10px;
|
||
border-left: 2px solid var(--border-strong);
|
||
border-radius: var(--radius-xs);
|
||
background: var(--bg-inset);
|
||
white-space: pre-wrap;
|
||
color: var(--text);
|
||
}
|
||
.regcite-redaction { margin-top: 6px; color: var(--text-dim); }
|
||
|
||
.regcite-list { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
|
||
.regcite-list-head { font-size: var(--fs-ui-sm); color: var(--text-dim); padding-bottom: 4px; }
|
||
.regcite-item-head { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-ui-sm); color: var(--text); text-align: left; }
|
||
.regcite-item-num { font-family: var(--mono); color: var(--text-dim); }
|
||
.regcite-item-title { font-weight: 550; }
|
||
.regcite-item-sub { color: var(--text-dim); }
|
||
.regcite-item-invalid .regcite-item-title { color: var(--err-text); text-decoration: line-through; }
|
||
|
||
.regcite-reasons { margin: 0; padding-left: 18px; color: var(--text-dim); }
|
||
.regcite-tree-row { display: flex; align-items: center; gap: 2px; }
|
||
.regcite-tree-row .rdm-audit-tree-node { flex: 1; min-width: 0; }
|
||
.regcite-tree-caret {
|
||
flex: none;
|
||
width: 22px;
|
||
height: 26px;
|
||
padding: 0;
|
||
border: none;
|
||
border-radius: var(--radius-sm);
|
||
background: none;
|
||
color: var(--text-dim);
|
||
font-size: var(--fs-ui-sm);
|
||
cursor: pointer;
|
||
}
|
||
.regcite-tree-caret:hover { background: var(--bg-hover); color: var(--text); }
|