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 / setup-wizard.scss

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

1,489 lines 86.2 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/mixin";
4 @import "sample-docs";
5
6 :root {
7 $mode-base: #ffffff;
8 --page-background: #fafbfb;
9 --base-background: #fff;
10 --base-color-50: #f7fefc;
11 --base-color-65: #f7f8fa;
12 --base-color-75: #ecfdf3;
13 --base-color-100: #d1fadf;
14 --base-color-700: #00b884;
15 --base-color-800: #00956b;
16 --base-color-900: #007557;
17 --green: #00b884;
18 --green-50: #ecfdf3;
19 --green-100: #d1fadf;
20 --qs-field-border: #eef0f3;
21 --text-color-25: #fcfcfd;
22 --text-color-50: #f9fafb;
23 --text-color-100: #f0f0f0;
24 --text-color-150: #eff2f7;
25 --text-color-200: #eaecf0;
26 --text-color-300: #dde2e4;
27 --text-color-400: #d0d5dd;
28 --text-color-500: #98a2b3;
29 --text-color-600: #667085;
30 --text-color-700: #344054;
31 --text-color-800: #202223;
32 --text-color-850: #475467;
33 --text-color-900: #101828;
34 --text-color-950: #1d2939;
35 --warning-50: #fffaeb;
36 --warning-100: #fef0c7;
37 --warning-400: #fdb022;
38 --warning-700: #b54708;
39 --primary-700: #6941c6;
40 --danger-50: #fff1f3;
41 --danger-600: #d92d20;
42 --mode-switcher-icon: "\e905";
43 }
44
45 .betterdocs_page_betterdocs-setup {
46 font-family: "IBM Plex Sans", sans-serif;
47 #adminmenumain {
48 #adminmenu {
49 li {
50 a.wp-has-current-submenu {
51 &:after {
52 border-right-color: var(--page-background);
53 }
54 }
55 }
56 }
57 }
58 #wpcontent {
59 padding-left: 0px;
60 background-color: var(--page-background);
61 }
62 .betterdocs-settings-wrap {
63 padding-left: 0;
64 padding-right: 0;
65 #betterdocsQuickSetupBuilder {
66 // Full-width white top bar; its content stays inside the centered
67 // container, aligned with the wizard content below.
68 .betterdocs-quick-setup-header-top {
69 background-color: var(--base-background);
70 padding: 15px 0;
71 margin: 0;
72 width: 100%;
73 box-sizing: border-box;
74 // 1138 content + 40px gutters each side = matches the builder wrapper.
75 .betterdocs-dashboard-container {
76 width: 100%;
77 max-width: 1218px;
78 margin: 0 auto;
79 padding: 0 40px;
80 box-sizing: border-box;
81 }
82 .betterdocs-logo-action {
83 display: flex;
84 align-items: center;
85 justify-content: space-between;
86 .betterdocs-dashboard-header-items {
87 display: flex;
88 align-items: center;
89 &.betterdocs-dashboard-header-right {
90 flex: 1;
91 justify-content: flex-end;
92 }
93 }
94 .betterdocs-dashboard-logo {
95 display: inline-flex;
96 align-items: center;
97 // Match the dashboard: the logo renders at the SVG's
98 // intrinsic 220px width (no height override).
99 svg {
100 width: 220px;
101 height: auto;
102 display: block;
103 }
104 }
105 }
106 .betterdocs-dashboard-header-action-list {
107 margin: 0;
108 padding: 0;
109 list-style: none;
110 li {
111 display: inline-block;
112 .betterdocs-dashboard-header-action {
113 transition: all 0.3s ease 0s;
114 font-size: 18px;
115 line-height: 0;
116 background: var(--base-background);
117 color: var(--text-color-900);
118 height: 36px;
119 width: 36px;
120 padding: 0;
121 border: 1px solid var(--text-color-200);
122 border-radius: 8px;
123 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
124 display: inline-flex;
125 align-items: center;
126 justify-content: center;
127 box-sizing: border-box;
128 cursor: pointer;
129 }
130 }
131 }
132 }
133 .betterdocs-settings-wrapper {
134 margin-top: 32px;
135 padding-left: 40px;
136 padding-right: 40px;
137 padding-top: 0;
138 padding-bottom: 0;
139 .betterdocs-quick-setup-builder-wrapper {
140 width: 100%;
141 max-width: 1138px;
142 margin-top: 0;
143 margin-bottom: 0;
144 margin-left: auto;
145 margin-right: auto;
146 padding-top: 0;
147 padding-bottom: 0;
148 padding-left: 0;
149 padding-right: 0;
150 box-shadow: none;
151 background-color: transparent;
152 .wprf-tabs-wrapper {
153 display: flex;
154 flex-direction: column;
155 border: none;
156 background: transparent;
157 margin: 0;
158 .wprf-tab-menu-wrapper {
159 margin-bottom: 8px;
160 .wprf-tab-nav {
161 display: flex;
162 width: 100%;
163 }
164 }
165 }
166 .wprf-tab-menu-wrapper {
167 background: var(--base-background);
168 border-radius: 8px 8px 0 0;
169 overflow: hidden;
170 .wprf-tab-nav {
171 .wprf-tab-nav-item {
172 flex-grow: 1;
173 flex-basis: 0;
174 padding: 18px 12px;
175 display: inline-flex;
176 justify-content: center;
177 align-items: center;
178 gap: 12px;
179 border-top: 0;
180 border-bottom: 3px solid transparent;
181 background: var(--base-background);
182 color: var(--text-color-500);
183 font-size: 16px;
184 font-weight: 500;
185 line-height: 1;
186 cursor: pointer;
187 position: relative;
188 // Locked steps: not reached yet, or the consent
189 // intro after consent was given. Not clickable.
190 &.wprf-tab-disabled {
191 cursor: not-allowed;
192 opacity: 0.5;
193 pointer-events: none;
194 }
195 // vertical divider between steps
196 &:not(:last-child)::after {
197 content: "";
198 position: absolute;
199 right: 0;
200 top: 50%;
201 transform: translateY(-50%);
202 width: 1px;
203 height: 26px;
204 background: var(--text-color-150);
205 }
206 .icon {
207 height: 34px;
208 min-width: 34px;
209 width: 34px;
210 display: inline-flex;
211 align-items: center;
212 justify-content: center;
213 background-color: var(--text-color-200);
214 color: var(--text-color-500);
215 text-align: center;
216 font-size: 14px;
217 font-style: normal;
218 font-weight: 700;
219 line-height: normal;
220 border-radius: 50%;
221 box-sizing: border-box;
222 }
223 &.wprf-active-nav {
224 border-bottom-color: var(--base-color-700);
225 color: var(--text-color-900);
226 .icon {
227 background-color: #e0fff6;
228 color: #00b884;
229 border: 2px solid var(--base-color-75);
230 }
231 }
232 &.wprf-tab-complete:not(.wprf-active-nav) {
233 color: var(--text-color-950);
234 .icon {
235 background-color: var(--base-color-700);
236 color: #ffffff;
237 background-image: url(../../../assets/static/admin/images/icons/tick.svg);
238 background-repeat: no-repeat;
239 background-position: center center;
240 background-size: 16px;
241 .count {
242 display: none;
243 }
244 }
245 }
246 }
247 }
248 }
249 .wprf-tab-content-wrapper {
250 background-color: transparent;
251 padding: 0;
252 .wprf-tab-flex {
253 .wprf-tab-contents {
254 .wprf-tab-content {
255 padding: 40px;
256 border-radius: 16px;
257 background-color: transparent;
258 .wprf-tab-heading-wrapper {
259 display: none;
260 }
261
262 // Content steps render as the card body below the tab menu:
263 // white bg, 32px padding, rounded bottom corners (the menu
264 // wrapper carries the matching rounded top corners).
265 &.wprf-tab-getting-started,
266 &.wprf-tab-create-content,
267 &.wprf-tab-setup-page,
268 &.wprf-tab-customize,
269 &.wprf-tab-finalize {
270 background-color: var(--base-background);
271 border-radius: 0 0 8px 8px;
272 padding: 32px;
273
274 .wprf-section-header:not(:last-child) {
275 margin-bottom: 34px;
276 }
277 }
278
279 // Only "Create Content" wraps its field (the AI promo)
280 // in a white panel. "Setup Page" / "Customize" keep the
281 // plain wprf-section-fields — no extra wrapper/padding.
282 &.wprf-tab-create-content {
283 .betterdocs-quick-setup-fields {
284 background-color: var(--base-background);
285 border: 1px solid var(--text-color-150);
286 border-radius: 16px;
287 box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
288 padding: 24px;
289 margin: 0;
290 }
291 }
292
293 // Finalize: an honest "ready to finish" panel. Nothing in
294 // the wizard is saved until the user clicks Finish, so this
295 // prompts that action rather than celebrating prematurely.
296 // One green touch (icon + primary CTA) on a clean neutral card.
297 &.wprf-tab-finalize {
298 .betterdocs-finish {
299 display: flex;
300 flex-direction: column;
301 align-items: center;
302 text-align: center;
303 padding: 48px 32px 44px;
304 border-radius: 16px;
305 border: 1px solid var(--text-color-150, #eff2f7);
306 background-color: var(--base-background, #fff);
307 box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
308 }
309
310 // Match the wizard step-icon tile (.wprf-icon):
311 // a neutral surface with the brand-green glyph.
312 .betterdocs-finish-icon {
313 display: inline-flex;
314 align-items: center;
315 justify-content: center;
316 width: 66px;
317 height: 66px;
318 margin-bottom: 20px;
319 border-radius: 18px;
320 color: var(--base-color-700, #00b884);
321 background-color: var(--page-background, #fafbfb);
322
323 svg {
324 width: 30px;
325 height: 30px;
326 }
327 }
328
329 .betterdocs-finish-title {
330 margin: 0 0 8px;
331 font-size: 20px;
332 font-weight: 600;
333 line-height: 1.3;
334 color: var(--text-color-900, #101828);
335 }
336
337 .betterdocs-finish-text {
338 margin: 0 auto 24px;
339 max-width: 440px;
340 font-size: 14px;
341 line-height: 1.6;
342 color: var(--text-color-600, #667085);
343 }
344
345 .betterdocs-finish-btn {
346 display: inline-flex;
347 align-items: center;
348 justify-content: center;
349 height: 44px;
350 padding: 0 26px;
351 border-radius: 8px;
352 font-family: inherit;
353 font-size: 14px;
354 font-weight: 500;
355 line-height: 1;
356 text-transform: capitalize;
357 color: #fff;
358 background-color: var(--base-color-700, #00b884);
359 border: 1px solid var(--base-color-700, #00b884);
360 cursor: pointer;
361 transition: all 0.15s ease;
362
363 &:hover:not(:disabled) {
364 background-color: var(--base-color-800, #00956b);
365 border-color: var(--base-color-800, #00956b);
366 }
367
368 &:focus {
369 outline: none;
370 box-shadow: 0 0 0 3px rgba(0, 184, 132, 0.2);
371 }
372
373 &:disabled {
374 opacity: 0.7;
375 cursor: default;
376 }
377 }
378
379 .betterdocs-finish-hint {
380 margin: 16px 0 0;
381 font-size: 12.5px;
382 color: var(--text-color-500, #98a2b3);
383 }
384 }
385 .wprf-section-header {
386 display: flex;
387 gap: 24px;
388 &:last-child {
389 margin-bottom: 0;
390 }
391 &:not(:last-child) {
392 margin-bottom: 40px;
393 }
394 // Row headers read left-aligned (icon left, text
395 // beside it); column headers stay centered.
396 &.wprf-direction-row {
397 flex-direction: row;
398 flex-wrap: nowrap;
399 justify-content: flex-start;
400 align-items: flex-start;
401 text-align: left;
402 }
403 &.wprf-direction-column {
404 flex-direction: column;
405 align-items: center;
406 justify-self: center;
407 text-align: center;
408 }
409 // Single source for the header icon — the green
410 // tile used by every step (Content Crafting style).
411 .wprf-icon {
412 display: inline-flex;
413 align-items: center;
414 justify-content: center;
415 width: 66px;
416 height: 66px;
417 flex-shrink: 0;
418 padding: 0;
419 border-radius: 18px;
420 background-color: #fafbfb;
421 color: var(--base-color-700);
422 svg,
423 img {
424 display: block;
425 width: 30px;
426 height: 30px;
427 }
428 }
429 .wprf-content {
430 display: inline-flex;
431 flex-direction: column;
432 gap: 10px;
433 @include if(
434 ".wprf-tab-content",
435 ".wprf-tab-getting-started"
436 ) {
437 max-width: 450px;
438 }
439 @include if(
440 ".wprf-tab-content",
441 ".wprf-tab-migration"
442 ) {
443 max-width: 590px;
444 }
445 .wprf-title {
446 margin: 0;
447 color: var(--text-color-900);
448 font-size: 32px;
449 font-weight: 600;
450 line-height: 1;
451 }
452 .wprf-description {
453 margin: 0;
454 color: var(--text-color-600);
455 font-size: 16px;
456 font-weight: 400;
457 line-height: 1.5;
458 }
459 }
460 .wprf-link-wrapper {
461 margin-left: auto;
462 display: flex;
463 flex-direction: column;
464 align-items: flex-end;
465 gap: 8px;
466 a {
467 display: inline-flex;
468 padding: 10px 16px 10px 10px;
469 justify-content: center;
470 align-items: center;
471 gap: 8px;
472 border-radius: 8px;
473 border: 1px solid var(--text-color-400);
474 background: var(--base-background);
475 box-shadow: 0px 1px 2px 0px
476 rgba(16, 24, 40, 0.05);
477 color: var(--text-color-700);
478 font-size: 14px;
479 font-style: normal;
480 font-weight: 600;
481 line-height: 1.43;
482 text-decoration: none;
483 box-sizing: border-box;
484 }
485 }
486 }
487 .wprf-video-player {
488 width: 100%;
489 border-radius: 12px;
490 overflow: hidden;
491 iframe {
492 width: 100%;
493 }
494 }
495 .wprf-image-wrapper {
496 background: var(--base-background, #fff);
497 border: 1px solid var(--text-color-150, #f2f4f7);
498 border-radius: 16px;
499 padding: 24px;
500 img {
501 width: 100%;
502 height: auto;
503 display: block;
504 }
505 }
506 .betterdocs-quick-setup-fields {
507 margin: 0;
508 padding: 0;
509 background-color: transparent;
510 border: none;
511 .wprf-section-fields {
512 margin: 0;
513 padding: 0;
514 background-color: transparent;
515 border: none;
516 }
517 .wprf-control-wrapper {
518 padding: 24px 32px;
519 margin: 0;
520 background-color: var(--base-background);
521 display: flex;
522 align-items: center;
523 border-bottom: 1px solid var(--qs-field-border);
524 border-left: 1px solid var(--qs-field-border);
525 border-right: 1px solid var(--qs-field-border);
526 gap: 5%;
527 flex-wrap: nowrap;
528 box-sizing: border-box;
529 &:first-child {
530 border-top-left-radius: 16px;
531 border-top-right-radius: 16px;
532 border-top: 1px solid var(--qs-field-border);
533 }
534 &:last-child {
535 border-bottom-left-radius: 16px;
536 border-bottom-right-radius: 16px;
537 }
538 &:hover {
539 background: var(--text-color-50);
540 }
541 .wprf-badge-wrapper {
542 display: flex;
543 align-items: center;
544 gap: 5%;
545 .wprf-control-label {
546 .wprf-label-with-badge {
547 display: flex;
548 align-items: center;
549 gap: 10px;
550 .wprf-badge {
551 display: inline-flex;
552 align-items: center;
553 padding: 4px 6px 4px
554 4px;
555 border-radius: 50px;
556 background-color: #fffaeb;
557 gap: 5px;
558 cursor: pointer;
559 .wprf-badge-icon {
560 height: 16px;
561 width: 16px;
562 border-radius: 50px;
563 font-size: 12px;
564 display: flex;
565 align-items: center;
566 justify-content: center;
567 background: #fef0c7;
568 color: #fdb022;
569 }
570 .wprf-badge-item {
571 font-size: 14px;
572 font-style: normal;
573 font-weight: 500;
574 line-height: 1.1;
575 color: #fdb022;
576 }
577 }
578 }
579 }
580 }
581 .wprf-control-label {
582 width: 50%;
583 flex-basis: 50%;
584 gap: 6px;
585 display: flex;
586 flex-direction: column;
587 font-weight: initial;
588 label {
589 color: var(--text-color-700);
590 font-size: 14px;
591 font-weight: 500;
592 line-height: 1.43;
593 }
594 .wprf-label-subtitle {
595 width: 100%;
596 color: var(--text-color-600);
597 font-size: 14px;
598 font-weight: 400;
599 line-height: 1.43;
600 margin-top: 0;
601 margin-bottom: 0;
602 }
603 }
604 .wprf-control-field {
605 box-sizing: border-box;
606 width: 45%;
607 flex-basis: 45%;
608 }
609 &.wprf-type-select {
610 .wprf-control-field {
611 .wprf-select-wrapper {
612 width: 100%;
613 min-width: 180px;
614 .wprf-select {
615 .wprf-select__control {
616 height: 44px;
617 min-height: 44px;
618 border-radius: 8px;
619 border-color: var(
620 --text-color-400
621 );
622 background-color: transparent;
623 .wprf-select__value-container {
624 padding: 2px
625 12px;
626 .wprf-select__single-value {
627 color: var(
628 --text-color-700
629 );
630 font-size: 16px;
631 font-weight: 400;
632 list-style: 1.5;
633 }
634 .wprf-select__input {
635 input {
636 box-shadow: none;
637 }
638 &:focus {
639 box-shadow: none;
640 }
641 }
642 .wprf-select__placeholder {
643 color: var(
644 --text-color-600
645 );
646 font-size: 16px;
647 font-weight: 400;
648 line-height: 1.5;
649 text-overflow: ellipsis;
650 width: 20ch;
651 overflow: hidden;
652 white-space: nowrap;
653 }
654 }
655 .wprf-select__indicators {
656 .wprf-select__indicator-separator {
657 display: none;
658 }
659 .wprf-select__indicator {
660 padding-right: 12px;
661 color: var(
662 --text-color-600
663 );
664 }
665 }
666 &--is-focused {
667 border-color: var(
668 --base-color-700
669 ) !important;
670 .wprf-select__indicators {
671 .wprf-select__indicator {
672 color: var(
673 --text-color-700
674 ) !important;
675 }
676 }
677 }
678 }
679 .wprf-select__menu {
680 background-color: var(
681 --base-background
682 );
683 .wprf-select__menu-list {
684 margin: 0;
685 padding: 20px;
686 display: inline-flex;
687 flex-direction: column;
688 gap: 4px;
689 width: 100%;
690 .wprf-select__option {
691 display: inline-flex;
692 align-items: center;
693 justify-content: flex-start;
694 gap: 8px;
695 padding: 10px
696 14px;
697 border-radius: 8px;
698 background: transparent;
699 color: var(
700 --text-color-800
701 );
702 font-size: 16px;
703 font-style: normal;
704 font-weight: 500;
705 line-height: 1.5;
706 cursor: pointer;
707 &:hover {
708 background-color: var(
709 --text-color-50
710 );
711 color: var(
712 --text-color-700
713 );
714 }
715 &.wprf-select__option--is-selected {
716 background-color: var(
717 --text-color-50
718 );
719 color: var(
720 --base-color-700
721 );
722 &:after {
723 margin-left: auto;
724 content: "\e90a";
725 font-family: "btd-icon";
726 font-size: 20px;
727 line-height: 1;
728 }
729 }
730 }
731 }
732 }
733 }
734 }
735 }
736 .pro-deactivated {
737 .wprf-control-field {
738 .wprf-select-wrapper {
739 .wprf-select {
740 .wprf-select__control {
741 .wprf-select__indicators {
742 .wprf-select__indicator {
743 color: var(
744 --text-color-500
745 );
746 }
747 }
748 .wprf-select__single-value {
749 color: var(
750 --text-color-500
751 );
752 }
753 }
754 }
755 }
756 }
757 }
758 }
759 &.wprf-type-toggle {
760 .wprf-control-field {
761 display: flex;
762 flex-direction: row-reverse;
763 justify-content: space-between;
764 flex-wrap: nowrap;
765 gap: 10px;
766 padding: 12px 16px;
767 border: 1px solid var(--text-color-400);
768 background-color: var(--base-background);
769 border-radius: 8px;
770 .wprf-description {
771 color: var(--text-color-700);
772 font-size: 14px;
773 font-weight: 500;
774 line-height: 1.43;
775 margin: 0;
776 padding: 0;
777 white-space: nowrap;
778 overflow: hidden;
779 text-overflow: ellipsis;
780 }
781 .wprf-toggle-wrap {
782 position: relative;
783 display: inline-flex;
784 width: 44px;
785 height: 24px;
786 input[type="checkbox"]="checkbox""] {
787 display: block !important;
788 position: absolute;
789 inset: 0;
790 opacity: 0 !important;
791 }
792 .wprf-input-label {
793 margin: 0;
794 width: 44px;
795 position: relative;
796 min-height: 24px;
797 height: 24px;
798 max-height: 24px;
799 cursor: pointer;
800 display: inline-block;
801 &:before {
802 background: var(--text-color-100);
803 width: 44px;
804 height: 24px;
805 border: none;
806 left: 0;
807 top: 0;
808 border-radius: 20px;
809 transition: all
810 0.4s ease;
811 }
812 &:after {
813 left: 2px;
814 top: 2px;
815 width: 20px;
816 height: 20px;
817 border-radius: 50%;
818 background: var(--base-background);
819 transition:
820 left 0.3s
821 cubic-bezier(
822 0.175,
823 0.885,
824 0.32,
825 1.275
826 ),
827 padding 0.3s
828 ease,
829 margin 0.3s
830 ease;
831 }
832 }
833 &.wprf-checked {
834 .wprf-input-label {
835 &:before {
836 background: #00b884;
837 }
838 &:after {
839 left: 22px;
840 right: auto;
841 }
842 }
843 }
844 }
845 }
846 .wprf-badge-wrapper.pro-deactivated {
847 .wprf-control-field {
848 .wprf-toggle-wrap {
849 .wprf-input-label {
850 &:after {
851 content: "\e907";
852 font-family: "btd-icon";
853 display: inline-flex;
854 align-items: center;
855 justify-content: center;
856 font-size: 14px;
857 color: var(--text-color-700);
858 }
859 }
860 &.wprf-checked {
861 .wprf-input-label {
862 &:before {
863 background: #344054;
864 }
865 &:after {
866 left: 22px;
867 right: auto;
868 }
869 }
870 }
871 }
872 .wprf-description {
873 color: var(--text-color-500);
874 }
875 }
876 }
877 }
878 &.wprf-type-text,
879 &.wprf-type-permalink_structure,
880 &.wprf-type-number {
881 .wprf-control-field {
882 display: flex;
883 flex-direction: column;
884 gap: 8px;
885 > input {
886 width: 100%;
887 min-height: 44px;
888 padding: 2px 14px;
889 border-radius: 8px;
890 border: 1px solid var(--text-color-400);
891 background-color: var(--base-background);
892 color: var(--text-color-900);
893 font-size: 16px;
894 font-style: normal;
895 font-weight: 400;
896 line-height: 1.5;
897 &::placeholder {
898 color: var(--text-color-600);
899 }
900 }
901 .wprf-tags-wrapper {
902 width: 100%;
903 display: flex;
904 justify-content: flex-end;
905 gap: 8px;
906 .button {
907 min-height: 22px;
908 padding: 2px 8px;
909 font-size: 12px;
910 line-height: 1;
911 color: var(--text-color-700);
912 background: var(--text-color-50);
913 border: 1px solid var(--text-color-400);
914 border-radius: 4px;
915 display: inline-flex;
916 align-items: center;
917 }
918 }
919 }
920 }
921 }
922 }
923 .betterdocs-quick-setup-start {
924 margin: 0;
925 background-color: var(--base-background);
926 border: 1px solid var(--text-color-150, #f2f4f7);
927 border-radius: 16px;
928 padding: 40px;
929 display: flex;
930 flex-direction: column;
931 align-items: center;
932 gap: 24px;
933 .wprf-section-fields {
934 margin: 0;
935 padding: 0;
936 .wprf-betterdocs-quick-setup-start-message-message
937 p {
938 margin: 0;
939 padding: 0;
940 display: flex;
941 align-items: flex-start;
942 gap: 8px;
943 color: var(--text-color-850);
944 text-align: center;
945 font-size: 16px;
946 font-style: normal;
947 font-weight: 400;
948 line-height: 1.5;
949 a {
950 color: var(--text-color-600);
951 font-size: 14px;
952 font-style: normal;
953 font-weight: 400;
954 line-height: 1.43;
955 text-decoration-line: underline;
956 }
957 }
958 .wprf-betterdocs-quick-setup-start-collapse-collapse {
959 text-align: center;
960 .wprf-collapse-header {
961 display: flex;
962 align-items: center;
963 justify-content: center;
964 text-align: center;
965 gap: 1ch;
966 .wprf-collapse-title {
967 margin: 0;
968 padding: 0;
969 display: flex;
970 align-items: flex-start;
971 gap: 8px;
972 color: var(--text-color-850);
973 text-align: center;
974 font-size: 16px;
975 font-style: normal;
976 font-weight: 400;
977 line-height: 1.5;
978 }
979 .wprf-collapse-collapser {
980 margin: 0;
981 padding: 0;
982 color: var(--text-color-600);
983 font-size: 14px;
984 font-style: normal;
985 font-weight: 400;
986 line-height: 1.43;
987 text-decoration-line: underline;
988 cursor: pointer;
989 &:hover {
990 color: #00b884;
991 }
992 }
993 &.show {
994 .wprf-collapse-collapser {
995 color: #00b884;
996 }
997 }
998 }
999 .wprf-collapse-body {
1000 display: grid;
1001 transition: grid-template-rows
1002 0.2s ease-in;
1003 &.hide {
1004 grid-template-rows: 0fr;
1005 }
1006 &.show {
1007 grid-template-rows: 1fr;
1008 .wprf-collapse-body-inner {
1009 padding-top: 20px;
1010 }
1011 }
1012 .wprf-collapse-body-inner {
1013 overflow: hidden;
1014 max-width: 800px;
1015 font-size: 14px;
1016 line-height: 1.5;
1017 transition: padding-top
1018 0.2s ease-in;
1019 }
1020 }
1021 }
1022 }
1023 .wprf-stepped-button {
1024 margin: 0;
1025 padding: 0;
1026 flex-direction: column-reverse;
1027 gap: 12px;
1028 .wprf-step-btn-skip {
1029 margin-left: auto;
1030 margin-right: auto;
1031 min-height: auto;
1032 }
1033 .wprf-step-btn-next {
1034 .wprf-type-button {
1035 .wprf-button {
1036 width: 200px;
1037 background-position: 165px;
1038 }
1039 }
1040 }
1041 }
1042 }
1043 .betterdocs-quick-setup-migrate {
1044 margin: 0;
1045 background-color: var(--base-background);
1046 border: 1px solid #f1f1f1;
1047 border-radius: 16px;
1048 padding: 40px;
1049 display: flex;
1050 flex-direction: column;
1051 align-items: center;
1052 gap: 24px;
1053 .wprf-section-fields {
1054 margin: 0;
1055 padding: 0;
1056 .wprf-name-migration_step {
1057 display: flex;
1058 align-items: center;
1059 flex-direction: row-reverse;
1060 flex-wrap: nowrap;
1061 gap: 12px;
1062 .wprf-control-field {
1063 flex-basis: auto;
1064 flex-grow: 0;
1065 input {
1066 margin: 0;
1067 height: 20px;
1068 width: 20px;
1069 border-radius: 6px;
1070 border: 1px solid
1071 #00b884;
1072 box-shadow: none;
1073 outline: none;
1074 &:checked::before {
1075 margin: 2px;
1076 height: 14px;
1077 width: 14px;
1078 content: url("../../../assets/static/admin/images/icons/check.svg");
1079 }
1080 }
1081 }
1082 .wprf-control-label {
1083 flex-basis: auto;
1084 label {
1085 display: inline-flex;
1086 color: var(--text-color-900);
1087 font-size: 16px;
1088 font-style: normal;
1089 font-weight: 500;
1090 line-height: 1.5;
1091 }
1092 }
1093 }
1094 }
1095 }
1096 .wprf-name-enable_sample_data{
1097 display: flex;
1098 justify-content: center;
1099 align-items: flex-end;
1100 flex-direction: row-reverse;
1101 padding: 10px 0px 0px 0px;
1102
1103 .wprf-control-field{
1104 box-sizing: border-box !important;
1105 width: inherit !important;
1106 flex-basis: inherit !important;
1107
1108 input[type="checkbox"]="checkbox""]{
1109 color: #00B884;
1110 margin: -0.25rem 0.75rem 0 0;
1111 }
1112 }
1113
1114 .wprf-control-label{
1115 font-size: 16px;
1116 font-style: normal;
1117 font-weight: 500;
1118 line-height: 18px;
1119 }
1120 }
1121 }
1122 }
1123 }
1124 .wprf-stepped-button {
1125 margin-top: 24px;
1126 width: 100%;
1127 box-sizing: border-box;
1128 display: flex;
1129 align-items: center;
1130 justify-content: center;
1131 gap: 16px;
1132 .wprf-btn {
1133 min-height: 40px;
1134 align-items: center;
1135 }
1136 .wprf-step-btn-skip {
1137 background-color: transparent;
1138 border: none;
1139 color: var(--text-color-600);
1140 font-size: 13.5px;
1141 font-style: normal;
1142 font-weight: 600;
1143 line-height: 1.43;
1144 text-decoration: none;
1145 padding: 8px 6px;
1146 }
1147 .wprf-step-btn-prev {
1148 // Pin "Back" to the far left; skip + Save&Continue group right.
1149 margin-right: auto;
1150 order: -1;
1151 .wprf-type-button {
1152 margin: 0;
1153 padding: 0;
1154 .wprf-button {
1155 width: auto;
1156 min-width: 100px;
1157 display: inline-flex;
1158 padding: 10px 16px;
1159 justify-content: center;
1160 align-items: center;
1161 gap: 8px;
1162 flex-shrink: 0;
1163 color: var(--text-color-700);
1164 font-size: 14px;
1165 font-style: normal;
1166 font-weight: 600;
1167 line-height: 1.43;
1168 border-radius: 10px;
1169 border: 1px solid var(--text-color-300);
1170 background-color: var(--base-background);
1171 box-shadow: none;
1172 transition: background .15s ease, border-color .15s ease;
1173 // Left arrow (inline icon, inherits text color).
1174 &::before {
1175 content: "";
1176 flex-shrink: 0;
1177 width: 15px;
1178 height: 15px;
1179 background-color: currentColor;
1180 -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M19%2012H5M12%2019l-7-7%207-7'/%3E%3C/svg%3E") center / contain no-repeat;
1181 mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M19%2012H5M12%2019l-7-7%207-7'/%3E%3C/svg%3E") center / contain no-repeat;
1182 }
1183 &:hover {
1184 background-color: var(--text-color-50);
1185 border-color: var(--text-color-400);
1186 }
1187 }
1188 }
1189 &.disabled {
1190 .wprf-type-button {
1191 .wprf-button {
1192 background-color: #cccccc;
1193 color: #666666;
1194 cursor: not-allowed;
1195 opacity: 0.65;
1196 pointer-events: none;
1197 }
1198 }
1199 }
1200 }
1201
1202 .wprf-step-btn-next {
1203 .wprf-type-button {
1204 margin: 0;
1205 padding: 0;
1206 .wprf-button {
1207 width: auto;
1208 min-width: 116px;
1209 display: inline-flex;
1210 padding: 11px 18px;
1211 justify-content: center;
1212 align-items: center;
1213 gap: 8px;
1214 flex-shrink: 0;
1215 color: #fff;
1216 font-size: 14px;
1217 font-style: normal;
1218 font-weight: 600;
1219 line-height: 1.43;
1220 border-radius: 10px;
1221 border: 1px solid var(--base-color-700);
1222 background-color: var(--base-color-700);
1223 box-shadow: 0 1px 0 rgba(0, 0, 0, .04), inset 0 -1px 0 rgba(0, 0, 0, .06);
1224 transition: background .15s ease;
1225 // Right arrow (inline icon, inherits white text color).
1226 &::after {
1227 content: "";
1228 flex-shrink: 0;
1229 width: 16px;
1230 height: 16px;
1231 background-color: currentColor;
1232 -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14M13%205l7%207-7%207'/%3E%3C/svg%3E") center / contain no-repeat;
1233 mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14M13%205l7%207-7%207'/%3E%3C/svg%3E") center / contain no-repeat;
1234 }
1235 &:hover { background-color: var(--base-color-800); }
1236 }
1237 }
1238 }
1239 .wprf-step-btn-publish {
1240 min-width: 116px;
1241 display: inline-flex;
1242 padding: 11px 18px;
1243 justify-content: center;
1244 align-items: center;
1245 gap: 8px;
1246 flex-shrink: 0;
1247 color: #fff;
1248 font-size: 14px;
1249 font-style: normal;
1250 font-weight: 600;
1251 line-height: 1.43;
1252 border-radius: 10px;
1253 border: 1px solid var(--base-color-700);
1254 background-color: var(--base-color-700);
1255 box-shadow: 0 1px 0 rgba(0, 0, 0, .04), inset 0 -1px 0 rgba(0, 0, 0, .06);
1256 transition: background .15s ease;
1257 &:hover { background-color: var(--base-color-800); }
1258 }
1259 }
1260 }
1261 }
1262 }
1263
1264 .Toastify__toast--success {
1265 background: var(--base-color-700) !important;
1266 }
1267
1268 .Toastify__toast--error {
1269 background: #e74c3c;
1270 }
1271
1272 .Toastify__toast--info {
1273 background: #157efb;
1274 }
1275 }
1276 }
1277 .betterdocs-pro-alert-container {
1278 background: rgba(#000, 0.5);
1279 padding: 50px 10px;
1280 .betterdocs-pro-alert-popup {
1281 width: 100%;
1282 max-width: 650px;
1283 margin-right: 55px;
1284 border-radius: 8px;
1285 background: var(--base-background);
1286 padding: 40px;
1287 position: relative;
1288 .betterdocs-pro-alert-close-button {
1289 width: 40px;
1290 height: 40px;
1291 display: inline-flex;
1292 align-items: center;
1293 justify-content: center;
1294 border-radius: 50%;
1295 background: var(--base-background);
1296 color: var(--text-color-700);
1297 position: absolute;
1298 top: 0;
1299 right: -55px;
1300 transition: all 0.2s ease-in-out;
1301 box-shadow: none !important;
1302 &:hover {
1303 background: var(--text-color-300);
1304 color: var(--text-color-900);
1305 }
1306 }
1307 .betterdocs-pro-alert-html {
1308 margin: 0;
1309 padding: 0;
1310 display: flex !important;
1311 flex-direction: column;
1312 align-items: flex-start;
1313 .icon {
1314 height: 56px;
1315 width: 56px;
1316 display: inline-flex;
1317 justify-content: center;
1318 align-items: center;
1319 border-radius: 50%;
1320 font-size: 35px !important;
1321 background-color: var(--warning-100);
1322 color: var(--warning-400);
1323 &:not(:last-child) {
1324 margin-bottom: 8px;
1325 }
1326 }
1327 .title {
1328 color: var(--text-color-900);
1329 font-size: 24px;
1330 font-weight: 500;
1331 line-height: 1.5;
1332 margin: 0;
1333 &:not(:last-child) {
1334 margin-bottom: 16px;
1335 }
1336 }
1337 .description {
1338 color: var(--text-color-600);
1339 font-size: 16px;
1340 line-height: 1.6;
1341 text-align: left;
1342 &:not(:last-child) {
1343 margin-bottom: 24px;
1344 }
1345 }
1346 .features {
1347 display: flex;
1348 padding: 16px;
1349 flex-direction: column;
1350 gap: 16px;
1351 border-radius: 8px;
1352 background: var(--text-color-50);
1353 width: 100%;
1354 box-sizing: border-box;
1355 text-align: left;
1356 &:not(:last-child) {
1357 margin-bottom: 24px;
1358 }
1359 .feature-title {
1360 color: var(--text-color-900);
1361 font-size: 16px;
1362 line-height: 1.25;
1363 font-weight: 600;
1364 margin: 0;
1365 }
1366 .feature-list {
1367 display: grid;
1368 grid-template-columns: repeat(2, 1fr);
1369 gap: 16px;
1370 margin: 0;
1371 .list-item {
1372 margin: 0;
1373 padding: 0;
1374 color: var(--text-color-600);
1375 font-size: 16px;
1376 line-height: 1.25;
1377 font-weight: 400;
1378 display: inline-flex;
1379 align-items: center;
1380 gap: 8px;
1381 &:before {
1382 content: "\e90a";
1383 font-family: "btd-icon";
1384 height: 24px;
1385 width: 24px;
1386 border-radius: 50%;
1387 flex-shrink: 0;
1388 background-color: var(--base-color-100);
1389 color: var(--base-color-700);
1390 display: inline-flex;
1391 align-items: center;
1392 justify-content: center;
1393 font-size: 12px;
1394 }
1395 }
1396 .more {
1397 margin: 0;
1398 padding: 0;
1399 a {
1400 @include set-mode(
1401 color,
1402 var(--primary-700),
1403 var(--base-color-700)
1404 );
1405 font-size: 16px;
1406 font-weight: 400;
1407 line-height: 1.25;
1408 text-decoration-line: underline;
1409 }
1410 }
1411 }
1412 }
1413 .footer {
1414 display: flex;
1415 align-items: center;
1416 width: 100%;
1417 a {
1418 margin-left: auto;
1419 min-height: 40px;
1420 display: inline-flex;
1421 padding: 2px 24px;
1422 justify-content: center;
1423 align-items: center;
1424 flex-shrink: 0;
1425 border-radius: 8px;
1426 border: 1px solid var(--base-color-700);
1427 background: var(--base-color-700);
1428 @include set-mode(color, var(--base-background), #fff);
1429 font-size: 14px;
1430 font-weight: 600;
1431 line-height: 1.43;
1432 text-decoration: none;
1433 }
1434 }
1435 }
1436 }
1437 }
1438 }
1439
1440 /* ============================================================
1441 Dark mode — mirrors the dashboard design system.
1442 The mode switcher adds .betterdocs-dark-mode to <body>, which also
1443 carries .betterdocs_page_betterdocs-setup. Custom properties defined
1444 here inherit to every descendant, so the var()-based chrome + the
1445 sample-docs UI (header, promo banner, modal, chips, generated docs)
1446 all theme automatically — no per-selector overrides needed.
1447 ============================================================ */
1448 .betterdocs_page_betterdocs-setup.betterdocs-dark-mode {
1449 --page-background: #000000;
1450 --base-background: #0a0a0a;
1451 --base-color-50: #101211;
1452 --base-color-65: #1f283d;
1453 --base-color-75: #1f283d;
1454 --base-color-100: #1f283d;
1455 --base-color-700: #00b884;
1456 --base-color-800: #00956b;
1457 --base-color-900: #00c694;
1458 --green: #00b884;
1459 --green-50: #1f283d;
1460 --green-100: #1f283d;
1461 --qs-field-border: #232e46;
1462 --text-color-25: #101828;
1463 --text-color-50: #101113;
1464 --text-color-100: #22242a;
1465 --text-color-150: #232e46;
1466 --text-color-200: #0a0a0b;
1467 --text-color-300: #36405a;
1468 --text-color-400: #222225;
1469 --text-color-500: #d0d5dd;
1470 --text-color-600: #b1b9b7;
1471 --text-color-700: #fcfcfd;
1472 --text-color-800: #fcfcfd;
1473 --text-color-850: #fcfcfd;
1474 --text-color-900: #fcfcfd;
1475 --text-color-950: #fcfcfd;
1476 --warning-50: #473502;
1477 --warning-100: #5d470b;
1478 --danger-50: #190207;
1479 }
1480
1481 /* The header wordmark SVG uses an inline fill="#16342F" that CSS custom
1482 properties can't reach; flip it to white in dark mode so the logo text stays
1483 legible — mirrors the dashboard rule in admin.scss. */
1484 .betterdocs_page_betterdocs-setup.betterdocs-dark-mode {
1485 .betterdocs-quick-setup-header-top .betterdocs-dashboard-logo svg path[fill="#16342F"]="#16342F""] {
1486 fill: #ffffff;
1487 }
1488 }
1489