base.scss 2.27 KB
Newer Older
1 2
html {
  box-sizing: border-box;
3
  height: 100%;
Nick's avatar
Nick committed
4
  overflow-y: auto !important;
5 6 7 8 9 10 11 12 13
}
*, *:before, *:after {
  box-sizing: inherit;
}

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

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

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

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

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

33 34 35 36 37 38 39 40
#root .v-application {
  .overline {
    line-height: 1rem;
    font-size: .625rem!important;
    font-weight: 400;
    letter-spacing: .1666666667em!important;
  }

41 42 43 44
  @for $i from 0 through 25 {
    .radius-#{$i} {
      border-radius: #{$i}px;
    }
45
  }
46

47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
  @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;
    }
72
  }
73 74 75
  .grey.darken-5 {
    background-color: #0C0C0C !important;
    border-color: #0C0C0C !important;
76
  }
77 78 79 80

  .blue.darken-5 {
    background-color: darken(mc('blue', '900'), 20%) !important;
    border-color: darken(mc('blue', '900'), 20%) !important;
81
  }
82 83 84
  .indigo.darken-5 {
    background-color: darken(mc('indigo', '900'), 10%) !important;
    border-color: darken(mc('indigo', '900'), 10%) !important;
85 86
  }
}