Commit d947748d by Dominik Prokop

Delayed explore query loading indicator and implemented minor ux improvements to it

parent 07331b4c
...@@ -118,11 +118,6 @@ ...@@ -118,11 +118,6 @@
overflow: hidden; overflow: hidden;
background: none; background: none;
margin: $panel-margin / 2; margin: $panel-margin / 2;
transition: background-color 1s ease;
}
.explore-panel__loader--active {
background: $text-color-faint;
} }
.explore-panel__loader--active:after { .explore-panel__loader--active:after {
...@@ -133,16 +128,19 @@ ...@@ -133,16 +128,19 @@
top: -50%; top: -50%;
height: 250%; height: 250%;
position: absolute; position: absolute;
animation: loader 2s cubic-bezier(0.17, 0.67, 0.83, 0.67); animation: loader 2s cubic-bezier(0.17, 0.67, 0.83, 0.67) 500ms;
animation-iteration-count: 100; animation-iteration-count: 100;
left: -25%;
background: $blue; background: $blue;
} }
@keyframes loader { @keyframes loader {
from { from {
left: -25%; left: -25%;
opacity: .1;
} }
to { to {
opacity: 1;
left: 100%; left: 100%;
} }
} }
......
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