SidebarMenu: fix background lightbox opacity animation

profile-avatar-switcher
Alex Gleason 2021-09-13 11:13:15 -05:00
rodzic 6ce09d4860
commit f7d1091e93
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -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;
} }
} }