Skip to content

Commit

Permalink
update select dropdown style
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Sep 23, 2015
1 parent 6773555 commit 8a45fe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions style/components/dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
color: #666;
white-space: nowrap;
cursor: pointer;
transition: background 0.3s ease;

a {
color: #666;
Expand Down
6 changes: 4 additions & 2 deletions style/components/select.less
Original file line number Diff line number Diff line change
Expand Up @@ -316,17 +316,19 @@
}

.@{select-prefix-cls}-dropdown {
&-menu-item {
transition: background 0.3s ease;
}

&--single &-menu-item-selected {
background-color: tint(@primary-color, 90%);
.selected_icon();
}

&--multiple &-menu-item {
padding: 7px 33px 7px 16px;
}

&--multiple &-menu-item-selected {
background-color: tint(@primary-color, 90%);
.selected_icon();
}

Expand Down

0 comments on commit 8a45fe3

Please sign in to comment.