naive-ui/styles/base.scss

48 lines
824 B
SCSS
Raw Normal View History

2019-06-18 14:53:24 +08:00
@import './fonts/Lato.scss';
2019-12-22 15:31:04 +08:00
@import './fonts/FiraCode.scss';
@import './fonts/FiraSans.scss';
2020-02-11 14:44:29 +08:00
@import './themes/common.scss';
@import './themes/light/index.scss';
@import './Detachable.scss';
2019-05-29 17:49:01 +08:00
@include setup-light-theme();
2019-09-18 22:01:34 +08:00
html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
2019-09-19 00:11:02 +08:00
// font-smoothing: antialiased;
2019-09-18 22:01:34 +08:00
// font-weight: 400;
}
body {
margin: 0;
font-family: $--n-font-family;
2019-06-06 16:44:10 +08:00
min-width: 1280px;
}
a {
color: $--primary-6;
}
input {
font-family: $--n-font-family;
font-size: inherit;
2019-08-16 16:48:36 +08:00
}
.n-positioning-container {
2019-08-16 16:48:36 +08:00
position: fixed;
left: 0;
right: 0;
2019-08-16 16:48:36 +08:00
top: 0;
bottom: 0;
pointer-events: none;
transform: translateZ(0);
2019-08-16 16:48:36 +08:00
}
.n-positioning-container.n-positioning-container--absolute {
position: absolute;
}
.n-positioning-content {
pointer-events: all;
}