base.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. html {
  2. box-sizing: border-box;
  3. font-family: $core-font-standard;
  4. height: 100%;
  5. }
  6. *, *:before, *:after {
  7. box-sizing: inherit;
  8. }
  9. [v-cloak], .is-hidden {
  10. display: none;
  11. }
  12. #app {
  13. position: relative;
  14. min-height: 100%;
  15. &.is-fullscreen {
  16. height: 100vh;
  17. }
  18. }
  19. // body {
  20. // background-color: lighten(mc('blue-grey','50'), 5%);
  21. // height: 100%;
  22. // }
  23. // main {
  24. // background-color: mc('blue','500');
  25. // background-image: linear-gradient(to bottom, mc('blue', '700') 0%, mc('blue', '500') 100%);
  26. // padding: 50px;
  27. // min-height: 100vh;
  28. // }
  29. // Container
  30. .container {
  31. position: relative;
  32. }
  33. .content {
  34. padding: 20px;
  35. }
  36. // Visibility
  37. .is-hidden {
  38. display: none !important;
  39. }
  40. .is-hidden-until-scroll {
  41. max-height: 0;
  42. overflow: hidden;
  43. transition: all .6s ease;
  44. }
  45. .is-sticky .is-hidden-until-scroll {
  46. max-height: 30px;
  47. }
  48. .is-hidden-mobile {
  49. @include mobile {
  50. display: none !important;
  51. }
  52. }
  53. .is-hidden-tablet {
  54. @include tablet {
  55. display: none !important;
  56. }
  57. }
  58. .is-hidden-tablet-only {
  59. @include tablet-only {
  60. display: none !important;
  61. }
  62. }
  63. .is-hidden-touch {
  64. @include touch {
  65. display: none !important;
  66. }
  67. }
  68. .is-hidden-desktop {
  69. @include desktop {
  70. display: none !important;
  71. }
  72. }
  73. .is-hidden-desktop-only {
  74. @include desktop-only {
  75. display: none !important;
  76. }
  77. }
  78. .is-hidden-widescreen {
  79. @include widescreen {
  80. display: none !important;
  81. }
  82. }