@import './variables.scss';
|
@import './mixin.scss';
|
@import './transition.scss';
|
@import './element-ui.scss';
|
@import './sidebar.scss';
|
|
body {
|
height: 100%;
|
-moz-osx-font-smoothing: grayscale;
|
-webkit-font-smoothing: antialiased;
|
text-rendering: optimizeLegibility;
|
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
}
|
|
label {
|
font-weight: 700;
|
}
|
|
html {
|
height: 100%;
|
box-sizing: border-box;
|
}
|
|
#app {
|
height: 100%;
|
}
|
|
*,
|
*:before,
|
*:after {
|
box-sizing: inherit;
|
}
|
|
a:focus,
|
a:active {
|
outline: none;
|
}
|
|
a,
|
a:focus,
|
a:hover {
|
cursor: pointer;
|
color: inherit;
|
text-decoration: none;
|
}
|
|
div:focus {
|
outline: none;
|
}
|
|
.clearfix {
|
&:after {
|
visibility: hidden;
|
display: block;
|
font-size: 0;
|
content: " ";
|
clear: both;
|
height: 0;
|
}
|
}
|
|
// main-container global css
|
.app-container {
|
padding: 20px;
|
}
|
/**修改全局的滚动条*/
|
/**滚动条的宽度*/
|
::-webkit-scrollbar {
|
width: 8px;
|
}
|
::-webkit-scrollbar-thumb {
|
background-color: #bdbfc4;
|
|
border-radius: 3px;
|
}
|
/*表格*/
|
.el-table__body-wrapper::-webkit-scrollbar {
|
width: 10px;
|
height: 10px;
|
}
|
.el-table__body-wrapper::-webkit-scrollbar-thumb {
|
// background-color: #eaecf1;
|
background-color: #bdbfc4;
|
border-radius: 3px;
|
}
|