mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
49 lines
701 B
SCSS
49 lines
701 B
SCSS
@import 'responsive.scss';
|
|
@import 'variables.scss';
|
|
|
|
.dropdown-anim {
|
|
&-enter-from,
|
|
&-leave-to {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
&-enter-active,
|
|
&-leave-active {
|
|
transition: all 150ms ease;
|
|
}
|
|
}
|
|
|
|
.dropdown_background {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
|
|
z-index: 10;
|
|
}
|
|
|
|
.dropdown_wrapper {
|
|
position: absolute;
|
|
left: 0;
|
|
top: calc(100% + 0.5em);
|
|
|
|
background-color: $bgCol;
|
|
// box-shadow: 0 5px 10px 2px #0f0f0f;
|
|
box-shadow: 0 0 5px 1px $accentCol;
|
|
|
|
width: 100%;
|
|
max-width: 550px;
|
|
|
|
padding: 1em;
|
|
z-index: 100;
|
|
}
|
|
|
|
@include smallScreen {
|
|
.dropdown_wrapper {
|
|
font-size: 1.1em;
|
|
max-width: 100%;
|
|
}
|
|
}
|