CN-1551 feat: 升级element-ui版本

This commit is contained in:
刘洪洪
2024-02-02 18:13:11 +08:00
parent b286861137
commit b02d8ecb8b
68 changed files with 1015 additions and 479 deletions

View File

@@ -0,0 +1,68 @@
.el-drawer__body {
padding: 0 !important;
}
.el-tabs__item {
display: inline-block !important;
height: var(--el-tabs-header-height);
line-height: var(--el-tabs-header-height);
}
.el-table--border::before, .el-table__border-left-patch {
//width: 0 !important;
}
.el-table--border .el-table__inner-wrapper::after, .el-table__inner-wrapper::before {
//height: 0 !important;
}
.el-popper.is-pure {
margin-top: -10px;
}
.el-select__wrapper {
min-height: 28px !important;
}
.el-input__wrapper {
height: 28px;
}
.el-input--mini .el-input__inner {
height: 28px !important;
line-height: 28px !important;
}
.el-table td.el-table__cell div {
margin-left: -1px;
}
.el-table .sort-caret.ascending {
border-bottom-color: #c0c4cc !important;
}
.el-table .ascending .sort-caret.ascending {
border-bottom-color: #699dc9 !important;
}
.el-table .sort-caret.descending {
border-top-color: #c0c4cc !important;
}
.el-table .descending .sort-caret.descending {
border-top-color: #699dc9 !important;
}
.el-radio.el-radio--large {
height: auto !important;
}
.el-radio {
height: auto !important;
}
.el-radio__input.is-checked + .el-radio__label {
color: $--color-primary !important;
}
.el-radio__input.is-checked .el-radio__inner {
background: $--color-primary !important;
border-color: $--color-primary !important;
}
.el-radio__label {
padding-left: 10px !important;
}
.el-tag {
min-width: 24px;
height: 24px !important;
line-height: 24px !important;
}
.el-popover.el-popper {
padding: 0 !important;
}

View File

@@ -1,6 +1,6 @@
// 部分 select 通用样式
.common-select.el-select__popper {
top: 27px !important;
//top: 27px !important;
.el-popper__arrow {
display: none;
}

View File

@@ -196,7 +196,7 @@
position: absolute;
width: calc(100% - 40px);
border: 1px solid $--right-box-border-color;
border-bottom: none;
//border-bottom: none;
border-radius:4px;
.caret-wrapper {
@@ -214,7 +214,7 @@
}
td {
padding: 8px 0;
padding: 3px 0 4px 0;
border-bottom: 1px solid $--right-box-border-color;
}
th {
@@ -399,6 +399,9 @@
.margin-t-20{
margin-top: 20px;
}
.margin-r-3{
margin-right: 3px;
}
.tooltip-column-name {
color: #aeb0b9;
height:40px;