naive-ui/styles/base.scss
2020-02-11 14:44:29 +08:00

48 lines
824 B
SCSS

@import './fonts/Lato.scss';
@import './fonts/FiraCode.scss';
@import './fonts/FiraSans.scss';
@import './themes/common.scss';
@import './themes/light/index.scss';
@import './Detachable.scss';
@include setup-light-theme();
html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
// font-smoothing: antialiased;
// font-weight: 400;
}
body {
margin: 0;
font-family: $--n-font-family;
min-width: 1280px;
}
a {
color: $--primary-6;
}
input {
font-family: $--n-font-family;
font-size: inherit;
}
.n-positioning-container {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
transform: translateZ(0);
}
.n-positioning-container.n-positioning-container--absolute {
position: absolute;
}
.n-positioning-content {
pointer-events: all;
}