PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.0
Forumax – AI Powered Advanced Community Forum Plugin v2.4.0
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 / frontend / scss / el-widgets / _forums.scss

_forums.scss in Forumax – AI Powered Advanced Community Forum Plugin 2.4.0, at assets/frontend/scss/el-widgets/_forums.scss

532 lines 9.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use "variables" as *;
2
3 // ============================================================
4 // Help Center Cards — Layout 3 / Gutenberg "help-center"
5 // ============================================================
6 .bbpc-hc-wrap {
7 .bbpc-hc-grid {
8 display: grid;
9 grid-template-columns: repeat(3, 1fr);
10 gap: 2px;
11 background: var(--black_90);
12 border: 1px solid var(--black_90);
13 border-radius: 20px;
14 overflow: hidden;
15 box-shadow: 0 8px 32px 0 rgba(2, 47, 57, 0.08);
16
17 @media (max-width: 991px) {
18 grid-template-columns: repeat(2, 1fr);
19 }
20
21 @media (max-width: 600px) {
22 grid-template-columns: 1fr;
23 }
24 }
25
26 .bbpc-hc-card {
27 background: var(--bs-white);
28 padding: 26px 24px;
29 display: flex;
30 gap: 18px;
31 align-items: flex-start;
32 text-decoration: none;
33 color: inherit;
34 border-radius: 14px;
35 position: relative;
36 transition: background 0.18s ease;
37
38 &:hover {
39 background: var(--black_25);
40 text-decoration: none;
41
42 .bbpc-hc-arrow {
43 opacity: 1;
44 transform: translateX(3px);
45 }
46 }
47 }
48
49 .bbpc-hc-icon {
50 flex-shrink: 0;
51 width: 48px;
52 height: 48px;
53 border-radius: 12px;
54 overflow: hidden;
55
56 img {
57 width: 100%;
58 height: 100%;
59 object-fit: cover;
60 display: block;
61 }
62 }
63
64 .bbpc-hc-body {
65 flex: 1;
66 min-width: 0;
67
68 .bbpc-hc-title {
69 margin: 0 0 4px;
70 font-size: 16px;
71 font-weight: 700;
72 line-height: 1.3;
73 letter-spacing: -0.01em;
74 color: var(--h_title);
75 }
76
77 .bbpc-hc-desc {
78 margin: 0;
79 font-size: 13.5px;
80 line-height: 1.5;
81 color: $p_color;
82 }
83
84 .bbpc-hc-count {
85 display: inline-block;
86 margin-top: 8px;
87 font-size: 11.5px;
88 font-weight: 600;
89 color: $brand_color;
90 letter-spacing: 0.02em;
91 text-decoration: none;
92 }
93 }
94
95 .bbpc-hc-arrow {
96 position: absolute;
97 top: 20px;
98 right: 20px;
99 font-size: 16px;
100 line-height: 1;
101 color: $black_300;
102 opacity: 0;
103 transition: opacity 0.2s ease, transform 0.2s ease;
104 }
105 }
106
107 body.body_dark .bbpc-hc-wrap {
108 .bbpc-hc-grid {
109 background: #2a2a2a;
110 border-color: #2a2a2a;
111 }
112
113 .bbpc-hc-card {
114 background: #1a1a1a;
115
116 &:hover { background: #222; }
117 }
118
119 .bbpc-hc-body {
120 .bbpc-hc-title { color: #fff; }
121 .bbpc-hc-desc { color: $black_400; }
122 }
123 }
124
125 // ============================================================
126 .communities-boxes {
127 display: flex;
128 flex-wrap: wrap;
129 margin: 0 -30px;
130 gap: 30px;
131
132 @media (max-width: 1025px) {
133 margin: 0 -10px;
134 }
135
136 @media(max-width: 992px) {
137 flex-wrap: wrap;
138 justify-content: center;
139 width: calc(100% + 30px);
140 }
141
142 @media(max-width: 420px) {
143 width: calc(100% + 15px);
144
145 }
146
147 .com-box {
148 text-align: center;
149 margin-bottom: 57px;
150 width: 20%;
151 flex: 0 0 200px;
152
153 @media(max-width: 1200px) {
154 flex: 0 0 165px;
155 }
156
157 @media(max-width: 991px) {
158 flex: 0 0 180px;
159 }
160
161 @media(max-width: 768px) {
162 flex: 0 0 185px;
163 }
164
165 @media(max-width: 426px) {
166 flex: 0 0 170px;
167 margin-bottom: 30px;
168 }
169
170 .icon-container {
171 border-radius: 6px;
172 background: var(--bs-white);
173 box-shadow: 0 40px 70px 0 rgba(2, 47, 57, 0.1);
174 display: flex;
175 align-items: center;
176 justify-content: center;
177 height: 100px;
178 width: 100px;
179 margin: 0 auto 20px;
180 }
181
182 .icon-container img {
183 width: 40px;
184 height: 40px;
185 object-fit: cover;
186 }
187
188 .com-box-content {
189 .title {
190 font-size: 20px;
191 line-height: 26px;
192 font-weight: 500;
193 color: var(--black_800);
194 margin-bottom: 5px;
195 transition: all 0.3s ease-in-out;
196 letter-spacing: normal;
197 margin-top: 10px;
198
199 a {
200 color: var(--black_800);
201
202 &:hover {
203 color: $brand_color;
204 text-decoration: none;
205 }
206 }
207
208 &:hover {
209 color: $brand_color;
210 }
211 }
212
213 .total-post {
214 color: $p_color;
215 font-size: 14px;
216 margin-top: 0;
217 }
218 }
219
220
221 }
222 }
223
224 .more-communities {
225 padding: 22px 0;
226 border-top: 1px solid #e8ecee;
227 border-bottom: 1px solid #e8ecee;
228 margin-top: 40px;
229
230 .collapse-wrap,
231 .forumax-collapse-wrap {
232 margin-top: 80px;
233 display: none;
234 }
235
236 .collapse-btn-wrap,
237 .forumax-collapse-btn-wrap {
238 text-align: center;
239 display: table;
240 color: var(--black_600);
241 font-weight: 500;
242 margin: auto;
243
244 &:hover {
245 text-decoration: none;
246 color: var(--black_800);
247 }
248
249 svg {
250 position: relative;
251 vertical-align: middle;
252 display: inline;
253 }
254
255 .icon_plus,
256 .icon_minus {
257
258 path,
259 line {
260 stroke: var(--bbpc_brand_color);
261 }
262 }
263
264 .icon_minus {
265 display: none;
266 }
267
268 &.active {
269 .icon_plus {
270 display: none;
271 }
272
273 .icon_minus {
274 display: initial;
275 }
276 }
277 }
278 }
279
280 body {
281 &.body_dark {
282 .communities-boxes {
283 .com-box {
284 .com-box-content {
285 .title {
286 a {
287 color: #fff;
288
289 &:hover {
290 color: var(--bbpc_brand_color);
291 }
292 }
293 }
294
295 .total-post {
296 color: #8b8b8b;
297 }
298 }
299 }
300 }
301
302 .more-communities {
303 border-color: #272727;
304 }
305
306 .single-forum-post-widget {
307 .post-info {
308 div {
309 color: #848d95;
310 }
311
312 .post-category {
313 a {
314 color: #848d95;
315
316 &:hover {
317 color: var(--bbpc_brand_color);
318 }
319 }
320 }
321 }
322 }
323
324 .community-area {
325 .nav-tabs {
326 .nav-item {
327 button {
328 &.active {
329 color: #fff;
330 }
331 }
332 }
333 }
334 }
335 }
336 }
337
338 /** === Widgets === **/
339 .widget_display_stats dl dt {
340 float: left;
341 clear: left;
342 margin: 0 0 10px;
343 font-weight: 500;
344 }
345
346 .widget_display_stats dl dd {
347 float: right;
348 margin: 0;
349 }
350
351 .widget_display_replies li:before {
352 font-family: eleganticons;
353 content: "w";
354 font-size: 15px !important;
355 margin: 0 12px 0 0 !important;
356 padding: 0px !important;
357 line-height: 23px;
358 }
359
360
361 .widget_display_topics li {
362 div {
363 color: var(--black_400);
364 }
365
366 &::before {
367 font-family: eleganticons;
368 content: "b";
369 margin: -3px 12px 0 0;
370 font-size: 15px;
371 color: var(--black_800);
372 position: absolute;
373 left: 0;
374 top: 0;
375 }
376 }
377
378 .widget_display_topics .bbp-forum-title,
379 .widget_display_replies .bbp-forum-title {
380 display: inline-block;
381 line-height: 1.36;
382 color: var(--black_900);
383 }
384
385 .widget_display_topics li {
386 padding-left: 30px;
387 }
388
389 .widget_display_topics li,
390 .widget_display_replies li {
391 position: relative;
392 margin-bottom: 10px;
393 padding-bottom: 10px;
394 border-bottom: 1px solid #e5e7e9;
395 font-size: 16px;
396
397 time {
398 color: var(--black_400);
399 display: block;
400 font-size: 14px;
401 }
402
403 div {
404 font-size: 14px;
405 }
406 }
407
408 .widget_display_topics li a,
409 .widget_display_replies li a {
410 color: var(--black_800);
411
412 .bbp-author-avatar {
413 img {
414 border-radius: 50px !important;
415 }
416 }
417 }
418
419 .widget_display_replies li {
420 .bbp-author-avatar {
421 margin-right: 5px;
422 }
423 }
424
425 .widget_display_topics li a:hover,
426 .widget_display_replies li a:hover {
427 color: var(--bbpc_brand_color);
428 }
429
430 .bbp-logged-in .avatar {
431 float: left;
432 margin: 0 15px 0 0;
433 border-radius: 99%;
434 }
435
436 .bbp-logged-in h4 {
437 font-weight: normal;
438 font-size: 18px;
439 clear: none;
440 margin: 0 0 5px;
441 }
442
443 .bbp-logged-in h4 a {
444 color: #333;
445 font-weight: 500;
446 }
447
448 .bbp-logged-in a.button.logout-link:hover,
449 .bbp-logged-in h4 a:hover {
450 color: var(--bbpc_brand_color);
451 }
452
453 .bbp-logged-in a.button.logout-link:hover,
454 .bbp-logged-in a.button.logout-link {
455 color: #666;
456 }
457
458 .forum-post-content .content img {
459 max-width: 100%;
460 height: auto;
461 }
462
463 ul.bbp-topics-widget.newness img {
464 border-radius: 50%;
465 margin: 5px;
466 }
467
468 .bbp-submit-wrapper {
469 float: left;
470 margin-top: 0;
471 }
472
473 .forum-post-content .forum-post-btm .taxonomy.forum-post-cat {
474 display: flex;
475 }
476
477 .bbp-topic-reply-link {
478 padding: 6px 20px;
479 font-weight: 400;
480 border-radius: 2px;
481 transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.18s ease-in-out;
482 background: #fff;
483 border: 1px solid #d0d8dc;
484 color: var(--black_800);
485 height: 26px;
486 font-size: 12px;
487 line-height: 26px;
488 }
489
490 .comment-content .bbp-topic-reply-link:hover {
491 background: #fff;
492 border: 1px solid var(--black_800);
493 color: var(--black_800);
494 }
495
496 .page-numbers {
497 cursor: pointer !important;
498 }
499
500 .pagination-wrapper .page-numbers.next {
501 display: flex;
502 align-items: center;
503 justify-content: center;
504 padding-bottom: 2px;
505 }
506
507 .post-header .support-total-info li a {
508 font-weight: 400;
509 }
510
511 .post-header .support-total-info li a {
512 color: #6b707f;
513 }
514
515 .post-header .support-total-info li a.open-data.loading {
516 color: var(--black_800);
517 font-weight: 500;
518 }
519
520 #tagList {
521 padding-left: 40px;
522 }
523
524 .userlist {
525 padding-left: 15px;
526 }
527
528 .post-header .category-menu .all-users a {
529 position: relative;
530 }
531
532