riku
2024-02-27 7578c3ff65329b2269f099475eb687e963efac1c
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* ::-webkit-scrollbar
{
    width: 9px;
    height: 9px;
} */
::-webkit-scrollbar-track-piece {
  background-color: #ebebeb;
  border-radius: 4px;
  -webkit-border-radius: 4px;
}
 
::-webkit-scrollbar-thumb:vertical {
  height: 32px;
  background-color: #ccc;
  border-radius: 4px;
  -webkit-border-radius: 4px;
}
 
::-webkit-scrollbar-thumb:horizontal {
  width: 32px;
  background-color: #ccc;
  border-radius: 4px;
  -webkit-border-radius: 4px;
}
 
ul,
li {
  padding: 0;
  margin: 0
}
 
.mySelect {
  position: relative;
}
 
.mySelect .inputWrap {
  width: 100%;
  min-height: 1.8rem;
 
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
 
  font-size: 0.6rem;
  border: 1px solid white;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}
 
.mySelect ul {
  height: 100%;
  padding: 0 5px;
  margin: 0;
  padding-right: 35px;
}
 
.mySelect ul,
li {
  list-style: none;
}
 
.mySelect li {
  display: inline-block;
  background: green;
  padding: 2px 4px;
  margin: 2px 2px 2px 0;
  border-radius: 5px;
}
 
.mySelect .fa-close {
  cursor: pointer;
}
 
.mySelect .fa-close:hover {
  color: #237eff;
}
 
.mySelect .mySelect-option {
  width: 100%;
  border: 1px solid #ccc;
  /* max-height: 200px; */
  color: #35343491;
  overflow-y: scroll;
  position: absolute;
  background: #ffffff;
  height: 0;
  opacity: 0;
  z-index: 2;
}
 
.mySelect .mySelect-option div {
  padding: 2px;
}
 
.mySelect .inputWrap>i {
  position: relative;
  /* padding: 6px; */
  margin-right: 4px;
  right: 0;
  top: 0;
}
 
.mySelect-option div {
  cursor: pointer;
  border-bottom: 1px solid #e7e7e7;
  margin: 5px;
}
 
.mySelect-option div i {
  float: right;
  color: #ffffff;
}
 
.mySelect-option div.selected {
  background: #225cad9a;
  color: #ffffff;
  border-radius: 5px;
}
 
.mySelect-option div:hover {
  /*background: #9ec6ff;*/
  color: #9ec6ff;
  border-bottom: 1px solid #9ec6ff;
}
 
.mySelect-option::-webkit-scrollbar {
  width: 10px;
  border-radius: 10px;
  background-color: #F5F5F5;
}
 
.mySelect-option::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  background-color: #15809F;
  background-image: -webkit-linear-gradient(linear, left bottom, left top, color-stop(0.44, rgb(122, 153, 217)), color-stop(0.72, rgb(73, 125, 189)), color-stop(0.86, rgb(28, 58, 148)));
}
 
.mySelect-option::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  background-color: #CCCCCC;
}