naive-ui/styles/base.scss

41 lines
820 B
SCSS
Raw Normal View History

2019-12-22 15:31:04 +08:00
@import './fonts/FiraCode.scss';
@import './fonts/FiraSans.scss';
2020-02-27 18:09:23 +08:00
@import './fonts/Metropolis.scss';
2020-02-11 14:44:29 +08:00
@import './themes/common.scss';
@import './themes/light/index.scss';
2020-02-11 17:19:00 +08:00
@import './mixins/mixins.scss';
@include themes-mixin {
@include once {
body {
margin: 0;
2020-02-13 19:14:30 +08:00
font-size: 14px;
2020-02-11 17:19:00 +08:00
font-family: $--n-font-family;
}
a {
2020-02-19 19:58:39 +08:00
color: $--n-primary-color;
2020-02-11 17:19:00 +08:00
}
input {
font-family: $--n-font-family;
font-size: inherit;
}
@include b(positioning-container) {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
transform: translateZ(0);
@include m(absolute) {
position: absolute;
}
@include b(positioning-content) {
pointer-events: all;
}
}
}
}