Skip to content

Commit 4d39a83

Browse files
committed
style(linCmsUi): 修改 select 多选时的选项颜色, 修改浮标文字没有居中
1 parent 33200a3 commit 4d39a83

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

src/assets/styles/realize/element-variables.scss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,3 +847,30 @@ $typeMap: (primary:#3963BC,
847847
color: #3963BC;
848848
}
849849
}
850+
851+
852+
@include b(select) {
853+
.el-tag {
854+
background-color: #3963bc !important;
855+
&__close.el-icon-close {
856+
background-color: #3963bc;
857+
right: -7px;
858+
top: 0;
859+
color: #fff;
860+
861+
&:hover {
862+
background-color: #fff;
863+
color: #3963bc;
864+
}
865+
}
866+
}
867+
}
868+
869+
/* Badge */
870+
871+
@include b(badge) {
872+
@include e(content) {
873+
vertical-align: super;
874+
}
875+
}
876+

src/components/notify/notify.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,12 @@ export default {
191191
overflow: hidden;
192192
color: #c4c9d2;
193193
}
194-
</style>
195-
<style>
196-
.el-badge__content.is-fixed {
194+
.notify /deep/ .el-badge__content.is-fixed {
197195
transform-origin: center center;
198196
transform: translateY(-50%) translateX(100%) scale(0.8) !important;
199197
}
200198
201-
.el-badge__content {
199+
.notify /deep/ .el-badge__content {
202200
border: 1px solid transparent !important;
203201
line-height: 20px !important;
204202
}

0 commit comments

Comments
 (0)