base.scss 2.1 KB
Newer Older
1 2
html {
  box-sizing: border-box;
3
  height: 100%;
4 5 6 7 8 9 10 11 12
}
*, *:before, *:after {
  box-sizing: inherit;
}

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

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

  &.is-fullscreen {
    height: 100vh;
  }
20
}
21

22
.v-application--wrap {
Nicolas Giard's avatar
Nicolas Giard committed
23 24
  transition: all 1.2s ease;
  transform-origin: 50% 50%;
25
  // background-color: #FFF;
Nicolas Giard's avatar
Nicolas Giard committed
26 27 28 29 30 31

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

32 33 34 35 36
.v-application {
  @for $i from 0 through 25 {
    .radius-#{$i} {
      border-radius: #{$i}px;
    }
37
  }
38

39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
  @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;
    }
64
  }
65 66 67
  .grey.darken-5 {
    background-color: #0C0C0C !important;
    border-color: #0C0C0C !important;
68
  }
69 70 71 72

  .blue.darken-5 {
    background-color: darken(mc('blue', '900'), 20%) !important;
    border-color: darken(mc('blue', '900'), 20%) !important;
73
  }
74 75 76
  .indigo.darken-5 {
    background-color: darken(mc('indigo', '900'), 10%) !important;
    border-color: darken(mc('indigo', '900'), 10%) !important;
77 78
  }
}