Project

General

Profile

Task #2156

Change loading icon

Added by Luke Murphey about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
11/18/2017
Due date:
% Done:

100%


Associated revisions

Revision 844 (diff)
Added by lukemurphey about 6 years ago

Updating the loading animation

Closes #2156

Revision 845 (diff)
Added by lukemurphey about 6 years ago

Updating the loading animation

Closes #2156

History

#2 Updated by Luke Murphey about 6 years ago

<div class="loading"></div>
$base-line-height: 24px;
$white: rgb(255,255,255);
$off-white: rgba($white, 0.2);
$spin-duration: 1s;

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

html {
  height: 100%;
}
body {
  @extend html;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #333333;
}

.loading {
    border-radius: 50%;
    width: $base-line-height;
    height: $base-line-height;
    border: .25rem solid $off-white;
    border-top-color: $white;
    animation: spin $spin-duration infinite linear;
}

#3 Updated by Luke Murphey about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF