base.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. html {
  2. box-sizing: border-box;
  3. height: 100%;
  4. background-color: mc('grey', '900');
  5. }
  6. *, *:before, *:after {
  7. box-sizing: inherit;
  8. }
  9. [v-cloak], .is-hidden {
  10. display: none;
  11. }
  12. #root {
  13. position: relative;
  14. min-height: 100%;
  15. &.is-fullscreen {
  16. height: 100vh;
  17. }
  18. }
  19. .application--wrap {
  20. transition: all 1.2s ease;
  21. transform-origin: 50% 50%;
  22. background-color: #FFF;
  23. @at-root .theme--dark & {
  24. background-color: mc('grey', '900');
  25. }
  26. }
  27. @for $i from 0 through 25 {
  28. .radius-#{$i} {
  29. border-radius: #{$i}px;
  30. }
  31. }
  32. @for $i from 1 through 5 {
  33. .grey.darken-2-d#{$i} {
  34. background-color: darken(mc('grey', '700'), percentage($i/100)) !important;
  35. border-color: darken(mc('grey', '700'), percentage($i/100)) !important;
  36. }
  37. .grey.darken-2-l#{$i} {
  38. background-color: lighten(mc('grey', '700'), percentage($i/100)) !important;
  39. border-color: lighten(mc('grey', '700'), percentage($i/100)) !important;
  40. }
  41. .grey.darken-3-d#{$i} {
  42. background-color: darken(mc('grey', '800'), percentage($i/100)) !important;
  43. border-color: darken(mc('grey', '800'), percentage($i/100)) !important;
  44. }
  45. .grey.darken-3-l#{$i} {
  46. background-color: lighten(mc('grey', '800'), percentage($i/100)) !important;
  47. border-color: lighten(mc('grey', '800'), percentage($i/100)) !important;
  48. }
  49. .grey.darken-4-d#{$i} {
  50. background-color: darken(mc('grey', '900'), percentage($i/100)) !important;
  51. border-color: darken(mc('grey', '900'), percentage($i/100)) !important;
  52. }
  53. .grey.darken-4-l#{$i} {
  54. background-color: lighten(mc('grey', '900'), percentage($i/100)) !important;
  55. border-color: lighten(mc('grey', '900'), percentage($i/100)) !important;
  56. }
  57. }
  58. .grey.darken-5 {
  59. background-color: #0C0C0C !important;
  60. border-color: #0C0C0C !important;
  61. }
  62. .blue.darken-5 {
  63. background-color: darken(mc('blue', '900'), 20%) !important;
  64. border-color: darken(mc('blue', '900'), 20%) !important;
  65. }
  66. .indigo.darken-5 {
  67. background-color: darken(mc('indigo', '900'), 10%) !important;
  68. border-color: darken(mc('indigo', '900'), 10%) !important;
  69. }