Files
grimmory/frontend/src/app/features/metadata/component/metadata-review-dialog/metadata-review-dialog-component.scss
T
James Cox e46f87eb96 style(frontend): enforce media-feature-range-notation in scss
- Stylelint:
  - re-enable `media-feature-range-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched
- SCSS:
  - convert parenthesized `min-` and `max-` media features to context range notation across frontend stylesheets without changing breakpoint values
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00

98 lines
1.5 KiB
SCSS

@use '../../../../shared/styles/panel-shared' as panel;
.metadata-review-container {
display: flex;
flex-direction: column;
height: 100%;
}
.panel-header {
@include panel.panel-header;
flex-shrink: 0;
}
.dialog-content {
height: calc(95dvh - 90px - 80px);
overflow-y: auto;
padding: 1rem;
background: var(--card-background);
border: 1px solid var(--border-color);
border-top: none;
&.loading-state {
display: flex;
align-items: center;
justify-content: center;
border-radius: 0 0 10px 10px;
}
.spinner {
width: 2rem;
height: 2rem;
}
}
.dialog-footer {
@include panel.dialog-footer;
flex-shrink: 0;
.footer-info {
flex: 1;
min-width: 0;
}
.progress-group {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: help;
transition: all 0.3s ease;
&:hover {
box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}
}
.progress-bar {
width: 10rem;
height: 0.75rem;
@media (width <= 640px) {
width: 100%;
}
}
.progress-text {
font-size: 0.875rem;
font-weight: 500;
color: var(--text-secondary-color);
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.footer-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: flex-end;
}
@media (width <= 640px) {
flex-direction: column;
align-items: stretch;
.footer-info {
width: 100%;
}
.progress-group {
width: 100%;
}
.footer-actions {
width: 100%;
justify-content: center;
}
}
}