web/src/assets/scss/main.scss

97 lines
1.6 KiB
SCSS

@use "base";
ul, li {
list-style: none; /* 移除项目符号(如圆点、数字等) */
margin: 0; /* 清除默认外边距 */
padding: 0; /* 清除默认内边距 */
}
// 重置样式
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
font-family: PingFangSC, PingFang SC, sans-serif;
font-size: 16px;
color: base.$text-primary;
background-color: base.$background-color-base;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#app {
height: 100vh;
width: 100vw;
overflow: hidden;
}
html {
}
body {
background-color: #EEEEEEFF;
}
.center-wrapper {
@include base.center-wrapper;
}
.container-wrapper {
height: 100%;
background-color: #fff;
@include base.center-wrapper;
//@include base.padding;
}
.space {
@include base.space;
}
.container-wrapper_flex {
@include base.center-wrapper;
display: flex;
flex-direction: column;
min-height: 0;
height: 100%;
}
.content-wrapper {
flex: 1;
overflow: auto;
width: 100%;
@include base.padding;
@include base.border-radius;
@include base.box-shadow;
margin-top: 10px;
min-height: 0;
}
// 清除圆角
.clear-border-radius {
border-radius: 0;
}
// 清除背景色
.clear-background-color {
background-color: transparent;
}
// 清除内边距
.clear-padding {
padding: 0;
}
// 清除外边距
.clear-margin {
margin: 0;
}
.el-popper.is-light.type-popper, .el-popper.is-light>.el-popper__arrow:before{
background:#F5FAFF !important;
padding: 0 !important;
border: 1px solid #4D6DE4 !important;
}