wikijs-fork/client/scss/base/base.scss

106 lines
1.5 KiB
SCSS
Raw Normal View History

2017-04-02 23:56:47 +00:00
html {
box-sizing: border-box;
font-family: $core-font-standard;
height: 100%;
2017-04-02 23:56:47 +00:00
}
*, *:before, *:after {
box-sizing: inherit;
}
[v-cloak], .is-hidden {
display: none;
}
#app {
position: relative;
min-height: 100%;
&.is-fullscreen {
height: 100vh;
}
}
2018-02-28 05:54:09 +00:00
// body {
// background-color: lighten(mc('blue-grey','50'), 5%);
// height: 100%;
// }
// main {
// background-color: mc('blue','500');
// background-image: linear-gradient(to bottom, mc('blue', '700') 0%, mc('blue', '500') 100%);
// padding: 50px;
// min-height: 100vh;
// }
2017-04-02 23:56:47 +00:00
// Container
.container {
position: relative;
}
.content {
padding: 20px;
}
.datatable {
th, td {
vertical-align: middle;
}
}
2017-04-02 23:56:47 +00:00
// Visibility
.is-hidden {
display: none !important;
}
.is-hidden-until-scroll {
max-height: 0;
overflow: hidden;
transition: all .6s ease;
}
.is-sticky .is-hidden-until-scroll {
max-height: 30px;
}
2017-04-02 23:56:47 +00:00
.is-hidden-mobile {
@include mobile {
display: none !important;
}
}
.is-hidden-tablet {
@include tablet {
display: none !important;
}
}
.is-hidden-tablet-only {
@include tablet-only {
display: none !important;
}
}
.is-hidden-touch {
@include touch {
display: none !important;
}
}
.is-hidden-desktop {
@include desktop {
display: none !important;
}
}
.is-hidden-desktop-only {
@include desktop-only {
display: none !important;
}
}
.is-hidden-widescreen {
@include widescreen {
display: none !important;
}
}