.el-dropdown-menu__item { font-size: 12px !important; line-height: 28px !important; } .el-card.is-always-shadow { box-shadow: none; border: none !important; } .el-scrollbar__view { height: 100%; } .el-menu--horizontal { border-bottom: none !important; } .el-menu { border-right: none !important; } .el-menu--display, .el-menu--display + .el-submenu__icon-arrow { display: none; } .el-message__icon, .el-message__content { display: inline-block; } .el-date-editor .el-range-input, .el-date-editor .el-range-separator { height: auto; overflow: hidden; } .el-dialog__wrapper { z-index: 2048; } .el-scrollbar__wrap { overflow-x: hidden; } // .el-col { // margin-bottom: 8px; // } .el-main { padding: 0 !important; } .el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover { background-color: transparent !important; } .el-menu--horizontal > .el-menu-item { height: 40px !important; line-height: 40px !important; } .el-card__header { padding: 6px 18px !important; } .el-color-picker__color { border: 1px solid #fff !important; } // ------------------- 老样式 /*输入框共通样式,带校验*/ .el-input--medium .el-input__inner { height: 32px; background-color: #fff; line-height: 32px; border-radius: 4px; } .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: #ccc; } .el-form-item.is-error .el-input__inner, .el-form-item.is-error .el-input__inner:focus, .el-form-item.is-error .el-textarea__inner, .el-form-item.is-error .el-textarea__inner:focus { border-color: #ff4949 !important; } .el-tooltip__popper { max-width: 400px; } .el-input__inner:focus { outline: none; border-color: #ccc; } .el-select .el-input.is-focus .el-input__inner { border-color: #ccc; } .el-select .el-input__inner:focus { border-color: #ccc; } .el-select-dropdown__item.hover, .el-select-dropdown__item:hover { background-color: #f5f7fa; } /* 内容框禁止伸缩*/ .el-textarea__inner { resize: none !important; } /*列表共通*/ .el-tab-pane { .main-list { padding: 0; /deep/ .el-tag { background-color: #fffafa00; border-color: #d2e2fb00; } /deep/ .el-table__body-wrapper { min-height: auto; overflow-y: auto; } } } /*表格样式*/ .el-table { thead { height: 40px; } td, th { padding: 0 !important; cursor: pointer; } th > .cell { line-height: 42px; font-size: 12px !important; } .cell { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-height: 50px; font-size: 12px; // text-overflow: ellipsis; // overflow: hidden; // white-space: nowrap; .el-input { width: 95%; } } &__row { height: 50px; } &__header-wrapper, &__footer-wrapper { overflow: hidden; } &__empty-text { line-height: 60px; width: 50%; } } .el-popper[x-placement^='bottom'] { max-height: 500px; margin-top: 0px; } .el-dropdown-menu { overflow-y: auto; } .el-dropdown-menu[x-placement^='top'] { .popper__arrow { display: none; } overflow-y: unset; } /*表格样式结束*/ // .el-table--striped .el-table__body tr.el-table__row--striped td { // background: #fff; // } /* 灰色input框*/ /* 标题共通*/ .label-box { display: block; clear: both; .label-title { font-size: 16px; color: #333; font-weight: bold; display: inline-block; padding: 15px; padding-left: 0; &::before { content: '|'; font-size: 16px; border-left: 4px solid #1d6ced; color: #fff; } } } /*日期*/ .el-date-editor .el-range-separator { padding: 0 16px !important; } .el-date-editor.el-input--medium { .el-input__suffix { right: 30px; top: -2px; } } /*按钮*/ .left-button-container { width: 100%; // height: 50px; overflow: hidden; text-align: left; // padding: 0 25px; overflow: hidden; position: relative; // box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); background-color: #fff; right: 0; z-index: 8; } // .el-button--primary { // background-color: $blue; // } .el-button--primary:hover, .el-button--primary:focus { background: $hoverBlue; border-color: $hoverBlue; color: #ffffff; } .el-button--default:hover, .el-button--default:focus { color: $blue; border-color: $borderBlue; background-color: #e8f0fd; } .el-button--medium.is-round { font-size: 12px; border-radius: 16px; } .small-button-container { height: 50px; text-align: right; padding-right: 10px; position: relative; width: -webkit-fill-available; width: -moz-available; box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); background-color: #fff; right: 0; z-index: 8; .el-button { margin-top: 10px; } } .big-button-container { height: 50px; overflow: hidden; display: inline-block; text-align: right; padding-right: 10px; overflow: hidden; position: relative; width: -webkit-fill-available; -webkit-box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); background-color: #fff; right: 0; z-index: 8; .el-button { margin-top: 10px; } } /* 确认提示框*/ .el-message-box__btns { .el-button--primary { background-color: #1d6ced; color: #fff; } .el-button--small { padding: 9px 25px; } } /*inputnumber样式*/ .el-input-number__increase, .el-input-number__decrease { height: 30px !important; line-height: 32px; } .el-input-number .el-input { line-height: 32px; } .el-input-number .el-input__inner { height: 32px; line-height: 32px; } .el-select { .el-input__inner { border: 1px solid #ccc !important; padding: 0 15px !important; font-size: 12px !important; } } .el-date-editor.el-input, .el-date-editor.el-input__inner, .el-input-number--small { width: 100% !important; } .el-picker-panel.el-date-picker.el-popper { .el-date-table { font-size: 14px !important; } } .el-form-item--small .el-form-item__label, .el-form-item--small .el-form-item__content { line-height: 40px !important; } .el-button--medium, .el-button--small { padding: 0px 20px !important; height: 32px; // line-height: 30px; font-size: 12px; border-radius: 4px; } .right { .el-dropdown { // font-size: 12px; // line-height: 20px; // height: 20px; .el-dropdown-link { font-size: 12px; } } .el-checkbox { margin-left: 10px; margin-right: 0; height: 20px; line-height: 20px; } } .el-tabs__header { margin: 0 !important; } .el-loading-mask { background-color: rgba(212, 212, 212, 0.3) !important; } .el-collapse-item__header{ background-color: #eeeeee; padding: 0 10px; }