PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.3
Forumax – AI Powered Advanced Community Forum Plugin v2.4.3
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
bbp-core / assets / admin / scss / bbpc-admin.scss

bbpc-admin.scss in Forumax – AI Powered Advanced Community Forum Plugin 2.4.3, at assets/admin/scss/bbpc-admin.scss

887 lines 17.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use "sass:color";
2
3 /** === Codestar options / Pro Alert === **/
4 .csf-field-image_select figure {
5 width: 100px;
6 border-radius: 10px;
7
8 img {
9 border-radius: 10px;
10 }
11 }
12
13 .csf-field .csf-title {
14 width: 30%;
15 }
16
17 .csf-field .csf-fieldset {
18 width: calc(70% - 25px);
19 }
20
21 .csf-nav.csf-nav-normal.csf-nav-options {
22 ul li a {
23 display: flex;
24 align-items: baseline;
25 }
26 }
27
28 /** === Codestar Fontawesome replaced with Dashicons === **/
29 .csf-field .chosen-container-single .chosen-single div b:before,
30 .csf-nav ul li .csf-arrow:after {
31 content: "\f347";
32 font-family: dashicons;
33 font-size: 12px;
34 }
35
36 .csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before {
37 content: "\f335" !important;
38 font-family: dashicons;
39 }
40
41 .csf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before {
42 content: "\f343";
43 font-family: dashicons;
44 }
45
46 .csf-cloneable-remove {
47 position: absolute;
48 top: -2px;
49 right: 15px;
50 color: #d63638 !important;
51 font-size: 16px !important;
52 text-decoration: none !important;
53 width: 69px !important;
54 height: 20px !important;
55 display: flex !important;
56 align-items: center;
57 justify-content: center;
58 z-index: 5;
59
60 &:before {
61 font-family: dashicons !important;
62 content: "\f182" !important;
63 /* dashicons-trash */
64 }
65
66 &:hover {
67 color: #b32d2e !important;
68 }
69 }
70
71 .csf-cloneable-title {
72 cursor: move;
73 }
74
75 body {
76 &.bbpc-no-pro {
77 .st-pro-notice {
78 &.csf-field {
79 position: relative;
80 cursor: pointer;
81
82 &::before {
83 content: "Pro";
84 background-color: #f1bd6c;
85 color: #000;
86 padding: 3px 10px;
87 border-radius: 3px;
88 margin-bottom: 10px;
89 }
90
91 &::after {
92 position: absolute;
93 content: "";
94 width: 100%;
95 height: 100%;
96 top: 0;
97 left: 0;
98 background-color: transparent;
99 z-index: 2;
100 }
101 }
102
103 .csf-fieldset,
104 .csf-title {
105 opacity: 0.5;
106 pointer-events: none;
107 }
108 }
109 }
110
111 &.bbpc-no-promax {
112 .st-promax-notice {
113 &.csf-field {
114 position: relative;
115 cursor: pointer;
116
117 &::before {
118 content: "ProMax";
119 background-color: #f1bd6c;
120 color: #000;
121 padding: 3px 10px;
122 border-radius: 3px;
123 margin-bottom: 10px;
124 }
125
126 &::after {
127 position: absolute;
128 content: "";
129 width: 100%;
130 height: 100%;
131 top: 0;
132 left: 0;
133 background-color: transparent;
134 z-index: 2;
135 }
136 }
137
138 .csf-fieldset,
139 .csf-title {
140 opacity: 0.5;
141 pointer-events: none;
142 }
143 }
144 }
145 }
146
147 .upgrade-link {
148 background-color: #f1bd6c;
149 color: #000;
150 padding: 2px 6px;
151 }
152
153 .swal2-styled.swal2-confirm.upgrade-premium-button {
154 background-color: #f1bd6c;
155 outline: none;
156 box-shadow: none !important;
157 }
158
159 .swal2-title.upgrade-premium-heading {
160 font-size: 24px;
161 font-weight: 500;
162 line-height: 32px;
163 margin-bottom: -15px;
164 }
165
166 .pro-notification-body-text {
167 font-size: 15px;
168 display: block;
169 margin-bottom: 25px;
170 }
171
172 .swal2-styled.swal2-confirm.upgrade-premium-button>a {
173 color: black;
174 font-weight: normal;
175 }
176
177 .swal2-footer.notification-pro-footer-wrap {
178 border-top: none;
179 margin: 8px 0px 0px;
180 padding: 0px;
181 }
182
183 .swal2-html-container {
184 line-height: 1.6;
185 }
186
187 #customize-controls .csf-field-image_select img {
188 width: 85px;
189 height: auto;
190 }
191
192 .notice.is-dismissible.bottom-10 {
193 padding-bottom: 15px;
194 }
195
196 .notice-warning.eaz-notice {
197 background: #ffffbe;
198 }
199
200 .header-notify-icon .notify-icon {
201 padding-top: 10px;
202 margin: auto;
203 }
204
205 .bbpc-core-main * {
206 box-sizing: border-box;
207 }
208
209 .forumax-main .forumax-intro {
210 font-size: 16px;
211 }
212
213 .bbpc-stat-cards {
214 display: flex;
215 gap: 30px;
216 }
217
218 .bbpc-stat-card {
219 background-color: #fff;
220 }
221
222 .bbpc-dashboard {
223 display: flex
224 }
225
226 .bbpc-panel {
227 width: 250px;
228 border-right: 1px solid #ccc;
229 margin-right: 20px;
230 }
231
232 .bbpc-logo {
233 margin-bottom: 50px;
234 }
235
236 .bbpc-stats {
237 flex-basis: 3;
238 }
239
240 .bbpc-heading {
241 margin-bottom: 60px;
242 }
243
244 .bbpc-card-heading h2 {
245 margin: 0;
246 background: #ddd;
247 padding: 10px;
248 line-height: 1;
249 }
250
251 /* Menu */
252 .bbpc-group-menu li a {
253 border: 1px solid #6831c1;
254 background: #6831c1;
255 color: #fff;
256 text-decoration: none;
257 box-sizing: border-box;
258 display: block;
259 font-size: 15px;
260 width: calc(100% - 20px);
261 padding: 10px 20px;
262 font-weight: 500;
263 letter-spacing: 0px;
264 }
265
266 .bbpc-card-data {
267 padding: 15px 25px;
268 }
269
270 .forum-info {
271 display: flex;
272 flex-wrap: wrap;
273 }
274
275 .forum-info li {
276 flex: 50%;
277 margin-bottom: 20px;
278 font-size: 14px;
279 border-bottom: 1px solid #ccc;
280 padding-bottom: 18px;
281 }
282
283 .forum-info li:last-child {
284 border-bottom: none;
285 padding-bottom: 0;
286 margin-bottom: 0;
287 }
288
289 #bbpc-forum {
290 transition: 0.3s all ease;
291 }
292
293 #bbpc-forum:hover {
294 color: var(--clr-white);
295 }
296
297 .bbpc-approve-btn {
298 margin-left: 10px;
299 margin-right: 3px;
300 border: 1px solid #2DB22D;
301 color: #2DB22D;
302 border-radius: 50%;
303 text-decoration: none;
304 width: 26px;
305 height: 26px;
306 display: flex;
307 align-items: center;
308 justify-content: center;
309
310 &:hover {
311 border: 1px solid #07a207;
312 color: #07a207;
313 }
314 }
315
316 .bbpc-filter-btn-settings {
317 .csf--sibling {
318 &.csf--active {
319 border: 1px solid #2DB22D;
320 background-color: #2DB22D;
321 }
322 }
323 }
324
325 /** === FS contents === **/
326 #fs_connect {
327
328 .fs-header .fs-plugin-icon,
329 .fs-header .fs-plugin-icon img {
330 height: auto;
331 }
332
333 .fs-content {
334 h2 {
335 font-size: 28px;
336 margin: 15px auto;
337 line-height: 1.2 !important;
338 }
339
340 p {
341 font-size: 16px !important;
342 text-align: center;
343 line-height: 1.7;
344 }
345 }
346
347 .fs-box-container {
348 border-radius: 15px;
349 }
350 }
351
352 /** === Notification & Mini profile CSS === **/
353 .csf-field-fieldset {
354 .csf-fieldset-content {
355
356 &[data-depend-id='bbpc_notification_location']='bbpc_notification_location'],
357 &[data-depend-id='bbpc_profile_location']='bbpc_profile_location'] {
358 >.csf-field {
359 width: 100%;
360 display: flex;
361
362 .csf-after-text {
363 font-size: 12px;
364 }
365
366 input {
367 width: 95%;
368 }
369
370 &.csf-field-select {
371 >.csf-fieldset {
372 display: flex;
373 gap: 10px;
374 }
375 }
376 }
377 }
378 }
379 }
380
381 #bbpc_forum_option_link,
382 #bbpc_topic_option_link {
383 text-decoration: none;
384 width: 220px;
385 background: #050505;
386 display: block;
387 color: rgba(255, 255, 255, 0.7019607843);
388 text-transform: uppercase;
389 padding-top: 100px;
390 padding-bottom: 100px;
391 text-align: center;
392 font-size: 16px;
393 font-weight: 700;
394 letter-spacing: 0.5px;
395 text-shadow: 2px 2px black;
396 float: left;
397 margin: 0 20px 0 0;
398 }
399
400 /** === Forumax Pro Upgrade Offer Notice === **/
401
402 // Variables - Premium Dark Theme with Vibrant Accents
403 $frmx-offer-primary: #1e1b4b; // Deep indigo
404 $frmx-offer-secondary: #312e81; // Rich purple
405 $frmx-offer-tertiary: #4338ca; // Bright indigo
406 $frmx-offer-accent: #fbbf24; // Golden yellow
407 $frmx-offer-accent-hover: #f59e0b;
408 $frmx-offer-success: #34d399; // Emerald
409 $frmx-offer-text: #ffffff;
410 $frmx-offer-text-muted: rgba(255, 255, 255, 0.75);
411
412 // Keyframe Animations
413 @keyframes frmx-shimmer {
414 0% { background-position: -200% 0; }
415 100% { background-position: 200% 0; }
416 }
417
418 @keyframes frmx-pulse {
419 0%, 100% { transform: scale(1); }
420 50% { transform: scale(1.05); }
421 }
422
423 @keyframes frmx-float {
424 0%, 100% { transform: translateY(0); }
425 50% { transform: translateY(-5px); }
426 }
427
428 @keyframes frmx-glow {
429 0%, 100% { opacity: 0.4; transform: scale(1); }
430 50% { opacity: 0.7; transform: scale(1.1); }
431 }
432
433 @keyframes frmx-rotate {
434 0% { transform: rotate(0deg); }
435 100% { transform: rotate(360deg); }
436 }
437
438 @keyframes frmx-morph {
439 0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
440 50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
441 }
442
443 // Main Notice Container
444 .frmx-offer-notice {
445 position: relative;
446 background: linear-gradient(135deg, $frmx-offer-primary 0%, $frmx-offer-secondary 40%, $frmx-offer-tertiary 100%);
447 border-radius: 16px;
448 padding: 28px 36px;
449 margin: 20px 20px 20px 0;
450 color: $frmx-offer-text;
451 box-shadow:
452 0 4px 6px -1px rgba(30, 27, 75, 0.4),
453 0 10px 15px -3px rgba(30, 27, 75, 0.3),
454 0 20px 25px -5px rgba(67, 56, 202, 0.2),
455 inset 0 1px 0 rgba(255, 255, 255, 0.1);
456 overflow: hidden;
457 opacity: 0;
458 transform: translateY(-10px);
459 transition: opacity 0.4s ease, transform 0.4s ease;
460 border: 1px solid rgba(255, 255, 255, 0.08);
461
462 &.frmx-offer-visible {
463 opacity: 1;
464 transform: translateY(0);
465 }
466
467 // Geometric Background Pattern
468 .frmx-offer-bg-pattern {
469 position: absolute;
470 top: 0;
471 left: 0;
472 right: 0;
473 bottom: 0;
474 background-image:
475 // Subtle grid pattern
476 linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
477 linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
478 // Radial glows
479 radial-gradient(ellipse at 10% 90%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
480 radial-gradient(ellipse at 90% 10%, rgba(99, 102, 241, 0.2) 0%, transparent 40%),
481 radial-gradient(ellipse at 50% 50%, rgba(67, 56, 202, 0.1) 0%, transparent 60%);
482 background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%;
483 pointer-events: none;
484 }
485
486 // Animated Glow Orbs
487 .frmx-offer-glow {
488 position: absolute;
489 pointer-events: none;
490
491 // Main golden glow (top right)
492 &::before {
493 content: '';
494 position: absolute;
495 top: -80px;
496 right: -40px;
497 width: 250px;
498 height: 250px;
499 background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, rgba(251, 191, 36, 0.1) 40%, transparent 70%);
500 animation: frmx-glow 4s ease-in-out infinite;
501 border-radius: 50%;
502 }
503
504 // Secondary purple orb (bottom left)
505 &::after {
506 content: '';
507 position: absolute;
508 bottom: -100px;
509 left: -60px;
510 width: 200px;
511 height: 200px;
512 background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
513 animation: frmx-glow 5s ease-in-out infinite reverse;
514 animation-delay: 1s;
515 border-radius: 50%;
516 }
517 }
518
519 // Action Buttons (Dismiss & Snooze)
520 .frmx-offer-actions {
521 position: absolute;
522 top: 16px;
523 right: 16px;
524 display: flex;
525 gap: 8px;
526 z-index: 10;
527 }
528
529 .frmx-offer-snooze,
530 .frmx-offer-dismiss {
531 display: flex;
532 align-items: center;
533 gap: 4px;
534 background: rgba(255, 255, 255, 0.15);
535 border: 1px solid rgba(255, 255, 255, 0.2);
536 border-radius: 6px;
537 padding: 6px 10px;
538 color: $frmx-offer-text;
539 cursor: pointer;
540 transition: all 0.2s ease;
541 font-size: 12px;
542
543 .dashicons {
544 font-size: 16px;
545 width: 16px;
546 height: 16px;
547 }
548
549 &:hover {
550 background: rgba(255, 255, 255, 0.25);
551 border-color: rgba(255, 255, 255, 0.4);
552 }
553 }
554
555 .frmx-offer-dismiss {
556 padding: 6px 8px;
557 }
558
559 // Container Layout
560 .frmx-offer-container {
561 position: relative;
562 display: grid;
563 grid-template-columns: 1fr 1.5fr auto;
564 gap: 32px;
565 align-items: center;
566 z-index: 5;
567 }
568
569 // Header Section
570 .frmx-offer-header {
571 .frmx-offer-badge {
572 display: inline-flex;
573 align-items: center;
574 gap: 6px;
575 background: rgba(245, 158, 11, 0.2);
576 border: 1px solid rgba(245, 158, 11, 0.4);
577 border-radius: 20px;
578 padding: 4px 12px;
579 font-size: 12px;
580 font-weight: 600;
581 margin-bottom: 12px;
582 animation: frmx-pulse 2s ease-in-out infinite;
583
584 .frmx-offer-badge-icon {
585 font-size: 14px;
586 }
587 }
588
589 .frmx-offer-headline {
590 font-size: 20px;
591 font-weight: 700;
592 margin: 0 0 8px 0;
593 line-height: 1.3;
594 color: $frmx-offer-text;
595 }
596
597 .frmx-offer-subheadline {
598 font-size: 14px;
599 color: $frmx-offer-text-muted;
600 margin: 0;
601 line-height: 1.5;
602 }
603 }
604
605 // Features Grid
606 .frmx-offer-features {
607 display: grid;
608 grid-template-columns: repeat(2, 1fr);
609 gap: 12px;
610 }
611
612 .frmx-offer-feature {
613 display: flex;
614 align-items: flex-start;
615 gap: 10px;
616 background: rgba(255, 255, 255, 0.1);
617 border-radius: 10px;
618 padding: 12px 14px;
619 transition: all 0.2s ease;
620
621 &:hover {
622 background: rgba(255, 255, 255, 0.15);
623 transform: translateY(-2px);
624 }
625
626 .dashicons {
627 font-size: 20px;
628 width: 20px;
629 height: 20px;
630 color: $frmx-offer-accent;
631 flex-shrink: 0;
632 margin-top: 2px;
633 }
634
635 .frmx-offer-feature-text {
636 display: flex;
637 flex-direction: column;
638 gap: 2px;
639
640 strong {
641 font-size: 13px;
642 font-weight: 600;
643 color: $frmx-offer-text;
644 }
645
646 span {
647 font-size: 11px;
648 color: $frmx-offer-text-muted;
649 }
650 }
651 }
652
653 // CTA Section
654 .frmx-offer-cta-section {
655 display: flex;
656 flex-direction: column;
657 align-items: center;
658 gap: 12px;
659 padding-left: 24px;
660 border-left: 1px solid rgba(255, 255, 255, 0.15);
661 }
662
663 // Discount Badge
664 .frmx-offer-discount {
665 display: flex;
666 align-items: baseline;
667 gap: 4px;
668 animation: frmx-float 3s ease-in-out infinite;
669
670 .frmx-offer-discount-value {
671 font-size: 42px;
672 font-weight: 800;
673 color: $frmx-offer-accent;
674 text-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
675 line-height: 1;
676 }
677
678 .frmx-offer-discount-label {
679 font-size: 18px;
680 font-weight: 700;
681 color: $frmx-offer-accent;
682 }
683 }
684
685 // Coupon Box
686 .frmx-offer-coupon {
687 text-align: center;
688
689 .frmx-offer-coupon-label {
690 display: block;
691 font-size: 11px;
692 color: $frmx-offer-text-muted;
693 margin-bottom: 6px;
694 }
695
696 .frmx-offer-coupon-box {
697 display: flex;
698 align-items: center;
699 gap: 6px;
700 background: rgba(255, 255, 255, 0.15);
701 border: 1px dashed rgba(255, 255, 255, 0.4);
702 border-radius: 8px;
703 padding: 6px 10px;
704 position: relative;
705 }
706
707 .frmx-offer-coupon-code {
708 font-family: 'SF Mono', 'Consolas', monospace;
709 font-size: 14px;
710 font-weight: 700;
711 color: $frmx-offer-text;
712 letter-spacing: 1px;
713 background: transparent;
714 padding: 0;
715 }
716
717 .frmx-offer-copy-btn {
718 display: flex;
719 align-items: center;
720 justify-content: center;
721 background: rgba(255, 255, 255, 0.2);
722 border: none;
723 border-radius: 4px;
724 padding: 4px;
725 cursor: pointer;
726 transition: all 0.2s ease;
727
728 .dashicons {
729 font-size: 14px;
730 width: 14px;
731 height: 14px;
732 color: $frmx-offer-text;
733 }
734
735 &:hover {
736 background: rgba(255, 255, 255, 0.3);
737 }
738
739 &.copied {
740 background: $frmx-offer-success;
741 }
742 }
743
744 .frmx-offer-copy-success {
745 position: absolute;
746 top: 100%;
747 left: 50%;
748 transform: translateX(-50%);
749 display: flex;
750 align-items: center;
751 gap: 4px;
752 background: $frmx-offer-success;
753 color: #fff;
754 font-size: 11px;
755 font-weight: 600;
756 padding: 4px 10px;
757 border-radius: 4px;
758 margin-top: 6px;
759 opacity: 0;
760 visibility: hidden;
761 transition: all 0.2s ease;
762 white-space: nowrap;
763
764 .dashicons {
765 font-size: 12px;
766 width: 12px;
767 height: 12px;
768 }
769
770 &.show {
771 opacity: 1;
772 visibility: visible;
773 }
774 }
775 }
776
777 // CTA Button
778 .frmx-offer-cta-btn {
779 display: inline-flex;
780 align-items: center;
781 gap: 8px;
782 background: linear-gradient(135deg, $frmx-offer-accent 0%, color.adjust($frmx-offer-accent, $lightness: -10%, $space: hsl) 100%);
783 color: #1f2937;
784 font-size: 14px;
785 font-weight: 700;
786 text-decoration: none;
787 padding: 12px 24px;
788 border-radius: 8px;
789 box-shadow:
790 0 4px 6px -1px rgba(245, 158, 11, 0.3),
791 0 2px 4px -1px rgba(245, 158, 11, 0.2);
792 transition: all 0.3s ease;
793 background-size: 200% 200%;
794 animation: frmx-shimmer 3s ease-in-out infinite;
795
796 .dashicons {
797 font-size: 16px;
798 width: 16px;
799 height: 16px;
800 transition: transform 0.2s ease;
801 }
802
803 &:hover {
804 transform: translateY(-2px);
805 box-shadow:
806 0 6px 10px -1px rgba(245, 158, 11, 0.4),
807 0 4px 6px -1px rgba(245, 158, 11, 0.3);
808 color: #1f2937;
809
810 .dashicons {
811 transform: translateX(3px);
812 }
813 }
814
815 &:active {
816 transform: translateY(0);
817 }
818 }
819
820 // Guarantee Text
821 .frmx-offer-guarantee {
822 display: flex;
823 align-items: center;
824 gap: 4px;
825 font-size: 11px;
826 color: $frmx-offer-text-muted;
827 margin: 0;
828
829 .dashicons {
830 font-size: 14px;
831 width: 14px;
832 height: 14px;
833 color: $frmx-offer-success;
834 }
835 }
836 }
837
838 // Responsive Design
839 @media (max-width: 1200px) {
840 .frmx-offer-notice {
841 .frmx-offer-container {
842 grid-template-columns: 1fr 1fr;
843 gap: 24px;
844 }
845
846 .frmx-offer-cta-section {
847 grid-column: 1 / -1;
848 flex-direction: row;
849 justify-content: center;
850 border-left: none;
851 border-top: 1px solid rgba(255, 255, 255, 0.15);
852 padding-left: 0;
853 padding-top: 20px;
854 }
855 }
856 }
857
858 @media (max-width: 782px) {
859 .frmx-offer-notice {
860 padding: 20px;
861 margin: 15px 10px 15px 0;
862
863 .frmx-offer-container {
864 grid-template-columns: 1fr;
865 text-align: center;
866 }
867
868 .frmx-offer-header {
869 .frmx-offer-badge {
870 justify-content: center;
871 }
872 }
873
874 .frmx-offer-features {
875 grid-template-columns: 1fr;
876 }
877
878 .frmx-offer-cta-section {
879 flex-direction: column;
880 padding-top: 16px;
881 }
882
883 .frmx-offer-snooze-text {
884 display: none;
885 }
886 }
887 }