Browse Source

update select dropdown style

pull/330/head
afc163 9 years ago
parent
commit
8a45fe3357
  1. 1
      style/components/dropdown.less
  2. 6
      style/components/select.less

1
style/components/dropdown.less

@ -54,6 +54,7 @@
color: #666; color: #666;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;
transition: background 0.3s ease;
a { a {
color: #666; color: #666;

6
style/components/select.less

@ -316,9 +316,12 @@
} }
.@{select-prefix-cls}-dropdown { .@{select-prefix-cls}-dropdown {
&-menu-item {
transition: background 0.3s ease;
}
&--single &-menu-item-selected { &--single &-menu-item-selected {
background-color: tint(@primary-color, 90%); .selected_icon();
} }
&--multiple &-menu-item { &--multiple &-menu-item {
@ -326,7 +329,6 @@
} }
&--multiple &-menu-item-selected { &--multiple &-menu-item-selected {
background-color: tint(@primary-color, 90%);
.selected_icon(); .selected_icon();
} }

Loading…
Cancel
Save