kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
SidebarMenu: fix background lightbox opacity animation
rodzic
6ce09d4860
commit
f7d1091e93
|
@ -12,16 +12,17 @@
|
||||||
z-index: 10001;
|
z-index: 10001;
|
||||||
|
|
||||||
&__wrapper {
|
&__wrapper {
|
||||||
display: none;
|
opacity: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
background-color: transparent;
|
background-color: rgba(0, 0, 0, 0.3);
|
||||||
transition: background-color 0.2s linear;
|
transition: opacity 0.2s linear;
|
||||||
transition-delay: 0.1s;
|
transition-delay: 0.1s;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
|
@ -56,8 +57,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-menu__wrapper {
|
.sidebar-menu__wrapper {
|
||||||
display: block;
|
opacity: 1;
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue