mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(theme-chalk): namespace (#6416)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
@include e(wrap) {
|
||||
// Raise the priority
|
||||
&.el-scrollbar__wrap {
|
||||
&.#{$namespace}-scrollbar__wrap {
|
||||
height: 204px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,7 +232,7 @@
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
.el-menu-tooltip__trigger {
|
||||
.#{$namespace}-menu-tooltip__trigger {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.el-icon {
|
||||
.#{$namespace}-icon {
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -396,7 +396,7 @@
|
||||
|
||||
@include e((header-wrapper, body-wrapper)) {
|
||||
.#{$namespace}-table-column--selection {
|
||||
.el-checkbox {
|
||||
.#{$namespace}-checkbox {
|
||||
height: unset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user