_loading.scss 1002 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * @copyright 2015 by Tobias Reich
  3. */
  4. #loading {
  5. position: fixed;
  6. width: 100%;
  7. height: 3px;
  8. background-size: 100px 3px;
  9. background-repeat: repeat-x;
  10. border-bottom: 1px solid black(.3);
  11. display: none;
  12. animation-name: moveBackground;
  13. animation-duration: .3s;
  14. animation-iteration-count: infinite;
  15. animation-timing-function: linear;
  16. /* Modes ------------------------------------------------*/
  17. &.loading {
  18. background-image: linear-gradient(to right, #153674 0%, #153674 47%, #2651AE 53%, #2651AE 100%);
  19. z-index: 2;
  20. }
  21. &.error {
  22. background-color: #2f0d0e;
  23. background-image: linear-gradient(to right, #451317 0%, #451317 47%, #AA3039 53%, #AA3039 100%);
  24. z-index: 1;
  25. }
  26. /* Content ------------------------------------------------*/
  27. h1 {
  28. margin: 13px 13px 0 13px;
  29. color: #ddd;
  30. font-size: 14px;
  31. font-weight: bold;
  32. text-shadow: 0 1px 0 black(1);
  33. text-transform: capitalize;
  34. span {
  35. margin-left: 10px;
  36. font-weight: normal;
  37. text-transform: none;
  38. }
  39. }
  40. }