_loading.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. height: 3px;
  19. background-image: linear-gradient(to right, #153674 0%, #153674 47%, #2651AE 53%, #2651AE 100%);
  20. z-index: 2;
  21. }
  22. &.error {
  23. height: 40px;
  24. background-color: #2f0d0e;
  25. background-image: linear-gradient(to right, #451317 0%, #451317 47%, #AA3039 53%, #AA3039 100%);
  26. z-index: 1;
  27. }
  28. /* Content ------------------------------------------------*/
  29. h1 {
  30. margin: 13px 13px 0 13px;
  31. color: #ddd;
  32. font-size: 14px;
  33. font-weight: bold;
  34. text-shadow: 0 1px 0 black(1);
  35. text-transform: capitalize;
  36. span {
  37. margin-left: 10px;
  38. font-weight: normal;
  39. text-transform: none;
  40. }
  41. }
  42. }