@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; } } .cursorP { cursor: pointer } .el-button--primary { background-color: #5C88FA; border-color: #5C88FA; } .el-button--success { background-color: #8DCF6E; border-color: #8DCF6E; } .el-button--danger { color: #FFF; background-color: #E06969; border-color: #E06969; } // main-container global css .app-container { margin: 15px; background: #f4f4f4; min-height: calc(100vh - 80px); padding: 15px } .subtitle { line-height: 30px; font-size: 16px; } // 筛选条件样式 .filter-container { // margin: 20px 0; font-size: 14px; overflow: hidden; .el-input__inner { height: 30px; line-height: 30px } .el-button { padding: 7px 12px } // .el-input { // margin-left: 5px; // } } .el-input__icon { line-height: 30px } .filter-left { float: left; } .filter-item { display: inline-block; } .search-button, .filter-item { margin: 10px 10px 0 0; } .handle-button-right { float: right; margin: 10px 0 0; } .el-table .el-button { border-width: 0px; background: rgba(0, 0, 0, 0); } .el-table .el-button:hover { opacity: 0.7; } // 重写表格样式 .el-table td, .el-table th.is-leaf, .el-table--border, .el-table--group { border-color: #d9d9d9; } .el-table--border::after, .el-table--group::after, .el-table::before { background-color: #d9d9d9; } .el-table td, .el-table th { text-align: center !important; } .el-table .cell, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell { padding-left: 0px; padding-right: 0px; } .el-table .cell { height: 23px } .el-table td { // padding: 0; .el-button { padding: 0px 2px } } .el-table th, .el-table td { padding: 0; line-height: 40px; height: 40px } //横线 .el-divider--horizontal { width: calc(100% + 30px); position: relative; left: -15px; } // 重写弹出框样式 .el-input__inner { height: 30px; line-height: 30px; } .el-dialog { display: flex; flex-direction: column; margin: 0 !important; position: absolute; top: 50%; left: 50%; width: 40%; min-width: 500px; transform: translate(-50%, -50%); max-height: calc(100% - 30px); max-width: calc(100% - 30px); .el-form-item { margin-bottom: 20px } .el-form-item__content, .el-form-item__label { line-height: 30px } .el-form-item__label { padding-right: 20px } } .el-dialog .el-dialog__body { flex: 1; overflow: auto; } .el-dialog__header { background: #eaeef7; padding: 0 20px; line-height: 50px; } .el-dialog__footer { text-align: center; } .el-dialog__footer .el-button+.el-button { margin-left: 100px; } .el-dialog__footer .el-button { width: 78px; line-height: 30px; height: 30px; padding: 0; } .el-dialog .el-form-item { width: 350px; margin: 0 auto 20px; } // 巡检路线详情弹框 .routeDialog .el-dialog__body { padding: 0!important } .routeDialogVisible .filter-container { border: 1px solid #d9d9d9; border-bottom: 0 } .routeDialogVisible .filter-item { width: 50%; padding: 10px 20px; margin: 0; } //删除弹框样式 .el-message-box__header { background: #EAEEF7 } //分页重置样式 .el-pagination { position: absolute; bottom: 10px; right: 10px; z-index: 11 } .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li { background-color: #fff; border: 1px solid #606266; color: #606266 } // 日期选择器样式重置 .el-range-editor.el-input__inner { padding: 0 10px } // 选择文件样式重置 // .chooseFile { // background: #aaa; // border-color: rgba(0, 0, 0, 0); // color: #fff // } // .chooseFile:hover { // background: #aaa; // border-color: rgba(0, 0, 0, 0); // opacity: .7; // color: #fff // } .check { // text-decoration: underline; cursor: pointer; color: #5c88fa; } .check:hover { text-decoration: underline; /* color: #5c88fa; */ } .el-dialog__body { height: 600px!important; overflow: auto; } // 下拉框箭头样式重置 .el-icon-arrow-up:before { content: "\e78f"!important } .el-select .el-input .el-select__caret { color: #757575 } // 弹框关闭图标样式重置 .el-dialog__headerbtn { top: 11px; right: 15px; font-size: 25px; } .el-dialog__headerbtn .el-dialog__close { color: #303133 }