- 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`
141 lines
2.0 KiB
SCSS
141 lines
2.0 KiB
SCSS
@use '../../../../shared/styles/panel-shared' as panel;
|
|
|
|
.additional-file-uploader-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.panel-header {
|
|
@include panel.panel-header;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dialog-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
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%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
:host ::ng-deep {
|
|
.p-fileupload-content p-progressbar {
|
|
display: none !important;
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.file-upload {
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-header-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.upload-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.file-list-scroll {
|
|
max-height: 24rem;
|
|
max-width: 22rem;
|
|
overflow-y: auto;
|
|
padding-right: 0.5rem;
|
|
|
|
@media (width >= 768px) {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
.file-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.file-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.file-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
|
|
.file-badge {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.file-name {
|
|
font-weight: 600;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
|
|
.file-size {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.status-icon {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-icon {
|
|
border: 2px solid;
|
|
border-radius: 9999px;
|
|
padding: 2rem;
|
|
font-size: 2.25rem;
|
|
color: var(--p-text-muted-color);
|
|
}
|
|
|
|
.empty-text {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.empty-subtext {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|