PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.1 2.5.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 All 31 releases
bbp-core / assets / admin / scss / admin / layout / _header.scss

_header.scss in Forumax – AI Powered Advanced Community Forum Plugin 2.5.0, at assets/admin/scss/admin/layout/_header.scss

567 lines 10.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use "sass:color";
2
3 /*----------------------------------------*/
4 /* 02. Header Area
5 /*----------------------------------------*/
6 .easydocs-header-area {
7 padding-top: 40px;
8 padding-bottom: 50px;
9 padding-right: 40px;
10
11 .easydocs-row {
12 @include margin(mx, 0);
13 }
14 }
15
16 .navbar-left {
17 gap: var(--gutter-20);
18
19 .easydocs-btn {
20 --btn-icon: var(--frmx_brand_color);
21 --btn-py: 0.5rem;
22 --btn-px: 1rem;
23 --btn-fs: var(--fs-12);
24 font-weight: 500;
25 gap: 6px;
26 display: flex;
27 border: 1px solid var(--frmx_brand_color);
28 align-items: center;
29 text-decoration: none;
30 padding: 8px 15px;
31 border-radius: 6px;
32 color: var(--frmx_brand_color);
33
34 span.dashicons {
35 font-size: 14px;
36 margin-bottom: -4px;
37 }
38
39 @include hover {
40 --btn-icon: var(--clr-white);
41 background: var(--frmx_brand_color);
42 }
43 &:focus{
44 box-shadow: 0 0 0 0.4rem rgba(65, 65, 230, 0.5);
45 }
46 }
47 }
48
49 .easydocs-logo-area {
50 a {
51 text-decoration: none;
52 color: var(--clr-dark);
53 font-size: var(--fs-24);
54 font-weight: var(--fw-700);
55 }
56 }
57
58 :is(.easydocs-notification, .easydocs-settings) {
59
60 .header-notify-icon {
61 @include size(2.5rem);
62 line-height: 2.5rem;
63 border-radius: 50%;
64 background: rgba(#252733, 0.05);
65 text-align: center;
66 cursor: pointer;
67
68 &:hover {
69 background: rgb(37 39 51 / 9%);
70 }
71
72 svg {
73 position: relative;
74 top: 0.300rem;
75 }
76 }
77 }
78
79 .easydocs-notification {
80 margin-right: rem(27px);
81 position: relative;
82
83 .easydocs-badge {
84 @include absolute(top rem(-7px) right rem(-8px));
85 background: #FA3E3E;
86 color: var(--clr-white);
87 top: -0.4375rem;
88 right: -0.2rem;
89 position: absolute;
90 padding: 0 4px;
91 min-width: 18px;
92 max-width: 18px;
93 border-radius: 50%;
94 text-align: center;
95 font-size: 10px;
96 font-weight: 700;
97 line-height: 18px;
98 height: 16px;
99 display: inline-table;
100 font-family: 'Roboto';
101 }
102 }
103
104 .easydocs-settings {
105 .header-notify-icons {
106 a {
107 text-decoration: none;
108 padding-top: 5px;
109 display: inline-block;
110 }
111 }
112 }
113
114 :is(.knobs, .layer) {
115 @include absolute(inset 0);
116 }
117
118 .navbar-right .js-darkmode-btn {
119 .day svg {
120 color: #fff;
121 }
122
123 .night svg {
124 color: var(--clr-dark);
125 }
126 }
127
128 .body_dark {
129 .navbar-right .js-darkmode-btn {
130 .day svg {
131 --toggle-icon: #575766;
132 }
133
134 .night svg {
135 --toggle-icon: #fff;
136 }
137 }
138 }
139
140 .navbar-right {
141 display: flex;
142 align-items: center;
143 justify-content: flex-end;
144
145 > ul {
146 align-items: center;
147 gap: 8px;
148 }
149
150 .js-darkmode-btn {
151 display: flex;
152 align-items: center;
153 justify-content: space-between;
154 @include size(rem(80px), rem(40px));
155 position: relative;
156 background: rgba(#252733, 0.05);
157 padding: 0 10px;
158 color: #fff;
159 border-radius: 24px;
160 @include property;
161
162 .day svg {
163 --toggle-icon: #fff;
164 @include property;
165 margin-top: 7px;
166 }
167
168 .night svg {
169 --toggle-icon: #575766;
170 @include property;
171 margin-top: 7px;
172 }
173 }
174
175 .js-darkmode-btn label {
176 margin: 0;
177 cursor: pointer;
178 position: relative;
179 z-index: 2;
180 }
181
182 .js-darkmode-btn .ball {
183 height: 30px;
184 width: 30px;
185 position: absolute;
186 background-color: var(--frmx_brand_color);
187 border-radius: 50%;
188 left: 4px;
189 top: 50%;
190 transform: translateY(-50%);
191 cursor: default;
192 transition: all 0.3s linear 0s;
193 z-index: 1;
194 }
195
196 .js-darkmode-btn svg {
197 font-size: 16px;
198 transition: all 0.3s linear 0s;
199 }
200
201 .js-darkmode-btn input {
202 display: none;
203 }
204 }
205
206 .settings-pro-icon {
207 position: absolute;
208 right: 0px;
209 top: -5px;
210 }
211
212 .swal2-styled.swal2-confirm.upgrade-premium-button {
213 > a {
214 color: black;
215 font-weight: normal;
216 text-decoration: none;
217 }
218 }
219
220 .swal2-footer.notification-pro-footer-wrap {
221 > a {
222 text-decoration: none;
223 }
224 }
225
226 .notification-body {
227 .filter-button-group {
228 display: flex;
229 gap: 8px;
230 @include padding(px, var(--gutter-25));
231
232 svg {
233 top: 0;
234 }
235
236 .easydocs-btn {
237 --notification-icon: var(--clr-dark);
238 --btn-px: 1rem;
239 --btn-fs: var(--fs-14);
240 --btn-py: 0.4rem;
241 display: flex;
242 align-items: center;
243 gap: 1px;
244 --btn-bg: #e4e6eb;
245 --btn-clr: var(--clr-dark);
246 --btn-bc: transparent;
247
248 &.mixitup-control-active {
249 background-color: #e7f3ff;
250 color: #1877f2;
251 --notification-icon: #1877f2;
252
253 .dashicons-screenoptions:before {
254 color: #1877f2;
255 }
256
257 @include hover {
258 background-color: #d2e6f9;
259 }
260 }
261
262 @include hover {
263 --notification-icon: var(--clr-white);
264 background: #cdcdcd;
265 }
266 }
267 }
268 }
269
270 .notify-column {
271 max-height: rem(400px);
272 overflow-y: auto;
273 scrollbar-width: thin;
274
275 &::-webkit-scrollbar-track {
276 background-color: var(--clr-text-light);
277 }
278
279 &::-webkit-scrollbar {
280 width: 8px;
281 background-color: #F5F5F5;
282 }
283
284 &::-webkit-scrollbar-thumb {
285 background-color: var(--clr-text);
286 }
287
288 /* Notification updated css */
289 ul {
290 li {
291 border-bottom: 1px solid #f1f2f3;
292 margin-bottom: 0;
293
294 a {
295 text-decoration: none;
296 gap: 9px;
297 align-content: space-around;
298 padding: 10px;
299 box-sizing: border-box;
300
301 .notify-icon {
302 padding-top: 5px;
303 }
304
305 .notify-content-wrap {
306 width: -webkit-fill-available;
307
308 .notify-content-header {
309 color: hsl(210deg 8% 35%);
310 font-size: 12px;
311 .noti-type {
312 color: var(--black_800);
313 font-weight: 500;
314 }
315 }
316
317 .notify-content-summary {
318 p {
319 color: hsl(206deg 100% 40%);
320 font-size: 13px;
321 }
322 }
323 }
324
325 &:focus {
326 box-shadow: none;
327 }
328 }
329
330 &:hover {
331 background: hsl(210deg 8% 90%);
332 }
333
334 &:last-child {
335 border-bottom: none;
336 }
337 }
338 }
339 }
340
341 .notification-item {
342 display: flex;
343 align-items: flex-start;
344 cursor: pointer;
345 gap: var(--gutter-10);
346 padding: var(--gutter-10) 15px;
347 @include margin(mx, var(--gutter-10));
348 @include property;
349 border-radius: rem(5px);
350
351 .notification-image {
352 @include size(2.5rem);
353 border-radius: 50%;
354 position: relative;
355
356 .notify-badge {
357 @include absolute(bottom 0 right 0);
358 @include size(1.125rem);
359 line-height: 1.125rem;
360 border-radius: 50%;
361 text-align: center;
362
363 .dashicons {
364 top: 0;
365 }
366 }
367
368 .notify-badge-blue {
369 @include gradient(180deg, #22AAF1, #066BDA);
370
371 .dashicons {
372 font-size: 12px;
373 color: white;
374 padding-top: 2.5px;
375 }
376 }
377
378 .notify-badge-green {
379 @include gradient(180deg, #62D77E, #2BB64E);
380
381 .dashicons {
382 font-size: 12px;
383 color: white;
384 padding-top: 4px;
385 }
386 }
387 }
388
389 @include hover {
390 background: rgba(#4C4CF1, 0.05);
391 }
392 }
393
394 .notification-content {
395 .notify-name {
396 font-size: var(--fs-14);
397 font-weight: var(--fw-500);
398 color: var(--clr-dark);
399 padding-right: 0.5rem;
400 margin: 0;
401 line-height: 1;
402
403 a {
404 text-decoration: none;
405 }
406 }
407
408 .reply-text {
409 font-size: 14px;
410 color: var(--clr-text-light);
411 line-height: 1;
412 margin-top: 5px;
413 }
414 }
415
416 .notify-short-description {
417 font-size: var(--fs-14);
418 color: var(--clr-text);
419 line-height: 1;
420 margin-top: 0.325rem;
421 }
422
423 .notify-date {
424 text-align: left;
425 color: var(--clr-text-light);
426 line-height: 1;
427 margin-top: 0.375rem;
428 }
429
430 .eazydocs-no-content {
431 display: flex;
432 flex-direction: column;
433 align-items: center;
434 justify-content: center;
435 margin: 80px auto;
436 max-width: 600px;
437 background: #fff;
438 padding: 60px 40px;
439 border-radius: 16px;
440 box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
441 border: 1px solid #f3f4f6;
442 text-align: center;
443
444 img {
445 width: 140px;
446 max-width: 100%;
447 height: auto;
448 margin: 0 auto 24px;
449 filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
450 transition: transform 0.3s ease;
451
452 &:hover {
453 transform: scale(1.05);
454 }
455 }
456
457 .big-p {
458 font-size: 1.25rem;
459 color: #374151;
460 font-weight: 600;
461 margin-bottom: 32px;
462 line-height: 1.5;
463 }
464
465 .forumax-empty-actions {
466 display: flex;
467 align-items: center;
468 justify-content: center;
469 gap: 16px;
470 margin-top: 0;
471 width: 100%;
472
473 .ezd-btn {
474 display: inline-flex;
475 align-items: center;
476 justify-content: center;
477 padding: 12px 28px;
478 font-weight: 500;
479 border-radius: 10px;
480 transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
481 font-size: 0.95rem;
482 gap: 8px;
483
484 &.button-primary {
485 background: var(--frmx_brand_color);
486 color: white;
487 border: 1px solid transparent;
488 box-shadow: 0 4px 6px -1px rgba(76, 76, 241, 0.3), 0 2px 4px -1px rgba(76, 76, 241, 0.1);
489
490 &:hover {
491 background-color: color.adjust(#4C4CF1, $lightness: -5%, $space: hsl);
492 transform: translateY(-2px);
493 box-shadow: 0 10px 15px -3px rgba(76, 76, 241, 0.4), 0 4px 6px -2px rgba(76, 76, 241, 0.2);
494 }
495
496 &:active {
497 transform: translateY(0);
498 }
499 }
500
501 &.forumax-import-demo-btn {
502 &:hover {
503 transform: translateY(-2px);
504 box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3), 0 4px 6px -2px rgba(124, 58, 237, 0.2);
505 }
506 }
507
508 .dashicons {
509 font-size: 18px;
510 width: 18px;
511 height: 18px;
512 line-height: 1;
513 margin: 0;
514 }
515 }
516
517 .forumax-actions-separator {
518 color: #9ca3af;
519 font-weight: 500;
520 font-size: 0.9rem;
521 text-transform: uppercase;
522 letter-spacing: 0.05em;
523 }
524 }
525 }
526
527 .bbpc-trash-filter {
528 border-radius: 1.875rem;
529 margin-bottom: 0;
530 background-color: rgba(212, 23, 23, 0.1);
531 transition: all .3s;
532
533 &:hover {
534 background-color: rgba(212, 23, 23, 0.3);
535
536 a {
537 color: #c10000;
538 }
539 }
540
541 svg {
542 fill: rgba(212, 23, 23, 1);
543 }
544
545 a {
546 justify-content: center;
547 gap: 0.3125rem;
548 padding: 5px 15px;
549 font-size: 14px;
550 display: flex;
551 align-items: center;
552 color: rgba(212, 23, 23, 1);
553 text-decoration: none;
554 }
555
556 @media screen and ( max-width: 1440px ) {
557 .filter-label-trash{
558 display: none;
559 }
560 }
561 }
562
563 .bbpc-settings-icon {
564 background: rgba(0, 0, 255, 0.058);
565 padding: 10px;
566 border-radius: 50%;
567 }