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