@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; } /deep/::-webkit-scrollbar { /*滚动条整体样式*/ width: 12px; height: 10px; } /deep/::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ height: 30px; background-color: #c0c0c0; -webkit-border-radius: 7px; outline: 2px solid #fff; outline-offset: -2px; border: 2px solid #fff; } /deep/::-webkit-scrollbar-thumb:hover { background-color: #999; } /deep/::-webkit-scrollbar-track { /*滚动条里面轨道*/ /*box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);*/ /*background : #ffffff;*/ /*border-radius: 10px;*/ } /deep/::-webkit-scrollbar-track-piece { background-color: #fff; -webkit-border-radius: 3px; } label { font-weight: 700; } html { font-size: 1rem!important; 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; } .fade-enter, .fade-leave-active { opacity: 0; } .fade-enter-active, .fade-leave-active { transition: opacity 0.5s; }