mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-01 23:48:37 +00:00
Fix animation and layout issues in zen-components and zen-styles
This commit is contained in:
Submodule src/browser/base/content/zen-components updated: b1b3cb8555...16fc60e1f0
@@ -244,28 +244,28 @@
|
||||
}
|
||||
|
||||
30% {
|
||||
top: -5px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
70% {
|
||||
/* make the box grow to full width/height */
|
||||
opacity: 1;
|
||||
transform: translateX(-50%);
|
||||
top: -5px;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 78%;
|
||||
height: 103%;
|
||||
width: 87%;
|
||||
height: 87%;
|
||||
}
|
||||
|
||||
100% {
|
||||
/* make the box shrink to final width/height and x/y coordinates */
|
||||
transform: translateX(-50%);
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 1;
|
||||
width: 75%;
|
||||
height: 100%;
|
||||
top: -5px;
|
||||
width: 85%;
|
||||
height: 85%;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
}
|
||||
@@ -284,22 +284,22 @@
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateX(-50%);
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 1;
|
||||
width: 75%;
|
||||
height: 100%;
|
||||
top: -5px;
|
||||
width: 85%;
|
||||
height: 85%;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zen-glance-buttons-animation-full {
|
||||
from {
|
||||
width: 75%;
|
||||
height: 100%;
|
||||
top: -5px;
|
||||
width: 85%;
|
||||
height: 85%;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
to {
|
||||
|
@@ -60,6 +60,7 @@
|
||||
width: var(--initial-width);
|
||||
height: var(--initial-height);
|
||||
position: absolute;
|
||||
border-radius: var(--zen-border-radius);
|
||||
opacity: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -126,7 +127,7 @@
|
||||
|
||||
&[animate-full='true'] {
|
||||
opacity: 1;
|
||||
animation: zen-glance-buttons-animation-full 0.2s ease-in-out forwards !important;
|
||||
animation: zen-glance-buttons-animation-full 0.3s ease-in-out forwards !important;
|
||||
|
||||
& #zen-glance-sidebar-container {
|
||||
opacity: 0 !important;
|
||||
|
Reference in New Issue
Block a user