uaide-backend / src /components /TechnicalMetadata.module.css
ATS-27's picture
Upload folder using huggingface_hub
af980d7 verified
.wrapper {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-sm);
}
.header {
display: flex;
align-items: center;
gap: 8px;
padding: 16px 20px;
border-bottom: 1px solid var(--border);
background: var(--bg-surface-2);
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
}
.headerNote {
font-size: 12px;
color: var(--text-muted);
font-weight: 400;
margin-left: 4px;
}
.sections {
display: flex;
flex-direction: column;
}
/* Section */
.section {
border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }
.sectionToggle {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 13px 20px;
background: transparent;
border: none;
cursor: pointer;
transition: background 0.15s ease;
}
.sectionToggle:hover { background: var(--bg-surface-2); }
.sectionLeft {
display: flex;
align-items: center;
gap: 9px;
font-size: 13.5px;
font-weight: 600;
color: var(--text-primary);
}
.sectionIcon {
width: 26px;
height: 26px;
background: var(--bg-surface-3);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-secondary);
}
.sectionBody {
overflow: hidden;
}
.sectionContent {
padding: 4px 20px 16px;
display: flex;
flex-direction: column;
gap: 1px;
}
/* Meta rows */
.metaRow {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
padding: 7px 0;
border-bottom: 1px solid var(--bg-surface-3);
}
.metaRow:last-child { border-bottom: none; }
.metaRowHighlight .metaValue {
color: var(--ai-generated);
font-weight: 700;
}
.metaLabel {
font-size: 12.5px;
color: var(--text-muted);
font-weight: 500;
min-width: 140px;
flex-shrink: 0;
}
.metaValue {
font-size: 12.5px;
color: var(--text-primary);
font-weight: 600;
text-align: right;
line-height: 1.5;
word-break: break-word;
}
/* Artifact detail */
.artifactDetail {
padding: 10px 0;
border-bottom: 1px solid var(--bg-surface-3);
}
.artifactDetail:last-child { border-bottom: none; }
.artifactDetailHeader {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 5px;
}
.sev {
font-size: 9.5px;
font-weight: 800;
padding: 2px 7px;
border-radius: 99px;
letter-spacing: 0.5px;
}
.sev_critical { background: var(--ai-generated-bg); color: var(--ai-generated); }
.sev_high { background: var(--suspect-bg); color: var(--suspect); }
.sev_medium { background: #ede9fe; color: #7c3aed; }
.sev_low { background: var(--bg-surface-3); color: var(--text-muted); }
.artifactDetailType {
font-size: 13px;
font-weight: 700;
color: var(--text-primary);
}
.artifactDetailText {
font-size: 12.5px;
color: var(--text-secondary);
line-height: 1.6;
}