PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / admin / scss / settings.scss

settings.scss in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/admin/scss/settings.scss

2,899 lines 170.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");
2
3 @import "utils/common";
4 @import "utils/mixin";
5
6 @import './fields/better-repeater';
7
8 .betterdocs-admin {
9 .betterdocs-settings-wrap {
10 padding-left: 0;
11 padding-right: 0;
12 }
13 .betterdocs-left-right-settings {
14 .betterdocs-settings {
15 .betterdocs-settings-content {
16 padding-left: 40px;
17 padding-right: 40px;
18 padding-top: 0;
19 padding-bottom: 0;
20 .betterdocs-settings-form-wrapper {
21 padding-top: 24px;
22 padding-bottom: 24px;
23 box-shadow: none;
24 background-color: transparent;
25 .betterdocs-pro-alert-container {
26 background: rgba(#000, 0.5);
27 padding: 50px 10px;
28 .betterdocs-pro-alert-popup {
29 width: 100%;
30 max-width: 650px;
31 margin-right: 55px;
32 border-radius: 8px;
33 background: var(--base-background);
34 padding: 40px;
35 position: relative;
36 .betterdocs-pro-alert-close-button {
37 width: 40px;
38 height: 40px;
39 display: inline-flex;
40 align-items: center;
41 justify-content: center;
42 border-radius: 50%;
43 background: var(--base-background);
44 color: var(--text-color-700);
45 position: absolute;
46 top: 0;
47 right: -55px;
48 transition: all 0.2s ease-in-out;
49 box-shadow: none !important;
50 &:hover {
51 background: var(--text-color-300);
52 color: var(--text-color-900);
53 }
54 }
55 .betterdocs-pro-alert-html {
56 margin: 0;
57 padding: 0;
58 display: flex !important;
59 flex-direction: column;
60 align-items: flex-start;
61 .icon {
62 height: 56px;
63 width: 56px;
64 display: inline-flex;
65 justify-content: center;
66 align-items: center;
67 border-radius: 50%;
68 font-size: 35px !important;
69 background-color: var(--warning-100);
70 color: var(--warning-400);
71 &:not(:last-child) {
72 margin-bottom: 8px;
73 }
74 }
75 .title {
76 color: var(--text-color-900);
77 font-size: 24px;
78 font-weight: 500;
79 line-height: 1.5;
80 margin: 0;
81 text-align: left!important;
82 &:not(:last-child) {
83 margin-bottom: 16px;
84 }
85 }
86 .description {
87 color: var(--text-color-600);
88 font-size: 16px;
89 line-height: 1.6;
90 text-align: left;
91 &:not(:last-child) {
92 margin-bottom: 24px;
93 }
94 }
95 .features {
96 display: flex;
97 padding: 16px;
98 flex-direction: column;
99 gap: 16px;
100 border-radius: 8px;
101 background: var(--text-color-50);
102 width: 100%;
103 box-sizing: border-box;
104 text-align: left;
105 &:not(:last-child) {
106 margin-bottom: 24px;
107 }
108 .feature-title {
109 color: var(--text-color-900);
110 font-size: 16px;
111 line-height: 1.25;
112 font-weight: 600;
113 margin: 0;
114 }
115 .feature-list {
116 display: grid;
117 grid-template-columns: repeat(2, 1fr);
118 gap: 16px;
119 margin: 0;
120 .list-item {
121 margin: 0;
122 padding: 0;
123 color: var(--text-color-600);
124 font-size: 16px;
125 line-height: 1.25;
126 font-weight: 400;
127 display: inline-flex;
128 align-items: center;
129 gap: 8px;
130 &:before {
131 content: "\e90a";
132 font-family: "btd-icon";
133 height: 24px;
134 width: 24px;
135 border-radius: 50%;
136 flex-shrink: 0;
137 background-color: var(--base-color-100);
138 color: var(--base-color-700);
139 display: inline-flex;
140 align-items: center;
141 justify-content: center;
142 font-size: 12px;
143 }
144 }
145 .more {
146 margin: 0;
147 padding: 0;
148 a {
149 @include set-mode(color, var(--primary-700), var(--base-color-700));
150 font-size: 16px;
151 font-weight: 400;
152 line-height: 1.25;
153 text-decoration-line: underline;
154 }
155 }
156 }
157 }
158 .footer {
159 display: flex;
160 align-items: center;
161 width: 100%;
162 a {
163 margin-left: auto;
164 min-height: 40px;
165 display: inline-flex;
166 padding: 2px 24px;
167 justify-content: center;
168 align-items: center;
169 flex-shrink: 0;
170 border-radius: 8px;
171 border: 1px solid var(--base-color-700);
172 background: var(--base-color-700);
173 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
174 @include set-mode(color, var(--base-background), #fff);
175 font-size: 14px;
176 font-weight: 600;
177 line-height: 1.43;
178 text-decoration: none;
179 }
180 }
181 }
182 }
183 }
184 .betterdocs-quick-builder-wrapper {
185 .wprf-tabs-wrapper {
186 border: none;
187 background: transparent;
188 margin: 0;
189 }
190 }
191 }
192 }
193 .betterdocs-settings-documentation {
194 background: transparent !important;
195 margin: 0px auto 0px auto;
196 max-width: 1200px;
197 width: 100%;
198
199 .betterdocs-admin-block {
200 background-color: var(--base-background);
201 border-radius: 16px;
202 @include set-mode(box-shadow, 0 0 20px 0px #f2f2f2, none);
203 .betterdocs-admin-block-header-icon {
204 @include set-mode(background-color, #ecfdf3, #1f283d);
205 }
206 .betterdocs-admin-title {
207 color: var(--text-color-800);
208 }
209 p {
210 color: var(--text-color-600);
211 font-size: 14px;
212 font-style: normal;
213 font-weight: 400;
214 line-height: 20px;
215 }
216 }
217 }
218 }
219 }
220 .wp-react-form.wprf-tabs-wrapper {
221 &.wprf-tab-menu-as-sidebar {
222 display: flex;
223 .wprf-tab-menu-sidebar {
224 flex-basis: 25%;
225 max-width: 25%;
226 }
227 > .wprf-tab-content-wrapper {
228 flex-basis: 75%;
229 max-width: 75%;
230 }
231 }
232 }
233 .wprf-tab-menu-as-sidebar .wprf-tab-menu-sidebar {
234 background-color: var(--base-color-50) !important;
235 border-right: 1px solid var(--text-color-400);
236 padding: 20px;
237 border-top-left-radius: 16px;
238 border-bottom-left-radius: 16px;
239 box-sizing: border-box;
240 .wprf-tab-nav {
241 display: flex !important;
242 flex-direction: column !important;
243 gap: 8px !important;
244 .wprf-tab-nav-item {
245 min-height: 40px !important;
246 padding: 2px 20px !important;
247 width: 100% !important;
248 border: none !important;
249 margin: 0 !important;
250 background-color: transparent !important;
251 color: var(--text-color-600) !important;
252 font-size: 15px !important;
253 font-style: normal !important;
254 font-weight: 500 !important;
255 line-height: 1.5 !important;
256 box-sizing: border-box !important;
257 display: flex !important;
258 align-items: center !important;
259 gap: 6px;
260 border-radius: 8px !important;
261 transition:
262 background-color 0.3s ease-in-out,
263 color 0.3s ease-in-out;
264 .wprf-badge {
265 display: inline-flex;
266 align-items: center;
267 padding: 4px 6px 4px 4px;
268 border-radius: 50px;
269 background-color: var(--warning-50);
270 gap: 5px;
271 cursor: pointer;
272 box-sizing: border-box;
273 .wprf-badge-icon {
274 height: 16px;
275 width: 16px;
276 border-radius: 50px;
277 font-size: 12px;
278 display: flex;
279 align-items: center;
280 justify-content: center;
281 background: var(--warning-100);
282 color: var(--warning-400);
283 }
284 .wprf-badge-item {
285 font-size: 14px;
286 font-style: normal;
287 font-weight: 500;
288 line-height: 1.1;
289 color: var(--warning-400);
290 }
291 }
292 &.wprf-active-nav {
293 background-color: var(--base-color-700) !important;
294 @include set-mode(color, var(--base-background), #ffffff, true);
295
296 &:hover {
297 background-color: var(--base-color-700) !important;
298 @include set-mode(color, var(--base-background), #ffffff, true);
299 }
300 }
301 &:hover {
302 @include set-mode(background-color, #edf7f4, var(--base-color-700), true);
303 @include set-mode(color, var(--text-color-600), #ffffff, true);
304 }
305 }
306 }
307 }
308 .wprf-tab-menu-as-sidebar .wprf-tab-content-wrapper {
309 background-color: var(--base-background) !important;
310 border-top-right-radius: 16px;
311 border-bottom-right-radius: 16px;
312 padding: 0 !important;
313 .wprf-tab-flex {
314 &:last-child {
315 height: 100%;
316 }
317 .wprf-tab-contents {
318 height: auto;
319 .wprf-tab-content {
320 height: auto;
321 .wprf-tab-heading-wrapper {
322 display: none;
323 }
324 > .wprf-control-section {
325 border: none !important;
326 margin: 0;
327 padding: 0;
328 .wprf-section-title {
329 padding: 26px 40px;
330 color: var(--text-color-800);
331 font-size: 24px;
332 font-weight: 600;
333 line-height: 1.3;
334 font-style: normal;
335 border-bottom: 1px solid var(--text-color-400);
336 h3,
337 h4,
338 h5 {
339 margin: 0;
340 padding: 0;
341 font-size: inherit;
342 line-height: inherit;
343 font-weight: inherit;
344 color: inherit;
345 background: transparent;
346 text-transform: capitalize;
347 font-style: inherit;
348 letter-spacing: normal;
349 }
350 }
351 .wprf-section-fields {
352 padding: 20px 40px 0;
353 > div:first-child {
354 margin-bottom: 20px;
355 // display: inline-block;
356 }
357 .wprf-control-wrapper:not(.wprf-section-header) {
358 padding: 24px 16px;
359 margin: 0;
360 background-color: var(--base-background);
361 display: flex;
362 align-items: center;
363 border-bottom: 1px solid var(--text-color-200);
364 gap: 5%;
365 flex-wrap: nowrap;
366 .wprf-badge-wrapper {
367 display: flex;
368 align-items: center;
369 gap: 5%;
370 .wprf-control-label {
371 .wprf-label-with-badge {
372 display: flex;
373 align-items: center;
374 gap: 10px;
375 .wprf-badge {
376 display: inline-flex;
377 align-items: center;
378 padding: 4px 6px 4px 4px;
379 border-radius: 50px;
380 background-color: var(--warning-50);
381 gap: 5px;
382 cursor: pointer;
383 .wprf-badge-icon {
384 height: 16px;
385 width: 16px;
386 border-radius: 50px;
387 font-size: 12px;
388 display: flex;
389 align-items: center;
390 justify-content: center;
391 background: var(--warning-100);
392 color: var(--warning-400);
393 }
394 .wprf-badge-item {
395 font-size: 14px;
396 font-style: normal;
397 font-weight: 500;
398 line-height: 1.1;
399 color: var(--warning-400);
400 }
401 }
402 }
403 }
404 }
405 &:hover {
406 background: var(--text-color-50);
407 }
408 .wprf-control-label {
409 width: 42.5%;
410 flex-basis: 42.5%;
411 gap: 6px;
412 display: flex;
413 flex-direction: column;
414 font-weight: initial;
415 label {
416 color: var(--text-color-700);
417 font-size: 14px;
418 font-weight: 500;
419 line-height: 1.43;
420 }
421 .wprf-label-subtitle {
422 width: 100%;
423 color: var(--text-color-600);
424 font-size: 14px;
425 font-weight: 400;
426 line-height: 1.43;
427 margin-top: 0;
428 margin-bottom: 0;
429 }
430 }
431 .wprf-control-field {
432 box-sizing: border-box;
433 width: 52.5%;
434 flex-basis: 52.5%;
435 }
436 }
437 .wprf-control-wrapper {
438 &.wprf-type-toggle {
439 .wprf-control-field {
440 display: flex;
441 flex-direction: row-reverse;
442 justify-content: space-between;
443 flex-wrap: nowrap;
444 gap: 10px;
445 padding: 12px 16px;
446 border: 1px solid var(--text-color-400);
447 border-radius: 8px;
448 .wprf-description {
449 color: var(--text-color-700);
450 font-size: 14px;
451 font-weight: 500;
452 line-height: 1.43;
453 margin: 0;
454 padding: 0;
455 white-space: nowrap;
456 overflow: hidden;
457 text-overflow: ellipsis;
458 }
459 .wprf-toggle-wrap {
460 position: relative;
461 display: inline-flex;
462 width: 44px;
463 height: 24px;
464 input[type="checkbox"]="checkbox""] {
465 display: block !important;
466 position: absolute;
467 inset: 0;
468 opacity: 0 !important;
469 }
470 .wprf-input-label {
471 margin: 0;
472 width: 44px;
473 position: relative;
474 min-height: 24px;
475 height: 24px;
476 max-height: 24px;
477 cursor: pointer;
478 display: inline-block;
479 &:before {
480 background: var(--text-color-300);
481 width: 44px;
482 height: 24px;
483 border: none;
484 left: 0;
485 top: 0;
486 border-radius: 20px;
487 transition: all 0.4s ease;
488 }
489 &:after {
490 left: 2px;
491 top: 2px;
492 width: 20px;
493 height: 20px;
494 border-radius: 50%;
495 background: #fff;
496 transition:
497 left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
498 padding 0.3s ease,
499 margin 0.3s ease;
500 }
501 }
502 &.wprf-checked {
503 .wprf-input-label {
504 &:before {
505 background: var(--base-color-700);
506 }
507 &:after {
508 left: 22px;
509 right: auto;
510 }
511 }
512 }
513 // input:focus {
514 // + .wprf-input-label:before {
515 // box-shadow:
516 // 0px 0px 0px 4px #d0f9ed,
517 // 0px 1px 2px 0px
518 // rgba(#101828, 0.05);
519 // }
520 // }
521 }
522 }
523 .wprf-badge-wrapper.pro-deactivated {
524 .wprf-control-field {
525 .wprf-toggle-wrap {
526 .wprf-input-label {
527 &:after {
528 content: "\e907";
529 font-family: "btd-icon";
530 display: inline-flex;
531 align-items: center;
532 justify-content: center;
533 font-size: 14px;
534 color: var(--text-color-700);
535 }
536 }
537 &.wprf-checked {
538 .wprf-input-label {
539 &:before {
540 background: var(--base-color-700);
541 }
542 &:after {
543 left: 22px;
544 right: auto;
545 }
546 }
547 }
548 }
549 .wprf-description {
550 color: var(--text-color-500);
551 }
552 }
553 }
554 }
555 &.wprf-type-text,
556 &.wprf-type-permalink_structure,
557 &.wprf-type-number {
558 .wprf-control-field {
559 display: flex;
560 flex-direction: column;
561 gap: 8px;
562 > input {
563 width: 100%;
564 min-height: 44px;
565 padding: 2px 14px;
566 border-radius: 8px;
567 border: 1px solid var(--text-color-400);
568 background-color: var(--base-background);
569 box-shadow: 0px 1px 2px 0px rgba(#101828, 0.05);
570 color: var(--text-color-900);
571 font-size: 16px;
572 font-style: normal;
573 font-weight: 400;
574 line-height: 1.5;
575 &::placeholder {
576 color: var(--text-color-600);
577 }
578 &:focus {
579 box-shadow:
580 0px 0px 0px 4px var(--focus-shadow-1),
581 0px 1px 2px 0px var(--focus-shadow-2);
582 border-color: var(--base-color-700);
583 }
584 }
585 .wprf-tags-wrapper {
586 width: 100%;
587 display: flex;
588 justify-content: flex-end;
589 gap: 8px;
590 .button {
591 min-height: 22px;
592 padding: 2px 8px;
593 font-size: 12px;
594 line-height: 1;
595 color: var(--text-color-700);
596 background: var(--text-color-50);
597 border: 1px solid var(--text-color-400);
598 border-radius: 4px;
599 display: inline-flex;
600 align-items: center;
601 }
602 }
603 }
604 }
605 &.wprf-type-textarea {
606 .wprf-control-field {
607 display: flex;
608 flex-direction: column;
609 gap: 8px;
610 > textarea {
611 width: 100%;
612 padding: 10px 14px;
613 border-radius: 8px;
614 border: 1px solid var(--text-color-400);
615 background-color: var(--base-background);
616 box-shadow: 0px 1px 2px 0px rgba(#101828, 0.05);
617 resize: none;
618 color: var(--text-color-900);
619 font-size: 16px;
620 font-style: normal;
621 font-weight: 400;
622 line-height: 1.5;
623 &::placeholder {
624 color: var(--text-color-600);
625 }
626 &:focus {
627 box-shadow:
628 0px 0px 0px 4px var(--focus-shadow-1),
629 0px 1px 2px 0px var(--focus-shadow-2);
630 border-color: var(--base-color-700);
631 }
632 }
633 .wprf-tags-wrapper {
634 width: 100%;
635 display: flex;
636 justify-content: flex-end;
637 gap: 8px;
638 .button {
639 min-height: 22px;
640 padding: 2px 8px;
641 font-size: 12px;
642 line-height: 1;
643 color: var(--text-color-700);
644 background: var(--text-color-50);
645 border: 1px solid var(--text-color-400);
646 border-radius: 4px;
647 display: inline-flex;
648 align-items: center;
649 }
650 }
651 }
652 }
653 &.wprf-type-select,
654 &.wprf-type-embed_model_select,
655 &.wprf-type-platform_model_select {
656 .wprf-control-field {
657 .wprf-select-wrapper {
658 width: 100%;
659 min-width: 180px;
660 .wprf-select {
661 .wprf-select__control {
662 height: 44px;
663 min-height: 44px;
664 border-radius: 8px;
665 border-color: var(--text-color-400);
666 background-color: transparent;
667 .wprf-select__value-container {
668 padding: 2px 12px;
669 .wprf-select__single-value {
670 color: var(--text-color-700);
671 font-size: 16px;
672 font-weight: 400;
673 list-style: 1.5;
674 }
675 .wprf-select__input {
676 input {
677 box-shadow: none;
678 }
679 &:focus {
680 box-shadow: none;
681 }
682 }
683 .wprf-select__placeholder {
684 color: var(--text-color-600);
685 font-size: 16px;
686 font-weight: 400;
687 line-height: 1.5;
688 text-overflow: ellipsis;
689 width: 20ch;
690 overflow: hidden;
691 white-space: nowrap;
692 }
693 }
694 .wprf-select__indicators {
695 .wprf-select__indicator-separator {
696 display: none;
697 }
698 .wprf-select__indicator {
699 padding-right: 12px;
700 color: var(--text-color-600);
701 }
702 }
703 &--is-focused {
704 box-shadow:
705 0px 0px 0px 4px var(--focus-shadow-1),
706 0px 1px 2px 0px var(--focus-shadow-2) !important;
707 border-color: var(--base-color-700) !important;
708 .wprf-select__indicators {
709 .wprf-select__indicator {
710 color: var(--text-color-700) !important;
711 }
712 }
713 }
714 }
715 .wprf-select__menu {
716 background-color: var(--base-background);
717 .wprf-select__menu-list {
718 margin: 0;
719 padding: 20px;
720 display: inline-flex;
721 flex-direction: column;
722 gap: 4px;
723 width: 100%;
724 .wprf-select__option {
725 display: inline-flex;
726 align-items: center;
727 justify-content: flex-start;
728 gap: 8px;
729 padding: 10px 14px;
730 border-radius: 8px;
731 background: transparent;
732 color: var(--text-color-800);
733 font-size: 16px;
734 font-style: normal;
735 font-weight: 500;
736 line-height: 1.5;
737 cursor: pointer;
738 &:hover {
739 background-color: var(--text-color-50);
740 color: var(--text-color-700);
741 }
742 &.wprf-select__option--is-selected {
743 background-color: var(--text-color-50);
744 color: var(--base-color-700);
745 &:after {
746 margin-left: auto;
747 content: "\e90a";
748 font-family: "btd-icon";
749 font-size: 20px;
750 line-height: 1;
751 }
752 }
753 }
754 }
755 }
756 }
757 }
758
759 .model-wrapper {
760 display: flex;
761 justify-content: right;
762 gap: 10px;
763 }
764 .sync-docs-wrapper {
765 margin: 10px 0;
766 text-align: right;
767 color: #00b682;
768 text-decoration: underline;
769 cursor: pointer;
770 float: right;
771 }
772 }
773 .pro-deactivated {
774 .wprf-control-field {
775 .wprf-select-wrapper {
776 .wprf-select {
777 .wprf-select__control {
778 .wprf-select__indicators {
779 .wprf-select__indicator {
780 color: var(--text-color-500);
781 }
782 }
783 .wprf-select__single-value {
784 color: var(--text-color-500);
785 }
786 }
787 }
788 }
789 }
790 }
791 }
792 &.wprf-type-checkbox-select {
793 .wprf-checkbox-select-wrapper {
794 width: 100%;
795 display: flex;
796 flex-direction: column;
797 gap: 8px;
798 .wprf-checkbox-select {
799 .wprf-checkbox-select__control {
800 min-height: 44px;
801 border-radius: 8px;
802 border-color: var(--text-color-400);
803 background-color: transparent;
804 .wprf-checkbox-select__value-container {
805 padding: 0px 12px;
806 .wprf-checkbox-select__input-container {
807 margin: 0;
808 }
809 .wprf-checkbox-select__single-value {
810 color: var(--text-color-700);
811 font-size: 16px;
812 font-weight: 400;
813 list-style: 1.5;
814 }
815 .wprf-checkbox-select__input {
816 input {
817 box-shadow: none;
818 }
819 &:focus {
820 box-shadow: none;
821 }
822 }
823 .wprf-checkbox-select__placeholder {
824 color: var(--text-color-600);
825 font-size: 16px;
826 font-weight: 400;
827 line-height: 1.5;
828 text-overflow: ellipsis;
829 width: 98%;
830 overflow: hidden;
831 white-space: nowrap;
832 }
833 }
834 .wprf-checkbox-select__indicators {
835 .wprf-checkbox-select__indicator-separator {
836 display: none;
837 }
838 .wprf-checkbox-select__indicator {
839 padding-right: 12px;
840 color: var(--text-color-600);
841 }
842 }
843 &--is-focused {
844 box-shadow:
845 0px 0px 0px 4px var(--focus-shadow-1),
846 0px 1px 2px 0px var(--focus-shadow-2) !important;
847 border-color: var(--base-color-700) !important;
848 .wprf-checkbox-select__indicators {
849 .wprf-checkbox-select__indicator {
850 color: var(--text-color-700) !important;
851 }
852 }
853 }
854 }
855 .wprf-checkbox-select__menu {
856 background-color: var(--base-background);
857 .wprf-checkbox-select__menu-list {
858 margin: 0;
859 padding: 20px;
860 display: inline-flex;
861 flex-direction: column;
862 gap: 4px;
863 width: 100%;
864 .wprf-checkbox-select__option {
865 display: inline-flex;
866 align-items: center;
867 justify-content: flex-start;
868 gap: 8px;
869 padding: 10px 14px;
870 border-radius: 8px;
871 background: transparent;
872 color: var(--text-color-800);
873 font-size: 16px;
874 font-style: normal;
875 font-weight: 500;
876 line-height: 1.5;
877 cursor: pointer;
878 &:hover {
879 background-color: var(--text-color-50);
880 color: var(--text-color-700);
881 }
882 &.wprf-checkbox-select__option--is-selected {
883 background-color: var(--text-color-50);
884 color: var(--base-color-700);
885 &:after {
886 margin-left: auto;
887 content: "\e90a";
888 font-family: "btd-icon";
889 font-size: 20px;
890 line-height: 1;
891 }
892 }
893 }
894 }
895 }
896 }
897 .wprf-selected-options {
898 display: flex;
899 gap: 8px;
900 justify-content: flex-end;
901 flex-wrap: wrap;
902 margin: 0;
903 padding: 0;
904 .wprf-selected-option {
905 min-height: 22px;
906 display: inline-flex;
907 margin: 0;
908 padding: 1px 8px 1px 10px;
909 justify-content: center;
910 align-items: center;
911 gap: 4px;
912 border-radius: 4px;
913 background: var(--warning-50);
914 color: var(--warning-700);
915 text-align: center;
916 font-size: 12px;
917 font-style: normal;
918 font-weight: 500;
919 line-height: 1.5;
920 button {
921 width: 12px;
922 height: 12px;
923 border: none;
924 margin: 0;
925 padding: 0;
926 background-color: transparent;
927 color: var(--warning-700);
928 display: inline-flex;
929 align-items: center;
930 justify-content: center;
931 cursor: pointer;
932 }
933 }
934 }
935 }
936 }
937 &.wprf-type-button {
938 .wprf-control-field {
939 display: flex;
940 flex-direction: column;
941 align-items: flex-end;
942 .wprf-button {
943 width: auto !important;
944 background: transparent !important;
945 border-radius: 8px !important;
946 border: 1px solid var(--base-color-700) !important;
947 color: var(--base-color-700) !important;
948 min-height: 36px !important;
949 display: inline-flex !important;
950 justify-content: center !important;
951 align-items: center !important;
952 padding: 2px 14px !important;
953 font-size: 14px !important;
954 font-style: normal !important;
955 font-weight: 600 !important;
956 line-height: 1.43 !important;
957 letter-spacing: 0px !important;
958 box-shadow: none !important;
959 &:hover {
960 box-shadow: 0px 1px 2px 0px rgba(#101828, 0.05) !important;
961 }
962 }
963 }
964 }
965 &.wprf-type-media {
966 .wprf-control-field {
967 .wprf-media {
968 position: relative;
969 display: flex;
970 justify-content: flex-end;
971 .wprf-image-preview {
972 box-sizing: border-box;
973 width: 96px;
974 height: 96px;
975 border-radius: 8px;
976 border: 1px solid var(--text-color-200);
977 background: var(--base-background);
978 z-index: 1;
979 margin: 0;
980 img {
981 width: 100%;
982 height: 100%;
983 object-fit: contain;
984 }
985 }
986 .wprf-image-uploader {
987 .wprf-image-upload-btn {
988 width: 100%;
989 padding: 12px 10px 16px;
990 border-radius: 8px;
991 border: 1px solid var(--text-color-200);
992 background: var(--base-background);
993 display: flex;
994 flex-direction: column;
995 align-items: center;
996 justify-content: center;
997 text-align: center;
998 margin: 0;
999 .icon {
1000 height: 40px;
1001 width: 40px;
1002 border-radius: 50%;
1003 background: var(--text-color-200);
1004 display: inline-flex;
1005 align-items: center;
1006 justify-content: center;
1007 color: var(--text-color-600);
1008 font-size: 24px;
1009 border: 7px solid var(--text-color-50);
1010 }
1011 .title {
1012 margin-top: 6px;
1013 color: var(--base-color-700);
1014 font-size: 14px;
1015 font-style: normal;
1016 font-weight: 600;
1017 line-height: 1.43;
1018 }
1019 .info {
1020 margin-top: 4px;
1021 color: var(--text-color-600);
1022 text-align: center;
1023 font-size: 12px;
1024 font-style: normal;
1025 font-weight: 400;
1026 line-height: 1.5;
1027 }
1028 }
1029 &.uploaded {
1030 position: absolute;
1031 z-index: 9;
1032 top: 0;
1033 right: 0;
1034 width: 96px;
1035 height: 96px;
1036 .wprf_image_overlay {
1037 box-sizing: border-box;
1038 visibility: hidden;
1039 opacity: 0;
1040 width: 96px;
1041 height: 96px;
1042 margin-left: auto;
1043 display: inline-flex;
1044 justify-content: center;
1045 align-items: flex-end;
1046 text-align: center;
1047 background-color: rgba(#000000, 0.5);
1048 border-radius: 8px;
1049 padding: 6px;
1050 gap: 6px;
1051 transition: 0.2s ease-in-out;
1052 .wprf-btn {
1053 display: inline-flex;
1054 padding: 2px;
1055 background-color: transparent;
1056 color: #ffffff;
1057 font-size: 16px;
1058 margin-right: 0;
1059 transition: 0.2s ease-in-out;
1060 border-radius: 2px;
1061 &.wprf-image-change-btn {
1062 &:hover {
1063 background: #ffffff;
1064 color: var(--primary-700);
1065 }
1066 }
1067 &.wprf-image-remove-btn {
1068 &:hover {
1069 background: #ffffff;
1070 color: var(--danger-600);
1071 }
1072 }
1073 }
1074 }
1075 &:hover {
1076 .wprf_image_overlay {
1077 visibility: visible;
1078 opacity: 1;
1079 }
1080 }
1081 }
1082 }
1083 }
1084 }
1085 }
1086 &.wprf-type-colorpicker {
1087 .wprf-control-field {
1088 .wprf-colorpicker-wrap {
1089 position: relative;
1090 box-sizing: border-box;
1091 width: 100%;
1092 max-width: 100%;
1093 min-width: auto;
1094 .wprf-colorpicker-screen {
1095 display: flex;
1096 flex-direction: row;
1097 justify-content: space-between;
1098 flex-wrap: nowrap;
1099 gap: 10px;
1100 padding: 12px 16px;
1101 border: 1px solid var(--text-color-400);
1102 border-radius: 8px;
1103 cursor: pointer;
1104 .wprf-picker-code {
1105 display: inline-flex;
1106 align-items: center;
1107 color: var(--text-color-700);
1108 font-size: 14px;
1109 font-weight: 500;
1110 line-height: 1.43;
1111 }
1112 .wprf-picker-display {
1113 margin: 0;
1114 padding: 0;
1115 height: 24px;
1116 width: 24px;
1117 flex-shrink: 0;
1118 border: 1px solid var(--text-color-100);
1119 border-radius: 50%;
1120 }
1121 }
1122 .wprf-colorpicker {
1123 top: calc(100% + 4px);
1124 right: 0;
1125 position: absolute;
1126 z-index: 99;
1127 background: var(--base-background);
1128 border-radius: 4px;
1129 padding: 16px;
1130 box-shadow: -15px 15px 50px 4px rgba(129, 129, 129, 0.2);
1131 width: 350px;
1132 box-sizing: border-box;
1133 .components-color-picker {
1134 .react-colorful {
1135 width: 100%;
1136 .react-colorful__saturation {
1137 height: 290px;
1138 margin-bottom: 12px;
1139 }
1140 .react-colorful__hue,
1141 .react-colorful__alpha {
1142 width: calc(100% - 12px);
1143 margin-bottom: 12px;
1144 }
1145 }
1146 > div:not(.react-colorful) {
1147 display: flex;
1148 position: relative;
1149 padding: 0;
1150 > .components-h-stack {
1151 width: 100%;
1152 position: relative;
1153 .components-input-control__container {
1154 background: transparent;
1155 }
1156 .components-select-control__input {
1157 height: 44px;
1158 padding: 2px 14px;
1159 border-radius: 8px;
1160 border: 1px solid var(--text-color-400);
1161 background: var(--base-background);
1162 color: var(--text-color-900);
1163 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
1164 }
1165 .components-input-control__suffix {
1166 svg {
1167 fill: var(--text-color-900);
1168 }
1169 }
1170 .components-input-control__backdrop {
1171 display: none;
1172 }
1173 button.components-button {
1174 position: absolute;
1175 right: 8px;
1176 top: 50%;
1177 transform: translateY(-50%);
1178 background: transparent;
1179 border: none;
1180 padding: 0;
1181 z-index: 2;
1182 display: inline-flex;
1183 i,
1184 svg,
1185 img {
1186 width: 16px;
1187 font-size: 16px;
1188 fill: var(--text-color-900);
1189 }
1190 }
1191 }
1192 > .components-flex:last-child {
1193 position: absolute;
1194 right: 0;
1195 top: 50%;
1196 transform: translateY(-50%);
1197 z-index: 1;
1198 padding: 0;
1199 display: inline-flex;
1200 flex-direction: row;
1201 .components-input-control {
1202 height: 44px;
1203 display: flex;
1204 align-items: center;
1205 padding: 2px 14px;
1206 border-radius: 8px;
1207 border: 1px solid var(--text-color-400);
1208 background: var(--base-background);
1209 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
1210 .components-input-control__container {
1211 background: transparent;
1212 .components-input-control__prefix {
1213 margin: 0;
1214 &,
1215 & span {
1216 color: var(--text-color-900);
1217 margin: 0;
1218 }
1219 }
1220 .components-input-control__input {
1221 padding: 0;
1222 min-width: auto;
1223 height: auto;
1224 min-height: auto;
1225 color: var(--text-color-900);
1226 }
1227 .components-input-control__backdrop {
1228 display: none;
1229 }
1230 }
1231 }
1232 .components-h-stack {
1233 .components-input-control {
1234 padding-left: 10px;
1235 padding-right: 10px;
1236 .components-input-control__container {
1237 width: 26px;
1238 .components-input-control__prefix {
1239 display: none;
1240 }
1241 }
1242 }
1243 &:last-child {
1244 .components-input-control {
1245 padding-right: 30px;
1246 }
1247 }
1248 }
1249 .components-range-control {
1250 display: none;
1251 }
1252 }
1253 }
1254 }
1255 .wprf-colorpicker-reset-wrap {
1256 width: 100%;
1257 margin-top: 12px;
1258 display: flex;
1259 justify-content: flex-end;
1260 .wprf-colorpicker-reset {
1261 position: static;
1262 background: transparent;
1263 border: none;
1264 padding: 0;
1265 color: var(--text-color-600);
1266 font-size: 16px;
1267 font-weight: 400;
1268 line-height: 1.5;
1269 text-decoration-line: underline;
1270 }
1271 }
1272 }
1273 }
1274 }
1275 }
1276 }
1277 .wprf-section-search-form {
1278 display: flex;
1279 align-items: center;
1280 justify-content: center;
1281 padding: 0 20px 20px;
1282 .wprf-section-search {
1283 max-width: 400px;
1284 width: 100%;
1285 position: relative;
1286 height: 44px;
1287 border-radius: 8px;
1288 border: 1px solid var(--text-color-400);
1289 background: var(--base-background);
1290 box-shadow: 0px 1px 2px 0px rgba(#101828, 0.05);
1291 input {
1292 width: 100%;
1293 height: 100%;
1294 margin: 0;
1295 padding: 2px 14px;
1296 background: transparent;
1297 outline: none !important;
1298 border: none !important;
1299 box-shadow: none !important;
1300 color: var(--text-color-900);
1301 font-size: 16px;
1302 font-style: normal;
1303 font-weight: 400;
1304 line-height: 1.5;
1305 &::placeholder {
1306 color: var(--text-color-600);
1307 }
1308 }
1309 &:after {
1310 content: "\e904";
1311 font-family: "btd-icon";
1312 position: absolute;
1313 right: 14px;
1314 top: 50%;
1315 transform: translateY(-50%);
1316 pointer-events: none;
1317 font-size: 16px;
1318 color: var(--text-color-500);
1319 }
1320 &:focus-within {
1321 box-shadow:
1322 0px 0px 0px 4px var(--focus-shadow-1),
1323 0px 1px 2px 0px var(--focus-shadow-2);
1324 border-color: var(--base-color-700);
1325 &:after {
1326 color: var(--text-color-600);
1327 }
1328 }
1329 }
1330 }
1331 .wprf-section-search-results {
1332 display: grid;
1333 grid-template-columns: repeat(3, 1fr);
1334 gap: 24px;
1335 .wprf-copy-to-clipboard-wrapper {
1336 display: flex;
1337 flex-direction: column;
1338 .wprf-copy-to-clipboard-header {
1339 padding: 9px 15px;
1340 border-top-left-radius: 8px;
1341 border-top-right-radius: 8px;
1342 background-color: var(--text-color-150);
1343 border-top: 1px solid var(--text-color-200);
1344 border-left: 1px solid var(--text-color-200);
1345 border-right: 1px solid var(--text-color-200);
1346 display: flex;
1347 align-items: center;
1348 gap: 5px;
1349 .wprf-control-label {
1350 display: flex;
1351 width: 100%;
1352 label {
1353 overflow: hidden;
1354 color: var(--text-color-700);
1355 text-overflow: ellipsis;
1356 font-size: 16px;
1357 font-weight: 500;
1358 line-height: 1.1;
1359 width: 100%;
1360 }
1361 }
1362 .wprf-clipboard-tooltip {
1363 position: relative;
1364 .wprf-clipboard-tooltip-text {
1365 position: absolute;
1366 bottom: 100%;
1367 left: 50%;
1368 transform: translateX(-50%);
1369 box-sizing: border-box;
1370 display: inline-flex;
1371 visibility: hidden;
1372 opacity: 0;
1373 span {
1374 position: relative;
1375 color: var(--base-background);
1376 text-align: center;
1377 font-size: 12px;
1378 font-weight: 600;
1379 line-height: 1.5;
1380 background-color: var(--text-color-600);
1381 border-radius: 8px;
1382 padding: 8px 12px;
1383 box-sizing: border-box;
1384 display: inline-flex;
1385 box-shadow:
1386 0px 4px 6px -2px rgba(#101828, 0.03),
1387 0px 12px 16px -4px rgba(#101828, 0.08);
1388 margin-bottom: 8px;
1389 &:after {
1390 content: "";
1391 position: absolute;
1392 top: 100%;
1393 left: 50%;
1394 transform: translateX(-50%);
1395 border-top: 8px solid var(--text-color-600);
1396 border-left: 7px solid transparent;
1397 border-right: 7px solid transparent;
1398 }
1399 }
1400 }
1401 button {
1402 height: 27px;
1403 width: 27px;
1404 display: inline-flex;
1405 align-items: center;
1406 justify-content: center;
1407 background-color: var(--text-color-400);
1408 border: none;
1409 outline: none;
1410 box-shadow: none;
1411 border-radius: 50px;
1412 font-size: 16px;
1413 @include set-mode(color, var(--base-background), #ffffff);
1414 cursor: pointer;
1415 &:hover {
1416 @include set-mode(
1417 background-color,
1418 var(--text-color-600),
1419 var(--text-color-100)
1420 );
1421 }
1422 }
1423 &.active {
1424 .wprf-clipboard-tooltip-text {
1425 visibility: visible;
1426 opacity: 1;
1427 }
1428 button {
1429 @include set-mode(
1430 background-color,
1431 var(--text-color-600),
1432 var(--text-color-100)
1433 );
1434 }
1435 }
1436 }
1437 }
1438 .wprf-copy-to-clipboard-body {
1439 background-color: var(--text-color-50);
1440 padding: 15px;
1441 border-left: 1px solid var(--text-color-200);
1442 border-right: 1px solid var(--text-color-200);
1443 input {
1444 height: 40px;
1445 width: 100%;
1446 display: inline-flex;
1447 padding: 2px 10px;
1448 border-radius: 4px;
1449 border: 1px solid var(--text-color-400);
1450 background: var(--text-color-200);
1451 color: var(--text-color-700);
1452 font-size: 12px;
1453 font-weight: 400;
1454 line-height: 2;
1455 }
1456 }
1457 .wprf-copy-to-clipboard-footer {
1458 flex-grow: 1;
1459 background-color: var(--base-background);
1460 padding: 15px;
1461 border-left: 1px solid var(--text-color-200);
1462 border-right: 1px solid var(--text-color-200);
1463 border-bottom: 1px solid var(--text-color-200);
1464 border-bottom-left-radius: 8px;
1465 border-bottom-right-radius: 8px;
1466 display: flex;
1467 flex-direction: column;
1468 gap: 8px;
1469 i {
1470 color: var(--text-color-600);
1471 font-size: 12px;
1472 font-style: italic;
1473 font-weight: 400;
1474 line-height: 1.5;
1475 }
1476 .wprf-clipboard-tooltip {
1477 position: relative;
1478 .wprf-clipboard-tooltip-text {
1479 position: absolute;
1480 top: 50%;
1481 left: 50%;
1482 transform: translate(-50%, -50%);
1483 box-sizing: border-box;
1484 display: inline-flex;
1485 visibility: hidden;
1486 opacity: 0;
1487 span {
1488 color: var(--base-background);
1489 text-align: center;
1490 font-size: 12px;
1491 font-weight: 600;
1492 line-height: 1.5;
1493 background-color: var(--text-color-600);
1494 border-radius: 8px;
1495 padding: 8px 12px;
1496 box-sizing: border-box;
1497 display: inline-flex;
1498 box-shadow:
1499 0px 4px 6px -2px rgba(#101828, 0.03),
1500 0px 12px 16px -4px rgba(#101828, 0.08);
1501 }
1502 }
1503 &.active {
1504 .wprf-clipboard-tooltip-text {
1505 visibility: visible;
1506 opacity: 1;
1507 }
1508 }
1509 .wprf-description {
1510 display: flex;
1511 margin: 0;
1512 padding: 8px;
1513 justify-content: center;
1514 align-items: center;
1515 border-radius: 4px;
1516 border: 1px solid var(--text-color-200);
1517 background: var(--text-color-50);
1518 color: var(--text-color-600);
1519 font-size: 12px;
1520 font-weight: 400;
1521 line-height: 1.5;
1522 cursor: pointer;
1523 }
1524 }
1525 }
1526 &:hover {
1527 .wprf-copy-to-clipboard-header {
1528 .wprf-control-label {
1529 label {
1530 font-weight: 700;
1531 }
1532 }
1533 }
1534 .wprf-copy-to-clipboard-body input {
1535 background-color: var(--text-color-600);
1536 color: var(--base-background);
1537 }
1538 }
1539 }
1540 .wprf-result-not-found {
1541 grid-column: 1 / span 3;
1542 display: flex;
1543 flex-direction: column;
1544 align-items: center;
1545 justify-content: center;
1546 gap: 8px;
1547 img {
1548 width: 100%;
1549 max-width: 140px;
1550 }
1551 p {
1552 color: var(--text-color-900);
1553 text-align: center;
1554 font-size: 16px;
1555 font-weight: 500;
1556 line-height: 1.5;
1557 margin: 0;
1558 padding: 0;
1559 }
1560 }
1561 }
1562 .wprf-code-viewer {
1563 display: flex;
1564 flex-direction: column;
1565 width: 100%;
1566 border: 1px solid var(--text-color-300);
1567 border-radius: 6px;
1568 .wprf-code-viewer-header {
1569 padding: 8px 16px;
1570 font-size: 14px;
1571 font-style: normal;
1572 font-weight: 600;
1573 line-height: 1.43;
1574 border-bottom: 1px solid var(--text-color-300);
1575 color: var(--text-color-800);
1576 }
1577 .wprf-code-viewer-body {
1578 padding: 8px 36px 8px 16px;
1579 position: relative;
1580 pre {
1581 overflow: auto;
1582 width: 100%;
1583 height: 250px;
1584 color: var(--text-color-800);
1585 font-size: 14px;
1586 font-weight: 400;
1587 line-height: 1.7;
1588 margin: 0;
1589 }
1590 .wprf-clipboard-tooltip {
1591 position: absolute;
1592 right: 8px;
1593 bottom: 8px;
1594 display: inline-flex;
1595 .wprf-clipboard-tooltip-text {
1596 position: absolute;
1597 bottom: 100%;
1598 left: 50%;
1599 transform: translateX(-50%);
1600 box-sizing: border-box;
1601 display: inline-flex;
1602 visibility: hidden;
1603 opacity: 0;
1604 span {
1605 position: relative;
1606 color: var(--base-background);
1607 text-align: center;
1608 font-size: 12px;
1609 font-weight: 600;
1610 line-height: 1.5;
1611 background-color: var(--text-color-600);
1612 border-radius: 8px;
1613 padding: 8px 12px;
1614 box-sizing: border-box;
1615 display: inline-flex;
1616 box-shadow:
1617 0px 4px 6px -2px rgba(#101828, 0.03),
1618 0px 12px 16px -4px rgba(#101828, 0.08);
1619 margin-bottom: 8px;
1620 &:after {
1621 content: "";
1622 position: absolute;
1623 top: 100%;
1624 left: 50%;
1625 transform: translateX(-50%);
1626 border-top: 8px solid var(--text-color-600);
1627 border-left: 7px solid transparent;
1628 border-right: 7px solid transparent;
1629 }
1630 }
1631 }
1632 button {
1633 width: 24px;
1634 height: 24px;
1635 display: inline-flex;
1636 align-items: center;
1637 justify-content: center;
1638 border: none;
1639 outline: none;
1640 box-shadow: none;
1641 font-size: 16px;
1642 background: transparent;
1643 color: var(--text-color-500);
1644 cursor: pointer;
1645 padding: 0;
1646 transition: all 0.15s ease-in-out;
1647 &:hover {
1648 color: var(--text-color-900);
1649 }
1650 }
1651 &.active {
1652 .wprf-clipboard-tooltip-text {
1653 visibility: visible;
1654 opacity: 1;
1655 }
1656 button {
1657 color: var(--text-color-900);
1658 }
1659 }
1660 }
1661 }
1662 }
1663 .betterdocs-settings-customizer-link {
1664 margin-top: 20px;
1665 margin-bottom: 20px;
1666 border-radius: 8px;
1667 display: flex;
1668 justify-content: space-between;
1669 align-items: center;
1670 width: 100%;
1671 padding: 0 40px;
1672 gap: 5%;
1673 box-sizing: border-box;
1674 .betterdocs-card-content {
1675 flex-basis: 50%;
1676 max-width: 50%;
1677 display: flex;
1678 flex-direction: column;
1679 align-items: flex-start;
1680 justify-content: center;
1681 gap: 20px;
1682 padding: 20px 0;
1683 h2 {
1684 color: var(--text-color-800);
1685 font-size: 18px;
1686 font-weight: 600;
1687 line-height: 28px;
1688 margin: 0;
1689 padding: 0;
1690 }
1691 p {
1692 color: var(--text-color-600);
1693 font-size: 14px;
1694 font-weight: normal;
1695 line-height: 20px;
1696 margin: 0;
1697 padding: 0;
1698 }
1699 a {
1700 min-height: 44px;
1701 display: inline-flex;
1702 padding: 2px 18px;
1703 justify-content: center;
1704 align-items: center;
1705 gap: 8px;
1706 border-radius: 8px;
1707 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
1708 box-sizing: border-box;
1709 font-size: 16px;
1710 font-weight: 600;
1711 line-height: 1.5;
1712 text-decoration: none;
1713 }
1714 }
1715 &.design-gutenberg {
1716 background-color: var(--base-color-55);
1717 display: flex;
1718 a {
1719 border: 1px solid #1e1e1e;
1720 background: #1e1e1e;
1721 color: #ffffff;
1722 }
1723 }
1724 &.design-elementor {
1725 background-color: var(--base-color-60);
1726 a {
1727 border: 1px solid #881c3f;
1728 background: #881c3f;
1729 color: #ffffff;
1730 }
1731 }
1732 &.design-customizer {
1733 background-color: var(--base-color-65);
1734 margin-bottom: 40px;
1735 a {
1736 border: 1px solid #f1f2f5;
1737 background: #ffffff;
1738 color: #344054;
1739 }
1740 }
1741 .betterdocs-card-icon {
1742 flex-basis: 45%;
1743 max-width: 45%;
1744 img {
1745 height: 100%;
1746 width: auto;
1747 max-width: 100%;
1748 }
1749 }
1750 }
1751 .wpdeveloper-licensing-wrapper {
1752 display: flex;
1753 flex-direction: column;
1754 gap: 32px;
1755 padding: 0;
1756 justify-content: center;
1757 align-items: flex-start;
1758 margin: 0;
1759 margin-bottom: 40px;
1760 .wpdeveloper-licensing-header {
1761 display: flex;
1762 align-items: center;
1763 gap: 10px;
1764 .wpdeveloper-licensing-left-container {
1765 margin: 0;
1766 display: flex;
1767 align-items: center;
1768 gap: 20px;
1769 flex-basis: 65%;
1770 max-width: 65%;
1771 .icon {
1772 height: 70px;
1773 width: 70px;
1774 flex-shrink: 0;
1775 border-radius: 50%;
1776 display: inline-flex;
1777 align-items: center;
1778 justify-content: center;
1779 font-size: 36px;
1780 &.activated {
1781 background: var(--base-color-75);
1782 color: var(--base-color-700);
1783 }
1784 &.deactivated {
1785 background: var(--danger-50);
1786 color: var(--danger-600);
1787 }
1788 }
1789 .content {
1790 display: flex;
1791 flex-direction: column;
1792 gap: 4px;
1793 .heading {
1794 color: var(--text-color-800);
1795 font-size: 24px;
1796 font-weight: 700;
1797 line-height: 1.5;
1798 margin: 0;
1799 padding: 0;
1800 }
1801 .description {
1802 margin: 0;
1803 padding: 0;
1804 color: var(--text-color-600);
1805 font-size: 16px;
1806 font-weight: 400;
1807 line-height: 1.5;
1808 }
1809 }
1810 }
1811 .wpdeveloper-licensing-right-container {
1812 margin: 0;
1813 align-self: stretch;
1814 display: flex;
1815 justify-content: flex-end;
1816 .step-button {
1817 align-self: flex-end;
1818 display: inline-flex;
1819 align-items: center;
1820 margin: 0;
1821 padding: 0;
1822 gap: 20px;
1823 cursor: pointer;
1824 .text {
1825 color: var(--text-color-500);
1826 font-size: 16px;
1827 font-weight: 400;
1828 line-height: 1.5;
1829 text-decoration-line: underline;
1830 }
1831 .icon {
1832 height: 24px;
1833 width: 24px;
1834 border-radius: 50%;
1835 display: inline-flex;
1836 align-items: center;
1837 justify-content: center;
1838 flex-shrink: 0;
1839 background: var(--text-color-100);
1840 color: var(--text-color-700);
1841 font-size: 10px;
1842 text-decoration: none;
1843 transition: 0.1s ease-in;
1844 }
1845 &.show .icon {
1846 transform: rotate(0deg);
1847 }
1848 &.hide .icon {
1849 transform: rotate(180deg);
1850 }
1851 }
1852 .active-badge {
1853 align-self: flex-start;
1854 margin: 0;
1855 display: inline-flex;
1856 padding: 5px 10px;
1857 justify-content: center;
1858 align-items: center;
1859 gap: 4px;
1860 border-radius: 8px;
1861 background: var(--base-color-75);
1862 color: var(--base-color-700);
1863 font-size: 14px;
1864 font-weight: 500;
1865 line-height: 1.43;
1866 i {
1867 font-size: 16px;
1868 }
1869 &.expired,
1870 &.disabled,
1871 &.invalid {
1872 background: var(--danger-50);
1873 color: var(--danger-600);
1874 }
1875 }
1876 }
1877 }
1878 .wpdeveloper-licensing-steps-wrapper {
1879 display: grid;
1880 margin: 0;
1881 width: 100%;
1882 transition: grid-template-rows 0.2s ease-in;
1883 &.hidden {
1884 display: none;
1885 }
1886 &.hide {
1887 grid-template-rows: 0fr;
1888 }
1889 &.show {
1890 grid-template-rows: 1fr;
1891 }
1892 .wpdeveloper-licensing-steps {
1893 overflow: hidden;
1894 margin: 0;
1895 display: flex;
1896 flex-direction: column;
1897 gap: 20px;
1898 .wpdeveloper-licensing-step {
1899 margin: 0;
1900 display: flex;
1901 align-items: stretch;
1902 .wpdeveloper-licensing-step-count {
1903 min-height: 48px;
1904 width: 48px;
1905 background-color: var(--base-color-75);
1906 color: var(--base-color-700);
1907 display: inline-flex;
1908 justify-content: center;
1909 align-items: center;
1910 border-top-left-radius: 8px;
1911 border-bottom-left-radius: 8px;
1912 font-size: 16px;
1913 font-weight: 400;
1914 line-height: 1.5;
1915 position: relative;
1916 &:before {
1917 content: "";
1918 position: absolute;
1919 top: 100%;
1920 left: 50%;
1921 transform: translateX(-50%);
1922 height: 16px;
1923 border-right: 2px solid var(--text-color-400);
1924 }
1925 &:after {
1926 content: "\e90e";
1927 font-family: "btd-icon";
1928 position: absolute;
1929 bottom: -19px;
1930 left: 50%;
1931 transform: translateX(-50%) rotate(180deg);
1932 color: var(--text-color-400);
1933 font-size: 8px;
1934 display: inline-flex;
1935 line-height: 0.8;
1936 }
1937 }
1938 .wpdeveloper-licensing-step-content {
1939 flex-grow: 1;
1940 background-color: var(--text-color-50);
1941 color: var(--text-color-600);
1942 border-top-right-radius: 8px;
1943 border-bottom-right-radius: 8px;
1944 font-size: 16px;
1945 font-weight: 400;
1946 line-height: 1.5;
1947 padding: 12px 16px;
1948 a {
1949 color: var(--base-color-700);
1950 text-decoration: none;
1951 font-weight: 500;
1952 }
1953 }
1954 }
1955 }
1956 }
1957 .wpdeveloper-licensing-form {
1958 display: flex;
1959 justify-content: center;
1960 align-items: center;
1961 padding: 21px 22px 21px 23px;
1962 width: 100%;
1963 border-radius: 8px;
1964 box-sizing: border-box;
1965 &.activated {
1966 background-color: var(--text-color-100);
1967 .wpdeveloper-licensing-form-inner {
1968 cursor: initial;
1969 }
1970 }
1971 &.deactivated {
1972 background-color: var(--danger-50);
1973 .wpdeveloper-licensing-form-inner {
1974 cursor: pointer;
1975 }
1976 }
1977 .wpdeveloper-licensing-form-inner {
1978 border-radius: 8px;
1979 border: 1px solid var(--text-color-200);
1980 background: var(--base-background);
1981 width: 100%;
1982 align-items: center;
1983 padding: 6px 6px 6px 16px;
1984 display: flex;
1985 gap: 6px;
1986 .betterdocs-license-icon {
1987 position: static !important;
1988 width: 24px;
1989 height: auto;
1990 display: inline-flex;
1991 align-items: center;
1992 justify-content: center;
1993 pointer-events: none;
1994 font-size: 20px;
1995 color: var(--text-color-500);
1996 }
1997 .wpdeveloper-licensing-form-input {
1998 width: 100%;
1999 background: transparent;
2000 border: none !important;
2001 outline: none !important;
2002 box-shadow: none !important;
2003 font-size: 16px;
2004 font-weight: 400;
2005 line-height: 1.5;
2006 color: var(--text-color-700);
2007 &:disabled,
2008 &::placeholder {
2009 color: var(--text-color-500);
2010 }
2011 }
2012 .wpdeveloper-licensing-form-button {
2013 flex-shrink: 0;
2014 min-height: 36px;
2015 display: inline-flex;
2016 padding: 2px 14px;
2017 justify-content: center;
2018 align-items: center;
2019 gap: 8px;
2020 border-radius: 8px;
2021 @include set-mode(color, var(--base-background), #ffffff);
2022 font-size: 14px;
2023 font-weight: 600;
2024 line-height: 1.43;
2025 cursor: pointer;
2026 transition: 0.1s ease-in;
2027 &.activated {
2028 border: 1px solid var(--danger-600);
2029 background: var(--danger-600);
2030 }
2031 &.deactivated {
2032 border: 1px solid var(--base-color-700);
2033 background: var(--base-color-700);
2034 }
2035 &:hover {
2036 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
2037 }
2038 }
2039 }
2040 }
2041 }
2042 }
2043 }
2044 &.wprf-tab-tab-shortcodes {
2045 > .wprf-control-section {
2046 .wprf-section-fields {
2047 padding-bottom: 50px;
2048 }
2049 }
2050 }
2051 &.wprf-tab-tab-layout {
2052 > .wprf-control-section {
2053 .wprf-section-title {
2054 border-bottom: 0;
2055 }
2056 > .wprf-section-fields {
2057 padding-left: 0 !important;
2058 padding-right: 0 !important;
2059 padding-top: 0 !important;
2060 > .wprf-tabs-wrapper {
2061 > .wprf-tab-menu-wrapper {
2062 border-bottom: 1px solid var(--text-color-400);
2063 .wprf-tab-nav {
2064 padding-left: 40px !important;
2065 padding-right: 40px !important;
2066 display: flex;
2067 gap: 16px;
2068 .wprf-tab-nav-item {
2069 padding: 0 10px 16px 4px;
2070 border: none;
2071 border-bottom: 2px solid transparent;
2072 margin-bottom: -1px;
2073 background: transparent;
2074 span {
2075 @include set-mode(
2076 color,
2077 var(--text-color-400),
2078 var(--text-color-500)
2079 );
2080 font-size: 14px;
2081 font-weight: 500;
2082 line-height: 1.43;
2083 }
2084 &.wprf-active-nav {
2085 border-color: var(--base-color-700);
2086 span {
2087 color: var(--base-color-700);
2088 }
2089 }
2090 }
2091 }
2092 }
2093 > .wprf-tab-content-wrapper {
2094 > .wprf-tab-flex {
2095 > .wprf-tab-contents {
2096 > .wprf-tab-content {
2097 > .wprf-tab-heading-wrapper {
2098 display: none;
2099 }
2100 > .wprf-tabs-wrapper {
2101 > .wprf-tab-menu-wrapper {
2102 padding: 0 40px;
2103 .wprf-tab-nav {
2104 display: inline-flex;
2105 gap: 0;
2106 border: 1px solid var(--text-color-200);
2107 border-top: none;
2108 .wprf-tab-nav-item {
2109 padding: 16px 12px;
2110 border: none;
2111 border-bottom: 2px solid transparent;
2112 margin-bottom: -1px;
2113 background: transparent;
2114 span {
2115 @include set-mode(
2116 color,
2117 var(--text-color-400),
2118 var(--text-color-500)
2119 );
2120 font-size: 14px;
2121 font-weight: 500;
2122 line-height: 1.43;
2123 }
2124 &.wprf-active-nav {
2125 border-color: var(--base-color-700);
2126 span {
2127 color: var(--base-color-700);
2128 }
2129 }
2130 }
2131 }
2132 }
2133 > .wprf-tab-content-wrapper {
2134 > .wprf-tab-flex {
2135 > .wprf-tab-contents {
2136 > .wprf-tab-content {
2137 padding: 20px 40px 0;
2138 }
2139 }
2140 }
2141 padding: 20px 40px 0;
2142 }
2143 }
2144 &.wprf-tab-layout_archive_page {
2145 padding: 20px 40px 0;
2146 }
2147 }
2148 }
2149 }
2150 }
2151 }
2152 }
2153 }
2154 }
2155 &.wprf-tab-tab-instant-answer,
2156 &.wprf-tab-tab-ai-chatbot,
2157 &.wprf-tab-tab-import-export {
2158 > .wprf-control-section {
2159 height: 100%;
2160 display: flex;
2161 flex-direction: column;
2162 > .wprf-section-fields {
2163 padding-left: 0 !important;
2164 padding-right: 0 !important;
2165 padding-top: 0 !important;
2166 height: 100%;
2167 .wprf-control-section.enable_disable_wrapper,
2168 .wprf-control-section.ai_chatbot_fields {
2169 margin: 0 !important;
2170 padding: 0 !important;
2171 border: none !important;
2172 .wprf-section-fields {
2173 .wprf-control-wrapper.wprf-type-toggle.wprf-name-enable_disable,
2174 .wprf-control-wrapper.wprf-type-toggle.wprf-name-enable_ai_chatbot {
2175 border-bottom: none !important;
2176 padding-left: 0 !important;
2177 padding-right: 0 !important;
2178 &:hover {
2179 background: none;
2180 }
2181 .wprf-control-field {
2182 flex: 100% !important;
2183 width: 100% !important;
2184 }
2185 }
2186 }
2187 }
2188 > .wprf-tabs-wrapper {
2189 > .wprf-tab-menu-wrapper {
2190 border-bottom: 1px solid var(--text-color-200);
2191 .wprf-tab-nav {
2192 padding-left: 40px !important;
2193 padding-right: 40px !important;
2194 display: flex;
2195 gap: 32px;
2196 .wprf-tab-nav-item {
2197 padding: 0 10px 16px 4px;
2198 border: none;
2199 border-bottom: 2px solid transparent;
2200 margin-bottom: -1px;
2201 background: transparent;
2202 span {
2203 @include set-mode(
2204 color,
2205 var(--text-color-400),
2206 var(--text-color-500)
2207 );
2208 font-size: 14px;
2209 font-weight: 500;
2210 line-height: 1.43;
2211 }
2212 &.wprf-active-nav {
2213 border-color: var(--base-color-700);
2214 span {
2215 color: var(--base-color-700);
2216 }
2217 }
2218 }
2219 }
2220 }
2221 > .wprf-tab-content-wrapper {
2222 > .wprf-tab-flex {
2223 > .wprf-tab-contents {
2224 > .wprf-tab-content {
2225 > .wprf-tab-heading-wrapper {
2226 display: none;
2227 }
2228 > .wprf-tabs-wrapper {
2229 .wprf-tab-menu-wrapper {
2230 padding: 0 40px;
2231 .wprf-tab-nav {
2232 display: inline-flex;
2233 gap: 0;
2234 border: 1px solid var(--text-color-200);
2235 border-top: none;
2236 .wprf-tab-nav-item {
2237 padding: 16px 12px;
2238 border: none;
2239 border-bottom: 2px solid transparent;
2240 margin-bottom: -1px;
2241 background: transparent;
2242 span {
2243 @include set-mode(
2244 color,
2245 var(--text-color-400),
2246 var(--text-color-500)
2247 );
2248 font-size: 14px;
2249 font-weight: 500;
2250 line-height: 1.43;
2251 }
2252 &.wprf-active-nav {
2253 border-color: var(--base-color-700);
2254 span {
2255 color: var(--base-color-700);
2256 }
2257 }
2258 }
2259 }
2260 }
2261 > .wprf-tab-content-wrapper {
2262 > .wprf-tab-flex {
2263 > .wprf-tab-contents {
2264 .wprf-tab-content {
2265 &:not(.wprf-tab-home-style):not(
2266 .wprf-tab-style_content
2267 ) {
2268 padding: 20px 40px 0;
2269 }
2270 }
2271 }
2272 }
2273 padding: 20px 40px 0;
2274 }
2275 }
2276 .wprf-control-wrapper {
2277 gap: 2.5%;
2278 .wprf-control-label {
2279 width: 47.5%;
2280 flex-basis: 47.5%;
2281 }
2282 .wprf-control-field {
2283 width: 50%;
2284 flex-basis: 50%;
2285 }
2286 }
2287 &:not(.wprf-tab-ia_message_settings):not(
2288 .wprf-tab-ia_resources_settings
2289 ):not(.wprf-tab-ia_single_doc):not(.wprf-tab-import):not(
2290 .wprf-tab-export
2291 ):not(.wprf-tab-initial_content_type_settings) {
2292 padding: 20px 40px 0;
2293 }
2294 }
2295
2296 > .wprf-tab-content_home_section {
2297 padding: 0 20px !important;
2298
2299 > .wprf-tabs-wrapper {
2300 > .wprf-tab-menu-wrapper {
2301 padding: 0 25px;
2302 }
2303 }
2304 }
2305 }
2306 }
2307 }
2308 }
2309 }
2310 }
2311 }
2312 &.wprf-tab-tab-advance-settings,
2313 &.wprf-tab-tab-betterdocs-ai,
2314 &.wprf-tab-tab-import-export,
2315 &.wprf-tab-tab-ai-chatbot,
2316 &.wprf-tab-tab-migration {
2317 > .wprf-control-section {
2318 height: 100%;
2319 display: flex;
2320 flex-direction: column;
2321 .wprf-section-title {
2322 border-bottom: 0;
2323 }
2324 > .wprf-section-fields {
2325 padding-left: 0 !important;
2326 padding-right: 0 !important;
2327 padding-top: 0 !important;
2328 height: 100%;
2329 .wprf-btn.wprf-control.wprf-button,
2330 .wprf-json-uploaderButton {
2331 background: var(--base-color-700) !important;
2332 color: var(--base-background) !important;
2333 }
2334 .wprf-name-import_settings {
2335 border-bottom: none;
2336 &:hover {
2337 background: none;
2338 }
2339 .wprf-control-field {
2340 margin-left: auto;
2341 }
2342 }
2343 .wprf-name-export_docs_btn {
2344 border-bottom: none;
2345 .wprf-control-field {
2346 width: 100% !important;
2347 flex-basis: 100% !important;
2348 }
2349 &:hover {
2350 background-color: transparent;
2351 }
2352 #export_docs_btn {
2353 background-color: var(--base-color-700) !important;
2354 color: #fff !important;
2355 }
2356 }
2357 > .wprf-tabs-wrapper {
2358 > .wprf-tab-menu-wrapper {
2359 border-bottom: 1px solid var(--text-color-200);
2360 .wprf-tab-nav {
2361 padding-left: 40px !important;
2362 padding-right: 40px !important;
2363 display: flex;
2364 gap: 32px;
2365 .wprf-tab-nav-item {
2366 padding: 0 10px 16px 4px;
2367 border: none;
2368 border-bottom: 2px solid transparent;
2369 margin-bottom: -1px;
2370 background: transparent;
2371 span {
2372 @include set-mode(
2373 color,
2374 var(--text-color-400),
2375 var(--text-color-500)
2376 );
2377 font-size: 14px;
2378 font-weight: 500;
2379 line-height: 1.43;
2380 }
2381 &.wprf-active-nav {
2382 border-color: var(--base-color-700);
2383 span {
2384 color: var(--base-color-700);
2385 }
2386 }
2387 }
2388 }
2389 }
2390 > .wprf-tab-content-wrapper {
2391 > .wprf-tab-flex {
2392 > .wprf-tab-contents {
2393 > .wprf-tab-content:not(.wprf-tab-import, .wprf-tab-export) {
2394 padding: 20px 40px 0;
2395 > .wprf-tab-heading-wrapper {
2396 display: none;
2397 }
2398 }
2399 .wprf-importer-upload-field {
2400 margin-left: auto;
2401 }
2402 .wprf-json-uploader {
2403 margin-left: auto;
2404 display: flex;
2405 flex-direction: column;
2406 flex-wrap: wrap;
2407 .wpfr-json-file-name-wrapper {
2408 padding: 16px;
2409 border-radius: 8px;
2410 border: none;
2411 margin-left: auto;
2412 .wpfr-json-file-name {
2413 font-size: 16px;
2414 font-style: normal;
2415 font-weight: 600;
2416 line-height: 24px;
2417 color: #344054;
2418 }
2419 .wprf-json-file-delete-button {
2420 width: auto;
2421 height: auto;
2422 background: none;
2423 }
2424 }
2425 label.wprf-importer-upload-button {
2426 width: auto !important;
2427 background: transparent !important;
2428 border-radius: 8px !important;
2429 border: none !important;
2430 color: var(--base-color-700) !important;
2431 min-height: 36px !important;
2432 display: inline-flex !important;
2433 justify-content: center !important;
2434 align-items: center !important;
2435 padding: 2px 14px !important;
2436 font-size: 14px !important;
2437 text-transform: none !important;
2438 font-style: normal !important;
2439 font-weight: 600 !important;
2440 line-height: 1.43 !important;
2441 letter-spacing: 0px !important;
2442 box-shadow: none !important;
2443 .icon {
2444 margin-right: 10px;
2445 }
2446 input[type="file"]="file""] {
2447 display: none;
2448 }
2449 }
2450 button {
2451 margin-left: auto;
2452 margin-top: 20px;
2453 background-color: var(--base-color-700) !important;
2454 color: #fff !important;
2455 }
2456 .error {
2457 margin-left: 0;
2458 margin-right: 0;
2459 padding: 16px;
2460 background-color: #f2f4f7;
2461 border: 1px solid #f2f4f7;
2462 border-left-width: 1px;
2463 border-left-color: #e31b54;
2464 border-radius: 0px 8px 8px 0px;
2465 label {
2466 margin-right: 24px;
2467 input[type="radio"]="radio""] {
2468 border: 1px solid var(--base-color-700);
2469 }
2470 input[type="radio"]="radio""]:checked::before {
2471 background-color: var(--base-color-700);
2472 }
2473 }
2474 }
2475 }
2476 .wprf-name-run_import_docs,
2477 .wprf-name-run_import_settings {
2478 .wprf-control-field {
2479 width: 100%;
2480 flex-basis: 100%;
2481 }
2482 }
2483 .wprf-name-helpscout_action {
2484 border-bottom: none;
2485 padding-left: 0;
2486 padding-right: 0;
2487 .wprf-control-field {
2488 width: 100%;
2489 flex-basis: 100%;
2490 }
2491 &:hover {
2492 background-color: transparent;
2493 }
2494 }
2495 }
2496 }
2497 }
2498 }
2499 }
2500 }
2501 }
2502 // Second-level nested subtabs inside AI Content Suite (e.g. Write with AI → Configuration | Personalize).
2503 // The shared block above only styles the first-level nav; this restyles the inner tabs to match.
2504 &.wprf-tab-tab-betterdocs-ai {
2505 .wprf-tab-content {
2506 .wprf-tabs-wrapper {
2507 .wprf-tab-menu-wrapper {
2508 border-bottom: 1px solid var(--text-color-200);
2509 margin-bottom: 20px;
2510 .wprf-tab-nav {
2511 display: flex;
2512 gap: 24px;
2513 .wprf-tab-nav-item {
2514 padding: 0 4px 14px;
2515 border: none;
2516 border-bottom: 2px solid transparent;
2517 margin-bottom: -1px;
2518 background: transparent !important;
2519 border-radius: 0;
2520 box-shadow: none;
2521 span {
2522 @include set-mode(
2523 color,
2524 var(--text-color-400),
2525 var(--text-color-500)
2526 );
2527 font-size: 14px;
2528 font-weight: 500;
2529 line-height: 1.43;
2530 }
2531 &.wprf-active-nav {
2532 border-color: var(--base-color-700);
2533 background: transparent !important;
2534 span {
2535 color: var(--base-color-700);
2536 }
2537 }
2538 }
2539 }
2540 }
2541 > .wprf-tab-content-wrapper
2542 > .wprf-tab-flex
2543 > .wprf-tab-contents
2544 > .wprf-tab-content {
2545 padding: 0;
2546 > .wprf-tab-heading-wrapper {
2547 display: none;
2548 }
2549 }
2550 }
2551 }
2552 }
2553 &.wprf-tab-tab-migration {
2554 .wprf-section-header {
2555 display: flex;
2556 gap: 24px;
2557 padding-top: 20px;
2558 &:last-child {
2559 margin-bottom: 0;
2560 }
2561 &:not(:last-child) {
2562 margin-bottom: 40px;
2563 }
2564 &.wprf-direction-row {
2565 flex-direction: row;
2566 justify-content: flex-start;
2567 align-items: flex-start;
2568 }
2569 &.wprf-direction-column {
2570 flex-direction: column;
2571 align-items: center;
2572 justify-self: center;
2573 text-align: center;
2574 }
2575 .wprf-icon {
2576 display: inline-flex;
2577 border-radius: 8px;
2578 background-color: #fafbfb;
2579 padding: 12px;
2580 img {
2581 display: inline-flex;
2582 width: 40px;
2583 height: auto;
2584 }
2585 }
2586 .wprf-content {
2587 display: inline-flex;
2588 flex-direction: column;
2589 gap: 16px;
2590 @include if(".wprf-tab-content", ".wprf-tab-getting-started") {
2591 max-width: 450px;
2592 }
2593 @include if(".wprf-tab-content", ".wprf-tab-migration") {
2594 max-width: 590px;
2595 }
2596 .wprf-title {
2597 margin: 0;
2598 color: var(--text-color-800);
2599 font-size: 32px;
2600 font-weight: 600;
2601 line-height: 1;
2602 }
2603 .wprf-description {
2604 margin: 0;
2605 color: var(--text-color-600);
2606 text-align: center;
2607 font-size: 16px;
2608 font-weight: 400;
2609 line-height: 1.5;
2610 }
2611 }
2612 .wprf-link-wrapper {
2613 margin-left: auto;
2614 display: flex;
2615 flex-direction: column;
2616 align-items: flex-end;
2617 gap: 8px;
2618 a {
2619 display: inline-flex;
2620 padding: 10px 16px 10px 10px;
2621 justify-content: center;
2622 align-items: center;
2623 gap: 8px;
2624 border-radius: 8px;
2625 border: 1px solid #d0d5dd;
2626 background: #fff;
2627 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
2628 color: #344054;
2629 font-size: 14px;
2630 font-style: normal;
2631 font-weight: 600;
2632 line-height: 1.43;
2633 text-decoration: none;
2634 box-sizing: border-box;
2635 }
2636 }
2637 }
2638 .kb-migration-section {
2639 border: none;
2640 .wprf-section-fields {
2641 padding: 0;
2642 .wprf-control-field {
2643 width: 100% !important;
2644 flex-basis: 100% !important;
2645 align-items: center !important;
2646 }
2647 .wprf-name-migration_action {
2648 border-bottom: none;
2649 &:hover {
2650 background-color: transparent;
2651 }
2652 #migration_action {
2653 background-color: var(--base-color-700) !important;
2654 color: #fff !important;
2655 }
2656 }
2657 }
2658 }
2659 }
2660 }
2661 }
2662 }
2663 .wprf-submit {
2664 margin: 0;
2665 padding: 24px 40px 32px;
2666 display: flex;
2667 box-sizing: border-box;
2668 &.wprf-importer-submit {
2669 padding: 20px 0px 20px;
2670 }
2671 .wprf-submit-button {
2672 background: var(--base-color-700);
2673 color: var(--base-background);
2674 @include set-mode(color, var(--base-background), #ffffff);
2675 margin-left: auto;
2676 min-height: 40px;
2677 // Hold a stable width across the "Save Changes" → "Saving…" →
2678 // saved label swaps. The button is right-aligned (margin-left:
2679 // auto), so without this the shrinking label snaps the left edge
2680 // inward — the abrupt jerk QA reported. The label stays centered.
2681 min-width: 105px;
2682 padding: 2px 0;
2683 display: inline-flex;
2684 align-items: center;
2685 justify-content: center;
2686 gap: 8px;
2687 border: none;
2688 outline: none;
2689 box-sizing: none;
2690 font-size: 14px;
2691 border-radius: 8px;
2692 font-weight: 600;
2693 line-height: 1.42;
2694 cursor: pointer;
2695 box-shadow: 0px 1px 2px 0px rgba(#101828, 0.05);
2696 // Ease the state changes (background / colour / disabled fade /
2697 // shadow) instead of snapping between them.
2698 transition: background-color 0.2s ease, color 0.2s ease,
2699 opacity 0.2s ease, box-shadow 0.2s ease;
2700
2701 &:hover:not(:disabled) {
2702 background: var(--base-color-800, #009a6e);
2703 }
2704
2705 // "Saving…" state — soften and lock the cursor; the opacity
2706 // change rides the transition above so it fades in smoothly.
2707 &:disabled {
2708 opacity: 0.8;
2709 cursor: default;
2710 }
2711 }
2712 }
2713 }
2714 @each $name, $color in $color25List {
2715 .wprf-selected-option-#{$name} {
2716 background: $color !important;
2717 }
2718 }
2719 @each $name, $color in $color700List {
2720 .wprf-selected-option-#{$name} {
2721 color: $color !important;
2722 button {
2723 color: $color !important;
2724 }
2725 }
2726 }
2727 }
2728
2729 .wprf-tab-tab-ai-chatbot {
2730 .wprf-control-wrapper.wprf-type-button,
2731 .wprf-control-wrapper.wprf-type-reembed_confirm_button {
2732 padding: 24px 0px !important;
2733 &:hover {
2734 background-color: transparent !important;
2735 }
2736 }
2737 .wprf-type-button,
2738 .wprf-type-reembed_confirm_button {
2739 justify-content: right;
2740 border-bottom: none !important;
2741
2742 button#ai_chatbot_chat_submit,
2743 button#ai_chatbot_api_settings_submit,
2744 button#ai_chatbot_appearance_submit,
2745 button#ai_powered_search_settings_submit {
2746 background: var(--base-color-700) !important;
2747 color: var(--base-background) !important;
2748 margin-left: auto;
2749 min-height: 40px !important;
2750 // Stable width across the label state swaps (see .wprf-submit-button).
2751 min-width: 105px;
2752 padding: 2px 0 !important;
2753 display: inline-flex;
2754 align-items: center;
2755 justify-content: center;
2756 gap: 8px;
2757 border: none;
2758 outline: none;
2759 box-sizing: none;
2760 font-size: 14px;
2761 border-radius: 8px;
2762 font-weight: 600;
2763 line-height: 1.42;
2764 cursor: pointer;
2765 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
2766 transition: background-color 0.2s ease, color 0.2s ease,
2767 opacity 0.2s ease, box-shadow 0.2s ease;
2768
2769 &:hover:not(:disabled) {
2770 background: var(--base-color-800, #009a6e) !important;
2771 }
2772
2773 &:disabled {
2774 opacity: 0.8;
2775 cursor: default;
2776 }
2777 }
2778 }
2779
2780 .wprf-submit.wprf-control {
2781 display: none !important;
2782 }
2783 }
2784
2785 // Write/Edit AI Personalize save themselves from their modals, so hide the
2786 // page-level Save button while either subtab is active (the other AI subtabs
2787 // keep it). Falls back gracefully (button stays visible) where :has() is unsupported.
2788 .wprf-tab-tab-betterdocs-ai:has(.wprf-tab-content.wprf-tab-wwa-personalize.wprf-active),
2789 .wprf-tab-tab-betterdocs-ai:has(.wprf-tab-content.wprf-tab-edit-ai-personalize.wprf-active) {
2790 .wprf-submit.wprf-control {
2791 display: none !important;
2792 }
2793 }
2794
2795 // Personalize repeaters (Write AI Instructions, Edit AI Actions): stack full-width
2796 // (note → list → add button) instead of the default label-left / field-right split.
2797 .wprf-tab-tab-betterdocs-ai .wprf-control-wrapper.wprf-name-write_with_ai_instructions,
2798 .wprf-tab-tab-betterdocs-ai .wprf-control-wrapper.wprf-name-ai_edit_actions {
2799 flex-direction: column;
2800 align-items: stretch;
2801 > .wprf-control-label,
2802 > .wprf-control-field {
2803 width: 100% !important;
2804 max-width: 100% !important;
2805 flex: 0 0 100% !important;
2806 }
2807 > .wprf-control-label {
2808 margin-bottom: 16px;
2809 }
2810 // .wprf-control-field is a flex container — make its content fill the row,
2811 // then stretch the repeater list rows to full width.
2812 > .wprf-control-field {
2813 display: block !important;
2814 }
2815 .wwa-instructions-field,
2816 .edit-ai-actions-field,
2817 .wprf-repeater-control,
2818 .wprf-repeater-content,
2819 .wprf-repeater-field,
2820 .wprf-repeater-inner-field.betterdocs {
2821 width: 100% !important;
2822 }
2823 }
2824
2825 .wprf-select__menu {
2826 background-color: red;
2827 }
2828
2829 // Compact inline warning rendered directly under the AI Platform / Embed Model
2830 // field (rendered by the ReembedNotice field), matching the AI Content Suite
2831 // max-token notice. Warns about the full re-embed — and its time/credit cost —
2832 // that saving will trigger.
2833 // When a re-embed notice follows a field, the notice belongs to THAT field:
2834 // drop the field's own divider and let the notice row carry the divider below,
2835 // so the field + notice read as one cell (instead of the notice looking like
2836 // the next setting). When no notice shows, the component renders nothing, this
2837 // selector doesn't match, and the field keeps its normal border.
2838 .wprf-control-wrapper:has(+ .betterdocs-reembed-notice-row) {
2839 border-bottom: none;
2840 padding-bottom: 8px;
2841 }
2842
2843 .betterdocs-reembed-notice-row {
2844 padding: 0 16px 24px; // align the box to the field content (16px); divider sits below
2845 background-color: var(--base-background);
2846 border-bottom: 1px solid var(--text-color-200);
2847 }
2848
2849 .betterdocs-reembed-notice {
2850 display: flex;
2851 align-items: flex-start;
2852 gap: 10px;
2853 margin-top: 0; // hug the field above
2854 padding: 12px 14px;
2855 border: 1px solid var(--warning-400);
2856 border-radius: 8px;
2857 background-color: var(--warning-50);
2858 box-shadow: 0 1px 2px rgba(181, 71, 8, 0.05); // soft amber-tinted lift
2859
2860 // Amber-tinted icon chip — the single accent that anchors the notice.
2861 &__icon {
2862 flex: 0 0 auto;
2863 display: inline-flex;
2864 align-items: center;
2865 justify-content: center;
2866 width: 26px;
2867 height: 26px;
2868 border-radius: 7px;
2869 background-color: var(--warning-100);
2870 color: var(--warning-700);
2871
2872 svg {
2873 display: block;
2874 }
2875 }
2876
2877 &__body {
2878 display: flex;
2879 flex-direction: column;
2880 gap: 3px;
2881 padding-top: 1px; // optically center the first line against the icon chip
2882 min-width: 0;
2883 }
2884
2885 &__title {
2886 color: var(--warning-700);
2887 font-size: 13px;
2888 font-weight: 600;
2889 line-height: 1.4;
2890 }
2891
2892 &__text {
2893 color: var(--text-color-700);
2894 font-size: 12px;
2895 line-height: 1.55;
2896 }
2897 }
2898
2899