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 / chatbot.scss

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

773 lines 23.5 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=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');
2
3 // base
4 .betterdocs-chatbot-container {
5 max-width : 1170px;
6 margin : 0 auto;
7 padding-left : 12px;
8 padding-right: 12px;
9 }
10
11 .betterdocs-overview-section {
12 margin-bottom: 64px;
13 padding : 32px 36px;
14 background : var(--base-background);
15 width : 100%;
16 border-radius: 8px;
17 border : 1px solid var(--text-color-150);
18 position : relative;
19 width: 100%;
20 img {
21 width : 100%;
22 height: auto;
23 }
24
25 .flex-wrap {
26 flex-wrap: wrap;
27 }
28
29 @media (max-width: 1024px) {
30 margin-bottom: 20px;
31 padding : 20px;
32 }
33 }
34
35 .betterdocs-overview-col {
36 padding-left : 12px;
37 padding-right: 12px;
38 width : 100%;
39 min-height : 1px;
40
41 }
42
43 @media (max-width: 1012px) {
44 .betterdocs-col-4 {
45 flex : 0 0 100%;
46 max-width: 100%;
47
48 }
49 }
50
51 @media (max-width: 600px) {
52 .betterdocs-col-6 {
53 flex : 0 0 100%;
54 max-width: 100%;
55
56 }
57 }
58
59 .betterdocs-chatbot-section-btn {
60 background-color: var(--base-color-700);
61 padding : 15px;
62 font-size : 16px;
63 font-weight : 600;
64 color : #ffffff;
65 text-decoration : none;
66 border-radius : 8px;
67 cursor : pointer;
68 display : inline-block;
69 &:hover {
70 color : #ffffff;
71 }
72 &:focus {
73 box-shadow: none;
74 outline: none;
75 }
76
77 @media (max-width: 1024px) {
78 padding: 10px 15px;
79 }
80 }
81
82 .justify-content-space-between {
83 justify-content: space-between;
84 }
85
86 .align-items-center {
87 align-items: center;
88 }
89
90 .betterdocs-section-title {
91 color : var(--text-color-900);
92 font-family: "IBM Plex Sans", sans-serif;
93 font-weight: 600;
94 font-size : 40px;
95 line-height: 1.2;
96
97 @media (max-width: 1024px) {
98 font-size: 30px;
99 }
100
101 .betterdocs-title-style {
102 font-family: 'DM Sans', sans-serif;
103 line-height: 1.35;
104 }
105 }
106
107 .betterdocs-section-description {
108 font-weight: 400;
109 font-size: 14px;
110 line-height: 140%;
111 color: var(--text-color-600);
112 margin-bottom: 16px;
113 }
114
115 .betterdocs-section-sub-title {
116 color : var(--text-color-800);
117 font-family : "IBM Plex Sans", sans-serif;
118 font-weight : 400;
119 font-size : 16px;
120 line-height : 1.4;
121 margin-bottom: 16px;
122 }
123
124 .betterdocs-overview-card-header {
125 font-size : 24px;
126 font-family: "IBM Plex Sans", sans-serif;
127 font-weight: 500;
128 line-height: 1.33;
129 color : var(--text-color-900);
130 text-align : left;
131 }
132
133 // video section
134 .betterdocs-chatbot-video-section {
135
136 .betterdocs-svg-icon {
137 line-height: 0;
138 }
139
140 .betterdocs-content-left {
141 @media (max-width: 600px) {
142 margin-bottom: 20px;
143 }
144
145 .betterdocs-chatbot-video-section-tag {
146 background : var(--base-background);
147 border : 1px solid var(--text-color-200);
148 padding : 4px 8px 4px 4px;
149 border-radius: 8px;
150 margin-bottom: 8px;
151 width : fit-content;
152
153 .card-title {
154 color : var(--text-color-850);
155 font-weight: 500;
156 font-size : 12px;
157 font-family: "Inter", sans-serif;
158 }
159 }
160
161 .betterdocs-section-title {
162 margin-bottom: 8px;
163 margin-bottom: 16px;
164
165 .betterdocs-title-style {
166 display : block;
167 background : linear-gradient(90deg, #3852FF 6.70%, #C891FC 21%, #FFCE9D 36%, #00DE9F 45%, #54B8FF 56%);
168 -webkit-background-clip: text;
169 -webkit-text-fill-color: transparent;
170 }
171 }
172 }
173
174 .betterdocs-content-right {
175 .popup-trigger {
176 text-align: right;
177 cursor: pointer;
178 }
179 .betterdocs-popup-overlay {
180 height : 100vh;
181 width : 100vw;
182 position : fixed;
183 top : 0;
184 left : 0;
185 z-index : 999;
186 overflow-y : auto;
187 padding: 12px;
188 background: rgb(0, 0, 0, 0.6);
189
190 .betterdocs-popup-wrapper {
191 max-width : 100%;
192 width : max-content;
193 height : auto;
194 margin : 150px auto 0;
195 text-align: center;
196 position : relative;
197
198 .betterdocs-popup-video-content {
199 .betterdocs-popu-close-btn {
200 position : absolute;
201 right : -55px;
202 top : 0;
203 background-color: #ffffff;
204 display : flex;
205 justify-content : center;
206 align-items : center;
207 border-radius : 50%;
208 width: 40px;
209 height: 40px;
210 border : none;
211 cursor : pointer;
212 @media (max-width: 999px) {
213 right: 0;
214 top: -55px;
215 }
216 }
217 .betterdocs-popup-video{
218 iframe{
219 max-width: 1000px;
220 width: 600px;
221 aspect-ratio: 16 / 9;
222 @media (min-width: 1200px) {
223 width: 1000px;
224 }
225
226 @media (max-width: 600px) {
227 width: 300px;
228 }
229 }
230 }
231 }
232 }
233 }
234 }
235
236 }
237
238 // benefits-chatbot-section
239 .betterdocs-benefits-chatbot-section {
240 background-image : url("data:image/svg+xml,%3Csvg width='458' height='272' viewBox='0 0 458 272' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100.284 -46.7707C-70.0347 -5.59211 -188.682 95.4095 -163.736 178.481C-138.789 261.553 19.3967 295.623 189.715 254.445C360.033 213.266 478.681 112.265 453.734 29.1928C428.787 -53.8789 270.602 -87.9494 100.284 -46.7707Z' fill='%23F5FFF5'/%3E%3C/svg%3E");
241 background-repeat : no-repeat;
242 background-position: left top;
243
244 .betterdocs-chatbot-section-header {
245 margin-bottom: 32px;
246
247 .betterdocs-section-title {
248 text-align : center;
249 margin-bottom: 8px;
250
251 .betterdocs-title-style {
252 background : linear-gradient(125deg, #3852FF 20%, #C891FC 35%, #FFCE9D 64%, #00DE9F 80%, #54B8FF 87%);
253 -webkit-background-clip: text;
254 -webkit-text-fill-color: transparent;
255 }
256 }
257
258 .betterdocs-section-sub-title {
259 text-align: center;
260 }
261
262 }
263
264 .betterdocs-chatbot-section-content {
265 .betterdocs-benefits-card {
266 border : 1px solid var(--text-color-200);
267 margin-bottom : 24px;
268 border-radius : 16px;
269 overflow : hidden;
270 background-color: var(--text-color-970);
271
272 .benefits-card-img-wrapper {
273 line-height: 0;
274 padding : 24px 0 0 24px;
275
276 &.benefits-card-left-bg {
277 background: linear-gradient(214.17deg, #DCF9FF 15.12%, #F7F7FF 88.76%);
278
279 }
280
281 &.benefits-card-right-bg {
282 background: linear-gradient(214.17deg, #FFEBFF 15.12%, #EEECFF 88.76%);
283
284 }
285
286 img {
287 width : 100%;
288 height: auto;
289 }
290 }
291
292 .benefits-card-header-wrapper {
293 padding: 24px;
294 }
295 }
296
297 }
298 }
299
300 // analytics-reporting-section
301 .betterdocs-analytics-reporting-section {
302 background: linear-gradient(190deg, #DCF9FF -100%, #FFFFFF 100%);
303 padding : 64px 0;
304
305 .betterdocs-chatbot-section-header {
306 margin-bottom: 32px;
307
308 .betterdocs-section-title {
309 text-align : center;
310 margin-bottom: 8px;
311
312 .betterdocs-title-style {
313 margin-left : 7px;
314 background : linear-gradient(125deg, #3852FF 35%, #C891FC 68%, #FFCE9D 82%, #00DE9F 89%, #54B8FF 94%);
315 -webkit-background-clip: text;
316 -webkit-text-fill-color: transparent;
317 }
318 }
319
320 .betterdocs-section-sub-title {
321 text-align: center;
322 }
323
324 }
325
326 .betterdocs-chatbot-section-content {
327 position: relative;
328 overflow: hidden;
329
330 .betterdocs-slider-wrapper {
331 overflow: hidden;
332 width : 100%;
333 display : flex;
334
335 .slider-container {
336 max-width: 100%;
337 margin : 0 auto;
338 padding : 0;
339
340 }
341
342 .betterdocs-slider-item-wrapper {
343 padding: 0 12px;
344 }
345 .betterdocs-slider-item {
346 // min-width : 494px;
347 width : 100%;
348 flex-shrink : 0;
349 opacity : 1;
350 border-radius : 16px;
351 background-color: var(--text-color-970);
352 border : 1px solid var(--text-color-150);
353 .benefits-card-header-wrapper {
354 padding: 24px;
355
356 .betterdocs-section-sub-title {
357 font-size: 14px;
358 color : var(--text-color-850);
359 margin-top: 12px;
360 }
361 }
362 }
363 }
364
365 .slick-arrow {
366 position : absolute;
367 z-index : 99;
368 width : 64px;
369 height : 64px;
370 background-color: var(--base-background);
371 display : flex;
372 justify-content : center;
373 align-items : center;
374 border-radius : 50%;
375 border : none;
376 cursor : pointer;
377 box-shadow : 0px 12px 24px 0px rgba(0, 1, 35, 0.12);
378
379 @media (max-width: 600px) {
380 width : 35px;
381 height : 35px;
382 }
383 &::before {
384 content : '';
385 display : inline-block;
386 width : 24px;
387 height : 24px;
388 background-repeat : no-repeat;
389 background-size : contain;
390 background-position: center;
391 }
392
393 &.slick-prev {
394 left: 48px;
395
396 @media (max-width: 600px) {
397 left: 20px;
398 }
399
400 &::before {
401
402 background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 18L9 12L15 6' stroke='%2398A2B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
403
404 }
405 }
406
407 &.slick-next {
408 right: 48px;
409 @media (max-width: 600px) {
410 right: 20px;
411 }
412 &::before {
413
414 background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 6L15 12L9 18' stroke='%2398A2B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
415
416 }
417 }
418
419 &:hover {
420 svg path {
421 stroke: #344054;
422 }
423 }
424 }
425
426 }
427
428
429
430 }
431
432 // betterdocs-tour__section
433
434 .betterdocs-tour__section {
435 .betterdocs-chatbot-section-header {
436 .betterdocs-section-title {
437 text-align : center;
438 margin-bottom: 8px;
439
440 .betterdocs-title-style {
441 background : linear-gradient(125deg, #3852FF 10%, #C891FC 30%, #FFCE9D 55%, #00DE9F 75%, #54B8FF 82%);
442 -webkit-background-clip: text;
443 -webkit-text-fill-color: transparent;
444 }
445
446 }
447
448 .betterdocs-section-sub-title {
449 text-align: center;
450 }
451 }
452
453 .betterdocs-chatbot-section-content {
454 padding-top : 9px;
455 padding-bottom: 21px;
456
457 .betterdocs-tour-card {
458 padding: 7px;
459
460 @media (max-width: 1024px) {
461 display : flex;
462 flex-direction: row-reverse;
463 align-items : center;
464 }
465
466 @media (max-width: 600px) {
467 display : flex;
468 flex-direction: column;
469 margin-bottom : 20px;
470 }
471
472 .tour-card-img-wrapper {
473 margin-bottom: 20px;
474
475 img {
476 width : 100%;
477 height: auto;
478 }
479
480 @media (max-width: 1024px) {
481 width: 50%;
482 }
483
484 @media (max-width: 600px) {
485 width: 100%;
486
487 }
488 }
489
490
491 .tour-card-header-wrapper {
492 @media (max-width: 1024px) {
493 width: 50%;
494 }
495
496 @media (max-width: 600px) {
497 width: 100%;
498 }
499
500 .betterdocs-tour-card-header {
501 font-size : 18px;
502 font-weight: 600;
503 color : var(--text-color-900);
504 font-family: "IBM Plex Sans", sans-serif;
505 display : flex;
506 align-items: center;
507 gap : 12px;
508 line-height: 1.55;
509
510
511 .betterdocs-step-badge {
512 min-width : 40px;
513 min-height : 40px;
514 border-radius : 50%;
515 display : flex;
516 align-items : center;
517 justify-content : center;
518 font-weight : bold;
519 font-size : 18px;
520 font-family : "DM Sans", sans-serif;
521 color : #FFFFFF;
522 background-color: var(--base-color-700);
523 font-weight : 400;
524 }
525 }
526 }
527 }
528 }
529
530 }
531
532 // chatbot-promo-section
533 .betterdocs-chatbot-promo-section {
534 padding : 56px 75px;
535 background: linear-gradient(220.35deg, #DCF9FF -21%, #FFFFFF 50.57%);
536 position : relative;
537
538 @media (max-width: 1024px) {
539 padding: 30px;
540 }
541
542 &::after {
543 content : '';
544 position : absolute;
545 inset : 0;
546 background-image : url("data:image/svg+xml,%3Csvg width='649' height='469' viewBox='0 0 649 469' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_f_11660_69306)'%3E%3Ccircle cx='335' cy='335' r='135' fill='%23B6B4FF' /%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_f_11660_69306' x='0' y='0' width='670' height='670' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix' /%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape' /%3E%3CfeGaussianBlur stdDeviation='100' result='effect1_foregroundBlur_11660_69306' /%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
547 background-repeat : no-repeat;
548 background-position: bottom right;
549 z-index : 0;
550
551 @media (max-width: 1024px) {
552 display: none;
553 }
554 }
555
556 &::before {
557 content : '';
558 position : absolute;
559 background-image : url("data:image/svg+xml,%3Csvg width='432' height='441' viewBox='0 0 432 441' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_f_11660_69305)'%3E%3Ccircle cx='310.5' cy='130.5' r='110.5' fill='%2380F3AA'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_f_11660_69305' x='0' y='-180' width='621' height='621' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='100' result='effect1_foregroundBlur_11660_69305'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
560 background-repeat : no-repeat;
561 background-position: right top;
562 inset : 0;
563 z-index : 0;
564 @media (max-width: 600px) {
565 display: none;
566 }
567
568 }
569
570 .betterdocs-content-left {
571 padding : 10px;
572 max-width: 431px;
573 width : 100%;
574
575 .betterdocs-section-title {
576 margin-bottom: 16px;
577 line-height : 1.30;
578
579 .betterdocs-title-style {
580 display : block;
581 margin-right : 7px;
582 background : linear-gradient(90deg, #3852FF 15%, #C891FC 21%, #FFCE9D 57%, #00DE9F 70%, #54B8FF 82%);
583 -webkit-background-clip: text;
584 -webkit-text-fill-color: transparent;
585 }
586 }
587
588 .betterdocs-section-sub-title {
589 color : var(--text-color-600);
590 line-height: 1.66;
591 }
592
593 }
594
595 .betterdocs-content-right {
596 display : flex;
597 justify-content: flex-end;
598
599 @media (max-width: 600px) {
600 justify-content: flex-start;
601 }
602
603 .betterdocs-pricing-card {
604 max-width : 418px;
605 width : 100%;
606 background-color: var(--base-background);
607 border : 1px solid #DFE7F5;
608 border-radius : 8px;
609 z-index : 3;
610
611 @media (max-width: 1024px) {
612 max-width: 100%;
613 }
614
615
616 .betterdocs-pricing-card-content {
617 width : 100%;
618 padding : 29px 32px;
619 border-bottom: 1px solid #DFE7F5;
620
621 @media (max-width: 1024px) {
622 padding: 20px;
623 }
624
625 &:last-child {
626 border-bottom: none;
627 }
628
629 .card-name {
630 font-size : 20px;
631 font-family : "Inter", sans-serif;
632 font-weight : 500;
633 line-height : 1.30;
634 color : var(--text-color-700);
635 margin-bottom: 24px;
636 }
637
638 .betterdocs-price {
639 .price {
640 font-size : 28px;
641 font-family: "Inter", sans-serif;
642 font-weight: 600;
643 line-height: 1.30;
644 color : var(--text-color-900);
645 }
646 }
647
648 .form-data-name-control {
649 font-size : 14px;
650 font-family: "Inter", sans-serif;
651 font-weight: 400;
652 line-height: 1.30;
653 color : var(--text-color-700);
654 margin : 0 4px;
655 }
656
657 .betterdocs-price-toggle-switch {
658 gap : 9px;
659 margin-bottom: -7px;
660
661 .switch {
662 position: relative;
663 display : inline-block;
664 width : 42px;
665 height : 22px;
666
667 input {
668 opacity: 0;
669 width : 0;
670 height : 0;
671
672 &:checked+.slider {
673 background-color: #00B884;
674
675 &::before {
676 background-color: var(--base-background);
677 }
678 }
679
680 &:focus+.slider {
681 box-shadow: none;
682 }
683
684 &:checked+.slider:before {
685 -webkit-transform: translateX(20px);
686 -ms-transform : translateX(20px);
687 transform : translateX(20px);
688 }
689
690 }
691
692 .slider {
693 position : absolute;
694 cursor : pointer;
695 top : 0;
696 left : 0;
697 right : 0;
698 bottom : 0;
699 background-color : var(--base-background);
700 border : 1px solid #DFE7F5;
701 -webkit-transition: .4s;
702 transition : .4s;
703
704 &:before {
705 position: absolute;
706 content : "";
707 height : 14px;
708 width : 14px;
709 left : 3px;
710
711 top : 3px;
712 background-color : var(--base-color-700);
713 -webkit-transition: .4s;
714 transition : .4s;
715 }
716
717 &.round {
718 border-radius: 34px;
719
720 &:before {
721 border-radius: 50%;
722 }
723 }
724 }
725 }
726
727 }
728
729 .betterdocs-pricing-features-list {
730 .betterdocs-pricing-features-list-item {
731 display : flex;
732 align-items : center;
733 gap : 8px;
734 margin-bottom: 18px;
735 font-family : "Inter", sans-serif;
736 font-weight : 400;
737 color : var(--text-color-980);
738 list-style : none;
739 line-height : 1.40;
740
741 .betterdocs-features-list-svg-icon {
742 line-height: 0;
743 }
744
745 &:last-child {
746 margin-bottom: 0;
747 }
748
749 }
750 }
751
752 .betterdocs-pricing-card-btn {
753 width : 100%;
754 display : flex;
755 justify-content: center;
756 border-radius : 16px;
757 }
758
759 }
760 }
761 }
762 }
763 .betterdocs-dark-mode {
764 .betterdocs-benefits-chatbot-section {
765 background-image: none;
766 }
767 .betterdocs-analytics-reporting-section,
768 .betterdocs-chatbot-promo-section {
769 background: #0A0A0A;
770 }
771 }
772
773