PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / trunk
LatePoint – Calendar Booking Plugin for Appointments and Events vtrunk
5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / assets / stylesheets / admin / _forms.scss
latepoint / lib / assets / stylesheets / admin Last commit date
_activities.scss 9 months ago _addons.scss 9 months ago _agents.scss 9 months ago _animations.scss 9 months ago _booking_form_preview.scss 9 months ago _bookings.scss 3 weeks ago _bundles.scss 9 months ago _buttons.scss 9 months ago _calendars.scss 9 months ago _categories.scss 9 months ago _customers.scss 9 months ago _dark.scss 9 months ago _daterangepicker.scss 9 months ago _elements.scss 1 month ago _forms.scss 9 months ago _grid.scss 1 year ago _grid_variables.scss 1 year ago _icons.scss 1 year ago _latecheckbox.scss 9 months ago _lateselect.scss 1 year ago _layout.scss 9 months ago _lightbox.scss 9 months ago _menu.scss 9 months ago _messages.scss 9 months ago _misc.scss 9 months ago _mixins.scss 9 months ago _notifications.scss 9 months ago _orders.scss 9 months ago _pickr.scss 1 year ago _processes.scss 1 month ago _quick_availability.scss 9 months ago _reminders.scss 1 year ago _responsive.scss 9 months ago _roles.scss 1 year ago _schedule.scss 3 months ago _services.scss 9 months ago _settings.scss 1 month ago _side-panel.scss 9 months ago _steps.scss 1 year ago _tables.scss 9 months ago _type.scss 1 year ago _updates.scss 9 months ago _utilities.scss 1 year ago _variables.scss 9 months ago _widgets.scss 9 months ago _wizard.scss 2 weeks ago
_forms.scss
2541 lines
1 input, select {
2 margin: 0px;
3 }
4 .latepoint.wp-core-ui {
5 select {
6 border-color: #bcc3ca;
7 box-shadow: none;
8 background-size: 10px 10px;
9 background-position: right 5px top 55%;
10 }
11 }
12 .os-form-message-w {
13 padding: 15px 15px 17px 50px;
14 background-color: #f0f1f5;
15 color: #6e7084;
16 margin-bottom: 20px;
17 font-weight: $body-font-weight-bold;
18 font-size: $font-size-base;
19 border-radius: 6px;
20 border: 1px solid #d3d4de;
21 position: relative;
22 ul {
23 list-style: none;
24 margin: 0px;
25 padding: 0px;
26 li {
27 margin-bottom: 10px;
28 &:last-child {
29 margin-bottom: 0px;
30 }
31 }
32 }
33 &:before {
34 color: #fff;
35 position: absolute;
36 top: 20px;
37 left: 19px;
38 width: 10px;
39 height: 10px;
40 text-align: center;
41 border-radius: 50%;
42 z-index: 3;
43 content: "";
44 }
45 &.status-error {
46 background-color: #fff1f1;
47 border: 1px solid #f2c3c3;
48 border-bottom-color: #ea9898;
49 color: #7f0d0d;
50 box-shadow: 0px 1px 2px rgba(255,61,61,0.16);
51 &:before {
52 background-color: #ff5839;
53 box-shadow: 0px 1px 0px 0px rgba(#ff8a8a, 0.5), 0px 0px 0px 6px rgba(#ff8a8a, 0.15), 0px 0px 0px 10px rgba(#ff8a8a, 0.1), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.2);
54 border: 1px solid #ee1b1b;
55 border-bottom-color: #ce0a0a;
56 }
57 }
58 &.status-success {
59 background-color: #eeffed;
60 border: 1px solid #a9e3a2;
61 border-bottom-color: #91c68f;
62 color: #0d7f24;
63 box-shadow: 0px 1px 2px rgba(61, 255, 71, 0.16);
64 &:before {
65 background-color: #63e57a;
66 box-shadow: 0px 1px 0px 0px rgba(#8aff9a, 0.5), 0px 0px 0px 6px rgba(#8aff9a, 0.25), 0px 0px 0px 10px rgba(#8aff9a, 0.15), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.4);
67 border: 1px solid #35d431;
68 border-bottom-color: #33c82f;
69 }
70 }
71 }
72
73
74 .os-tp-box {
75 margin-bottom: 20px;
76 .os-tp-box-header .os-form-sub-header {
77 padding: 0px 0px 15px 0px;
78 margin-bottom: 0px;
79 border-bottom: 1px solid rgba($brand-primary, 0.8);
80 }
81 .os-tp-box-content {
82 padding: 20px 0px 0px;
83 }
84 & + .os-tp-box {
85 padding-top: 20px;
86 }
87 }
88
89 .os-form-w {
90 margin: 30px 0px;
91
92 .os-step-form-buttons {
93 display: flex;
94 align-items: center;
95 justify-content: flex-end;
96 border-top: 1px solid #dcdcea;
97 padding: 15px;
98 .os-form-group {
99 margin-bottom: 0px;
100 margin-left: 15px;
101 }
102 }
103 .sub-section-row {
104 display: flex;
105 border-top: 1px solid $border-color-main;
106 &:last-child {
107 .sub-section-label {
108 border-radius: 0px 0px 0px 6px;
109 }
110 }
111 &:first-child {
112 border-top: none;
113 }
114 .sub-section-label {
115 padding: 20px 10px 20px 30px;
116 flex: 0 0 200px;
117 border-right: 1px solid $border-color-main;
118 &.is-white {
119 background-color: #fff;
120 }
121 h3 {
122 font-size: $font-size-base;
123 margin-bottom: 0px;
124 padding-top: 15px;
125 color: $body-color;
126 }
127 }
128 .sub-section-content {
129 padding: 30px;
130 flex: 1;
131 position: relative;
132 &.os-loading {
133 &:before {
134 @include loading-circle($brand-primary, 14px);
135 top: 10px;
136 left: 10px;
137 }
138 }
139 .os-image-selector-w .os-image-selector-trigger {
140 margin-bottom: 0px;
141 margin-top: 10px;
142 }
143 .os-form-group:last-child {
144 margin-bottom: 0px;
145 }
146 }
147 }
148
149 .side-by-side-buttons {
150 .latepoint-btn {
151 display: block;
152 width: 100%;
153 i {
154 font-size: 15px!important;
155 margin-right: 5px;
156 }
157 }
158 }
159 .os-form-buttons {
160 display: flex;
161 justify-content: flex-end;
162 gap: 10px;
163 &.os-flex {
164 display: flex;
165 align-items: center;
166 &.os-space-between {
167 justify-content: space-between;
168 }
169 }
170 .os-form-group {
171 display: inline-block;
172 margin-bottom: 0px;
173 .latepoint-btn {
174 }
175 }
176 }
177
178 .white-box {
179 margin-bottom: 30px;
180 @include white-box();
181 .white-box-header .os-form-sub-header {
182 padding: 20px 30px;
183 margin-bottom: 0px;
184 border-bottom: 1px solid $border-color-main;
185 margin-top: 0px;
186 &:before {
187 content: "";
188 z-index: -1;
189 width: 50px;
190 height: 50px;
191 position: absolute;
192 top: 5px;
193 right: 5px;
194 border-radius: 0 0 0 50px;
195 background-image: radial-gradient(#d6d6d6 1px, transparent 0);
196 background-size: 12px 12px;
197 background-position: top right;
198 }
199 h3 {
200 }
201 .os-form-block-logo-img {
202 max-height: 30px;
203 width: auto;
204 }
205 }
206 .white-box-content {
207 padding: 30px;
208 &.no-padding {
209 padding: 0px;
210 }
211 .os-sub-header {
212 color: $color-faded;
213 font-size: floor($font-size-base * 0.9);
214 border-bottom: 1px solid #eee;
215 padding-bottom: 5px;
216 text-transform: uppercase;
217 letter-spacing: 1px;
218 font-weight: $body-font-weight-bold;
219 margin-top: 15px;
220 &:first-child{
221 margin-top: 0px;
222 }
223 }
224 }
225 }
226
227
228 .label-with-description {
229 margin-bottom: 20px;
230 h3, h4 {
231 margin-bottom: 10px;
232 margin-top: 0px;
233 }
234 .label-desc {
235 color: $body-color-light;
236 font-size: floor($font-size-base * 0.9);
237 }
238 }
239 }
240
241
242 .quick-end-time-w {
243 position: relative;
244 .os-time-group {
245 }
246 .plus-day-label {
247 position: absolute;
248 top: 0;
249 right: 0px;
250 white-space: nowrap;
251 background-color: #eaf2ff;
252 color: $brand-primary;
253 border-radius: 4px;
254 padding: 2px 5px;
255 font-weight: $body-font-weight-bold;
256 font-size: floor($font-size-base * 0.8);
257 display: none;
258 }
259 &.ending-next-day {
260 .plus-day-label {
261 display: block;
262 }
263 }
264 }
265 .os-time-group {
266 margin: 0px;
267 margin-bottom: 15px;
268 .os-time-input-fields {
269 display: flex;
270 align-items: center;
271 }
272 .time-ampm-w {
273 display: flex;
274 background: #F5F6FA;
275 border: 1px solid #E0E6F0;
276 border-radius: $form-controls-border-radius;
277 margin-left: 5px;
278 .time-ampm-select {
279 padding: 4px 6px 5px 6px;
280 line-height: 1;
281 font-weight: $body-font-weight-bold;
282 color: $color-faded;
283 cursor: pointer;
284 font-size: $font-size-base * 0.9;
285 &.active {
286 background: #FFFFFF;
287 box-shadow: 0px 0px 0px 1px $brand-primary, 0 1px 2px 0 rgba(46,87,243,0.18);
288 border-radius: $form-controls-border-radius;
289 color: $brand-primary;
290 }
291 }
292 }
293 label {
294 display: block;
295 margin: 0px;
296 font-size: floor($font-size-base * 0.9);
297 color: $body-color;
298 font-weight: $body-font-weight-bold;
299 }
300 input.os-form-control {
301 font-size: floor($font-size-base * 0.9);
302 flex: 0 0 60px;
303 padding: 3px 2px!important;
304 line-height: 1;
305 margin: 0px;
306 border: 1px solid #EDEFF6;
307 background-color: #EDEFF6;
308 border-radius: $form-controls-border-radius;
309 text-align: center;
310 box-shadow: none;
311 width: 60px;
312 max-width: 60px;
313 &:focus {
314 border-color: $brand-primary;
315 }
316 }
317 & + .os-time-group {
318 border-top: 1px solid #E0E6F0;
319 }
320 &.as-period {
321 display: flex;
322 align-items: center;
323 padding: 5px;
324 margin-bottom: 0px;
325 label {
326 padding-right: 10px;
327 padding-left: 5px;
328 }
329 input.os-form-control {
330 margin-left: auto;
331 }
332 .os-time-input-fields {
333 margin-left: auto;
334 justify-content: flex-end;
335 }
336 }
337 }
338 .os-form-group {
339 margin-bottom: 15px;
340 position: relative;
341
342
343
344 &.os-form-multiselect-group {
345 label {
346 margin-bottom: 8px;
347 }
348 .os-form-group {
349 margin-bottom: 5px;
350 }
351 .os-form-group.os-form-checkbox-group label {
352 padding: 5px;
353 }
354 .os-form-group.os-form-checkbox-group label input.os-form-checkbox {
355 margin-right: 5px;
356 }
357 }
358
359 &.os-form-file-upload-group {
360 label {
361 margin-bottom: 3px;
362 }
363 }
364
365 &.os-form-group-simple {
366 &.os-form-textfield-group {
367 label {
368 opacity: 1;
369 transform: none!important;
370 position: relative;
371 top: auto;
372 left: auto;
373 margin-bottom: 3px!important;
374 }
375 .os-form-control {
376 background-color: #fff;
377 border: 1px solid $border-color-strong;
378 padding: 7px 8px 6px!important;
379 &:focus {
380 border-color: $brand-primary;
381 }
382 }
383 &.os-form-phonefield-group {
384 border: none;
385 .lp_iti {
386 background-color: #fff;
387 border: 1px solid $border-color-strong;
388 padding-left: 8px;
389 align-items: center;
390 border-radius: $form-controls-border-radius;
391 &:has(input:focus){
392 border-color: $brand-primary;
393 }
394 .lp_iti__selected-flag {
395 padding: 0;
396 }
397 }
398 }
399 input[type="text"]="text""].os-form-control {
400 &.size-small {
401 height: $form-controls-select-height-small;
402 min-height: $form-controls-select-height-small;
403 font-size: floor($font-size-base * 0.9);
404 padding-top: 5px !important;
405 padding-bottom: 5px !important;
406 }
407 }
408 }
409
410 &.os-form-select-group {
411 label {
412 margin-bottom: 3px;
413 }
414 .os-form-control {
415 background-color: #fff;
416 border: 1px solid #d6d6e1;
417 &:focus {
418 border-color: $brand-primary;
419 }
420 &:hover {
421 border-color: $brand-primary;
422 }
423 &.size-small {
424 padding-top: 5px !important;
425 padding-bottom: 5px !important;
426 }
427 }
428 &.has-value {
429 }
430
431 &.os-invalid {
432 label {
433 color: $form-controls-label-color-error;
434 }
435 .os-form-control {
436 border-color: $form-controls-border-color-error;
437 color: $form-controls-color-error;
438 &::placeholder {
439 color: #d9a3a3;
440 }
441 &:focus {
442 border-color: $form-controls-border-color-error;
443 }
444 }
445 }
446 }
447 }
448
449 &.green-value-input {
450 .os-form-control {
451 color: #0e8e25;
452 }
453 }
454 &.os-form-group-right-aligned {
455 .os-form-control {
456 background-color: #fff;
457 text-align: right;
458 border: none;
459 border-bottom: 1px solid $border-color-light;
460 border-radius: 0px;
461 padding: 6px 0px!important;
462 &:focus {
463 background-color: #fff;
464 }
465 }
466 &.os-subtotal {
467 label {
468 color: $color-faded;
469 }
470 }
471 &.os-total {
472 box-shadow: 0px -1px 0px 0px $body-color;
473 font-weight: $body-font-weight-black;
474 label {
475 font-weight: $body-font-weight-black;
476 color: $headings-color;
477 }
478 .os-form-control {
479 }
480 + .os-form-message-w {
481 margin-top: 15px;
482 }
483 }
484 &.os-form-textfield-group label {
485 top: 6px!important;
486 left: 0px!important;
487 right: 78px;
488 white-space: nowrap;
489 overflow: hidden;
490 font-size: floor($font-size-base * 0.95)!important;
491 opacity: 1;
492 }
493 }
494 label {
495 display: block;
496 margin-bottom: 1px;
497 cursor: default;
498 font-size: floor($font-size-base * 0.9);
499 font-weight: $body-font-weight-bold;
500 color: $form-controls-label-color;
501 font-weight: $form-controls-font-weight;
502 }
503 .os-form-control {
504 position: relative;
505 display: block;
506 box-shadow: none;
507 border: 2px solid #f1f3f7;
508 padding: 15px 10px!important;
509 border-radius: $form-controls-border-radius;
510 background-color: $form-controls-background-color;
511 width: 100%;
512 color: $form-controls-color;
513 line-height: 1.4;
514 font-size: $font-size-base;
515 font-weight: $form-controls-font-weight;
516 transition: all 0.2s ease;
517 max-width: none;
518 input.os-form-control {
519 z-index: 1;
520 }
521 &:focus {
522 background-color: #fff;
523 border-color: #4b89f5;
524 outline: none;
525 box-shadow: none;
526 }
527 &::placeholder {
528 color: $form-controls-placeholder-color;
529 }
530 }
531
532 &.os-form-group-bordered {
533 margin-bottom: 25px;
534 &.os-form-textfield-group {
535 label {
536 }
537 .os-form-control {
538 background-color: #fff;
539 border-radius: $form-controls-border-radius;
540 border: 1px solid $form-controls-border-color;
541 padding: 27px 6px 7px 9px !important;
542 &:focus {
543 border-color: $brand-primary;
544 box-shadow: 0px 0px 0px 3px #ecf0ff;
545 }
546 }
547 textarea.os-form-control {
548 }
549 &.os-form-textarea-group {
550 label {
551 }
552 .os-form-control {
553 padding: 8px 10px 8px 10px!important;
554 }
555
556 &:not(.no-label):not(.has-value) {
557 .os-form-control {
558 padding: 12px 10px 19px 10px!important;
559 }
560 }
561
562 &:not(.no-label).has-value {
563 .os-form-control {
564 padding: 27px 10px 4px 10px!important;
565 }
566 }
567
568 }
569
570 &.no-label:not(.has-value),
571 &.no-label.has-value {
572 .os-form-control {
573 padding: 7px 6px 8px 9px !important;
574 }
575 }
576
577 &:not(.no-label):not(.has-value) {
578 .os-form-control {
579 padding: 17px 10px 17px 10px!important;
580 }
581 }
582
583 &.has-value {
584 label {
585 }
586
587 .os-form-control {
588 }
589 &.os-form-textarea-group {
590 .os-form-control {
591 }
592 }
593 &.no-label {
594 .os-form-control {
595 }
596 &.os-form-textarea-group {
597 .os-form-control {
598 }
599 }
600 }
601 }
602 }
603 }
604 &.os-form-group-transparent {
605 margin-bottom: 25px;
606 &.os-form-textfield-group {
607 label {
608 top: -3px;
609 left: 0px;
610 color: $color-faded;
611 }
612 .os-form-control {
613 background-color: #fff;
614 padding: 8px 0px 8px 0px!important;
615 border-radius: 0px;
616 border: none;
617 border-bottom: 1px solid $form-controls-border-color;
618 &:focus {
619 border-bottom-color: $brand-primary;
620 }
621
622 &.size-small {
623 height: $form-controls-select-height-small;
624 min-height: $form-controls-select-height-small;
625 font-size: floor($font-size-base * 0.9);
626 }
627 }
628 textarea.os-form-control {
629 }
630 &.has-value {
631 &:not(.no-label) {
632 label {
633 opacity: 1;
634 transform: translateY(0);
635 }
636 .os-form-control {
637 padding: 15px 0px 1px 0px!important;
638 }
639 }
640 &.no-label {
641 .os-form-control {
642 padding: 10px 0px 10px 0px!important;
643 }
644 &.os-form-textarea-group {
645 .os-form-control {
646 }
647 }
648 }
649 }
650 }
651 &.os-form-textarea-group {
652 }
653 &.os-form-select-group {
654 label {
655 margin-bottom: 3px;
656 }
657 .os-form-control {
658 background-color: #fff;
659 border: 1px solid #d6d6e1;
660 &:focus {
661 border-color: $brand-primary;
662 }
663 &:hover {
664 border-color: $brand-primary;
665 }
666 }
667 &.has-value {
668 }
669
670 &.os-invalid {
671 label {
672 color: $form-controls-label-color-error;
673 }
674 .os-form-control {
675 border-color: $form-controls-border-color-error;
676 color: $form-controls-color-error;
677 &::placeholder {
678 color: #d9a3a3;
679 }
680 &:focus {
681 border-color: $form-controls-border-color-error;
682 }
683 }
684 }
685 }
686 }
687
688
689 &.os-form-control-wp-editor-group {
690 body {
691 font-size: 14px;
692 }
693 label {
694 top: 6px;
695 font-size: floor($font-size-base * 0.95);
696 color: $color-faded;
697 margin-bottom: 5px;
698 }
699 }
700
701 &.os-form-color-picker-group {
702 label {
703 margin-bottom: 3px;
704 }
705 .latepoint-color-picker-w {
706 padding: 2px 5px;
707 border-radius: $form-controls-border-radius;
708 display: flex;
709 align-items: center;
710 background-color: $form-controls-background-color;
711 border: 1px solid $form-controls-border-color;
712 gap: 5px;
713 .latepoint-color-picker {
714 border: 3px solid #fff;
715 width: 20px;
716 height: 20px;
717 flex: 0 0 20px;
718 border-radius: 50%;
719 cursor: pointer;
720 &:hover {
721 box-shadow: 0 0 0 2px #000;
722 }
723 }
724 }
725 .os-form-control {
726 padding: 4px 0px 3px 0px!important;
727 border: none;
728 background-color: $form-controls-background-color;
729 &:focus {
730 border: none;
731 }
732 }
733 &.os-form-group-transparent {
734 .latepoint-color-picker-w {
735 background-color: #fff;
736 &:focus {
737 border-color: $brand-primary;
738 }
739 .os-form-control {
740 background-color: #fff;
741 }
742 }
743 }
744 }
745 &.os-form-toggler-group {
746 display: flex;
747 align-items: center;
748 cursor: pointer;
749 margin-bottom: 0px;
750 &:hover {
751 box-shadow: -6px 0px 0px 0px #f9f9f9, 6px 0px 0px 0px #f9f9f9;
752 border-radius: $border-radius-sm;
753 background: #f9f9f9;
754 }
755 &.with-sub-label {
756 align-items: flex-start;
757 .os-toggler-label-w {
758 padding: 15px 0px;
759 }
760 .os-toggler {
761 padding-top: 17px;
762 }
763 & + .os-form-toggler-group.with-sub-label {
764 }
765 &:hover {
766 & + .os-form-toggler-group.with-sub-label {
767 border-top-color: transparent;
768 }
769 }
770 }
771 .os-toggler-label-w {
772 margin-left: 10px;
773 padding: 10px 0px;
774 span {
775 margin-top: 4px;
776 color: $color-faded;
777 display: inline-block;
778 font-size: 13px;
779 }
780 }
781 label {
782 cursor: pointer;
783 color: $headings-color;
784 font-size: $font-size-base;
785 flex: 1;
786 margin: 0px;
787 }
788 }
789 &.os-form-checkbox-group {
790 label {
791 padding: 8px;
792 border: 1px solid rgba(0,0,0,0.1);
793 border-radius: $form-controls-border-radius;
794 display: flex;
795 align-items: center;
796 color: $headings-color;
797 vertical-align: middle;
798 margin: 0px;
799 font-weight: $body-font-weight-bold;
800 font-size: $font-size-base;
801 cursor: pointer;
802 &:hover {
803 border-color: $brand-primary;
804 color: $brand-primary;
805 }
806 input.os-form-checkbox {
807 display: inline-block;
808 margin-right: 10px;
809 vertical-align: middle;
810 border-radius: $form-controls-border-radius;
811 box-shadow: none;
812 border-color: #aaa;
813 }
814 }
815 &.is-checked {
816 label {
817 color: $brand-primary;
818 border-color: #d4d9e3;
819 input.os-form-checkbox {
820 border-color: $brand-primary;
821 color: $brand-primary;
822 }
823 }
824 }
825 &.inverse-toggle {
826 margin-bottom: 0px;
827 label {
828 border-radius: $form-controls-border-radius $form-controls-border-radius 0px 0px;
829 border: none;
830 padding: 0px;
831 }
832 }
833 &.is-checked.has-toggle-element {
834 margin-bottom: 0px;
835 label {
836 border-radius: $form-controls-border-radius $form-controls-border-radius 0px 0px;
837 }
838 }
839 &.is-checked.has-toggle-element.inverse-toggle {
840 margin-bottom: 20px;
841 &:last-child {
842 margin-bottom: 0px;
843 }
844 label {
845 border-radius: $form-controls-border-radius;
846 }
847 }
848 &.os-invalid {
849 label {
850 border-color: $form-controls-border-color-error;
851 color: $form-controls-color-error;
852 }
853 }
854 }
855 &.os-form-textfield-group {
856 label {
857 position: absolute;
858 top: 5px;
859 left: 10px;
860 z-index: 2;
861 opacity: 0;
862 transform: translateY(-3px);
863 transition: all 0.2s ease;
864 }
865 &.os-invalid {
866 label {
867 color: $form-controls-label-color-error;
868 }
869 .os-form-control {
870 border-color: $form-controls-border-color-error;
871 color: $form-controls-color-error;
872 &::placeholder {
873 color: #d9a3a3;
874 }
875 &:focus {
876 border-color: $form-controls-border-color-error;
877 }
878 }
879 }
880 }
881 &:not(.no-label).os-form-textfield-group.has-value {
882 label {
883 opacity: 1;
884 transform: translateY(2px);
885 font-size: floor($font-size-base * 0.9);
886 margin-bottom: 0px;
887 }
888 .os-form-control {
889 }
890 }
891 &.os-form-phonefield-group{
892 border-bottom: 1px solid $form-controls-border-color;
893 &:not(.has-value){
894 .lp_iti, .latepoint .lp_iti {
895 align-items: center;
896 }
897 }
898 &:has(.os-form-control:focus){
899 border-bottom-color: $brand-primary;
900 }
901 &.os-invalid {
902 border-bottom-color: $form-controls-border-color-error;
903 label {
904 color: $form-controls-label-color-error;
905 }
906 .os-form-control {
907 color: $form-controls-color-error;
908 &::placeholder {
909 color: #d9a3a3;
910 }
911 }
912 &:has(.os-form-control:focus) {
913 border-bottom-color: $form-controls-border-color-error;
914 }
915 .lp_iti__flag-container .lp_iti__selected-flag {
916 .lp_iti__selected-dial-code {
917 color: $form-controls-color-error;
918 }
919 }
920 }
921
922 label {
923 }
924
925
926 .lp_iti__selected-dial-code {
927 line-height: 19px;
928 color: $form-controls-color;
929 }
930
931 .lp_iti__flag-container {
932 .lp_iti__selected-flag {
933 line-height: 18px;
934 transition: all 0.2s ease;
935 font-size: $font-size-base;
936 font-weight: $body-font-weight-bold;
937 }
938 }
939
940 .os-form-control,
941 input.os-form-control {
942 border: none!important;
943 &.os-mask-phone {
944 &.invalid {
945 border-color: #f16161 !important;
946 }
947 }
948 }
949
950 &.has-value {
951 input.os-form-control {
952 &.os-mask-phone {
953 }
954 }
955
956 .lp_iti__selected-flag {
957 z-index: 1;
958 position: relative;
959 display: flex;
960 align-items: center;
961 padding-top: 0px;
962 padding-bottom: 0px;
963 &[aria-expanded="true"]="true""]{
964 border-bottom-color: $brand-primary;
965 }
966 }
967 }
968
969 &.os-form-group-bordered {
970 border: 1px solid $form-controls-border-color;
971 border-radius: $form-controls-border-radius;
972 &:has(.os-form-control:focus){
973 border-color: $brand-primary;
974 }
975 &.has-value {
976 &:not(.no-label) {
977 .os-form-control {
978 &.os-mask-phone {
979 }
980 }
981 }
982 }
983 .lp_iti {
984 align-items: center;
985 }
986 &.no-label.has-value, &.no-label:not(.has-value) {
987 .os-form-control {
988 border: none;
989 box-shadow: none;
990 padding-left: 3px!important;
991 &:focus {
992 outline: none;
993 border: none;
994 box-shadow: none;
995 }
996 }
997 }
998
999 &.no-label:not(.has-value),
1000 &.no-label.has-value {
1001 .lp_iti__selected-flag {
1002 padding: 7px 6px 8px 10px;
1003 }
1004 .os-form-control {
1005 border-radius: 0 $form-controls-border-radius $form-controls-border-radius 0;
1006 }
1007 }
1008
1009 &:not(.no-label):not(.has-value) {
1010 .os-form-control {
1011 }
1012 }
1013 }
1014
1015 &.os-form-group-transparent {
1016 &.has-value {
1017 &:not(.no-label) {
1018 .os-form-control {
1019 &.os-mask-phone {
1020 }
1021 }
1022 }
1023 }
1024 }
1025 }
1026 select.os-form-control {
1027 height: $form-controls-select-height;
1028 padding: 7px 20px 6px 8px!important;
1029 line-height: 1.4;
1030 &:hover {
1031 border-color: $brand-primary;
1032 color: $form-controls-color;
1033 }
1034 &.size-small {
1035 height: $form-controls-select-height-small;
1036 min-height: $form-controls-select-height-small;
1037 font-size: floor($font-size-base * 0.9);
1038 }
1039 }
1040 &.size-small {
1041 select.os-form-control {
1042 height: $form-controls-select-height-small;
1043 font-size: floor($font-size-base * 0.9);
1044 }
1045 }
1046 }
1047 .toggle-element-outside {
1048 .os-form-group.os-form-checkbox-group.has-toggle-element.is-checked {
1049 margin-bottom: 20px;
1050 label {
1051 border-radius: $form-controls-border-radius;
1052 }
1053 }
1054 }
1055
1056 .os-form-header {
1057 padding-bottom: 20px;
1058 margin-bottom: 20px;
1059 border-bottom: 1px solid rgba(0,0,0,0.05);
1060 h2, h3, h4 {
1061 margin-bottom: 5px;
1062 margin-top: 0px;
1063 }
1064 }
1065
1066 body.latepoint-admin {
1067 input[type="checkbox"]="checkbox""]{
1068 box-shadow: none;
1069 border-radius: $form-controls-border-radius;
1070 position: relative;
1071 &:checked:before {
1072 @include latepointfont_admin("\e904");
1073 font-size: 12px;
1074 color: $brand-primary;
1075 position: absolute;
1076 top: 50%;
1077 left: 53%;
1078 transform: translate3d(-50%,-50%, 0);
1079 width: auto;
1080 height: auto;
1081 margin: 0;
1082 padding: 0;
1083 }
1084 &:indeterminate:before{
1085 background-color: $brand-primary;
1086 width: 8px;
1087 height: 2px;
1088 position: absolute;
1089 content: "";
1090 display: block;
1091 top: 50%;
1092 left: 50%;
1093 transform: translate3d(-50%,-50%, 0);
1094 }
1095 }
1096 }
1097
1098 body.latepoint-admin .os-form-sub-header-actions {
1099 .latepoint-btn + .latepoint-btn {
1100 margin-left: 10px;
1101 }
1102 .latepoint-btn.latepoint-btn-sm {
1103 padding-left: 0px;
1104 padding-right: 0px;
1105 i {
1106 font-size: 13px;
1107 }
1108 }
1109 .os-form-group.os-form-select-group {
1110 margin-bottom: 0px;
1111 }
1112 }
1113
1114 form > .os-form-sub-header:first-child {
1115 margin-top: 0px;
1116 }
1117
1118 .os-section-header {
1119 margin-bottom: 20px;
1120 position: relative;
1121 display: flex;
1122 gap: 20px;
1123 align-items: center;
1124 &.connected {
1125 margin-bottom: 0px;
1126 }
1127 h3 {
1128 text-transform: uppercase;
1129 font-weight: $headings-font-weight-black;
1130 font-size: 12px;
1131 letter-spacing: 2px;
1132 margin: 0px;
1133 padding: 8px 12px;
1134 border-radius: $border-radius-sm;
1135 background-color: #ebedf1;
1136 color: $headings-color;
1137 display: inline-block;
1138 }
1139 &:after {
1140 height: 8px;
1141 flex: 1;
1142 content: "";
1143 border-radius: 12px;
1144 background-image: linear-gradient(270deg, rgba(236, 237, 238, 0.7019607843), rgba(241, 241, 242, 0.4));
1145 }
1146 }
1147
1148 .os-form-sub-header {
1149 border-bottom: 5px solid #e9eaed;
1150 padding-bottom: 10px;
1151 margin-bottom: 20px;
1152 margin-top: 20px;
1153 padding-left: 0px;
1154 position: relative;
1155 display: flex;
1156 align-items: center;
1157 &.is-bordered {
1158 border-bottom: 0px;
1159 h3 {
1160 color: $brand-primary;
1161 font-size: floor($font-size-base * 1.3);
1162 }
1163 &:after {
1164 content: "";
1165 flex: 1;
1166 height: 1px;
1167 background-color: #e9eaed;
1168 background-color: $brand-primary;
1169 z-index: 1;
1170 margin-left: 14px;
1171 }
1172 }
1173 &.sub-level {
1174 border: none;
1175 display: flex;
1176 text-align: center;
1177 position: relative;
1178 padding: 0px;
1179 align-items: center;
1180 gap: 20px;
1181 &:before {
1182 display: none;
1183 }
1184 &:after {
1185 height: 8px;
1186 flex: 1;
1187 content: "";
1188 border-radius: $border-radius-sm;
1189 background-image: linear-gradient(270deg, #ecedeeb3, #f1f1f266);
1190 }
1191 h3 {
1192 text-transform: uppercase;
1193 font-weight: $headings-font-weight-black;
1194 font-size: 12px;
1195 letter-spacing: 2px;
1196 margin: 0px;
1197 padding: 8px 12px;
1198 border-radius: $border-radius-sm;
1199 background-color: #edeff1;
1200 color: $headings-color;
1201 display: inline-block;
1202 }
1203 }
1204 h3 {
1205 font-size: $body-font-size-m;
1206 @include font-headers();
1207 color: $headings-color;
1208 margin: 0px;
1209 padding: 0px;
1210 }
1211 .os-form-sub-header-actions {
1212 font-size: $body-font-size-xs;
1213 margin-left: auto;
1214 border-radius: $border-radius-sm;
1215 padding: 2px 6px;
1216 &.os-highlight {
1217 color: $color-faded;
1218 background-color: #ebeef3;
1219 }
1220 }
1221 .os-form-group {
1222 margin-bottom: 0px;
1223 &.os-form-checkbox-group {
1224 label {
1225 padding: 0px;
1226 border: none;
1227 }
1228 }
1229 }
1230 }
1231
1232 .os-form-desc {
1233 color: rgba(0,0,0,0.7);
1234 }
1235
1236
1237 .white-box-content {
1238 .os-image-selector-w {
1239 margin-bottom: 30px;
1240 }
1241 }
1242
1243 .os-image-selector-w {
1244 .os-image-selector-trigger {
1245 outline: none;
1246 box-shadow: none;
1247 border: 2px dotted $border-color-main;
1248 padding: 10px;
1249 display: block;
1250 border-radius: $border-radius;
1251
1252 &:hover {
1253 border-color: $brand-primary;
1254 .os-image-selector-text {
1255 color: $brand-primary;
1256 }
1257 }
1258 }
1259
1260 &.is-compact {
1261 .os-image-selector-trigger {
1262 border: none;
1263 padding: 3px;
1264 border-radius: 50%;
1265 .os-image-selector-text {
1266 display: none;
1267 }
1268 &:hover {
1269 box-shadow: 0 0 0 2px $brand-primary;
1270 }
1271 }
1272 &.has-image {
1273 .os-image-selector-trigger:hover{
1274 .os-image-container:before {
1275 @include latepointfont_admin("\e96d");
1276 top: 0px;
1277 left: 80%;
1278 border-radius: 50%;
1279 background-color: #ff6565;
1280 color: #fff;
1281 font-size: 14px;
1282 width: 19px;
1283 box-shadow: 0 0 0 2px #fff;
1284 height: 19px;
1285 text-align: center;
1286 line-height: 19px;
1287 display: block;
1288 position: absolute;
1289 }
1290 }
1291 }
1292 &:not(.has-image){
1293 .os-image-selector-trigger:hover{
1294 .os-image-container:before {
1295 @include latepointfont_admin("\e931");
1296 top: 0px;
1297 left: 80%;
1298 border-radius: 50%;
1299 background-color: $brand-primary;
1300 color: #fff;
1301 font-size: 14px;
1302 width: 19px;
1303 box-shadow: 0 0 0 2px #fff;
1304 height: 19px;
1305 text-align: center;
1306 line-height: 19px;
1307 display: block;
1308 position: absolute;
1309 }
1310 }
1311 }
1312 }
1313
1314
1315 &.is-avatar {
1316 $avatar-size: 53px;
1317 .os-image-container {
1318 border-radius: 50%;
1319 width: $avatar-size;
1320 height: $avatar-size;
1321 background-color: #EEF1F6;
1322 position: relative;
1323 .image-self {
1324 height: $avatar-size;
1325 width: $avatar-size;
1326 background-size: cover;
1327 background-repeat: no-repeat;
1328 border-radius: 50%;
1329 }
1330 .os-placeholder {
1331 position: relative;
1332 height: $avatar-size;
1333 width: $avatar-size;
1334 overflow: hidden;
1335 border-radius: 50%;
1336 &:before {
1337 content: "";
1338 width: 20px;
1339 height: 20px;
1340 background-color: #d4d9e1;
1341 border-radius: 50%;
1342 position: absolute;
1343 top: 40%;
1344 left: 50%;
1345 transform: translate(-50%, -50%);
1346 display: block;
1347 }
1348 &:after {
1349 display: block;
1350 content: "";
1351 width: 40px;
1352 height: 40px;
1353 background-color: #d4d9e1;
1354 border-radius: 50%;
1355 top: 100%;
1356 left: 50%;
1357 transform: translate(-50%, -50%);
1358 position: absolute;
1359 }
1360 }
1361 }
1362 }
1363 .os-image-container {
1364 border: none;
1365 border-radius: $border-radius;
1366 width: 50px;
1367 height: 50px;
1368 position: relative;
1369 display: inline-block;
1370 vertical-align: middle;
1371 img {
1372 border-radius: 4px;
1373 width: 100%;
1374 height: auto;
1375 display: block;
1376 }
1377 }
1378
1379 &:not(.has-image):not(.is-avatar){
1380 .os-image-container {
1381 &:before {
1382 @include latepointfont_admin("\e958");
1383 position: absolute;
1384 top: 50%;
1385 left: 50%;
1386 color: #dde1e9;
1387 transform: translate(-50%, -50%);
1388 font-size: 30px;
1389 }
1390 }
1391 }
1392
1393 &.has-image {
1394 .os-image-container:before {
1395 display: none;
1396 }
1397 }
1398 .os-image-selector-text {
1399 display: inline-block;
1400 vertical-align: middle;
1401 position: relative;
1402 text-decoration: none;
1403 margin-left: 20px;
1404 color: $color-faded;
1405 font-size: $font-size-base * 1.2;
1406 }
1407 }
1408
1409
1410
1411 .os-multiple-files-uploader {
1412 border: 3px dotted #E0E6EB;
1413 padding: 10px;
1414 border-radius: 4px;
1415 color: $color-faded;
1416 font-size: $font-size-base;
1417 text-align: center;
1418 cursor: pointer;
1419 a{
1420 box-shadow: none;
1421 }
1422
1423
1424 &:hover {
1425 border-color: $brand-primary;
1426 .os-file-selector-text {
1427 color: $brand-primary;
1428 }
1429 }
1430
1431
1432 .os-uploaded-file {
1433 text-align: left;
1434 padding: 0 10px;
1435 margin-bottom: 6px;
1436 background-color: #F8FAFC;
1437 border-radius: 3px;
1438 display: flex;
1439 align-items: center;
1440 gap: 10px;
1441 transition: all 0.2s ease;
1442 font-size: $font-size-base;
1443 &:hover{
1444 background-color: #eff2f5;
1445 }
1446 &:last-child{
1447 margin-bottom: 15px;
1448 }
1449
1450 .os-file-size{
1451 color: $color-faded;
1452 font-size: $font-size-base * 0.9;
1453 }
1454
1455 .os-file-link{
1456 flex: 1;
1457 text-decoration: none;
1458 padding: 10px 0;
1459 }
1460
1461 .os-remove-file {
1462 color: #eb3a3a;
1463 text-decoration: none;
1464 font-size: 16px;
1465 line-height: 1;
1466 width: 20px;
1467 height: 20px;
1468 display: flex;
1469 align-items: center;
1470 justify-content: center;
1471 border-radius: 50%;
1472 transition: all 0.3s ease;
1473
1474 &:hover {
1475 background-color: #eb3a3a;
1476 color: white;
1477 }
1478 }
1479 }
1480 }
1481
1482
1483 .settings-image-selector {
1484 margin: 20px 0px;
1485 }
1486
1487 .os-toggler {
1488 cursor: pointer;
1489 .toggler-pill {
1490 height: 8px;
1491 width: 8px;
1492 border-radius: 20px;
1493 background-color: $brand-softer;
1494 position: absolute;
1495 right: 3px;
1496 top: 50%;
1497 transform: translate(0px, -50%);
1498 transition: all 0.2s ease;
1499 background-color: #fff;
1500 }
1501 .toggler-rail {
1502 position: relative;
1503 height: 15px;
1504 width: 24px;
1505 background-color: rgba(48, 73, 144, 0.1);
1506 border-radius: 20px;
1507 background-color: $brand-softer;
1508 }
1509 &:hover {
1510 .toggler-pill {
1511 box-shadow: 0px 0px 0px 1px #fff;
1512 }
1513 &.off {
1514 .toggler-pill {
1515 box-shadow: 0px 0px 0px 1px #fff;
1516 }
1517 }
1518 }
1519 &.off {
1520 .toggler-rail {
1521 background-color: #ddd;
1522 }
1523 .toggler-pill {
1524 transform: translate(-9px, -50%);
1525 background-color: #fff;
1526 }
1527 }
1528 &.size-large {
1529 .toggler-pill {
1530 height: 12px;
1531 width: 12px;
1532 right: 4px;
1533 }
1534 .toggler-rail {
1535 height: 20px;
1536 width: 30px;
1537 }
1538 &.off {
1539 .toggler-pill {
1540 transform: translate(-9px, -50%);
1541 }
1542 }
1543 }
1544 &.size-small {
1545 .toggler-pill {
1546 height: 8px;
1547 width: 8px;
1548 right: 3px;
1549 }
1550 .toggler-rail {
1551 height: 14px;
1552 width: 22px;
1553 }
1554 &.off {
1555 .toggler-pill {
1556 transform: translate(-8px, -50%);
1557 }
1558 }
1559 }
1560 }
1561
1562 .os-form-toggler-group {
1563 &.size-small {
1564 .os-toggler-label-w {
1565 padding: 6px 0px 7px;
1566 margin-left: 7px;
1567 }
1568 label {
1569 font-size: floor($font-size-base * 0.9);
1570 }
1571 }
1572 }
1573
1574
1575 .location-selector-adder-field-w,
1576 .service-selector-adder-field-w {
1577 .latepoint-btn {
1578 margin-top: 10px;
1579 }
1580 .selector-adder-w {
1581 display: flex;
1582 align-items: center;
1583 .latepoint-btn {
1584 white-space: nowrap;
1585 margin-top: 0px;
1586 margin-left: 10px;
1587 }
1588 }
1589 }
1590
1591
1592 .lp-form-subset {
1593 padding: 20px;
1594 border: 1px solid rgba(0,0,0,0.1);
1595 position: relative;
1596 margin: 30px 0px;
1597 border-radius: $form-controls-border-radius;
1598 h4 {
1599 position: absolute;
1600 top: 0px;
1601 left: 15px;
1602 transform: translateY(-50%);
1603 background-color: #fff;
1604 padding: 5px;
1605 margin-top: 0px;
1606 }
1607 .os-form-group:last-child {
1608 margin-bottom: 0px;
1609 }
1610 }
1611
1612 .lp-form-checkbox-contents {
1613 padding: 20px;
1614 border: 1px solid #d4d9e3;
1615 border-top: none;
1616 position: relative;
1617 margin-bottom: 30px;
1618 border-radius: 0px 0px $form-controls-border-radius $form-controls-border-radius;
1619 h4, h3 {
1620 margin-top: 0px;
1621 margin-bottom: 20px;
1622 }
1623 > .os-form-group:last-child {
1624 margin-bottom: 0px;
1625 }
1626 &:last-child {
1627 margin-bottom: 0px;
1628 }
1629 }
1630
1631 .quick-order-form-w {
1632 .os-form-group.os-form-group-transparent,
1633 .ws-period.os-period-transparent {
1634 margin-bottom: 18px;
1635 }
1636 .os-form-header {
1637 position: relative;
1638 }
1639
1640 .capacity-info {
1641 padding: 9px;
1642 border-radius: $form-controls-border-radius;
1643 background-color: #eff2f7;
1644 text-align: center;
1645 font-weight: $body-font-weight-bold;
1646 color: $color-faded;
1647 font-size: $body-font-size-s;
1648 margin-top: 19px;
1649 strong {
1650 color: #111;
1651 margin-left: 2px;
1652 }
1653 }
1654 }
1655
1656 .latepoint-admin .os-sub-header {
1657 font-size: floor($font-size-base * 0.9);
1658 font-weight: $body-font-weight-bold;
1659 letter-spacing: 0.5px;
1660 color: $brand-primary;
1661 margin-bottom: 15px;
1662 text-transform: uppercase;
1663 }
1664
1665 .os-payment-methods-list {
1666 margin-bottom: 20px;
1667 }
1668
1669
1670 .os-complex-connections-selector {
1671 margin-bottom: 0px;
1672
1673 .item-quantity-selector-w {
1674 margin-left: auto;
1675 }
1676
1677 .complex-connection-set {
1678 display: flex;
1679 align-items: center;
1680 gap: 5px;
1681 padding-left: 10px;
1682 border-left: 1px solid $border-color-light;
1683 }
1684
1685 .connection {
1686 text-align: center;
1687 border: 2px solid $border-color-light;
1688 border-radius: $border-radius-lg;
1689 position: relative;
1690 margin-bottom: 10px;
1691 .os-form-group.os-form-group-transparent {
1692 margin: 0;
1693 display: flex;
1694 gap: 5px;
1695 align-items: center;
1696 label {
1697 margin: 0;
1698 }
1699 select.os-form-control {
1700 padding: 3px 20px 2px 8px !important;
1701 font-size: $body-font-size-xs;
1702 }
1703 }
1704 &.with-quantity {
1705 display: flex;
1706 align-items: center;
1707 gap: 10px;
1708 padding-right: 10px;
1709 .os-connection-quantity-wrapper {
1710 margin-left: auto;
1711 }
1712 .connection-i {
1713 flex: 1;
1714 }
1715 }
1716
1717 .connection-children-list-w {
1718 background: #FFFFFF;
1719 padding: 20px;
1720 margin-top: 0px;
1721 text-align: left;
1722 border-radius: 0px 0px $border-radius-lg $border-radius-lg;
1723 border-top: 2px solid $brand-primary;
1724 display: none;
1725 h4 {
1726 margin: 0px;
1727 margin-bottom: 15px;
1728 color: $brand-primary;
1729 font-size: floor($headings-font-size * 0.7);
1730 }
1731 ul {
1732 list-style: none;
1733 margin: 0px;
1734 padding: 0px;
1735 li {
1736 padding: 5px 0px;
1737 margin: 0px;
1738 font-weight: $body-font-weight-bold;
1739 font-size: floor($font-size-base * 1.1);
1740 border-bottom: 1px solid rgba(0,0,0,0.05);
1741 padding-left: 25px;
1742 position: relative;
1743
1744 &:last-child {
1745 border-bottom: none;
1746 }
1747
1748 &:before {
1749 background-color: #fff;
1750 color: #fff;
1751 padding: 2px;
1752 font-size: 12px;
1753 @include latepointfont_admin('\e904');
1754 position: absolute;
1755 top: 50%;
1756 left: 0px;
1757 display: block;
1758 border-radius: 4px;
1759 transform: translateY(-50%);
1760 box-shadow: inset 0px 0px 0px 2px $border-color-light;
1761 }
1762 &.active {
1763 &:before {
1764 background-color: $brand-primary;
1765 box-shadow: none;
1766 }
1767 }
1768 &:hover {
1769 color: $brand-primary;
1770 }
1771 }
1772 }
1773 }
1774
1775 .connection-i {
1776 padding: 7px 10px 7px 40px;
1777 display: flex;
1778 align-items: center;
1779 position: relative;
1780 &:before {
1781 background-color: #fff;
1782 color: #fff;
1783 padding: 4px;
1784 font-size: 9px;
1785 line-height: 9px;
1786 @include latepointfont_admin('\e904');
1787 position: absolute;
1788 top: 50%;
1789 left: 10px;
1790 display: block;
1791 border-radius: $border-radius-sm;
1792 transform: translateY(-50%);
1793 box-shadow: inset 0px 0px 0px 2px $border-color-light;
1794 }
1795 }
1796
1797
1798 &.active {
1799 border-color: $brand-primary;
1800 background-color: #fff;
1801 &.show-customize-box {
1802 .connection-children-list-w {
1803 display: block;
1804 }
1805 }
1806 .selected-connections {
1807 display: block;
1808 }
1809 .customize-connection-btn {
1810 display: flex;
1811 }
1812 .connection-i {
1813 &:before {
1814 background-color: $brand-primary;
1815 box-shadow: none;
1816 &:hover {
1817 box-shadow: none;
1818 }
1819 }
1820 }
1821 &:hover {
1822 border-color: lighten($brand-primary, 15%);
1823 background-color: #fff;
1824 .connection-i {
1825 &:before {
1826 background-color: lighten($brand-primary, 15%);
1827 }
1828 }
1829 }
1830 .connection-customizer {
1831 display: block;
1832 }
1833 .connection-name {
1834 }
1835 }
1836 &:hover {
1837 cursor: pointer;
1838 border-color: darken($border-color-light, 15%);
1839 .connection-customizer {
1840 i {
1841 transform: rotate(90deg);
1842 }
1843 }
1844 }
1845 &:last-child {
1846 }
1847 .connection-avatar {
1848 margin-right: 10px;
1849 img {
1850 width: 30px;
1851 height: auto;
1852 display: block;
1853 border-radius: 50%;
1854 }
1855 }
1856 .connection-name {
1857 margin-top: 0px;
1858 margin-bottom: 0px;
1859 line-height: 1.6;
1860 font-size: floor($font-size-base * 1.1);
1861 }
1862 .selected-connections {
1863 margin-left: auto;
1864 margin-right: 15px;
1865 display: none;
1866 background-color: #E7EDFF;
1867 color: #697D98;
1868 font-weight: $body-font-weight-bold;
1869 padding: 4px 5px;
1870 border-radius: $border-radius;
1871 }
1872 .customize-connection-btn {
1873 display: none;
1874 background-color: #fff;
1875 color: $brand-primary;
1876 font-weight: $body-font-weight-bold;
1877 padding: 4px 5px;
1878 border-radius: $border-radius;
1879 box-shadow: 0px 0px 0px 1px $brand-primary;
1880 align-items: center;
1881 text-decoration: none;
1882 &:hover {
1883 box-shadow: 0px 0px 0px 1px darken($brand-primary, 15%), 0px 2px 4px rgba(0,0,0,0.1);
1884 color: darken($brand-primary, 15%);
1885 i {
1886 transform: rotate(-45deg);
1887 }
1888 }
1889 i {
1890 margin-right: 5px;
1891 font-size: 16px;
1892 display: inline-block;
1893 line-height: 16px;
1894 transition: all 0.2s ease;
1895 }
1896 span {
1897 line-height: 16px;
1898 display: inline-block;
1899 }
1900 }
1901 }
1902 .connection-customizer {
1903 position: absolute;
1904 top: 10px;
1905 left: 10px;
1906 font-size: 18px;
1907 color: $brand-primary;
1908 text-decoration: none;
1909 display: none;
1910 i {
1911 display: block;
1912 transition: all 0.4s ease;
1913 transform-origin: center center;
1914 }
1915 span {
1916 display: block;
1917 position: absolute;
1918 top: 0px;
1919 left: 50%;
1920 transform: translate(-50%, -100%);
1921 background-color: $brand-dark;
1922 color: #fff;
1923 padding: 5px 7px;
1924 border-radius: $border-radius-sm;
1925 line-height: 1;
1926 font-size: floor($font-size-base * 0.9);
1927 font-weight: $body-font-weight-bold;
1928 white-space: nowrap;
1929 opacity: 0;
1930 visibility: hidden;
1931 transition: all 0.3s ease;
1932 }
1933 &:hover {
1934 span {
1935 transform: translate(-50%, -120%);
1936 opacity: 1;
1937 visibility: visible;
1938 }
1939 }
1940 }
1941 }
1942
1943 .merged-fields {
1944 display: flex;
1945 align-items: center;
1946 .os-form-group, .os-form-group.os-form-group-transparent {
1947 flex: 0;
1948 margin: 0px;
1949 margin-right: 10px;
1950 .os-form-control {
1951 min-width: 55px;
1952 }
1953 select.os-form-control {
1954 min-width: 110px;
1955 width: auto;
1956 }
1957 &.os-form-group-transparent.os-form-textfield-group {
1958 &.has-value {
1959 input.os-form-control {
1960 padding: 7px 6px 6px 6px!important;
1961 }
1962 }
1963 input.os-form-control {
1964 border: 1px solid $form-controls-border-color!important;
1965 padding: 7px 6px 6px 6px!important;
1966 border-radius: $form-controls-border-radius!important;
1967 }
1968 }
1969 }
1970 .merged-label {
1971 background-color: #f2f3f5;
1972 border-radius: $border-radius-sm;
1973 padding: 10px;
1974 color: $color-faded;
1975 font-weight: $body-font-weight-bold;
1976 font-size: $font-size-base;
1977 margin-right: 10px;
1978
1979 }
1980 }
1981
1982 .tracking-info-w {
1983 display: flex;
1984 .available-vars-w .available-vars-block {
1985 flex: 1;
1986 margin: 0px;
1987 margin-right: 20px;
1988 }
1989 .tracking-code-input-w {
1990 flex: 1;
1991 .os-form-textfield-group{
1992 height: 100%;
1993 textarea{
1994 height: 100%;
1995 }
1996 }
1997 }
1998 }
1999
2000 .os-quick-form-buttons {
2001 display: flex;
2002 gap: 15px;
2003 .os-form-group {
2004 flex: 1;
2005 }
2006 .os-full {
2007 flex: 1;
2008 }
2009 .os-compact {
2010 flex: 0;
2011 }
2012 }
2013
2014
2015
2016 // FORM BLOCK
2017
2018 .os-form-block {
2019 position: relative;
2020 @include white-box-stack();
2021 &.gu-transit, &.gu-mirror {
2022 animation: none;
2023 }
2024 &.gu-transit {
2025 opacity: 0.4;
2026 }
2027 & + .os-form-block {
2028 margin-top: 15px;
2029 }
2030 .os-form-message-w.status-success {
2031 display: none;
2032 }
2033 .os-remove-form-block {
2034 @include remove-block-x();
2035 }
2036 &:hover {
2037 .os-remove-form-block {
2038 display: block;
2039 }
2040 .os-form-block-header .os-form-block-edit-btn {
2041 opacity: 1;
2042 }
2043 }
2044 &.status-disabled:not(.os-is-editing) {
2045 box-shadow: none;
2046 background-color: rgba(0,0,0,0.05);
2047 background-image: none;
2048 .os-form-block-header {
2049 .os-form-block-name {
2050 color: $color-faded;
2051 }
2052 }
2053 }
2054 .os-form-block-header {
2055 display: flex;
2056 cursor: pointer;
2057 align-items: center;
2058 padding: 15px 20px;
2059 position: relative;
2060 z-index: 2;
2061 &.os-form-block-required {
2062 .os-form-block-type {
2063 &:after {
2064 position: absolute;
2065 content: "*";
2066 color: #BC0000;
2067 top: 50%;
2068 right: -15px;
2069 transform: translateY(-50%);
2070 line-height: 1;
2071 font-size: 18px;
2072 display: block;
2073 }
2074 }
2075 }
2076 .os-form-block-drag {
2077 font-size: 16px;
2078 padding: 15px 33px 15px 0px;
2079 border-right: 1px solid $border-color-lightest;
2080 color: $brand-primary;
2081 line-height: 1;
2082 cursor: -moz-grab;
2083 cursor: -webkit-grab;
2084 cursor: grab;
2085 position: relative;
2086 &.disabled {
2087 cursor: not-allowed;
2088 }
2089 span {
2090 position: absolute;
2091 top: -45px;
2092 line-height: 1.5;
2093 left: 50%;
2094 background-color: #111;
2095 color: #fff;
2096 font-weight: $body-font-weight-bold;
2097 font-size: 12px;
2098 padding: 5px;
2099 width: 150px;
2100 text-align: center;
2101 transform: translateX(-50%);
2102 display: none;
2103 z-index: 999;
2104 }
2105 &:hover {
2106 $color: $brand-primary;
2107 span {
2108 display: block;
2109 }
2110 &:before {
2111 opacity: 1;
2112 }
2113 }
2114 &:before {
2115 $color: $body-color;
2116 content: "";
2117 position: absolute;
2118 top: 8px;
2119 left: 3px;
2120 width: 3px;
2121 height: 3px;
2122 display: block;
2123 background-color: $color;
2124 box-shadow: 6px 6px 0px 0px $color, 0px 6px 0px 0px $color, 6px 0px 0px 0px $color, 6px 12px 0px 0px $color, 0px 12px 0px 0px $color;
2125 opacity: 0.5;
2126 border-radius: 1px;
2127 }
2128 }
2129 .os-form-block-name {
2130 margin-right: 10px;
2131 margin-left: 15px;
2132 font-size: $body-font-size-s;
2133 font-weight: $body-font-weight-bold;
2134 padding: 8px 0px;
2135 color: $headings-color;
2136 }
2137 .os-form-block-type {
2138 color: $color-faded;
2139 position: relative;
2140 }
2141 .os-form-block-edit-btn {
2142 margin-left: auto;
2143 font-size: 16px;
2144 color: $brand-primary;
2145 opacity: 0.4;
2146 }
2147 }
2148 .os-form-block-buttons {
2149 padding: 15px;
2150 border-top: 1px solid #dcdcea;
2151 display: flex;
2152 justify-content: flex-end;
2153 .latepoint-btn.pull-left {
2154 margin-right: auto;
2155 }
2156 .latepoint-btn + .latepoint-btn {
2157 margin-left: 10px;
2158 }
2159 }
2160 .os-form-block-params {
2161 display: none;
2162 margin: 0px;
2163 }
2164 .os-form-block-i {
2165 .os-form-group {
2166 margin-bottom: 0px;
2167 &:first-child {
2168 flex: 1;
2169 }
2170 + .os-form-group {
2171 }
2172 &.os-form-checkbox-group {
2173 }
2174 &.os-form-select-group {
2175 label {
2176 }
2177 }
2178 &.os-form-checkbox-group {
2179 label {
2180 }
2181 }
2182 }
2183 button {
2184 }
2185 }
2186 .os-form-block-type-select {
2187 }
2188 &.is-always-open {
2189 .os-form-block-header {
2190 cursor: default;
2191 }
2192 .os-form-block-params {
2193 display: block;
2194 border-top: 1px solid $border-color-light;
2195 }
2196 }
2197 &:hover:not(.os-is-editing):not(.is-always-open){
2198 box-shadow: 0px 0px 0px 2px $brand-primary;
2199 border-color: transparent;
2200 .os-form-block-i {
2201 border-color: transparent;
2202 }
2203 }
2204 &.os-is-editing {
2205 .os-remove-form-block {
2206 display: none;
2207 background-color: #ff6363;
2208 color: #fff;
2209 }
2210 .os-form-block-header {
2211 border-bottom: 1px solid $border-color-main;
2212 &:hover {
2213 }
2214 .os-form-block-drag {
2215 }
2216 .os-form-block-type {
2217 }
2218 }
2219 .os-form-block-params {
2220 display: block;
2221 }
2222 }
2223 }
2224
2225 .control-under-toggler {
2226 margin-left: 35px;
2227 padding-top: 15px;
2228 border-top: 1px solid $border-color-lightest;
2229 }
2230
2231 .os-default-fields {
2232 margin-bottom: 40px;
2233 }
2234 .os-default-field {
2235 padding: 15px 15px 15px 15px;
2236 @include white-box();
2237 margin-bottom: 15px;
2238 display: flex;
2239 align-items: center;
2240 .os-form-group.os-form-group-transparent {
2241 margin-bottom: 0;
2242 }
2243 .locked-field {
2244 padding: 0px 3px;
2245 color: #444656;
2246 font-size: 17px;
2247 border-radius: 10px;
2248 position: relative;
2249 span {
2250 display: none;
2251 transform: translate(0%, -110%);
2252 position: absolute;
2253 top: 0px;
2254 left: 0px;
2255 min-width: 300px;
2256 max-width: 350px;
2257 background-color: #2a335d;
2258 color: #fff;
2259 padding: 15px;
2260 font-size: 14px;
2261 }
2262 &:hover {
2263 span {
2264 display: block;
2265 }
2266 }
2267 }
2268 .os-field-setting {
2269 margin-left: 20px;
2270 padding-left: 20px;
2271 border-left: 1px solid rgba(0,0,0,0.05);
2272 }
2273 .os-form-group {
2274 margin: 0px;
2275 }
2276 .os-field-name {
2277 margin-right: auto;
2278 margin-left: 13px;
2279 font-weight: $body-font-weight-bold;
2280 font-size: floor($font-size-base * 1.2);
2281 padding: 8px 15px;
2282 margin-left: 15px;
2283 border-left: 1px solid rgba(0,0,0,0.1);
2284 }
2285 &.is-disabled {
2286 opacity: 0.5;
2287 .os-field-setting {
2288 display: none;
2289 }
2290 }
2291 }
2292
2293
2294
2295 .item-quantity-selector-w {
2296 display: flex;
2297 align-items: center;
2298 margin-left: 15px;
2299 .item-quantity-selector {
2300 font-size: 14px;
2301 cursor: pointer;
2302 color: rgba(0,0,0,0.8);
2303 background-color: #f3f4f9;
2304 padding: 3px 3px;
2305 line-height: 1;
2306 width: 20px;
2307 text-align: center;
2308 border-radius: 4px;
2309 &.item-quantity-selector-minus {
2310 &:before {
2311 @include latepointfont_admin("\e96d");
2312 }
2313 }
2314 &.item-quantity-selector-plus {
2315 &:before {
2316 @include latepointfont_admin("\e931");
2317 }
2318 }
2319 &:hover {
2320 color: #fff;
2321 background-color: $brand-primary;
2322 }
2323 }
2324 .item-quantity-selector-input {
2325 text-align: center;
2326 margin: 0px 4px;
2327 font-size: floor($font-size-base * 0.8);
2328 background-color: #fff;
2329 width: 25px;
2330 color: $form-controls-color;
2331 line-height: 1.1;
2332 height: auto;
2333 min-height: initial;
2334 font-weight: $body-font-weight-bold;
2335 transition: all 0.2s ease;
2336 height: auto;
2337 position: relative;
2338 display: block;
2339 box-shadow: none;
2340 border: 1px solid $form-controls-border-color;
2341 padding: 3px;
2342
2343 &:focus {
2344 box-shadow: none;
2345 outline: none;
2346 border-color: $brand-primary;
2347 }
2348 }
2349 }
2350
2351 .fee-disclosure-wrapper {
2352 .fee-disclosure {
2353 background-color: #fff5dd;
2354 border-radius: $border-radius;
2355 padding: 6px 8px;
2356 font-size: $body-font-size-xs;
2357 color: #785a1b;
2358 strong {
2359 color: #000;
2360 font-weight: $body-font-weight-black;
2361 }
2362 a {
2363 color: #000;
2364 border-bottom: 1px dotted #000;
2365 text-decoration: none;
2366 }
2367 }
2368 }
2369
2370 .latepoint-page-with-side-nav {
2371 display: flex;
2372 gap: 20px;
2373 align-items: flex-start;
2374 .os-form-w {
2375 flex: 1;
2376 margin-top: 0;
2377 }
2378
2379 .latepoint-page-side-nav-w {
2380
2381
2382 }
2383
2384 .latepoint-page-side-nav {
2385 display: flex;
2386 flex-direction: column;
2387 max-height: calc(100dvh - 40px);
2388 flex: 0 0 230px;
2389 position: sticky;
2390 top: 20px;
2391 .side-nav-actions {
2392 padding: 12px;
2393 display: flex;
2394 justify-content: space-between;
2395 gap: 10px;
2396 border-radius: $border-radius;
2397 margin-bottom: 20px;
2398 @include white-box();
2399 .latepoint-btn {
2400 display: flex;
2401 align-items: center;
2402 justify-content: center;
2403 margin-left: auto;
2404 }
2405 .os-form-group {
2406 margin: 0;
2407 }
2408 }
2409
2410 .side-nav-header {
2411 padding: 20px 15px;
2412 border-bottom: 1px solid $border-color-main;
2413 border-radius: $border-radius $border-radius 0 0;
2414 font-size: $body-font-size-m;
2415 display: flex;
2416 gap: 10px;
2417 align-items: center;
2418 position: relative;
2419 &:before {
2420 content: "";
2421 z-index: -1;
2422 width: 50px;
2423 height: 50px;
2424 position: absolute;
2425 top: 5px;
2426 right: 5px;
2427 border-radius: 0 0 0 50px;
2428 background-image: radial-gradient($border-color-main 1px, transparent 0);
2429 background-size: 12px 12px;
2430 background-position: top right;
2431 }
2432 i, span {
2433 display: block;
2434 }
2435 i {
2436 color: $brand-softer;
2437 font-size: 14px;
2438 }
2439 }
2440 .side-nav-body {
2441 flex: 1;
2442 padding: 10px 15px;
2443 overflow-y: auto;
2444 border: 1px solid $border-color-main;
2445 border-radius: $border-radius-lg;
2446 > div:not(:last-child) {
2447 border-bottom: 1px solid $border-color-lightest;
2448 }
2449 }
2450 a {
2451 font-size: $font-size-base;
2452 padding: 10px 0;
2453 display: block;
2454 white-space: nowrap;
2455 text-decoration: none;
2456 color: $color-faded;
2457 border-radius: $border-radius;
2458 position: relative;
2459
2460 &:focus {
2461 outline: none;
2462 box-shadow: none;
2463 }
2464 &:hover {
2465 color: $headings-color;
2466 text-decoration: underline;
2467 }
2468 &.is-active {
2469 color: $headings-color;
2470 text-decoration: underline;
2471 }
2472 }
2473 }
2474 }
2475
2476 .os-trigger-dots {
2477 padding: 8px 12px;
2478 border: 1px solid $border-color-main;
2479 border-radius: $border-radius;
2480 font-size: 12px;
2481 line-height: 1;
2482 cursor: pointer;
2483 position: relative;
2484 &:hover {
2485 border-color: darken($border-color-main, 15%);
2486 .os-trigger-dots-context {
2487 display: block;
2488 }
2489 }
2490 i {
2491 display: block;
2492 line-height: 18px;
2493 }
2494 .os-trigger-dots-context {
2495 border-radius: $border-radius;
2496 position: absolute;
2497 right: 50%;
2498 z-index: 9999;
2499 background-color: #f8f8f8;
2500 border: 1px solid $border-color-main;
2501 box-shadow: 0 2px 9px -2px rgba(0,0,0,0.15);
2502 overflow: hidden;
2503 display: none;
2504 top: 50%;
2505 .os-context-item {
2506 display: flex;
2507 gap: 10px;
2508 padding: 12px 15px;
2509 align-items: center;
2510 font-size: $body-font-size-s;
2511 i {
2512 font-size: 16px;
2513 }
2514 i, span {
2515 display: block;
2516 white-space: nowrap;
2517 }
2518 & + .os-context-item {
2519 border-top: 1px solid $border-color-lightest;
2520 }
2521 &:hover {
2522 background-color: #fff;
2523 span {
2524 text-decoration: underline;
2525 }
2526 }
2527 &.os-danger {
2528 color: #9c3838;
2529 }
2530 }
2531 }
2532 }
2533 .os-form-buttons {
2534 .os-trigger-dots {
2535 .os-trigger-dots-context {
2536 top: auto;
2537 bottom: 50%;
2538 }
2539 }
2540 }
2541