Fix transitions of sidebar overlay
This commit is contained in:
parent
84f460d9b8
commit
6828cd1075
@ -2274,7 +2274,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: -220px;
|
left: -220px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
transition: transform 160ms, box-shadow 0.2s;
|
transition: transform 160ms, box-shadow 160ms;
|
||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2286,8 +2286,8 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
right: 0;
|
right: 0;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
display: none;
|
visibility: hidden;
|
||||||
transition: opacity 160ms;
|
transition: opacity 160ms, visibility 160ms;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2302,7 +2302,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
|
|
||||||
#viewport.menu-dragging #sidebar-overlay,
|
#viewport.menu-dragging #sidebar-overlay,
|
||||||
#viewport.menu-dragging #sidebar {
|
#viewport.menu-dragging #sidebar {
|
||||||
transition: none !important;
|
transition: box-shadow 160ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
#viewport.menu-open #sidebar,
|
#viewport.menu-open #sidebar,
|
||||||
@ -2312,11 +2312,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
|
|
||||||
#viewport.menu-open #sidebar-overlay,
|
#viewport.menu-open #sidebar-overlay,
|
||||||
#viewport.menu-dragging #sidebar-overlay {
|
#viewport.menu-dragging #sidebar-overlay {
|
||||||
display: block;
|
visibility: visible;
|
||||||
}
|
|
||||||
|
|
||||||
#viewport.menu-open .messages {
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .empty::before {
|
#sidebar .empty::before {
|
||||||
|
Loading…
Reference in New Issue
Block a user