fix(theme-chalk): namespace (#6416)

This commit is contained in:
gjfei
2022-03-05 20:34:01 +08:00
committed by GitHub
parent f6fc91b9d6
commit 158e5a8a23
7 changed files with 12 additions and 12 deletions

View File

@@ -33,7 +33,7 @@
@include e(wrap) {
// Raise the priority
&.el-scrollbar__wrap {
&.#{$namespace}-scrollbar__wrap {
height: 204px;
}
}

View File

@@ -8,25 +8,25 @@
@include when(week-mode) {
.#{$namespace}-date-table__row {
&:hover {
.el-date-table-cell {
.#{$namespace}-date-table-cell {
background-color: var(--el-datepicker-inrange-bg-color);
}
td.available:hover {
color: var(--el-datepicker-text-color);
}
td:first-child .el-date-table-cell {
td:first-child .#{$namespace}-date-table-cell {
margin-left: 5px;
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
}
td:last-child .el-date-table-cell {
td:last-child .#{$namespace}-date-table-cell {
margin-right: 5px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
}
}
&.current .el-date-table-cell {
&.current .#{$namespace}-date-table-cell {
background-color: var(--el-datepicker-inrange-bg-color);
}
}

View File

@@ -232,7 +232,7 @@
color: inherit;
}
}
.el-menu-tooltip__trigger {
.#{$namespace}-menu-tooltip__trigger {
position: absolute;
left: 0;
top: 0;

View File

@@ -47,12 +47,12 @@
}
@include when(multiple) {
.el-select-dropdown__option-item {
.#{$namespace}-select-dropdown__option-item {
&.is-selected {
color: map.get($select-option, 'selected-text-color');
background-color: map.get($select-dropdown, 'bg-color');
& .el-icon {
& .#{$namespace}-icon {
position: absolute;
right: 20px;
top: 0;

View File

@@ -28,7 +28,7 @@
display: flex;
align-items: center;
.el-icon {
.#{$namespace}-icon {
font-size: inherit;
}
}

View File

@@ -10,7 +10,7 @@
margin-left: 0;
}
& + .el-pager {
& + .#{$namespace}-pager {
.number {
&:first-child {
margin-left: 0;
@@ -144,7 +144,7 @@
line-height: var(--el-pagination-line-height-extra-small);
.#{$namespace}-input__suffix-inner {
line-height: var(--el-pagination-line-height-extra-small);
i.el-select__caret {
i.#{$namespace}-select__caret {
line-height: var(--el-pagination-line-height-extra-small);
}
}

View File

@@ -396,7 +396,7 @@
@include e((header-wrapper, body-wrapper)) {
.#{$namespace}-table-column--selection {
.el-checkbox {
.#{$namespace}-checkbox {
height: unset;
}
}