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