base.scss 2.0 KB

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