commit
686a23b7c7
|
@ -57,7 +57,7 @@ Loader = () ->
|
||||||
|
|
||||||
defaultConfig = {
|
defaultConfig = {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
minTime: 1000
|
minTime: 300
|
||||||
}
|
}
|
||||||
|
|
||||||
config = _.merge({}, defaultConfig)
|
config = _.merge({}, defaultConfig)
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
div.loading
|
||||||
|
span.item.item-1
|
||||||
|
span.item.item-2
|
||||||
|
span.item.item-3
|
||||||
|
span.item.item-4
|
||||||
|
span.item.item-5
|
|
@ -1,2 +0,0 @@
|
||||||
object.logo-svg(type="image/svg+xml", data="/svg/spinner.svg")
|
|
||||||
img(src="/svg/logo.svg", alt="TAIGA")
|
|
|
@ -1,4 +1,4 @@
|
||||||
.loader(tg-loader)
|
.loader(tg-loader)
|
||||||
|
include ../components/loading-bar
|
||||||
div.container
|
div.container
|
||||||
include ../components/spinner
|
|
||||||
p Loading...
|
p Loading...
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
.projects-nav-overlay
|
.projects-nav-overlay
|
||||||
div.container
|
div.container
|
||||||
include ../components/spinner
|
|
||||||
p Loading project...
|
p Loading project...
|
||||||
|
|
||||||
div.wizard-create-project(tg-lb-create-project)
|
div.wizard-create-project(tg-lb-create-project)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
.loader {
|
.loader {
|
||||||
@include transition(opacity .5s linear);
|
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
display: none;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
@ -10,23 +8,22 @@
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 99900;
|
z-index: -100;
|
||||||
.container {
|
.container {
|
||||||
margin: 0 auto;
|
@include display(flex);
|
||||||
margin-top: 15%;
|
@include align-items(center);
|
||||||
position: relative;
|
@include justify-content(center);
|
||||||
width: 150px;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
@extend %large;
|
@extend %large;
|
||||||
color: $gray-light;
|
color: $gray;
|
||||||
padding-top: 20px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
&.active {
|
&.active {
|
||||||
@include transition(opacity .5s linear);
|
background-color: rgba($white, .95);
|
||||||
background-color: rgba($white, .9);
|
|
||||||
display: block;
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
z-index: 99900;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
.loading {
|
||||||
|
@include display(flex);
|
||||||
|
@include align-items(stretch);
|
||||||
|
@include flex-direction(row);
|
||||||
|
@include justify-content(flex-start);
|
||||||
|
.item {
|
||||||
|
@include animation-duration(5s);
|
||||||
|
@include animation-iteration-count(infinite);
|
||||||
|
@include animation-name(loadBar);
|
||||||
|
@include animation-timing-function(ease-in);
|
||||||
|
@include flex(1);
|
||||||
|
background: $gray;
|
||||||
|
height: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
$colors-list: #bbe831 #237400 #e43050 #810061 #618000;
|
||||||
|
@each $current-color in $colors-list {
|
||||||
|
$i: index($colors-list, $current-color) - 1;
|
||||||
|
.item-#{$i} {
|
||||||
|
@include animation-delay(#{$i}s);
|
||||||
|
background: $current-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,39 +1,3 @@
|
||||||
// Rotating loader
|
|
||||||
@include keyframes(spin) {
|
|
||||||
100% {
|
|
||||||
@include transform(rotate(360deg));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Spinner
|
|
||||||
@include keyframes(fadeIn) {
|
|
||||||
0% {
|
|
||||||
@include transform(translateX(1rem));
|
|
||||||
@include filter(blur(5px));
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
1.6% {
|
|
||||||
@include transform(translateX(.2rem));
|
|
||||||
@include filter(blur(0));
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
12% {
|
|
||||||
@include transform(translateX(-.2rem));
|
|
||||||
@include filter(blur(0));
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
16% {
|
|
||||||
@include transform(translateX(-1rem));
|
|
||||||
@include filter(blur(5px));
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
@include transform(translateX(-1rem));
|
|
||||||
@include filter(blur(5px));
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Loading
|
//Loading
|
||||||
@include keyframes(loading) {
|
@include keyframes(loading) {
|
||||||
0% {
|
0% {
|
||||||
|
@ -60,3 +24,16 @@
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Bar loading
|
||||||
|
@include keyframes(loadBar) {
|
||||||
|
0% {
|
||||||
|
@include flex(1);
|
||||||
|
}
|
||||||
|
10% {
|
||||||
|
@include flex(10);
|
||||||
|
}
|
||||||
|
20% {
|
||||||
|
@include flex(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -80,6 +80,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.master {
|
.master {
|
||||||
|
background: $white;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -106,7 +107,7 @@ body {
|
||||||
@include flex(1);
|
@include flex(1);
|
||||||
@include transition(all .2s linear);
|
@include transition(all .2s linear);
|
||||||
padding: 2em 1em;
|
padding: 2em 1em;
|
||||||
width: 260px;
|
width: 210px;
|
||||||
.filters-inner {
|
.filters-inner {
|
||||||
@include transition (all .4s ease-in);
|
@include transition (all .4s ease-in);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
.issues {
|
.issues {
|
||||||
.filters-bar {
|
.filters-bar {
|
||||||
@include table-flex-child(1, 260px, 0, 260px);
|
@include flex(1);
|
||||||
|
width: 210px;
|
||||||
}
|
}
|
||||||
.filters-inner {
|
.filters-inner {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
@ -51,7 +51,7 @@ exports.files = function () {
|
||||||
'components/wysiwyg',
|
'components/wysiwyg',
|
||||||
'components/select-color',
|
'components/select-color',
|
||||||
'components/loader',
|
'components/loader',
|
||||||
'components/spinner',
|
'components/loading-bar',
|
||||||
'components/help-notion-button',
|
'components/help-notion-button',
|
||||||
'components/beta',
|
'components/beta',
|
||||||
'components/markitup',
|
'components/markitup',
|
||||||
|
|
Loading…
Reference in New Issue