Files
web/components/TempDesignSystem/SidePeek/sidePeek.module.css

71 lines
962 B
CSS

.sidePeek {
position: fixed;
top: 70.047px;
right: auto;
bottom: 0;
width: 100%;
height: calc(100vh - 70.047px);
background-color: var(--Base-Background-Primary-Normal);
z-index: 100;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
}
.sidePeek[data-entering] {
animation: slide-up 300ms;
}
.sidePeek[data-exiting] {
animation: slide-up 300ms reverse;
}
.dialog {
height: 100%;
}
.overlay {
position: absolute;
top: 70.047px;
bottom: 0;
left: 0;
right: 0;
z-index: 99;
}
@keyframes slide-in {
from {
right: -600px;
}
to {
right: 0;
}
}
@keyframes slide-up {
from {
top: 100vh;
}
to {
top: 70.047px;
}
}
@media screen and (min-width: 1367px) {
.sidePeek {
top: 0;
right: 0px;
width: 600px;
height: 100vh;
}
.sidePeek[data-entering] {
animation: slide-in 250ms;
}
.sidePeek[data-exiting] {
animation: slide-in 250ms reverse;
}
.overlay {
top: 0;
}
}