yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
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
//  =================
//      Imports
//  =================
 
@import '../../base/base';    // Base Variables
 
.custom-autocomplete {
  height: 328px;
}
 
.autocomplete-suggestions {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid $m-color_12;
  background: $m-color_12;
  cursor: default;
  overflow: auto;
  z-index: 888 !important;
  -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  max-height: 228px !important;
}
 
.autocomplete-suggestion {
  padding: 5px 20px;
  white-space: nowrap;
  overflow: hidden;
  color: $m-color_6;
  letter-spacing: 1px;
}
 
.autocomplete-no-suggestion {
  padding: 5px 19px;
}
 
.autocomplete-selected {
  background: $m-color_18;
}
 
.autocomplete-suggestions strong {
  font-weight: bold;
  color: $m-color_14;
}
 
.autocomplete-group {
  padding: 12px 19px;
  font-weight: bold;
  font-size: 16px;
  color: $m-color_4;
  display: block;
  border-bottom: 1px solid $m-color_18;
  margin-bottom: 19px;
  border-top: 1px solid $m-color_18;
 
  &:not(:first-child) {
    margin-top: 19px;
  }
}
 
@media (max-width: 991px) {
  .custom-autocomplete {
    height: 450px;
  }
}