123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- //
- // Misago Loaders
- // --------------------------------------------------
- .loader {
- &.sk-folding-cube {
- margin: @loader-vertical-margin auto;
- width: @loader-size;
- height: @loader-size;
- position: relative;
- -webkit-transform: rotateZ(45deg);
- transform: rotateZ(45deg);
- }
- &.sk-folding-cube .sk-cube {
- float: left;
- width: 50%;
- height: 50%;
- position: relative;
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- }
- &.sk-folding-cube .sk-cube:before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: @loader-color;
- -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
- animation: sk-foldCubeAngle 2.4s infinite linear both;
- -webkit-transform-origin: 100% 100%;
- -ms-transform-origin: 100% 100%;
- transform-origin: 100% 100%;
- }
- &.sk-folding-cube .sk-cube2 {
- -webkit-transform: scale(1.1) rotateZ(90deg);
- transform: scale(1.1) rotateZ(90deg);
- }
- &.sk-folding-cube .sk-cube3 {
- -webkit-transform: scale(1.1) rotateZ(180deg);
- transform: scale(1.1) rotateZ(180deg);
- }
- &.sk-folding-cube .sk-cube4 {
- -webkit-transform: scale(1.1) rotateZ(270deg);
- transform: scale(1.1) rotateZ(270deg);
- }
- &.sk-folding-cube .sk-cube2:before {
- -webkit-animation-delay: 0.3s;
- animation-delay: 0.3s;
- }
- &.sk-folding-cube .sk-cube3:before {
- -webkit-animation-delay: 0.6s;
- animation-delay: 0.6s;
- }
- &.sk-folding-cube .sk-cube4:before {
- -webkit-animation-delay: 0.9s;
- animation-delay: 0.9s;
- }
- @-webkit-keyframes sk-foldCubeAngle {
- 0%, 10% {
- -webkit-transform: perspective(140px) rotateX(-180deg);
- transform: perspective(140px) rotateX(-180deg);
- opacity: 0;
- } 25%, 75% {
- -webkit-transform: perspective(140px) rotateX(0deg);
- transform: perspective(140px) rotateX(0deg);
- opacity: 1;
- } 90%, 100% {
- -webkit-transform: perspective(140px) rotateY(180deg);
- transform: perspective(140px) rotateY(180deg);
- opacity: 0;
- }
- }
- @keyframes sk-foldCubeAngle {
- 0%, 10% {
- -webkit-transform: perspective(140px) rotateX(-180deg);
- transform: perspective(140px) rotateX(-180deg);
- opacity: 0;
- } 25%, 75% {
- -webkit-transform: perspective(140px) rotateX(0deg);
- transform: perspective(140px) rotateX(0deg);
- opacity: 1;
- } 90%, 100% {
- -webkit-transform: perspective(140px) rotateY(180deg);
- transform: perspective(140px) rotateY(180deg);
- opacity: 0;
- }
- }
- }
- .loader-compact {
- margin: 0px auto;
- width: 50px;
- text-align: center;
- &>div {
- width: @loader-compact-height;
- height: @loader-compact-height;
- background-color: #333;
- border-radius: 100%;
- display: inline-block;
- -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
- animation: sk-bouncedelay 1.4s infinite ease-in-out both;
- }
- .bounce1 {
- -webkit-animation-delay: -0.32s;
- animation-delay: -0.32s;
- }
- .bounce2 {
- margin: 0px 4px;
- -webkit-animation-delay: -0.16s;
- animation-delay: -0.16s;
- }
- @-webkit-keyframes sk-bouncedelay {
- 0%, 80%, 100% { -webkit-transform: scale(0.5) }
- 40% { -webkit-transform: scale(1.0) }
- }
- @keyframes sk-bouncedelay {
- 0%, 80%, 100% {
- -webkit-transform: scale(0.5);
- transform: scale(0.5);
- } 40% {
- -webkit-transform: scale(1.0);
- transform: scale(1.0);
- }
- }
- }
- // Loading page extra styles
- .page-loading {
- .lead {
- margin-top: @loader-vertical-margin * -0.5;
- margin-bottom: @loader-vertical-margin;
- color: @loader-text;
- text-align: center;
- }
- }
|