94 lines
No EOL
1.5 KiB
CSS
94 lines
No EOL
1.5 KiB
CSS
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#main {
|
|
display: flex;
|
|
gap: 2rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#menu {
|
|
height: 100%;
|
|
flex-basis: 40rem;
|
|
}
|
|
|
|
#gallery {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
align-content: flex-start;
|
|
height: 600px;
|
|
width: 100vw;
|
|
overflow: auto;
|
|
flex-direction: row;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.gallery-image {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 5px;
|
|
object-fit: cover;
|
|
cursor: pointer;
|
|
transition: all 200ms;
|
|
}
|
|
|
|
.fitting-image {
|
|
border-radius: 1rem;
|
|
flex-basis: fit-content;
|
|
transition: all 200ms;
|
|
}
|
|
|
|
.dialog-imageview-host {
|
|
width: calc(100% - 10px) !important;
|
|
height: calc(100% - 10px) !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-content: center;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
}
|
|
|
|
#dialog-imageview {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
align-content: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.di-img {
|
|
height: -webkit-fill-available;
|
|
}
|
|
|
|
#slider-gallery {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3rem;
|
|
padding: 2rem;
|
|
}
|
|
|
|
#gallery-slided {
|
|
flex-basis: 600px;
|
|
display: flex;
|
|
align-items: stretch;
|
|
align-content: center;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#gallery-slided > .gallery-image {
|
|
height: auto;
|
|
width: auto;
|
|
} |