- Stylelint: - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values - Validation: - `just ui stylelint`
147 lines
2.4 KiB
SCSS
147 lines
2.4 KiB
SCSS
@use '../../../../shared/styles/panel-shared' as panel;
|
|
|
|
.import-result-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.panel-header {
|
|
@include panel.panel-header;
|
|
}
|
|
|
|
.dialog-content {
|
|
padding: 1.5rem;
|
|
background: var(--card-background);
|
|
border: 1px solid var(--border-color);
|
|
border-top: none;
|
|
border-radius: 0 0 10px 10px;
|
|
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
|
|
@media (max-width: 480px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.stat-card {
|
|
text-align: center;
|
|
padding: 1rem;
|
|
background: var(--overlay-background);
|
|
border-radius: 8px;
|
|
|
|
.stat-value {
|
|
font-size: 1.875rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.25rem;
|
|
|
|
&.total {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
&.success {
|
|
color: #22c55e;
|
|
}
|
|
|
|
&.failed {
|
|
color: #ef4444;
|
|
}
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--text-secondary-color);
|
|
}
|
|
}
|
|
|
|
.processed-info {
|
|
text-align: center;
|
|
padding: 1rem;
|
|
border-top: 1px solid var(--border-color);
|
|
margin-bottom: 1rem;
|
|
|
|
.processed-label {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary-color);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.processed-time {
|
|
font-size: 1rem;
|
|
font-family: monospace;
|
|
color: var(--text-color);
|
|
}
|
|
}
|
|
|
|
.results-list {
|
|
max-height: 350px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.file-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.file-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem;
|
|
border-radius: 8px;
|
|
border: 1px solid;
|
|
transition: all 0.2s ease;
|
|
|
|
&.success {
|
|
background: rgb(34 197 94 / 10%);
|
|
border-color: rgb(34 197 94 / 40%);
|
|
|
|
.status-icon {
|
|
color: #22c55e;
|
|
}
|
|
}
|
|
|
|
&.error {
|
|
background: rgb(239 68 68 / 10%);
|
|
border-color: rgb(239 68 68 / 40%);
|
|
|
|
.status-icon {
|
|
color: #ef4444;
|
|
}
|
|
}
|
|
|
|
.status-icon {
|
|
font-size: 1.25rem;
|
|
margin-top: 0.125rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.file-name {
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.file-message {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary-color);
|
|
}
|
|
}
|
|
}
|