@import './element-ui'; @import './sidebar'; body { margin: 0; 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; min-width: 1200px; overflow-y: auto; } label { font-weight: 700; } html { height: 100%; box-sizing: border-box; } #app { height: 100%; } * { outline: none; } *, *: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; } //文本颜色预设 .text { &-primary { color: #303133; } &-regular { color: #606266; } &-secondary { color: #909399; } &-placeholder { color: #c0c4cc; } &-success { color: $green; } &-warning { color: $yellow; } &-danger { color: $red; } &-info { color: $gray; } &-main { color: $blue; } } @media screen and (max-width: 768px) { .el-dialog { width: 90%!important; } }