Browse Source

fix select style

pull/704/head
afc163 9 years ago
parent
commit
a1f0e58fce
  1. 8
      style/components/select.less
  2. 2
      style/mixins/compatibility.less

8
style/components/select.less

@ -237,7 +237,7 @@
&:hover {
padding: 0 20px 0 10px;
.@{select-prefix-cls}-selection__choice__remove {
transform: scale(0.75);
transform: scale(0.67);
opacity: 1;
}
}
@ -254,12 +254,12 @@
.@{select-prefix-cls}-selection__choice__remove {
.iconfont-mixin();
color: #919191;
color: #999;
line-height: 20px;
cursor: pointer;
display: inline-block;
font-weight: bold;
.iconfont-size-under-12px(8px);
.iconfont-size-under-12px(12px);
position: absolute;
right: 4px;
padding: 0 0 0 8px;
@ -268,7 +268,7 @@
transition: opacity @duration, transform @duration;
transform-origin: 50%;
&:hover {
color: #333;
color: #404040;
}
&:before {

2
style/mixins/compatibility.less

@ -32,7 +32,7 @@
.iconfont-size-under-12px(@size, @rotate: 0deg) {
display: inline-block;
@font-scale: unit(@size/@font-size-base);
font-size: @font-scale;
font-size: @font-size-base;
font-size: ~"@{size} \9"; // ie8-9
transform: scale(@font-scale) rotate(@rotate);
.ie-rotate-via-degrees(@rotate);

Loading…
Cancel
Save