73 lines
1.8 KiB
Stylus
73 lines
1.8 KiB
Stylus
@import "root.styl"
|
|
@import "button.styl"
|
|
@import "menu.styl"
|
|
@import "dropdown-menu.styl"
|
|
@import "select-dropdown.styl"
|
|
@import "dialog.styl"
|
|
// 优化 Element Plus 组件库默认样式
|
|
|
|
// -------------------------------- 修改 el-size=default 组件默认高度 start --------------------------------
|
|
// 修改 el-button 高度
|
|
|
|
// 修改 el-select 高度
|
|
.el-select--default {
|
|
.el-select__wrapper {
|
|
min-height: var(--el-component-custom-height) !important;
|
|
}
|
|
}
|
|
|
|
// 修改 el-checkbox-button 高度
|
|
.el-checkbox-button--default .el-checkbox-button__inner,
|
|
// 修改 el-radio-button 高度
|
|
.el-radio-button--default .el-radio-button__inner {
|
|
padding: 10px 15px !important;
|
|
}
|
|
|
|
.el-scrollbar__bar.is-vertical {
|
|
width: 4px;
|
|
}
|
|
|
|
// -------------------------------- 修改 el-size=default 组件默认高度 end --------------------------------
|
|
|
|
.el-input-number {
|
|
width 100% !important
|
|
}
|
|
|
|
.el-form-item.is-required:not(.is-no-asterisk).asterisk-left > .el-form-item__label-wrap > .el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk).asterisk-left > .el-form-item__label:before {
|
|
position: absolute;
|
|
top calc(50% - 16px)
|
|
left 0
|
|
width 7px !important;
|
|
text-align: center !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.el-form-item__label {
|
|
text-align-last: justify;
|
|
display: inline-block !important;
|
|
position: relative;
|
|
padding 0 12px !important;
|
|
}
|
|
|
|
.el-form-item.is-error {
|
|
.a-uploader {
|
|
.el-upload {
|
|
&.el-upload--text,
|
|
&.el-upload--picture,
|
|
&.el-upload--picture-card {
|
|
border-color: var(--el-color-danger);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.el-upload-list__item.is-success:focus .el-upload-list__item-status-label {
|
|
display: inline-flex !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.el-upload-list__item.is-success:hover .el-upload-list__item-status-label {
|
|
display none !important;
|
|
opacity 0 !important;
|
|
}
|