base.scss 1.71 KB
Newer Older
1 2
html {
  box-sizing: border-box;
3
  height: 100%;
Nicolas Giard's avatar
Nicolas Giard committed
4 5
  perspective: 50vw;
  background-color: mc('grey', '900');
6 7 8 9 10 11 12 13 14
}
*, *:before, *:after {
  box-sizing: inherit;
}

[v-cloak], .is-hidden {
  display: none;
}

15
#root {
16 17
  position: relative;
  min-height: 100%;
18 19 20 21

  &.is-fullscreen {
    height: 100vh;
  }
22
}
23

Nicolas Giard's avatar
Nicolas Giard committed
24 25 26 27 28 29 30 31 32 33 34
.application--wrap {
  transition: all 1.2s ease;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  background-color: #FFF;

  @at-root .theme--dark & {
    background-color: mc('grey', '900');
  }
}

35

36
@for $i from 0 through 25 {
37 38 39 40
  .radius-#{$i} {
    border-radius: #{$i}px;
  }
}
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

@for $i from 1 through 5 {
  .grey.darken-2-d#{$i} {
    background-color: darken(mc('grey', '700'), percentage($i/100)) !important;
    border-color: darken(mc('grey', '700'), percentage($i/100)) !important;
  }
  .grey.darken-2-l#{$i} {
    background-color: lighten(mc('grey', '700'), percentage($i/100)) !important;
    border-color: lighten(mc('grey', '700'), percentage($i/100)) !important;
  }
  .grey.darken-3-d#{$i} {
    background-color: darken(mc('grey', '800'), percentage($i/100)) !important;
    border-color: darken(mc('grey', '800'), percentage($i/100)) !important;
  }
  .grey.darken-3-l#{$i} {
    background-color: lighten(mc('grey', '800'), percentage($i/100)) !important;
    border-color: lighten(mc('grey', '800'), percentage($i/100)) !important;
  }
  .grey.darken-4-d#{$i} {
    background-color: darken(mc('grey', '900'), percentage($i/100)) !important;
    border-color: darken(mc('grey', '900'), percentage($i/100)) !important;
  }
  .grey.darken-4-l#{$i} {
    background-color: lighten(mc('grey', '900'), percentage($i/100)) !important;
    border-color: lighten(mc('grey', '900'), percentage($i/100)) !important;
  }
}