@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 { position: relative; padding: 20px; } // table-operate-container global css .table-operate-container { margin-top: 20px; } // table-container global css .table-container { margin-top: 20px; } // 分页栏样式 .pagination-container { margin-top: 10px; } // element-ui message 位置往上提 .el-message-box__wrapper { height: 70%; } .full-width { width: 100%; } .full-height { height: 100%; } // webkit内核滚动条优化(Chrome 和 Safari 浏览器) *:hover::-webkit-scrollbar { display: block; } ::-webkit-scrollbar { display: none; /*滚动条整体样式*/ width: 9px; /*高宽分别对应横竖滚动条的尺寸*/ height: 9px; } ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 7px; background-color: rgba(144, 147, 153, 0.3); -webkit-transition: 0.3s background-color; transition: 0.3s background-color; } ::-webkit-scrollbar-track { /*滚动条里面轨道*/ /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); border-radius: 6px; background-color: rgba(144,147,153,.3); */ }