mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
6368137815
- the separate outer component is unneeded and affects the positioning of some components which rely on the ImageContainer's styling
40 lines
616 B
CSS
40 lines
616 B
CSS
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: var(--theme-image-fit);
|
|
border-radius: var(--theme-radius-md);
|
|
}
|
|
|
|
.loader {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.image-container {
|
|
display: flex;
|
|
width: 100%;
|
|
max-height: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
}
|
|
|
|
.unloader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
background-color: darken(var(--theme-colors-foreground), 40%);
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.skeleton {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.view-wrapper {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|