naive-ui/styles/base.scss
songwanli2025@163.com acce1ffe39 add(drawer): target
2020-03-15 22:58:26 +08:00

44 lines
768 B
SCSS

@import './fonts/FiraCode.scss';
@import './fonts/FiraSans.scss';
@import './themes/common.scss';
@import './themes/light/index.scss';
@import './mixins/mixins.scss';
body {
margin: 0;
font-size: 14px;
font-family: $--n-font-family;
}
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 b(positioning-content) {
pointer-events: all;
}
@include m(absolute) {
position: absolute;
}
}
@include b(modal-content) {
@include b(positioning-container) {
position: absolute;
}
}
@include b(drawer) {
@include b(positioning-container) {
position: absolute;
}
}