Skip to content

Commit

Permalink
fixed #138 not full
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed Aug 21, 2015
1 parent 69412f4 commit 87bbaea
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions style/components/select.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@
display: none;
}

.ie-rotate(1);
&:before {
content: '\e611';
.rotate(90deg);
content: '\e600';
transition: transform 0.2s ease;
}
}
Expand Down Expand Up @@ -332,6 +330,14 @@
white-space: nowrap;
cursor: pointer;

&:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
&:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
&:hover, &-active {
background-color: tint(@primary-color, 90%) !important;
}
Expand Down Expand Up @@ -389,9 +395,10 @@

&-open {
.@{select-prefix-cls}-arrow {
.ie-rotate(3);
.ie-rotate(2);
-ms-transform: rotate(180deg);
&:before {
.rotate(270deg);
.rotate(180deg);

This comment has been minimized.

Copy link
@yiminghe

yiminghe Aug 21, 2015

Contributor

不要在 before 上 rotate ,在上面

那么 -ms-transform: rotate(180deg); 也可以删掉

}
}
.@{select-prefix-cls}-selection {
Expand Down

0 comments on commit 87bbaea

Please sign in to comment.