Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Design Loading

Simon Künnen edited this page Feb 5, 2015 · 4 revisions

← zurück zum Umsetzung Wiki

Verantwortlicher:
Simon Künnen

Beschreibung:
Overlay welches dem Nutzer darstellt, dass gerade intern gearbeitet wird und Eingaben in der Zeit blockiert.

Betroffende Dateien:
elements.css

Eingebundene Bibliotheken:
-

Darstellung:
Darstellung


###CSS elements.css

/*** Overlay - Simon ***/
.e__overlay {
    background: rgba(40, 41, 41, .8);
    width: 100%;
    height: 100%;
    z-index: 999;
    position: absolute;
    top: -100%;
    display: none;
}

.e__overlay.is__open {
    top: 0;
    display: block;
}

.e__overlay-stage {
    position: absolute;
    margin: 0px auto;
    top: 45%;
    width: 100%;
    text-align: center;
    display: inline;
}

.e__overlay-stage h1 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    display: inline;
}

/*** /Overlay - Simon ***/
/*** Spinner - Simon ***/
.e__spinner {
    display: inline;
}

.e__spinner > div {
    width: 8px;
    height: 8px;
    background-color: #fff;
    margin: 0px auto;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.e__spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.e__spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0.0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    40% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

/*** /Spinner - Simon ***/

###HTML

<div id="overlay-loader" class="e__overlay">
    <div class="e__overlay-stage">
        <div class="e__spinner">
            <h1>Laden </h1>

            <div class="bounce1"></div>
            <div class="bounce2"></div>
            <div class="bounce3"></div>
        </div>
    </div>
</div>

Clone this wiki locally