Menu: Speed up opening
This commit is contained in:
parent
d23de029db
commit
ba10af9da1
@ -13,7 +13,8 @@
|
|||||||
transition: transform var(--layer-transition);
|
transition: transform var(--layer-transition);
|
||||||
|
|
||||||
&.open {
|
&.open {
|
||||||
transform: translate3d(0, 0 ,0);
|
transform: translate3d(0, 0, 0);
|
||||||
|
|
||||||
body.is-media-viewer-open & {
|
body.is-media-viewer-open & {
|
||||||
transform: translate3d(0, calc(var(--symbol-menu-height) + var(--symbol-menu-footer-height)), 0);
|
transform: translate3d(0, calc(var(--symbol-menu-height) + var(--symbol-menu-footer-height)), 0);
|
||||||
}
|
}
|
||||||
@ -50,7 +51,7 @@
|
|||||||
margin: 0 0.75rem;
|
margin: 0 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.symbol-search-button{
|
&.symbol-search-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0.25rem;
|
left: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,11 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
|
||||||
|
.bubble {
|
||||||
|
transform: scale(0.5);
|
||||||
|
transition: opacity .15s cubic-bezier(0.2, 0, 0.2, 1), transform .15s cubic-bezier(0.2, 0, 0.2, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.backdrop {
|
.backdrop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
touch-action: none;
|
touch-action: none;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user