-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
205 lines (188 loc) · 6.04 KB
/
style.css
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
body{
margin: 0;
padding: 0;
box-sizing: border-box;
}
*, :after, :before {
box-sizing: border-box;
}
.select-item-list{
display: flex;
padding: 100px 30px;
}
.select-item-list .select-item-list--single{
padding: 20px 50px;
width: 100%;
}
.select-item-list .select-item-list--single h4{
font-size: 18px;
}
.directorist-select{
min-height: 42px;
}
.directorist-select__container {
position: absolute;
top: 0;
left: 0px;
width: 100%;
padding: 3px;
min-width: 300px;
background: #fff;
}
.directorist-select__container .directorist-select__label{
font-size: 16px;
display: inline-flex;
align-items: center;
justify-content: space-between;
width: 100%;
border-radius: 4px;
min-height: 42px;
padding: 0 15px;
background-color: #fff;
border: 1px solid #ececec;
cursor: pointer;
}
.directorist-select__container .directorist-select__label img,
.directorist-select__container .directorist-select__label i{
max-width: 15px;
width: 100%;
}
.directorist-select__container .directorist-select__selected-list .directorist-select__selected-list--item .directorist-item-remove i,
.directorist-select__container .directorist-select__selected-list .directorist-select__selected-list--item .directorist-item-remove span.fa,
.directorist-select__container .directorist-select__selected-list .directorist-select__selected-list--item .directorist-item-remove span.la{
pointer-events: none;
}
.directorist-select__dropdown{
background: #fff;
box-shadow: 0 10px 40px rgb(134 142 174 / 30%);
padding: 15px;
box-sizing: border-box;
display: none;
margin-top: 4px;
max-height: 400px;
overflow-y: auto;
}
.directorist-select__dropdown .directorist-select__search{
height: 42px;
padding: 15px 20px;
font-size: 14px;
font-weight: 400;
border-radius: 5px;
width: 100%;
margin-bottom: 8px;
border: 1px solid #ececec;
}
.directorist-select__dropdown .directorist-select__search:focus{
outline: none;
box-shadow: 0 0;
}
.directorist-select__dropdown .directorist-select__search.directorist-select__search--hide{
display: none;
}
.directorist-select__dropdown.directorist-select__dropdown-open{
display: block;
}
.directorist-select__dropdown .directorist-select__dropdown--inner ul{
list-style-type: none;
margin: 0;
padding: 0;
}
.directorist-select__dropdown .directorist-select__dropdown--inner ul li{
display: flex;
justify-content: space-between;
font-size: 14px;
padding: 5px 10px;
cursor: pointer;
}
.directorist-select__dropdown .directorist-select__dropdown--inner ul li .directorist-select-dropdown-item-icon img{
max-width: 20px;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label{
display: flex;
flex-wrap: wrap;
border: 1px solid #ddd;
align-items: center;
padding: 2.5px 15px;
border-radius: 4px;
margin: -4px;
min-height: 42px;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label input{
font-size: 14px;
border: 0 none;
width: auto;
padding: 5px;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label input:focus{
outline: none;
border: 0 none;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label .directorist-select__selected-list{
display: flex;
flex-wrap: wrap;
margin: -4px 6px -4px -4px;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label .directorist-select__selected-list,
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label .directorist-select__search{
margin: 0;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label .directorist-select__search{
flex: auto;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label .directorist-select__selected-list .directorist-select__selected-list--item{
display: inline-flex;
align-items: center;
font-size: 12px;
font-weight: 600;
color: #fff;
padding: 5px 8px;
background-color: #3C3D58;
border-radius: 4px;
min-height: 17px;
margin: 4px;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__label .directorist-select__selected-list .directorist-select__selected-list--item i{
color: #fff;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__dropdown{
display: none;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__dropdown.directorist-select__dropdown-open{
display: block;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__dropdown{
background: #fff;
box-shadow: 0 10px 40px rgb(134 142 174 / 30%);
padding: 15px;
box-sizing: border-box;
margin-top: 2px;
max-height: 400px;
overflow-y: auto;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__dropdown ul{
padding: 0;
margin: 0;
list-style: none;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__dropdown ul li{
font-size: 14px;
padding: 5px 10px;
cursor: pointer;
}
.directorist-select.directorist-select-multi .directorist-select__container .directorist-select__dropdown ul li.directorist-select-item-show{
background-color: #F4F5F7;
border-radius: 4px;
}
span.directorist-select__selected-list--item:first-letter {
text-transform: capitalize;
}
/* Directorist Error */
.directorist-select__container.directorist-error .directorist-select__label{
border-color: rgb(199, 6, 6) !important;
}
.directorist-error .directorist-error__msg{
display: inline-block;
margin-top: 12px;
font-size: 14px;
color:rgb(199, 6, 6);
}