Commit e21df55a authored by akiraohgaki's avatar akiraohgaki

Fix for animatin

parent 35bc7306
......@@ -77,19 +77,16 @@ export default class OmniboxComponent extends BaseComponent {
background-color: var(--color-important);
}
div[data-omnibox][data-download-state="active"]::after {
background: linear-gradient(90deg, transparent, var(--color-information), transparent);
background: linear-gradient(90deg, transparent, var(--color-information) 50%, transparent);
background-size: 300% 300%;
animation: gradient 3s ease alternate infinite;
animation: gradient 2s ease-in-out infinite alternate;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
background-position: 0% 0%;
}
100% {
background-position: 0% 50%;
background-position: 100% 0%;
}
}
div[data-omnibox] div[data-wrapper] {
......
......@@ -36,10 +36,7 @@ export default class IndicatorComponent extends BaseComponent {
width: 50%;
height: inherit;
background-color: var(--color-information);
animation-name: slide;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation: slide 1s ease-in-out infinite alternate;
}
div[data-indicator][data-state="inactive"] {
display: none;
......
......@@ -10,8 +10,7 @@ a:hover {
.fade-in,
.fade-out {
animation-name: fade;
animation-duration: 0.2s;
animation: fade 0.2s;
}
.fade-out {
animation-direction: reverse;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment