mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui-components.git
synced 2026-05-18 15:49:52 +00:00
58 lines
864 B
CSS
58 lines
864 B
CSS
.sheets {
|
|
position: absolute;
|
|
transition: transform 0.25s;
|
|
background-color: var(--codex-background-secondary);
|
|
z-index: 2;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sheets-container {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.sheets-container--open {
|
|
z-index: 2;
|
|
}
|
|
|
|
.sheets-backdrop {
|
|
z-index: -1;
|
|
}
|
|
|
|
@media (min-width: 1000px) {
|
|
.sheets {
|
|
width: 300px;
|
|
height: 100%;
|
|
bottom: 0;
|
|
top: 0;
|
|
transform: translatex(1300px);
|
|
right: 0;
|
|
}
|
|
|
|
.sheets[aria-expanded] {
|
|
transform: translatex(0);
|
|
z-index: 10;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 999px) {
|
|
.sheets {
|
|
width: 100%;
|
|
height: auto;
|
|
bottom: 0;
|
|
top: auto;
|
|
transform: translatey(1300px);
|
|
left: 0;
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
.sheets[aria-expanded] {
|
|
transform: translatey(0);
|
|
z-index: 10;
|
|
}
|
|
}
|