gnousdoteu-v3/apps/gnous_eu/static/stylesheets/sass/index.scss

53 lines
1.1 KiB
SCSS
Raw Normal View History

2020-05-16 02:57:54 +02:00
@import "uikit/uikit.css";
@import "variables";
@import "uikit_fix";
html, body {
font-family: 'Roboto', sans-serif;
transition-duration: .3s;
}
@mixin render_theme($theme) {
body {
background-color: map_get(map_get($themes, $theme), 'primary');
color: map_get(map_get($themes, $theme), 'primary-text')
}
#app {
min-height: 100vh;
}
.nav {
z-index: 99;
background-color: map_get(map_get($themes, $theme), 'primary');
box-shadow: map_get(map_get($themes, $theme), 'shadow');
.uk-navbar-nav > li > a {
color: map_get(map_get($themes, $theme), 'primary-text');
text-transform: none;
&:hover, &.active {
text-decoration: underline;
}
}
}
.top-wrap-height {
height: 80vh;
min-height: 460px;
transition: height 0.25s;
}
.subtitle-text {
font-size: 1.2em;
opacity: 0.7;
}
}
html[data-theme="dark"] {
@include render_theme('dark')
}
html[data-theme="light"] {
@include render_theme('light')
}