@import './base.less'; /** *变量声明 * **/ /*公共变量*/ @disableColor: #ccc; @aside-width: 20%; @aside-min-width:270px; @header-height: 60px; @gray: #c9c9c9; @baseBackage: #dee2ea; @baseFontColor: #424243; @shadowColor: #b7b7b7; @borderWidth: 2px; /*朗通后台基本颜色*/ @adminBase: #48C5D7; @icssBorder: #c0c4cc; @icssHeight:240px; /*用户后台基本颜色*/ @userBase: #1774f0; /* *公用样式 */ .leftbtn { color: #48C5D7!important; border-color: #48C5D7; } .el-container { background: @baseBackage; width: 100%; height: 100%; } .el-main { height: 100%; padding: 0 0 20px; } .el-aside { background: #fff; width: 300px; min-height: 220px; border-right: 1px @gray solid; height: 100%; .logo { /*width: 100%; min-width: 300px;*/ text-align: center; color: #fff; height: @header-height; padding-top: 8px; /*margin-bottom: 20px;*/ box-sizing: border-box; } } .el-header { height: 60px; line-height: 60px; background: #fff; padding: 0 20px; width: 100%; border-bottom: 1px @gray solid; } /*注册部分公用*/ @btnColor: #2485c4; @btnDisableColor: #c9c9c9; .inputBorder { border: 1px solid #c9c9c9; } /**分页**/ .el-pagination { /* background: #fff; text-align: right; margin-top: 15px; padding: 16px 20px; position: fixed; z-index: 6; width: calc(80% - 80px); bottom: 0; */ white-space: nowrap; padding: 15px; color: #303133; line-height: 20px; font-weight: 700; text-align: right; background: #fff; margin-top: 15px; } /*element-ui 样式覆盖*/ .el-dialog__header{ border-bottom: 1px #f0f0f0 solid; padding: 10px 20px; .el-dialog__headerbtn{ top: 14px; } } .el-dialog__body{ padding: 20px 20px 30px; } .el-dialog__title{ font-size: 14px; } .demo-form-inline .el-input--mini .el-input__inner{ width: 100px; } .el-input--mini .el-input__inner { width: 120px; height: 24px; line-height: 24px; border-radius: 2px; border-color: @gray; padding: 0 5px; } .el-form--inline .el-form-item__label { font-size: 12px; vertical-align: text-bottom; /*chrome错位bug*/ padding: 0; } .el-button--mini, .el-button--mini.is-round { padding: 5px 15px 4px; } .el-button--warning.el-button--mini{ background: @adminBase; border:1px @adminBase solid; } .el-form-item.is-success .el-input__inner, .el-form-item.is-success .el-input__inner:focus, .el-form-item.is-success .el-textarea__inner, .el-form-item.is-success .el-textarea__inner:focus{ border-color:@adminBase; } .el-table td { padding: 0; text-align: center; } .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li { border: 1px @gray solid; } .el-table th { background: #eee; color: @baseFontColor; padding: 8px 0; text-align: center; } .el-table .cell{ line-height: 40px; } .el-range-editor.el-input__inner { height: 24px; padding: 1px 10px; } .el-dropdown { width: 175px; } .el-dropdown .el-button--default { color: @baseFontColor; border-color: @gray; } .el-dropdown .el-button--default:not(:last-child) { width: 145px; height: 30px; } .el-button-group .el-button:last-child { height: 30px; } .el-dropdown-menu { width: 175px; max-height: 200px; overflow-y: auto; margin-top: -5px; } .el-form-item__error { top: 34px; } /* 选中状态边框颜色改变 */ .activeBgc { background-color: #eae7e7; } .activeBgcF5 { background-color: #f5f5f5; } .el-button--default:focus, .el-button--default:hover { opacity: 1 !important; } .el-button--text:focus, .el-button--text:hover, .el-date-table td.available:hover { opacity: 1 !important; } // el-form-item el-form-item--feedback is-error is-required .changewords { .el-dialog__header { text-align: left; } .el-form-item { margin-bottom: 40px; } .el-form-item__label { width: 160px !important; } .el-form-item__content { margin-left: 160px !important; } .el-dialog--center .el-dialog__body { padding-right: 80px; padding-bottom: 0; } .el-dialog { width: 600px !important; border-radius: 4px; } .el-dialog__footer { padding-bottom: 30px; } } .el-message { top: 49% !important; }