Files
smartguide/webapp/src/app/shared/ui/dfg-classification/dfg-classification.component.scss
T

98 lines
1.7 KiB
SCSS

.card {
margin-bottom: 24px;
background: var(--sg-card-bg) !important;
border-color: var(--sg-border) !important;
border-radius: var(--sg-radius-md) !important;
}
.card ::ng-deep .mat-mdc-card-content {
padding: 0;
}
.section-header {
display: flex;
align-items: center;
gap: 10px;
padding: 16px 20px 12px;
border-bottom: 1px solid var(--sg-border);
}
.section-header mat-icon {
color: var(--sg-text-muted);
width: 22px;
height: 22px;
font-size: 22px;
}
.section-header h2 {
margin: 0;
font-size: 16px;
font-weight: 600;
color: var(--sg-text);
}
.count-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
height: 24px;
padding: 0 8px;
margin-left: auto;
background: var(--sg-primary-soft);
border-radius: 12px;
color: var(--sg-text-muted);
font-size: 12px;
font-weight: 500;
}
.classification-list {
display: flex;
flex-direction: column;
gap: 10px;
padding: 16px 20px 20px;
}
.classification-path {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px 2px;
padding: 10px 12px;
border: 1px solid var(--sg-border);
border-radius: var(--sg-radius-sm);
background: var(--sg-surface);
}
.classification-segment {
font-size: 12px;
line-height: 1.3;
padding: 3px 10px;
border-radius: 10px;
background: var(--sg-surface-soft);
color: var(--sg-text-muted);
white-space: nowrap;
&--leaf {
background: var(--sg-primary-soft);
color: var(--sg-text);
font-weight: 500;
white-space: normal;
}
}
.classification-leaf-group {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.classification-separator {
width: 16px;
height: 16px;
font-size: 16px;
color: var(--sg-text-muted);
flex-shrink: 0;
opacity: 0.5;
}