PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.2.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.2.2
V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 2.10.2 All 137 releases
bit-form / includes / Core / Migration / BitformDefaultStyle.php

BitformDefaultStyle.php in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 3.2.2, at includes/Core/Migration/BitformDefaultStyle.php

1,653 lines 56.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace BitCode\BitForm\Core\Migration;
4
5 class BitformDefaultStyle
6 {
7 public static function commonStyleClasses()
8 {
9 return [
10 ':root' => [
11 '--global-fld-bdr'=> 'solid',
12 '--g-bdr-rad' => '11px',
13 '--g-bdr-width' => '1px',
14 '--g-font-family' => 'inherit',
15 '--dir' => 'ltr',
16 '--inp-wrp-width' => '',
17 '--lbl-al' => '',
18 '--fld-p' => '10px',
19 '--fld-m' => '',
20 '--fld-fs' => '14px',
21
22 '--fld-wrp-dis' => 'block',
23 '--fld-wrp-fdir' => '',
24 '--fld-wrp-justify' => 'center',
25 '--fld-wrp-m' => '',
26 '--fld-wrp-p' => '7px 10px',
27 '--fld-wrp-bdr' => '',
28 '--fld-wrp-bdr-width'=> '',
29 '--fld-wrp-bdr-rad' => '',
30 '--fld-wrp-width' => '',
31
32 '--lbl-wrp-sa' => '',
33 '--lbl-wrp-width' => '100%',
34 '--lbl-wrp-m' => '0 0 5px 0',
35 '--lbl-wrp-p' => '',
36 '--lbl-wrp-bdr' => '',
37 '--lbl-wrp-bdr-width'=> '',
38 '--lbl-wrp-bdr-rad' => '',
39 '--lbl-font-w' => 500,
40 '--lbl-font-style' => '',
41
42 '--fld-lbl-m' => '',
43 '--fld-lbl-p' => '',
44 '--fld-lbl-fs' => '1rem',
45 '--fld-lbl-bdr' => '',
46 '--fld-lbl-bdr-width'=> '',
47 '--fld-lbl-bdr-rad' => '',
48 '--fld-lbl-pn' => '',
49 '--fld-f-w' => 500,
50 '--fld-f-style' => 'normal',
51
52 '--req-smbl-m' => '',
53 '--req-smbl-p' => '',
54 '--req-smbl-fs'=> '',
55 '--req-smbl-fw'=> '',
56 '--req-smbl-lh'=> '',
57 '--req-smbl-pn'=> '',
58 '--req-smbl-lt'=> '',
59 '--req-smbl-rt'=> '',
60
61 '--sub-titl-m' => '2px 0px 0px 0px',
62 '--sub-titl-p' => '3px 0',
63 '--sub-titl-al' => '',
64 '--sub-titl-fs' => '12px',
65 '--sub-titl-bdr' => '',
66 '--sub-titl-bdr-width' => '',
67 '--sub-titl-bdr-rad' => '',
68 '--sub-titl-font-w' => 500,
69 '--sub-titl-font-style'=> '',
70
71 '--hlp-txt-m' => '2px 0px 0px 0px',
72 '--hlp-txt-p' => '3px 0',
73 '--hlp-txt-fs' => '12px',
74 '--hlp-txt-al' => '',
75 '--hlp-txt-bdr' => '',
76 '--hlp-txt-bdr-width' => '',
77 '--hlp-txt-bdr-rad' => '',
78 '--hlp-txt-font-w' => 400,
79 '--hlp-txt-font-style'=> '',
80
81 '--err-m' => '5px 0 0 0',
82 '--err-p' => '10px',
83 '--err-bdr' => 'solid',
84 '--err-bdr-width' => '1px',
85 '--err-bdr-rad' => '8px',
86 '--err-txt-al' => '',
87 '--err-txt-fs' => '12px',
88 '--err-txt-font-w' => 400,
89 '--err-txt-font-style'=> '',
90 '--err-h' => '',
91
92 '--pre-i-h' => '25px',
93 '--pre-i-w' => '25px',
94 '--pre-i-m' => '0px 0px 0px 3px',
95 '--pre-i-p' => '',
96 '--pre-i-bdr' => '',
97 '--pre-i-bdr-width'=> '',
98 '--pre-i-bdr-rad' => '8px',
99
100 '--suf-i-h' => '25px',
101 '--suf-i-w' => '25px',
102 '--suf-i-m' => '0px 3px 0px 0px',
103 '--suf-i-p' => '',
104 '--suf-i-bdr' => '',
105 '--suf-i-bdr-width'=> '',
106 '--suf-i-bdr-rad' => '8px',
107
108 '--lbl-pre-i-h' => '20px',
109 '--lbl-pre-i-w' => '20px',
110 '--lbl-pre-i-m' => '0px 5px 0px 0px',
111 '--lbl-pre-i-p' => '',
112 '--lbl-pre-i-bdr' => '',
113 '--lbl-pre-i-bdr-width'=> '',
114 '--lbl-pre-i-bdr-rad' => '8px',
115
116 '--lbl-suf-i-h' => '20px',
117 '--lbl-suf-i-w' => '20px',
118 '--lbl-suf-i-m' => '0px 0px 0px 5px',
119 '--lbl-suf-i-p' => '',
120 '--lbl-suf-i-bdr' => '',
121 '--lbl-suf-i-bdr-width'=> '',
122 '--lbl-suf-i-bdr-rad' => '8px',
123
124 '--sub-titl-pre-i-h' => '15px',
125 '--sub-titl-pre-i-w' => '15px',
126 '--sub-titl-pre-i-m' => '0px 5px 0px 0px',
127 '--sub-titl-pre-i-p' => '',
128 '--sub-titl-pre-i-bdr' => '',
129 '--sub-titl-pre-i-bdr-width'=> '',
130 '--sub-titl-pre-i-bdr-rad' => '8px',
131
132 '--sub-titl-suf-i-h' => '15px',
133 '--sub-titl-suf-i-w' => '15px',
134 '--sub-titl-suf-i-m' => '0px 0px 0px 5px',
135 '--sub-titl-suf-i-p' => '',
136 '--sub-titl-suf-i-bdr' => '',
137 '--sub-titl-suf-i-bdr-width'=> '',
138 '--sub-titl-suf-i-bdr-rad' => '8px',
139
140 '--hlp-txt-pre-i-h' => '15px',
141 '--hlp-txt-pre-i-w' => '15px',
142 '--hlp-txt-pre-i-m' => '0px 5px 0px 0px',
143 '--hlp-txt-pre-i-p' => '',
144 '--hlp-txt-pre-i-bdr' => '',
145 '--hlp-txt-pre-i-bdr-width'=> '',
146 '--hlp-txt-pre-i-bdr-rad' => '8px',
147
148 '--hlp-txt-suf-i-h' => '15px',
149 '--hlp-txt-suf-i-w' => '15px',
150 '--hlp-txt-suf-i-m' => '0px 0px 0px 5px',
151 '--hlp-txt-suf-i-p' => '',
152 '--hlp-txt-suf-i-bdr' => '',
153 '--hlp-txt-suf-i-bdr-width'=> '',
154 '--hlp-txt-suf-i-bdr-rad' => '8px',
155
156 '--err-txt-pre-i-h' => '15px',
157 '--err-txt-pre-i-w' => '15px',
158 '--err-txt-pre-i-m' => '0px 5px 0px 0px',
159 '--err-txt-pre-i-p' => '',
160 '--err-txt-pre-i-bdr' => '',
161 '--err-txt-pre-i-bdr-width'=> '',
162 '--err-txt-pre-i-bdr-rad' => '8px',
163
164 '--err-txt-suf-i-h' => '15px',
165 '--err-txt-suf-i-w' => '15px',
166 '--err-txt-suf-i-m' => '0px 0px 0px 5px',
167 '--err-txt-suf-i-p' => '',
168 '--err-txt-suf-i-bdr' => '',
169 '--err-txt-suf-i-bdr-width'=> '',
170 '--err-txt-suf-i-bdr-rad' => '8px',
171
172 '--btn-fs' => 'var(--fld-fs)',
173 '--btn-p' => '13px 20px',
174 '--btn-m' => '0px 0px',
175 '--btn-fw' => 700,
176 '--btn-f-style' => '',
177 '--btn-bdr' => 'none',
178 '--btn-bdr-rad' => 'var(--g-bdr-rad)',
179 '--btn-bdr-width'=> '0',
180
181 '--global-outline' => '1px solid var(--global-accent-color)',
182 '--global-outline-offset'=> '1px',
183 '--g-o-offset' => '1px',
184 '--g-o-w' => '1px',
185 '--g-o-s' => 'solid',
186
187 '--global-accent-color'=> 'hsla(217, 100%, 50%, 100%)',
188 '--gah' => 217,
189 '--gas' => '100%',
190 '--gal' => '50%',
191 '--gaa' => '100%',
192 '--global-font-color' => 'hsla(0, 0%, 14%, 100%)',
193 '--gfh' => 0,
194 '--gfs' => '0%',
195 '--gfl' => '14%',
196 '--gfa' => '100%',
197 '--global-bg-color' => '',
198 '--gbg-h' => 0,
199 '--gbg-s' => '0%',
200 '--gbg-l' => '100%',
201 '--gbg-a' => '100%',
202 '--global-fld-bdr-clr' => 'hsla(0, 0%, 67%, 100%)',
203 '--gfbc-h' => 0,
204 '--gfbc-s' => '0%',
205 '--gfbc-l' => '67%',
206 '--gfbc-a' => '100%',
207 '--global-fld-bg-color'=> '',
208 '--gfbg-h' => 0,
209 '--gfbg-s' => '0%',
210 '--gfbg-l' => '100%',
211 '--gfbg-a' => '100%',
212
213 '--fld-focs-i-fltr'=> 'invert(26%) sepia(41%) saturate(6015%) hue-rotate(211deg) brightness(100%) contrast(108%)',
214
215 '--fld-wrp-bg' => '',
216 '--fld-wrp-bdr-clr'=> '',
217 '--fld-wrp-sh' => '',
218
219 '--lbl-wrp-bg' => '',
220 '--lbl-wrp-sh' => '',
221 '--lbl-wrp-bdr-clr'=> '',
222
223 '--fld-lbl-bg' => '',
224 '--fld-lbl-c' => 'var(--global-font-color)',
225 '--fld-lbl-sh' => '',
226 '--fld-lbl-bdr-clr'=> '',
227
228 '--req-smbl-c'=> 'var(--global-font-color)',
229
230 '--sub-titl-bg' => '',
231 '--sub-titl-c' => 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)',
232 '--sub-titl-sh' => '',
233 '--sub-titl-bdr-clr'=> '',
234
235 '--fld-inp-c'=> 'var(--global-font-color)',
236
237 '--hlp-txt-bg' => '',
238 '--hlp-txt-c' => 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)',
239 '--hlp-txt-sh' => '',
240 '--hlp-txt-bdr-clr'=> '',
241
242 '--pre-i-clr' => '',
243 '--pre-i-fltr' => '',
244 '--pre-i-sh' => '',
245 '--pre-i-bdr-clr'=> '',
246
247 '--suf-i-clr' => '',
248 '--suf-i-fltr' => '',
249 '--suf-i-sh' => '',
250 '--suf-i-bdr-clr'=> '',
251
252 '--lbl-pre-i-clr' => '',
253 '--lbl-pre-i-fltr' => '',
254 '--lbl-pre-i-sh' => '',
255 '--lbl-pre-i-bdr-clr'=> '',
256
257 '--lbl-suf-i-clr' => '',
258 '--lbl-suf-i-fltr' => '',
259 '--lbl-suf-i-sh' => '',
260 '--lbl-suf-i-bdr-clr'=> '',
261
262 '--sub-titl-pre-i-clr' => '',
263 '--sub-titl-pre-i-fltr' => '',
264 '--sub-titl-pre-i-sh' => '',
265 '--sub-titl-pre-i-bdr-clr'=> '',
266
267 '--sub-titl-suf-i-clr' => '',
268 '--sub-titl-suf-i-fltr' => '',
269 '--sub-titl-suf-i-sh' => '',
270 '--sub-titl-suf-i-bdr-clr'=> '',
271
272 '--hlp-txt-pre-i-clr' => '',
273 '--hlp-txt-pre-i-fltr' => '',
274 '--hlp-txt-pre-i-sh' => '',
275 '--hlp-txt-pre-i-bdr-clr'=> '',
276
277 '--hlp-txt-suf-i-clr' => '',
278 '--hlp-txt-suf-i-fltr' => '',
279 '--hlp-txt-suf-i-sh' => '',
280 '--hlp-txt-suf-i-bdr-clr'=> '',
281
282 '--err-txt-pre-i-clr' => '',
283 '--err-txt-pre-i-fltr' => '',
284 '--err-txt-pre-i-sh' => '',
285 '--err-txt-pre-i-bdr-clr'=> '',
286
287 '--err-txt-suf-i-clr' => '',
288 '--err-txt-suf-i-fltr' => '',
289 '--err-txt-suf-i-sh' => '',
290 '--err-txt-suf-i-bdr-clr'=> '',
291
292 '--err-bg' => 'hsla(0, 100%, 94%, 100%)',
293 '--err-c' => 'hsla(0, 100%, 11%, 100%)',
294 '--err-sh' => '',
295 '--err-bdr-clr'=> 'hsla(0, 50%, 90%, 100%)',
296
297 '--btn-bg' => 'var(--global-accent-color)',
298 '--btn-bgc' => 'var(--global-accent-color)',
299 '--btn-c' => 'hsla(0, 0%, 100%, 100%)',
300 '--btn-bdr-clr'=> 'none',
301 '--btn-sh' => '0 2px 4px -2px hsla(0, 0%, 0%, 40%)',
302
303 '--ck-bdr-c'=> 'hsla(210, 78%, 96%, 100%)',
304
305 '--g-o-c'=> 'hsla(217, 100%, 50%, 100%)',
306
307 '--bf-lower-track-clr'=> 'var(--global-accent-color)',
308 '--bf-upper-track-clr'=> '#ffffff',
309
310 '--bg-0' => 'hsl(0, 0%, 100%)',
311 '--bg-5' => 'hsl(0, 0%, 95%)',
312 '--bg-10' => 'hsl(0, 0%, 90%)',
313 '--bg-15' => 'hsl(0, 0%, 85%)',
314 '--bg-20' => 'hsl(0, 0%, 80%)',
315 '--bg-25' => 'hsl(0, 0%, 75%)',
316 '--bg-30' => 'hsl(0, 0%, 70%)',
317 '--bg-35' => 'hsl(0, 0%, 65%)',
318 '--bg-40' => 'hsl(0, 0%, 60%)',
319 '--bg-45' => 'hsl(0, 0%, 55%)',
320 '--bg-50' => 'hsl(0, 0%, 50%)',
321 '--bg-55' => 'hsl(0, 0%, 45%)',
322 '--bg-60' => 'hsl(0, 0%, 40%)',
323 '--bg-65' => 'hsl(0, 0%, 35%)',
324 '--bg-70' => 'hsl(0, 0%, 30%)',
325 '--bg-75' => 'hsl(0, 0%, 25%)',
326 '--bg-80' => 'hsl(0, 0%, 20%)',
327 '--bg-85' => 'hsl(0, 0%, 15%)',
328 '--bg-90' => 'hsl(0, 0%, 10%)',
329 '--bg-95' => 'hsl(0, 0%, 5%)',
330 '--bg-100'=> 'hsl(0, 0%, 0%)',
331 ],
332 '.bf-fld-wrp' => [
333 'display' => 'var(--fld-wrp-dis, block)',
334 'flex-direction'=> 'var(--fld-wrp-fdir, row)',
335
336 'background' => 'var(--fld-wrp-bg, transparent)',
337 'padding' => 'var(--fld-wrp-p, 0)',
338 'margin' => 'var(--fld-wrp-m, 0)',
339 'position' => 'relative',
340 'box-shadow' => 'var(--fld-wrp-sh, none)',
341 'border-style' => 'var(--fld-wrp-bdr, medium)',
342 'border-color' => 'var(--fld-wrp-bdr-clr, none)',
343 'border-radius'=> 'var(--fld-wrp-bdr-rad, 0)',
344 'border-width' => 'var(--fld-wrp-bdr-width, 0)',
345 'width' => 'var(--fld-wrp-width)',
346 ],
347 '.bf-lbl-wrp'=> [
348 'width' => 'var(--lbl-wrp-width, auto)',
349 'align-self' => 'var(--lbl-wrp-sa, auto)',
350 'margin' => 'var(--lbl-wrp-m, 0)',
351 'padding' => 'var(--lbl-wrp-p, 0)',
352 'background-color'=> 'var(--lbl-wrp-bg, none)',
353 'box-shadow' => 'var(--lbl-wrp-sh, none)',
354 'border-style' => 'var(--lbl-wrp-bdr, medium)',
355 'border-color' => 'var(--lbl-wrp-bdr-clr, none)',
356 'border-radius' => 'var(--lbl-wrp-bdr-rad, 0)',
357 'border-width' => 'var(--lbl-wrp-bdr-width, 0)',
358 ],
359 '.bf-lbl'=> [
360 'background-color'=> 'var(--fld-lbl-bg, none)',
361 'color' => 'var(--fld-lbl-c, inherit)',
362 'font-size' => 'var(--fld-lbl-fs)',
363 'display' => 'flex',
364 'align-items' => 'center',
365
366 'justify-content'=> 'var(--lbl-al, initial)',
367 'margin' => 'var(--fld-lbl-m, 0)',
368 'padding' => 'var(--fld-lbl-p, 0)',
369 'box-shadow' => 'var(--fld-lbl-sh, none)',
370 'border-style' => 'var(--fld-lbl-bdr, medium)',
371 'border-color' => 'var(--fld-lbl-bdr-clr, none)',
372 'border-radius' => 'var(--fld-lbl-bdr-rad, 0)',
373 'border-width' => 'var(--fld-lbl-bdr-width, 0)',
374 'width' => '100%',
375 'font-weight' => 'var(--lbl-font-w)',
376 'font-style' => 'var(--lbl-font-style)',
377 'position' => 'var(--fld-lbl-pn,unset)',
378 ],
379 '.bf-req-smbl'=> [
380 'color' => 'var(--req-smbl-c, inherit)',
381 'font-size' => 'var(--req-smbl-fs)',
382 'margin' => 'var(--req-smbl-m, 0)',
383 'padding' => 'var(--req-smbl-p, 0)',
384 'font-weight'=> 'var(--req-smbl-fw)',
385 'line-height'=> 'var(--req-smbl-lh, 12px)',
386 'position' => 'var(--req-smbl-pn,unset)',
387 'right' => 'var(--req-smbl-rt,unset)',
388 'left' => 'var(--req-smbl-lt,unset)',
389 ],
390 '.bf-inp-wrp'=> ['width'=> 'var(--inp-wrp-width, auto)'],
391
392 '.bf-inp-fld-wrp'=> ['position'=> 'relative', 'margin'=> 'var(--fld-m, 0)'],
393 '.bf-fld' => [
394 'display' => 'block',
395 'direction' => 'inherit !important',
396 'font-family' => 'inherit',
397 'width' => '100% !important',
398 'outline' => 'none !important',
399 'background-color'=> 'var(--global-fld-bg-color) !important',
400 'border-style' => 'var(--global-fld-bdr) !important',
401 'border-color' => 'var(--global-fld-bdr-clr) !important',
402 'border-radius' => 'var(--g-bdr-rad) !important',
403 'border-width' => 'var(--g-bdr-width) !important',
404 'font-size' => 'var(--fld-fs) !important',
405 'font-weight' => 'var(--fld-f-w) !important',
406 'font-style' => 'var(--fld-f-style) !important',
407 'color' => 'var(--fld-inp-c) !important',
408 'padding' => 'var(--fld-p)!important',
409 'margin' => 'var(--fld-m)!important',
410 'line-height' => '1.4 !important',
411 'height' => '40px',
412 'resize' => 'vertical',
413 ],
414 'input[type="color" i][list]::-webkit-color-swatch' => [
415 'border' => 0,
416 'border-radius'=> '2px'
417 ],
418 '.bf-fld:focus'=> [
419 'box-shadow' => '0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.30) !important',
420 'border-color'=> 'var(--global-accent-color) !important',
421 ],
422 '.bf-fld:hover' => ['border-color'=> 'var(--global-accent-color) !important'],
423 '.bf-fld:disabled'=> [
424 'cursor' => 'default',
425 'background-color'=> 'var(--bg-5)!important',
426 'color' => 'hsla(var(--gfh), var(--gfs), var(--gfl), .5) !important',
427 'border-color' => 'var(--bg-5) !important',
428 ],
429 '.bf-fld:read-only'=> [
430 'cursor'=> 'default',
431 ],
432 '.bf-fld::placeholder'=> [
433 'font-family'=> 'inherit',
434 'color' => 'hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important',
435 ],
436 '.bf-cks'=> [
437 'position' => 'absolute',
438 'width' => 0,
439 'height' => 0,
440 'pointer-events'=> 'none',
441 'user-select' => 'none',
442 ],
443
444 '.bf-cc'=> [
445
446 'display' => 'grid',
447 'grid-template-columns'=> '1fr',
448 'width' => '100%',
449 'grid-row-gap' => '5px',
450 'column-gap' => '10px',
451 ],
452
453 '.bf-cl'=> [
454 'cursor' => 'pointer',
455 'display' => 'flex',
456 'align-items'=> 'center',
457 'color' => 'var(--fld-inp-c)',
458 'padding' => '5px',
459 ],
460 '.bf-ct'=> [
461 'font-size' => 'var(--fld-fs)',
462 'font-weight'=> 'var(--fld-f-w)',
463 'font-style' => 'var(--fld-f-style)',
464 ],
465
466 '.bf-ci'=> [
467 'position'=> 'absolute',
468 'opacity' => '0!important',
469 ],
470 '.bf-ci:checked ~ [data-cl] [data-bx]'=> [
471 'background' => 'var(--global-accent-color)',
472 'border-color'=> 'var(--global-accent-color)',
473 ],
474 '.bf-ci:hover ~ [data-cl] [data-bx]'=> [
475 'border-color'=> 'var(--global-accent-color)',
476 ],
477 '.bf-ci:checked ~ [data-oinp-wrp]' => ['display'=> 'block !important'],
478 '.bf-ci:focus ~ [data-cl] [data-bx]' => ['box-shadow'=> '0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.3)'],
479 '.bf-ci:focus-visible ~ [data-cl] [data-bx]'=> [
480 'outline' => '2px solid var(--global-accent-color)',
481 'outline-offset'=> '2px',
482 'transition' => 'outline-offset 0.2s ease',
483 ],
484 '.bf-ci:active:focus-visible ~ [data-cl] [data-bx]'=> [
485 'outline-offset'=> 0,
486 ],
487 '.bf-ci:active ~ [data-cl] [data-bx]'=> ['transform'=> 'scale(0.9)'],
488 '.bf-ci:disabled ~ [data-cl]' => [
489 'opacity' => 0.6,
490 'pointer-events'=> 'none',
491 'cursor' => 'not-allowed',
492 ],
493 '.bf-bx'=> [
494 'position' => 'relative',
495 'height' => '18px',
496 'width' => '18px',
497 'border-color'=> 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)',
498 'border-style'=> 'solid',
499 'border-width'=> '2px',
500 'display' => 'inline-flex',
501 'margin' => '0 10px 0 0',
502
503 'transition' => 'all 0.2s',
504 'justify-content'=> 'center',
505 'align-items' => 'center',
506 'border-radius' => '50%',
507 ],
508 '.bf-other-inp-wrp'=> ['display'=> 'none'],
509 '.bf-other-inp' => [
510 'display' => 'inline-block !important',
511 'direction'=> 'inherit !important',
512
513 'margin' => '0px 0px 0px 33px',
514 'width' => 'calc(100% - 33px) !important',
515 'outline' => 'none !important',
516 'background-color'=> 'var(--global-fld-bg-color) !important',
517 'border-style' => 'var(--global-fld-bdr) !important',
518 'border-color' => 'var(--global-fld-bdr-clr) !important',
519 'border-radius' => 'var(--g-bdr-rad) !important',
520 'border-width' => 'var(--g-bdr-width) !important',
521 'font-size' => 'var(--fld-fs) !important',
522 'font-weight' => 'var(--fld-f-w) !important',
523 'font-style' => 'var(--fld-f-style) !important',
524 'color' => 'var(--fld-inp-c) !important',
525 'padding' => '10px 8px !important',
526 'line-height' => '1.4 !important',
527
528 'height'=> '40px',
529 ],
530 '.bf-other-inp:focus'=> [
531 'box-shadow' => '0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.30) !important',
532 'border-color'=> 'var(--global-accent-color) !important',
533 ],
534 '.bf-other-inp:hover'=> ['border-color'=> 'var(--global-accent-color) !important'],
535
536 '.bf-svgwrp'=> [
537 'height'=> '12px',
538 'width' => '10px',
539 'filter'=> 'drop-shadow(0px 1px 1px hsl(var(--gah), var(--gas), 45%))',
540 ],
541 '.bf-ck-icn' => ['stroke-dashoffset'=> '16px'],
542 '.bf-ck-svgline'=> [
543 'stroke' => 'white',
544 'fill' => 'none',
545 'stroke-linecap' => 'round',
546 'stroke-linejoin' => 'round',
547 'stroke-width' => '2px',
548 'stroke-dasharray'=> '16px',
549 ],
550 '.bf-ci:checked ~ [data-cl] [data-ck-icn]'=> ['stroke-dashoffset'=> 0],
551
552 '.bf-bx::before'=> [
553 'content' => '""',
554 'position'=> 'absolute',
555 'left' => '50%',
556 'height' => 0,
557 'width' => 0,
558
559 'border-radius'=> '50%',
560 'transition' => 'all 0.2s cubic-bezier(0.25, 0.1, 0.59, 1.82)',
561 'top' => '50%',
562 'background' => 'white',
563 'box-shadow' => '0 1px 3px 0px grey',
564 'transform' => 'translate(-50%, -50%)',
565 ],
566 '.bf-ci:checked ~ [data-cl] [data-bx]::before'=> [
567 'width' => '50%',
568 'height'=> '50%',
569 ],
570 '.bf-btn'=> [
571 'font-size'=> 'var(--btn-fs)!important',
572 'padding' => 'var(--btn-p)!important',
573
574 'background' => 'var(--btn-bg)',
575 'color' => 'var(--btn-c)',
576 'font-weight' => 'var(--btn-fw)',
577 'border-style' => 'var(--btn-bdr)',
578 'border-color' => 'var(--btn-bdr-clr)',
579 'border-width' => 'var(--btn-bdr-width)',
580 'border-radius' => 'var(--btn-bdr-rad) !important',
581 'box-shadow' => 'var(--btn-sh)',
582 'cursor' => 'pointer',
583 'font-family' => 'inherit',
584 'font-style' => 'var(--btn-f-style)',
585 'line-height' => '1',
586 'margin' => 'var(--btn-m)',
587 'outline' => 'none',
588 'display' => 'flex',
589 'justify-content'=> 'center',
590 'align-items' => 'center',
591 'transition' => 'background-color 0.2s, transform 0.2s',
592 ],
593 '.bf-btn:hover'=> [
594 'background-color'=> 'hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important',
595 ],
596 '.bf-btn:active'=> [
597 'transform'=> 'scale(0.95)',
598 ],
599 '.bf-btn:focus-visible'=> [
600 'outline' => '2px solid var(--global-accent-color)',
601 'outline-offset'=> '2px',
602 'transition' => 'outline-offset 0.2s ease',
603 ],
604 '.bf-btn:active:focus-visible'=> [
605 'outline-offset'=> 0,
606 ],
607 '.bf-btn:disabled'=> [
608 'cursor' => 'not-allowed',
609 'pointer-events'=> 'none',
610 'opacity' => '0.5',
611 ],
612
613 '.bf-country-fld-container'=> [
614 'position'=> 'relative',
615 'height' => '40px',
616 'width' => '100%',
617 'display' => 'inline-block',
618 ],
619
620 '.bf-country-fld-wrp'=> [
621 'position' => 'absolute',
622 'width' => '100%',
623 'background-color'=> 'var(--global-fld-bg-color)',
624 'border-style' => 'var(--global-fld-bdr) !important',
625 'border-color' => 'var(--global-fld-bdr-clr) !important',
626 'border-radius' => 'var(--g-bdr-rad) !important',
627 'border-width' => 'var(--g-bdr-width) !important',
628 'font-size' => 'var(--fld-fs) !important',
629 'font-weight' => 'var(--fld-f-w) !important',
630 'font-style' => 'var(--fld-f-style) !important',
631
632 'color' => 'var(--fld-inp-c) !important',
633 'overflow' => 'hidden',
634 'display' => 'flex',
635 'flex-direction'=> 'column',
636 'transition' => 'box-shadow .2s',
637 ],
638
639 '.bf-country-fld-wrp.disabled .bf-dpd-wrp'=> [
640 'cursor' => 'not-allowed',
641 'pointer-events' => 'none',
642 'background-color'=> 'hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))',
643 'color' => 'hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))',
644 'border-color' => 'hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))',
645 ],
646 '.bf-country-fld-wrp.readonly .bf-dpd-wrp'=> [
647 'pointer-events' => 'none',
648 'background-color'=> 'hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))',
649 'color' => 'hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))',
650 'border-color' => 'hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))',
651 ],
652
653 '.bf-country-fld-wrp:hover:not(.menu-open):not(.disabled)'=> ['border-color'=> 'var(--global-accent-color) !important'],
654
655 '.bf-country-fld-wrp:focus-within:not(.menu-open):not(.disabled)'=> [
656 'box-shadow' => '0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.30) !important',
657 'border-color'=> 'var(--global-accent-color) !important',
658 ],
659
660 '.bf-country-fld-wrp.menu-open'=> [
661 'background-color'=> 'var(--bg-0)',
662 'z-index' => '999',
663 'box-shadow' => '0px 1.2px 2.2px hsla(0, 0%, 0%, 3.2%),
664 0px 2.9px 5.3px hsla(0, 0%, 0%, 4.5%),
665 0px 5.4px 10px hsla(0, 0%, 0%, 5.4%),
666 0px 9.6px 17.9px hsla(0, 0%, 0%, 6.2%),
667 0px 18px 33.4px hsla(0, 0%, 0%, 7.3%),
668 0px 43px 80px hsla(0, 0%, 0%, 10%)',
669 'border-color'=> 'var(--bg-10)!important',
670 ],
671
672 '.bf-dpd-wrp'=> [
673 'background-color'=> 'transparent',
674 'overflow' => 'hidden',
675 'font-weight' => '500',
676 'display' => 'flex',
677 'justify-content' => 'space-between',
678 'align-items' => 'center',
679 'cursor' => 'pointer',
680 'height' => '38px',
681 'padding' => '10px',
682 'box-sizing' => 'border-box',
683
684 'position'=> 'relative',
685 'outline' => 'none',
686 ],
687
688 '.bf-selected-country-wrp'=> [
689 'height' => '100%',
690 'display' => 'flex',
691 'align-items'=> 'center',
692 ],
693
694 '.bf-selected-country-img'=> [
695 'height' => '17px !important',
696 'width' => '25px',
697 'border-radius' => '3px !important',
698 'outline' => '1px solid var(--bg-10)',
699 'background-color' => 'var(--bg-10)',
700 'margin' => '0 10px 0 0',
701 '-webkit-user-select'=> 'none',
702 'user-select' => 'none',
703 ],
704
705 '.bf-inp-clr-btn'=> [
706 'display' => 'none',
707 'right' => '6px',
708 'padding' => '0px !important',
709 'margin' => '0',
710 'background' => 'transparent !important',
711 'border' => '0',
712 'outline' => '0',
713 'cursor' => 'pointer',
714 'margin-right' => '5px',
715 'place-content'=> 'center',
716 'width' => '16px',
717 'height' => '16px',
718 'border-radius'=> '50% !important',
719 'color' => 'var(--fld-inp-c) !important',
720 ],
721
722 '.bf-inp-clr-btn:hover'=> [
723 'background-color'=> 'var(--bg-15) !important',
724 ],
725
726 '.bf-dpd-btn-wrp'=> [
727 'display' => 'flex',
728 'align-items'=> 'center',
729 ],
730
731 '.bf-option-list .opt-lbl'=> [],
732
733 '.bf-option-wrp'=> [
734 'max-height' => '0px',
735 'min-height' => 'auto',
736 'margin' => 'auto',
737 'width' => '100%',
738 'overflow' => 'hidden',
739 'display' => 'flex',
740 'flex-direction'=> 'column',
741 ],
742
743 '.bf-option-inner-wrp'=> [
744 'overflow' => 'hidden',
745 'display' => 'flex',
746 'flex-direction'=> 'column',
747 ],
748
749 '.bf-option-list'=> [
750 'padding' => '0',
751 'margin' => '0 0 2px 0 !important',
752 'height' => '100%',
753 'overflow-y'=> 'auto',
754
755 /* firefox */
756 'scrollbar-width'=> 'thin !important',
757 'scrollbar-color'=> 'var(--bg-15) transparent !important',
758 ],
759
760 '.bf-option-list::-webkit-scrollbar'=> ['width'=> '8px'],
761
762 '.bf-option-list::-webkit-scrollbar-thumb'=> [
763 'background-color'=> 'var(--bg-15)',
764 'border-radius' => 'var(--g-bdr-rad)',
765 ],
766
767 '.bf-option-search-wrp'=> [
768 'position'=> 'relative',
769 'margin' => '5px 5px 0 5px',
770 ],
771
772 '.bf-opt-search-icn'=> [
773 'position' => 'absolute',
774 'top' => '50%',
775 'transform'=> 'translateY(-50%)',
776 'color' => 'var(--bg-25) !important',
777 'left' => '13px',
778 ],
779
780 '.bf-opt-search-input'=> [
781 'width' => '100%',
782 'padding' => '0 5px 0 41px !important',
783 'outline' => 'none',
784 'box-shadow' => 'none',
785 'font-family'=> 'inherit',
786 /* border-radius=> 8px, */
787 'border'=> 'none !important',
788 /* border-top=> 1px solid #ddd, */
789 /* border-bottom=> 1px solid #ddd, */
790 'background-color'=> 'var(--bg-5)',
791 'height' => '35px',
792 'border-radius' => 'calc(var(--g-bdr-rad) - 1px) !important',
793 'font-size' => '1rem',
794
795 'color'=> 'var(--global-font-color) !important',
796 ],
797
798 '.bf-opt-search-input::placeholder'=> [
799 'color'=> 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)',
800 ],
801 '.bf-opt-search-input:focus'=> [
802 'background-color'=> 'var(--bg-0)',
803 'box-shadow' => '0 0 0 2px var(--global-accent-color) inset',
804 ],
805 '.bf-opt-search-input:focus~svg' => ['color'=> 'var(--global-accent-color)!important'],
806 '.bf-opt-search-input::-webkit-search-decoration' => ['display'=> 'none'],
807 '.bf-opt-search-input::-webkit-search-cancel-button' => ['display'=> 'none'],
808 '.bf-opt-search-input::-webkit-search-results-button' => ['display'=> 'none'],
809 '.bf-opt-search-input::-webkit-search-results-decoration'=> ['display'=> 'none'],
810
811 /* border-radius => 20px,
812 background-color=> red, */
813
814 '.bf-search-clear-btn'=> [
815 'position' => 'absolute',
816 'top' => '50%',
817 'transform' => 'translateY(-50%)',
818 'display' => 'none',
819 'right' => '6px',
820 'padding' => '0px !important',
821 'margin' => '0px',
822 'background' => 'var(--bg-25) !important',
823 'border' => '',
824 'border-width' => '0px',
825 'border-radius'=> '50% !important',
826 'outline' => 0,
827 'cursor' => 'pointer',
828 'margin-right' => '5px !important',
829 'place-content'=> 'center',
830 'width' => '16px',
831 'height' => '16px',
832 'color' => 'var(--bg-0)',
833 ],
834
835 '.bf-search-clear-btn:hover'=> [
836 'background'=> 'var(--bg-50) !important',
837 ],
838
839 '.bf-search-clear-btn:focus-visible'=> [
840 'box-shadow'=> '0 0 0 2px var(--global-accent-color)',
841 'outline' => 'none',
842 ],
843
844 '.bf-option-list .option'=> [
845 'margin' => '2px 5px !important',
846 'transition' => 'background 0.2s',
847 'border-radius' => 'calc(var(--g-bdr-rad) - 2px)',
848 'font-size' => 'calc(var(--fld-fs) - 2px)',
849 'cursor' => 'pointer',
850 'text-align' => 'left',
851 'border' => 'none',
852 'padding' => '8px 7px',
853 'display' => 'flex',
854 'align-items' => 'center',
855 'justify-content'=> 'space-between',
856 ],
857
858 '.bf-option-list .option:hover:not(.selected-opt)'=> [
859 'background-color'=> 'var(--bg-10)',
860 ],
861
862 '.bf-option-list .option:focus-visible'=> [
863 'outline' => '2px solid var(--global-accent-color)',
864 'background-color'=> 'var(--bg-10)',
865 ],
866
867 '.bf-option-list .selected-opt'=> [
868 'font-weight' => 500,
869 'color' => '#fff',
870 'background-color'=> 'var(--global-accent-color)',
871 ],
872
873 '.bf-option-list .selected-opt:focus-visible'=> [
874 'background-color'=> 'var(--global-accent-color)',
875 ],
876
877 '.bf-option-list .opt-not-found'=> [
878 'text-align'=> 'center',
879 'list-style'=> 'none',
880 'margin' => '5px',
881 ],
882
883 '.bf-search-clear-btn:focus-visible'=> [
884 'box-shadow'=> '0 0 0 1.5px hsla(240, 100%, 50%, 100%) inset',
885 'outline' => 'none',
886 ],
887
888 '.bf-inp-clr-btn:focus-visible'=> [
889 'box-shadow'=> '0 0 0 1.5px hsla(240, 100%, 50%, 100%) inset',
890 'outline' => 'none',
891 ],
892
893 '.bf-option-list .opt-lbl-wrp'=> [
894 'display' => 'flex',
895 'align-items'=> 'center',
896 ],
897
898 '.bf-option-list .opt-icn'=> [
899 'margin' => '0 10px 0 0',
900 'height' => '17px',
901 'width' => '25px',
902 'border-radius' => '3px',
903 'box-shadow' => '0 0 0 1px var(--bg-5)',
904 '-webkit-user-select'=> 'none',
905 'user-select' => 'none',
906 ],
907
908 '.bf-dpd-down-btn'=> [
909 'width' => '15px',
910 'display' => 'grid',
911 'place-content'=> 'center',
912 'transition' => 'transform 0.2s',
913 ],
914
915 '.bf-country-fld-wrp.menu-open .bf-dpd-down-btn'=> ['transform'=> 'rotate(180deg)'],
916
917 '.bf-option-list .disabled-opt'=> [
918 'pointer-events'=> 'none',
919 'cursor' => 'not-allowed',
920 'color' => 'var(--bg-10) !important',
921 'opacity' => '0.5',
922 ],
923
924 '.bf-file-upload-container'=> [
925 'position'=> 'relative',
926 'height' => '40px',
927 'width' => '100%',
928 'display' => 'inline-block',
929 ],
930
931 '.bf-fld-wrp.readonly .bf-file-input-wrpr'=> [
932 'opacity' => '.bf-7',
933 'cursor' => 'not-allowed',
934 'pointer-events'=> 'none',
935 ],
936
937 '.bf-fld-wrp.disabled .bf-file-input-wrpr'=> [
938 'opacity' => '.bf-5',
939 'cursor' => 'not-allowed',
940 'pointer-events'=> 'none',
941 ],
942
943 '.bf-btn-wrpr'=> [
944 'display' => 'flex',
945 'align-items'=> 'center',
946 'position' => 'relative',
947 'gap' => '5px',
948 ],
949
950 '.bf-inp-btn'=> [
951 'align-items' => 'center',
952 'background-color'=> 'var(--btn-bg) !important',
953 'border' => 'none',
954 'border-radius' => 'var(--g-bdr-rad) !important',
955 'box-shadow' => 'none',
956 'color' => 'hsla(0, 0%, 100%, 100%)',
957 'cursor' => 'pointer',
958 'display' => 'inline-flex',
959 'padding' => 'var(--btn-p) !important',
960 'font-size' => 'var(--btn-fs) !important',
961 'gap' => '5px',
962 'line-height' => '1',
963 ],
964
965 '.bf-inp-btn:focus-visible'=> [
966 'outline' => '2px solid var(--global-accent-color)',
967 'outline-offset'=> '2px',
968 'transition' => 'outline-offset 0.2s ease',
969 ],
970 '.bf-inp-btn:active:focus-visible'=> [
971 'outline-offset'=> '0',
972 ],
973
974 '.bf-file-select-status'=> [
975 'font-size'=> '14px',
976 'color' => 'var(--global-font-color)',
977 ],
978
979 '.bf-max-size-lbl'=> [
980 'color' => 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)',
981 'font-size'=> '10px',
982 ],
983
984 '.bf-file-upload-input'=> [
985 'display' => 'block',
986 'width' => '100%',
987 'height' => '100%',
988 'border' => 'none',
989 'position'=> 'absolute',
990 'top' => '0',
991 'left' => '0',
992 'opacity' => '0',
993 'cursor' => 'pointer',
994 ],
995
996 '.bf-file-input-wrpr .files-list'=> [],
997
998 '.bf-file-input-wrpr .file-wrpr'=> [
999 'background-color'=> 'var(--bg-10)',
1000 'border-radius' => 'var(--g-bdr-rad)',
1001 'display' => 'flex',
1002 'align-items' => 'center',
1003 'justify-content' => 'space-between',
1004 'width' => '100%',
1005 'height' => 'auto',
1006 'margin-top' => '10px',
1007 'padding' => '5px',
1008 'outline' => '1px solid var(--bg-15)',
1009 ],
1010
1011 '.bf-file-input-wrpr .file-preview'=> [
1012 'border-radius'=> 'calc(var(--g-bdr-rad) - 4px)',
1013 'height' => '25px',
1014 'width' => '25px',
1015 'outline' => '1px solid var(--bg-5)',
1016 ],
1017
1018 '.bf-file-input-wrpr .file-details'=> [
1019 'display' => 'flex',
1020 'align-items' => 'center',
1021 'justify-content'=> 'space-between',
1022 'padding' => '0px 10px',
1023 'width' => '94%',
1024 ],
1025
1026 '.bf-file-input-wrpr .file-title'=> [
1027 'display' => 'inline-block',
1028 'font-size' => '12px',
1029 'overflow' => 'hidden',
1030 'text-overflow'=> 'ellipsis',
1031 'white-space' => 'nowrap',
1032 'color' => 'var(--global-font-color)',
1033 ],
1034
1035 '.bf-file-input-wrpr .file-size'=> [
1036 'font-size' => '12px',
1037 'line-height'=> '1',
1038 'color' => 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)',
1039 ],
1040
1041 '.bf-file-input-wrpr .cross-btn'=> [
1042 'cursor' => 'pointer',
1043 'border' => 'none',
1044 'border-radius' => '50px',
1045 'box-shadow' => 'none',
1046 'color' => 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.8)',
1047 'font-size' => '20px',
1048 'height' => '25px',
1049 'line-height' => '1',
1050 'min-height' => '25px',
1051 'min-width' => '25px',
1052 'padding' => '0',
1053 'text-decoration' => 'none',
1054 'width' => '25px',
1055 'transition' => 'background-color 150ms',
1056 'background-color'=> 'var(--bg-15)',
1057 ],
1058 '.bf-file-input-wrpr .cross-btn:hover'=> [
1059 'background-color'=> 'var(--bg-20)',
1060 'color' => 'var(--global-font-color)',
1061 ],
1062 '.bf-file-input-wrpr .bf-err-wrp'=> [
1063 'display' => 'none',
1064 'opacity' => '0',
1065 'transition' => 'display 1s, opacity 1s',
1066 'align-items' => 'center',
1067 'background-color'=> 'hsla(0, 100%, 97%, 100%)',
1068 'color' => 'darkred',
1069 'border-radius' => '10px',
1070 'height' => '40px',
1071 'margin-top' => '10px',
1072 'padding' => '2px 10px',
1073 'width' => '100%',
1074 ],
1075
1076 '.bf-file-input-wrpr .bf-err-wrp.active'=> [
1077 'display' => 'flex',
1078 'opacity' => '1',
1079 'transition'=> 'display 1s, opacity 1s',
1080 ],
1081
1082 '.bf-dpd-fld-container'=> [
1083 'position'=> 'relative',
1084 'height' => '40px',
1085 'width' => '100%',
1086 'display' => 'inline-block',
1087 ],
1088
1089 '.bf-dpd-fld-wrp'=> [
1090 'position' => 'absolute',
1091 'width' => '100%',
1092 'background-color'=> 'var(--global-fld-bg-color)',
1093 'border-style' => 'var(--global-fld-bdr) !important',
1094 'border-color' => 'var(--global-fld-bdr-clr) !important',
1095 'border-radius' => 'var(--g-bdr-rad) !important',
1096 'border-width' => 'var(--g-bdr-width) !important',
1097 'font-size' => 'var(--fld-fs) !important',
1098
1099 'color' => 'var(--fld-inp-c) !important',
1100 'overflow' => 'hidden',
1101 'display' => 'flex',
1102 'flex-direction'=> 'column',
1103 'transition' => 'box-shadow 200ms',
1104 ],
1105
1106 '.bf-dpd-fld-wrp:hover:not(.menu-open):not(.disabled)'=> [
1107 'border-color'=> 'var(--global-accent-color)!important',
1108 ],
1109
1110 '.bf-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled)'=> [
1111 'box-shadow' => '0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.30) !important',
1112 'border-color'=> 'var(--global-accent-color)!important',
1113 ],
1114
1115 '.bf-dpd-fld-wrp.disabled .bf-dpd-wrp'=> [
1116 'cursor' => 'not-allowed',
1117 'pointer-events' => 'none',
1118 'background-color'=> 'hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))',
1119 'color' => 'hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))',
1120 'border-color' => 'hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))',
1121 ],
1122 '.bf-dpd-fld-wrp.readonly .bf-dpd-wrp'=> [
1123 'pointer-events' => 'none',
1124 'background-color'=> 'hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))',
1125 'color' => 'hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))',
1126 'border-color' => 'hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))',
1127 ],
1128
1129 '.bf-dpd-wrp'=> [
1130 'background-color'=> 'transparent',
1131 'overflow' => 'hidden',
1132 'font-weight' => '500',
1133 'display' => 'flex',
1134 'justify-content' => 'space-between',
1135 'align-items' => 'center',
1136 'cursor' => 'pointer',
1137 'padding' => '4px 10px',
1138 'box-sizing' => 'border-box',
1139 'min-height' => '38px',
1140
1141 'position'=> 'relative',
1142 'outline' => 'none',
1143 /* border => 1px solid 'red', */
1144 ],
1145 '.bf-dpd-fld-wrp.menu-open'=> [
1146 'background-color'=> 'var(--bg-0)',
1147 'z-index' => '999',
1148 'box-shadow' => '0px 1.2px 2.2px hsla(0, 0%, 0%, 3.2%),
1149 0px 2.9px 5.3px hsla(0, 0%, 0%, 4.5%),
1150 0px 5.4px 10px hsla(0, 0%, 0%, 5.4%),
1151 0px 9.6px 17.9px hsla(0, 0%, 0%, 6.2%),
1152 0px 18px 33.4px hsla(0, 0%, 0%, 7.3%),
1153 0px 43px 80px hsla(0, 0%, 0%, 10%)',
1154 'border-color'=> 'var(--bg-10)!important',
1155 ],
1156
1157 '.bf-selected-opt-wrp'=> [
1158 'height' => '100%',
1159 'display' => 'flex',
1160 'align-items'=> 'center',
1161 'gap' => '10px',
1162 ],
1163
1164 '.bf-selected-opt-lbl.multi-chip'=> [
1165 'display' => 'flex',
1166 'flex-wrap'=> 'wrap',
1167 'gap' => '5px',
1168 ],
1169
1170 '.bf-selected-opt-lbl .chip-wrp'=> [
1171 'display' => 'flex',
1172 'align-items' => 'center',
1173 'background-color'=> 'var(--bg-10)',
1174 'padding' => '5px 8px',
1175 'border-radius' => 'var(--g-bdr-rad)',
1176 'gap' => '5px',
1177 ],
1178
1179 '.bf-selected-opt-lbl .chip-icn'=> [
1180 'width' => '13px',
1181 'height'=> '13px',
1182 ],
1183
1184 '.bf-selected-opt-lbl .chip-lbl'=> [
1185 'font-size' => 'var(--fld-fs) !important',
1186 'font-weight'=> 'var(--fld-f-w) !important',
1187 'font-style' => 'var(--fld-f-style) !important',
1188 'color' => 'var(--fld-inp-c)',
1189 ],
1190
1191 '.bf-selected-opt-lbl .chip-clear-btn'=> [
1192 'border' => 'none',
1193 'outline' => 'none',
1194 'box-shadow' => 'none',
1195 'border-radius' => '50%',
1196 'cursor' => 'pointer',
1197 'display' => 'grid',
1198 'place-content' => 'center',
1199 'height' => '17px',
1200 'width' => '17px',
1201 'background-color'=> 'var(--bg-20) !important',
1202 'color' => 'var(--fld-inp-c) !important',
1203 'padding' => '0px',
1204 ],
1205
1206 '.bf-selected-opt-lbl .chip-clear-btn:hover'=> [
1207 'background-color'=> 'var(--bg-15) !important',
1208 ],
1209
1210 '.bf-selected-opt-lbl .chip-clear-btn:focus-visible'=> [
1211 'outline'=> '1.5px solid var(--global-accent-color)',
1212 ],
1213
1214 '.bf-selected-opt-lbl'=> [
1215
1216 ],
1217
1218 '.bf-selected-opt-img'=> [
1219 'height' => '17px',
1220 'width' => '25px',
1221 'border-radius'=> '3px',
1222
1223 '-webkit-user-select'=> 'none',
1224 'user-select' => 'none',
1225 ],
1226
1227 '.bf-dpd-fld-wrp .placeholder-img'=> [
1228 'background-color'=> 'var(--bg-15)',
1229 'outline' => '1px solid var(--bg-10)',
1230 ],
1231
1232 '.bf-selected-opt-clear-btn'=> [
1233 'display' => 'none',
1234 'right' => '6px',
1235 'padding' => '0px !important',
1236 'margin' => '0',
1237 'background' => 'transparent !important',
1238 'border' => '0',
1239 'outline' => '0',
1240 'cursor' => 'pointer',
1241 'margin-right' => '5px',
1242 'place-content'=> 'center',
1243 'width' => '16px',
1244 'height' => '16px',
1245 'border-radius'=> '50% !important',
1246 'color' => 'var(--fld-inp-c) !important',
1247 ],
1248
1249 '.bf-selected-opt-clear-btn:hover'=> [
1250 'background-color'=> 'var(--bg-15) !important',
1251 ],
1252
1253 '.bf-selected-opt-clear-btn:focus-visible'=> [
1254 'outline'=> '1.5px solid var(--global-accent-color)',
1255 ],
1256
1257 '.bf-dpd-btn-wrp'=> [
1258 'display' => 'flex',
1259 'align-items'=> 'center',
1260 ],
1261
1262 '.bf-option-wrp'=> [
1263 'max-height' => '0px',
1264 'min-height' => 'auto',
1265 'margin' => 'auto',
1266 'width' => '100%',
1267 'overflow' => 'hidden',
1268 'display' => 'flex',
1269 'flex-direction'=> 'column',
1270 ],
1271
1272 '.bf-option-inner-wrp'=> [
1273 'overflow' => 'hidden',
1274 'display' => 'flex',
1275 'flex-direction'=> 'column',
1276 ],
1277
1278 '.bf-option-list'=> [
1279 'padding' => '0',
1280 'margin' => '0 0 2px 0 !important',
1281 'height' => '100%',
1282 'overflow-y'=> 'auto',
1283
1284 /* firefox */
1285 'scrollbar-width'=> 'thin !important',
1286 'scrollbar-color'=> 'var(--bg-15) transparent !important',
1287 ],
1288
1289 '.bf-option-list::-webkit-scrollbar'=> [
1290 'width'=> '8px',
1291 ],
1292
1293 /* .option-list::-webkit-scrollbar-track'=> [
1294 'background'=> #'fafafa',
1295 ], */
1296
1297 '.bf-option-list::-webkit-scrollbar-thumb'=> [
1298 'background-color'=> 'var(--bg-15)',
1299 'border-radius' => 'var(--g-bdr-rad)',
1300 ],
1301
1302 '.bf-option-list:not(.active-list)'=> [
1303 'display'=> 'none !important',
1304 ],
1305
1306 '.bf-option-search-wrp'=> [
1307 'position'=> 'relative',
1308
1309 'margin'=> '5px 5px 0 5px',
1310 ],
1311
1312 '.bf-icn'=> [
1313 'position' => 'absolute',
1314 'top' => '50%',
1315 'transform'=> 'translateY(-50%)',
1316 ],
1317
1318 '.bf-opt-search-icn'=> [
1319 'left'=> '11px',
1320 ],
1321
1322 '.bf-opt-search-input'=> [
1323 'width' => '100%',
1324 'padding' => '0px 35px',
1325 'outline' => 'none',
1326 'box-shadow'=> 'none',
1327 'border' => 'none !important',
1328 /* border-'top'=> 1px solid #'ddd', */
1329 /* border-bottom=> 1px solid #'ddd', */
1330 'height' => '35px',
1331 'border-radius' => 'calc(var(--g-bdr-rad) - 1px) !important',
1332 'background-color'=> 'var(--bg-5)',
1333 'font-size' => 'var(--fld-fs)',
1334 'font-family' => 'inherit',
1335 'color' => 'var(--global-font-color) !important',
1336 ],
1337 '.bf-opt-search-input::placeholder'=> [
1338 'color'=> 'hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)',
1339 ],
1340 '.bf-opt-search-input:focus'=> [
1341 'background-color'=> 'var(--bg-0)',
1342 'box-shadow' => '0 0 0 2px var(--global-accent-color) inset',
1343 ],
1344 '.bf-opt-search-input:focus~svg'=> ['color'=> 'var(--global-accent-color)'],
1345
1346 '.bf-opt-search-input::-webkit-search-decoration' => ['display'=> 'none'],
1347 '.bf-opt-search-input::-webkit-search-cancel-button' => ['display'=> 'none'],
1348 '.bf-opt-search-input::-webkit-search-results-button' => ['display'=> 'none'],
1349 '.bf-opt-search-input::-webkit-search-results-decoration'=> ['display'=> 'none'],
1350
1351 '.bf-search-clear-btn'=> [
1352 'display' => 'none',
1353 'right' => '8px',
1354 'padding' => '0px !important',
1355 'margin' => '0',
1356 'background' => 'var(--bg-25) !important',
1357 'border' => '0',
1358 'outline' => '0',
1359 'cursor' => 'pointer',
1360 'place-content'=> 'center',
1361 'width' => '16px',
1362 'height' => '16px',
1363 'border-radius'=> '50% !important',
1364 'color' => 'var(--bg-0)',
1365 ],
1366
1367 '.bf-search-clear-btn:hover'=> [
1368 'background'=> 'var(--bg-50) !important',
1369 ],
1370
1371 '.bf-search-clear-btn:focus-visible'=> [
1372 'box-shadow'=> '0 0 0 2px var(--global-accent-color)',
1373 'outline' => 'none',
1374 ],
1375
1376 '.bf-custom-opt-btn'=> [
1377 'display' => 'none',
1378 'right' => '30px',
1379 'padding' => '5px',
1380 'margin' => '0',
1381 'background' => 'transparent',
1382 'border' => '0.5px solid hsla(var(--gfbg-h), var(--gfbg-s), 70%, var(--gfbg-a)) ',
1383 'outline' => '0',
1384 'cursor' => 'pointer',
1385 'place-content'=> 'center',
1386 'height' => '25px',
1387 'border-radius'=> '5px',
1388 'color' => 'var(--global-font-color)',
1389 ],
1390
1391 '.bf-option-list .option'=> [
1392 'margin' => '2px 5px !important',
1393 'transition' => 'background 0.2s',
1394 'border-radius' => 'calc(var(--g-bdr-rad) - 2px)',
1395 'font-size' => 'calc(var(--fld-fs) - 2px)',
1396 'cursor' => 'pointer',
1397 'text-align' => 'left',
1398 'padding' => '8px 7px',
1399 'display' => 'flex',
1400 'align-items' => 'center',
1401 'justify-content'=> 'space-between',
1402 ],
1403
1404 '.bf-option-list .option:hover:not(.bf-selected-opt):not(.opt-group-title)'=> [
1405 'background-color'=> 'var(--bg-10)',
1406 ],
1407
1408 '.bf-option-list .option:focus-visible'=> [
1409 'outline' => '2px solid var(--global-accent-color)',
1410 'background-color'=> 'var(--bg-10)',
1411 ],
1412
1413 '.bf-option-list .selected-opt:focus-visible'=> [
1414 'background-color'=> 'var(--global-accent-color)',
1415 ],
1416
1417 '.bf-option-list .opt-group-title'=> [
1418 'font-size' => 'calc(var(--fld-fs) - 2px)',
1419 'cursor' => 'default',
1420 'opacity' => '.bf-7',
1421 'font-weight'=> 600,
1422 ],
1423
1424 '.bf-option-list .opt-group-child'=> [
1425 'padding-left'=> '15px !important',
1426 ],
1427
1428 '.bf-option-list .selected-opt'=> [
1429 'font-weight' => 500,
1430 'background-color'=> 'var(--global-accent-color)',
1431 ],
1432
1433 '.bf-option-list .opt-not-found'=> [
1434 'text-align'=> 'center',
1435 'list-style'=> 'none',
1436 'margin' => '5px',
1437 ],
1438
1439 '.bf-option-list .opt-lbl-wrp'=> [
1440 'display' => 'flex',
1441 'align-items'=> 'center',
1442 'gap' => '5px',
1443 ],
1444 '.bf-option-list .opt-lbl'=> [],
1445
1446 '.bf-option-list .opt-icn'=> [
1447 'margin-right' => '5px',
1448 'height' => '17px',
1449 'width' => '25px',
1450 'border-radius' => '3px',
1451 '-webkit-user-select'=> 'none',
1452 'user-select' => 'none',
1453 ],
1454
1455 '.bf-dpd-down-btn'=> [
1456 'width' => '15px',
1457 'display' => 'grid',
1458 'place-content'=> 'center',
1459 'transition' => 'transform 0.2s',
1460 ],
1461
1462 '.bf-dpd-fld-wrp.menu-open .bf-dpd-down-btn'=> ['transform'=> 'rotate(180deg)'],
1463
1464 '.bf-option-list .disabled-opt'=> [
1465 'pointer-events'=> 'none',
1466 'cursor' => 'not-allowed',
1467 'color' => 'var(--bg-10) !important',
1468 'opacity' => '0.5',
1469 ],
1470
1471 '.bf-option-list .disable-on-max'=> [
1472 'pointer-events'=> 'none',
1473 'cursor' => 'not-allowed',
1474 'color' => 'var(--bg-10) !important',
1475 'opacity' => '0.8',
1476 ],
1477
1478 '.bf-paypal-wrp'=> [
1479 'width' => '100%',
1480 'min-width'=> '150px',
1481 'max-width'=> '750px',
1482 'margin' => 'auto',
1483 ],
1484
1485 '.bf-razorpay-wrp'=> [
1486 'display' => 'flex',
1487 'justify-content'=> 'center',
1488 ],
1489
1490 '.bf-razorpay-btn'=> [
1491 'cursor' => 'pointer',
1492 'position' => 'relative',
1493 'display' => 'inline-block',
1494 ' min-width' => '160px',
1495 'height' => '45px',
1496 'border-radius' => ' 3px',
1497 'text-align' => 'center',
1498 'font-style' => 'italic',
1499 'overflow' => 'hidden',
1500 'background-color'=> 'hsla(216, 85%, 18%, 100%) !important',
1501 'border' => 'solid hsla(216, 85%, 18%, 100%)',
1502 'border-width' => '1px',
1503 'padding' => '0px !important',
1504
1505 'box-shadow'=> 'hsla(0, 0%, 0%, 0.1) 0px 4px 12px',
1506 ],
1507
1508 '.bf-razorpay-btn::before'=> [
1509 'content' => '""',
1510 'position' => 'absolute',
1511 'left' => '-1em',
1512 'top' => 0,
1513 'width' => '46px',
1514 'height' => '100%',
1515 'background-color'=> 'hsla(224, 68%, 37%, 100%)',
1516 'border-radius' => '2px 0 0 2px',
1517 'transform' => 'skewX(-15deg)',
1518 ],
1519
1520 '.bf-razorpay-btn svg'=> [
1521 'position' => 'absolute',
1522 'left' => 0,
1523 'top' => '50%',
1524 'margin' => '0px 7px',
1525 'transform'=> 'translateY(-50%)',
1526 'width' => '23px',
1527 'height' => '25px',
1528 ],
1529
1530 '.bf-razorpay-btn-text'=> [
1531 'padding' => '4px 28px 4px 60px',
1532 'margin' => '1px 0px',
1533 'color' => 'hsla(0, 0%, 100%, 100%)',
1534 'display' => 'flex',
1535 'flex-direction'=> 'column',
1536 ],
1537
1538 '.bf-razorpay-btn-title'=> [
1539 'display' => 'block',
1540 'min-height' => '18px',
1541 'line-height'=> '18px',
1542 'font-size' => '16px',
1543 'font-weight'=> '800',
1544 'opacity' => '0.95',
1545 ],
1546
1547 '.bf-razorpay-btn-sub-title'=> [
1548 'opacity' => '0.6',
1549 'font-size'=> '8px',
1550 ],
1551
1552 '.bf-err-wrp'=> [
1553 'transition' => 'all .3s',
1554 'display' => 'grid',
1555 'grid-template-rows'=> '0fr',
1556 ],
1557 '.bf-err-inner'=> [
1558 'overflow'=> 'hidden',
1559 ],
1560 '.bf-err-msg'=> [
1561 'background-color'=> 'var(--err-bg, none)',
1562 'color' => 'var(--err-c, inherit)',
1563 'font-size' => 'var(--err-txt-fs)',
1564 'display' => 'flex',
1565 'align-items' => 'center',
1566 'text-align' => 'var(--err-txt-al, init)',
1567 'padding' => 'var(--err-p, 0)',
1568 'margin' => 'var(--err-m, 0)',
1569 'box-shadow' => 'var(--err-sh, none)',
1570 'border-style' => 'var(--err-bdr, medium)',
1571 'border-color' => 'var(--err-bdr-clr, none)',
1572 'border-radius' => 'var(--err-bdr-rad, 0)',
1573 'border-width' => 'var(--err-bdr-width, 0)',
1574 'font-weight' => 'var(--err-txt-font-w)',
1575 'font-style' => 'var(--err-txt-font-style)',
1576 'height' => 'var(--err-h)',
1577 ],
1578 '.bf-err-txt'=> [
1579 'display'=> 'block',
1580 ],
1581 '.bit-form .d-none'=> [
1582 'display'=> 'none !important'
1583 ],
1584 '.bit-form .v-hide'=> [
1585 'visibility'=> 'hidden !important'
1586 ],
1587 '.bf-form-msg'=> [
1588 'background' => '#ffe8c3',
1589 'border-radius'=> '6px',
1590 'margin' => '6px 0px',
1591 'padding' => '5px 14px',
1592 'color' => '#776f63',
1593 'height' => '0',
1594 'opacity' => '0',
1595 'overflow' => 'hidden',
1596 'transition' => 'all 0.5s ease-out',
1597 ],
1598 '.bf-form-msg.success'=> [
1599 'background'=> '#c5f7dd',
1600 ],
1601 '.bf-form-msg.error'=> [
1602 'background'=> '#ffd0cb',
1603 ],
1604 '.bf-form-msg.warning'=> [
1605 'background'=> '#ffe8c3',
1606 ],
1607 '.bf-form-msg.active'=> [
1608 'height' => 'auto',
1609 'opacity' => '1',
1610 'transition'=> 'all 1s ease-out',
1611 ],
1612 '.btcd-fld-itm'=> [
1613 'transition'=> 'all 0.2s ease',
1614 ],
1615 '.fld-hide'=> [
1616 'min-height'=> '0px !important',
1617 'height' => '0px !important',
1618 'overflow' => 'hidden !important',
1619 ],
1620 '@keyframes bf-rotation'=> [
1621 '0%'=> [
1622 'transform'=> 'rotate(0deg)',
1623 ],
1624 '100%'=> [
1625 'transform'=> 'rotate(360deg)',
1626 ],
1627 ],
1628 '.bf-spinner'=> [
1629 'margin-left' => '5px',
1630 'width' => '15px',
1631 'height' => '15px',
1632 'border-radius'=> '50%',
1633 'border-top' => '2px solid',
1634 'border-right' => '2px solid transparent',
1635 'animation' => 'bf-rotation 1s linear infinite',
1636 ],
1637 '.bit-form *'=> [
1638 'box-sizing' => 'border-box !important',
1639 'font-family'=> 'var(--g-font-family)',
1640 ],
1641 '.bit-form'=> [
1642 'background'=> 'var(--global-bg-color)',
1643 ],
1644 '.bit-form form'=> [
1645 'direction'=> 'var(--dir)',
1646 ],
1647 '.bit-form p'=> [
1648 'margin'=> '0',
1649 ],
1650 ];
1651 }
1652 }
1653