Skip to content

Commit

Permalink
Merge branch 'master' into antd-3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 18, 2017
2 parents 633708f + 5cca35c commit 8ca9c95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
11 changes: 4 additions & 7 deletions components/rate/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
list-style: none;
font-size: 20px;
display: inline-block;
color: @rate-star-color;

&-disabled &-star {
cursor: not-allowed;
Expand All @@ -25,13 +26,14 @@
margin-right: 8px;
position: relative;
transition: all .3s;
color: @rate-star-bg;
color: inherit;
cursor: pointer;

&-first,
&-second {
user-select: none;
transition: all .3s;
color: @rate-star-bg;
}

&:hover {
Expand All @@ -55,12 +57,7 @@

&-half &-first,
&-full &-second {
color: @rate-star-color;
}

&-half:hover &-first,
&-full:hover &-second {
color: tint(@rate-star-color, 20%);
color: inherit;
}
}

Expand Down
4 changes: 2 additions & 2 deletions components/select/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Select component to select value from options.

## When To Use

- A dropdown menu for choosing, an elegant alternative to the native select component.
- [Radio](/components/radio/) is a better solution when options amount is too little (less than 5).
- A dropdown menu for displaying choices - an elegant alternative to the native `<select>` element.
- Utilizing [Radio](/components/radio/) is recommended when there are fewer total options (less than 5).

## API

Expand Down
2 changes: 1 addition & 1 deletion docs/resource/work-with-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ title:

```__react
const emails = [
'lindong.lld#alipay.com',
'momo.zxy#alipay.com',
'lindong.lld#alipay.com',
'luli.fxx#alipay.com',
];
ReactDOM.render(
Expand Down

0 comments on commit 8ca9c95

Please sign in to comment.