Files
grimmory/frontend/src/app/features/metadata/component/metadata-review-dialog/metadata-review-dialog-component.scss
T

100 lines
1.6 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: 0.875rem;
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: 1.75rem;
height: 1.75rem;
}
}
.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.4375rem;
cursor: help;
transition: all 0.3s ease;
&:hover {
box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}
}
.progress-bar {
width: 8.75rem;
height: 0.6563rem;
@media (width <= 640px) {
width: 100%;
}
}
.progress-text {
font-size: var(--app-text-sm);
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.4375rem;
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;
}
}
}