@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; font-family: Menlo,Monaco,Consolas,"Courier New",monospace;; } /deep/::-webkit-scrollbar { /*滚动条整体样式*/ width: 12px; height: 12px; } /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; } .al-icon-picker-popper.el-popover { max-width: 100%; padding: 4px 3px 15px 15px; } .al-icon-picker-popper { .el-card { margin: 10px 12px 0 0; } .el-scrollbar__wrap { overflow-x: hidden; margin-right: 0!important; &::-webkit-scrollbar { width: 0; height: 0; } } .el-scrollbar__bar.is-vertical{ width: 6px!important; } .el-tabs .el-tabs__header { margin: 0; } .el-card__body { padding: 0; } .el-tabs .el-tabs__item { padding: 0 12px!important; } .al-icon-picker-item { display: block; padding: 8px 0; font-size: 20px; text-align: center; transition: transform .1s; cursor: pointer; } .al-icon-picker-item:hover { transform: scale(1.5); } } .al-card-border { border: 1px solid #ededed; } .al-select { .el-scrollbar__wrap { &::-webkit-scrollbar { width: 0; height: 0; } } .el-scrollbar__bar.is-vertical{ width: 6px!important; } } .al-file-sort-item { .al-file-sort-item-icon { font-weight: 600; margin-right: 0; } } .al-file-sort-item.active { color: #40a9ff; } .al-file-sort-item:not(.active) .al-file-sort-item-icon { visibility: hidden; }