@import './variables.scss';
|
@import './mixin.scss';
|
@import './transition.scss';
|
@import './element-ui.scss';
|
@import './sidebar.scss';
|
@import './style.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%;overflow: hidden;
|
}
|
|
*,
|
*:before,
|
*:after {
|
box-sizing: inherit;padding: 0;margin: 0;
|
}
|
|
a,
|
a:focus,
|
a:hover {
|
cursor: pointer;
|
color: inherit;
|
outline: none;
|
text-decoration: none;
|
}
|
|
div:focus{
|
outline: none;
|
}
|
|
a:focus,
|
a:active {
|
outline: none;
|
}
|
|
a,
|
a:focus,
|
a:hover {
|
cursor: pointer;
|
color: inherit;
|
text-decoration: none;
|
}
|
|
.clearfix {
|
&:after {
|
visibility: hidden;
|
display: block;
|
font-size: 0;
|
content: " ";
|
clear: both;
|
height: 0;
|
}
|
}
|
|
//main-container全局样式
|
.app-main{
|
min-height: 100%;overflow-x:hidden;overflow-y: scroll;
|
}
|
|
.app-container {
|
padding: 20px;
|
}
|
::-webkit-scrollbar {
|
width: 4px; /* Chrome/Safari */
|
}
|
|
/* 定义滑块(thumb)的样式 */
|
::-webkit-scrollbar-thumb {
|
background-color: #999; /* Chrome/Safari */
|
}
|
|
/* 当滑块被按下时的样式 */
|
::-webkit-scrollbar-thumb:hover {
|
background-color: #666; /* Chrome/Safari */
|
}
|
|
/* 定义两侧边界的样式 */
|
::-webkit-scrollbar-track {
|
background-color: #f5f5f5; /* Chrome/Safari */
|
}
|