1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,409 @@ |
1 |
+/** |
|
2 |
+ * tom-select.css (v2.2.2) |
|
3 |
+ * Copyright (c) contributors |
|
4 |
+ * |
|
5 |
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this |
|
6 |
+ * file except in compliance with the License. You may obtain a copy of the License at: |
|
7 |
+ * http://www.apache.org/licenses/LICENSE-2.0 |
|
8 |
+ * |
|
9 |
+ * Unless required by applicable law or agreed to in writing, software distributed under |
|
10 |
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF |
|
11 |
+ * ANY KIND, either express or implied. See the License for the specific language |
|
12 |
+ * governing permissions and limitations under the License. |
|
13 |
+ * |
|
14 |
+ */ |
|
15 |
+:root { |
|
16 |
+ --ts-pr-clear-button: 0; |
|
17 |
+ --ts-pr-caret: 0; |
|
18 |
+ --ts-pr-min: .75rem; |
|
19 |
+} |
|
20 |
+ |
|
21 |
+.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input { |
|
22 |
+ cursor: pointer; |
|
23 |
+} |
|
24 |
+ |
|
25 |
+.ts-control { |
|
26 |
+ padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important; |
|
27 |
+} |
|
28 |
+ |
|
29 |
+.ts-wrapper.plugin-drag_drop.multi > .ts-control > div.ui-sortable-placeholder { |
|
30 |
+ visibility: visible !important; |
|
31 |
+ background: #f2f2f2 !important; |
|
32 |
+ background: rgba(0, 0, 0, 0.06) !important; |
|
33 |
+ border: 0 none !important; |
|
34 |
+ box-shadow: inset 0 0 12px 4px #fff; |
|
35 |
+} |
|
36 |
+.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder::after { |
|
37 |
+ content: "!"; |
|
38 |
+ visibility: hidden; |
|
39 |
+} |
|
40 |
+.ts-wrapper.plugin-drag_drop .ui-sortable-helper { |
|
41 |
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); |
|
42 |
+} |
|
43 |
+ |
|
44 |
+.plugin-checkbox_options .option input { |
|
45 |
+ margin-right: 0.5rem; |
|
46 |
+} |
|
47 |
+ |
|
48 |
+.plugin-clear_button { |
|
49 |
+ --ts-pr-clear-button: 1em; |
|
50 |
+} |
|
51 |
+.plugin-clear_button .clear-button { |
|
52 |
+ opacity: 0; |
|
53 |
+ position: absolute; |
|
54 |
+ top: 50%; |
|
55 |
+ transform: translateY(-50%); |
|
56 |
+ right: calc(8px - 6px); |
|
57 |
+ margin-right: 0 !important; |
|
58 |
+ background: transparent !important; |
|
59 |
+ transition: opacity 0.5s; |
|
60 |
+ cursor: pointer; |
|
61 |
+} |
|
62 |
+.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button { |
|
63 |
+ right: max( var(--ts-pr-caret), 8px); |
|
64 |
+} |
|
65 |
+.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button { |
|
66 |
+ opacity: 1; |
|
67 |
+} |
|
68 |
+ |
|
69 |
+.ts-wrapper .dropdown-header { |
|
70 |
+ position: relative; |
|
71 |
+ padding: 10px 8px; |
|
72 |
+ border-bottom: 1px solid #d0d0d0; |
|
73 |
+ background: #f8f8f8; |
|
74 |
+ border-radius: 3px 3px 0 0; |
|
75 |
+} |
|
76 |
+.ts-wrapper .dropdown-header-close { |
|
77 |
+ position: absolute; |
|
78 |
+ right: 8px; |
|
79 |
+ top: 50%; |
|
80 |
+ color: #303030; |
|
81 |
+ opacity: 0.4; |
|
82 |
+ margin-top: -12px; |
|
83 |
+ line-height: 20px; |
|
84 |
+ font-size: 20px !important; |
|
85 |
+} |
|
86 |
+.ts-wrapper .dropdown-header-close:hover { |
|
87 |
+ color: black; |
|
88 |
+} |
|
89 |
+ |
|
90 |
+.plugin-dropdown_input.focus.dropdown-active .ts-control { |
|
91 |
+ box-shadow: none; |
|
92 |
+ border: 1px solid #d0d0d0; |
|
93 |
+} |
|
94 |
+.plugin-dropdown_input .dropdown-input { |
|
95 |
+ border: 1px solid #d0d0d0; |
|
96 |
+ border-width: 0 0 1px 0; |
|
97 |
+ display: block; |
|
98 |
+ padding: 8px 8px; |
|
99 |
+ box-shadow: none; |
|
100 |
+ width: 100%; |
|
101 |
+ background: transparent; |
|
102 |
+} |
|
103 |
+.plugin-dropdown_input .items-placeholder { |
|
104 |
+ border: 0 none !important; |
|
105 |
+ box-shadow: none !important; |
|
106 |
+ width: 100%; |
|
107 |
+} |
|
108 |
+.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder { |
|
109 |
+ display: none !important; |
|
110 |
+} |
|
111 |
+ |
|
112 |
+.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input { |
|
113 |
+ min-width: 0; |
|
114 |
+} |
|
115 |
+.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input { |
|
116 |
+ flex: none; |
|
117 |
+ min-width: 4px; |
|
118 |
+} |
|
119 |
+.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::-ms-input-placeholder { |
|
120 |
+ color: transparent; |
|
121 |
+} |
|
122 |
+.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder { |
|
123 |
+ color: transparent; |
|
124 |
+} |
|
125 |
+ |
|
126 |
+.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content { |
|
127 |
+ display: flex; |
|
128 |
+} |
|
129 |
+.ts-dropdown.plugin-optgroup_columns .optgroup { |
|
130 |
+ border-right: 1px solid #f2f2f2; |
|
131 |
+ border-top: 0 none; |
|
132 |
+ flex-grow: 1; |
|
133 |
+ flex-basis: 0; |
|
134 |
+ min-width: 0; |
|
135 |
+} |
|
136 |
+.ts-dropdown.plugin-optgroup_columns .optgroup:last-child { |
|
137 |
+ border-right: 0 none; |
|
138 |
+} |
|
139 |
+.ts-dropdown.plugin-optgroup_columns .optgroup:before { |
|
140 |
+ display: none; |
|
141 |
+} |
|
142 |
+.ts-dropdown.plugin-optgroup_columns .optgroup-header { |
|
143 |
+ border-top: 0 none; |
|
144 |
+} |
|
145 |
+ |
|
146 |
+.ts-wrapper.plugin-remove_button .item { |
|
147 |
+ display: inline-flex; |
|
148 |
+ align-items: center; |
|
149 |
+ padding-right: 0 !important; |
|
150 |
+} |
|
151 |
+.ts-wrapper.plugin-remove_button .item .remove { |
|
152 |
+ color: inherit; |
|
153 |
+ text-decoration: none; |
|
154 |
+ vertical-align: middle; |
|
155 |
+ display: inline-block; |
|
156 |
+ padding: 0 6px; |
|
157 |
+ border-radius: 0 2px 2px 0; |
|
158 |
+ box-sizing: border-box; |
|
159 |
+} |
|
160 |
+.ts-wrapper.plugin-remove_button .item .remove:hover { |
|
161 |
+ background: rgba(0, 0, 0, 0.05); |
|
162 |
+} |
|
163 |
+.ts-wrapper.plugin-remove_button.disabled .item .remove:hover { |
|
164 |
+ background: none; |
|
165 |
+} |
|
166 |
+.ts-wrapper.plugin-remove_button .remove-single { |
|
167 |
+ position: absolute; |
|
168 |
+ right: 0; |
|
169 |
+ top: 0; |
|
170 |
+ font-size: 23px; |
|
171 |
+} |
|
172 |
+ |
|
173 |
+.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove { |
|
174 |
+ border-left: 1px solid #d0d0d0; |
|
175 |
+ margin-left: 6px; |
|
176 |
+} |
|
177 |
+.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove { |
|
178 |
+ border-left-color: #cacaca; |
|
179 |
+} |
|
180 |
+.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove { |
|
181 |
+ border-left-color: white; |
|
182 |
+} |
|
183 |
+ |
|
184 |
+.ts-wrapper.plugin-remove_button.rtl .item .remove { |
|
185 |
+ border-right: 1px solid #d0d0d0; |
|
186 |
+ margin-right: 6px; |
|
187 |
+} |
|
188 |
+.ts-wrapper.plugin-remove_button.rtl .item.active .remove { |
|
189 |
+ border-right-color: #cacaca; |
|
190 |
+} |
|
191 |
+.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove { |
|
192 |
+ border-right-color: white; |
|
193 |
+} |
|
194 |
+ |
|
195 |
+.ts-wrapper { |
|
196 |
+ position: relative; |
|
197 |
+} |
|
198 |
+ |
|
199 |
+.ts-dropdown, |
|
200 |
+.ts-control, |
|
201 |
+.ts-control input { |
|
202 |
+ color: #303030; |
|
203 |
+ font-family: inherit; |
|
204 |
+ font-size: 13px; |
|
205 |
+ line-height: 18px; |
|
206 |
+ font-smoothing: inherit; |
|
207 |
+} |
|
208 |
+ |
|
209 |
+.ts-control, |
|
210 |
+.ts-wrapper.single.input-active .ts-control { |
|
211 |
+ background: #fff; |
|
212 |
+ cursor: text; |
|
213 |
+} |
|
214 |
+ |
|
215 |
+.ts-control { |
|
216 |
+ border: 1px solid #d0d0d0; |
|
217 |
+ padding: 8px 8px; |
|
218 |
+ width: 100%; |
|
219 |
+ overflow: hidden; |
|
220 |
+ position: relative; |
|
221 |
+ z-index: 1; |
|
222 |
+ box-sizing: border-box; |
|
223 |
+ box-shadow: none; |
|
224 |
+ border-radius: 3px; |
|
225 |
+ display: flex; |
|
226 |
+ flex-wrap: wrap; |
|
227 |
+} |
|
228 |
+.ts-wrapper.multi.has-items .ts-control { |
|
229 |
+ padding: calc( 8px - 2px - 0px) 8px calc( 8px - 2px - 3px - 0px); |
|
230 |
+} |
|
231 |
+.full .ts-control { |
|
232 |
+ background-color: #fff; |
|
233 |
+} |
|
234 |
+.disabled .ts-control, .disabled .ts-control * { |
|
235 |
+ cursor: default !important; |
|
236 |
+} |
|
237 |
+.focus .ts-control { |
|
238 |
+ box-shadow: none; |
|
239 |
+} |
|
240 |
+.ts-control > * { |
|
241 |
+ vertical-align: baseline; |
|
242 |
+ display: inline-block; |
|
243 |
+} |
|
244 |
+.ts-wrapper.multi .ts-control > div { |
|
245 |
+ cursor: pointer; |
|
246 |
+ margin: 0 3px 3px 0; |
|
247 |
+ padding: 2px 6px; |
|
248 |
+ background: #f2f2f2; |
|
249 |
+ color: #303030; |
|
250 |
+ border: 0px solid #d0d0d0; |
|
251 |
+} |
|
252 |
+.ts-wrapper.multi .ts-control > div.active { |
|
253 |
+ background: #e8e8e8; |
|
254 |
+ color: #303030; |
|
255 |
+ border: 0px solid #cacaca; |
|
256 |
+} |
|
257 |
+.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active { |
|
258 |
+ color: #7d7d7d; |
|
259 |
+ background: white; |
|
260 |
+ border: 0px solid white; |
|
261 |
+} |
|
262 |
+.ts-control > input { |
|
263 |
+ flex: 1 1 auto; |
|
264 |
+ min-width: 7rem; |
|
265 |
+ display: inline-block !important; |
|
266 |
+ padding: 0 !important; |
|
267 |
+ min-height: 0 !important; |
|
268 |
+ max-height: none !important; |
|
269 |
+ max-width: 100% !important; |
|
270 |
+ margin: 0 !important; |
|
271 |
+ text-indent: 0 !important; |
|
272 |
+ border: 0 none !important; |
|
273 |
+ background: none !important; |
|
274 |
+ line-height: inherit !important; |
|
275 |
+ -webkit-user-select: auto !important; |
|
276 |
+ -moz-user-select: auto !important; |
|
277 |
+ -ms-user-select: auto !important; |
|
278 |
+ user-select: auto !important; |
|
279 |
+ box-shadow: none !important; |
|
280 |
+} |
|
281 |
+.ts-control > input::-ms-clear { |
|
282 |
+ display: none; |
|
283 |
+} |
|
284 |
+.ts-control > input:focus { |
|
285 |
+ outline: none !important; |
|
286 |
+} |
|
287 |
+.has-items .ts-control > input { |
|
288 |
+ margin: 0px 4px !important; |
|
289 |
+} |
|
290 |
+.ts-control.rtl { |
|
291 |
+ text-align: right; |
|
292 |
+} |
|
293 |
+.ts-control.rtl.single .ts-control:after { |
|
294 |
+ left: 15px; |
|
295 |
+ right: auto; |
|
296 |
+} |
|
297 |
+.ts-control.rtl .ts-control > input { |
|
298 |
+ margin: 0px 4px 0px -2px !important; |
|
299 |
+} |
|
300 |
+.disabled .ts-control { |
|
301 |
+ opacity: 0.5; |
|
302 |
+ background-color: #fafafa; |
|
303 |
+} |
|
304 |
+.input-hidden .ts-control > input { |
|
305 |
+ opacity: 0; |
|
306 |
+ position: absolute; |
|
307 |
+ left: -10000px; |
|
308 |
+} |
|
309 |
+ |
|
310 |
+.ts-dropdown { |
|
311 |
+ position: absolute; |
|
312 |
+ top: 100%; |
|
313 |
+ left: 0; |
|
314 |
+ width: 100%; |
|
315 |
+ z-index: 10; |
|
316 |
+ border: 1px solid #d0d0d0; |
|
317 |
+ background: #fff; |
|
318 |
+ margin: 0.25rem 0 0 0; |
|
319 |
+ border-top: 0 none; |
|
320 |
+ box-sizing: border-box; |
|
321 |
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
|
322 |
+ border-radius: 0 0 3px 3px; |
|
323 |
+} |
|
324 |
+.ts-dropdown [data-selectable] { |
|
325 |
+ cursor: pointer; |
|
326 |
+ overflow: hidden; |
|
327 |
+} |
|
328 |
+.ts-dropdown [data-selectable] .highlight { |
|
329 |
+ background: rgba(125, 168, 208, 0.2); |
|
330 |
+ border-radius: 1px; |
|
331 |
+} |
|
332 |
+.ts-dropdown .option, |
|
333 |
+.ts-dropdown .optgroup-header, |
|
334 |
+.ts-dropdown .no-results, |
|
335 |
+.ts-dropdown .create { |
|
336 |
+ padding: 5px 8px; |
|
337 |
+} |
|
338 |
+.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option { |
|
339 |
+ cursor: inherit; |
|
340 |
+ opacity: 0.5; |
|
341 |
+} |
|
342 |
+.ts-dropdown [data-selectable].option { |
|
343 |
+ opacity: 1; |
|
344 |
+ cursor: pointer; |
|
345 |
+} |
|
346 |
+.ts-dropdown .optgroup:first-child .optgroup-header { |
|
347 |
+ border-top: 0 none; |
|
348 |
+} |
|
349 |
+.ts-dropdown .optgroup-header { |
|
350 |
+ color: #303030; |
|
351 |
+ background: #fff; |
|
352 |
+ cursor: default; |
|
353 |
+} |
|
354 |
+.ts-dropdown .active { |
|
355 |
+ background-color: #f5fafd; |
|
356 |
+ color: #495c68; |
|
357 |
+} |
|
358 |
+.ts-dropdown .active.create { |
|
359 |
+ color: #495c68; |
|
360 |
+} |
|
361 |
+.ts-dropdown .create { |
|
362 |
+ color: rgba(48, 48, 48, 0.5); |
|
363 |
+} |
|
364 |
+.ts-dropdown .spinner { |
|
365 |
+ display: inline-block; |
|
366 |
+ width: 30px; |
|
367 |
+ height: 30px; |
|
368 |
+ margin: 5px 8px; |
|
369 |
+} |
|
370 |
+.ts-dropdown .spinner:after { |
|
371 |
+ content: " "; |
|
372 |
+ display: block; |
|
373 |
+ width: 24px; |
|
374 |
+ height: 24px; |
|
375 |
+ margin: 3px; |
|
376 |
+ border-radius: 50%; |
|
377 |
+ border: 5px solid #d0d0d0; |
|
378 |
+ border-color: #d0d0d0 transparent #d0d0d0 transparent; |
|
379 |
+ animation: lds-dual-ring 1.2s linear infinite; |
|
380 |
+} |
|
381 |
+@keyframes lds-dual-ring { |
|
382 |
+ 0% { |
|
383 |
+ transform: rotate(0deg); |
|
384 |
+ } |
|
385 |
+ 100% { |
|
386 |
+ transform: rotate(360deg); |
|
387 |
+ } |
|
388 |
+} |
|
389 |
+ |
|
390 |
+.ts-dropdown-content { |
|
391 |
+ overflow-y: auto; |
|
392 |
+ overflow-x: hidden; |
|
393 |
+ max-height: 200px; |
|
394 |
+ overflow-scrolling: touch; |
|
395 |
+ scroll-behavior: smooth; |
|
396 |
+} |
|
397 |
+ |
|
398 |
+.ts-hidden-accessible { |
|
399 |
+ border: 0 !important; |
|
400 |
+ clip: rect(0 0 0 0) !important; |
|
401 |
+ -webkit-clip-path: inset(50%) !important; |
|
402 |
+ clip-path: inset(50%) !important; |
|
403 |
+ overflow: hidden !important; |
|
404 |
+ padding: 0 !important; |
|
405 |
+ position: absolute !important; |
|
406 |
+ width: 1px !important; |
|
407 |
+ white-space: nowrap !important; |
|
408 |
+} |
|
409 |
+/*# sourceMappingURL=tom-select.css.map */ |
|
0 | 410 |
\ No newline at end of file |