@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; background: #fff; } .ms-header { padding: 10px; margin: 0; border-bottom: 1px solid #ddd; background: #fff; height: 50px; button{ height: 30px; } } .ms-pagination { padding: 20px 0; text-align: right; } .ms-fr { float: right; } .ms-tr { text-align: right; } // 按钮组之间的间距 .el-button+.el-button { // margin-left: 5px; } .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; } } //选中样式 .ms-hover{ cursor: pointer; &:hover{ color: @themeColor; background: #fff; border-color: @themeColor; } } // 头部下拉选择区域间距 .ms-header-select{ font-size: 0; >.el-select:nth-of-type(2){ margin: 0 10px; } } .el-submenu{ // margin: 0 12px; // 菜单选中样式 .el-menu-item.is-active{ border-radius: 4px; } } // 卡片样式 .el-card, .el-message{ border-radius:0 !important; }