refactor: enforce 800 line source limits
This commit is contained in:
@@ -995,6 +995,148 @@
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-panel {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin: -8px 0 22px;
|
||||
border: 1px solid rgba(191, 219, 254, 0.52);
|
||||
border-radius: 14px;
|
||||
background: rgba(248, 250, 252, 0.72);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-toggle {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
padding: 10px 12px 10px 14px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #1e3a8a;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-toggle:hover {
|
||||
background: rgba(239, 246, 255, 0.78);
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-toggle-left {
|
||||
min-width: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-toggle strong {
|
||||
color: #1e3a8a;
|
||||
font-size: 13px;
|
||||
font-weight: 860;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-toggle small {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 720;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-toggle > i {
|
||||
color: #64748b;
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #38bdf8;
|
||||
box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.13);
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-detail-body {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 0 14px 14px;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(226, 232, 240, 0.84);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__head strong {
|
||||
min-width: 0;
|
||||
color: #0f172a;
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
line-height: 1.45;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__head span {
|
||||
flex: 0 0 auto;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 720;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__summary {
|
||||
margin: 0;
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
font-weight: 560;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__fields {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px 14px;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__field {
|
||||
display: grid;
|
||||
grid-template-columns: 84px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__field span {
|
||||
color: #94a3b8;
|
||||
font-size: 12px;
|
||||
font-weight: 720;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.workbench-ai-ocr-document__field strong {
|
||||
min-width: 0;
|
||||
color: #334155;
|
||||
font-size: 13px;
|
||||
font-weight: 760;
|
||||
line-height: 1.45;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.workbench-ai-pending-line {
|
||||
color: #64748b;
|
||||
font-size: 15px;
|
||||
@@ -1476,6 +1618,58 @@
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-attachment-association-card) {
|
||||
background-image:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.94)),
|
||||
url("../../ai-document-card-bg.png");
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-attachment-association-card .ai-document-card__head) {
|
||||
background: linear-gradient(90deg, rgba(219, 234, 254, 0.92), rgba(240, 253, 250, 0.82));
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-ocr-recognition-card) {
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(147, 197, 253, 0.42),
|
||||
0 1px 2px rgba(15, 23, 42, 0.03),
|
||||
0 12px 28px rgba(37, 99, 235, 0.045);
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-ocr-recognition-card .ai-document-card__head) {
|
||||
background: linear-gradient(90deg, rgba(219, 234, 254, 0.92), rgba(239, 246, 255, 0.74));
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-ocr-recognition-card .ai-document-card__reason) {
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-ocr-recognition-card .ai-document-card__status) {
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-attachment-association__details) {
|
||||
gap: 14px 26px;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-attachment-association__details .ai-document-card__field--wide) {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-attachment-association__muted) {
|
||||
color: #64748b;
|
||||
font-weight: 680;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-attachment-association__note) {
|
||||
margin-top: 16px;
|
||||
padding-top: 14px;
|
||||
border-top: 1px solid rgba(203, 213, 225, 0.68);
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
font-weight: 650;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.workbench-ai-answer-markdown :deep(.ai-document-card__action) {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user