_spinner.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /**
  2. * Spinners
  3. * --------------------------------------------------
  4. */
  5. .spinner {
  6. svg {
  7. width: $spinner-width;
  8. height: $spinner-height;
  9. }
  10. stroke: $spinner-default-stroke;
  11. fill: $spinner-default-fill;
  12. &.spinner-light {
  13. stroke: $spinner-light-stroke;
  14. fill: $spinner-light-fill;
  15. }
  16. &.spinner-stable {
  17. stroke: $spinner-stable-stroke;
  18. fill: $spinner-stable-fill;
  19. }
  20. &.spinner-positive {
  21. stroke: $spinner-positive-stroke;
  22. fill: $spinner-positive-fill;
  23. }
  24. &.spinner-calm {
  25. stroke: $spinner-calm-stroke;
  26. fill: $spinner-calm-fill;
  27. }
  28. &.spinner-balanced {
  29. stroke: $spinner-balanced-stroke;
  30. fill: $spinner-balanced-fill;
  31. }
  32. &.spinner-assertive {
  33. stroke: $spinner-assertive-stroke;
  34. fill: $spinner-assertive-fill;
  35. }
  36. &.spinner-energized {
  37. stroke: $spinner-energized-stroke;
  38. fill: $spinner-energized-fill;
  39. }
  40. &.spinner-royal {
  41. stroke: $spinner-royal-stroke;
  42. fill: $spinner-royal-fill;
  43. }
  44. &.spinner-dark {
  45. stroke: $spinner-dark-stroke;
  46. fill: $spinner-dark-fill;
  47. }
  48. }
  49. .spinner-android {
  50. stroke: #4b8bf4;
  51. }
  52. .spinner-ios,
  53. .spinner-ios-small {
  54. stroke: #69717d;
  55. }
  56. .spinner-spiral {
  57. .stop1 {
  58. stop-color: $spinner-light-fill;
  59. stop-opacity: 0;
  60. }
  61. &.spinner-light {
  62. .stop1 {
  63. stop-color: $spinner-default-fill;
  64. }
  65. .stop2 {
  66. stop-color: $spinner-light-fill;
  67. }
  68. }
  69. &.spinner-stable .stop2 {
  70. stop-color: $spinner-stable-fill;
  71. }
  72. &.spinner-positive .stop2 {
  73. stop-color: $spinner-positive-fill;
  74. }
  75. &.spinner-calm .stop2 {
  76. stop-color: $spinner-calm-fill;
  77. }
  78. &.spinner-balanced .stop2 {
  79. stop-color: $spinner-balanced-fill;
  80. }
  81. &.spinner-assertive .stop2 {
  82. stop-color: $spinner-assertive-fill;
  83. }
  84. &.spinner-energized .stop2 {
  85. stop-color: $spinner-energized-fill;
  86. }
  87. &.spinner-royal .stop2 {
  88. stop-color: $spinner-royal-fill;
  89. }
  90. &.spinner-dark .stop2 {
  91. stop-color: $spinner-dark-fill;
  92. }
  93. }