@import "base/style.less"; @import "base/mixin.less"; html, body { min-height: 100vh; width: 100vw; background-color: @backgroundColor; margin: 0; display: flex; .ms-font(@defalutSize, @defalutColor) !important; //默认字体样式 * { text-decoration: none !important; font-family: Verdana, Arial, Helvetica, sans-serif; box-sizing: border-box; } } @headHeight: 50px; //超文本隐藏 .ms-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } //垂直居中 .ms-align-center { display: flex; align-items: center; } //修改描述字体颜色 input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { .ms-font(@auxiliarySize, @auxiliaryColor); resize: none; } //设置滚动条样式 *::-webkit-scrollbar { .ms-width-height(8px); } /*定义滚动条轨道 内阴影+圆角*/ *::-webkit-scrollbar-track { border-radius: 10px; /*滚动条的背景区域的圆角*/ background-color: @backgroundColor; /*滚动条的背景颜色*/ } /*定义滑块 内阴影+圆角*/ *::-webkit-scrollbar-thumb { border-radius: 10px; /*滚动条的圆角*/ background-color: @borderColor; /*滚动条的背景颜色*/ } .ms-container { margin: 12px; height: ~'calc(100% - 24px)'; padding: 14px 14px 0 14px; background: #fff; } .ms-header { padding: 10px; margin: 0; border-bottom: 1px solid #ddd; background: #fff; height: 50px } .ms-pagination { padding: 20px 0; text-align: right; } .ms-fr { float: right; } .ms-tr { text-align: right; } .el-button+.el-button { margin-left: 0 } .ms-weixin-content{ width: ~'calc(100% - 140px)'; } // 弹出框样式 .ms-weixin-dialog{ .el-dialog__header{ height: 55px; box-sizing: border-box; padding: 10px 10px 25px 10px; border-bottom: 1px solid @borderColor; .el-dialog__title{ .ms-font(@defalutSize,@defalutColor,bold); } } .el-dialog__footer{ border-top: 1px solid @borderColor; padding: 15px !important; } }