577e091b by Jeff Balicki

theme

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent b0b8c095
Showing 195 changed files with 1699 additions and 107 deletions
1 @charset "UTF-8"; 1 @charset "UTF-8";
2 @font-face {
3 font-family: "PT Sans", sans-serif;
4 font-weight: bold;
5 src: local("/../fonts/PTSans-Bold.ttf");
6 }
7 @font-face {
8 font-family: "PTSans-BoldItalic";
9 src: local("/../fonts/PTSans-BoldItalic.ttf");
10 }
11 @font-face {
12 font-family: "PTSans-Italic";
13 src: local("/../fonts/PTSans-Italic.ttf");
14 }
15 @font-face {
16 font-family: "PT Sans", sans-serif;
17 src: local("/../fonts/PTSans-Regular.ttf");
18 }
2 /*! 19 /*!
3 * Bootstrap v5.2.3 (https://getbootstrap.com/) 20 * Bootstrap v5.2.3 (https://getbootstrap.com/)
4 * Copyright 2011-2022 The Bootstrap Authors 21 * Copyright 2011-2022 The Bootstrap Authors
...@@ -29,7 +46,7 @@ ...@@ -29,7 +46,7 @@
29 --bs-gray-700: #495057; 46 --bs-gray-700: #495057;
30 --bs-gray-800: #343a40; 47 --bs-gray-800: #343a40;
31 --bs-gray-900: #212529; 48 --bs-gray-900: #212529;
32 --bs-primary: #5533ff; 49 --bs-primary: #000;
33 --bs-secondary: #6c757d; 50 --bs-secondary: #6c757d;
34 --bs-success: #198754; 51 --bs-success: #198754;
35 --bs-info: #0dcaf0; 52 --bs-info: #0dcaf0;
...@@ -37,7 +54,7 @@ ...@@ -37,7 +54,7 @@
37 --bs-danger: #dc3545; 54 --bs-danger: #dc3545;
38 --bs-light: #f8f9fa; 55 --bs-light: #f8f9fa;
39 --bs-dark: #212529; 56 --bs-dark: #212529;
40 --bs-primary-rgb: 85, 51, 255; 57 --bs-primary-rgb: 0, 0, 0;
41 --bs-secondary-rgb: 108, 117, 125; 58 --bs-secondary-rgb: 108, 117, 125;
42 --bs-success-rgb: 25, 135, 84; 59 --bs-success-rgb: 25, 135, 84;
43 --bs-info-rgb: 13, 202, 240; 60 --bs-info-rgb: 13, 202, 240;
...@@ -68,8 +85,8 @@ ...@@ -68,8 +85,8 @@
68 --bs-border-radius-xl: 1rem; 85 --bs-border-radius-xl: 1rem;
69 --bs-border-radius-2xl: 2rem; 86 --bs-border-radius-2xl: 2rem;
70 --bs-border-radius-pill: 50rem; 87 --bs-border-radius-pill: 50rem;
71 --bs-link-color: #5533ff; 88 --bs-link-color: #000;
72 --bs-link-hover-color: #4429cc; 89 --bs-link-hover-color: black;
73 --bs-code-color: #d63384; 90 --bs-code-color: #d63384;
74 --bs-highlight-bg: #fff3cd; 91 --bs-highlight-bg: #fff3cd;
75 } 92 }
...@@ -1813,13 +1830,13 @@ progress { ...@@ -1813,13 +1830,13 @@ progress {
1813 1830
1814 .table-primary { 1831 .table-primary {
1815 --bs-table-color: #000; 1832 --bs-table-color: #000;
1816 --bs-table-bg: #ddd6ff; 1833 --bs-table-bg: #cccccc;
1817 --bs-table-border-color: #c7c1e6; 1834 --bs-table-border-color: #b8b8b8;
1818 --bs-table-striped-bg: #d2cbf2; 1835 --bs-table-striped-bg: #c2c2c2;
1819 --bs-table-striped-color: #000; 1836 --bs-table-striped-color: #000;
1820 --bs-table-active-bg: #c7c1e6; 1837 --bs-table-active-bg: #b8b8b8;
1821 --bs-table-active-color: #000; 1838 --bs-table-active-color: #000;
1822 --bs-table-hover-bg: #ccc6ec; 1839 --bs-table-hover-bg: #bdbdbd;
1823 --bs-table-hover-color: #000; 1840 --bs-table-hover-color: #000;
1824 color: var(--bs-table-color); 1841 color: var(--bs-table-color);
1825 border-color: var(--bs-table-border-color); 1842 border-color: var(--bs-table-border-color);
...@@ -2076,9 +2093,9 @@ progress { ...@@ -2076,9 +2093,9 @@ progress {
2076 .wpcf7 textarea:focus { 2093 .wpcf7 textarea:focus {
2077 color: #212529; 2094 color: #212529;
2078 background-color: #fff; 2095 background-color: #fff;
2079 border-color: #aa99ff; 2096 border-color: gray;
2080 outline: 0; 2097 outline: 0;
2081 box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 2098 box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
2082 } 2099 }
2083 .form-control::-webkit-date-and-time-value, .wpcf7 .wpcf7-validation-errors::-webkit-date-and-time-value, .wpcf7 input[type=text]::-webkit-date-and-time-value, 2100 .form-control::-webkit-date-and-time-value, .wpcf7 .wpcf7-validation-errors::-webkit-date-and-time-value, .wpcf7 input[type=text]::-webkit-date-and-time-value,
2084 .wpcf7 input[type=search]::-webkit-date-and-time-value, 2101 .wpcf7 input[type=search]::-webkit-date-and-time-value,
...@@ -2326,9 +2343,9 @@ textarea.form-control-lg { ...@@ -2326,9 +2343,9 @@ textarea.form-control-lg {
2326 } 2343 }
2327 } 2344 }
2328 .form-select:focus { 2345 .form-select:focus {
2329 border-color: #aa99ff; 2346 border-color: gray;
2330 outline: 0; 2347 outline: 0;
2331 box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 2348 box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
2332 } 2349 }
2333 .form-select[multiple], .form-select[size]:not([size="1"]) { 2350 .form-select[multiple], .form-select[size]:not([size="1"]) {
2334 padding-right: 0.75rem; 2351 padding-right: 0.75rem;
...@@ -2406,13 +2423,13 @@ textarea.form-control-lg { ...@@ -2406,13 +2423,13 @@ textarea.form-control-lg {
2406 filter: brightness(90%); 2423 filter: brightness(90%);
2407 } 2424 }
2408 .form-check-input:focus { 2425 .form-check-input:focus {
2409 border-color: #aa99ff; 2426 border-color: gray;
2410 outline: 0; 2427 outline: 0;
2411 box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 2428 box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
2412 } 2429 }
2413 .form-check-input:checked { 2430 .form-check-input:checked {
2414 background-color: #5533ff; 2431 background-color: #000;
2415 border-color: #5533ff; 2432 border-color: #000;
2416 } 2433 }
2417 .form-check-input:checked[type=checkbox] { 2434 .form-check-input:checked[type=checkbox] {
2418 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); 2435 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
...@@ -2421,8 +2438,8 @@ textarea.form-control-lg { ...@@ -2421,8 +2438,8 @@ textarea.form-control-lg {
2421 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); 2438 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
2422 } 2439 }
2423 .form-check-input[type=checkbox]:indeterminate { 2440 .form-check-input[type=checkbox]:indeterminate {
2424 background-color: #5533ff; 2441 background-color: #000;
2425 border-color: #5533ff; 2442 border-color: #000;
2426 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e"); 2443 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
2427 } 2444 }
2428 .form-check-input:disabled { 2445 .form-check-input:disabled {
...@@ -2452,7 +2469,7 @@ textarea.form-control-lg { ...@@ -2452,7 +2469,7 @@ textarea.form-control-lg {
2452 } 2469 }
2453 } 2470 }
2454 .form-switch .form-check-input:focus { 2471 .form-switch .form-check-input:focus {
2455 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23aa99ff'/%3e%3c/svg%3e"); 2472 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='gray'/%3e%3c/svg%3e");
2456 } 2473 }
2457 .form-switch .form-check-input:checked { 2474 .form-switch .form-check-input:checked {
2458 background-position: right center; 2475 background-position: right center;
...@@ -2496,10 +2513,10 @@ textarea.form-control-lg { ...@@ -2496,10 +2513,10 @@ textarea.form-control-lg {
2496 outline: 0; 2513 outline: 0;
2497 } 2514 }
2498 .form-range:focus::-webkit-slider-thumb { 2515 .form-range:focus::-webkit-slider-thumb {
2499 box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 2516 box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
2500 } 2517 }
2501 .form-range:focus::-moz-range-thumb { 2518 .form-range:focus::-moz-range-thumb {
2502 box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 2519 box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
2503 } 2520 }
2504 .form-range::-moz-focus-outer { 2521 .form-range::-moz-focus-outer {
2505 border: 0; 2522 border: 0;
...@@ -2508,7 +2525,7 @@ textarea.form-control-lg { ...@@ -2508,7 +2525,7 @@ textarea.form-control-lg {
2508 width: 1rem; 2525 width: 1rem;
2509 height: 1rem; 2526 height: 1rem;
2510 margin-top: -0.25rem; 2527 margin-top: -0.25rem;
2511 background-color: #5533ff; 2528 background-color: #000;
2512 border: 0; 2529 border: 0;
2513 border-radius: 1rem; 2530 border-radius: 1rem;
2514 -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; 2531 -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
...@@ -2523,7 +2540,7 @@ textarea.form-control-lg { ...@@ -2523,7 +2540,7 @@ textarea.form-control-lg {
2523 } 2540 }
2524 } 2541 }
2525 .form-range::-webkit-slider-thumb:active { 2542 .form-range::-webkit-slider-thumb:active {
2526 background-color: #ccc2ff; 2543 background-color: #b3b3b3;
2527 } 2544 }
2528 .form-range::-webkit-slider-runnable-track { 2545 .form-range::-webkit-slider-runnable-track {
2529 width: 100%; 2546 width: 100%;
...@@ -2537,7 +2554,7 @@ textarea.form-control-lg { ...@@ -2537,7 +2554,7 @@ textarea.form-control-lg {
2537 .form-range::-moz-range-thumb { 2554 .form-range::-moz-range-thumb {
2538 width: 1rem; 2555 width: 1rem;
2539 height: 1rem; 2556 height: 1rem;
2540 background-color: #5533ff; 2557 background-color: #000;
2541 border: 0; 2558 border: 0;
2542 border-radius: 1rem; 2559 border-radius: 1rem;
2543 -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; 2560 -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
...@@ -2552,7 +2569,7 @@ textarea.form-control-lg { ...@@ -2552,7 +2569,7 @@ textarea.form-control-lg {
2552 } 2569 }
2553 } 2570 }
2554 .form-range::-moz-range-thumb:active { 2571 .form-range::-moz-range-thumb:active {
2555 background-color: #ccc2ff; 2572 background-color: #b3b3b3;
2556 } 2573 }
2557 .form-range::-moz-range-track { 2574 .form-range::-moz-range-track {
2558 width: 100%; 2575 width: 100%;
...@@ -3597,19 +3614,19 @@ textarea.form-control-lg { ...@@ -3597,19 +3614,19 @@ textarea.form-control-lg {
3597 3614
3598 .btn-primary { 3615 .btn-primary {
3599 --bs-btn-color: #fff; 3616 --bs-btn-color: #fff;
3600 --bs-btn-bg: #5533ff; 3617 --bs-btn-bg: #000;
3601 --bs-btn-border-color: #5533ff; 3618 --bs-btn-border-color: #000;
3602 --bs-btn-hover-color: #fff; 3619 --bs-btn-hover-color: #fff;
3603 --bs-btn-hover-bg: #482bd9; 3620 --bs-btn-hover-bg: black;
3604 --bs-btn-hover-border-color: #4429cc; 3621 --bs-btn-hover-border-color: black;
3605 --bs-btn-focus-shadow-rgb: 111, 82, 255; 3622 --bs-btn-focus-shadow-rgb: 38, 38, 38;
3606 --bs-btn-active-color: #fff; 3623 --bs-btn-active-color: #fff;
3607 --bs-btn-active-bg: #4429cc; 3624 --bs-btn-active-bg: black;
3608 --bs-btn-active-border-color: #4026bf; 3625 --bs-btn-active-border-color: black;
3609 --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); 3626 --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
3610 --bs-btn-disabled-color: #fff; 3627 --bs-btn-disabled-color: #fff;
3611 --bs-btn-disabled-bg: #5533ff; 3628 --bs-btn-disabled-bg: #000;
3612 --bs-btn-disabled-border-color: #5533ff; 3629 --bs-btn-disabled-border-color: #000;
3613 } 3630 }
3614 3631
3615 .btn-secondary { 3632 .btn-secondary {
...@@ -3732,19 +3749,19 @@ textarea.form-control-lg { ...@@ -3732,19 +3749,19 @@ textarea.form-control-lg {
3732 } 3749 }
3733 3750
3734 .btn-outline-primary, .wpcf7 input[type=submit] { 3751 .btn-outline-primary, .wpcf7 input[type=submit] {
3735 --bs-btn-color: #5533ff; 3752 --bs-btn-color: #000;
3736 --bs-btn-border-color: #5533ff; 3753 --bs-btn-border-color: #000;
3737 --bs-btn-hover-color: #fff; 3754 --bs-btn-hover-color: #fff;
3738 --bs-btn-hover-bg: #5533ff; 3755 --bs-btn-hover-bg: #000;
3739 --bs-btn-hover-border-color: #5533ff; 3756 --bs-btn-hover-border-color: #000;
3740 --bs-btn-focus-shadow-rgb: 85, 51, 255; 3757 --bs-btn-focus-shadow-rgb: 0, 0, 0;
3741 --bs-btn-active-color: #fff; 3758 --bs-btn-active-color: #fff;
3742 --bs-btn-active-bg: #5533ff; 3759 --bs-btn-active-bg: #000;
3743 --bs-btn-active-border-color: #5533ff; 3760 --bs-btn-active-border-color: #000;
3744 --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); 3761 --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
3745 --bs-btn-disabled-color: #5533ff; 3762 --bs-btn-disabled-color: #000;
3746 --bs-btn-disabled-bg: transparent; 3763 --bs-btn-disabled-bg: transparent;
3747 --bs-btn-disabled-border-color: #5533ff; 3764 --bs-btn-disabled-border-color: #000;
3748 --bs-gradient: none; 3765 --bs-gradient: none;
3749 } 3766 }
3750 3767
...@@ -3879,7 +3896,7 @@ textarea.form-control-lg { ...@@ -3879,7 +3896,7 @@ textarea.form-control-lg {
3879 --bs-btn-disabled-color: #6c757d; 3896 --bs-btn-disabled-color: #6c757d;
3880 --bs-btn-disabled-border-color: transparent; 3897 --bs-btn-disabled-border-color: transparent;
3881 --bs-btn-box-shadow: none; 3898 --bs-btn-box-shadow: none;
3882 --bs-btn-focus-shadow-rgb: 111, 82, 255; 3899 --bs-btn-focus-shadow-rgb: 38, 38, 38;
3883 text-decoration: underline; 3900 text-decoration: underline;
3884 } 3901 }
3885 .btn-link:focus-visible { 3902 .btn-link:focus-visible {
...@@ -3986,7 +4003,7 @@ textarea.form-control-lg { ...@@ -3986,7 +4003,7 @@ textarea.form-control-lg {
3986 --bs-dropdown-link-hover-color: #1e2125; 4003 --bs-dropdown-link-hover-color: #1e2125;
3987 --bs-dropdown-link-hover-bg: #e9ecef; 4004 --bs-dropdown-link-hover-bg: #e9ecef;
3988 --bs-dropdown-link-active-color: #fff; 4005 --bs-dropdown-link-active-color: #fff;
3989 --bs-dropdown-link-active-bg: #5533ff; 4006 --bs-dropdown-link-active-bg: #000;
3990 --bs-dropdown-link-disabled-color: #adb5bd; 4007 --bs-dropdown-link-disabled-color: #adb5bd;
3991 --bs-dropdown-item-padding-x: 1rem; 4008 --bs-dropdown-item-padding-x: 1rem;
3992 --bs-dropdown-item-padding-y: 0.25rem; 4009 --bs-dropdown-item-padding-y: 0.25rem;
...@@ -4251,7 +4268,7 @@ textarea.form-control-lg { ...@@ -4251,7 +4268,7 @@ textarea.form-control-lg {
4251 --bs-dropdown-divider-bg: var(--bs-border-color-translucent); 4268 --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
4252 --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15); 4269 --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
4253 --bs-dropdown-link-active-color: #fff; 4270 --bs-dropdown-link-active-color: #fff;
4254 --bs-dropdown-link-active-bg: #5533ff; 4271 --bs-dropdown-link-active-bg: #000;
4255 --bs-dropdown-link-disabled-color: #adb5bd; 4272 --bs-dropdown-link-disabled-color: #adb5bd;
4256 --bs-dropdown-header-color: #adb5bd; 4273 --bs-dropdown-header-color: #adb5bd;
4257 } 4274 }
...@@ -4488,7 +4505,7 @@ textarea.form-control-lg { ...@@ -4488,7 +4505,7 @@ textarea.form-control-lg {
4488 .nav-pills { 4505 .nav-pills {
4489 --bs-nav-pills-border-radius: 0.375rem; 4506 --bs-nav-pills-border-radius: 0.375rem;
4490 --bs-nav-pills-link-active-color: #fff; 4507 --bs-nav-pills-link-active-color: #fff;
4491 --bs-nav-pills-link-active-bg: #5533ff; 4508 --bs-nav-pills-link-active-bg: #000;
4492 } 4509 }
4493 .nav-pills .nav-link { 4510 .nav-pills .nav-link {
4494 background: none; 4511 background: none;
...@@ -5152,13 +5169,13 @@ textarea.form-control-lg { ...@@ -5152,13 +5169,13 @@ textarea.form-control-lg {
5152 --bs-accordion-btn-icon-width: 1.25rem; 5169 --bs-accordion-btn-icon-width: 1.25rem;
5153 --bs-accordion-btn-icon-transform: rotate(-180deg); 5170 --bs-accordion-btn-icon-transform: rotate(-180deg);
5154 --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out; 5171 --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
5155 --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234d2ee6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); 5172 --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
5156 --bs-accordion-btn-focus-border-color: #aa99ff; 5173 --bs-accordion-btn-focus-border-color: gray;
5157 --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 5174 --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
5158 --bs-accordion-body-padding-x: 1.25rem; 5175 --bs-accordion-body-padding-x: 1.25rem;
5159 --bs-accordion-body-padding-y: 1rem; 5176 --bs-accordion-body-padding-y: 1rem;
5160 --bs-accordion-active-color: #4d2ee6; 5177 --bs-accordion-active-color: black;
5161 --bs-accordion-active-bg: #eeebff; 5178 --bs-accordion-active-bg: #e6e6e6;
5162 } 5179 }
5163 5180
5164 .accordion-button { 5181 .accordion-button {
...@@ -5317,10 +5334,10 @@ textarea.form-control-lg { ...@@ -5317,10 +5334,10 @@ textarea.form-control-lg {
5317 --bs-pagination-hover-border-color: #dee2e6; 5334 --bs-pagination-hover-border-color: #dee2e6;
5318 --bs-pagination-focus-color: var(--bs-link-hover-color); 5335 --bs-pagination-focus-color: var(--bs-link-hover-color);
5319 --bs-pagination-focus-bg: #e9ecef; 5336 --bs-pagination-focus-bg: #e9ecef;
5320 --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 5337 --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
5321 --bs-pagination-active-color: #fff; 5338 --bs-pagination-active-color: #fff;
5322 --bs-pagination-active-bg: #5533ff; 5339 --bs-pagination-active-bg: #000;
5323 --bs-pagination-active-border-color: #5533ff; 5340 --bs-pagination-active-border-color: #000;
5324 --bs-pagination-disabled-color: #6c757d; 5341 --bs-pagination-disabled-color: #6c757d;
5325 --bs-pagination-disabled-bg: #fff; 5342 --bs-pagination-disabled-bg: #fff;
5326 --bs-pagination-disabled-border-color: #dee2e6; 5343 --bs-pagination-disabled-border-color: #dee2e6;
...@@ -5462,12 +5479,12 @@ textarea.form-control-lg { ...@@ -5462,12 +5479,12 @@ textarea.form-control-lg {
5462 } 5479 }
5463 5480
5464 .alert-primary { 5481 .alert-primary {
5465 --bs-alert-color: #331f99; 5482 --bs-alert-color: black;
5466 --bs-alert-bg: #ddd6ff; 5483 --bs-alert-bg: #cccccc;
5467 --bs-alert-border-color: #ccc2ff; 5484 --bs-alert-border-color: #b3b3b3;
5468 } 5485 }
5469 .alert-primary .alert-link { 5486 .alert-primary .alert-link {
5470 color: #29197a; 5487 color: black;
5471 } 5488 }
5472 5489
5473 .alert-secondary { 5490 .alert-secondary {
...@@ -5545,7 +5562,7 @@ textarea.form-control-lg { ...@@ -5545,7 +5562,7 @@ textarea.form-control-lg {
5545 --bs-progress-border-radius: 0.375rem; 5562 --bs-progress-border-radius: 0.375rem;
5546 --bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); 5563 --bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
5547 --bs-progress-bar-color: #fff; 5564 --bs-progress-bar-color: #fff;
5548 --bs-progress-bar-bg: #5533ff; 5565 --bs-progress-bar-bg: #000;
5549 --bs-progress-bar-transition: width 0.6s ease; 5566 --bs-progress-bar-transition: width 0.6s ease;
5550 display: flex; 5567 display: flex;
5551 height: var(--bs-progress-height); 5568 height: var(--bs-progress-height);
...@@ -5602,8 +5619,8 @@ textarea.form-control-lg { ...@@ -5602,8 +5619,8 @@ textarea.form-control-lg {
5602 --bs-list-group-disabled-color: #6c757d; 5619 --bs-list-group-disabled-color: #6c757d;
5603 --bs-list-group-disabled-bg: #fff; 5620 --bs-list-group-disabled-bg: #fff;
5604 --bs-list-group-active-color: #fff; 5621 --bs-list-group-active-color: #fff;
5605 --bs-list-group-active-bg: #5533ff; 5622 --bs-list-group-active-bg: #000;
5606 --bs-list-group-active-border-color: #5533ff; 5623 --bs-list-group-active-border-color: #000;
5607 display: flex; 5624 display: flex;
5608 flex-direction: column; 5625 flex-direction: column;
5609 padding-left: 0; 5626 padding-left: 0;
...@@ -5826,17 +5843,17 @@ textarea.form-control-lg { ...@@ -5826,17 +5843,17 @@ textarea.form-control-lg {
5826 } 5843 }
5827 5844
5828 .list-group-item-primary { 5845 .list-group-item-primary {
5829 color: #331f99; 5846 color: black;
5830 background-color: #ddd6ff; 5847 background-color: #cccccc;
5831 } 5848 }
5832 .list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { 5849 .list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
5833 color: #331f99; 5850 color: black;
5834 background-color: #c7c1e6; 5851 background-color: #b8b8b8;
5835 } 5852 }
5836 .list-group-item-primary.list-group-item-action.active { 5853 .list-group-item-primary.list-group-item-action.active {
5837 color: #fff; 5854 color: #fff;
5838 background-color: #331f99; 5855 background-color: black;
5839 border-color: #331f99; 5856 border-color: black;
5840 } 5857 }
5841 5858
5842 .list-group-item-secondary { 5859 .list-group-item-secondary {
...@@ -5955,7 +5972,7 @@ textarea.form-control-lg { ...@@ -5955,7 +5972,7 @@ textarea.form-control-lg {
5955 } 5972 }
5956 .btn-close:focus { 5973 .btn-close:focus {
5957 outline: 0; 5974 outline: 0;
5958 box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 5975 box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
5959 opacity: 1; 5976 opacity: 1;
5960 } 5977 }
5961 .btn-close:disabled, .btn-close.disabled { 5978 .btn-close:disabled, .btn-close.disabled {
...@@ -7462,7 +7479,7 @@ textarea.form-control-lg { ...@@ -7462,7 +7479,7 @@ textarea.form-control-lg {
7462 7479
7463 .text-bg-primary { 7480 .text-bg-primary {
7464 color: #fff !important; 7481 color: #fff !important;
7465 background-color: RGBA(85, 51, 255, var(--bs-bg-opacity, 1)) !important; 7482 background-color: RGBA(0, 0, 0, var(--bs-bg-opacity, 1)) !important;
7466 } 7483 }
7467 7484
7468 .text-bg-secondary { 7485 .text-bg-secondary {
...@@ -7501,10 +7518,10 @@ textarea.form-control-lg { ...@@ -7501,10 +7518,10 @@ textarea.form-control-lg {
7501 } 7518 }
7502 7519
7503 .link-primary { 7520 .link-primary {
7504 color: #5533ff !important; 7521 color: #000 !important;
7505 } 7522 }
7506 .link-primary:hover, .link-primary:focus { 7523 .link-primary:hover, .link-primary:focus {
7507 color: #4429cc !important; 7524 color: black !important;
7508 } 7525 }
7509 7526
7510 .link-secondary { 7527 .link-secondary {
...@@ -11714,9 +11731,9 @@ body { ...@@ -11714,9 +11731,9 @@ body {
11714 } 11731 }
11715 } 11732 }
11716 .widget_archive select:focus { 11733 .widget_archive select:focus {
11717 border-color: #aa99ff; 11734 border-color: gray;
11718 outline: 0; 11735 outline: 0;
11719 box-shadow: 0 0 0 0.25rem rgba(85, 51, 255, 0.25); 11736 box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
11720 } 11737 }
11721 .widget_archive select:-moz-focusring { 11738 .widget_archive select:-moz-focusring {
11722 color: transparent; 11739 color: transparent;
...@@ -11768,7 +11785,7 @@ a.skip-link:not(:focus):not(:focus-within) { ...@@ -11768,7 +11785,7 @@ a.skip-link:not(:focus):not(:focus-within) {
11768 .navbar-dark .navbar-nav .dropdown-menu .nav-link.active, .navbar-dark .navbar-nav .dropdown-menu .nav-link:active { 11785 .navbar-dark .navbar-nav .dropdown-menu .nav-link.active, .navbar-dark .navbar-nav .dropdown-menu .nav-link:active {
11769 color: #fff !important; 11786 color: #fff !important;
11770 text-decoration: none; 11787 text-decoration: none;
11771 background-color: #5533ff; 11788 background-color: #000;
11772 } 11789 }
11773 .navbar-dark .navbar-nav .dropdown-menu .nav-link.disabled, .navbar-dark .navbar-nav .dropdown-menu .nav-link:disabled { 11790 .navbar-dark .navbar-nav .dropdown-menu .nav-link.disabled, .navbar-dark .navbar-nav .dropdown-menu .nav-link:disabled {
11774 color: #adb5bd !important; 11791 color: #adb5bd !important;
...@@ -14964,6 +14981,199 @@ figure.woocommerce-product-gallery__wrapper { ...@@ -14964,6 +14981,199 @@ figure.woocommerce-product-gallery__wrapper {
14964 display: block; 14981 display: block;
14965 } 14982 }
14966 14983
14984 #wrapper-navbar {
14985 position: relative;
14986 top: 0;
14987 width: 100%;
14988 background: white;
14989 z-index: 9000;
14990 height: 158px;
14991 }
14992 #wrapper-navbar #navbarNavDropdown {
14993 width: 100%;
14994 }
14995 #wrapper-navbar #main-menu {
14996 width: 100%;
14997 justify-content: space-evenly;
14998 }
14999 #wrapper-navbar #main-menu > li:nth-child(n+2) .dropdown-menu {
15000 flex-flow: column wrap-reverse;
15001 margin-right: -5px;
15002 }
15003 #wrapper-navbar #main-menu > li:nth-child(n+2) .dropdown-shadow {
15004 padding: 0 5px !important;
15005 }
15006 #wrapper-navbar #main-menu > li:nth-child(n+2) .dropdown-item {
15007 padding-right: 1.625rem;
15008 padding-left: 0.875rem;
15009 }
15010 #wrapper-navbar .dropdown-toggle::after {
15011 display: inline-block;
15012 margin-left: 0.255em;
15013 vertical-align: 0.255em;
15014 content: "";
15015 border-top: 0.6em solid white;
15016 border-right: 0.6em solid transparent;
15017 border-bottom: 0;
15018 border-left: 0.6em solid transparent;
15019 bottom: -0.5rem;
15020 position: absolute;
15021 left: 50%;
15022 left: calc(50% - 0.5em);
15023 z-index: 999999;
15024 display: none;
15025 }
15026 #wrapper-navbar .dropdown-toggle.show::after {
15027 display: block;
15028 align-items: flex-start;
15029 justify-content: space-evenly;
15030 }
15031 #wrapper-navbar #main-nav {
15032 position: fixed;
15033 width: 100%;
15034 height: 158px;
15035 padding: 0;
15036 box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
15037 z-index: 991 !important;
15038 }
15039 #wrapper-navbar #main-nav .container {
15040 flex-direction: column;
15041 align-items: flex-start;
15042 }
15043 #wrapper-navbar #main-menu a {
15044 color: black;
15045 padding-top: 3.75rem;
15046 padding-right: 1rem;
15047 padding-left: 1rem;
15048 }
15049 #wrapper-navbar #main-menu li {
15050 display: flex;
15051 align-items: center;
15052 flex-direction: column;
15053 }
15054 #wrapper-navbar #main-menu > li {
15055 justify-content: flex-end;
15056 }
15057 #wrapper-navbar .dropdown-item {
15058 text-decoration: none;
15059 }
15060 #wrapper-navbar .dropdown-item:hover .title-before-short {
15061 text-decoration: underline;
15062 }
15063 #wrapper-navbar .title-before-short {
15064 margin: 0;
15065 color: black;
15066 text-decoration: none;
15067 white-space: break-spaces;
15068 }
15069 #wrapper-navbar .donate .title-before-short {
15070 color: white;
15071 }
15072 #wrapper-navbar .nav-link.donate-btn .title-before-short {
15073 color: white;
15074 }
15075 #wrapper-navbar .short {
15076 padding-top: 0;
15077 color: #4D4D4D;
15078 line-height: 1.2;
15079 padding-left: 0;
15080 padding-bottom: 0;
15081 white-space: normal;
15082 font-size: 0.75rem;
15083 margin-top: 0;
15084 }
15085 #wrapper-navbar .mi-image-container + .short {
15086 color: #000;
15087 }
15088 #wrapper-navbar .mi-image-container + .short:after {
15089 content: "";
15090 background-image: url(../img/more.svg);
15091 background-repeat: no-repeat;
15092 display: inline-block;
15093 height: 10px;
15094 width: 30px;
15095 display: block;
15096 margin-top: 0.563rem;
15097 }
15098 #wrapper-navbar .mi-image-container + .short.extern {
15099 position: relative;
15100 }
15101 #wrapper-navbar .mi-image-container + .short.extern:after {
15102 position: absolute;
15103 top: 0;
15104 right: 0;
15105 height: 20px;
15106 width: 20px;
15107 background-size: contain;
15108 background-image: url("data:image/svg+xml,%3Csvg id='Group_1558' data-name='Group 1558' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20.935' height='20.915' viewBox='0 0 20.935 20.915'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_151' data-name='Rectangle 151' width='20.935' height='20.915' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath id='Path_1277' data-name='Path 1277' d='M0 0V20.915H20.934V9.763h-2.56v8.6H2.58V2.517h8.383V0Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cg id='Group_1023' data-name='Group 1023' transform='translate(0 0)'%3E%3Cg id='Group_1022' data-name='Group 1022' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1278' data-name='Path 1278' d='M18.276 13.612 16.363 11.7l9.185-9.143H23V.016h6.913v6.9H27.374V4.478l-9.1 9.134' transform='translate(-8.975 -0.009)' fill='%231a1818'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
15109 }
15110 #wrapper-navbar .dropdown-shadow {
15111 background: #E5E5E5;
15112 box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
15113 position: absolute;
15114 top: 0;
15115 height: 14.25rem;
15116 z-index: -1;
15117 left: auto;
15118 margin-left: -15px;
15119 z-index: -1;
15120 padding: 0 15px;
15121 box-sizing: content-box;
15122 }
15123 #wrapper-navbar #main-menu .dropdown-menu {
15124 padding: 0;
15125 border: 0;
15126 margin: 0;
15127 padding-bottom: 1rem;
15128 background: none;
15129 border-radius: 0;
15130 height: 15.25rem;
15131 max-height: 15.25rem;
15132 min-height: 15.25rem;
15133 flex-direction: column;
15134 flex-wrap: wrap;
15135 left: auto;
15136 right: 0;
15137 }
15138 #wrapper-navbar #main-menu .dropdown-menu:before {
15139 content: "";
15140 width: 100%;
15141 height: 100%;
15142 position: absolute;
15143 top: -10px;
15144 padding-left: 150%;
15145 }
15146 #wrapper-navbar #main-menu .dropdown-menu > li {
15147 flex: 0;
15148 background: #e5e5e5;
15149 width: 16.25rem;
15150 min-width: 16.25rem;
15151 max-width: 16.25rem;
15152 }
15153 #wrapper-navbar #main-menu .dropdown-menu > li a {
15154 font-family: "PT Sans", sans-serif;
15155 }
15156 #wrapper-navbar #main-menu .dropdown-menu a {
15157 padding-top: 0.688rem;
15158 display: flex;
15159 flex-direction: column;
15160 z-index: 9;
15161 }
15162 #wrapper-navbar #main-menu .dropdown-menu.show {
15163 display: flex;
15164 flex-direction: column;
15165 flex-wrap: wrap;
15166 }
15167
15168 .site-title {
15169 font-size: 35px;
15170 line-height: 50px;
15171 font-family: "PT Sans", sans-serif;
15172 letter-spacing: 0px;
15173 color: #000000;
15174 text-transform: uppercase;
15175 }
15176
14967 .has-blue-color, 15177 .has-blue-color,
14968 .has-blue-color:visited { 15178 .has-blue-color:visited {
14969 color: #0d6efd; 15179 color: #0d6efd;
...@@ -15162,16 +15372,16 @@ figure.woocommerce-product-gallery__wrapper { ...@@ -15162,16 +15372,16 @@ figure.woocommerce-product-gallery__wrapper {
15162 15372
15163 .has-primary-color, 15373 .has-primary-color,
15164 .has-primary-color:visited { 15374 .has-primary-color:visited {
15165 color: #5533ff; 15375 color: #000;
15166 } 15376 }
15167 15377
15168 .has-primary-background-color { 15378 .has-primary-background-color {
15169 background-color: #5533ff; 15379 background-color: #000;
15170 border-color: #5533ff; 15380 border-color: #000;
15171 } 15381 }
15172 15382
15173 .wp-block-button:hover .wp-block-button__link.has-white-background-color.has-primary-color { 15383 .wp-block-button:hover .wp-block-button__link.has-white-background-color.has-primary-color {
15174 color: #5533ff; 15384 color: #000;
15175 } 15385 }
15176 15386
15177 .has-secondary-color, 15387 .has-secondary-color,
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 @charset "UTF-8"; 1 @charset "UTF-8";
2 @font-face {
3 font-family: "PT Sans", sans-serif;
4 font-weight: bold;
5 src: local("/../fonts/PTSans-Bold.ttf");
6 }
7 @font-face {
8 font-family: "PTSans-BoldItalic";
9 src: local("/../fonts/PTSans-BoldItalic.ttf");
10 }
11 @font-face {
12 font-family: "PTSans-Italic";
13 src: local("/../fonts/PTSans-Italic.ttf");
14 }
15 @font-face {
16 font-family: "PT Sans", sans-serif;
17 src: local("/../fonts/PTSans-Regular.ttf");
18 }
2 *, 19 *,
3 *::before, 20 *::before,
4 *::after { 21 *::after {
...@@ -430,7 +447,7 @@ progress { ...@@ -430,7 +447,7 @@ progress {
430 --bs-gray-700: #495057; 447 --bs-gray-700: #495057;
431 --bs-gray-800: #343a40; 448 --bs-gray-800: #343a40;
432 --bs-gray-900: #212529; 449 --bs-gray-900: #212529;
433 --bs-primary: #5533ff; 450 --bs-primary: #000;
434 --bs-secondary: #6c757d; 451 --bs-secondary: #6c757d;
435 --bs-success: #198754; 452 --bs-success: #198754;
436 --bs-info: #0dcaf0; 453 --bs-info: #0dcaf0;
...@@ -438,7 +455,7 @@ progress { ...@@ -438,7 +455,7 @@ progress {
438 --bs-danger: #dc3545; 455 --bs-danger: #dc3545;
439 --bs-light: #f8f9fa; 456 --bs-light: #f8f9fa;
440 --bs-dark: #212529; 457 --bs-dark: #212529;
441 --bs-primary-rgb: 85, 51, 255; 458 --bs-primary-rgb: 0, 0, 0;
442 --bs-secondary-rgb: 108, 117, 125; 459 --bs-secondary-rgb: 108, 117, 125;
443 --bs-success-rgb: 25, 135, 84; 460 --bs-success-rgb: 25, 135, 84;
444 --bs-info-rgb: 13, 202, 240; 461 --bs-info-rgb: 13, 202, 240;
...@@ -469,8 +486,8 @@ progress { ...@@ -469,8 +486,8 @@ progress {
469 --bs-border-radius-xl: 1rem; 486 --bs-border-radius-xl: 1rem;
470 --bs-border-radius-2xl: 2rem; 487 --bs-border-radius-2xl: 2rem;
471 --bs-border-radius-pill: 50rem; 488 --bs-border-radius-pill: 50rem;
472 --bs-link-color: #5533ff; 489 --bs-link-color: #000;
473 --bs-link-hover-color: #4429cc; 490 --bs-link-hover-color: black;
474 --bs-code-color: #d63384; 491 --bs-code-color: #d63384;
475 --bs-highlight-bg: #fff3cd; 492 --bs-highlight-bg: #fff3cd;
476 } 493 }
...@@ -553,13 +570,13 @@ progress { ...@@ -553,13 +570,13 @@ progress {
553 570
554 .table-primary { 571 .table-primary {
555 --bs-table-color: #000; 572 --bs-table-color: #000;
556 --bs-table-bg: #ddd6ff; 573 --bs-table-bg: #cccccc;
557 --bs-table-border-color: #c7c1e6; 574 --bs-table-border-color: #b8b8b8;
558 --bs-table-striped-bg: #d2cbf2; 575 --bs-table-striped-bg: #c2c2c2;
559 --bs-table-striped-color: #000; 576 --bs-table-striped-color: #000;
560 --bs-table-active-bg: #c7c1e6; 577 --bs-table-active-bg: #b8b8b8;
561 --bs-table-active-color: #000; 578 --bs-table-active-color: #000;
562 --bs-table-hover-bg: #ccc6ec; 579 --bs-table-hover-bg: #bdbdbd;
563 --bs-table-hover-color: #000; 580 --bs-table-hover-color: #000;
564 color: var(--bs-table-color); 581 color: var(--bs-table-color);
565 border-color: var(--bs-table-border-color); 582 border-color: var(--bs-table-border-color);
...@@ -870,7 +887,7 @@ progress { ...@@ -870,7 +887,7 @@ progress {
870 --bs-gray-700: #495057; 887 --bs-gray-700: #495057;
871 --bs-gray-800: #343a40; 888 --bs-gray-800: #343a40;
872 --bs-gray-900: #212529; 889 --bs-gray-900: #212529;
873 --bs-primary: #5533ff; 890 --bs-primary: #000;
874 --bs-secondary: #6c757d; 891 --bs-secondary: #6c757d;
875 --bs-success: #198754; 892 --bs-success: #198754;
876 --bs-info: #0dcaf0; 893 --bs-info: #0dcaf0;
...@@ -878,7 +895,7 @@ progress { ...@@ -878,7 +895,7 @@ progress {
878 --bs-danger: #dc3545; 895 --bs-danger: #dc3545;
879 --bs-light: #f8f9fa; 896 --bs-light: #f8f9fa;
880 --bs-dark: #212529; 897 --bs-dark: #212529;
881 --bs-primary-rgb: 85, 51, 255; 898 --bs-primary-rgb: 0, 0, 0;
882 --bs-secondary-rgb: 108, 117, 125; 899 --bs-secondary-rgb: 108, 117, 125;
883 --bs-success-rgb: 25, 135, 84; 900 --bs-success-rgb: 25, 135, 84;
884 --bs-info-rgb: 13, 202, 240; 901 --bs-info-rgb: 13, 202, 240;
...@@ -909,8 +926,8 @@ progress { ...@@ -909,8 +926,8 @@ progress {
909 --bs-border-radius-xl: 1rem; 926 --bs-border-radius-xl: 1rem;
910 --bs-border-radius-2xl: 2rem; 927 --bs-border-radius-2xl: 2rem;
911 --bs-border-radius-pill: 50rem; 928 --bs-border-radius-pill: 50rem;
912 --bs-link-color: #5533ff; 929 --bs-link-color: #000;
913 --bs-link-hover-color: #4429cc; 930 --bs-link-hover-color: black;
914 --bs-code-color: #d63384; 931 --bs-code-color: #d63384;
915 --bs-highlight-bg: #fff3cd; 932 --bs-highlight-bg: #fff3cd;
916 } 933 }
...@@ -923,7 +940,7 @@ progress { ...@@ -923,7 +940,7 @@ progress {
923 940
924 .text-bg-primary { 941 .text-bg-primary {
925 color: #fff !important; 942 color: #fff !important;
926 background-color: RGBA(85, 51, 255, var(--bs-bg-opacity, 1)) !important; 943 background-color: RGBA(0, 0, 0, var(--bs-bg-opacity, 1)) !important;
927 } 944 }
928 945
929 .text-bg-secondary { 946 .text-bg-secondary {
...@@ -962,10 +979,10 @@ progress { ...@@ -962,10 +979,10 @@ progress {
962 } 979 }
963 980
964 .link-primary { 981 .link-primary {
965 color: #5533ff !important; 982 color: #000 !important;
966 } 983 }
967 .link-primary:hover, .link-primary:focus { 984 .link-primary:hover, .link-primary:focus {
968 color: #4429cc !important; 985 color: black !important;
969 } 986 }
970 987
971 .link-secondary { 988 .link-secondary {
...@@ -5289,16 +5306,16 @@ progress { ...@@ -5289,16 +5306,16 @@ progress {
5289 5306
5290 .has-primary-color, 5307 .has-primary-color,
5291 .has-primary-color:visited { 5308 .has-primary-color:visited {
5292 color: #5533ff; 5309 color: #000;
5293 } 5310 }
5294 5311
5295 .has-primary-background-color { 5312 .has-primary-background-color {
5296 background-color: #5533ff; 5313 background-color: #000;
5297 border-color: #5533ff; 5314 border-color: #000;
5298 } 5315 }
5299 5316
5300 .wp-block-button:hover .wp-block-button__link.has-white-background-color.has-primary-color { 5317 .wp-block-button:hover .wp-block-button__link.has-white-background-color.has-primary-color {
5301 color: #5533ff; 5318 color: #000;
5302 } 5319 }
5303 5320
5304 .has-secondary-color, 5321 .has-secondary-color,
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
8 // Exit if accessed directly. 8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit; 9 defined( 'ABSPATH' ) || exit;
10 10
11 11 require_once __DIR__.'/vendor/autoload.php';
12 require_once __DIR__.'/inc/inc.php';
12 13
13 /** 14 /**
14 * Removes the parent themes stylesheet and scripts from inc/enqueue.php 15 * Removes the parent themes stylesheet and scripts from inc/enqueue.php
......
1 <?php
2 /**
3 * Header Navbar (bootstrap5)
4 *
5 * @package Understrap
6 * @since 1.1.0
7 */
8
9 // Exit if accessed directly.
10 defined( 'ABSPATH' ) || exit;
11
12 $container = get_theme_mod( 'understrap_container_type' );
13 ?>
14
15 <nav id="main-nav" class="navbar navbar-expand-md navbar-dark" aria-labelledby="main-nav-label">
16
17 <h2 id="main-nav-label" class="screen-reader-text">
18 <?php esc_html_e( 'Main Navigation', 'understrap' ); ?>
19 </h2>
20
21
22 <div class="<?php echo esc_attr( $container ); ?>">
23
24 <!-- Your site branding in the menu -->
25 <div class="branding">
26 <?php get_template_part( 'global-templates/navbar-branding' ); ?>
27 <span class="site-title">MSF CLIMATE HUB</span>
28 </div>
29 <button
30 class="navbar-toggler"
31 type="button"
32 data-bs-toggle="collapse"
33 data-bs-target="#navbarNavDropdown"
34 aria-controls="navbarNavDropdown"
35 aria-expanded="false"
36 aria-label="<?php esc_attr_e( 'Toggle navigation', 'understrap' ); ?>"
37 >
38 <span class="navbar-toggler-icon"></span>
39 </button>
40
41 <!-- The WordPress Menu goes here -->
42 <?php
43 wp_nav_menu(
44 array(
45 'theme_location' => 'primary',
46 'container_class' => 'collapse navbar-collapse',
47 'container_id' => 'navbarNavDropdown',
48 'menu_class' => 'navbar-nav ms-auto',
49 'fallback_cb' => '',
50 'menu_id' => 'main-menu',
51 'depth' => 2,
52 'walker' => new Understrap_WP_Bootstrap_Navwalker(),
53 )
54 );
55 ?>
56
57 </div><!-- .container(-fluid) -->
58
59 </nav><!-- #main-nav -->
1 <?php
2 /**
3 * Header Navbar (bootstrap5)
4 *
5 * @package Understrap
6 */
7
8 use AmpProject\Validator\Spec\Tag\P;
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 $container = get_theme_mod( 'understrap_container_type' );
14 ?>
15
16 <nav id="main-nav" class="navbar navbar-expand-md navbar-dark" aria-labelledby="main-nav-label">
17
18 <h2 id="main-nav-label" class="screen-reader-text">
19 <?php esc_html_e( 'Main Navigation', 'understrap' ); ?>
20 </h2>
21
22
23 <div class="<?php echo esc_attr( $container ); ?>">
24
25 <!-- Your site title as branding in the menu -->
26 <?php if ( ! has_custom_logo() ) { ?>
27
28 <?php if ( is_front_page() && is_home() ) : ?>
29
30 <h1 class="navbar-brand mb-0"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a></h1>
31
32 <?php else : ?>
33
34 <a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a>
35
36 <?php endif; ?>
37
38 <?php
39 } else {
40 ?>
41 <a href="/" class="navbar-brand custom-logo-link en-only" rel="home" aria-current="page"><img width="110" height="35" src="/wp-content/uploads/2023/04/msf.svg" class="img-fluid" alt="MSF New" decoding="async"></a>
42 <a href="/" class="navbar-brand custom-logo-link fr-only" rel="home" aria-current="page"><img width="110" height="35" src="/wp-content/uploads/2023/04/msf-fr.svg" class="img-fluid" alt="MSF New" decoding="async"></a>
43 <?php
44 }
45 ?>
46 <!-- end custom logo -->
47
48 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="<?php esc_attr_e( 'Toggle navigation', 'understrap' ); ?>">
49 <span class="navbar-toggler-icon"></span>
50 </button>
51
52 <!-- The WordPress Menu goes here -->
53 <?php
54
55
56 wp_nav_menu(
57 array(
58 'theme_location' => 'primary',
59 'container_class' => 'collapse navbar-collapse',
60 'container_id' => 'navbarNavDropdown',
61 'menu_class' => 'navbar-nav ms-auto',
62 'fallback_cb' => '',
63 'menu_id' => 'main-menu',
64 'depth' => 2,
65 'walker' => new Understrap_WP_Bootstrap_Navwalker(),
66 )
67 );
68 ?>
69
70 </div><!-- .container(-fluid) -->
71
72 </nav><!-- .site-navigation -->
1 <?php
2 /**
3 * The header for our theme
4 *
5 * Displays all of the <head> section and everything up till <div id="content">
6 *
7 * @package Understrap
8 */
9 // Exit if accessed directly.
10 defined( 'ABSPATH' ) || exit;
11
12 $bootstrap_version = get_theme_mod( 'understrap_bootstrap_version', 'bootstrap4' );
13 $navbar_type = get_theme_mod( 'understrap_navbar_type', 'collapse' );
14
15 ?>
16 <!DOCTYPE html>
17 <html <?php language_attributes(); ?>>
18 <head>
19
20
21
22
23 <!-- OneTrust Cookies Consent Notice end -->
24
25 <meta charset="<?php bloginfo( 'charset' ); ?>">
26
27 <link rel="shortcut icon" href="/wp-content/themes/msf-ca-child/favicon.ico">
28 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
29 <link rel="profile" href="http://gmpg.org/xfn/11">
30 <?php wp_head(); ?>
31 <link rel="preconnect" href="https://fonts.googleapis.com">
32 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
33 <link href="https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
34 </head>
35
36
37 <body <?php body_class($xtra_classes); ?> <?php understrap_body_attributes(); ?> data-scroll-offset="50">
38 <?php do_action( 'wp_body_open' ); ?>
39
40 <?= $alert_banner ?>
41
42
43 <div class="site" id="page">
44
45 <!-- ******************* The Navbar Area ******************* -->
46 <header id="wrapper-navbar">
47
48 <a class="skip-link sr-only sr-only-focusable" href="#content"><?php esc_html_e( 'Skip to content', 'understrap' ); ?></a>
49
50 <?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?>
51
52 </header><!-- #wrapper-navbar end -->
1 <?php
2 /**
3 * Generate breadcrumbs
4 * @author CodexWorld
5 * @authorURL www.codexworld.com
6 */
7
8
9 function get_breadcrumb() {
10 if ( function_exists( 'yoast_breadcrumb' ) ) {
11 ob_start();
12 yoast_breadcrumb( '<p id="breadcrumb" class="meta-info">', '</p>' );
13 $breadcrumb = trim( ob_get_clean() );
14
15 // if ( is_singular() )
16 // $breadcrumb = trim( preg_replace( '/ ' . WPSEO_Options::get( 'breadcrumbs-sep' ) . ' <span class="breadcrumb_last" aria-current="page">(.*)<\/span>/i', '',
17 // $breadcrumb ) );
18
19
20
21 $main_nav_items = wp_get_nav_menu_items('Main Menu');
22 $post_id = get_the_ID();
23
24 $parents = [];
25 $my_parent = null;
26
27 foreach($main_nav_items as $ni) {
28 if($ni->menu_item_parent == '0') {
29 $parents[$ni->ID] = $ni;
30 }
31 if($ni->object_id == $post_id) {
32 $my_parent = $ni->menu_item_parent;
33 }
34 $parent_postID = wp_get_post_parent_id($post_id);
35 if($ni->object_id == $parent_postID) {
36 $my_parent = $ni->menu_item_parent;
37 }
38 }
39
40
41 $bread = explode(' | ', $breadcrumb);
42
43 array_pop($bread);
44
45 // $new_bread[] = $bread[0];
46
47 // var_dump($bread[0]);exit;
48
49 $categories = get_the_terms(null, 'category');
50
51 if(is_array($categories)) {
52 foreach($categories as $cat) {
53 $parents_from_cat = get_field('parent_pages', $cat);
54 if($parents_from_cat) {
55 break;
56 }
57 }
58 }
59
60 if(get_locale() == 'fr_FR') {
61 $new_bread[] = "<p id='breadcrumb' class='meta-info'><span><span><a href='/'>Accueil</a></span>";
62 } else {
63 $new_bread[] = "<p id='breadcrumb' class='meta-info'><span><span><a href='/'>Home</a></span></span>";
64 }
65
66 if($parents_from_cat) {
67
68 foreach($parents_from_cat as $pcat) {
69
70 $parent_post = url_to_postid($pcat);
71 if($parent_post) {
72 $parent_post = get_post($parent_post);
73 $pcat_ansests = get_post_ancestors($parent_post);
74 if(is_array($pcat_ansests)) {
75 $pcat_ansests = array_reverse($pcat_ansests);
76 foreach($pcat_ansests as $ansestor) {
77 $ansestor_post = get_post($ansestor);
78 if($ansestor_post) {
79 $new_bread[] = "<span><a href='".get_permalink($ansestor)."'>".$ansestor_post->post_title."</a></span>";
80 }
81 }
82 }
83 $new_bread[] = "<span><a href='".get_permalink($parent_post->ID)."'>".$parent_post->post_title."</a></span>";
84 }
85
86 }
87
88 } else {
89
90 if(is_single()) {
91
92 $parent_post = get_field('latest_news_and_stories_page', 'option');
93
94 if($parent_post) {
95
96 // $parent_post = url_to_postid($parent_post);
97
98 // if($parent_post) {
99
100 $parent_post = get_post($parent_post);
101
102 if($parent_post) {
103
104 $new_bread[] = "<span><a href='".get_permalink($parent_post->ID)."'>".$parent_post->post_title."</a></span>";
105
106 }
107 // }
108 }
109
110 } else {
111
112 if(isset($parents[$my_parent])) {
113 $new_bread[] = "<span>".$parents[$my_parent]->post_title."</span>";
114 }
115
116
117 if(isset($bread[1])) {
118 $new_bread[] = $bread[1];
119 }
120
121 if(isset($bread[2])) {
122 $new_bread[] = $bread[2];
123 }
124
125 }
126
127
128 }
129
130 $breadcrumb = implode(' | ', $new_bread);
131
132 echo $breadcrumb;
133
134 ?>
135
136
137 <?php
138 }
139 }
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2 /**
3 * WP Bootstrap Navwalker
4 *
5 * @package WP-Bootstrap-Navwalker
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10
11 /*
12 * Class Name: WP_Bootstrap_Navwalker
13 * Plugin Name: WP Bootstrap Navwalker
14 * Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker
15 * Description: A custom WordPress nav walker class to implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.
16 * Author: Edward McIntyre - @twittem, WP Bootstrap, William Patton - @pattonwebz
17 * Version: 4.1.0
18 * Author URI: https://github.com/wp-bootstrap
19 * GitHub Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker
20 * GitHub Branch: master
21 * License: GPL-3.0+
22 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
23 */
24
25 /* Check if Class Exists. */
26 if ( ! class_exists( 'Understrap_WP_Bootstrap_Navwalker' ) ) {
27 /**
28 * WP_Bootstrap_Navwalker class.
29 *
30 * @extends Walker_Nav_Menu
31 */
32 class Understrap_WP_Bootstrap_Navwalker extends Walker_Nav_Menu {
33
34 private $curItem;
35
36 /**
37 * Starts the list before the elements are added.
38 *
39 * @since WP 3.0.0
40 *
41 * @see Walker_Nav_Menu::start_lvl()
42 *
43 * @param string $output Used to append additional content (passed by reference).
44 * @param int $depth Depth of menu item. Used for padding.
45 * @param stdClass $args An object of wp_nav_menu() arguments.
46 */
47 public function start_lvl( &$output, $depth = 0, $args = array() ) {
48 if ( isset( $args->item_spacing ) && 'discard' === $args->item_spacing ) {
49 $t = '';
50 $n = '';
51 } else {
52 $t = "\t";
53 $n = "\n";
54 }
55 $indent = str_repeat( $t, $depth );
56 // Default class to add to the file.
57 $classes = array( 'dropdown-menu' );
58 /**
59 * Filters the CSS class(es) applied to a menu list element.
60 *
61 * @since WP 4.8.0
62 *
63 * @param array $classes The CSS classes that are applied to the menu `<ul>` element.
64 * @param stdClass $args An object of `wp_nav_menu()` arguments.
65 * @param int $depth Depth of menu item. Used for padding.
66 */
67 $class_names = join( ' ', apply_filters( 'nav_menu_submenu_css_class', $classes, $args, $depth ) );
68 $class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
69 /**
70 * The `.dropdown-menu` container needs to have a labelledby
71 * attribute which points to it's trigger link.
72 *
73 * Form a string for the labelledby attribute from the the latest
74 * link with an id that was added to the $output.
75 */
76 $labelledby = '';
77 // find all links with an id in the output.
78 preg_match_all( '/(<a.*?id=\"|\')(.*?)\"|\'.*?>/im', $output, $matches );
79 // with pointer at end of array check if we got an ID match.
80 if ( end( $matches[2] ) ) {
81 // build a string to use as aria-labelledby.
82 $labelledby = 'aria-labelledby="' . end( $matches[2] ) . '"';
83 }
84 $output .= "{$n}{$indent}<ul$class_names $labelledby >{$n}";
85 }
86
87 /**
88 * Starts the element output.
89 *
90 * @since WP 3.0.0
91 * @since WP 4.4.0 The {@see 'nav_menu_item_args'} filter was added.
92 *
93 * @see Walker_Nav_Menu::start_el()
94 *
95 * @param string $output Used to append additional content (passed by reference).
96 * @param WP_Post $item Menu item data object.
97 * @param int $depth Depth of menu item. Used for padding.
98 * @param stdClass $args An object of wp_nav_menu() arguments.
99 * @param int $id Current item ID.
100 */
101 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
102 if ( isset( $args->item_spacing ) && 'discard' === $args->item_spacing ) {
103 $t = '';
104 $n = '';
105 } else {
106 $t = "\t";
107 $n = "\n";
108 }
109 $indent = ( $depth ) ? str_repeat( $t, $depth ) : '';
110
111 $classes = empty( $item->classes ) ? array() : (array) $item->classes;
112
113 // Initialize some holder variables to store specially handled item
114 // wrappers and icons.
115 $linkmod_classes = array();
116 $icon_classes = array();
117
118 /**
119 * Get an updated $classes array without linkmod or icon classes.
120 *
121 * NOTE: linkmod and icon class arrays are passed by reference and
122 * are maybe modified before being used later in this function.
123 */
124 $classes = self::seporate_linkmods_and_icons_from_classes( $classes, $linkmod_classes, $icon_classes, $depth );
125
126 // Join any icon classes plucked from $classes into a string.
127 $icon_class_string = join( ' ', $icon_classes );
128
129 /**
130 * Filters the arguments for a single nav menu item.
131 *
132 * WP 4.4.0
133 *
134 * @param stdClass $args An object of wp_nav_menu() arguments.
135 * @param WP_Post $item Menu item data object.
136 * @param int $depth Depth of menu item. Used for padding.
137 */
138 $args = apply_filters( 'nav_menu_item_args', $args, $item, $depth );
139
140 // Add .dropdown or .active classes where they are needed.
141 if ( isset( $args->has_children ) && $args->has_children ) {
142 $classes[] = 'dropdown';
143 }
144 if ( in_array( 'current-menu-item', $classes, true ) || in_array( 'current-menu-parent', $classes, true ) ) {
145 $classes[] = 'active';
146 }
147
148 // Add some additional default classes to the item.
149 $classes[] = 'menu-item-' . $item->ID;
150 $classes[] = 'nav-item';
151
152 // Allow filtering the classes.
153 $classes = apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args, $depth );
154
155 if(function_exists( 'get_field')) {
156 $break = get_field('break', $item->ID);
157
158 if($break) {
159 $classes[] = 'break-here';
160 }
161 }
162
163 // Form a string of classes in format: class="class_names".
164 $class_names = join( ' ', $classes );
165 $class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
166
167 /**
168 * Filters the ID applied to a menu item's list item element.
169 *
170 * @since WP 3.0.1
171 * @since WP 4.1.0 The `$depth` parameter was added.
172 *
173 * @param string $menu_id The ID that is applied to the menu item's `<li>` element.
174 * @param WP_Post $item The current menu item.
175 * @param stdClass $args An object of wp_nav_menu() arguments.
176 * @param int $depth Depth of menu item. Used for padding.
177 */
178 $id = apply_filters( 'nav_menu_item_id', 'menu-item-' . $item->ID, $item, $args, $depth );
179 $id = $id ? ' id="' . esc_attr( $id ) . '"' : '';
180
181 $output .= $indent . '<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement"' . $id . $class_names . '>';
182
183 // initialize array for holding the $atts for the link item.
184 $atts = array();
185
186 // Set title from item to the $atts array - if title is empty then
187 // default to item title.
188 if ( empty( $item->attr_title ) ) {
189 $atts['title'] = ! empty( $item->title ) ? strip_tags( $item->title ) : '';
190 } else {
191 $atts['title'] = $item->attr_title;
192 }
193
194 $atts['target'] = ! empty( $item->target ) ? $item->target : '';
195 if ( '_blank' === $item->target && empty( $item->xfn ) ) { // Thanks to LukaszJaro, see https://github.com/understrap/understrap/issues/973.
196 $atts['rel'] = 'noopener noreferrer';
197 } else {
198 $atts['rel'] = $item->xfn;
199 }
200
201 // If item has_children add atts to <a>.
202 if ( isset( $args->has_children ) && $args->has_children && 0 === $depth && 1 !== $args->depth ) {
203 $atts['href'] = '#';
204 $atts['data-toggle'] = 'dropdown';
205 $atts['data-bs-toggle'] = 'dropdown';
206 $atts['aria-haspopup'] = 'true';
207 $atts['aria-expanded'] = 'false';
208 $atts['class'] = 'dropdown-toggle nav-link';
209 $atts['id'] = 'menu-item-dropdown-' . $item->ID;
210 } else {
211 $atts['href'] = ! empty( $item->url ) ? $item->url : '#';
212 // Items in dropdowns use .dropdown-item instead of .nav-link.
213 if ( $depth > 0 ) {
214 $atts['class'] = 'dropdown-item';
215 } else {
216 $atts['class'] = 'nav-link';
217 }
218 }
219
220 $atts['aria-current'] = $item->current ? 'page' : '';
221
222 // update atts of this item based on any custom linkmod classes.
223 $atts = self::update_atts_for_linkmod_type( $atts, $linkmod_classes );
224 // Allow filtering of the $atts array before using it.
225 $atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args, $depth );
226
227 // Build a string of html containing all the atts for the item.
228 $attributes = '';
229 foreach ( $atts as $attr => $value ) {
230 if ( ! empty( $value ) ) {
231 $value = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value );
232 $attributes .= ' ' . $attr . '="' . $value . '"';
233 }
234 }
235
236 /**
237 * Set a typeflag to easily test if this is a linkmod or not.
238 */
239 $linkmod_type = self::get_linkmod_type( $linkmod_classes );
240
241 /**
242 * START appending the internal item contents to the output.
243 */
244 $item_output = isset( $args->before ) ? $args->before : '';
245 /**
246 * This is the start of the internal nav item. Depending on what
247 * kind of linkmod we have we may need different wrapper elements.
248 */
249 if ( '' !== $linkmod_type ) {
250 // is linkmod, output the required element opener.
251 $item_output .= self::linkmod_element_open( $linkmod_type, $attributes );
252 } else {
253 // With no link mod type set this must be a standard <a> tag.
254 $item_output .= '<a' . $attributes . '>';
255 }
256
257 $external_link = false;
258
259 /**
260 * Initiate empty icon var, then if we have a string containing any
261 * icon classes form the icon markup with an <i> element. This is
262 * output inside of the item before the $title (the link text).
263 */
264 $icon_html = '';
265 if ( ! empty( $icon_class_string ) ) {
266 // append an <i> with the icon classes to what is output before links.
267 $icon_html = '<i class="' . esc_attr( $icon_class_string ) . '" aria-hidden="true"></i> ';
268 }
269
270 /** This filter is documented in wp-includes/post-template.php */
271 $title = apply_filters( 'the_title', $item->title, $item->ID );
272
273 /**
274 * Filters a menu item's title.
275 *
276 * @since WP 4.4.0
277 *
278 * @param string $title The menu item's title.
279 * @param WP_Post $item The current menu item.
280 * @param stdClass $args An object of wp_nav_menu() arguments.
281 * @param int $depth Depth of menu item. Used for padding.
282 */
283 $title = apply_filters( 'nav_menu_item_title', $title, $item, $args, $depth );
284
285 /**
286 * If the .sr-only class was set apply to the nav items text only.
287 */
288 if ( in_array( 'sr-only', $linkmod_classes, true ) ) {
289 $title = self::wrap_for_screen_reader( $title );
290 $keys_to_unset = array_keys( $linkmod_classes, 'sr-only', true );
291 foreach ( $keys_to_unset as $k ) {
292 unset( $linkmod_classes[ $k ] );
293 }
294 }
295
296 $short = null;
297
298 if(function_exists( 'get_field')) {
299 $image = get_field('image', $item->ID);
300 $photo_from_src = get_field('image_from_source', $item->ID);
301
302 if($image) {
303 $item_output .= isset( $args->link_before ) ? $args->link_before . $icon_html . "<span class='mi-image-container'><img src='".$image['sizes']['medium']."' /></span>" . $args->link_after : '';
304 } else if($photo_from_src) {
305 $item_output .= isset( $args->link_before ) ? $args->link_before . $icon_html . "<span class='mi-image-container'><img src='".$photo_from_src."' /></span>" . $args->link_after : '';
306 } else {
307 $item_output .= isset( $args->link_before ) ? $args->link_before . $icon_html . "<span class='title-before-short'>".$title."</span>" . $args->link_after : '';
308 }
309
310 $short = get_field('short_menu_excerpt', $item->ID);
311 }
312
313 if($short) {
314 if($external_link) {
315 $item_output .= "<span class='short extern'>".$short."</span>";
316 } else {
317 $item_output .= "<span class='short'>".$short."</span>";
318 }
319 }
320
321 /**
322 * This is the end of the internal nav item. We need to close the
323 * correct element depending on the type of link or link mod.
324 */
325 if ( '' !== $linkmod_type ) {
326 // is linkmod, output the required element opener.
327 $item_output .= self::linkmod_element_close( $linkmod_type, $attributes );
328 } else {
329 // With no link mod type set this must be a standard <a> tag.
330 $item_output .= '</a>';
331 }
332
333 $item_output .= isset( $args->after ) ? $args->after : '';
334
335 /**
336 * END appending the internal item contents to the output.
337 */
338 $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
339
340 }
341
342 /**
343 * Traverse elements to create list from elements.
344 *
345 * Display one element if the element doesn't have any children otherwise,
346 * display the element and its children. Will only traverse up to the max
347 * depth and no ignore elements under that depth. It is possible to set the
348 * max depth to include all depths, see walk() method.
349 *
350 * This method should not be called directly, use the walk() method instead.
351 *
352 * @since WP 2.5.0
353 *
354 * @see Walker::start_lvl()
355 *
356 * @param object $element Data object.
357 * @param array $children_elements List of elements to continue traversing (passed by reference).
358 * @param int $max_depth Max depth to traverse.
359 * @param int $depth Depth of current element.
360 * @param array $args An array of arguments.
361 * @param string $output Used to append additional content (passed by reference).
362 */
363 public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
364 if ( ! $element ) {
365 return; }
366 $id_field = $this->db_fields['id'];
367 // Display this element.
368 if ( is_object( $args[0] ) ) {
369 $args[0]->has_children = ! empty( $children_elements[ $element->$id_field ] ); }
370 parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
371 }
372
373 /**
374 * Menu Fallback
375 * =============
376 * If this function is assigned to the wp_nav_menu's fallback_cb variable
377 * and a menu has not been assigned to the theme location in the WordPress
378 * menu manager the function with display nothing to a non-logged in user,
379 * and will add a link to the WordPress menu manager if logged in as an admin.
380 *
381 * @param array $args passed from the wp_nav_menu function.
382 */
383 public static function fallback( $args ) {
384 if ( current_user_can( 'edit_theme_options' ) ) {
385
386 /* Get Arguments. */
387 $container = $args['container'];
388 $container_id = $args['container_id'];
389 $container_class = $args['container_class'];
390 $menu_class = $args['menu_class'];
391 $menu_id = $args['menu_id'];
392
393 // initialize var to store fallback html.
394 $fallback_output = '';
395
396 if ( $container ) {
397 $fallback_output .= '<' . esc_attr( $container );
398 if ( $container_id ) {
399 $fallback_output .= ' id="' . esc_attr( $container_id ) . '"';
400 }
401 if ( $container_class ) {
402 $fallback_output .= ' class="' . esc_attr( $container_class ) . '"';
403 }
404 $fallback_output .= '>';
405 }
406 $fallback_output .= '<ul';
407 if ( $menu_id ) {
408 $fallback_output .= ' id="' . esc_attr( $menu_id ) . '"'; }
409 if ( $menu_class ) {
410 $fallback_output .= ' class="' . esc_attr( $menu_class ) . '"'; }
411 $fallback_output .= '>';
412 $fallback_output .= '<li><a href="' . esc_url( admin_url( 'nav-menus.php' ) ) . '" title="' . esc_attr__( 'Add a menu', 'understrap' ) . '">' . esc_html__( 'Add a menu', 'understrap' ) . '</a></li>';
413 $fallback_output .= '</ul>';
414 if ( $container ) {
415 $fallback_output .= '</' . esc_attr( $container ) . '>';
416 }
417
418 // if $args has 'echo' key and it's true echo, otherwise return.
419 if ( array_key_exists( 'echo', $args ) && $args['echo'] ) {
420 echo $fallback_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
421 } else {
422 return $fallback_output;
423 }
424 }
425 }
426
427 /**
428 * Find any custom linkmod or icon classes and store in their holder
429 * arrays then remove them from the main classes array.
430 *
431 * Supported linkmods: .disabled, .dropdown-header, .dropdown-divider, .sr-only
432 * Supported iconsets: Font Awesome 4/5, Glypicons
433 *
434 * NOTE: This accepts the linkmod and icon arrays by reference.
435 *
436 * @since 4.0.0
437 *
438 * @param array $classes an array of classes currently assigned to the item.
439 * @param array $linkmod_classes an array to hold linkmod classes.
440 * @param array $icon_classes an array to hold icon classes.
441 * @param integer $depth an integer holding current depth level.
442 *
443 * @return array $classes a maybe modified array of classnames.
444 */
445 private function seporate_linkmods_and_icons_from_classes( $classes, &$linkmod_classes, &$icon_classes, $depth ) {
446 // Loop through $classes array to find linkmod or icon classes.
447 foreach ( $classes as $key => $class ) {
448 // If any special classes are found, store the class in it's
449 // holder array and and unset the item from $classes.
450 if ( preg_match( '/^disabled|^sr-only/i', $class ) ) {
451 // Test for .disabled or .sr-only classes.
452 $linkmod_classes[] = $class;
453 unset( $classes[ $key ] );
454 } elseif ( preg_match( '/^dropdown-header|^dropdown-divider|^dropdown-item-text/i', $class ) && $depth > 0 ) {
455 // Test for .dropdown-header or .dropdown-divider and a
456 // depth greater than 0 - IE inside a dropdown.
457 $linkmod_classes[] = $class;
458 unset( $classes[ $key ] );
459 } elseif ( preg_match( '/^fa-(\S*)?|^fa(s|r|l|b)?(\s?)?$/i', $class ) ) {
460 // Font Awesome.
461 $icon_classes[] = $class;
462 unset( $classes[ $key ] );
463 } elseif ( preg_match( '/^glyphicon-(\S*)?|^glyphicon(\s?)$/i', $class ) ) {
464 // Glyphicons.
465 $icon_classes[] = $class;
466 unset( $classes[ $key ] );
467 }
468 }
469
470 return $classes;
471 }
472
473 /**
474 * Return a string containing a linkmod type and update $atts array
475 * accordingly depending on the decided.
476 *
477 * @since 4.0.0
478 *
479 * @param array $linkmod_classes array of any link modifier classes.
480 *
481 * @return string empty for default, a linkmod type string otherwise.
482 */
483 private function get_linkmod_type( $linkmod_classes = array() ) {
484 $linkmod_type = '';
485 // Loop through array of linkmod classes to handle their $atts.
486 if ( ! empty( $linkmod_classes ) ) {
487 foreach ( $linkmod_classes as $link_class ) {
488 if ( ! empty( $link_class ) ) {
489
490 // check for special class types and set a flag for them.
491 if ( 'dropdown-header' === $link_class ) {
492 $linkmod_type = 'dropdown-header';
493 } elseif ( 'dropdown-divider' === $link_class ) {
494 $linkmod_type = 'dropdown-divider';
495 } elseif ( 'dropdown-item-text' === $link_class ) {
496 $linkmod_type = 'dropdown-item-text';
497 }
498 }
499 }
500 }
501 return $linkmod_type;
502 }
503
504 /**
505 * Update the attributes of a nav item depending on the limkmod classes.
506 *
507 * @since 4.0.0
508 *
509 * @param array $atts array of atts for the current link in nav item.
510 * @param array $linkmod_classes an array of classes that modify link or nav item behaviors or displays.
511 *
512 * @return array maybe updated array of attributes for item.
513 */
514 private function update_atts_for_linkmod_type( $atts = array(), $linkmod_classes = array() ) {
515 if ( ! empty( $linkmod_classes ) ) {
516 foreach ( $linkmod_classes as $link_class ) {
517 if ( ! empty( $link_class ) ) {
518 // update $atts with a space and the extra classname...
519 // so long as it's not a sr-only class.
520 if ( 'sr-only' !== $link_class ) {
521 $atts['class'] .= ' ' . esc_attr( $link_class );
522 }
523 // check for special class types we need additional handling for.
524 if ( 'disabled' === $link_class ) {
525 // Convert link to '#' and unset open targets.
526 $atts['href'] = '#';
527 unset( $atts['target'] );
528 } elseif ( 'dropdown-header' === $link_class || 'dropdown-divider' === $link_class || 'dropdown-item-text' === $link_class ) {
529 // Store a type flag and unset href and target.
530 unset( $atts['href'] );
531 unset( $atts['target'] );
532 }
533 }
534 }
535 }
536 return $atts;
537 }
538
539 /**
540 * Wraps the passed text in a screen reader only class.
541 *
542 * @since 4.0.0
543 *
544 * @param string $text the string of text to be wrapped in a screen reader class.
545 * @return string the string wrapped in a span with the class.
546 */
547 private function wrap_for_screen_reader( $text = '' ) {
548 if ( $text ) {
549 $text = '<span class="screen-reader-text">' . $text . '</span>';
550 }
551 return $text;
552 }
553
554 /**
555 * Returns the correct opening element and attributes for a linkmod.
556 *
557 * @since 4.0.0
558 *
559 * @param string $linkmod_type a sting containing a linkmod type flag.
560 * @param string $attributes a string of attributes to add to the element.
561 *
562 * @return string a string with the openign tag for the element with attribibutes added.
563 */
564 private function linkmod_element_open( $linkmod_type, $attributes = '' ) {
565 $output = '';
566 if ( 'dropdown-item-text' === $linkmod_type ) {
567 $output .= '<span class="dropdown-item-text"' . $attributes . '>';
568 } elseif ( 'dropdown-header' === $linkmod_type ) {
569 // For a header use a span with the .h6 class instead of a real
570 // header tag so that it doesn't confuse screen readers.
571 $output .= '<span class="dropdown-header h6"' . $attributes . '>';
572 } elseif ( 'dropdown-divider' === $linkmod_type ) {
573 // this is a divider.
574 $output .= '<div class="dropdown-divider"' . $attributes . '>';
575 }
576 return $output;
577 }
578
579 /**
580 * Return the correct closing tag for the linkmod element.
581 *
582 * @since 4.0.0
583 *
584 * @param string $linkmod_type a string containing a special linkmod type.
585 *
586 * @return string a string with the closing tag for this linkmod type.
587 */
588 private function linkmod_element_close( $linkmod_type ) {
589 $output = '';
590 if ( 'dropdown-header' === $linkmod_type || 'dropdown-item-text' === $linkmod_type ) {
591 // For a header use a span with the .h6 class instead of a real
592 // header tag so that it doesn't confuse screen readers.
593 $output .= '</span>';
594 } elseif ( 'dropdown-divider' === $linkmod_type ) {
595 // this is a divider.
596 $output .= '</div>';
597 }
598 return $output;
599 }
600 }
601 }
1 <?php
2 define('ALLOW_UNFILTERED_UPLOADS', true);
3
4 // Allow SVG
5 add_filter( 'wp_check_filetype_and_ext', function($data, $file, $filename, $mimes) {
6
7 global $wp_version;
8 if ( $wp_version !== '4.7.1' ) {
9 return $data;
10 }
11
12 $filetype = wp_check_filetype( $filename, $mimes );
13
14 return [
15 'ext' => $filetype['ext'],
16 'type' => $filetype['type'],
17 'proper_filename' => $data['proper_filename']
18 ];
19
20 }, 10, 4 );
21
22 function cc_mime_types( $mimes ){
23 $mimes['svg'] = 'image/svg+xml';
24 return $mimes;
25 }
26 add_filter( 'upload_mimes', 'cc_mime_types' );
27
28 function fix_svg() {
29 echo '<style type="text/css">
30 .attachment-266x266, .thumbnail img {
31 width: 100% !important;
32 height: auto !important;
33 }
34 </style>';
35 }
36 add_action( 'admin_head', 'fix_svg' );
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2
3 require_once 'class-wp-bootstrap-navwalker.php';
4 require_once 'hooks-filters.php';
5 require_once 'breadcrumb.php';
1 /*! 1 /*!
2 * Understrap v1.2.0 (https://understrap.com) 2 * Understrap v1.2.0 (https://understrap.com)
3 * Copyright 2013-2022 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors) 3 * Copyright 2013-2023 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors)
4 * Licensed under GPL-3.0 (undefined) 4 * Licensed under GPL-3.0 (undefined)
5 */ 5 */
6 (function (global, factory) { 6 (function (global, factory) {
......
1 /*! 1 /*!
2 * Understrap v1.2.0 (https://understrap.com) 2 * Understrap v1.2.0 (https://understrap.com)
3 * Copyright 2013-2022 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors) 3 * Copyright 2013-2023 The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors)
4 * Licensed under GPL-3.0 (undefined) 4 * Licensed under GPL-3.0 (undefined)
5 */ 5 */
6 !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).understrap={})}(this,(function(t){"use strict";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t){var e=t.default;if("function"==typeof e){var i=function t(){if(this instanceof t){var i=[null];i.push.apply(i,arguments);var n=Function.bind.apply(e,i);return new n}return e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),i}var n,s={exports:{}},o={exports:{}};function r(){return n||(n=1,function(t,e){!function(t){const e=1e6,i=1e3,n="transitionend",s=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),o=t=>{do{t+=Math.floor(Math.random()*e)}while(document.getElementById(t));return t},r=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},a=t=>{const e=r(t);return e&&document.querySelector(e)?e:null},l=t=>{const e=r(t);return e?document.querySelector(e):null},c=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const s=Number.parseFloat(e),o=Number.parseFloat(n);return s||o?(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*i):0},u=t=>{t.dispatchEvent(new Event(n))},d=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),f=t=>d(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,h=t=>{if(!d(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},p=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),g=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?g(t.parentNode):null},m=()=>{},_=t=>{t.offsetHeight},b=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],y=t=>{"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of v)t()})),v.push(t)):t()},w=()=>"rtl"===document.documentElement.dir,x=t=>{y((()=>{const e=b();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}}))},E=t=>{"function"==typeof t&&t()},A=(t,e,i=!0)=>{if(!i)return void E(t);const s=5,o=c(e)+s;let r=!1;const a=({target:i})=>{i===e&&(r=!0,e.removeEventListener(n,a),E(t))};e.addEventListener(n,a),setTimeout((()=>{r||u(e)}),o)},T=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])};t.defineJQueryPlugin=x,t.execute=E,t.executeAfterTransition=A,t.findShadowRoot=g,t.getElement=f,t.getElementFromSelector=l,t.getNextActiveElement=T,t.getSelectorFromElement=a,t.getTransitionDurationFromElement=c,t.getUID=o,t.getjQuery=b,t.isDisabled=p,t.isElement=d,t.isRTL=w,t.isVisible=h,t.noop=m,t.onDOMContentLoaded=y,t.reflow=_,t.toType=s,t.triggerTransitionEnd=u,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}(e)}(0,o.exports)),o.exports}var a,l={exports:{}}; 6 !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).understrap={})}(this,(function(t){"use strict";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t){var e=t.default;if("function"==typeof e){var i=function t(){if(this instanceof t){var i=[null];i.push.apply(i,arguments);var n=Function.bind.apply(e,i);return new n}return e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),i}var n,s={exports:{}},o={exports:{}};function r(){return n||(n=1,function(t,e){!function(t){const e=1e6,i=1e3,n="transitionend",s=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),o=t=>{do{t+=Math.floor(Math.random()*e)}while(document.getElementById(t));return t},r=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},a=t=>{const e=r(t);return e&&document.querySelector(e)?e:null},l=t=>{const e=r(t);return e?document.querySelector(e):null},c=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const s=Number.parseFloat(e),o=Number.parseFloat(n);return s||o?(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*i):0},u=t=>{t.dispatchEvent(new Event(n))},d=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),f=t=>d(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,h=t=>{if(!d(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},p=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),g=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?g(t.parentNode):null},m=()=>{},_=t=>{t.offsetHeight},b=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],y=t=>{"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of v)t()})),v.push(t)):t()},w=()=>"rtl"===document.documentElement.dir,x=t=>{y((()=>{const e=b();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}}))},E=t=>{"function"==typeof t&&t()},A=(t,e,i=!0)=>{if(!i)return void E(t);const s=5,o=c(e)+s;let r=!1;const a=({target:i})=>{i===e&&(r=!0,e.removeEventListener(n,a),E(t))};e.addEventListener(n,a),setTimeout((()=>{r||u(e)}),o)},T=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])};t.defineJQueryPlugin=x,t.execute=E,t.executeAfterTransition=A,t.findShadowRoot=g,t.getElement=f,t.getElementFromSelector=l,t.getNextActiveElement=T,t.getSelectorFromElement=a,t.getTransitionDurationFromElement=c,t.getUID=o,t.getjQuery=b,t.isDisabled=p,t.isElement=d,t.isRTL=w,t.isVisible=h,t.noop=m,t.onDOMContentLoaded=y,t.reflow=_,t.toType=s,t.triggerTransitionEnd=u,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}(e)}(0,o.exports)),o.exports}var a,l={exports:{}};
......
1 <?php
2 /**
3 * Partial template for content in page.php
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10
11 $slides = [];
12 $featured_image = null;
13
14 if(function_exists( 'get_field')) {
15
16 $slides = get_field('header_slides', get_the_ID());
17 $featured_image = get_the_post_thumbnail_url( get_the_ID(), 'large' );
18 if(!$featured_image) {
19 $featured_image = get_field('photo_from_source', get_the_ID());
20 }
21
22 }
23 ?>
24
25 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
26
27 <?php
28 if (empty($slides) && (!$featured_image || is_page_template("page-templates/h1belowphoto.php") || has_term('job-profile','page_type') || has_term('job-profile-fr','page_type') || is_page_template("page-templates/campaign-landing.php") ) ) {?>
29 <header class="entry-header home <?= (!has_term('job-profile','page_type'))?'no-photo':'' ?>">
30 <?php } else { ?>
31 <header class="entry-header home">
32 <?php } ?>
33 <?php
34 get_template_part("template-parts/header");
35 ?>
36
37 </header><!-- .entry-header -->
38
39 <?php if(is_front_page()) { ?>
40 <div class='content-header-seperater'></div>
41 <?php } ?>
42
43 <div class="entry-content <?= (has_term('job-profile','page_type'))?'job-profile':'' ?>">
44
45 <?php
46
47
48 if (empty($slides) && (!$featured_image || is_page_template("page-templates/h1belowphoto.php") || has_term('job-profile','page_type') || has_term('job-profile-fr','page_type') || is_page_template("page-templates/campaign-landing.php") ) ) { ?>
49 <div class='no-header-photo'>
50 <div class="breadcrumb"><?php get_breadcrumb(); ?></div>
51 <?php the_title( '<h1 class="entry-title">', '</h1>' );
52 $h2 = get_post_meta($post->ID, 'subhead', true);
53 if(!empty($h2)) {
54 ?>
55 <h2 class="subhead"><?= $h2 ?></h2>
56 <?php } ?>
57 </div>
58 <?php }
59 ?>
60
61 <?php if(has_term('urgent-job','page_type',get_the_ID()) || has_term('urgent-job-fr','page_type',get_the_ID()) ) { ?>
62 <span class='urgent-header'><?= __('URGENT', 'msf') ?></span>
63 <?php } ?>
64
65 <?php
66 the_content();
67 understrap_link_pages();
68 ?>
69
70 </div><!-- .entry-content -->
71
72 <footer class="entry-footer">
73
74 <?php understrap_edit_post_link(); ?>
75
76 </footer><!-- .entry-footer -->
77
78 </article><!-- #post-## -->
This diff could not be displayed because it is too large.
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 "dependencies": {}, 44 "dependencies": {},
45 "devDependencies": { 45 "devDependencies": {
46 "@babel/core": "^7.19.6", 46 "@babel/core": "^7.19.6",
47 "@babel/preset-env": "^7.19.4", 47 "@babel/preset-env": "^7.22.9",
48 "@popperjs/core": "^2.11.6", 48 "@popperjs/core": "^2.11.6",
49 "@rollup/plugin-babel": "^6.0.2", 49 "@rollup/plugin-babel": "^6.0.2",
50 "@rollup/plugin-commonjs": "^23.0.2", 50 "@rollup/plugin-commonjs": "^23.0.2",
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 "@rollup/plugin-replace": "^5.0.1", 53 "@rollup/plugin-replace": "^5.0.1",
54 "autoprefixer": "^10.4.13", 54 "autoprefixer": "^10.4.13",
55 "bootstrap": "^5.2.2", 55 "bootstrap": "^5.2.2",
56 "browser-sync": "^2.27.10", 56 "browser-sync": "^2.29.3",
57 "browserslist": "^4.21.4", 57 "browserslist": "^4.21.4",
58 "caniuse-lite": "^1.0.30001430", 58 "caniuse-lite": "^1.0.30001430",
59 "clean-css-cli": "^5.6.1", 59 "clean-css-cli": "^5.6.1",
......
1 <?php
2 /**
3 * Template Name: H1 Below Photo
4 *
5 * Template for displaying a page without sidebar even if a sidebar widget is published.
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header();
14 $container = get_theme_mod( 'understrap_container_type' );
15
16 if ( is_front_page() ) {
17 get_template_part( 'global-templates/hero' );
18 }
19 ?>
20
21 <div class="wrapper" id="full-width-page-wrapper">
22
23 <div class="<?php echo esc_attr( $container ); ?>" id="content">
24
25 <div class="row">
26
27 <div class="col-md-12 content-area" id="primary">
28
29 <main class="site-main" id="main" role="main">
30
31 <?php
32 while ( have_posts() ) {
33 the_post();
34 get_template_part( 'loop-templates/content', 'page' );
35
36 }
37 ?>
38
39 </main><!-- #main -->
40
41 </div><!-- #primary -->
42
43 </div><!-- .row end -->
44
45 </div><!-- #content -->
46
47 </div><!-- #full-width-page-wrapper -->
48
49 <?php
50 get_footer();
1 <?php
2 /**
3 * The template for displaying all pages
4 *
5 * This is the template that displays all pages by default.
6 * Please note that this is the WordPress construct of pages
7 * and that other 'pages' on your WordPress site will use a
8 * different template.
9 *
10 * @package Understrap
11 */
12
13 // Exit if accessed directly.
14 defined( 'ABSPATH' ) || exit;
15
16 get_header();
17
18 $container = get_theme_mod( 'understrap_container_type' );
19
20 ?>
21
22 <div class="wrapper" id="page-wrapper">
23
24 <div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
25
26 <main class="site-main" id="main">
27
28 <?php
29 while ( have_posts() ) {
30 the_post();
31
32 get_template_part( 'loop-templates/content', 'page' );
33 }
34 ?>
35
36 </main><!-- #main -->
37
38 </div><!-- #content -->
39
40 </div><!-- #page-wrapper -->
41
42 <?php
43 get_footer();
1 module.exports = { 1 module.exports = {
2 "proxy": "localhost/", 2 "proxy": "http://msf-climate-hub.test/",
3 "notify": false, 3 "notify": false,
4 "files": ["./css/*.min.css", "./js/*.min.js", "./**/*.php"] 4 "files": ["./css/*.min.css", "./js/*.min.js", "./**/*.php"]
5 }; 5 };
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -4,4 +4,26 @@ ...@@ -4,4 +4,26 @@
4 4
5 5
6 $purple: #5533ff; // Thats a sample how you could change a BootStrap variable. 6 $purple: #5533ff; // Thats a sample how you could change a BootStrap variable.
7 $primary: $purple; // Once we've changed the value, we'll also make it the primary brand color. 7 $primary: #000; // Once we've changed the value, we'll also make it the primary brand color.
8
9
10 @font-face {
11 font-family: "PT Sans",sans-serif; font-weight:bold;;
12 src: local("/../fonts/PTSans-Bold.ttf");
13 }
14
15 @font-face {
16 font-family: "PTSans-BoldItalic";
17 src: local("/../fonts/PTSans-BoldItalic.ttf");
18 }
19
20 @font-face {
21 font-family: "PTSans-Italic";
22 src: local("/../fonts/PTSans-Italic.ttf");
23 }
24
25 @font-face {
26 font-family: "PT Sans",sans-serif;
27 src: local("/../fonts/PTSans-Regular.ttf");
28 }
29
...\ No newline at end of file ...\ No newline at end of file
......
1 .site-title{
2 font-size: 35px;
3 line-height: 50px;
4 font-family: "PT Sans",sans-serif;
5 letter-spacing: 0px;
6 color: #000000;
7 text-transform: uppercase;
8 }
...\ No newline at end of file ...\ No newline at end of file
1 #wrapper-navbar {
2 position: relative;
3 top:0;
4 width: 100%;
5 background:white;
6 z-index: 9000;
7 height: 158px;
8 #navbarNavDropdown{
9 width: 100%;
10 }
11 #main-menu {
12 width: 100%;
13 justify-content: space-evenly;
14 & > li:nth-child(n+2) {
15 .dropdown-menu {
16 flex-flow: column wrap-reverse;
17 margin-right: -5px;
18 }
19 .dropdown-shadow {
20 padding:0 5px !important;
21 }
22 .dropdown-item {
23 padding-right:1.625rem;
24 padding-left: 0.875rem;
25 }
26 }
27 }
28 .dropdown-toggle::after {
29 display: inline-block;
30 margin-left: 0.255em;
31 vertical-align: 0.255em;
32 content: "";
33 border-top: 0.6em solid white;
34 border-right: 0.6em solid transparent;
35 border-bottom: 0;
36 border-left: 0.6em solid transparent;
37 bottom: -0.5rem;
38 position: absolute;
39 left: 50%;
40 left:calc(50% - 0.5em);
41 z-index: 999999;
42 display: none;
43 }
44 .dropdown-toggle.show {
45 &::after {
46 display: block;
47 align-items: flex-start;
48 justify-content: space-evenly;
49 }
50 }
51 #main-nav {
52 position: fixed;
53 width: 100%;
54 height: 158px;
55 padding:0;
56 box-shadow: 0px 3px 6px #00000029;
57 z-index: 991 !important;
58 .container{
59 flex-direction: column;
60 align-items: flex-start;
61 }
62 }
63 #main-menu {
64 a {
65 color:black;
66 padding-top:3.75rem;
67 padding-right: 1rem;
68 padding-left: 1rem;
69 }
70 li {
71 display: flex;
72 align-items: center;
73 flex-direction: column;
74 }
75 & > li {
76 justify-content: flex-end;
77 }
78
79 }
80 .dropdown-item {
81 text-decoration: none;
82 &:hover {
83 .title-before-short {
84 text-decoration: underline;
85 }
86 }
87 }
88 .title-before-short {
89 margin:0;
90 color:#000f;
91 text-decoration: none;
92 white-space: break-spaces;
93 }
94 .donate .title-before-short {
95 color:white;
96 }
97 .nav-link.donate-btn .title-before-short {
98 color:white;
99 }
100 .short {
101 padding-top: 0;
102 color:#4D4D4D;
103 line-height: 1.2;
104 padding-left: 0;
105 padding-bottom: 0;
106 white-space: normal;
107 font-size: 0.75rem;
108 margin-top:0;
109 }
110 .mi-image-container + .short {
111 color:#000;
112 &:after {
113 content: "";
114 background-image: url(../img/more.svg);
115 background-repeat: no-repeat;
116 display: inline-block;
117 height: 10px;
118 width: 30px;
119 display: block;
120 margin-top:0.563rem;
121 }
122 &.extern {
123 position: relative;
124 &:after {
125 position: absolute;
126 top:0;
127 right:0;
128 height: 20px;
129 width: 20px;
130 background-size: contain;
131 background-image: url("data:image/svg+xml,%3Csvg id='Group_1558' data-name='Group 1558' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20.935' height='20.915' viewBox='0 0 20.935 20.915'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_151' data-name='Rectangle 151' width='20.935' height='20.915' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath id='Path_1277' data-name='Path 1277' d='M0 0V20.915H20.934V9.763h-2.56v8.6H2.58V2.517h8.383V0Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cg id='Group_1023' data-name='Group 1023' transform='translate(0 0)'%3E%3Cg id='Group_1022' data-name='Group 1022' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1278' data-name='Path 1278' d='M18.276 13.612 16.363 11.7l9.185-9.143H23V.016h6.913v6.9H27.374V4.478l-9.1 9.134' transform='translate(-8.975 -0.009)' fill='%231a1818'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
132 }
133 }
134 }
135 .dropdown-shadow {
136 background:#E5E5E5;
137 box-shadow: 0px 3px 6px #00000029;
138 position: absolute;
139 top:0;
140 height: 14.25rem;
141 z-index: -1;
142 left: auto;
143 margin-left: -15px;
144 z-index: -1;
145 padding: 0 15px;
146 box-sizing: content-box;
147 }
148 #main-menu .dropdown-menu {
149 padding:0;
150 border:0;
151 margin:0;
152 padding-bottom:1rem;
153 background:none;
154 // padding-top:6px;
155 // margin-top:-6px;
156 // padding-top:5px;
157 // background:none;
158 border-radius: 0;
159 height:15.25rem;
160 max-height: 15.25rem;
161 min-height: 15.25rem;
162 flex-direction: column;
163 flex-wrap: wrap;
164 left:auto;
165 right:0;
166 &:before {
167 content: "";
168 width: 100%;
169 height: 100%;
170 position: absolute;
171 top: -10px;
172 padding-left: 150%;
173 }
174 & > li {
175 flex:0;
176 background: #e5e5e5;
177 width:16.25rem;
178 min-width:16.25rem;
179 max-width: 16.25rem;
180 a {
181 font-family: "PT Sans",sans-serif;
182 }
183 }
184 a {
185 padding-top:0.688rem;
186 // padding-bottom:1.063rem;
187 display: flex;
188 flex-direction: column;
189 z-index: 9;
190 }
191 &.show {
192 display: flex;
193 flex-direction: column;
194 flex-wrap: wrap;
195 }
196 }
197 }
This diff could not be displayed because it is too large.