loader.scss 1.32 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
/* loader.scss */

.fa-spin-custom {
    animation: spin 1000ms infinite linear;
}

.glyphicon-spin {
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        //Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
        transform: rotate(0deg);
    }
    100% {
        //Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        //Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
        transform: rotate(0deg);
    }
    100% {
        //Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
        transform: rotate(359deg);
    }
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    z-index: 9;
    background: $white_80 $url_0 no-repeat center center;
}

.fontLoader {
    top: 50%;
    left: 50%;
    position: absolute;
    display: none;
}

.initialLoading {
    display: block;
    position: absolute;
    margin-top: 30%;
    right: 50%;
    height: 60px;
}