1.0.0.0723

1.修改safari下close图标偏移的问题
2.修改windows系统下选中图标位置错位的问题
3.修改图标前缀避免冲突
This commit is contained in:
maplemei
2019-07-23 17:51:19 +08:00
parent 66321b8e95
commit c0a486b873
6 changed files with 27 additions and 26 deletions

View File

@@ -20,42 +20,42 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-quanxuan:before {
.xm-icon-quanxuan:before {
content: "\e62c";
}
.icon-caidan:before {
.xm-icon-caidan:before {
content: "\e610";
}
.icon-fanxuan:before {
.xm-icon-fanxuan:before {
content: "\e837";
}
.icon-pifu:before {
.xm-icon-pifu:before {
content: "\e668";
}
.icon-qingkong:before {
.xm-icon-qingkong:before {
content: "\e63e";
}
.icon-sousuo:before {
.xm-icon-sousuo:before {
content: "\e600";
}
.icon-danx:before {
.xm-icon-danx:before {
content: "\e62b";
}
.icon-duox:before {
.xm-icon-duox:before {
content: "\e613";
}
.icon-close:before {
.xm-icon-close:before {
content: "\e601";
}
.icon-expand:before {
.xm-icon-expand:before {
content: "\e641";
}

View File

@@ -97,8 +97,8 @@ xm-select{
font-size: 12px;
cursor: pointer;
line-height: 20px;
position: relative;
top: -6px;
float: right;
margin-top: 2px;
}
&.disabled{
@@ -144,19 +144,20 @@ xm-select{
&-icon{
color: #FFF;
font-size: 16px;
width: 18px;
height: 18px;
position: absolute;
top: 9px;
border: @border;
border-radius: 5px;
z-index: 2;
display: inline-block;
vertical-align: middle;
// position: absolute;
// top: 9px;
& > i {
position: absolute;
right: 0px;
top: -10px;
float: left;
height: 18px;
line-height: 17px;
color: #FFF;
}
}
@@ -164,14 +165,14 @@ xm-select{
&-content{
display: inline-block;
position: relative;
padding: 0 15px 0 30px;
padding: 0 15px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #666;
line-height: 36px;
vertical-align: top;
width: 100%;
vertical-align: middle;
width: calc(100% - 18px);
}
}