styles.less
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
@import '~@qx/ui/src/style/variable.less';
@prefix: ~'qx-input-select';
.@{prefix} {
&-dropdown {
position: relative;
width: 100%;
padding: 10px 10px 50px;
overflow: hidden;
background-color: #fff;
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 12%),
0 6px 16px 0 rgba(0, 0, 0, 8%), 0 9px 28px 8px rgba(0, 0, 0, 5%);
&__list {
min-height: 150px;
max-height: 260px;
margin-top: 5px;
overflow-y: auto;
}
&__list-empty {
margin-top: 15%;
}
&__list-content {
width: 100%;
:global {
.ant-menu-item {
margin-bottom: 0;
&:hover {
background-color: #f5f5f5;
}
}
}
}
&__list-content-bottom {
position: absolute;
bottom: 0;
width: 100%;
}
&__input {
:global {
.anticon {
padding: 0 5px;
color: silver;
}
}
padding-bottom: 5px !important;
padding-left: 0 !important;
border: none !important;
border-bottom: 1px solid #e6eaf2 !important;
outline: none !important;
box-shadow: none !important;
&:hover,
&:focus,
&:active {
border-color: @B8;
}
}
}
&__input {
:global {
input {
cursor: default;
}
}
}
&__input-suffix {
color: silver;
}
}