CN-1551 feat: 升级element-ui版本的样式修改
This commit is contained in:
@@ -144,6 +144,9 @@
|
||||
background: $--select-bg-color-hover-1;
|
||||
}
|
||||
}
|
||||
.el-range-editor.el-input__wrapper{
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.date-range-panel-content-right {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
.el-checkbox {
|
||||
margin-right: 24px;
|
||||
line-height: 28px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
.el-checkbox-group {
|
||||
line-height: 28px;
|
||||
@@ -108,10 +109,40 @@
|
||||
height: 32px;
|
||||
margin: 10px 0 0 10px;
|
||||
}
|
||||
.el-input__wrapper {
|
||||
height: 32px !important;
|
||||
padding: 1px 11px !important;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.el-input__inner {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.el-form-item__content {
|
||||
line-height: 40px !important;
|
||||
}
|
||||
}
|
||||
.el-input__inner {
|
||||
border: none;
|
||||
}
|
||||
.el-select--small .el-select__wrapper {
|
||||
padding: 0 10px;
|
||||
min-height: 32px !important;
|
||||
line-height: 32px !important;
|
||||
margin-top: -2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
.right-box__select--param {
|
||||
.el-input__prefix {
|
||||
//.el-select--small .el-select__prefix {
|
||||
// left: 0;
|
||||
// background-color: #f5f7fa;
|
||||
// color: #999;
|
||||
// padding: 0 1.07143rem;
|
||||
// border: 1px solid #dcdfe6;
|
||||
// border-radius: 2px 0 0 2px;
|
||||
//}
|
||||
.el-select__prefix, .el-input__prefix {
|
||||
left: 0;
|
||||
background-color: #f5f7fa;
|
||||
color: #999;
|
||||
@@ -119,6 +150,9 @@
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 2px 0 0 2px;
|
||||
}
|
||||
.el-select__wrapper {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.my-form-item .el-form-item__content {
|
||||
|
||||
@@ -10,6 +10,21 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
.el-form-item {
|
||||
margin-bottom: 27px;
|
||||
}
|
||||
.el-form-item__content {
|
||||
width: 600px;
|
||||
.el-select__wrapper {
|
||||
min-height: 32px !important;
|
||||
line-height: 32px;
|
||||
padding: 0 10px 0 16px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
.el-form--default.el-form--label-top .el-form-item .el-form-item__label {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.el-input {
|
||||
width:600px;
|
||||
}
|
||||
@@ -60,3 +75,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-popper.is-pure {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@@ -129,6 +129,10 @@
|
||||
|
||||
.el-input--small {
|
||||
line-height: 27px;
|
||||
.el-input__wrapper {
|
||||
height: 28px !important;
|
||||
border-radius: 2px 0 0 2px !important;
|
||||
}
|
||||
|
||||
.el-input__inner {
|
||||
height: 28px;
|
||||
|
||||
@@ -78,11 +78,37 @@
|
||||
color: #1b2e3b;
|
||||
background: #ebeef5;
|
||||
}
|
||||
.el-range-editor--small.el-input__wrapper {
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
}
|
||||
.cn-detection__footer {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
.el-pagination__jump {
|
||||
margin-left: 3px;
|
||||
}
|
||||
.el-pagination__goto {
|
||||
display: none;
|
||||
}
|
||||
.el-input--small {
|
||||
width: 46px !important;
|
||||
.el-input__wrapper {
|
||||
height: 22px;
|
||||
}
|
||||
}
|
||||
.el-pagination--small {
|
||||
.btn-prev {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.btn-next {
|
||||
margin-left: 10px;
|
||||
}
|
||||
&span {
|
||||
color: $--color-text-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.block.drop-down-time {
|
||||
@@ -176,6 +202,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-table__border-left-patch, .el-table--border::before {
|
||||
width: 0;
|
||||
}
|
||||
.el-table--border .el-table__inner-wrapper::after, .el-table__inner-wrapper::before {
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.table-operation-all {
|
||||
|
||||
@@ -169,6 +169,8 @@
|
||||
align-items: center;
|
||||
.card-title-name {
|
||||
width:100%;
|
||||
height: 19.2px;
|
||||
line-height: 19.2px;
|
||||
overflow: hidden; //超出的文本隐藏
|
||||
text-overflow: ellipsis; //溢出用省略号显示
|
||||
white-space:nowrap;
|
||||
@@ -996,6 +998,10 @@
|
||||
padding-left: 20px;
|
||||
overflow: auto;
|
||||
|
||||
.el-form--label-top .el-form-item .el-form-item__label {
|
||||
margin-bottom: 3px !important;
|
||||
}
|
||||
|
||||
.enable-form__mt {
|
||||
.el-form {
|
||||
margin-top:6px;
|
||||
@@ -1176,6 +1182,7 @@
|
||||
}
|
||||
.el-textarea__inner {
|
||||
padding-left: 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.form-select__disable {
|
||||
@@ -1188,6 +1195,13 @@
|
||||
.form-select__enable {
|
||||
width: 100%;
|
||||
|
||||
.el-select__wrapper {
|
||||
//padding-left: 22px !important;
|
||||
.el-select__inner {
|
||||
background-color: #521919 !important;
|
||||
padding-left: 22px !important;
|
||||
}
|
||||
}
|
||||
.el-input__inner {
|
||||
background-color: white !important;
|
||||
padding-left: 22px !important;
|
||||
@@ -1899,6 +1913,7 @@
|
||||
padding-top:0px;
|
||||
padding-right:30px;
|
||||
padding-left:30px;
|
||||
padding-bottom:30px;
|
||||
.dialog-message {
|
||||
padding-left:0px !important;
|
||||
padding-right:0px !important;
|
||||
@@ -1920,12 +1935,21 @@
|
||||
&.update-dialog__table--system-user {
|
||||
height: calc(100% - 139px);
|
||||
}
|
||||
&.el-table .el-table__cell {
|
||||
padding: 12px 0 !important;
|
||||
}
|
||||
&.el-table .el-table__row .el-table__cell {
|
||||
padding: 8px 0 !important;
|
||||
}
|
||||
}
|
||||
.update-knowledge-form {
|
||||
.el-upload {
|
||||
width:100%;
|
||||
}
|
||||
.form-input {
|
||||
.el-input__wrapper {
|
||||
padding: 1px 16px !important;
|
||||
}
|
||||
.el-input__inner{
|
||||
padding-right: 50px !important;
|
||||
font-size: 14px;
|
||||
@@ -1936,7 +1960,8 @@
|
||||
border: 1px solid rgba(222,222,222,1);
|
||||
box-shadow: 0px 2px 4px 0px rgba(51,51,51,0.02);
|
||||
border-radius: 2px;
|
||||
width:100%;
|
||||
//width:100%;
|
||||
width: 1020px;
|
||||
height:28px;
|
||||
min-height:28px !important;
|
||||
color: #575757;
|
||||
@@ -1962,6 +1987,16 @@
|
||||
}
|
||||
.knowledge-remark {
|
||||
margin-bottom:0px !important;
|
||||
.el-textarea__inner {
|
||||
font-size: 12px;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
}
|
||||
.el-form--label-top .el-form-item .el-form-item__label {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.el-form--default.el-form--label-top .el-form-item .el-form-item__label {
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
.dialog-footer {
|
||||
|
||||
@@ -43,4 +43,7 @@
|
||||
-webkit-line-clamp: 2; // 超出多少行
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
.cn-table .el-table:not(.chart-table) td {
|
||||
padding: 8px 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user