_loading.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * @copyright 2014 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 rgba(0,0,0,.3);
  11. display: none;
  12. animation-name: moveBackground;
  13. animation-duration: .3s;
  14. animation-iteration-count: infinite;
  15. animation-timing-function: linear;
  16. }
  17. /* Modes ------------------------------------------------*/
  18. #loading.loading {
  19. background-image: linear-gradient(to right, #153674 0%, #153674 47%, #2651AE 53%, #2651AE 100%);
  20. z-index: 2;
  21. }
  22. #loading.error {
  23. background-color: #2f0d0e;
  24. background-image: linear-gradient(to right, #451317 0%, #451317 47%, #AA3039 53%, #AA3039 100%);
  25. z-index: 1;
  26. }
  27. /* Content ------------------------------------------------*/
  28. #loading h1 {
  29. margin: 13px 13px 0px 13px;
  30. color: #ddd;
  31. font-size: 14px;
  32. font-weight: bold;
  33. text-shadow: 0px 1px 0px #000;
  34. text-transform: capitalize;
  35. }
  36. #loading h1 span {
  37. margin-left: 10px;
  38. font-weight: normal;
  39. text-transform: none;
  40. }