blob: d1cc42b4b38fa2762748190e2bf7b6e73227c4c7 (
plain) (
blame)
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
|
// Autocomplete
.form-autocomplete {
position: relative;
.form-autocomplete-input {
background: #fff;
border: .1rem solid @control-color;
border-radius: .3rem;
color: @body-font-color;
display: block;
font-size: 1.4rem;
line-height: 1.6rem;
max-width: 100%;
min-height: 3.2rem;
outline: 0;
padding: .3rem .3rem 0 .3rem;
width: 100%;
.chip-sm {
margin-bottom: .3rem;
}
.form-input {
background: #fff;
border-color: transparent;
display: inline-block;
height: 2.4rem;
margin-bottom: .3rem;
padding: .3rem;
vertical-align: top;
width: auto;
}
}
.form-autocomplete-list {
background: #fff;
border: .1rem solid lighten(@control-color, 5%);
border-radius: .3rem;
display: block;
height: auto;
left: 0;
.light-shadow;
margin: .3rem 0 0 0;
padding: .5rem;
position: absolute;
top: 100%;
width: 100%;
z-index: 1988;
}
.form-autocomplete-item {
border-radius: .3rem;
display: block;
margin-top: .1rem;
padding: .2rem 1rem;
&:hover,
&:focus {
background: lighten(@core-secondary-color, 5%);
}
&.active {
background: @core-secondary-color;
}
}
}
|