mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2024-12-28 18:36:22 +00:00
52 lines
1,015 B
CSS
52 lines
1,015 B
CSS
.flyout-dim {
|
|
width: 100vw; height: 100vh;
|
|
|
|
display: none;
|
|
|
|
position: fixed; z-index: 99;
|
|
|
|
object-position: center;
|
|
|
|
background-color: #151515aa;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 1s cubic-bezier(.19,1,.22,1), filter 1s cubic-bezier(.19,1,.22,1);
|
|
}
|
|
|
|
.flyout {
|
|
margin: 0; padding: 0.5rem;
|
|
|
|
max-width: 621px; width: calc(100% - 3.5rem);
|
|
max-height: 20rem; height: auto; min-height: 10rem;
|
|
|
|
position: fixed; z-index: 99999;
|
|
left: 50%; bottom: -15rem;
|
|
transform: translateX(-50%) scale(0.5);
|
|
|
|
background-color: #151515;
|
|
color: white;
|
|
|
|
transition: transform 1s cubic-bezier(.19,1,.22,1), bottom 1s cubic-bezier(.19,1,.22,1);
|
|
|
|
border-radius: var(--rad);
|
|
border: 0.2rem solid var(--green);
|
|
outline: 0.5rem solid var(--bg);
|
|
}
|
|
|
|
.flyout-header {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.flyout-actionbox {
|
|
display: inline;
|
|
box-sizing: border-box;
|
|
}
|
|
/* Worlds shittest workaround to a problem I have no clue how to fix */
|
|
.flyout-actionbox * {
|
|
width: 100%;
|
|
}
|
|
.flyout-actionbox * * {
|
|
width: auto;
|
|
}
|