Commit 0c2112c7f6629248398bad4d20e20d1f9b0acd36

Authored by Elena.Budnik
1 parent 35eb7504

redmine 6495 ; loader modif

Showing 1 changed file with 28 additions and 12 deletions   Show diff stats
js/resources/css/login.css
... ... @@ -24,21 +24,37 @@ input, textarea { font-family:verdana,tahoma,arial,verdana,sans-serif; font-size
24 24 .qo-submit-over { background:transparent url(../images/login/login.gif) no-repeat 0 -38px; height:22px; left:705px; top:373px; width:43px; }
25 25  
26 26 .loader {
  27 + display: inline-block;
27 28 position: absolute;
28   - left: 50%;
  29 + left: 60%;
29 30 top: 50%;
30   - z-index: 999;
31   - margin: -75px 0 0 -75px;
32   - border: 16px solid #f3f3f3;
  31 + width: 64px;
  32 + height: 64px;
  33 + cursor: wait;
  34 +}
  35 +.loader:after {
  36 + content: " ";
  37 + display: block;
33 38 border-radius: 50%;
34   - border-top: 16px solid #3498db;
35   - width: 50px;
36   - height: 50px;
37   - animation: spin 2s linear infinite;
38   - display: none;
  39 + width: 0;
  40 + height: 0;
  41 + margin: 6px;
  42 + box-sizing: border-box;
  43 + border: 26px solid #fff;
  44 + border-color: #fff transparent #fff transparent;
  45 + animation: loader 1.2s infinite;
39 46 }
40 47  
41   -@keyframes spin {
42   - 0% { transform: rotate(0deg); }
43   - 100% { transform: rotate(360deg); }
  48 +@keyframes loader{
  49 + 0% {
  50 + transform: rotate(0);
  51 + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  52 + }
  53 + 50% {
  54 + transform: rotate(900deg);
  55 + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  56 + }
  57 + 100% {
  58 + transform: rotate(1800deg);
  59 + }
44 60 }
... ...