Skip to content

Commit e02cc6c

Browse files
committed
style: 1. (ve-dropdown-dt-selected) hover 后颜色不使用 primary 颜色
2. (ve-dropdown-items-li) a 标签去除下划线 3. (ve-dropdown-items) 边框颜色自定义
1 parent 70bb3cd commit e02cc6c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/style/ve-dropdown.less

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
line-height: 32px;
2626

2727
&:hover {
28-
color: @ve-primary-color;
29-
border-color: @ve-primary-color;
28+
color: @ve-dropdown-item-hover-text-color;
29+
border-color: @ve-dropdown-item-hover-text-color;
3030
}
3131

3232
.ve-dropdown-dt-selected-span {
@@ -85,7 +85,7 @@
8585
background-color: @ve-dropdown-background-color;
8686
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12),
8787
0 0 6px rgba(0, 0, 0, 0.04);
88-
border: 1px solid #d1dbe5;
88+
border: 1px solid @ve-dropdown-item-border-color;
8989

9090
padding: 5px 0px;
9191
width: auto;
@@ -95,6 +95,9 @@
9595

9696
/* 单选 */
9797
.ve-dropdown-items-li {
98+
a {
99+
text-decoration: none;
100+
}
98101
white-space: nowrap;
99102
font-size: 14px;
100103
height: 32px;

0 commit comments

Comments
 (0)