pi charts and elements
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
57 changed files
with
1961 additions
and
1405 deletions
| 1 | <?php | ||
| 2 | |||
| 3 | |||
| 4 | // Create id attribute allowing for custom "anchor" value. | ||
| 5 | $id = 'msf-pi-' . $block['id']; | ||
| 6 | if( !empty($block['anchor']) ) { | ||
| 7 | $id = $block['anchor']; | ||
| 8 | } | ||
| 9 | |||
| 10 | // Create class attribute allowing for custom "className" and "align" values. | ||
| 11 | $className = 'msf-pi'; | ||
| 12 | if( !empty($block['className']) ) { | ||
| 13 | $className .= ' ' . $block['className']; | ||
| 14 | } | ||
| 15 | if( !empty($block['align']) ) { | ||
| 16 | $className .= ' align' . $block['align']; | ||
| 17 | } | ||
| 18 | |||
| 19 | $title = get_field('title') ?: null; | ||
| 20 | $theme = null; | ||
| 21 | $inner_blocks = get_field('data') ?: null; | ||
| 22 | $color = get_field('foreground_color') ?: null; | ||
| 23 | |||
| 24 | $data = []; | ||
| 25 | |||
| 26 | foreach($inner_blocks as $ib) { | ||
| 27 | $data[] = [ "name" => $ib['name'], "value" => (int)$ib['value'], 'color' => $ib['color'], 'font_color' => $color ]; | ||
| 28 | } | ||
| 29 | |||
| 30 | ?> | ||
| 31 | |||
| 32 | <script> | ||
| 33 | |||
| 34 | window.addEventListener('scroll', function(event) { | ||
| 35 | if(!jQuery("#<?= $id ?>").hasClass('visible') && window.tz_checkVisible(jQuery("#<?= $id ?>"), null, 200)) { | ||
| 36 | jQuery("#<?= $id ?>").addClass('visible'); | ||
| 37 | jQuery("#<?= $id ?>").addClass('is-visible'); | ||
| 38 | window.renderPI(document.getElementById("<?= $id ?>")) | ||
| 39 | } | ||
| 40 | }); | ||
| 41 | |||
| 42 | |||
| 43 | </script> | ||
| 44 | <div class='pi <?= $theme ?>' class="<?php echo esc_attr($className); ?>" style='width:100%;'> | ||
| 45 | <h3><?= $title ?></h3> | ||
| 46 | <div id="<?= $id ?>" data-points='<?= json_encode($data) ?>' data-color="<?= $color ?>"></div> | ||
| 47 | </div> |
| 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
| 2 | |||
| 3 | # dependencies | ||
| 4 | /node_modules | ||
| 5 | /.pnp | ||
| 6 | .pnp.js | ||
| 7 | |||
| 8 | # testing | ||
| 9 | /coverage | ||
| 10 | |||
| 11 | # misc | ||
| 12 | .DS_Store | ||
| 13 | .env.local | ||
| 14 | .env.development.local | ||
| 15 | .env.test.local | ||
| 16 | .env.production.local | ||
| 17 | |||
| 18 | npm-debug.log* | ||
| 19 | yarn-debug.log* | ||
| 20 | yarn-error.log* |
| 1 | # Getting Started with Create React App | ||
| 2 | |||
| 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). | ||
| 4 | |||
| 5 | ## Available Scripts | ||
| 6 | |||
| 7 | In the project directory, you can run: | ||
| 8 | |||
| 9 | ### `yarn start` | ||
| 10 | |||
| 11 | Runs the app in the development mode.\ | ||
| 12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. | ||
| 13 | |||
| 14 | The page will reload if you make edits.\ | ||
| 15 | You will also see any lint errors in the console. | ||
| 16 | |||
| 17 | ### `yarn test` | ||
| 18 | |||
| 19 | Launches the test runner in the interactive watch mode.\ | ||
| 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. | ||
| 21 | |||
| 22 | ### `yarn build` | ||
| 23 | |||
| 24 | Builds the app for production to the `build` folder.\ | ||
| 25 | It correctly bundles React in production mode and optimizes the build for the best performance. | ||
| 26 | |||
| 27 | The build is minified and the filenames include the hashes.\ | ||
| 28 | Your app is ready to be deployed! | ||
| 29 | |||
| 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. | ||
| 31 | |||
| 32 | ### `yarn eject` | ||
| 33 | |||
| 34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!** | ||
| 35 | |||
| 36 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. | ||
| 37 | |||
| 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. | ||
| 39 | |||
| 40 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. | ||
| 41 | |||
| 42 | ## Learn More | ||
| 43 | |||
| 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). | ||
| 45 | |||
| 46 | To learn React, check out the [React documentation](https://reactjs.org/). | ||
| 47 | |||
| 48 | ### Code Splitting | ||
| 49 | |||
| 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) | ||
| 51 | |||
| 52 | ### Analyzing the Bundle Size | ||
| 53 | |||
| 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) | ||
| 55 | |||
| 56 | ### Making a Progressive Web App | ||
| 57 | |||
| 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) | ||
| 59 | |||
| 60 | ### Advanced Configuration | ||
| 61 | |||
| 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) | ||
| 63 | |||
| 64 | ### Deployment | ||
| 65 | |||
| 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) | ||
| 67 | |||
| 68 | ### `yarn build` fails to minify | ||
| 69 | |||
| 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) |
| 1 | { | ||
| 2 | "files": { | ||
| 3 | "main.js": "/static/js/main.a7bb4a96.chunk.js", | ||
| 4 | "main.js.map": "/static/js/main.a7bb4a96.chunk.js.map", | ||
| 5 | "runtime-main.js": "/static/js/runtime-main.a933fda7.js", | ||
| 6 | "runtime-main.js.map": "/static/js/runtime-main.a933fda7.js.map", | ||
| 7 | "static/js/2.c3c99db9.chunk.js": "/static/js/2.c3c99db9.chunk.js", | ||
| 8 | "static/js/2.c3c99db9.chunk.js.map": "/static/js/2.c3c99db9.chunk.js.map", | ||
| 9 | "index.html": "/index.html", | ||
| 10 | "static/js/2.c3c99db9.chunk.js.LICENSE.txt": "/static/js/2.c3c99db9.chunk.js.LICENSE.txt" | ||
| 11 | }, | ||
| 12 | "entrypoints": [ | ||
| 13 | "static/js/runtime-main.a933fda7.js", | ||
| 14 | "static/js/2.c3c99db9.chunk.js", | ||
| 15 | "static/js/main.a7bb4a96.chunk.js" | ||
| 16 | ] | ||
| 17 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
| 1 | <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="cbv-globe"></div><script>!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],p=0,s=[];p<f.length;p++)l=f[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonpcbv-globe"]=this["webpackJsonpcbv-globe"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var c=i;t()}([])</script><script src="/static/js/2.c3c99db9.chunk.js"></script><script src="/static/js/main.a7bb4a96.chunk.js"></script></body><script>window.renderProgression(document.getElementById("cbv-globe"))</script></html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
5.22 KB
9.44 KB
| 1 | { | ||
| 2 | "short_name": "React App", | ||
| 3 | "name": "Create React App Sample", | ||
| 4 | "icons": [ | ||
| 5 | { | ||
| 6 | "src": "favicon.ico", | ||
| 7 | "sizes": "64x64 32x32 24x24 16x16", | ||
| 8 | "type": "image/x-icon" | ||
| 9 | }, | ||
| 10 | { | ||
| 11 | "src": "logo192.png", | ||
| 12 | "type": "image/png", | ||
| 13 | "sizes": "192x192" | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "src": "logo512.png", | ||
| 17 | "type": "image/png", | ||
| 18 | "sizes": "512x512" | ||
| 19 | } | ||
| 20 | ], | ||
| 21 | "start_url": ".", | ||
| 22 | "display": "standalone", | ||
| 23 | "theme_color": "#000000", | ||
| 24 | "background_color": "#ffffff" | ||
| 25 | } |
This diff could not be displayed because it is too large.
wp-content/themes/msf-child/blocks/react-app/build/static/js/2.c3c99db9.chunk.js.LICENSE.txt
0 → 100644
| 1 | /* | ||
| 2 | object-assign | ||
| 3 | (c) Sindre Sorhus | ||
| 4 | @license MIT | ||
| 5 | */ | ||
| 6 | |||
| 7 | /*! | ||
| 8 | Copyright (c) 2018 Jed Watson. | ||
| 9 | Licensed under the MIT License (MIT), see | ||
| 10 | http://jedwatson.github.io/classnames | ||
| 11 | */ | ||
| 12 | |||
| 13 | /*! Conditions:: INITIAL */ | ||
| 14 | |||
| 15 | /*! Production:: $accept : expression $end */ | ||
| 16 | |||
| 17 | /*! Production:: css_value : ANGLE */ | ||
| 18 | |||
| 19 | /*! Production:: css_value : CHS */ | ||
| 20 | |||
| 21 | /*! Production:: css_value : EMS */ | ||
| 22 | |||
| 23 | /*! Production:: css_value : EXS */ | ||
| 24 | |||
| 25 | /*! Production:: css_value : FREQ */ | ||
| 26 | |||
| 27 | /*! Production:: css_value : LENGTH */ | ||
| 28 | |||
| 29 | /*! Production:: css_value : PERCENTAGE */ | ||
| 30 | |||
| 31 | /*! Production:: css_value : REMS */ | ||
| 32 | |||
| 33 | /*! Production:: css_value : RES */ | ||
| 34 | |||
| 35 | /*! Production:: css_value : SUB css_value */ | ||
| 36 | |||
| 37 | /*! Production:: css_value : TIME */ | ||
| 38 | |||
| 39 | /*! Production:: css_value : VHS */ | ||
| 40 | |||
| 41 | /*! Production:: css_value : VMAXS */ | ||
| 42 | |||
| 43 | /*! Production:: css_value : VMINS */ | ||
| 44 | |||
| 45 | /*! Production:: css_value : VWS */ | ||
| 46 | |||
| 47 | /*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP COMMA math_expression RPAREN */ | ||
| 48 | |||
| 49 | /*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP RPAREN */ | ||
| 50 | |||
| 51 | /*! Production:: expression : math_expression EOF */ | ||
| 52 | |||
| 53 | /*! Production:: math_expression : LPAREN math_expression RPAREN */ | ||
| 54 | |||
| 55 | /*! Production:: math_expression : NESTED_CALC LPAREN math_expression RPAREN */ | ||
| 56 | |||
| 57 | /*! Production:: math_expression : SUB PREFIX SUB NESTED_CALC LPAREN math_expression RPAREN */ | ||
| 58 | |||
| 59 | /*! Production:: math_expression : css_value */ | ||
| 60 | |||
| 61 | /*! Production:: math_expression : css_variable */ | ||
| 62 | |||
| 63 | /*! Production:: math_expression : math_expression ADD math_expression */ | ||
| 64 | |||
| 65 | /*! Production:: math_expression : math_expression DIV math_expression */ | ||
| 66 | |||
| 67 | /*! Production:: math_expression : math_expression MUL math_expression */ | ||
| 68 | |||
| 69 | /*! Production:: math_expression : math_expression SUB math_expression */ | ||
| 70 | |||
| 71 | /*! Production:: math_expression : value */ | ||
| 72 | |||
| 73 | /*! Production:: value : NUMBER */ | ||
| 74 | |||
| 75 | /*! Production:: value : SUB NUMBER */ | ||
| 76 | |||
| 77 | /*! Rule:: $ */ | ||
| 78 | |||
| 79 | /*! Rule:: (--[0-9a-z-A-Z-]*) */ | ||
| 80 | |||
| 81 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)% */ | ||
| 82 | |||
| 83 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)Hz\b */ | ||
| 84 | |||
| 85 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)\b */ | ||
| 86 | |||
| 87 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ch\b */ | ||
| 88 | |||
| 89 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)cm\b */ | ||
| 90 | |||
| 91 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)deg\b */ | ||
| 92 | |||
| 93 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpcm\b */ | ||
| 94 | |||
| 95 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpi\b */ | ||
| 96 | |||
| 97 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dppx\b */ | ||
| 98 | |||
| 99 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)em\b */ | ||
| 100 | |||
| 101 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ex\b */ | ||
| 102 | |||
| 103 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)grad\b */ | ||
| 104 | |||
| 105 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)in\b */ | ||
| 106 | |||
| 107 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)kHz\b */ | ||
| 108 | |||
| 109 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)mm\b */ | ||
| 110 | |||
| 111 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ms\b */ | ||
| 112 | |||
| 113 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pc\b */ | ||
| 114 | |||
| 115 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pt\b */ | ||
| 116 | |||
| 117 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)px\b */ | ||
| 118 | |||
| 119 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rad\b */ | ||
| 120 | |||
| 121 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rem\b */ | ||
| 122 | |||
| 123 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)s\b */ | ||
| 124 | |||
| 125 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)turn\b */ | ||
| 126 | |||
| 127 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vh\b */ | ||
| 128 | |||
| 129 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmax\b */ | ||
| 130 | |||
| 131 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmin\b */ | ||
| 132 | |||
| 133 | /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vw\b */ | ||
| 134 | |||
| 135 | /*! Rule:: ([a-z]+) */ | ||
| 136 | |||
| 137 | /*! Rule:: (calc) */ | ||
| 138 | |||
| 139 | /*! Rule:: (var) */ | ||
| 140 | |||
| 141 | /*! Rule:: , */ | ||
| 142 | |||
| 143 | /*! Rule:: - */ | ||
| 144 | |||
| 145 | /*! Rule:: \( */ | ||
| 146 | |||
| 147 | /*! Rule:: \) */ | ||
| 148 | |||
| 149 | /*! Rule:: \* */ | ||
| 150 | |||
| 151 | /*! Rule:: \+ */ | ||
| 152 | |||
| 153 | /*! Rule:: \/ */ | ||
| 154 | |||
| 155 | /*! Rule:: \s+ */ | ||
| 156 | |||
| 157 | /*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */ | ||
| 158 | |||
| 159 | /** @license React v0.20.2 | ||
| 160 | * scheduler.production.min.js | ||
| 161 | * | ||
| 162 | * Copyright (c) Facebook, Inc. and its affiliates. | ||
| 163 | * | ||
| 164 | * This source code is licensed under the MIT license found in the | ||
| 165 | * LICENSE file in the root directory of this source tree. | ||
| 166 | */ | ||
| 167 | |||
| 168 | /** @license React v16.10.2 | ||
| 169 | * react-is.production.min.js | ||
| 170 | * | ||
| 171 | * Copyright (c) Facebook, Inc. and its affiliates. | ||
| 172 | * | ||
| 173 | * This source code is licensed under the MIT license found in the | ||
| 174 | * LICENSE file in the root directory of this source tree. | ||
| 175 | */ | ||
| 176 | |||
| 177 | /** @license React v17.0.2 | ||
| 178 | * react-dom.production.min.js | ||
| 179 | * | ||
| 180 | * Copyright (c) Facebook, Inc. and its affiliates. | ||
| 181 | * | ||
| 182 | * This source code is licensed under the MIT license found in the | ||
| 183 | * LICENSE file in the root directory of this source tree. | ||
| 184 | */ | ||
| 185 | |||
| 186 | /** @license React v17.0.2 | ||
| 187 | * react-jsx-runtime.production.min.js | ||
| 188 | * | ||
| 189 | * Copyright (c) Facebook, Inc. and its affiliates. | ||
| 190 | * | ||
| 191 | * This source code is licensed under the MIT license found in the | ||
| 192 | * LICENSE file in the root directory of this source tree. | ||
| 193 | */ | ||
| 194 | |||
| 195 | /** @license React v17.0.2 | ||
| 196 | * react.production.min.js | ||
| 197 | * | ||
| 198 | * Copyright (c) Facebook, Inc. and its affiliates. | ||
| 199 | * | ||
| 200 | * This source code is licensed under the MIT license found in the | ||
| 201 | * LICENSE file in the root directory of this source tree. | ||
| 202 | */ |
This diff could not be displayed because it is too large.
| 1 | (this["webpackJsonpcbv-globe"]=this["webpackJsonpcbv-globe"]||[]).push([[0],{353:function(t,e,n){"use strict";n.r(e);var a=n(18),i=n(0),c=n(30),r=n.n(c),s=n(195),o=n(131),l=n(80),j=n(196);o.a.use(j.a).use(l.e).init({detection:{order:["querystring"],lookupQuerystring:"lang",lookupCookie:"",lookupLocalStorage:"",lookupSessionStorage:"",caches:[]},debug:!1,fallbackLng:"en",interpolation:{escapeValue:!1},resources:{en:{translation:{"one-term-only":"* ONE TERM ONLY","pro.valuation.x":"11.991","pro.services.x":"16.401","pro.professional":"Professional","pro.Valuation":"Valuation","pro.Services":"Services","pro.Financial Services":"Financial Services, Industry","pro.Industry":"Industry","pro.Government":"and Government","pro.Retired":"Retired","charts.members":"Members","pro.Other":"Other"}},fr:{translation:{"pro.valuation.x":"0","pro.services.x":"0","one-term-only":"*UN TRIMESTRE SEULEMENT","pro.professional":"Services","pro.Valuation":"professionnels","pro.Services":"d\u2019\xe9valuation","pro.Financial Services":"Services financiers,","pro.Industry":"industrie, et","pro.Government":"gouvernement","pro.Retired":"\xc0 la retraite","charts.members":"Membres","pro.Other":"Autres"}}}});o.a;var d=n(104),x=n(365),h=n(1),f=function(t){var e=t.setTooltipContent,n=t.countries;Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(d.ComposableMap,{"data-tip":"",projection:"geoMercator",children:Object(h.jsx)(d.Geographies,{geography:"https://yearinreview.cbvinstitute.com/world-110m.json",children:function(t){return t.geographies.map((function(t){for(var a=!1,i=0;i<n.length;++i)for(var c in t.properties)if("function"==typeof t.properties[c].indexOf&&-1!==t.properties[c].indexOf(n[i].name)){t.properties.NICENAME=n[i].name,a=!0;break}var r={};return r=a?{default:{fill:"#5CBFBC",outline:"#0F1647",stroke:"#0F1647",strokeWidth:"0.25px"},hover:{fill:"white",outline:"none"}}:{default:{fill:"#594D78",outline:"none"},hover:{fill:"#594D78",outline:"none"},pressed:{fill:"#594D78",outline:"none"}},Object(h.jsx)(d.Geography,{geography:t,onMouseEnter:function(){if(a){var n=t.properties.NICENAME;e("".concat(n))}},onMouseLeave:function(){e("")},style:r},t.rsmKey)}))}})})})},b=Object(i.memo)(f),O=n(357),m=n(358),p=n(100),u=n(101),y=n(82),g=n(188),F=function(t){var e=t.active,n=t.payload,a=t.label;Object(x.a)().t;return e&&n&&n.length?Object(h.jsx)("div",{className:"custom-tooltip",children:Object(h.jsx)("p",{className:"label",style:{color:"#221d58"},children:"".concat(a)})}):null},v=function(t){for(var e=t.data,n=e[0].name,a=e[e.length-1].name,i=Math.floor(a/500),c=[],r=0;r<i;++r)c.push(500*(r+1));return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(O.a,{width:"99%",height:475,children:Object(h.jsxs)(m.a,{children:[Object(h.jsx)("defs",{children:Object(h.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[Object(h.jsx)("stop",{offset:"0%",stopColor:"#b4eded",stopOpacity:1}),Object(h.jsx)("stop",{offset:"100%",stopColor:"#FFFFFF",stopOpacity:.1})]})}),Object(h.jsx)(p.a,{tick:{fill:"#FFFFFF"},stroke:"#BFBECF",dataKey:"name",ticks:[n,a]}),Object(h.jsx)(u.a,{tick:{fill:"#FFFFFF"},stroke:"#BFBECF",ticks:c}),Object(h.jsx)(y.a,{content:Object(h.jsx)(F,{})}),Object(h.jsx)(g.a,{dot:!1,strokeWidth:2,data:e,fill:"url(#colorUv)",dataKey:"value",stroke:"#FFFFFF"})]})})})},w=Object(i.memo)(v),G=n(78),k=n(364),B=n(190),E=function(t){var e=Math.PI/180,n=t.cx,a=t.cy,i=t.midAngle,c=t.innerRadius,r=t.outerRadius,s=t.startAngle,o=t.endAngle,l=(t.fill,t.payload,t.percent,t.value),j=t.name,d=t.color,x=t.font_color,f=Math.sin(-e*i),b=Math.cos(-e*i),O=n+(r+10)*b,m=a+(r+10)*f,p=n+(r+30)*b,u=a+(r+30)*f,y=p+22*(b>=0?1:-1),g=u,F=b>=0?"start":"end";return Object(h.jsxs)("g",{children:[Object(h.jsx)(G.a,{cx:n,cy:a,innerRadius:c,outerRadius:r,startAngle:s,endAngle:o,fill:d}),Object(h.jsx)(G.a,{cx:n,cy:a,startAngle:s,endAngle:o,innerRadius:r+6,outerRadius:r+10,fill:d}),Object(h.jsx)("path",{d:"M".concat(O,",").concat(m,"L").concat(p,",").concat(u,"L").concat(y,",").concat(g),stroke:d,fill:"none"}),Object(h.jsx)("circle",{cx:y,cy:g,r:2,fill:d,stroke:"none"}),Object(h.jsx)("text",{x:y+12*(b>=0?1:-1),y:g,style:{fontWeight:"bold"},textAnchor:F,fill:x,children:"".concat(j)}),Object(h.jsx)("text",{x:y+12*(b>=0?1:-1),y:g,dy:18,textAnchor:F,fill:x,children:"".concat(l,"%")})]})},S=function(t){var e=t.data;t.color;return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(O.a,{width:"100%",height:300,children:Object(h.jsx)(k.a,{children:Object(h.jsx)(B.a,{activeIndex:Array.from({length:e.length},(function(t,e){return e-1+1})),activeShape:E,data:e,dataKey:"value",cx:"50%",cy:"50%",innerRadius:70,outerRadius:100,fill:"#82ca9d"})})})})},N=Object(i.memo)(S),C=n(362),A=n(197),L=n(102),R=n(68),z=function(t){t.x;var e=t.y,n=(t.width,t.height,t.name);t.fill;return Object(h.jsx)("text",{x:20,y:e+35,fill:"#fff",offset:15,height:55,textAnchor:"start",children:n<900?n+"*":n})},M=function(t){var e=t.data,n=Object(x.a)().t;return Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(O.a,{width:"100%",children:Object(h.jsxs)(C.a,{layout:"vertical",data:e,height:600,children:[Object(h.jsx)(p.a,{type:"number",dataKey:"value",axisLine:!1,tick:!1}),Object(h.jsx)(u.a,{dataKey:"name",type:"category",axisLine:!1,tick:!1}),Object(h.jsxs)(A.a,{dataKey:"value",children:[e.map((function(t,e){return Object(h.jsx)(L.a,{x:0,height:55,fill:e%2==0?"#706B88":"#453E61"},"cell-".concat(e))})),Object(h.jsx)(R.a,{dataKey:"name",content:z})]})]})}),Object(h.jsxs)("small",{children:["\xa0",n("one-term-only")]})]})},D=Object(i.memo)(M),P=function(t){var e=Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("svg",{width:"240px",height:"318px",viewBox:"0 0 240 318",version:"1.1",children:[Object(h.jsx)("title",{children:"sectors-2"}),Object(h.jsx)("desc",{children:"Created with Sketch."}),Object(h.jsx)("defs",{}),Object(h.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:Object(h.jsxs)("g",{id:"sectors-2",children:[Object(h.jsx)("circle",{cx:"94",cy:"102",r:"0","data-r":"85",id:"Fill-115",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"78",cy:"217",r:"0","data-r":"31",id:"Fill-116",fill:"#6BC1BA"}),Object(h.jsx)("circle",{cx:"96",cy:"265",r:"0","data-r":"21",id:"Fill-117",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"175",cy:"230",r:"0","data-r":"65",id:"Fill-118",fill:"#DAEEEB"}),Object(h.jsx)("g",{id:"Professional-Valuation-Services",className:"115",opacity:0,transform:"translate(41.000000, 83.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"18","font-weight":"300",children:Object(h.jsxs)("text",{id:"Professional-Valuati",children:[Object(h.jsx)("tspan",{x:"0.273",y:"14",children:e("pro.professional")}),Object(h.jsx)("tspan",{x:e("pro.valuation.x"),y:"35.6000073",children:e("pro.Valuation")}),Object(h.jsx)("tspan",{x:e("pro.services.x"),y:"57.2000146",children:e("pro.Services")})]})}),Object(h.jsx)("g",{id:"Financial-Services",className:"118",opacity:0,transform:"translate(117.000000, 224.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"13","font-weight":"300",children:Object(h.jsxs)("text",{children:[Object(h.jsx)("tspan",{x:"0.677",y:"10",children:e("pro.Financial Services")}),Object(h.jsx)("tspan",{x:"17.395",y:"25.6000053",children:e("pro.Industry")}),Object(h.jsx)("tspan",{x:"18.5585",y:"41.2000105",children:e("pro.Government")})]})}),Object(h.jsx)("g",{id:"Other",className:"116",opacity:0,transform:"translate(59.000000, 224.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"12","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.802",y:"10",children:e("pro.Other")})})}),Object(h.jsx)("g",{id:"50%",className:"115",opacity:0,transform:"translate(73.000000, 58.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{id:"49%",children:Object(h.jsx)("tspan",{x:"0.8076",y:"14.8007812",children:"49%"})})}),Object(h.jsx)("g",{id:"34%",className:"118",opacity:0,transform:"translate(154.000000, 201.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.5856",y:"14.800781",children:"36%"})})}),Object(h.jsx)("g",{id:"10%",className:"116",opacity:0,transform:"translate(59.000000, 204.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2997",y:"14.800781",children:"9%"})})}),Object(h.jsx)("g",{id:"Retired",className:"117",opacity:0,transform:"translate(76.000000, 308.000000)",fill:"#FFFFFF","font-family":"Gotham-ExtraLight, Gotham","font-size":"11","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0",y:"9",children:e("pro.Retired")})})}),Object(h.jsx)("g",{id:"6%",className:"117",opacity:0,transform:"translate(81.000000, 288.000000)",fill:"#FFFFFF","font-family":"Gotham-Medium, Gotham","font-size":"18","font-weight":"400",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2495",y:"14.800781",children:"6%"})})}),Object(h.jsx)("path",{className:"117",opacity:0,d:"M94.4777,289.2349 L94.4777,263.4129",id:"Stroke-210",stroke:"#FFFFFF","stroke-width":"0.5"})]})})]})})},V=Object(i.memo)(P),I=function(){var t=Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("svg",{width:"240px",height:"318px",viewBox:"0 0 240 318",version:"1.1",children:[Object(h.jsx)("title",{children:"sectors-2"}),Object(h.jsx)("desc",{children:"Created with Sketch."}),Object(h.jsx)("defs",{}),Object(h.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:Object(h.jsxs)("g",{id:"sectors-2",children:[Object(h.jsx)("circle",{cx:"94",cy:"102",r:"0","data-r":"85",id:"Fill-115",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"78",cy:"217",r:"0","data-r":"31",id:"Fill-116",fill:"#6BC1BA"}),Object(h.jsx)("circle",{cx:"96",cy:"265",r:"0","data-r":"21",id:"Fill-117",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"175",cy:"230",r:"0","data-r":"65",id:"Fill-118",fill:"#DAEEEB"}),Object(h.jsx)("g",{id:"Professional-Valuation-Services",className:"115",opacity:0,transform:(document.documentElement.lang,"translate(50.000000, 83.000000)"),fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"18","font-weight":"300",children:Object(h.jsxs)("text",{id:"Professional-Valuati",children:[Object(h.jsx)("tspan",{x:"0.273",y:"14",children:t("pro.professional")}),Object(h.jsx)("tspan",{x:t("pro.valuation.x"),y:"35.6000073",children:t("pro.Valuation")}),Object(h.jsx)("tspan",{x:t("pro.services.x"),y:"57.2000146",children:t("pro.Services")})]})}),Object(h.jsx)("g",{id:"Financial-Services",className:"118",opacity:0,transform:(document.documentElement.lang,"translate(125.000000, 224.000000)"),fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"13","font-weight":"300",children:Object(h.jsxs)("text",{children:[Object(h.jsx)("tspan",{x:"0.677",y:"10",children:t("pro.Financial Services")}),Object(h.jsx)("tspan",{x:"17.395",y:"25.6000053",children:t("pro.Industry")}),Object(h.jsx)("tspan",{x:"18.5585",y:"41.2000105",children:t("pro.Government")})]})}),Object(h.jsx)("g",{id:"Other",className:"116",opacity:0,transform:"fr-FR"===document.documentElement.lang?"translate(55.000000, 224.000000)":"translate(63.000000, 224.000000)",fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"10","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.802",y:"10",children:t("pro.Retired")})})}),Object(h.jsx)("g",{id:"50%",className:"115",opacity:0,transform:"translate(73.000000, 58.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{id:"49%",children:Object(h.jsx)("tspan",{x:"0.8076",y:"14.8007812",children:"50%"})})}),Object(h.jsx)("g",{id:"34%",className:"118",opacity:0,transform:"translate(154.000000, 201.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.5856",y:"14.800781",children:"39%"})})}),Object(h.jsx)("g",{id:"10%",className:"116",opacity:0,transform:"translate(66.000000, 204.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"18","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2997",y:"14.800781",children:"7%"})})}),Object(h.jsx)("g",{id:"Retired",className:"117",opacity:0,transform:"translate(76.000000, 308.000000)",fill:"#FFFFFF","font-family":"Gotham-ExtraLight, Gotham","font-size":"11","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0",y:"9",children:t("pro.Other")})})}),Object(h.jsx)("g",{id:"6%",className:"117",opacity:0,transform:"translate(81.000000, 288.000000)",fill:"#FFFFFF","font-family":"Gotham-Medium, Gotham","font-size":"18","font-weight":"400",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2495",y:"14.800781",children:"4%"})})}),Object(h.jsx)("path",{className:"117",opacity:0,d:"M94.4777,289.2349 L94.4777,263.4129",id:"Stroke-210",stroke:"#FFFFFF","stroke-width":"0.5"})]})})]})})},K=Object(i.memo)(I),J=function(){var t=Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("svg",{width:"1024px",height:"400px",viewBox:"0 0 1024 400",version:"1.1",children:[Object(h.jsx)("title",{children:"sectors-2"}),Object(h.jsx)("desc",{children:"Created with Sketch."}),Object(h.jsx)("defs",{}),Object(h.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:Object(h.jsxs)("g",{id:"sectors-2",children:[Object(h.jsx)("circle",{cx:"450",cy:"152",r:"15","data-r":"15",id:"Fill-115",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"570",cy:"165",r:"6","data-r":"6",id:"Fill-116",fill:"#6BC1BA"}),Object(h.jsx)("circle",{cx:"600",cy:"225",r:"6","data-r":"6",id:"Fill-117",fill:"#A4D6CF"}),Object(h.jsx)("circle",{cx:"505",cy:"270",r:"10","data-r":"10",id:"Fill-118",fill:"#DAEEEB"}),Object(h.jsx)("g",{id:"Professional-Valuation-Services",className:"115",opacity:0,transform:"fr-FR"===document.documentElement.lang?"translate(0.000000, 160.000000)":"translate(30.000000, 160.000000)",fill:"#1B193F","font-family":"Gotham-Book, Gotham","font-size":"18","font-weight":"300",children:Object(h.jsxs)("text",{id:"Professional-Valuati",children:[Object(h.jsx)("tspan",{x:"0",y:"0",children:t("pro.professional")}),Object(h.jsx)("tspan",{x:"fr-FR"===document.documentElement.lang?"78":"115",y:"0",children:t("pro.Valuation")}),Object(h.jsx)("tspan",{x:"fr-FR"===document.documentElement.lang?"210":"205",y:"0",children:t("pro.Services")})]})}),Object(h.jsx)("g",{id:"Financial-Services",className:"118",opacity:0,transform:(document.documentElement.lang,"translate(175.000000, 262.000000)"),fill:"#1B193F","font-family":"Gotham-Book, Gotham","font-size":"17","font-weight":"300",children:Object(h.jsxs)("text",{children:[Object(h.jsx)("tspan",{x:"fr-FR"===document.documentElement.lang?"50":"0",y:"0",children:t("pro.Financial Services")}),Object(h.jsx)("tspan",{x:"85",y:"25",children:t("pro.Government")})]})}),Object(h.jsx)("g",{id:"Other",className:"116",opacity:0,transform:(document.documentElement.lang,"translate(710.000000, 218.000000)"),fill:"#1B193F","font-family":"Gotham-ExtraLight, Gotham","font-size":"16","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.802",y:"10",children:t("pro.Retired")})})}),Object(h.jsx)("g",{id:"50%",class:"115",opacity:0,transform:"translate(415.000000, 165.000000)",fill:"#221D58","font-family":"Gotham-Bold, Gotham","font-size":"36","font-weight":"bold",children:Object(h.jsx)("text",{id:"49%",children:Object(h.jsx)("tspan",{x:"0",y:"0",children:"52%"})})}),Object(h.jsx)("g",{id:"34%",class:"118",opacity:0,transform:"translate(470, 265)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"34","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.5856",y:"14.800781",children:"41%"})})}),Object(h.jsx)("g",{id:"10%",class:"116",opacity:0,transform:"translate(557.000000, 158.000000)",fill:"#1B193F","font-family":"Gotham-Bold, Gotham","font-size":"22","font-weight":"bold",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2997",y:"14.800781",children:"4%"})})}),Object(h.jsx)("g",{id:"Retired",className:"117",opacity:0,transform:"translate(695.000000, 160.000000)",fill:"#FFFFFF","font-family":"Gotham-Bold, Gotham","font-size":"16","font-weight":"300",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0",y:"9",children:t("pro.Other")})})}),Object(h.jsx)("g",{id:"6%",class:"117",opacity:0,transform:"translate(585.000000, 218.000000)",fill:"#221D58","font-family":"Gotham-Bold, Gotham","font-size":"22","font-weight":"700",children:Object(h.jsx)("text",{children:Object(h.jsx)("tspan",{x:"0.2495",y:"14.800781",children:"3%"})})}),Object(h.jsx)("path",{class:"115-line",opacity:0,d:"M320,155 L390,155",id:"Stroke-210",stroke:"#AED5CF","stroke-width":"1.5"}),Object(h.jsx)("path",{class:"118-line",opacity:0,d:"M410,270 L460,270",id:"Stroke-210",stroke:"#DEEDEB","stroke-width":"1.5"}),Object(h.jsx)("path",{class:"116-line",opacity:0,d:"M680,165 L595,165",id:"Stroke-210",stroke:"#7FBFBA","stroke-width":"1.5"}),Object(h.jsx)("path",{class:"117-line",opacity:0,d:"M700,225 L625,225",id:"Stroke-210",stroke:"#AED5CF","stroke-width":"1.5"})]})})]})})},T=Object(i.memo)(J),U=function(t){t.x;var e=t.y,n=(t.width,t.height,t.name);t.fill;return Object(h.jsx)("text",{x:20,y:e+30,fill:"#fff",offset:15,height:55,textAnchor:"start",children:n<900?n+"*":n})},W=function(t){var e=t.data;Object(x.a)().t;return Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(O.a,{width:"100%",children:Object(h.jsxs)(C.a,{layout:"vertical",data:e,height:600,children:[Object(h.jsx)(p.a,{type:"number",dataKey:"value",axisLine:!1,tick:!1}),Object(h.jsx)(u.a,{dataKey:"name",type:"category",axisLine:!1,tick:!1}),Object(h.jsxs)(A.a,{dataKey:"value",children:[e.map((function(t,e){return Object(h.jsx)(L.a,{x:0,height:45,fill:e%2==0?"#6AC9C8":"#b0e0df"},"cell-".concat(e))})),Object(h.jsx)(R.a,{dataKey:"name",content:U})]})]})})})},q=Object(i.memo)(W);function Q(t){var e=Object(i.useState)(""),n=Object(a.a)(e,2),c=n[0],r=n[1],o=Object(i.useState)(t.countries),l=Object(a.a)(o,1)[0];return Object(h.jsxs)("div",{children:[Object(h.jsx)(b,{setTooltipContent:r,countries:l}),Object(h.jsx)(s.a,{backgroundColor:"#715f8a",textColor:"white",children:c})]})}function Y(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0];return Object(h.jsx)("div",{children:Object(h.jsx)(w,{data:n})})}function _(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0],c=Object(i.useState)(t.color),r=Object(a.a)(c,1)[0];return Object(h.jsx)(N,{data:n,color:r})}function H(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0];return Object(h.jsx)(q,{data:n})}function X(t){var e=Object(i.useState)(t.data),n=Object(a.a)(e,1)[0];return Object(h.jsx)(D,{data:n})}function Z(t){return Object(h.jsx)(V,{})}function $(t){return Object(h.jsx)(K,{})}function tt(t){return Object(h.jsx)(T,{})}window.renderGlobe=function(t){r.a.render(Object(h.jsx)(Q,{countries:JSON.parse(t.dataset.countries)}),t)},window.renderGraph=function(t){r.a.render(Object(h.jsx)(Y,{data:JSON.parse(t.dataset.points)}),t)},window.renderPI=function(t){r.a.render(Object(h.jsx)(_,{color:t.dataset.color,data:JSON.parse(t.dataset.points)}),t)},window.renderBarChart2021=function(t){r.a.render(Object(h.jsx)(H,{data:JSON.parse(t.dataset.points)}),t)},window.renderBarChart=function(t){r.a.render(Object(h.jsx)(X,{data:JSON.parse(t.dataset.points)}),t)},window.renderProgression=function(t){r.a.render(Object(h.jsx)(Z,{}),t)},window.renderProgression2021=function(t){r.a.render(Object(h.jsx)($,{}),t)},window.renderProgression2022=function(t){r.a.render(Object(h.jsx)(tt,{}),t)}}},[[353,1,2]]]); | ||
| 2 | //# sourceMappingURL=main.a7bb4a96.chunk.js.map | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | {"version":3,"sources":["i18n.js","MapChart.js","GraphChart.js","PiChart.js","BarChart.js","ProgressionChart.js","ProgressionChart2021.js","ProgressionChart2022.js","BarChart2021.js","index.js"],"names":["i18n","use","LanguageDetector","initReactI18next","init","detection","order","lookupCookie","lookupLocalStorage","lookupSessionStorage","caches","debug","fallbackLng","interpolation","escapeValue","resources","en","translation","fr","MapChart","setTooltipContent","countries","useTranslation","t","data-tip","projection","geography","geographies","map","geo","found","i","length","cprop","properties","indexOf","name","NICENAME","style","default","fill","outline","stroke","strokeWidth","hover","pressed","onMouseEnter","onMouseLeave","rsmKey","memo","CustomTooltip","active","payload","label","className","GraphChart","data","first_val","last_val","ticks","Math","floor","tick_array","push","ResponsiveContainer","width","height","AreaChart","id","x1","y1","x2","y2","offset","stopColor","stopOpacity","XAxis","tick","dataKey","YAxis","Tooltip","content","Area","dot","renderActiveShape","props","RADIAN","PI","cx","cy","midAngle","innerRadius","outerRadius","startAngle","endAngle","value","percent","color","font_color","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","Sector","d","r","x","y","fontWeight","dy","PiChart","PieChart","Pie","activeIndex","Array","from","_","activeShape","renderCustomizedLabel","CBVBars","BarChart","layout","type","axisLine","Bar","entry","index","Cell","LabelList","ProgressionChart","viewBox","version","stroke-width","fill-rule","data-r","opacity","transform","font-family","font-size","font-weight","ProgressionChart2021","document","documentElement","lang","ProgressionChart2022","class","renderCustomizedLabel2021","CBVBars2021","CBVGlobe","useState","setContent","backgroundColor","textColor","CBVGraph","CBVPI","CBVBarChart2021","CBVBarChart","CBVProgression","CBVProgression2021","CBVProgression2022","window","renderGlobe","el","ReactDOM","render","JSON","parse","dataset","renderGraph","points","renderPI","renderBarChart2021","renderBarChart","renderProgression","renderProgression2021","renderProgression2022"],"mappings":"4LAKAA,IAGGC,IAA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AAaP,IAU5EF,OAAOY,eAAiB,SAACV,GACvBC,IAASC,OAAO,cAACR,EAAD,CAAazG,KAAMkH,KAAKC,MAAMJ,EAAGK,QAAQE,UAAaP,IASxEF,OAAOa,kBAAoB,SAACX,GAC1BC,IAASC,OAAO,cAACP,EAAD,IAAoBK,IAStCF,OAAOc,sBAAwB,SAACZ,GAC9BC,IAASC,OAAO,cAACN,EAAD,IAAwBI,IAS1CF,OAAOe,sBAAwB,SAACb,GAC9BC,IAASC,OAAO,cAACL,GAAD,IAAwBG,M","file":"static/js/main.a7bb4a96.chunk.js","sourcesContent":["import i18n from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport LanguageDetector from 'i18next-browser-languagedetector';\n\n\ni18n\n // detect user language\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(LanguageDetector)\n // pass the i18n instance to react-i18next.\n .use(initReactI18next)\n // init i18next\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n detection: {\n order: ['querystring'],\n \"lookupQuerystring\": 'lang',\n lookupCookie: '',\n lookupLocalStorage: '',\n lookupSessionStorage: '',\n caches: [],\n },\n debug: false,\n fallbackLng: 'en',\n interpolation: {\n escapeValue: false, // not needed for react as it escapes by default\n },\n resources: {\n en: {\n translation: {\n \"one-term-only\":\"* ONE TERM ONLY\",\n \"pro.valuation.x\":\"11.991\",\n \"pro.services.x\":\"16.401\",\n \"pro.professional\":\"Professional\",\n \"pro.Valuation\":\"Valuation\",\n \"pro.Services\":\"Services\",\n \"pro.Financial Services\":\"Financial Services, Industry\",\n \"pro.Industry\":\"Industry\",\n \"pro.Government\":\"and Government\",\n \"pro.Retired\":\"Retired\",\n \"charts.members\":\"Members\",\n \"pro.Other\":\"Other\",\n }\n },\n fr: {\n translation: {\n \"pro.valuation.x\":\"0\",\n \"pro.services.x\":\"0\",\n \"one-term-only\":\"*UN TRIMESTRE SEULEMENT\",\n \"pro.professional\":\"Services\",\n \"pro.Valuation\":\"professionnels\",\n \"pro.Services\":\"d’évaluation\",\n \"pro.Financial Services\":\"Services financiers,\",\n \"pro.Industry\":\"industrie, et\",\n \"pro.Government\":\"gouvernement\",\n \"pro.Retired\":\"À la retraite\",\n \"charts.members\":\"Membres\",\n \"pro.Other\":\"Autres\",\n } \n }\n }\n });\n\nexport default i18n;","import React, { memo } from \"react\";\nimport {\n ComposableMap,\n Geographies,\n Geography\n} from \"react-simple-maps\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst geoUrl =\n// \"http://arreport.test/world-110m.json\";\n \"https://yearinreview.cbvinstitute.com/world-110m.json\";\n\n\nconst MapChart = ({ setTooltipContent, countries }) => {\n\n const { t } = useTranslation();\n\n return (\n <>\n <ComposableMap data-tip=\"\" projection=\"geoMercator\" >\n <Geographies geography={geoUrl}>\n {({ geographies }) =>\n geographies.map(geo => { \n var found = false;\n for(var i = 0;i < countries.length;++i) {\n for(const cprop in geo.properties) {\n if(typeof geo.properties[cprop].indexOf == 'function' && geo.properties[cprop].indexOf(countries[i].name) !== -1) {\n geo.properties.NICENAME = countries[i].name \n found = true;\n break;\n }\n }\n }\n\n var style = {};\n\n if(found) {\n style = {\n default: {\n fill: \"#5CBFBC\",\n outline: \"#0F1647\",\n stroke: \"#0F1647\",\n strokeWidth: \"0.25px\"\n },\n hover: {\n fill: \"white\",\n outline: \"none\"\n }\n }\n } else {\n style = {\n default: {\n fill: \"#594D78\",\n outline: \"none\",\n },\n hover: {\n fill: \"#594D78\",\n outline: \"none\"\n },\n pressed: {\n fill: \"#594D78\",\n outline: \"none\"\n }\n }\n }\n \n return (\n <Geography\n key={geo.rsmKey}\n geography={geo}\n onMouseEnter={() => {\n if(found) {\n const { NICENAME } = geo.properties;\n setTooltipContent(`${NICENAME}`);\n }\n }}\n onMouseLeave={() => {\n setTooltipContent(\"\");\n }}\n style={style}\n />\n ) } )\n }\n </Geographies>\n </ComposableMap>\n </>\n );\n};\n\nexport default memo(MapChart);\n","import React, { memo } from \"react\";\nimport { AreaChart, Area, XAxis, YAxis, Tooltip, ResponsiveContainer } from 'recharts';\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst CustomTooltip = ({ active, payload, label }) => {\n\n const { t } = useTranslation();\n\n if (active && payload && payload.length) {\n return (\n <div className=\"custom-tooltip\">\n <p className=\"label\" style={ {'color':'#221d58'} } >{`${label}`}</p>\n </div>\n );\n }\n\n return null;\n};\n\nconst GraphChart = ({ data }) => {\n var first_val = data[0]['name'];\n var last_val = data[data.length - 1]['name'];\n\n var ticks = Math.floor(last_val / 500);\n var tick_array = [];\n for(var i = 0;i < ticks;++i) {\n tick_array.push((i+1) * 500);\n }\n return (\n <>\n <ResponsiveContainer width={'99%'} height={475}>\n <AreaChart>\n <defs>\n <linearGradient id=\"colorUv\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop offset=\"0%\" stopColor=\"#b4eded\" stopOpacity={1}/>\n <stop offset=\"100%\" stopColor=\"#FFFFFF\" stopOpacity={0.1}/>\n </linearGradient>\n </defs>\n <XAxis tick={{ fill: '#FFFFFF' }} stroke=\"#BFBECF\" dataKey=\"name\" ticks={[first_val, last_val]} />\n <YAxis tick={{ fill: '#FFFFFF' }} stroke=\"#BFBECF\" ticks={tick_array} />\n <Tooltip content={<CustomTooltip />} />\n <Area dot={false} strokeWidth={2} data={ data } fill=\"url(#colorUv)\" dataKey=\"value\" stroke=\"#FFFFFF\" />\n </AreaChart></ResponsiveContainer>\n </>\n )\n}\n\nexport default memo(GraphChart);","import React, { memo } from \"react\";\nimport { Pie, PieChart, Sector, ResponsiveContainer } from 'recharts';\n\nconst renderActiveShape = (props) => {\n\n const RADIAN = Math.PI / 180;\n const { cx, cy, midAngle, innerRadius, outerRadius, startAngle, endAngle, fill, payload, percent, value, name, color, font_color } = props;\n const sin = Math.sin(-RADIAN * midAngle);\n const cos = Math.cos(-RADIAN * midAngle);\n const sx = cx + (outerRadius + 10) * cos;\n const sy = cy + (outerRadius + 10) * sin;\n const mx = cx + (outerRadius + 30) * cos;\n const my = cy + (outerRadius + 30) * sin;\n const ex = mx + (cos >= 0 ? 1 : -1) * 22;\n const ey = my;\n const textAnchor = cos >= 0 ? 'start' : 'end';\n\n return (\n <g>\n <Sector\n cx={cx}\n cy={cy}\n innerRadius={innerRadius}\n outerRadius={outerRadius}\n startAngle={startAngle}\n endAngle={endAngle}\n fill={color}\n />\n <Sector\n cx={cx}\n cy={cy}\n startAngle={startAngle}\n endAngle={endAngle}\n innerRadius={outerRadius + 6}\n outerRadius={outerRadius + 10}\n fill={color}\n />\n <path d={`M${sx},${sy}L${mx},${my}L${ex},${ey}`} stroke={color} fill=\"none\" />\n <circle cx={ex} cy={ey} r={2} fill={color} stroke=\"none\" />\n <text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} style={{fontWeight:'bold'}} textAnchor={textAnchor} fill={font_color}>{`${name}`}</text>\n <text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} dy={18} textAnchor={textAnchor} fill={font_color}>\n {`${(value)}%`}\n </text>\n </g>\n );\n};\n\nconst PiChart = ({ data, color }) => {\n return (\n <>\n <ResponsiveContainer width={'100%'} height={300}><PieChart>\n <Pie \n activeIndex={Array.from({length: data.length}, (_, i) => (i-1) + 1)}\n activeShape={renderActiveShape}\n data={ data } dataKey=\"value\" cx=\"50%\" cy=\"50%\" innerRadius={70} outerRadius={100} fill=\"#82ca9d\" />\n </PieChart></ResponsiveContainer>\n </>\n )\n}\n\nexport default memo(PiChart);","import React, { memo } from \"react\";\nimport { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts';\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst renderCustomizedLabel = (props) => {\n const {\n x, y, width, height, name, fill\n } = props;\n\n return (\n <text x={20} y={y + 35} fill={\"#fff\"} offset={15} height={55} textAnchor=\"start\">\n {(name < 900)?name+\"*\":name}\n </text>\n );\n };\n\nconst CBVBars = ({ data }) => {\n\n const { t } = useTranslation();\n \n return (\n <>\n <ResponsiveContainer width={'100%'} >\n <BarChart layout=\"vertical\" data={ data } height={600}>\n <XAxis type=\"number\" dataKey=\"value\" axisLine={false} tick={false} /> \n <YAxis dataKey=\"name\" type=\"category\" axisLine={false} tick={false}/>\n <Bar dataKey=\"value\">\n {\n data.map((entry, index) => (\n <Cell x={0} height={55} key={`cell-${index}`} fill={(index % 2 == 0)?\"#706B88\":\"#453E61\"} />\n ))\n }\n <LabelList dataKey=\"name\" content={renderCustomizedLabel} />\n </Bar>\n </BarChart>\n </ResponsiveContainer>\n <small> {t(\"one-term-only\")}</small>\n </>\n )\n}\n\nexport default memo(CBVBars);","import React, { memo } from \"react\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst ProgressionChart = (props) => {\n\n const { t } = useTranslation();\n \n return (\n <>\n <svg width=\"240px\" height=\"318px\" viewBox=\"0 0 240 318\" version=\"1.1\">\n <title>sectors-2</title>\n <desc>Created with Sketch.</desc>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"sectors-2\">\n <circle cx=\"94\" cy=\"102\" r=\"0\" data-r=\"85\" id=\"Fill-115\" fill=\"#A4D6CF\" ></circle>\n <circle cx=\"78\" cy=\"217\" r=\"0\" data-r=\"31\" id=\"Fill-116\" fill=\"#6BC1BA\"></circle>\n <circle cx=\"96\" cy=\"265\" r=\"0\" data-r=\"21\" id=\"Fill-117\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"175\" cy=\"230\" r=\"0\" data-r=\"65\" id=\"Fill-118\" fill=\"#DAEEEB\"></circle>\n <g id=\"Professional-Valuation-Services\" className=\"115\" opacity={0} transform=\"translate(41.000000, 83.000000)\" fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"18\" font-weight=\"300\">\n <text id=\"Professional-Valuati\">\n <tspan x=\"0.273\" y=\"14\">{t('pro.professional')}</tspan>\n <tspan x={t('pro.valuation.x')} y=\"35.6000073\">{t('pro.Valuation')}</tspan>\n <tspan x={t('pro.services.x')} y=\"57.2000146\">{t('pro.Services')}</tspan>\n </text>\n </g>\n <g id=\"Financial-Services\" className=\"118\" opacity={0} transform=\"translate(117.000000, 224.000000)\" fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"13\" font-weight=\"300\">\n <text>\n <tspan x=\"0.677\" y=\"10\">{t('pro.Financial Services')}</tspan>\n <tspan x=\"17.395\" y=\"25.6000053\">{t('pro.Industry')}</tspan>\n <tspan x=\"18.5585\" y=\"41.2000105\">{t('pro.Government')}</tspan>\n </text>\n </g>\n <g id=\"Other\" className=\"116\" opacity={0} transform=\"translate(59.000000, 224.000000)\" fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"12\" font-weight=\"300\">\n <text>\n <tspan x=\"0.802\" y=\"10\">{t('pro.Other')}</tspan>\n </text>\n </g>\n <g id=\"50%\" className=\"115\" opacity={0} transform=\"translate(73.000000, 58.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text id=\"49%\">\n <tspan x=\"0.8076\" y=\"14.8007812\">49%</tspan>\n </text>\n </g>\n <g id=\"34%\" className=\"118\" opacity={0} transform=\"translate(154.000000, 201.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.5856\" y=\"14.800781\">36%</tspan>\n </text>\n </g>\n <g id=\"10%\" className=\"116\" opacity={0} transform=\"translate(59.000000, 204.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.2997\" y=\"14.800781\">9%</tspan>\n </text>\n </g>\n <g id=\"Retired\" className=\"117\" opacity={0} transform=\"translate(76.000000, 308.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"11\" font-weight=\"300\">\n <text>\n <tspan x=\"0\" y=\"9\">{t('pro.Retired')}</tspan>\n </text>\n </g>\n <g id=\"6%\" className=\"117\" opacity={0} transform=\"translate(81.000000, 288.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-Medium, Gotham\" font-size=\"18\" font-weight=\"400\">\n <text>\n <tspan x=\"0.2495\" y=\"14.800781\">6%</tspan>\n </text>\n </g>\n <path className=\"117\" opacity={0} d=\"M94.4777,289.2349 L94.4777,263.4129\" id=\"Stroke-210\" stroke=\"#FFFFFF\" stroke-width=\"0.5\"></path>\n </g>\n </g>\n </svg>\n </>\n )\n}\n\nexport default memo(ProgressionChart);","import React, { memo } from \"react\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst ProgressionChart2021 = () => {\n\n const { t } = useTranslation();\n\n return (\n <>\n <svg width=\"240px\" height=\"318px\" viewBox=\"0 0 240 318\" version=\"1.1\">\n <title>sectors-2</title>\n <desc>Created with Sketch.</desc>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"sectors-2\">\n <circle cx=\"94\" cy=\"102\" r=\"0\" data-r=\"85\" id=\"Fill-115\" fill=\"#A4D6CF\" ></circle>\n <circle cx=\"78\" cy=\"217\" r=\"0\" data-r=\"31\" id=\"Fill-116\" fill=\"#6BC1BA\"></circle>\n <circle cx=\"96\" cy=\"265\" r=\"0\" data-r=\"21\" id=\"Fill-117\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"175\" cy=\"230\" r=\"0\" data-r=\"65\" id=\"Fill-118\" fill=\"#DAEEEB\"></circle>\n <g id=\"Professional-Valuation-Services\" className=\"115\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(50.000000, 83.000000)\" : \"translate(50.000000, 83.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"18\" font-weight=\"300\">\n <text id=\"Professional-Valuati\">\n <tspan x=\"0.273\" y=\"14\">{t('pro.professional')}</tspan>\n <tspan x={t('pro.valuation.x')} y=\"35.6000073\">{t('pro.Valuation')}</tspan>\n <tspan x={t('pro.services.x')} y=\"57.2000146\">{t('pro.Services')}</tspan>\n </text>\n </g>\n <g id=\"Financial-Services\" className=\"118\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(125.000000, 224.000000)\" : \"translate(125.000000, 224.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"13\" font-weight=\"300\">\n <text>\n <tspan x=\"0.677\" y=\"10\">{t('pro.Financial Services')}</tspan>\n <tspan x=\"17.395\" y=\"25.6000053\">{t('pro.Industry')}</tspan>\n <tspan x=\"18.5585\" y=\"41.2000105\">{t('pro.Government')}</tspan>\n </text>\n </g>\n <g id=\"Other\" className=\"116\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(55.000000, 224.000000)\" : \"translate(63.000000, 224.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"10\" font-weight=\"300\">\n <text>\n <tspan x=\"0.802\" y=\"10\">{t('pro.Retired')}</tspan>\n </text>\n </g>\n <g id=\"50%\" className=\"115\" opacity={0} transform=\"translate(73.000000, 58.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text id=\"49%\">\n <tspan x=\"0.8076\" y=\"14.8007812\">50%</tspan>\n </text>\n </g>\n <g id=\"34%\" className=\"118\" opacity={0} transform=\"translate(154.000000, 201.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.5856\" y=\"14.800781\">39%</tspan>\n </text>\n </g>\n <g id=\"10%\" className=\"116\" opacity={0} transform=\"translate(66.000000, 204.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"18\" font-weight=\"bold\">\n <text>\n <tspan x=\"0.2997\" y=\"14.800781\">7%</tspan>\n </text>\n </g>\n <g id=\"Retired\" className=\"117\" opacity={0} transform=\"translate(76.000000, 308.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"11\" font-weight=\"300\">\n <text>\n <tspan x=\"0\" y=\"9\">{t('pro.Other')}</tspan>\n </text>\n </g>\n <g id=\"6%\" className=\"117\" opacity={0} transform=\"translate(81.000000, 288.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-Medium, Gotham\" font-size=\"18\" font-weight=\"400\">\n <text>\n <tspan x=\"0.2495\" y=\"14.800781\">4%</tspan>\n </text>\n </g>\n <path className=\"117\" opacity={0} d=\"M94.4777,289.2349 L94.4777,263.4129\" id=\"Stroke-210\" stroke=\"#FFFFFF\" stroke-width=\"0.5\"></path>\n </g>\n </g>\n </svg>\n </>\n )\n}\n\nexport default memo(ProgressionChart2021);","import React, { memo } from \"react\";\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst ProgressionChart2022 = () => {\n\n const { t } = useTranslation();\n\n return (\n <>\n <svg width=\"1024px\" height=\"400px\" viewBox=\"0 0 1024 400\" version=\"1.1\">\n <title>sectors-2</title>\n <desc>Created with Sketch.</desc>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"sectors-2\">\n <circle cx=\"450\" cy=\"152\" r=\"15\" data-r=\"15\" id=\"Fill-115\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"570\" cy=\"165\" r=\"6\" data-r=\"6\" id=\"Fill-116\" fill=\"#6BC1BA\"></circle>\n <circle cx=\"600\" cy=\"225\" r=\"6\" data-r=\"6\" id=\"Fill-117\" fill=\"#A4D6CF\"></circle>\n <circle cx=\"505\" cy=\"270\" r=\"10\" data-r=\"10\" id=\"Fill-118\" fill=\"#DAEEEB\"></circle>\n <g id=\"Professional-Valuation-Services\" className=\"115\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(0.000000, 160.000000)\" : \"translate(30.000000, 160.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-Book, Gotham\" font-size=\"18\" font-weight=\"300\">\n <text id=\"Professional-Valuati\">\n <tspan x=\"0\" y=\"0\">{t('pro.professional')}</tspan>\n <tspan x={document.documentElement.lang === \"fr-FR\" ? \"78\" : \"115\" } y=\"0\">{t('pro.Valuation')}</tspan>\n <tspan x={document.documentElement.lang === \"fr-FR\" ? \"210\" : \"205\" } y=\"0\">{t('pro.Services')}</tspan>\n </text>\n </g>\n <g id=\"Financial-Services\" className=\"118\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(175.000000, 262.000000)\" : \"translate(175.000000, 262.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-Book, Gotham\" font-size=\"17\" font-weight=\"300\">\n <text>\n <tspan x={document.documentElement.lang === \"fr-FR\" ? \"50\" : \"0\" } y=\"0\">{t('pro.Financial Services')}</tspan>\n <tspan x=\"85\" y=\"25\">{t('pro.Government')}</tspan>\n </text>\n </g>\n <g id=\"Other\" className=\"116\" opacity={0} transform={document.documentElement.lang === \"fr-FR\" ? \"translate(710.000000, 218.000000)\" : \"translate(710.000000, 218.000000)\" } fill=\"#1B193F\" font-family=\"Gotham-ExtraLight, Gotham\" font-size=\"16\" font-weight=\"300\">\n <text>\n <tspan x=\"0.802\" y=\"10\">{t('pro.Retired')}</tspan>\n </text>\n </g>\n <g id=\"50%\" class=\"115\" opacity={0} transform=\"translate(415.000000, 165.000000)\" fill=\"#221D58\" font-family=\"Gotham-Bold, Gotham\" font-size=\"36\" font-weight=\"bold\"><text id=\"49%\"><tspan x=\"0\" y=\"0\">52%</tspan></text></g>\n <g id=\"34%\" class=\"118\" opacity={0} transform=\"translate(470, 265)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"34\" font-weight=\"bold\"><text><tspan x=\"0.5856\" y=\"14.800781\">41%</tspan></text></g>\n <g id=\"10%\" class=\"116\" opacity={0} transform=\"translate(557.000000, 158.000000)\" fill=\"#1B193F\" font-family=\"Gotham-Bold, Gotham\" font-size=\"22\" font-weight=\"bold\"><text><tspan x=\"0.2997\" y=\"14.800781\">4%</tspan></text></g>\n <g id=\"Retired\" className=\"117\" opacity={0} transform=\"translate(695.000000, 160.000000)\" fill=\"#FFFFFF\" font-family=\"Gotham-Bold, Gotham\" font-size=\"16\" font-weight=\"300\">\n <text>\n <tspan x=\"0\" y=\"9\">{t('pro.Other')}</tspan>\n </text>\n </g>\n <g id=\"6%\" class=\"117\" opacity={0} transform=\"translate(585.000000, 218.000000)\" fill=\"#221D58\" font-family=\"Gotham-Bold, Gotham\" font-size=\"22\" font-weight=\"700\"><text><tspan x=\"0.2495\" y=\"14.800781\">3%</tspan></text></g>\n <path class=\"115-line\" opacity={0} d=\"M320,155 L390,155\" id=\"Stroke-210\" stroke=\"#AED5CF\" stroke-width=\"1.5\"></path>\n <path class=\"118-line\" opacity={0} d=\"M410,270 L460,270\" id=\"Stroke-210\" stroke=\"#DEEDEB\" stroke-width=\"1.5\"></path>\n <path class=\"116-line\" opacity={0} d=\"M680,165 L595,165\" id=\"Stroke-210\" stroke=\"#7FBFBA\" stroke-width=\"1.5\"></path>\n <path class=\"117-line\" opacity={0} d=\"M700,225 L625,225\" id=\"Stroke-210\" stroke=\"#AED5CF\" stroke-width=\"1.5\"></path>\n </g>\n </g>\n </svg>\n </>\n )\n}\n\nexport default memo(ProgressionChart2022);","import React, { memo } from \"react\";\nimport { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts';\nimport { useTranslation, Trans } from 'react-i18next';\n\nconst renderCustomizedLabel2021 = (props) => {\n const {\n x, y, width, height, name, fill\n } = props;\n\n return (\n <text x={20} y={y + 30} fill={\"#fff\"} offset={15} height={55} textAnchor=\"start\">\n {(name < 900)?name+\"*\":name}\n </text>\n );\n };\n\nconst CBVBars2021 = ({ data }) => {\n\n const { t } = useTranslation();\n \n return (\n <>\n <ResponsiveContainer width={'100%'} >\n <BarChart layout=\"vertical\" data={ data } height={600}>\n <XAxis type=\"number\" dataKey=\"value\" axisLine={false} tick={false} /> \n <YAxis dataKey=\"name\" type=\"category\" axisLine={false} tick={false}/>\n <Bar dataKey=\"value\">\n {\n data.map((entry, index) => (\n <Cell x={0} height={45} key={`cell-${index}`} fill={(index % 2 == 0)?\"#6AC9C8\":\"#b0e0df\"} />\n ))\n }\n <LabelList dataKey=\"name\" content={renderCustomizedLabel2021} />\n </Bar>\n </BarChart>\n </ResponsiveContainer>\n </>\n )\n}\n\nexport default memo(CBVBars2021);","import React, { useState } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport ReactTooltip from \"react-tooltip\";\n\nimport './i18n';\nimport MapChart from \"./MapChart\";\nimport GraphChart from \"./GraphChart\";\nimport PiChart from './PiChart';\nimport CBVBars from './BarChart';\nimport ProgressionChart from './ProgressionChart';\nimport ProgressionChart2021 from './ProgressionChart2021';\nimport ProgressionChart2022 from './ProgressionChart2022';\nimport CBVBars2021 from './BarChart2021';\n\nfunction CBVGlobe(props) {\n const [content, setContent] = useState(\"\");\n const [countries] = useState(props.countries);\n return (\n <div>\n <MapChart setTooltipContent={setContent} countries={countries} />\n <ReactTooltip backgroundColor=\"#715f8a\" textColor=\"white\">{content}</ReactTooltip>\n </div>\n );\n}\n\nwindow.renderGlobe = (el) => {\n ReactDOM.render(<CBVGlobe countries={JSON.parse(el.dataset.countries)} />, el);\n}\n\n\nfunction CBVGraph(props) {\n const [data] = useState(props.data);\n return (\n <div>\n <GraphChart data={data} />\n </div>\n );\n}\n\nwindow.renderGraph = (el) => {\n ReactDOM.render(<CBVGraph data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVPI(props) {\n const [data] = useState(props.data);\n const [color] = useState(props.color);\n return (\n <PiChart data={data} color={color} />\n );\n}\n\nwindow.renderPI = (el) => {\n ReactDOM.render(<CBVPI color={el.dataset.color} data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVBarChart2021(props) {\n const [data] = useState(props.data);\n return (\n <CBVBars2021 data={data} />\n );\n}\n\nwindow.renderBarChart2021 = (el) => {\n ReactDOM.render(<CBVBarChart2021 data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVBarChart(props) {\n const [data] = useState(props.data);\n return (\n <CBVBars data={data} />\n );\n}\n\nwindow.renderBarChart = (el) => {\n ReactDOM.render(<CBVBarChart data={JSON.parse(el.dataset.points)} />, el);\n}\n\nfunction CBVProgression(props) {\n return (\n <ProgressionChart />\n );\n}\n\nwindow.renderProgression = (el) => {\n ReactDOM.render(<CBVProgression />, el);\n}\n\nfunction CBVProgression2021(props) {\n return (\n <ProgressionChart2021 />\n );\n}\n\nwindow.renderProgression2021 = (el) => {\n ReactDOM.render(<CBVProgression2021 />, el);\n}\n\nfunction CBVProgression2022(props) {\n return (\n <ProgressionChart2022 />\n );\n}\n\nwindow.renderProgression2022 = (el) => {\n ReactDOM.render(<CBVProgression2022 />, el);\n}"],"sourceRoot":""} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | !function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],p=0,s=[];p<f.length;p++)l=f[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonpcbv-globe"]=this["webpackJsonpcbv-globe"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var c=i;t()}([]); | ||
| 2 | //# sourceMappingURL=runtime-main.a933fda7.js.map | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
wp-content/themes/msf-child/blocks/react-app/build/static/js/runtime-main.a933fda7.js.map
0 → 100644
| 1 | {"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,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AAS,aAAc,CAAEe,OAAO,KAQvDnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQnB,EAAoBmB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKzC,OAAO0C,OAAO,MAGvB,GAFAxB,EAAoBgB,EAAEO,GACtBzC,OAAO+B,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOnB,EAAoBS,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRvB,EAAoB2B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoBS,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRX,EAAoBY,EAAI,SAASgB,EAAQC,GAAY,OAAO/C,OAAOC,UAAUC,eAAeC,KAAK2C,EAAQC,IAGzG7B,EAAoB8B,EAAI,IAExB,IAAIC,EAAaC,KAAK,yBAA2BA,KAAK,0BAA4B,GAC9EC,EAAmBF,EAAW5C,KAAKuC,KAAKK,GAC5CA,EAAW5C,KAAOf,EAClB2D,EAAaA,EAAWG,QACxB,IAAI,IAAIvD,EAAI,EAAGA,EAAIoD,EAAWlD,OAAQF,IAAKP,EAAqB2D,EAAWpD,IAC3E,IAAIU,EAAsB4C,EAI1BxC,I","file":"static/js/runtime-main.a933fda7.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = this[\"webpackJsonpcbv-globe\"] = this[\"webpackJsonpcbv-globe\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
| 1 | { | ||
| 2 | "name": "cbv-globe", | ||
| 3 | "version": "0.1.0", | ||
| 4 | "private": true, | ||
| 5 | "dependencies": { | ||
| 6 | "@testing-library/jest-dom": "^5.11.4", | ||
| 7 | "@testing-library/react": "^11.1.0", | ||
| 8 | "@testing-library/user-event": "^12.1.10", | ||
| 9 | "babel-loader": "8.1.0", | ||
| 10 | "i18next": "^20.3.1", | ||
| 11 | "i18next-browser-languagedetector": "^6.1.1", | ||
| 12 | "react": "^17.0.2", | ||
| 13 | "react-dom": "^17.0.2", | ||
| 14 | "react-i18next": "^11.10.0", | ||
| 15 | "react-scripts": "4.0.3", | ||
| 16 | "react-simple-maps": "2.1.2", | ||
| 17 | "react-spring": "^9.2.1", | ||
| 18 | "react-tooltip": "latest", | ||
| 19 | "react-visibility-sensor": "^5.1.1", | ||
| 20 | "recharts": "^2.0.9", | ||
| 21 | "web-vitals": "^1.0.1" | ||
| 22 | }, | ||
| 23 | "scripts": { | ||
| 24 | "start": "react-scripts start", | ||
| 25 | "build": "react-scripts build", | ||
| 26 | "test": "react-scripts test", | ||
| 27 | "eject": "react-scripts eject" | ||
| 28 | }, | ||
| 29 | "eslintConfig": { | ||
| 30 | "extends": [ | ||
| 31 | "react-app", | ||
| 32 | "react-app/jest" | ||
| 33 | ] | ||
| 34 | }, | ||
| 35 | "browserslist": { | ||
| 36 | "production": [ | ||
| 37 | ">0.2%", | ||
| 38 | "not dead", | ||
| 39 | "not op_mini all" | ||
| 40 | ], | ||
| 41 | "development": [ | ||
| 42 | "last 1 chrome version", | ||
| 43 | "last 1 firefox version", | ||
| 44 | "last 1 safari version" | ||
| 45 | ] | ||
| 46 | } | ||
| 47 | } |
| 1 | <svg width="768px" height="318px" viewBox="0 0 768 318" version="1.1"> | ||
| 2 | <title>sectors-2</title> | ||
| 3 | <desc>Created with Sketch.</desc> | ||
| 4 | <defs></defs> | ||
| 5 | <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
| 6 | <g id="sectors-2"> | ||
| 7 | <circle cx="300" cy="152" r="58" data-r="58" id="Fill-115" fill="#A4D6CF"></circle> | ||
| 8 | <circle cx="450" cy="150" r="24" data-r="24" id="Fill-116" fill="#6BC1BA"></circle> | ||
| 9 | <circle cx="470" cy="225" r="2425" data-r="24" id="Fill-117" fill="#A4D6CF"></circle> | ||
| 10 | <circle cx="375" cy="280" r="47" data-r="47" id="Fill-118" fill="#DAEEEB"></circle> | ||
| 11 | <g id="Professional-Valuation-Services" className="115" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(50.000000, 83.000000)" : "translate(50.000000, 83.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="18" font-weight="300"> | ||
| 12 | <text id="Professional-Valuati"> | ||
| 13 | <tspan x="0.273" y="14">{t('pro.professional')}</tspan> | ||
| 14 | <tspan x={t('pro.valuation.x')} y="35.6000073">{t('pro.Valuation')}</tspan> | ||
| 15 | <tspan x={t('pro.services.x')} y="57.2000146">{t('pro.Services')}</tspan> | ||
| 16 | </text> | ||
| 17 | </g> | ||
| 18 | <g id="Financial-Services" className="118" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(125.000000, 224.000000)" : "translate(125.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="13" font-weight="300"> | ||
| 19 | <text> | ||
| 20 | <tspan x="0.677" y="10">{t('pro.Financial Services')}</tspan> | ||
| 21 | <tspan x="17.395" y="25.6000053">{t('pro.Industry')}</tspan> | ||
| 22 | <tspan x="18.5585" y="41.2000105">{t('pro.Government')}</tspan> | ||
| 23 | </text> | ||
| 24 | </g> | ||
| 25 | <g id="Other" className="116" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(55.000000, 224.000000)" : "translate(63.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="10" font-weight="300"> | ||
| 26 | <text> | ||
| 27 | <tspan x="0.802" y="10">{t('pro.Retired')}</tspan> | ||
| 28 | </text> | ||
| 29 | </g> | ||
| 30 | <g id="50%" class="115" opacity="1" transform="translate(270.000000, 147.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="36" font-weight="bold" style="opacity: 1;"><text id="49%"><tspan x="0.8076" y="14.8007812">50%</tspan></text></g> | ||
| 31 | <g id="34%" class="118" opacity="1" transform="translate(345.000000, 275.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="34" font-weight="bold" style="opacity: 1;"><text><tspan x="0.5856" y="14.800781">39%</tspan></text></g> | ||
| 32 | <g id="10%" class="116" opacity="1" transform="translate(437.000000, 143.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="bold" style="opacity: 1;"><text><tspan x="0.2997" y="14.800781">3%</tspan></text></g> | ||
| 33 | <g id="Retired" className="117" opacity={0} transform="translate(76.000000, 308.000000)" fill="#FFFFFF" font-family="Gotham-ExtraLight, Gotham" font-size="11" font-weight="300"> | ||
| 34 | <text> | ||
| 35 | <tspan x="0" y="9">{t('pro.Other')}</tspan> | ||
| 36 | </text> | ||
| 37 | </g> | ||
| 38 | <g id="6%" class="117" opacity="1" transform="translate(455.000000, 217.000000)" fill="#221D58" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="700" style="opacity: 1;"><text><tspan x="0.2495" y="14.800781">3%</tspan></text></g> | ||
| 39 | <path className="117" opacity={0} d="M94.4777,289.2349 L94.4777,263.4129" id="Stroke-210" stroke="#FFFFFF" stroke-width="0.5"></path> | ||
| 40 | </g> | ||
| 41 | </g> | ||
| 42 | </svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | |||
| 4 | <head> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
| 7 | <meta name="theme-color" content="#000000"> | ||
| 8 | <!-- | ||
| 9 | manifest.json provides metadata used when your web app is added to the | ||
| 10 | homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/ | ||
| 11 | --> | ||
| 12 | <link rel="manifest" href="%PUBLIC_URL%/manifest.json"> | ||
| 13 | <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"> | ||
| 14 | <!-- | ||
| 15 | Notice the use of %PUBLIC_URL% in the tags above. | ||
| 16 | It will be replaced with the URL of the `public` folder during the build. | ||
| 17 | Only files inside the `public` folder can be referenced from the HTML. | ||
| 18 | |||
| 19 | Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will | ||
| 20 | work correctly both with client-side routing and a non-root public URL. | ||
| 21 | Learn how to configure a non-root public URL by running `npm run build`. | ||
| 22 | --> | ||
| 23 | <title>React App</title> | ||
| 24 | </head> | ||
| 25 | |||
| 26 | <body> | ||
| 27 | <noscript> | ||
| 28 | You need to enable JavaScript to run this app. | ||
| 29 | </noscript> | ||
| 30 | <div id="cbv-globe"></div> | ||
| 31 | <!-- | ||
| 32 | This HTML file is a template. | ||
| 33 | If you open it directly in the browser, you will see an empty page. | ||
| 34 | |||
| 35 | You can add webfonts, meta tags, or analytics to this file. | ||
| 36 | The build step will place the bundled scripts into the <body> tag. | ||
| 37 | |||
| 38 | To begin the development, run `npm start` or `yarn start`. | ||
| 39 | To create a production bundle, use `npm run build` or `yarn build`. | ||
| 40 | --> | ||
| 41 | </body> | ||
| 42 | |||
| 43 | <script> | ||
| 44 | window.renderProgression(document.getElementById('cbv-globe')); | ||
| 45 | </script> | ||
| 46 | |||
| 47 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
5.22 KB
9.44 KB
| 1 | { | ||
| 2 | "short_name": "React App", | ||
| 3 | "name": "Create React App Sample", | ||
| 4 | "icons": [ | ||
| 5 | { | ||
| 6 | "src": "favicon.ico", | ||
| 7 | "sizes": "64x64 32x32 24x24 16x16", | ||
| 8 | "type": "image/x-icon" | ||
| 9 | }, | ||
| 10 | { | ||
| 11 | "src": "logo192.png", | ||
| 12 | "type": "image/png", | ||
| 13 | "sizes": "192x192" | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "src": "logo512.png", | ||
| 17 | "type": "image/png", | ||
| 18 | "sizes": "512x512" | ||
| 19 | } | ||
| 20 | ], | ||
| 21 | "start_url": ".", | ||
| 22 | "display": "standalone", | ||
| 23 | "theme_color": "#000000", | ||
| 24 | "background_color": "#ffffff" | ||
| 25 | } |
This diff could not be displayed because it is too large.
| 1 | import React, { memo } from "react"; | ||
| 2 | import { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts'; | ||
| 3 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 4 | |||
| 5 | const renderCustomizedLabel = (props) => { | ||
| 6 | const { | ||
| 7 | x, y, width, height, name, fill | ||
| 8 | } = props; | ||
| 9 | |||
| 10 | return ( | ||
| 11 | <text x={20} y={y + 35} fill={"#fff"} offset={15} height={55} textAnchor="start"> | ||
| 12 | {(name < 900)?name+"*":name} | ||
| 13 | </text> | ||
| 14 | ); | ||
| 15 | }; | ||
| 16 | |||
| 17 | const CBVBars = ({ data }) => { | ||
| 18 | |||
| 19 | const { t } = useTranslation(); | ||
| 20 | |||
| 21 | return ( | ||
| 22 | <> | ||
| 23 | <ResponsiveContainer width={'100%'} > | ||
| 24 | <BarChart layout="vertical" data={ data } height={600}> | ||
| 25 | <XAxis type="number" dataKey="value" axisLine={false} tick={false} /> | ||
| 26 | <YAxis dataKey="name" type="category" axisLine={false} tick={false}/> | ||
| 27 | <Bar dataKey="value"> | ||
| 28 | { | ||
| 29 | data.map((entry, index) => ( | ||
| 30 | <Cell x={0} height={55} key={`cell-${index}`} fill={(index % 2 == 0)?"#706B88":"#453E61"} /> | ||
| 31 | )) | ||
| 32 | } | ||
| 33 | <LabelList dataKey="name" content={renderCustomizedLabel} /> | ||
| 34 | </Bar> | ||
| 35 | </BarChart> | ||
| 36 | </ResponsiveContainer> | ||
| 37 | <small> {t("one-term-only")}</small> | ||
| 38 | </> | ||
| 39 | ) | ||
| 40 | } | ||
| 41 | |||
| 42 | export default memo(CBVBars); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { BarChart, Bar, ResponsiveContainer, LabelList, XAxis, YAxis, Cell } from 'recharts'; | ||
| 3 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 4 | |||
| 5 | const renderCustomizedLabel2021 = (props) => { | ||
| 6 | const { | ||
| 7 | x, y, width, height, name, fill | ||
| 8 | } = props; | ||
| 9 | |||
| 10 | return ( | ||
| 11 | <text x={20} y={y + 30} fill={"#fff"} offset={15} height={55} textAnchor="start"> | ||
| 12 | {(name < 900)?name+"*":name} | ||
| 13 | </text> | ||
| 14 | ); | ||
| 15 | }; | ||
| 16 | |||
| 17 | const CBVBars2021 = ({ data }) => { | ||
| 18 | |||
| 19 | const { t } = useTranslation(); | ||
| 20 | |||
| 21 | return ( | ||
| 22 | <> | ||
| 23 | <ResponsiveContainer width={'100%'} > | ||
| 24 | <BarChart layout="vertical" data={ data } height={600}> | ||
| 25 | <XAxis type="number" dataKey="value" axisLine={false} tick={false} /> | ||
| 26 | <YAxis dataKey="name" type="category" axisLine={false} tick={false}/> | ||
| 27 | <Bar dataKey="value"> | ||
| 28 | { | ||
| 29 | data.map((entry, index) => ( | ||
| 30 | <Cell x={0} height={45} key={`cell-${index}`} fill={(index % 2 == 0)?"#6AC9C8":"#b0e0df"} /> | ||
| 31 | )) | ||
| 32 | } | ||
| 33 | <LabelList dataKey="name" content={renderCustomizedLabel2021} /> | ||
| 34 | </Bar> | ||
| 35 | </BarChart> | ||
| 36 | </ResponsiveContainer> | ||
| 37 | </> | ||
| 38 | ) | ||
| 39 | } | ||
| 40 | |||
| 41 | export default memo(CBVBars2021); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { AreaChart, Area, XAxis, YAxis, Tooltip, ResponsiveContainer } from 'recharts'; | ||
| 3 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 4 | |||
| 5 | const CustomTooltip = ({ active, payload, label }) => { | ||
| 6 | |||
| 7 | const { t } = useTranslation(); | ||
| 8 | |||
| 9 | if (active && payload && payload.length) { | ||
| 10 | return ( | ||
| 11 | <div className="custom-tooltip"> | ||
| 12 | <p className="label" style={ {'color':'#221d58'} } >{`${label}`}</p> | ||
| 13 | </div> | ||
| 14 | ); | ||
| 15 | } | ||
| 16 | |||
| 17 | return null; | ||
| 18 | }; | ||
| 19 | |||
| 20 | const GraphChart = ({ data }) => { | ||
| 21 | var first_val = data[0]['name']; | ||
| 22 | var last_val = data[data.length - 1]['name']; | ||
| 23 | |||
| 24 | var ticks = Math.floor(last_val / 500); | ||
| 25 | var tick_array = []; | ||
| 26 | for(var i = 0;i < ticks;++i) { | ||
| 27 | tick_array.push((i+1) * 500); | ||
| 28 | } | ||
| 29 | return ( | ||
| 30 | <> | ||
| 31 | <ResponsiveContainer width={'99%'} height={475}> | ||
| 32 | <AreaChart> | ||
| 33 | <defs> | ||
| 34 | <linearGradient id="colorUv" x1="0" y1="0" x2="0" y2="1"> | ||
| 35 | <stop offset="0%" stopColor="#b4eded" stopOpacity={1}/> | ||
| 36 | <stop offset="100%" stopColor="#FFFFFF" stopOpacity={0.1}/> | ||
| 37 | </linearGradient> | ||
| 38 | </defs> | ||
| 39 | <XAxis tick={{ fill: '#FFFFFF' }} stroke="#BFBECF" dataKey="name" ticks={[first_val, last_val]} /> | ||
| 40 | <YAxis tick={{ fill: '#FFFFFF' }} stroke="#BFBECF" ticks={tick_array} /> | ||
| 41 | <Tooltip content={<CustomTooltip />} /> | ||
| 42 | <Area dot={false} strokeWidth={2} data={ data } fill="url(#colorUv)" dataKey="value" stroke="#FFFFFF" /> | ||
| 43 | </AreaChart></ResponsiveContainer> | ||
| 44 | </> | ||
| 45 | ) | ||
| 46 | } | ||
| 47 | |||
| 48 | export default memo(GraphChart); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { | ||
| 3 | ComposableMap, | ||
| 4 | Geographies, | ||
| 5 | Geography | ||
| 6 | } from "react-simple-maps"; | ||
| 7 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 8 | |||
| 9 | const geoUrl = | ||
| 10 | // "http://arreport.test/world-110m.json"; | ||
| 11 | "https://yearinreview.cbvinstitute.com/world-110m.json"; | ||
| 12 | |||
| 13 | |||
| 14 | const MapChart = ({ setTooltipContent, countries }) => { | ||
| 15 | |||
| 16 | const { t } = useTranslation(); | ||
| 17 | |||
| 18 | return ( | ||
| 19 | <> | ||
| 20 | <ComposableMap data-tip="" projection="geoMercator" > | ||
| 21 | <Geographies geography={geoUrl}> | ||
| 22 | {({ geographies }) => | ||
| 23 | geographies.map(geo => { | ||
| 24 | var found = false; | ||
| 25 | for(var i = 0;i < countries.length;++i) { | ||
| 26 | for(const cprop in geo.properties) { | ||
| 27 | if(typeof geo.properties[cprop].indexOf == 'function' && geo.properties[cprop].indexOf(countries[i].name) !== -1) { | ||
| 28 | geo.properties.NICENAME = countries[i].name | ||
| 29 | found = true; | ||
| 30 | break; | ||
| 31 | } | ||
| 32 | } | ||
| 33 | } | ||
| 34 | |||
| 35 | var style = {}; | ||
| 36 | |||
| 37 | if(found) { | ||
| 38 | style = { | ||
| 39 | default: { | ||
| 40 | fill: "#5CBFBC", | ||
| 41 | outline: "#0F1647", | ||
| 42 | stroke: "#0F1647", | ||
| 43 | strokeWidth: "0.25px" | ||
| 44 | }, | ||
| 45 | hover: { | ||
| 46 | fill: "white", | ||
| 47 | outline: "none" | ||
| 48 | } | ||
| 49 | } | ||
| 50 | } else { | ||
| 51 | style = { | ||
| 52 | default: { | ||
| 53 | fill: "#594D78", | ||
| 54 | outline: "none", | ||
| 55 | }, | ||
| 56 | hover: { | ||
| 57 | fill: "#594D78", | ||
| 58 | outline: "none" | ||
| 59 | }, | ||
| 60 | pressed: { | ||
| 61 | fill: "#594D78", | ||
| 62 | outline: "none" | ||
| 63 | } | ||
| 64 | } | ||
| 65 | } | ||
| 66 | |||
| 67 | return ( | ||
| 68 | <Geography | ||
| 69 | key={geo.rsmKey} | ||
| 70 | geography={geo} | ||
| 71 | onMouseEnter={() => { | ||
| 72 | if(found) { | ||
| 73 | const { NICENAME } = geo.properties; | ||
| 74 | setTooltipContent(`${NICENAME}`); | ||
| 75 | } | ||
| 76 | }} | ||
| 77 | onMouseLeave={() => { | ||
| 78 | setTooltipContent(""); | ||
| 79 | }} | ||
| 80 | style={style} | ||
| 81 | /> | ||
| 82 | ) } ) | ||
| 83 | } | ||
| 84 | </Geographies> | ||
| 85 | </ComposableMap> | ||
| 86 | </> | ||
| 87 | ); | ||
| 88 | }; | ||
| 89 | |||
| 90 | export default memo(MapChart); |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { Pie, PieChart, Sector, ResponsiveContainer } from 'recharts'; | ||
| 3 | |||
| 4 | const renderActiveShape = (props) => { | ||
| 5 | |||
| 6 | const RADIAN = Math.PI / 180; | ||
| 7 | const { cx, cy, midAngle, innerRadius, outerRadius, startAngle, endAngle, fill, payload, percent, value, name, color, font_color } = props; | ||
| 8 | const sin = Math.sin(-RADIAN * midAngle); | ||
| 9 | const cos = Math.cos(-RADIAN * midAngle); | ||
| 10 | const sx = cx + (outerRadius + 10) * cos; | ||
| 11 | const sy = cy + (outerRadius + 10) * sin; | ||
| 12 | const mx = cx + (outerRadius + 30) * cos; | ||
| 13 | const my = cy + (outerRadius + 30) * sin; | ||
| 14 | const ex = mx + (cos >= 0 ? 1 : -1) * 22; | ||
| 15 | const ey = my; | ||
| 16 | const textAnchor = cos >= 0 ? 'start' : 'end'; | ||
| 17 | |||
| 18 | return ( | ||
| 19 | <g> | ||
| 20 | <Sector | ||
| 21 | cx={cx} | ||
| 22 | cy={cy} | ||
| 23 | innerRadius={innerRadius} | ||
| 24 | outerRadius={outerRadius} | ||
| 25 | startAngle={startAngle} | ||
| 26 | endAngle={endAngle} | ||
| 27 | fill={color} | ||
| 28 | /> | ||
| 29 | <Sector | ||
| 30 | cx={cx} | ||
| 31 | cy={cy} | ||
| 32 | startAngle={startAngle} | ||
| 33 | endAngle={endAngle} | ||
| 34 | innerRadius={outerRadius + 6} | ||
| 35 | outerRadius={outerRadius + 10} | ||
| 36 | fill={color} | ||
| 37 | /> | ||
| 38 | <path d={`M${sx},${sy}L${mx},${my}L${ex},${ey}`} stroke={color} fill="none" /> | ||
| 39 | <circle cx={ex} cy={ey} r={2} fill={color} stroke="none" /> | ||
| 40 | <text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} style={{fontWeight:'bold'}} textAnchor={textAnchor} fill={font_color}>{`${name}`}</text> | ||
| 41 | <text x={ex + (cos >= 0 ? 1 : -1) * 12} y={ey} dy={18} textAnchor={textAnchor} fill={font_color}> | ||
| 42 | {`${(value)}%`} | ||
| 43 | </text> | ||
| 44 | </g> | ||
| 45 | ); | ||
| 46 | }; | ||
| 47 | |||
| 48 | const PiChart = ({ data, color }) => { | ||
| 49 | return ( | ||
| 50 | <> | ||
| 51 | <ResponsiveContainer width={'100%'} height={300}><PieChart> | ||
| 52 | <Pie | ||
| 53 | activeIndex={Array.from({length: data.length}, (_, i) => (i-1) + 1)} | ||
| 54 | activeShape={renderActiveShape} | ||
| 55 | data={ data } dataKey="value" cx="50%" cy="50%" innerRadius={70} outerRadius={100} fill="#82ca9d" /> | ||
| 56 | </PieChart></ResponsiveContainer> | ||
| 57 | </> | ||
| 58 | ) | ||
| 59 | } | ||
| 60 | |||
| 61 | export default memo(PiChart); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 3 | |||
| 4 | const ProgressionChart = (props) => { | ||
| 5 | |||
| 6 | const { t } = useTranslation(); | ||
| 7 | |||
| 8 | return ( | ||
| 9 | <> | ||
| 10 | <svg width="240px" height="318px" viewBox="0 0 240 318" version="1.1"> | ||
| 11 | <title>sectors-2</title> | ||
| 12 | <desc>Created with Sketch.</desc> | ||
| 13 | <defs></defs> | ||
| 14 | <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
| 15 | <g id="sectors-2"> | ||
| 16 | <circle cx="94" cy="102" r="0" data-r="85" id="Fill-115" fill="#A4D6CF" ></circle> | ||
| 17 | <circle cx="78" cy="217" r="0" data-r="31" id="Fill-116" fill="#6BC1BA"></circle> | ||
| 18 | <circle cx="96" cy="265" r="0" data-r="21" id="Fill-117" fill="#A4D6CF"></circle> | ||
| 19 | <circle cx="175" cy="230" r="0" data-r="65" id="Fill-118" fill="#DAEEEB"></circle> | ||
| 20 | <g id="Professional-Valuation-Services" className="115" opacity={0} transform="translate(41.000000, 83.000000)" fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="18" font-weight="300"> | ||
| 21 | <text id="Professional-Valuati"> | ||
| 22 | <tspan x="0.273" y="14">{t('pro.professional')}</tspan> | ||
| 23 | <tspan x={t('pro.valuation.x')} y="35.6000073">{t('pro.Valuation')}</tspan> | ||
| 24 | <tspan x={t('pro.services.x')} y="57.2000146">{t('pro.Services')}</tspan> | ||
| 25 | </text> | ||
| 26 | </g> | ||
| 27 | <g id="Financial-Services" className="118" opacity={0} transform="translate(117.000000, 224.000000)" fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="13" font-weight="300"> | ||
| 28 | <text> | ||
| 29 | <tspan x="0.677" y="10">{t('pro.Financial Services')}</tspan> | ||
| 30 | <tspan x="17.395" y="25.6000053">{t('pro.Industry')}</tspan> | ||
| 31 | <tspan x="18.5585" y="41.2000105">{t('pro.Government')}</tspan> | ||
| 32 | </text> | ||
| 33 | </g> | ||
| 34 | <g id="Other" className="116" opacity={0} transform="translate(59.000000, 224.000000)" fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="12" font-weight="300"> | ||
| 35 | <text> | ||
| 36 | <tspan x="0.802" y="10">{t('pro.Other')}</tspan> | ||
| 37 | </text> | ||
| 38 | </g> | ||
| 39 | <g id="50%" className="115" opacity={0} transform="translate(73.000000, 58.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold"> | ||
| 40 | <text id="49%"> | ||
| 41 | <tspan x="0.8076" y="14.8007812">49%</tspan> | ||
| 42 | </text> | ||
| 43 | </g> | ||
| 44 | <g id="34%" className="118" opacity={0} transform="translate(154.000000, 201.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold"> | ||
| 45 | <text> | ||
| 46 | <tspan x="0.5856" y="14.800781">36%</tspan> | ||
| 47 | </text> | ||
| 48 | </g> | ||
| 49 | <g id="10%" className="116" opacity={0} transform="translate(59.000000, 204.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold"> | ||
| 50 | <text> | ||
| 51 | <tspan x="0.2997" y="14.800781">9%</tspan> | ||
| 52 | </text> | ||
| 53 | </g> | ||
| 54 | <g id="Retired" className="117" opacity={0} transform="translate(76.000000, 308.000000)" fill="#FFFFFF" font-family="Gotham-ExtraLight, Gotham" font-size="11" font-weight="300"> | ||
| 55 | <text> | ||
| 56 | <tspan x="0" y="9">{t('pro.Retired')}</tspan> | ||
| 57 | </text> | ||
| 58 | </g> | ||
| 59 | <g id="6%" className="117" opacity={0} transform="translate(81.000000, 288.000000)" fill="#FFFFFF" font-family="Gotham-Medium, Gotham" font-size="18" font-weight="400"> | ||
| 60 | <text> | ||
| 61 | <tspan x="0.2495" y="14.800781">6%</tspan> | ||
| 62 | </text> | ||
| 63 | </g> | ||
| 64 | <path className="117" opacity={0} d="M94.4777,289.2349 L94.4777,263.4129" id="Stroke-210" stroke="#FFFFFF" stroke-width="0.5"></path> | ||
| 65 | </g> | ||
| 66 | </g> | ||
| 67 | </svg> | ||
| 68 | </> | ||
| 69 | ) | ||
| 70 | } | ||
| 71 | |||
| 72 | export default memo(ProgressionChart); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 3 | |||
| 4 | const ProgressionChart2021 = () => { | ||
| 5 | |||
| 6 | const { t } = useTranslation(); | ||
| 7 | |||
| 8 | return ( | ||
| 9 | <> | ||
| 10 | <svg width="240px" height="318px" viewBox="0 0 240 318" version="1.1"> | ||
| 11 | <title>sectors-2</title> | ||
| 12 | <desc>Created with Sketch.</desc> | ||
| 13 | <defs></defs> | ||
| 14 | <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
| 15 | <g id="sectors-2"> | ||
| 16 | <circle cx="94" cy="102" r="0" data-r="85" id="Fill-115" fill="#A4D6CF" ></circle> | ||
| 17 | <circle cx="78" cy="217" r="0" data-r="31" id="Fill-116" fill="#6BC1BA"></circle> | ||
| 18 | <circle cx="96" cy="265" r="0" data-r="21" id="Fill-117" fill="#A4D6CF"></circle> | ||
| 19 | <circle cx="175" cy="230" r="0" data-r="65" id="Fill-118" fill="#DAEEEB"></circle> | ||
| 20 | <g id="Professional-Valuation-Services" className="115" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(50.000000, 83.000000)" : "translate(50.000000, 83.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="18" font-weight="300"> | ||
| 21 | <text id="Professional-Valuati"> | ||
| 22 | <tspan x="0.273" y="14">{t('pro.professional')}</tspan> | ||
| 23 | <tspan x={t('pro.valuation.x')} y="35.6000073">{t('pro.Valuation')}</tspan> | ||
| 24 | <tspan x={t('pro.services.x')} y="57.2000146">{t('pro.Services')}</tspan> | ||
| 25 | </text> | ||
| 26 | </g> | ||
| 27 | <g id="Financial-Services" className="118" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(125.000000, 224.000000)" : "translate(125.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="13" font-weight="300"> | ||
| 28 | <text> | ||
| 29 | <tspan x="0.677" y="10">{t('pro.Financial Services')}</tspan> | ||
| 30 | <tspan x="17.395" y="25.6000053">{t('pro.Industry')}</tspan> | ||
| 31 | <tspan x="18.5585" y="41.2000105">{t('pro.Government')}</tspan> | ||
| 32 | </text> | ||
| 33 | </g> | ||
| 34 | <g id="Other" className="116" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(55.000000, 224.000000)" : "translate(63.000000, 224.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="10" font-weight="300"> | ||
| 35 | <text> | ||
| 36 | <tspan x="0.802" y="10">{t('pro.Retired')}</tspan> | ||
| 37 | </text> | ||
| 38 | </g> | ||
| 39 | <g id="50%" className="115" opacity={0} transform="translate(73.000000, 58.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold"> | ||
| 40 | <text id="49%"> | ||
| 41 | <tspan x="0.8076" y="14.8007812">50%</tspan> | ||
| 42 | </text> | ||
| 43 | </g> | ||
| 44 | <g id="34%" className="118" opacity={0} transform="translate(154.000000, 201.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold"> | ||
| 45 | <text> | ||
| 46 | <tspan x="0.5856" y="14.800781">39%</tspan> | ||
| 47 | </text> | ||
| 48 | </g> | ||
| 49 | <g id="10%" className="116" opacity={0} transform="translate(66.000000, 204.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="18" font-weight="bold"> | ||
| 50 | <text> | ||
| 51 | <tspan x="0.2997" y="14.800781">7%</tspan> | ||
| 52 | </text> | ||
| 53 | </g> | ||
| 54 | <g id="Retired" className="117" opacity={0} transform="translate(76.000000, 308.000000)" fill="#FFFFFF" font-family="Gotham-ExtraLight, Gotham" font-size="11" font-weight="300"> | ||
| 55 | <text> | ||
| 56 | <tspan x="0" y="9">{t('pro.Other')}</tspan> | ||
| 57 | </text> | ||
| 58 | </g> | ||
| 59 | <g id="6%" className="117" opacity={0} transform="translate(81.000000, 288.000000)" fill="#FFFFFF" font-family="Gotham-Medium, Gotham" font-size="18" font-weight="400"> | ||
| 60 | <text> | ||
| 61 | <tspan x="0.2495" y="14.800781">4%</tspan> | ||
| 62 | </text> | ||
| 63 | </g> | ||
| 64 | <path className="117" opacity={0} d="M94.4777,289.2349 L94.4777,263.4129" id="Stroke-210" stroke="#FFFFFF" stroke-width="0.5"></path> | ||
| 65 | </g> | ||
| 66 | </g> | ||
| 67 | </svg> | ||
| 68 | </> | ||
| 69 | ) | ||
| 70 | } | ||
| 71 | |||
| 72 | export default memo(ProgressionChart2021); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { memo } from "react"; | ||
| 2 | import { useTranslation, Trans } from 'react-i18next'; | ||
| 3 | |||
| 4 | const ProgressionChart2022 = () => { | ||
| 5 | |||
| 6 | const { t } = useTranslation(); | ||
| 7 | |||
| 8 | return ( | ||
| 9 | <> | ||
| 10 | <svg width="1024px" height="400px" viewBox="0 0 1024 400" version="1.1"> | ||
| 11 | <title>sectors-2</title> | ||
| 12 | <desc>Created with Sketch.</desc> | ||
| 13 | <defs></defs> | ||
| 14 | <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
| 15 | <g id="sectors-2"> | ||
| 16 | <circle cx="450" cy="152" r="15" data-r="15" id="Fill-115" fill="#A4D6CF"></circle> | ||
| 17 | <circle cx="570" cy="165" r="6" data-r="6" id="Fill-116" fill="#6BC1BA"></circle> | ||
| 18 | <circle cx="600" cy="225" r="6" data-r="6" id="Fill-117" fill="#A4D6CF"></circle> | ||
| 19 | <circle cx="505" cy="270" r="10" data-r="10" id="Fill-118" fill="#DAEEEB"></circle> | ||
| 20 | <g id="Professional-Valuation-Services" className="115" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(0.000000, 160.000000)" : "translate(30.000000, 160.000000)" } fill="#1B193F" font-family="Gotham-Book, Gotham" font-size="18" font-weight="300"> | ||
| 21 | <text id="Professional-Valuati"> | ||
| 22 | <tspan x="0" y="0">{t('pro.professional')}</tspan> | ||
| 23 | <tspan x={document.documentElement.lang === "fr-FR" ? "78" : "115" } y="0">{t('pro.Valuation')}</tspan> | ||
| 24 | <tspan x={document.documentElement.lang === "fr-FR" ? "210" : "205" } y="0">{t('pro.Services')}</tspan> | ||
| 25 | </text> | ||
| 26 | </g> | ||
| 27 | <g id="Financial-Services" className="118" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(175.000000, 262.000000)" : "translate(175.000000, 262.000000)" } fill="#1B193F" font-family="Gotham-Book, Gotham" font-size="17" font-weight="300"> | ||
| 28 | <text> | ||
| 29 | <tspan x={document.documentElement.lang === "fr-FR" ? "50" : "0" } y="0">{t('pro.Financial Services')}</tspan> | ||
| 30 | <tspan x="85" y="25">{t('pro.Government')}</tspan> | ||
| 31 | </text> | ||
| 32 | </g> | ||
| 33 | <g id="Other" className="116" opacity={0} transform={document.documentElement.lang === "fr-FR" ? "translate(710.000000, 218.000000)" : "translate(710.000000, 218.000000)" } fill="#1B193F" font-family="Gotham-ExtraLight, Gotham" font-size="16" font-weight="300"> | ||
| 34 | <text> | ||
| 35 | <tspan x="0.802" y="10">{t('pro.Retired')}</tspan> | ||
| 36 | </text> | ||
| 37 | </g> | ||
| 38 | <g id="50%" class="115" opacity={0} transform="translate(415.000000, 165.000000)" fill="#221D58" font-family="Gotham-Bold, Gotham" font-size="36" font-weight="bold"><text id="49%"><tspan x="0" y="0">52%</tspan></text></g> | ||
| 39 | <g id="34%" class="118" opacity={0} transform="translate(470, 265)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="34" font-weight="bold"><text><tspan x="0.5856" y="14.800781">41%</tspan></text></g> | ||
| 40 | <g id="10%" class="116" opacity={0} transform="translate(557.000000, 158.000000)" fill="#1B193F" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="bold"><text><tspan x="0.2997" y="14.800781">4%</tspan></text></g> | ||
| 41 | <g id="Retired" className="117" opacity={0} transform="translate(695.000000, 160.000000)" fill="#FFFFFF" font-family="Gotham-Bold, Gotham" font-size="16" font-weight="300"> | ||
| 42 | <text> | ||
| 43 | <tspan x="0" y="9">{t('pro.Other')}</tspan> | ||
| 44 | </text> | ||
| 45 | </g> | ||
| 46 | <g id="6%" class="117" opacity={0} transform="translate(585.000000, 218.000000)" fill="#221D58" font-family="Gotham-Bold, Gotham" font-size="22" font-weight="700"><text><tspan x="0.2495" y="14.800781">3%</tspan></text></g> | ||
| 47 | <path class="115-line" opacity={0} d="M320,155 L390,155" id="Stroke-210" stroke="#AED5CF" stroke-width="1.5"></path> | ||
| 48 | <path class="118-line" opacity={0} d="M410,270 L460,270" id="Stroke-210" stroke="#DEEDEB" stroke-width="1.5"></path> | ||
| 49 | <path class="116-line" opacity={0} d="M680,165 L595,165" id="Stroke-210" stroke="#7FBFBA" stroke-width="1.5"></path> | ||
| 50 | <path class="117-line" opacity={0} d="M700,225 L625,225" id="Stroke-210" stroke="#AED5CF" stroke-width="1.5"></path> | ||
| 51 | </g> | ||
| 52 | </g> | ||
| 53 | </svg> | ||
| 54 | </> | ||
| 55 | ) | ||
| 56 | } | ||
| 57 | |||
| 58 | export default memo(ProgressionChart2022); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import i18n from 'i18next'; | ||
| 2 | import { initReactI18next } from 'react-i18next'; | ||
| 3 | import LanguageDetector from 'i18next-browser-languagedetector'; | ||
| 4 | |||
| 5 | |||
| 6 | i18n | ||
| 7 | // detect user language | ||
| 8 | // learn more: https://github.com/i18next/i18next-browser-languageDetector | ||
| 9 | .use(LanguageDetector) | ||
| 10 | // pass the i18n instance to react-i18next. | ||
| 11 | .use(initReactI18next) | ||
| 12 | // init i18next | ||
| 13 | // for all options read: https://www.i18next.com/overview/configuration-options | ||
| 14 | .init({ | ||
| 15 | detection: { | ||
| 16 | order: ['querystring'], | ||
| 17 | "lookupQuerystring": 'lang', | ||
| 18 | lookupCookie: '', | ||
| 19 | lookupLocalStorage: '', | ||
| 20 | lookupSessionStorage: '', | ||
| 21 | caches: [], | ||
| 22 | }, | ||
| 23 | debug: false, | ||
| 24 | fallbackLng: 'en', | ||
| 25 | interpolation: { | ||
| 26 | escapeValue: false, // not needed for react as it escapes by default | ||
| 27 | }, | ||
| 28 | resources: { | ||
| 29 | en: { | ||
| 30 | translation: { | ||
| 31 | "one-term-only":"* ONE TERM ONLY", | ||
| 32 | "pro.valuation.x":"11.991", | ||
| 33 | "pro.services.x":"16.401", | ||
| 34 | "pro.professional":"Professional", | ||
| 35 | "pro.Valuation":"Valuation", | ||
| 36 | "pro.Services":"Services", | ||
| 37 | "pro.Financial Services":"Financial Services, Industry", | ||
| 38 | "pro.Industry":"Industry", | ||
| 39 | "pro.Government":"and Government", | ||
| 40 | "pro.Retired":"Retired", | ||
| 41 | "charts.members":"Members", | ||
| 42 | "pro.Other":"Other", | ||
| 43 | } | ||
| 44 | }, | ||
| 45 | fr: { | ||
| 46 | translation: { | ||
| 47 | "pro.valuation.x":"0", | ||
| 48 | "pro.services.x":"0", | ||
| 49 | "one-term-only":"*UN TRIMESTRE SEULEMENT", | ||
| 50 | "pro.professional":"Services", | ||
| 51 | "pro.Valuation":"professionnels", | ||
| 52 | "pro.Services":"d’évaluation", | ||
| 53 | "pro.Financial Services":"Services financiers,", | ||
| 54 | "pro.Industry":"industrie, et", | ||
| 55 | "pro.Government":"gouvernement", | ||
| 56 | "pro.Retired":"À la retraite", | ||
| 57 | "charts.members":"Membres", | ||
| 58 | "pro.Other":"Autres", | ||
| 59 | } | ||
| 60 | } | ||
| 61 | } | ||
| 62 | }); | ||
| 63 | |||
| 64 | export default i18n; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | import React, { useState } from "react"; | ||
| 2 | import ReactDOM from "react-dom"; | ||
| 3 | import ReactTooltip from "react-tooltip"; | ||
| 4 | |||
| 5 | import './i18n'; | ||
| 6 | import MapChart from "./MapChart"; | ||
| 7 | import GraphChart from "./GraphChart"; | ||
| 8 | import PiChart from './PiChart'; | ||
| 9 | import CBVBars from './BarChart'; | ||
| 10 | import ProgressionChart from './ProgressionChart'; | ||
| 11 | import ProgressionChart2021 from './ProgressionChart2021'; | ||
| 12 | import ProgressionChart2022 from './ProgressionChart2022'; | ||
| 13 | import CBVBars2021 from './BarChart2021'; | ||
| 14 | |||
| 15 | function CBVGlobe(props) { | ||
| 16 | const [content, setContent] = useState(""); | ||
| 17 | const [countries] = useState(props.countries); | ||
| 18 | return ( | ||
| 19 | <div> | ||
| 20 | <MapChart setTooltipContent={setContent} countries={countries} /> | ||
| 21 | <ReactTooltip backgroundColor="#715f8a" textColor="white">{content}</ReactTooltip> | ||
| 22 | </div> | ||
| 23 | ); | ||
| 24 | } | ||
| 25 | |||
| 26 | window.renderGlobe = (el) => { | ||
| 27 | ReactDOM.render(<CBVGlobe countries={JSON.parse(el.dataset.countries)} />, el); | ||
| 28 | } | ||
| 29 | |||
| 30 | |||
| 31 | function CBVGraph(props) { | ||
| 32 | const [data] = useState(props.data); | ||
| 33 | return ( | ||
| 34 | <div> | ||
| 35 | <GraphChart data={data} /> | ||
| 36 | </div> | ||
| 37 | ); | ||
| 38 | } | ||
| 39 | |||
| 40 | window.renderGraph = (el) => { | ||
| 41 | ReactDOM.render(<CBVGraph data={JSON.parse(el.dataset.points)} />, el); | ||
| 42 | } | ||
| 43 | |||
| 44 | function CBVPI(props) { | ||
| 45 | const [data] = useState(props.data); | ||
| 46 | const [color] = useState(props.color); | ||
| 47 | return ( | ||
| 48 | <PiChart data={data} color={color} /> | ||
| 49 | ); | ||
| 50 | } | ||
| 51 | |||
| 52 | window.renderPI = (el) => { | ||
| 53 | ReactDOM.render(<CBVPI color={el.dataset.color} data={JSON.parse(el.dataset.points)} />, el); | ||
| 54 | } | ||
| 55 | |||
| 56 | function CBVBarChart2021(props) { | ||
| 57 | const [data] = useState(props.data); | ||
| 58 | return ( | ||
| 59 | <CBVBars2021 data={data} /> | ||
| 60 | ); | ||
| 61 | } | ||
| 62 | |||
| 63 | window.renderBarChart2021 = (el) => { | ||
| 64 | ReactDOM.render(<CBVBarChart2021 data={JSON.parse(el.dataset.points)} />, el); | ||
| 65 | } | ||
| 66 | |||
| 67 | function CBVBarChart(props) { | ||
| 68 | const [data] = useState(props.data); | ||
| 69 | return ( | ||
| 70 | <CBVBars data={data} /> | ||
| 71 | ); | ||
| 72 | } | ||
| 73 | |||
| 74 | window.renderBarChart = (el) => { | ||
| 75 | ReactDOM.render(<CBVBarChart data={JSON.parse(el.dataset.points)} />, el); | ||
| 76 | } | ||
| 77 | |||
| 78 | function CBVProgression(props) { | ||
| 79 | return ( | ||
| 80 | <ProgressionChart /> | ||
| 81 | ); | ||
| 82 | } | ||
| 83 | |||
| 84 | window.renderProgression = (el) => { | ||
| 85 | ReactDOM.render(<CBVProgression />, el); | ||
| 86 | } | ||
| 87 | |||
| 88 | function CBVProgression2021(props) { | ||
| 89 | return ( | ||
| 90 | <ProgressionChart2021 /> | ||
| 91 | ); | ||
| 92 | } | ||
| 93 | |||
| 94 | window.renderProgression2021 = (el) => { | ||
| 95 | ReactDOM.render(<CBVProgression2021 />, el); | ||
| 96 | } | ||
| 97 | |||
| 98 | function CBVProgression2022(props) { | ||
| 99 | return ( | ||
| 100 | <ProgressionChart2022 /> | ||
| 101 | ); | ||
| 102 | } | ||
| 103 | |||
| 104 | window.renderProgression2022 = (el) => { | ||
| 105 | ReactDOM.render(<CBVProgression2022 />, el); | ||
| 106 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -15552,600 +15552,13 @@ button, input, optgroup, select, textarea { | ... | @@ -15552,600 +15552,13 @@ button, input, optgroup, select, textarea { |
| 15552 | height: 2.188rem; | 15552 | height: 2.188rem; |
| 15553 | padding: 0 12px; | 15553 | padding: 0 12px; |
| 15554 | background: white; | 15554 | background: white; |
| 15555 | margin-right: 20px; | ||
| 15556 | margin-bottom: 5px; | ||
| 15555 | } | 15557 | } |
| 15556 | .html-form input[multiple=multiple], .html-form select[multiple=multiple] { | 15558 | .html-form input[multiple=multiple], .html-form select[multiple=multiple] { |
| 15557 | height: 5.5rem; | 15559 | height: 5.5rem; |
| 15558 | } | ||
| 15559 | .html-form select:after { | ||
| 15560 | content: ""; | ||
| 15561 | width: 1.15rem; | ||
| 15562 | height: 1rem; | ||
| 15563 | display: block; | ||
| 15564 | background-repeat: no-repeat; | ||
| 15565 | background-position: center; | ||
| 15566 | background-size: 10px 16px; | ||
| 15567 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 15568 | pointer-events: none; | ||
| 15569 | } | ||
| 15570 | .html-form select[multiple=multiple]:after { | ||
| 15571 | display: none; | ||
| 15572 | } | ||
| 15573 | |||
| 15574 | .nf-form-cont { | ||
| 15575 | background: #F0F0F0 !important; | ||
| 15576 | padding: 30px; | ||
| 15577 | } | ||
| 15578 | .nf-form-cont h3, .nf-form-cont .h3 { | ||
| 15579 | margin-top: 0px !important; | ||
| 15580 | } | ||
| 15581 | |||
| 15582 | .nf-row.required:before { | ||
| 15583 | content: "* Required field"; | ||
| 15584 | display: block; | ||
| 15585 | width: 100%; | ||
| 15586 | text-align: right; | ||
| 15587 | font-size: 1rem; | ||
| 15588 | font-family: "PT Sans", sans-serif; | ||
| 15589 | } | ||
| 15590 | |||
| 15591 | .number-format { | ||
| 15592 | position: relative; | ||
| 15593 | } | ||
| 15594 | .number-format input { | ||
| 15595 | padding-left: 1.525rem !important; | ||
| 15596 | } | ||
| 15597 | .number-format .nf-field-element input { | ||
| 15598 | padding-left: 1.525rem !important; | ||
| 15599 | } | ||
| 15600 | .number-format .nf-field-element:before { | ||
| 15601 | content: "$"; | ||
| 15602 | position: absolute; | ||
| 15603 | bottom: 0; | ||
| 15604 | left: 0.5rem; | ||
| 15605 | z-index: 9; | ||
| 15606 | font-size: 1.563rem; | ||
| 15607 | font-weight: 700; | ||
| 15608 | } | ||
| 15609 | |||
| 15610 | .number-format:not(.nf-field-container):before { | ||
| 15611 | content: "$"; | ||
| 15612 | position: absolute; | ||
| 15613 | bottom: 0; | ||
| 15614 | left: 0.5rem; | ||
| 15615 | color: black; | ||
| 15616 | } | ||
| 15617 | |||
| 15618 | html:lang(fr-FR) .number-format { | ||
| 15619 | position: relative; | ||
| 15620 | } | ||
| 15621 | html:lang(fr-FR) .number-format input { | ||
| 15622 | padding-left: 0.5rem !important; | ||
| 15623 | } | ||
| 15624 | html:lang(fr-FR) .number-format:not(.nf-field-container):before { | ||
| 15625 | display: none; | ||
| 15626 | } | ||
| 15627 | html:lang(fr-FR) .number-format:not(.nf-field-container):after { | ||
| 15628 | content: "$"; | ||
| 15629 | position: absolute; | ||
| 15630 | bottom: 0.25rem; | ||
| 15631 | right: 0.5rem; | ||
| 15632 | color: black; | ||
| 15633 | z-index: 99; | ||
| 15634 | font-size: 1.563rem; | ||
| 15635 | font-weight: 700; | ||
| 15636 | } | ||
| 15637 | html:lang(fr-FR) .number-format { | ||
| 15638 | position: relative; | ||
| 15639 | } | ||
| 15640 | html:lang(fr-FR) .number-format .nf-field-element:before { | ||
| 15641 | display: none; | ||
| 15642 | } | ||
| 15643 | html:lang(fr-FR) .number-format .nf-field-element:after { | ||
| 15644 | content: "$"; | ||
| 15645 | position: absolute; | ||
| 15646 | bottom: 0; | ||
| 15647 | right: 0.5rem; | ||
| 15648 | z-index: 9; | ||
| 15649 | font-size: 1.563rem; | ||
| 15650 | font-weight: 700; | ||
| 15651 | } | ||
| 15652 | |||
| 15653 | #dd-container .lets-check, #dd-container .lets-check.disabled, #dd-container .lets-check[disabled], #dd-container .lets-check.disabled:hover, #dd-container .lets-check[disabled]:hover, #dd-container .lets-check.disabled:focus, #dd-container .lets-check[disabled]:focus, .dtd-plugin .lets-check, .dtd-plugin .lets-check.disabled, .dtd-plugin .lets-check[disabled], .dtd-plugin .lets-check.disabled:hover, .dtd-plugin .lets-check[disabled]:hover, .dtd-plugin .lets-check.disabled:focus, .dtd-plugin .lets-check[disabled]:focus { | ||
| 15654 | background-color: #e00 !important; | ||
| 15655 | font-weight: bold; | ||
| 15656 | } | ||
| 15657 | |||
| 15658 | #content { | ||
| 15659 | /* | ||
| 15660 | These two are for the required fields floating text.. | ||
| 15661 | */ | ||
| 15662 | } | ||
| 15663 | #content .nf-form-cont p { | ||
| 15664 | color: black; | ||
| 15665 | } | ||
| 15666 | #content #content .list-checkbox-wrap .nf-field-element li label, #content #content .list-image-wrap .nf-field-element li label, #content #content .list-radio-wrap .nf-field-element li label { | ||
| 15667 | margin-top: 0 !important; | ||
| 15668 | } | ||
| 15669 | #content .nf-form-content .listcheckbox-wrap li, #content .nf-form-content .listradio-wrap li { | ||
| 15670 | margin-bottom: 0 !important; | ||
| 15671 | } | ||
| 15672 | #content .nf-row { | ||
| 15673 | position: relative; | ||
| 15674 | } | ||
| 15675 | #content .nf-field-container { | ||
| 15676 | position: static; | ||
| 15677 | } | ||
| 15678 | #content .nf-error { | ||
| 15679 | position: static; | ||
| 15680 | } | ||
| 15681 | #content .checkmark { | ||
| 15682 | border: 1px solid #707070; | ||
| 15683 | } | ||
| 15684 | #content .nf-before-form-content { | ||
| 15685 | display: none; | ||
| 15686 | } | ||
| 15687 | #content .nf-form-title > h3, #content .nf-form-title > .h3 { | ||
| 15688 | font-size: 2.188rem !important; | ||
| 15689 | font-family: "PT Sans", sans-serif; | ||
| 15690 | font-weight: bold; | ||
| 15691 | } | ||
| 15692 | #content .checkbox-wrap .nf-field-element label:before, #content .checkbox-wrap .nf-field-label label:before, | ||
| 15693 | #content .listcheckbox-wrap .nf-field-element label:before, #content .listcheckbox-wrap .nf-field-label label:before { | ||
| 15694 | font-size: 1rem; | ||
| 15695 | height: 1.563rem; | ||
| 15696 | width: 1.563rem; | ||
| 15697 | display: flex; | ||
| 15698 | justify-content: center; | ||
| 15699 | align-items: center; | ||
| 15700 | } | ||
| 15701 | #content .checkbox-container.label-right label:before { | ||
| 15702 | left: -1.8rem; | ||
| 15703 | } | ||
| 15704 | #content .nf-field-element { | ||
| 15705 | font-size: 1rem; | ||
| 15706 | } | ||
| 15707 | #content .nf-row:last-of-type .field-wrap.html-wrap p { | ||
| 15708 | font-size: 0.875rem; | ||
| 15709 | line-height: 1.2; | ||
| 15710 | } | ||
| 15711 | #content .nf-before-form-content { | ||
| 15712 | font-family: "PT Sans", sans-serif; | ||
| 15713 | } | ||
| 15714 | #content .field-wrap.checkbox-wrap { | ||
| 15715 | margin: 0.5rem 0; | ||
| 15716 | } | ||
| 15717 | #content .nf-form-content button, #content .nf-form-content input[type=button], #content .nf-form-content input[type=submit] { | ||
| 15718 | transition: none; | ||
| 15719 | font-family: "PT Sans", sans-serif !important; | ||
| 15720 | font-weight: bold; | ||
| 15721 | border-radius: 0 !important; | ||
| 15722 | } | ||
| 15723 | #content .nf-error.field-wrap .nf-field-element:after { | ||
| 15724 | height: 100%; | ||
| 15725 | top: 0; | ||
| 15726 | right: 0; | ||
| 15727 | bottom: auto; | ||
| 15728 | font-size: 1rem; | ||
| 15729 | line-height: 2.2rem; | ||
| 15730 | } | ||
| 15731 | #content .nf-error-msg.nf-error-required-error { | ||
| 15732 | display: none; | ||
| 15733 | } | ||
| 15734 | #content .nf-field-container.submit-container { | ||
| 15735 | margin: 1rem 0; | ||
| 15736 | } | ||
| 15737 | #content .listradio-wrap .nf-field-element label:after { | ||
| 15738 | top: 0; | ||
| 15739 | } | ||
| 15740 | #content .field-wrap.html-wrap p { | ||
| 15741 | margin-bottom: 0; | ||
| 15742 | } | ||
| 15743 | #content .field-wrap.html-wrap p b { | ||
| 15744 | font-size: 1.25rem; | ||
| 15745 | } | ||
| 15746 | #content .label-left .nf-field-label { | ||
| 15747 | text-align: left; | ||
| 15748 | flex: none; | ||
| 15749 | } | ||
| 15750 | #content .list-checkbox-wrap .nf-field-element li label, #content .list-image-wrap .nf-field-element li label, #content .list-radio-wrap .nf-field-element li label { | ||
| 15751 | height: 1.563rem; | ||
| 15752 | align-items: center; | ||
| 15753 | display: flex; | ||
| 15754 | } | ||
| 15755 | #content .label-left .nf-field-label { | ||
| 15756 | padding-right: 0; | ||
| 15757 | width: 9rem; | ||
| 15758 | box-sizing: content-box; | ||
| 15759 | } | ||
| 15760 | #content .label-left .field-wrap.textbox-wrap .nf-field-label { | ||
| 15761 | padding-right: 0; | ||
| 15762 | } | ||
| 15763 | #content .field-wrap.textarea-wrap { | ||
| 15764 | align-items: center; | ||
| 15765 | } | ||
| 15766 | #content .field-wrap.textarea-wrap .nf-field-label { | ||
| 15767 | max-width: 100%; | ||
| 15768 | white-space: nowrap; | ||
| 15769 | margin-bottom: 5px; | ||
| 15770 | } | ||
| 15771 | #content .field-wrap.listradio-wrap { | ||
| 15772 | align-items: center; | ||
| 15773 | } | ||
| 15774 | #content .field-wrap.listradio-wrap .nf-field-label { | ||
| 15775 | max-width: 100%; | ||
| 15776 | white-space: nowrap; | ||
| 15777 | } | ||
| 15778 | #content .field-wrap.listradio-wrap .nf-field-element ul { | ||
| 15779 | gap: 2.5rem; | ||
| 15780 | } | ||
| 15781 | #content .field-wrap.listradio-wrap .nf-field-element ul li { | ||
| 15782 | margin-bottom: 0 !important; | ||
| 15783 | } | ||
| 15784 | #content .nf-field-container { | ||
| 15785 | margin-bottom: 0.25rem; | ||
| 15786 | } | ||
| 15787 | #content .nf-before-form-content { | ||
| 15788 | text-align: right; | ||
| 15789 | } | ||
| 15790 | |||
| 15791 | #div_MainContent a.pdf:before { | ||
| 15792 | position: static; | ||
| 15793 | } | ||
| 15794 | |||
| 15795 | nf-cells { | ||
| 15796 | display: flex; | ||
| 15797 | gap: 1rem; | ||
| 15798 | } | ||
| 15799 | |||
| 15800 | .nf-cell + .nf-cell .nf-field-label { | ||
| 15801 | text-align: left !important; | ||
| 15802 | } | ||
| 15803 | |||
| 15804 | .nf-multi-cell .nf-cell { | ||
| 15805 | padding: 0 !important; | ||
| 15806 | } | ||
| 15807 | |||
| 15808 | .nf-form-content textarea.ninja-forms-field { | ||
| 15809 | height: 4.688rem !important; | ||
| 15810 | } | ||
| 15811 | |||
| 15812 | .label-left .field-wrap { | ||
| 15813 | flex-wrap: nowrap !important; | ||
| 15814 | } | ||
| 15815 | |||
| 15816 | .field-wrap.listradio-wrap .nf-field-label { | ||
| 15817 | width: 30rem !important; | ||
| 15818 | } | ||
| 15819 | |||
| 15820 | .label-left .nf-field-label { | ||
| 15821 | width: 11rem !important; | ||
| 15822 | } | ||
| 15823 | |||
| 15824 | .label-left .nf-field-label label { | ||
| 15825 | width: auto !important; | ||
| 15826 | } | ||
| 15827 | |||
| 15828 | .checkbox-container.label-right label { | ||
| 15829 | font-family: "PT Sans", sans-serif; | ||
| 15830 | } | ||
| 15831 | |||
| 15832 | .nf-field-element > ul { | ||
| 15833 | display: flex; | ||
| 15834 | } | ||
| 15835 | |||
| 15836 | .nf-form-content { | ||
| 15837 | padding: 0 !important; | ||
| 15838 | max-width: none !important; | ||
| 15839 | margin: 0 !important; | ||
| 15840 | } | ||
| 15841 | |||
| 15842 | .nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) { | ||
| 15843 | height: auto !important; | ||
| 15844 | } | ||
| 15845 | |||
| 15846 | .ninja-forms-field impact-select nf-element { | ||
| 15847 | height: 100% !important; | ||
| 15848 | } | ||
| 15849 | |||
| 15850 | .nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field { | ||
| 15851 | padding: 0.35rem 0.625rem !important; | ||
| 15852 | color: #000000 !important; | ||
| 15853 | font-family: "PT Sans", sans-serif !important; | ||
| 15854 | } | ||
| 15855 | |||
| 15856 | .nf-form-content .list-select-wrap > .nf-field-element { | ||
| 15857 | position: relative; | ||
| 15858 | background: white; | ||
| 15859 | } | ||
| 15860 | |||
| 15861 | .nf-error-msg, .ninja-forms-req-symbol { | ||
| 15862 | color: #4D4D4D !important; | ||
| 15863 | } | ||
| 15864 | |||
| 15865 | .ninja-forms-req-symbol.req-symbol:before { | ||
| 15866 | position: absolute; | ||
| 15867 | top: 0; | ||
| 15868 | right: 0; | ||
| 15869 | content: "* Required fields"; | ||
| 15870 | display: block; | ||
| 15871 | width: 100%; | ||
| 15872 | text-align: right; | ||
| 15873 | font-size: 1rem; | ||
| 15874 | font-family: "PT Sans", sans-serif; | ||
| 15875 | color: black; | ||
| 15876 | } | ||
| 15877 | |||
| 15878 | .nf-form-content .list-select-wrap > .nf-field-element > div { | ||
| 15879 | display: none; | ||
| 15880 | } | ||
| 15881 | |||
| 15882 | .nf-form-content .list-select-wrap > .nf-field-element:after { | ||
| 15883 | content: "" !important; | ||
| 15884 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 15885 | display: block; | ||
| 15886 | width: 1rem; | ||
| 15887 | height: 0.825rem !important; | ||
| 15888 | background-repeat: no-repeat; | ||
| 15889 | position: absolute; | ||
| 15890 | z-index: 9; | ||
| 15891 | right: 1rem; | ||
| 15892 | top: 1rem; | ||
| 15893 | } | ||
| 15894 | |||
| 15895 | .nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label { | ||
| 15896 | margin-bottom: 5px !important; | ||
| 15897 | } | ||
| 15898 | |||
| 15899 | .nf-form-content label { | ||
| 15900 | font-size: 1rem !important; | ||
| 15901 | line-height: 1.2 !important; | ||
| 15902 | font-weight: 300 !important; | ||
| 15903 | color: #000000 !important; | ||
| 15904 | font-family: "PT Sans", sans-serif; | ||
| 15905 | } | ||
| 15906 | |||
| 15907 | .list-select-wrap div:after { | ||
| 15908 | color: #000 !important; | ||
| 15909 | } | ||
| 15910 | |||
| 15911 | .listradio-wrap .nf-element { | ||
| 15912 | -webkit-appearance: none; | ||
| 15913 | -moz-appearance: none; | ||
| 15914 | appearance: none; | ||
| 15915 | opacity: 0; | ||
| 15916 | } | ||
| 15917 | |||
| 15918 | .submit-wrap .nf-field-label { | ||
| 15919 | display: none !important; | ||
| 15920 | } | ||
| 15921 | |||
| 15922 | .label-left .nf-field-element { | ||
| 15923 | width: 100% !important; | ||
| 15924 | } | ||
| 15925 | |||
| 15926 | .textarea-container .nf-field .field-wrap { | ||
| 15927 | flex-wrap: wrap !important; | ||
| 15928 | } | ||
| 15929 | .textarea-container .nf-field .field-wrap .nf-field-label { | ||
| 15930 | width: 100% !important; | ||
| 15931 | } | ||
| 15932 | .textarea-container .nf-field .field-wrap .nf-field-element { | ||
| 15933 | width: 100% !important; | ||
| 15934 | } | ||
| 15935 | |||
| 15936 | .nf-pass.field-wrap .nf-field-element:after { | ||
| 15937 | line-height: 1.2 !important; | ||
| 15938 | } | ||
| 15939 | |||
| 15940 | .nf-response-msg { | ||
| 15941 | position: fixed; | ||
| 15942 | width: 100%; | ||
| 15943 | height: 100%; | ||
| 15944 | top: 0; | ||
| 15945 | left: 0; | ||
| 15946 | display: flex; | ||
| 15947 | justify-content: center; | ||
| 15948 | align-items: center; | ||
| 15949 | background: rgba(0, 0, 0, 0.75); | ||
| 15950 | z-index: 9999; | ||
| 15951 | } | ||
| 15952 | .nf-response-msg > div { | ||
| 15953 | background: white; | ||
| 15954 | width: 440px; | ||
| 15955 | position: relative; | ||
| 15956 | padding: 2.188rem; | ||
| 15957 | font-size: 1rem; | ||
| 15958 | font-family: "PT Sans", sans-serif; | ||
| 15959 | } | ||
| 15960 | .nf-response-msg > div h1, .nf-response-msg > div .h1, .nf-response-msg > div h2, .nf-response-msg > div .h2, .nf-response-msg > div h3, .nf-response-msg > div .h3, .nf-response-msg > div h4, .nf-response-msg > div .h4, .nf-response-msg > div h5, .nf-response-msg > div .h5 { | ||
| 15961 | font-family: "PT Sans", sans-serif; | ||
| 15962 | font-weight: bold; | ||
| 15963 | font-size: 2.188rem; | ||
| 15964 | } | ||
| 15965 | .nf-response-msg .close-response-modal { | ||
| 15966 | position: absolute; | ||
| 15967 | top: 0; | ||
| 15968 | right: 0; | ||
| 15969 | color: transparent; | ||
| 15970 | background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23e00'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 15971 | background-repeat: no-repeat; | ||
| 15972 | height: 2.188rem; | ||
| 15973 | width: 2.188rem; | ||
| 15974 | } | ||
| 15975 | .nf-response-msg .close-response-modal:hover { | ||
| 15976 | background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23699'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 15977 | } | ||
| 15978 | |||
| 15979 | .listradio-wrap .nf-field-element label:after { | ||
| 15980 | width: 1.75rem !important; | ||
| 15981 | height: 1.75rem !important; | ||
| 15982 | left: -2.563rem !important; | ||
| 15983 | border: 2px solid #fff !important; | ||
| 15984 | background: #fff !important; | ||
| 15985 | } | ||
| 15986 | |||
| 15987 | .listradio-wrap .nf-field-element label.nf-checked-label:before { | ||
| 15988 | height: 1.25rem !important; | ||
| 15989 | width: 1.25rem !important; | ||
| 15990 | left: -2.313rem !important; | ||
| 15991 | } | ||
| 15992 | |||
| 15993 | .listradio-wrap .nf-field-element label.nf-checked-label:before { | ||
| 15994 | background: #EE0000 !important; | ||
| 15995 | } | ||
| 15996 | |||
| 15997 | .listradio-wrap .nf-field-element label.nf-checked-label:after { | ||
| 15998 | border-color: #fff !important; | ||
| 15999 | } | ||
| 16000 | |||
| 16001 | .nf-form-cont.full-width .nf-field-container.html-container.label-left:first-of-type { | ||
| 16002 | margin-bottom: 2.563rem !important; | ||
| 16003 | } | ||
| 16004 | .nf-form-cont.full-width .label-left .nf-field-label { | ||
| 16005 | width: auto !important; | ||
| 16006 | padding-right: 1.5rem !important; | ||
| 16007 | } | ||
| 16008 | .nf-form-cont.full-width nf-cells { | ||
| 16009 | gap: 3rem !important; | ||
| 16010 | } | ||
| 16011 | |||
| 16012 | .nf-form-content .list-select-wrap .nf-field-element > div, .nf-form-content input:not([type=button]), .nf-form-content textarea { | ||
| 16013 | border: 0px solid #c4c4c4 !important; | ||
| 16014 | background: #fff !important; | ||
| 16015 | } | ||
| 16016 | |||
| 16017 | .checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after { | ||
| 16018 | background: #fff !important; | ||
| 16019 | } | ||
| 16020 | |||
| 16021 | .checkbox-wrap .nf-field-element label.nf-checked-label:after, .checkbox-wrap .nf-field-label label.nf-checked-label:after, .listcheckbox-wrap .nf-field-element label.nf-checked-label:after, .listcheckbox-wrap .nf-field-label label.nf-checked-label:after { | ||
| 16022 | border-color: #fff !important; | ||
| 16023 | } | ||
| 16024 | |||
| 16025 | .checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after { | ||
| 16026 | height: 1.375rem !important; | ||
| 16027 | width: 1.375rem !important; | ||
| 16028 | border-color: #fff !important; | ||
| 16029 | } | ||
| 16030 | |||
| 16031 | .checkbox-wrap .nf-field-element label.nf-checked-label:before, .checkbox-wrap .nf-field-label label.nf-checked-label:before, .listcheckbox-wrap .nf-field-element label.nf-checked-label:before, .listcheckbox-wrap .nf-field-label label.nf-checked-label:before { | ||
| 16032 | color: #EE0000 !important; | ||
| 16033 | } | ||
| 16034 | |||
| 16035 | .nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] { | ||
| 16036 | background: #EE0000 !important; | ||
| 16037 | padding: 1.25rem 2.813rem !important; | ||
| 16038 | color: #fff !important; | ||
| 16039 | height: unset !important; | ||
| 16040 | font-size: 16px !important; | ||
| 16041 | line-height: 20px !important; | ||
| 16042 | text-transform: uppercase; | ||
| 16043 | color: #fff !important; | ||
| 16044 | } | ||
| 16045 | .nf-form-content button:disabled, .nf-form-content input[type=button]:disabled, .nf-form-content input[type=submit]:disabled { | ||
| 16046 | background: #BEBEBE !important; | ||
| 16047 | } | ||
| 16048 | |||
| 16049 | .nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover { | ||
| 16050 | background-color: #669999 !important; | ||
| 16051 | color: #fff !important; | ||
| 16052 | } | ||
| 16053 | .nf-form-content button:hover:disabled, .nf-form-content input[type=button]:hover:disabled, .nf-form-content input[type=submit]:hover:disabled { | ||
| 16054 | background: #BEBEBE !important; | ||
| 16055 | } | ||
| 16056 | |||
| 16057 | .nf-error-msg:before { | ||
| 16058 | content: ""; | ||
| 16059 | display: inline-block; | ||
| 16060 | background-image: url("data:image/svg+xml,%3Csvg id='Group_1765' data-name='Group 1765' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24.396' height='21.911' viewBox='0 0 24.396 21.911'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_301' data-name='Rectangle 301' width='24.396' height='21.911' transform='translate(0 0)' fill='%23e00'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1764' data-name='Group 1764' transform='translate(0 0)' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1451' data-name='Path 1451' d='M24 17.487 14.752 1.474a2.948 2.948 0 0 0-5.107 0L.4 17.487A2.949 2.949 0 0 0 2.953 21.91H21.443A2.949 2.949 0 0 0 24 17.487m-10.35 1.539h-2.9v-2.9h2.9Zm0-4.169h-2.9V4.967h2.9Z' transform='translate(0 0)' fill='%23e00'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 16061 | background-repeat: no-repeat; | ||
| 16062 | background-size: contain; | ||
| 16063 | width: 1.5rem; | ||
| 16064 | height: 1.313rem; | ||
| 16065 | margin-right: 0.5rem; | ||
| 16066 | } | ||
| 16067 | |||
| 16068 | .datepicker { | ||
| 16069 | width: calc(100% - 45px) !important; | ||
| 16070 | float: right !important; | ||
| 16071 | } | ||
| 16072 | |||
| 16073 | .label-left .field-wrap { | ||
| 16074 | align-items: center; | ||
| 16075 | margin-top: 0.25rem; | ||
| 16076 | } | ||
| 16077 | |||
| 16078 | .field-wrap { | ||
| 16079 | margin-top: 0.25rem; | ||
| 16080 | } | ||
| 16081 | |||
| 16082 | .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { | ||
| 16083 | margin-top: 0; | ||
| 16084 | } | ||
| 16085 | |||
| 16086 | .checkbox-wrap .nf-field-element label, .checkbox-wrap .nf-field-label label, .listcheckbox-wrap .nf-field-element label, .listcheckbox-wrap .nf-field-label label { | ||
| 16087 | margin-left: 0 !important; | ||
| 16088 | } | ||
| 16089 | |||
| 16090 | .field-wrap.date-wrap .nf-field-element { | ||
| 16091 | display: flex; | ||
| 16092 | } | ||
| 16093 | .field-wrap.date-wrap .nf-field-element .pikaday__container { | ||
| 16094 | flex-basis: 20%; | ||
| 16095 | min-width: 200px; | ||
| 16096 | margin-right: 1rem; | ||
| 16097 | } | ||
| 16098 | .field-wrap.date-wrap .nf-field-element .extra { | ||
| 16099 | text-align: center; | ||
| 16100 | padding-right: 0; | ||
| 16101 | } | ||
| 16102 | .field-wrap.date-wrap .nf-field-element > .pikaday__container + div { | ||
| 16103 | height: 40px; | ||
| 16104 | display: flex; | ||
| 16105 | align-items: center; | ||
| 16106 | background: white; | ||
| 16107 | margin-right: 1rem; | ||
| 16108 | padding: 0 0.5rem; | ||
| 16109 | } | ||
| 16110 | .field-wrap.date-wrap .nf-field-element > .pikaday__container + div:after { | ||
| 16111 | content: ""; | ||
| 16112 | width: 1.15rem; | ||
| 16113 | height: 1rem; | ||
| 16114 | display: block; | ||
| 16115 | background-repeat: no-repeat; | ||
| 16116 | background-position: center; | ||
| 16117 | background-size: 10px 16px; | ||
| 16118 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 16119 | pointer-events: none; | ||
| 16120 | } | ||
| 16121 | .field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div { | ||
| 16122 | height: 40px; | ||
| 16123 | display: flex; | ||
| 16124 | align-items: center; | ||
| 16125 | background: white; | ||
| 16126 | margin-right: 1rem; | ||
| 16127 | padding: 0 0.5rem; | ||
| 16128 | } | ||
| 16129 | .field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div:after { | ||
| 16130 | content: ""; | ||
| 16131 | width: 1.15rem; | ||
| 16132 | height: 1rem; | ||
| 16133 | display: block; | ||
| 16134 | background-repeat: no-repeat; | ||
| 16135 | background-position: center; | ||
| 16136 | background-size: 10px 16px; | ||
| 16137 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 16138 | pointer-events: none; | ||
| 16139 | } | ||
| 16140 | .field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div + div { | ||
| 16141 | height: 40px; | ||
| 16142 | display: flex; | ||
| 16143 | align-items: center; | ||
| 16144 | background: white; | ||
| 16145 | margin-right: 1rem; | ||
| 16146 | padding: 0 0.5rem; | ||
| 16147 | } | 15560 | } |
| 16148 | .field-wrap.date-wrap .nf-field-element > .pikaday__container + div + div + div:after { | 15561 | .html-form select:after { |
| 16149 | content: ""; | 15562 | content: ""; |
| 16150 | width: 1.15rem; | 15563 | width: 1.15rem; |
| 16151 | height: 1rem; | 15564 | height: 1rem; |
| ... | @@ -16156,44 +15569,24 @@ nf-cells { | ... | @@ -16156,44 +15569,24 @@ nf-cells { |
| 16156 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | 15569 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; |
| 16157 | pointer-events: none; | 15570 | pointer-events: none; |
| 16158 | } | 15571 | } |
| 16159 | 15572 | .html-form select[multiple=multiple]:after { | |
| 16160 | .pikaday__container::before { | 15573 | display: none; |
| 16161 | content: ""; | ||
| 16162 | background-image: url("data:image/svg+xml,%3Csvg id='Component_271_1' data-name='Component 271 %E2%80%93 1' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_224' data-name='Rectangle 224' width='35' height='35'/%3E%3Cg id='Group_1575' data-name='Group 1575' transform='translate(-83 -842)'%3E%3Cpath id='Path_1397' data-name='Path 1397' d='M73.645 56.3V54.6H71.713v1.7H65.2V54.6H63.268v1.7H58.426V74.353H78.38V56.3Zm2.907 16.224h-16.3v-14.4h16.3Z' transform='translate(32.098 794.427)' fill='%23fff'/%3E%3Crect id='Rectangle_225' data-name='Rectangle 225' width='2.611' height='1.931' transform='translate(95.025 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_226' data-name='Rectangle 226' width='2.611' height='1.931' transform='translate(99.248 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_227' data-name='Rectangle 227' width='2.611' height='1.931' transform='translate(103.471 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_228' data-name='Rectangle 228' width='2.611' height='1.931' transform='translate(95.025 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_229' data-name='Rectangle 229' width='2.611' height='1.931' transform='translate(99.248 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_230' data-name='Rectangle 230' width='2.611' height='1.931' transform='translate(103.471 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_231' data-name='Rectangle 231' width='2.611' height='1.931' transform='translate(95.025 861.969)' fill='%23fff'/%3E%3Crect id='Rectangle_232' data-name='Rectangle 232' width='2.611' height='1.931' transform='translate(99.248 861.969)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 16163 | background-repeat: no-repeat; | ||
| 16164 | background-size: contain; | ||
| 16165 | display: inline-block; | ||
| 16166 | height: 2rem; | ||
| 16167 | width: 2rem; | ||
| 16168 | margin: 0; | ||
| 16169 | cursor: pointer; | ||
| 16170 | } | ||
| 16171 | |||
| 16172 | .pikaday__container:hover::before { | ||
| 16173 | background-image: url(../img/cal-hover.png); | ||
| 16174 | } | ||
| 16175 | |||
| 16176 | .flatpickr-day.selected { | ||
| 16177 | background: #669999 !important; | ||
| 16178 | border-color: #669999 !important; | ||
| 16179 | } | ||
| 16180 | |||
| 16181 | .flatpickr-day.today { | ||
| 16182 | border-color: #EE0000 !important; | ||
| 16183 | } | ||
| 16184 | |||
| 16185 | .flatpickr-day:hover { | ||
| 16186 | background: #EE0000 !important; | ||
| 16187 | border-color: #EE0000 !important; | ||
| 16188 | color: #fff !important; | ||
| 16189 | } | 15574 | } |
| 16190 | 15575 | ||
| 16191 | .content br { | 15576 | .content br { |
| 16192 | display: none; | 15577 | display: none; |
| 16193 | } | 15578 | } |
| 16194 | 15579 | ||
| 16195 | .appArea.responsive { | 15580 | .appArea.responsive .row { |
| 16196 | margin-top: 2.5rem; | 15581 | padding-right: 10px; |
| 15582 | } | ||
| 15583 | @media only screen and (max-width: 782px) { | ||
| 15584 | .appArea.responsive .row { | ||
| 15585 | padding-right: 0px; | ||
| 15586 | } | ||
| 15587 | } | ||
| 15588 | .appArea.responsive .required-text { | ||
| 15589 | font-style: italic; | ||
| 16197 | } | 15590 | } |
| 16198 | .appArea.responsive .form-content { | 15591 | .appArea.responsive .form-content { |
| 16199 | position: relative; | 15592 | position: relative; |
| ... | @@ -16243,9 +15636,6 @@ nf-cells { | ... | @@ -16243,9 +15636,6 @@ nf-cells { |
| 16243 | .appArea.responsive .sub-section-container > .sub-section-body > div .cons-info-question-container { | 15636 | .appArea.responsive .sub-section-container > .sub-section-body > div .cons-info-question-container { |
| 16244 | flex-basis: 50%; | 15637 | flex-basis: 50%; |
| 16245 | } | 15638 | } |
| 16246 | .appArea.responsive > .appArea.responsive { | ||
| 16247 | margin-top: 2.188rem; | ||
| 16248 | } | ||
| 16249 | .appArea.responsive #cons_info_component_container { | 15639 | .appArea.responsive #cons_info_component_container { |
| 16250 | max-width: 100%; | 15640 | max-width: 100%; |
| 16251 | width: 1068px; | 15641 | width: 1068px; |
| ... | @@ -16285,14 +15675,23 @@ nf-cells { | ... | @@ -16285,14 +15675,23 @@ nf-cells { |
| 16285 | .appArea.responsive p { | 15675 | .appArea.responsive p { |
| 16286 | margin-top: 0; | 15676 | margin-top: 0; |
| 16287 | } | 15677 | } |
| 16288 | .appArea.responsive #ACTION_SUBMIT_SURVEY_RESPONSE { | 15678 | .appArea.responsive label { |
| 15679 | padding-left: 0px !important; | ||
| 15680 | } | ||
| 15681 | .appArea.responsive input[type=submit] { | ||
| 15682 | margin-top: 10px; | ||
| 16289 | color: white !important; | 15683 | color: white !important; |
| 16290 | padding: 1.25rem 2.125rem !important; | 15684 | padding: 7px 30px 10px 30px !important; |
| 16291 | font-size: 1rem !important; | 15685 | width: auto !important; |
| 15686 | font-size: 14px !important; | ||
| 15687 | line-height: 19px; | ||
| 16292 | font-family: "PT Sans", sans-serif; | 15688 | font-family: "PT Sans", sans-serif; |
| 16293 | font-weight: 700; | 15689 | font-weight: 700; |
| 15690 | border-radius: 25px !important; | ||
| 15691 | background-color: #e00 !important; | ||
| 15692 | margin-right: 0px; | ||
| 16294 | } | 15693 | } |
| 16295 | .appArea.responsive #ACTION_SUBMIT_SURVEY_RESPONSE:hover { | 15694 | .appArea.responsive input[type=submit]:hover { |
| 16296 | background: #669999 !important; | 15695 | background: #669999 !important; |
| 16297 | } | 15696 | } |
| 16298 | .appArea.responsive legend { | 15697 | .appArea.responsive legend { |
| ... | @@ -16373,10 +15772,6 @@ nf-cells { | ... | @@ -16373,10 +15772,6 @@ nf-cells { |
| 16373 | row-gap: 0; | 15772 | row-gap: 0; |
| 16374 | } | 15773 | } |
| 16375 | } | 15774 | } |
| 16376 | .appArea.responsive #cons_email { | ||
| 16377 | height: auto !important; | ||
| 16378 | } | ||
| 16379 | |||
| 16380 | /******************* * checkboxs ********************/ | 15775 | /******************* * checkboxs ********************/ |
| 16381 | .checkbox-wrap { | 15776 | .checkbox-wrap { |
| 16382 | display: block; | 15777 | display: block; |
| ... | @@ -16687,15 +16082,127 @@ a.skip-link:focus { | ... | @@ -16687,15 +16082,127 @@ a.skip-link:focus { |
| 16687 | opacity: 1; | 16082 | opacity: 1; |
| 16688 | } | 16083 | } |
| 16689 | 16084 | ||
| 16690 | .fr-only { | 16085 | h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { |
| 16691 | display: none !important; | 16086 | font-family: "PT Sans", sans-serif; |
| 16087 | font-weight: 700; | ||
| 16088 | margin: 0 0 10px; | ||
| 16089 | padding: 0; | ||
| 16692 | } | 16090 | } |
| 16693 | 16091 | ||
| 16694 | html:lang(fr-FR) .en-only { | 16092 | h1, .h1 { |
| 16695 | display: none !important; | 16093 | font-size: 45px; |
| 16094 | line-height: 52px; | ||
| 16696 | } | 16095 | } |
| 16697 | html:lang(fr-FR) .fr-only { | 16096 | |
| 16698 | display: inline-block !important; | 16097 | h2, .h2 { |
| 16098 | font-size: 35px; | ||
| 16099 | line-height: 42px; | ||
| 16100 | } | ||
| 16101 | |||
| 16102 | h3, .h3 { | ||
| 16103 | font-size: 24px; | ||
| 16104 | line-height: 30px; | ||
| 16105 | } | ||
| 16106 | |||
| 16107 | h4, .h4 { | ||
| 16108 | font-size: 20px; | ||
| 16109 | line-height: 25px; | ||
| 16110 | } | ||
| 16111 | |||
| 16112 | ul li { | ||
| 16113 | color: #4D4D4D; | ||
| 16114 | margin-bottom: 8px; | ||
| 16115 | padding: 3px 0 2px 10px; | ||
| 16116 | } | ||
| 16117 | ul li ul { | ||
| 16118 | list-style: none; | ||
| 16119 | margin-top: 8px; | ||
| 16120 | } | ||
| 16121 | ul li ul li:before { | ||
| 16122 | content: "-"; | ||
| 16123 | color: #4D4D4D; | ||
| 16124 | font-weight: bold; | ||
| 16125 | display: inline-block; | ||
| 16126 | width: 1.5em; | ||
| 16127 | margin-left: -1.5em; | ||
| 16128 | } | ||
| 16129 | |||
| 16130 | ol li { | ||
| 16131 | color: #4D4D4D; | ||
| 16132 | margin-bottom: 8px; | ||
| 16133 | padding: 3px 0 2px 10px; | ||
| 16134 | } | ||
| 16135 | |||
| 16136 | .wp-block-pullquote { | ||
| 16137 | padding: 2em 0; | ||
| 16138 | margin-bottom: 80px; | ||
| 16139 | } | ||
| 16140 | |||
| 16141 | blockquote { | ||
| 16142 | border-left: 1px solid #EE0000; | ||
| 16143 | border-right: 1px solid #EE0000; | ||
| 16144 | margin: 0 70px 80px 70px; | ||
| 16145 | position: relative; | ||
| 16146 | } | ||
| 16147 | @media only screen and (max-width: 782px) { | ||
| 16148 | blockquote { | ||
| 16149 | margin: 0 20px; | ||
| 16150 | } | ||
| 16151 | } | ||
| 16152 | blockquote p { | ||
| 16153 | font-size: 20px; | ||
| 16154 | line-height: 26px; | ||
| 16155 | font-style: italic; | ||
| 16156 | margin: 0 0 20px; | ||
| 16157 | padding: 0px 25px; | ||
| 16158 | color: #4D4D4D; | ||
| 16159 | text-align: left; | ||
| 16160 | margin-bottom: -20px; | ||
| 16161 | } | ||
| 16162 | blockquote p::before { | ||
| 16163 | content: "“"; | ||
| 16164 | display: block; | ||
| 16165 | position: absolute; | ||
| 16166 | top: 0px; | ||
| 16167 | padding-top: 10px; | ||
| 16168 | left: -20px; | ||
| 16169 | font-size: 80px; | ||
| 16170 | line-height: 55px; | ||
| 16171 | color: #e00; | ||
| 16172 | height: 30px; | ||
| 16173 | width: 30px; | ||
| 16174 | background-color: #fff; | ||
| 16175 | } | ||
| 16176 | blockquote p::after { | ||
| 16177 | content: "”"; | ||
| 16178 | display: block; | ||
| 16179 | position: absolute; | ||
| 16180 | bottom: 0px; | ||
| 16181 | right: -7px; | ||
| 16182 | font-size: 80px; | ||
| 16183 | line-height: 55px; | ||
| 16184 | padding-top: 10px; | ||
| 16185 | color: #e00; | ||
| 16186 | height: 20px; | ||
| 16187 | background-color: #fff; | ||
| 16188 | } | ||
| 16189 | blockquote cite { | ||
| 16190 | font-size: 16px; | ||
| 16191 | line-height: 20px; | ||
| 16192 | display: block; | ||
| 16193 | color: #4D4D4D; | ||
| 16194 | font-weight: bold; | ||
| 16195 | font-style: normal; | ||
| 16196 | text-align: right; | ||
| 16197 | position: absolute; | ||
| 16198 | right: 30px; | ||
| 16199 | bottom: -40px; | ||
| 16200 | float: right; | ||
| 16201 | } | ||
| 16202 | @media only screen and (max-width: 782px) { | ||
| 16203 | blockquote cite { | ||
| 16204 | max-width: 50%; | ||
| 16205 | } | ||
| 16699 | } | 16206 | } |
| 16700 | 16207 | ||
| 16701 | .sh1 { | 16208 | .sh1 { |
| ... | @@ -17830,6 +17337,7 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -17830,6 +17337,7 @@ ul.sf_date_field .sf-datepicker { |
| 17830 | 17337 | ||
| 17831 | #page-wrapper { | 17338 | #page-wrapper { |
| 17832 | margin-top: 34px; | 17339 | margin-top: 34px; |
| 17340 | margin: 34px 40px 0 40px; | ||
| 17833 | } | 17341 | } |
| 17834 | #page-wrapper .breadcrumb { | 17342 | #page-wrapper .breadcrumb { |
| 17835 | margin-bottom: 0px; | 17343 | margin-bottom: 0px; |
| ... | @@ -17855,7 +17363,7 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -17855,7 +17363,7 @@ ul.sf_date_field .sf-datepicker { |
| 17855 | .side-menu { | 17363 | .side-menu { |
| 17856 | list-style: none; | 17364 | list-style: none; |
| 17857 | margin-top: 14px; | 17365 | margin-top: 14px; |
| 17858 | padding-left: 15px; | 17366 | padding-left: 0px; |
| 17859 | } | 17367 | } |
| 17860 | .side-menu li { | 17368 | .side-menu li { |
| 17861 | margin-bottom: 14px; | 17369 | margin-bottom: 14px; |
| ... | @@ -17874,9 +17382,57 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -17874,9 +17382,57 @@ ul.sf_date_field .sf-datepicker { |
| 17874 | width: 100%; | 17382 | width: 100%; |
| 17875 | } | 17383 | } |
| 17876 | } | 17384 | } |
| 17385 | .pi { | ||
| 17386 | height: 300px; | ||
| 17387 | min-height: 300px; | ||
| 17388 | } | ||
| 17389 | @media (min-width: 1024px) { | ||
| 17390 | .pi { | ||
| 17391 | min-height: 200px; | ||
| 17392 | text-align: center; | ||
| 17393 | justify-content: center; | ||
| 17394 | width: 100%; | ||
| 17395 | height: auto; | ||
| 17396 | } | ||
| 17397 | } | ||
| 17398 | .pi .recharts-wrapper { | ||
| 17399 | margin: 0 auto; | ||
| 17400 | } | ||
| 17401 | .pi h3, .pi .h3 { | ||
| 17402 | color: #000; | ||
| 17403 | font-family: Gotham, Helvetica, Arial, sans-serif; | ||
| 17404 | font-weight: 700; | ||
| 17405 | margin: 0; | ||
| 17406 | } | ||
| 17407 | .pi svg { | ||
| 17408 | height: 200px; | ||
| 17409 | overflow: visible; | ||
| 17410 | } | ||
| 17411 | .pi svg:lang(en) { | ||
| 17412 | height: 300px; | ||
| 17413 | } | ||
| 17414 | @media (max-width: 768px) { | ||
| 17415 | .pi h3, .pi .h3 { | ||
| 17416 | text-align: center; | ||
| 17417 | } | ||
| 17418 | .pi svg { | ||
| 17419 | height: 200px; | ||
| 17420 | } | ||
| 17421 | .pi svg:lang(en) { | ||
| 17422 | height: 200px; | ||
| 17423 | } | ||
| 17424 | } | ||
| 17425 | |||
| 17877 | #wrapper-footer { | 17426 | #wrapper-footer { |
| 17878 | background-color: #F0F0F0; | 17427 | background-color: #F0F0F0; |
| 17879 | padding: 33px 0px; | 17428 | padding: 33px 40px; |
| 17429 | } | ||
| 17430 | #wrapper-footer .appArea h2, #wrapper-footer .appArea .h2 { | ||
| 17431 | margin-left: -15px; | ||
| 17432 | } | ||
| 17433 | #wrapper-footer .site-info-menu { | ||
| 17434 | padding-left: 0px; | ||
| 17435 | margin-left: 0px; | ||
| 17880 | } | 17436 | } |
| 17881 | 17437 | ||
| 17882 | .chw-title { | 17438 | .chw-title { |
| ... | @@ -17887,11 +17443,24 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -17887,11 +17443,24 @@ ul.sf_date_field .sf-datepicker { |
| 17887 | text-align: left; | 17443 | text-align: left; |
| 17888 | } | 17444 | } |
| 17889 | 17445 | ||
| 17446 | .chw-widget h2, .chw-widget .h2 { | ||
| 17447 | font-size: 20px; | ||
| 17448 | font-weight: bold; | ||
| 17449 | margin-bottom: 10px; | ||
| 17450 | text-transform: uppercase; | ||
| 17451 | text-align: left; | ||
| 17452 | } | ||
| 17453 | |||
| 17890 | #menu-footer { | 17454 | #menu-footer { |
| 17891 | list-style: none; | 17455 | list-style: none; |
| 17892 | margin-left: 0px; | 17456 | margin-left: 0px; |
| 17893 | padding-left: 0px; | 17457 | padding-left: 0px; |
| 17894 | } | 17458 | } |
| 17459 | #menu-footer li { | ||
| 17460 | margin-bottom: 0px; | ||
| 17461 | padding-bottom: 0px; | ||
| 17462 | padding-left: 0px; | ||
| 17463 | } | ||
| 17895 | #menu-footer li a { | 17464 | #menu-footer li a { |
| 17896 | color: #000; | 17465 | color: #000; |
| 17897 | font-size: 16px; | 17466 | font-size: 16px; |
| ... | @@ -17900,7 +17469,113 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -17900,7 +17469,113 @@ ul.sf_date_field .sf-datepicker { |
| 17900 | text-decoration: none; | 17469 | text-decoration: none; |
| 17901 | } | 17470 | } |
| 17902 | #menu-footer li a:hover { | 17471 | #menu-footer li a:hover { |
| 17903 | color: #fff; | 17472 | color: #000; |
| 17473 | text-decoration: underline; | ||
| 17474 | } | ||
| 17475 | |||
| 17476 | .wp-block-pb-accordion-item { | ||
| 17477 | /* | ||
| 17478 | We're overriding the page structure global for this because this | ||
| 17479 | was seen to be different than usual blocks on page #49 in accordion section | ||
| 17480 | */ | ||
| 17481 | padding-bottom: 0.969rem; | ||
| 17482 | border-bottom: #BEBEBE solid 1px; | ||
| 17483 | } | ||
| 17484 | .wp-block-pb-accordion-item.first-accordion { | ||
| 17485 | margin-top: 1.563rem !important; | ||
| 17486 | } | ||
| 17487 | .wp-block-pb-accordion-item.is-open { | ||
| 17488 | padding-bottom: 1.563rem; | ||
| 17489 | } | ||
| 17490 | .wp-block-pb-accordion-item > h1, .wp-block-pb-accordion-item > .h1, .wp-block-pb-accordion-item h2, .wp-block-pb-accordion-item .h2, .wp-block-pb-accordion-item h3, .wp-block-pb-accordion-item .h3, .wp-block-pb-accordion-item h4, .wp-block-pb-accordion-item .h4, .wp-block-pb-accordion-item h5, .wp-block-pb-accordion-item .h5 { | ||
| 17491 | margin-top: 0.969rem !important; | ||
| 17492 | line-height: normal; | ||
| 17493 | } | ||
| 17494 | .wp-block-pb-accordion-item:hover > h1, .wp-block-pb-accordion-item:hover > .h1, .wp-block-pb-accordion-item:hover > h2, .wp-block-pb-accordion-item:hover > .h2, .wp-block-pb-accordion-item:hover > h3, .wp-block-pb-accordion-item:hover > .h3, .wp-block-pb-accordion-item:hover > h4, .wp-block-pb-accordion-item:hover > .h4, .wp-block-pb-accordion-item:hover > h5, .wp-block-pb-accordion-item:hover > .h5 { | ||
| 17495 | text-decoration: underline; | ||
| 17496 | } | ||
| 17497 | .wp-block-pb-accordion-item.first-accordion { | ||
| 17498 | border-top: #bebebe solid 1px; | ||
| 17499 | } | ||
| 17500 | .wp-block-pb-accordion-item.job-app-accordion { | ||
| 17501 | border-top: 0 !important; | ||
| 17502 | border-bottom: 0; | ||
| 17503 | padding-bottom: 0; | ||
| 17504 | margin-top: 0 !important; | ||
| 17505 | } | ||
| 17506 | .wp-block-pb-accordion-item.job-app-accordion > h2, .wp-block-pb-accordion-item.job-app-accordion > .h2 { | ||
| 17507 | margin-left: 2rem; | ||
| 17508 | font-size: 1rem; | ||
| 17509 | text-transform: uppercase; | ||
| 17510 | margin-top: 1.563rem !important; | ||
| 17511 | } | ||
| 17512 | .wp-block-pb-accordion-item.job-app-accordion > h2:after, .wp-block-pb-accordion-item.job-app-accordion > .h2:after { | ||
| 17513 | width: 19px; | ||
| 17514 | height: 12px; | ||
| 17515 | left: -30px; | ||
| 17516 | } | ||
| 17517 | |||
| 17518 | .c-accordion__title { | ||
| 17519 | font-size: 1.25rem; | ||
| 17520 | } | ||
| 17521 | |||
| 17522 | .accordion-header:not(.timeline) { | ||
| 17523 | margin-top: 0 !important; | ||
| 17524 | padding: 1.563rem 0; | ||
| 17525 | font-size: 1.563rem !important; | ||
| 17526 | } | ||
| 17527 | .accordion-header:not(.timeline) + .first-accordion { | ||
| 17528 | margin-top: 0 !important; | ||
| 17529 | } | ||
| 17530 | |||
| 17531 | .c-accordion__title { | ||
| 17532 | position: relative; | ||
| 17533 | } | ||
| 17534 | |||
| 17535 | .c-accordion__title:before { | ||
| 17536 | content: ""; | ||
| 17537 | width: 100%; | ||
| 17538 | height: 3.5rem; | ||
| 17539 | position: absolute; | ||
| 17540 | top: -1rem; | ||
| 17541 | } | ||
| 17542 | |||
| 17543 | .c-accordion__title:after { | ||
| 17544 | color: #777; | ||
| 17545 | content: "" !important; | ||
| 17546 | font-weight: 300; | ||
| 17547 | position: absolute; | ||
| 17548 | right: unset; | ||
| 17549 | left: -40px; | ||
| 17550 | top: 50%; | ||
| 17551 | width: 25px; | ||
| 17552 | height: 15px; | ||
| 17553 | background-image: url("./../img/down-arrow.png"); | ||
| 17554 | background-size: contain; | ||
| 17555 | background-repeat: no-repeat; | ||
| 17556 | } | ||
| 17557 | |||
| 17558 | .is-open > .c-accordion__title::after { | ||
| 17559 | content: "" !important; | ||
| 17560 | background-image: url("./../img/up-arrow.png"); | ||
| 17561 | } | ||
| 17562 | |||
| 17563 | .c-accordion__title.js-accordion-controller { | ||
| 17564 | margin-left: 2.5rem; | ||
| 17565 | } | ||
| 17566 | |||
| 17567 | .c-accordion__content { | ||
| 17568 | padding-left: 2.5rem; | ||
| 17569 | } | ||
| 17570 | .c-accordion__content > *:first-child { | ||
| 17571 | margin-top: 1.156rem; | ||
| 17572 | } | ||
| 17573 | .c-accordion__content #dd-container { | ||
| 17574 | margin-top: 1.156rem; | ||
| 17575 | } | ||
| 17576 | |||
| 17577 | .available-jobs .c-accordion__content { | ||
| 17578 | padding-left: 2rem; | ||
| 17904 | } | 17579 | } |
| 17905 | 17580 | ||
| 17906 | .has-blue-color, | 17581 | .has-blue-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.
| ... | @@ -21,11 +21,11 @@ $container = get_theme_mod( 'understrap_container_type' ); | ... | @@ -21,11 +21,11 @@ $container = get_theme_mod( 'understrap_container_type' ); |
| 21 | 21 | ||
| 22 | <div class="row"> | 22 | <div class="row"> |
| 23 | 23 | ||
| 24 | <div class="col-md-6 col-sm-12"> | 24 | <div class="col-md-6 col-sm-12 site-info-menu"> |
| 25 | 25 | ||
| 26 | <footer class="site-footer" id="colophon"> | 26 | <footer class="site-footer"> |
| 27 | 27 | ||
| 28 | <div class="site-info"> | 28 | <div class=""> |
| 29 | 29 | ||
| 30 | <?php dynamic_sidebar( 'custom-footer-left-widget' ); ?> | 30 | <?php dynamic_sidebar( 'custom-footer-left-widget' ); ?> |
| 31 | 31 | ||
| ... | @@ -36,7 +36,7 @@ $container = get_theme_mod( 'understrap_container_type' ); | ... | @@ -36,7 +36,7 @@ $container = get_theme_mod( 'understrap_container_type' ); |
| 36 | </div><!-- col --> | 36 | </div><!-- col --> |
| 37 | <div class="col-md-6 col-sm-12"> | 37 | <div class="col-md-6 col-sm-12"> |
| 38 | 38 | ||
| 39 | <footer class="site-footer" id="colophon"> | 39 | <footer class="site-footer"> |
| 40 | 40 | ||
| 41 | <div class="site-info"> | 41 | <div class="site-info"> |
| 42 | 42 | ... | ... |
| ... | @@ -49,6 +49,9 @@ function theme_enqueue_styles() { | ... | @@ -49,6 +49,9 @@ function theme_enqueue_styles() { |
| 49 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { | 49 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { |
| 50 | wp_enqueue_script( 'comment-reply' ); | 50 | wp_enqueue_script( 'comment-reply' ); |
| 51 | } | 51 | } |
| 52 | wp_enqueue_script( 'msf-globe-main', get_stylesheet_directory_uri() . '/blocks/react-app/build/static/js/main.a7bb4a96.chunk.js?v=1.222', array(), false, true ); | ||
| 53 | wp_enqueue_script( 'msf-globe-runtime', get_stylesheet_directory_uri() . '/blocks/react-app/build/static/js/2.c3c99db9.chunk.js?v=2.222', array(), false, true ); | ||
| 54 | wp_enqueue_script( 'msf-globe-chunk', get_stylesheet_directory_uri() . '/blocks/react-app/build/static/js/runtime-main.a933fda7.js?v=2.22', array(), false, true ); | ||
| 52 | } | 55 | } |
| 53 | add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); | 56 | add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); |
| 54 | 57 | ... | ... |
| ... | @@ -12,3 +12,17 @@ if( function_exists('acf_add_options_page') ) { | ... | @@ -12,3 +12,17 @@ if( function_exists('acf_add_options_page') ) { |
| 12 | )); | 12 | )); |
| 13 | 13 | ||
| 14 | } | 14 | } |
| 15 | |||
| 16 | |||
| 17 | add_action('acf/init', 'my_acf_init_block_types'); | ||
| 18 | function my_acf_init_block_types() { | ||
| 19 | |||
| 20 | |||
| 21 | acf_register_block_type( array( | ||
| 22 | 'title' => __( 'MSF PI Chart', 'client_textdomain' ), | ||
| 23 | 'name' => 'msf-pi', | ||
| 24 | 'render_template' => 'blocks/msf-PI/msf-PI.php', | ||
| 25 | 'mode' => 'edit' | ||
| 26 | )); | ||
| 27 | |||
| 28 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -7494,8 +7494,8 @@ | ... | @@ -7494,8 +7494,8 @@ |
| 7494 | } | 7494 | } |
| 7495 | 7495 | ||
| 7496 | // Search Filter | 7496 | // Search Filter |
| 7497 | 7497 | var Search = function ($) { | |
| 7498 | jQuery(document).ready(function ($) { | 7498 | function init() { |
| 7499 | $(".searchandfilter ul li:contains('hidden')").hide(); | 7499 | $(".searchandfilter ul li:contains('hidden')").hide(); |
| 7500 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child ')); | 7500 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child ')); |
| 7501 | $(document).on("click", ".search-filter-reset-custom", function (e) { | 7501 | $(document).on("click", ".search-filter-reset-custom", function (e) { |
| ... | @@ -7512,7 +7512,23 @@ | ... | @@ -7512,7 +7512,23 @@ |
| 7512 | $('#search-box-content').removeClass('show'); | 7512 | $('#search-box-content').removeClass('show'); |
| 7513 | $('.search-box').removeClass('show'); | 7513 | $('.search-box').removeClass('show'); |
| 7514 | }); | 7514 | }); |
| 7515 | if ($(window).width() < 960) { | ||
| 7516 | $(".search-result .entry-summary").each(function () { | ||
| 7517 | var yourString = $(this).text(); | ||
| 7518 | var maxLength = 160; | ||
| 7519 | if (yourString.length > maxLength) { | ||
| 7520 | var trimmedString = yourString.substr(0, maxLength); | ||
| 7521 | trimmedString = trimmedString.substr(0, Math.min(trimmedString.length, trimmedString.lastIndexOf(" "))); | ||
| 7522 | $(this).text(trimmedString + "..."); | ||
| 7523 | } | ||
| 7515 | }); | 7524 | }); |
| 7525 | } | ||
| 7526 | } | ||
| 7527 | return { | ||
| 7528 | init: init | ||
| 7529 | }; | ||
| 7530 | }(jquery); | ||
| 7531 | jquery(document).ready(Search.init); | ||
| 7516 | 7532 | ||
| 7517 | var Responsive = function ($) { | 7533 | var Responsive = function ($) { |
| 7518 | // $('.play-pause-btn').on('click', function() { | 7534 | // $('.play-pause-btn').on('click', function() { |
| ... | @@ -7694,6 +7710,20 @@ | ... | @@ -7694,6 +7710,20 @@ |
| 7694 | 7710 | ||
| 7695 | // Add your custom JS here. | 7711 | // Add your custom JS here. |
| 7696 | new LazyLoad(); | 7712 | new LazyLoad(); |
| 7713 | window.tz_checkVisible = function (elm, evalType, offset, heightBuffer) { | ||
| 7714 | evalType = evalType || "visible"; | ||
| 7715 | var vpH = jQuery(window).height(), | ||
| 7716 | // Viewport Height | ||
| 7717 | st = jQuery(window).scrollTop(), | ||
| 7718 | // Scroll Top | ||
| 7719 | y = jQuery(elm).offset().top + offset, | ||
| 7720 | elementHeight = jQuery(elm).height(); | ||
| 7721 | if (heightBuffer) { | ||
| 7722 | elementHeight += heightBuffer; | ||
| 7723 | } | ||
| 7724 | if (evalType === "visible") return y < vpH + st && y > st - elementHeight; | ||
| 7725 | if (evalType === "above") return y < vpH + st; | ||
| 7726 | }; | ||
| 7697 | 7727 | ||
| 7698 | exports.Alert = alert; | 7728 | exports.Alert = alert; |
| 7699 | exports.Button = button; | 7729 | exports.Button = button; | ... | ... |
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.
| ... | @@ -50,7 +50,7 @@ if($post_type == 'attachment') { | ... | @@ -50,7 +50,7 @@ if($post_type == 'attachment') { |
| 50 | 50 | ||
| 51 | <div class="entry-summary" id='content'> | 51 | <div class="entry-summary" id='content'> |
| 52 | 52 | ||
| 53 | <?= wp_strip_all_tags(get_the_excerpt(), true) ?> | 53 | <?= str_replace("[...]Read More...", "",wp_strip_all_tags(get_the_excerpt(), true)); ?> |
| 54 | 54 | ||
| 55 | </div><!-- .entry-summary --> | 55 | </div><!-- .entry-summary --> |
| 56 | 56 | ... | ... |
| 1 | 1 | ||
| 2 | // Search Filter | 2 | // Search Filter |
| 3 | 3 | ||
| 4 | jQuery(document).ready(function($){ | 4 | import jquery from 'jquery'; |
| 5 | |||
| 6 | var Search = (function($) { | ||
| 7 | |||
| 8 | function init() { | ||
| 5 | $(".searchandfilter ul li:contains('hidden')").hide(); | 9 | $(".searchandfilter ul li:contains('hidden')").hide(); |
| 6 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) ); | 10 | $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) ); |
| 7 | 11 | ||
| ... | @@ -22,6 +26,28 @@ jQuery(document).ready(function($){ | ... | @@ -22,6 +26,28 @@ jQuery(document).ready(function($){ |
| 22 | $('#search-box-content').removeClass('show'); | 26 | $('#search-box-content').removeClass('show'); |
| 23 | $('.search-box').removeClass('show'); | 27 | $('.search-box').removeClass('show'); |
| 24 | }) | 28 | }) |
| 25 | }); | 29 | |
| 30 | if ($(window).width() < 960) { | ||
| 31 | $( ".search-result .entry-summary" ).each(function() { | ||
| 32 | var yourString = $(this).text(); | ||
| 33 | var maxLength = 160; | ||
| 34 | if (yourString.length > maxLength) { | ||
| 35 | var trimmedString = yourString.substr(0, maxLength); | ||
| 36 | trimmedString = trimmedString.substr(0, Math.min(trimmedString.length, trimmedString.lastIndexOf(" "))); | ||
| 37 | $(this).text(trimmedString + "..."); | ||
| 38 | } | ||
| 39 | }); | ||
| 40 | } | ||
| 41 | } | ||
| 42 | |||
| 43 | return { | ||
| 44 | init: init | ||
| 45 | }; | ||
| 46 | |||
| 47 | }(jquery)); | ||
| 48 | |||
| 49 | jquery(document).ready(Search.init); | ||
| 50 | |||
| 51 | export { Search }; | ||
| 26 | 52 | ||
| 27 | 53 | ... | ... |
| 1 | // Add your custom JS here. | 1 | // Add your custom JS here. |
| 2 | import jquery from 'jquery'; | ||
| 2 | import LazyLoad from "vanilla-lazyload"; | 3 | import LazyLoad from "vanilla-lazyload"; |
| 3 | 4 | ||
| 4 | import "./_menu_mobile"; | 5 | import "./_menu_mobile"; |
| ... | @@ -9,3 +10,18 @@ import "./_header_menu"; | ... | @@ -9,3 +10,18 @@ import "./_header_menu"; |
| 9 | var myLazyLoad = new LazyLoad(); | 10 | var myLazyLoad = new LazyLoad(); |
| 10 | 11 | ||
| 11 | 12 | ||
| 13 | window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) { | ||
| 14 | evalType = evalType || "visible"; | ||
| 15 | |||
| 16 | var vpH = jQuery(window).height(), // Viewport Height | ||
| 17 | st = jQuery(window).scrollTop(), // Scroll Top | ||
| 18 | y = jQuery(elm).offset().top + offset, | ||
| 19 | elementHeight = jQuery(elm).height(); | ||
| 20 | |||
| 21 | if (heightBuffer) { | ||
| 22 | elementHeight += heightBuffer; | ||
| 23 | } | ||
| 24 | |||
| 25 | if (evalType === "visible") return ((y < (vpH + st)) && (y > (st - elementHeight))); | ||
| 26 | if (evalType === "above") return ((y < (vpH + st))); | ||
| 27 | }; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | .wp-block-pb-accordion-item{ | ||
| 2 | |||
| 3 | /* | ||
| 4 | We're overriding the page structure global for this because this | ||
| 5 | was seen to be different than usual blocks on page #49 in accordion section | ||
| 6 | */ | ||
| 7 | &.first-accordion { | ||
| 8 | margin-top:1.563rem !important; | ||
| 9 | } | ||
| 10 | |||
| 11 | |||
| 12 | //This should be the default when it's closed as seen on page #49 | ||
| 13 | padding-bottom:0.969rem; | ||
| 14 | |||
| 15 | &.is-open { | ||
| 16 | //This was seen to be the correct spacing in page #49 in the accordion with the download cards | ||
| 17 | //And it's only bottom because the header makes the space for the top | ||
| 18 | padding-bottom:1.563rem; | ||
| 19 | } | ||
| 20 | |||
| 21 | border-bottom:#BEBEBE solid 1px; | ||
| 22 | |||
| 23 | //This was seen to be the correct spacing in page #49 in the accordion with the download cards | ||
| 24 | & > h1, h2, h3, h4, h5 { | ||
| 25 | margin-top:0.969rem !important; | ||
| 26 | line-height: normal; | ||
| 27 | } | ||
| 28 | |||
| 29 | &:hover { | ||
| 30 | & > h1, & > h2, & > h3, & > h4, & > h5 { | ||
| 31 | text-decoration: underline; | ||
| 32 | } | ||
| 33 | } | ||
| 34 | &.first-accordion { | ||
| 35 | border-top: #bebebe solid 1px; | ||
| 36 | } | ||
| 37 | |||
| 38 | &.job-app-accordion { | ||
| 39 | border-top:0 !important; | ||
| 40 | border-bottom:0; | ||
| 41 | padding-bottom:0; | ||
| 42 | margin-top:0 !important; | ||
| 43 | & > h2 { | ||
| 44 | margin-left:2rem; | ||
| 45 | font-size: 1rem; | ||
| 46 | text-transform: uppercase; | ||
| 47 | margin-top:1.563rem !important; | ||
| 48 | &:after { | ||
| 49 | width: 19px; | ||
| 50 | height: 12px; | ||
| 51 | left:-30px; | ||
| 52 | } | ||
| 53 | } | ||
| 54 | } | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | .c-accordion__title{ | ||
| 59 | font-size: 1.25rem; | ||
| 60 | } | ||
| 61 | |||
| 62 | .accordion-header:not(.timeline) { | ||
| 63 | margin-top:0 !important; | ||
| 64 | padding:1.563rem 0; | ||
| 65 | font-size: 1.563rem !important; | ||
| 66 | & + .first-accordion { //This is for the FAQ pages | ||
| 67 | margin-top:0 !important; | ||
| 68 | } | ||
| 69 | } | ||
| 70 | |||
| 71 | .c-accordion__title { | ||
| 72 | position: relative; | ||
| 73 | } | ||
| 74 | |||
| 75 | .c-accordion__title:before { | ||
| 76 | content: ""; | ||
| 77 | width: 100%; | ||
| 78 | height: 3.5rem; | ||
| 79 | position: absolute; | ||
| 80 | top: -1rem; | ||
| 81 | } | ||
| 82 | |||
| 83 | .c-accordion__title:after { | ||
| 84 | color: #777; | ||
| 85 | content: "" !important; | ||
| 86 | font-weight: 300; | ||
| 87 | position: absolute; | ||
| 88 | right: unset; | ||
| 89 | left: -40px; | ||
| 90 | top: 50%; | ||
| 91 | width: 25px; | ||
| 92 | height: 15px; | ||
| 93 | background-image:url("./../img/down-arrow.png") ; | ||
| 94 | background-size: contain; | ||
| 95 | background-repeat: no-repeat; | ||
| 96 | } | ||
| 97 | |||
| 98 | .is-open > .c-accordion__title::after { | ||
| 99 | content: "" !important; | ||
| 100 | background-image:url("./../img/up-arrow.png") ; | ||
| 101 | } | ||
| 102 | |||
| 103 | .c-accordion__title.js-accordion-controller{ | ||
| 104 | margin-left: 2.5rem; | ||
| 105 | } | ||
| 106 | |||
| 107 | .c-accordion__content { | ||
| 108 | padding-left: 2.5rem; | ||
| 109 | //This was set because this was the default space found on page #49 in the accordion section | ||
| 110 | & > *:first-child { | ||
| 111 | margin-top:1.156rem; | ||
| 112 | } | ||
| 113 | #dd-container { | ||
| 114 | margin-top:1.156rem; | ||
| 115 | } | ||
| 116 | } | ||
| 117 | |||
| 118 | .available-jobs { | ||
| 119 | .c-accordion__content{ | ||
| 120 | padding-left: 2rem; | ||
| 121 | } | ||
| 122 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -18,15 +18,125 @@ a.skip-link { | ... | @@ -18,15 +18,125 @@ a.skip-link { |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | .fr-only { | 21 | |
| 22 | display: none !important; | 22 | h1, h2, h3, h4, h5, h6 { |
| 23 | font-family: "PT Sans",sans-serif; | ||
| 24 | font-weight: 700; | ||
| 25 | margin: 0 0 10px; | ||
| 26 | padding: 0; | ||
| 27 | } | ||
| 28 | |||
| 29 | h1 { | ||
| 30 | font-size: 45px; | ||
| 31 | line-height: 52px; | ||
| 32 | } | ||
| 33 | h2{ | ||
| 34 | font-size: 35px; | ||
| 35 | line-height: 42px; | ||
| 36 | } | ||
| 37 | h3 { | ||
| 38 | font-size: 24px; | ||
| 39 | line-height: 30px; | ||
| 40 | } | ||
| 41 | h4 { | ||
| 42 | font-size: 20px; | ||
| 43 | line-height: 25px; | ||
| 44 | } | ||
| 45 | |||
| 46 | ul{ | ||
| 47 | li{ | ||
| 48 | color: #4D4D4D; | ||
| 49 | margin-bottom: 8px; | ||
| 50 | padding: 3px 0 2px 10px; | ||
| 51 | ul{ | ||
| 52 | list-style: none; | ||
| 53 | margin-top: 8px; | ||
| 54 | li:before{ | ||
| 55 | content: "-"; | ||
| 56 | color: #4D4D4D; | ||
| 57 | font-weight: bold; | ||
| 58 | display: inline-block; | ||
| 59 | width: 1.5em; | ||
| 60 | margin-left: -1.5em; | ||
| 61 | } | ||
| 62 | } | ||
| 63 | } | ||
| 23 | } | 64 | } |
| 65 | ol{ | ||
| 66 | li{ | ||
| 67 | color: #4D4D4D; | ||
| 68 | margin-bottom: 8px; | ||
| 69 | padding: 3px 0 2px 10px; | ||
| 24 | 70 | ||
| 25 | html:lang(fr-FR) { | ||
| 26 | .en-only { | ||
| 27 | display: none !important; | ||
| 28 | } | 71 | } |
| 29 | .fr-only { | 72 | } |
| 30 | display: inline-block !important; | 73 | .wp-block-pullquote{ |
| 74 | |||
| 75 | padding: 2em 0; | ||
| 76 | margin-bottom:80px; | ||
| 77 | |||
| 78 | } | ||
| 79 | blockquote{ | ||
| 80 | border-left: 1px solid #EE0000; | ||
| 81 | border-right: 1px solid #EE0000; | ||
| 82 | margin: 0 70px 80px 70px; | ||
| 83 | @media only screen and (max-width: 782px) { | ||
| 84 | margin: 0 20px; | ||
| 85 | } | ||
| 86 | position: relative; | ||
| 87 | |||
| 88 | p{ | ||
| 89 | font-size: 20px; | ||
| 90 | line-height: 26px; | ||
| 91 | font-style: italic; | ||
| 92 | margin: 0 0 20px; | ||
| 93 | padding: 0px 25px ; | ||
| 94 | color: #4D4D4D; | ||
| 95 | text-align: left; | ||
| 96 | margin-bottom: -20px; | ||
| 97 | &::before{ | ||
| 98 | content: "“"; | ||
| 99 | display: block; | ||
| 100 | position: absolute; | ||
| 101 | top: 0px; | ||
| 102 | padding-top: 10px; | ||
| 103 | left: -20px; | ||
| 104 | font-size: 80px; | ||
| 105 | line-height: 55px; | ||
| 106 | color: #e00; | ||
| 107 | height: 30px; | ||
| 108 | width: 30px; | ||
| 109 | background-color: #fff; | ||
| 110 | } | ||
| 111 | &::after{ | ||
| 112 | content: "”"; | ||
| 113 | display: block; | ||
| 114 | position: absolute; | ||
| 115 | bottom: 0px; | ||
| 116 | right: -7px; | ||
| 117 | font-size: 80px; | ||
| 118 | line-height: 55px; | ||
| 119 | padding-top: 10px; | ||
| 120 | color: #e00; | ||
| 121 | height: 20px; | ||
| 122 | background-color: #fff; | ||
| 123 | |||
| 124 | } | ||
| 125 | } | ||
| 126 | cite{ | ||
| 127 | font-size: 16px; | ||
| 128 | line-height: 20px; | ||
| 129 | display: block; | ||
| 130 | color: #4D4D4D; | ||
| 131 | font-weight: bold; | ||
| 132 | font-style: normal; | ||
| 133 | text-align: right; | ||
| 134 | position: absolute; | ||
| 135 | right: 30px; | ||
| 136 | bottom: -40px; | ||
| 137 | @media only screen and (max-width: 782px) { | ||
| 138 | max-width: 50%; | ||
| 139 | } | ||
| 140 | float: right; | ||
| 31 | } | 141 | } |
| 32 | } | 142 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | #wrapper-footer{ | 1 | #wrapper-footer{ |
| 2 | background-color: #F0F0F0; | 2 | background-color: #F0F0F0; |
| 3 | padding: 33px 0px; | 3 | padding: 33px 40px; |
| 4 | .appArea{ | ||
| 5 | h2{ | ||
| 6 | margin-left: -15px; | ||
| 7 | } | ||
| 8 | } | ||
| 9 | .site-info-menu{ | ||
| 10 | padding-left: 0px; | ||
| 11 | margin-left: 0px; | ||
| 12 | } | ||
| 4 | } | 13 | } |
| 5 | 14 | ||
| 6 | 15 | ||
| ... | @@ -11,11 +20,23 @@ | ... | @@ -11,11 +20,23 @@ |
| 11 | text-transform: uppercase; | 20 | text-transform: uppercase; |
| 12 | text-align: left; | 21 | text-align: left; |
| 13 | } | 22 | } |
| 23 | .chw-widget h2{ | ||
| 24 | font-size: 20px; | ||
| 25 | font-weight: bold; | ||
| 26 | margin-bottom: 10px; | ||
| 27 | text-transform: uppercase; | ||
| 28 | text-align: left; | ||
| 29 | |||
| 30 | } | ||
| 31 | |||
| 14 | #menu-footer{ | 32 | #menu-footer{ |
| 15 | list-style: none; | 33 | list-style: none; |
| 16 | margin-left: 0px; | 34 | margin-left: 0px; |
| 17 | padding-left: 0px; | 35 | padding-left: 0px; |
| 18 | li{ | 36 | li{ |
| 37 | margin-bottom: 0px; | ||
| 38 | padding-bottom: 0px; | ||
| 39 | padding-left: 0px; | ||
| 19 | a{ | 40 | a{ |
| 20 | color: #000; | 41 | color: #000; |
| 21 | font-size: 16px; | 42 | font-size: 16px; |
| ... | @@ -23,7 +44,8 @@ | ... | @@ -23,7 +44,8 @@ |
| 23 | font-weight: 400; | 44 | font-weight: 400; |
| 24 | text-decoration: none; | 45 | text-decoration: none; |
| 25 | &:hover{ | 46 | &:hover{ |
| 26 | color: #fff; | 47 | color: #000; |
| 48 | text-decoration: underline; | ||
| 27 | } | 49 | } |
| 28 | } | 50 | } |
| 29 | } | 51 | } | ... | ... |
| ... | @@ -74,6 +74,8 @@ button, input, optgroup, select, textarea{ | ... | @@ -74,6 +74,8 @@ button, input, optgroup, select, textarea{ |
| 74 | height: 2.188rem; | 74 | height: 2.188rem; |
| 75 | padding:0 12px; | 75 | padding:0 12px; |
| 76 | background:white; | 76 | background:white; |
| 77 | margin-right: 20px; | ||
| 78 | margin-bottom: 5px; | ||
| 77 | &[multiple="multiple"] { | 79 | &[multiple="multiple"] { |
| 78 | height: 5.5rem; | 80 | height: 5.5rem; |
| 79 | } | 81 | } |
| ... | @@ -98,742 +100,7 @@ button, input, optgroup, select, textarea{ | ... | @@ -98,742 +100,7 @@ button, input, optgroup, select, textarea{ |
| 98 | } | 100 | } |
| 99 | } | 101 | } |
| 100 | 102 | ||
| 101 | .list-checkbox-wrap .nf-field-element li, .list-image-wrap .nf-field-element li, .list-radio-wrap .nf-field-element li{ | ||
| 102 | //float: left; | ||
| 103 | //padding-right: 30px !important; | ||
| 104 | } | ||
| 105 | |||
| 106 | .nf-form-cont{ | ||
| 107 | background: #F0F0F0 !important; | ||
| 108 | padding: 30px; | ||
| 109 | h3{ | ||
| 110 | margin-top: 0px !important; | ||
| 111 | } | ||
| 112 | } | ||
| 113 | |||
| 114 | .nf-row.required { | ||
| 115 | &:before { | ||
| 116 | content:'* Required field'; | ||
| 117 | display: block; | ||
| 118 | width: 100%; | ||
| 119 | text-align: right; | ||
| 120 | font-size: 1rem; | ||
| 121 | font-family: "PT Sans",sans-serif; | ||
| 122 | } | ||
| 123 | } | ||
| 124 | |||
| 125 | .number-format { | ||
| 126 | position: relative; | ||
| 127 | input { | ||
| 128 | padding-left:1.525rem!important | ||
| 129 | } | ||
| 130 | .nf-field-element { | ||
| 131 | input { | ||
| 132 | padding-left:1.525rem!important | ||
| 133 | } | ||
| 134 | &:before { | ||
| 135 | content:'$'; | ||
| 136 | position: absolute; | ||
| 137 | bottom: 0; | ||
| 138 | left:0.5rem; | ||
| 139 | z-index: 9; | ||
| 140 | font-size: 1.563rem; | ||
| 141 | font-weight: 700; | ||
| 142 | } | ||
| 143 | } | ||
| 144 | } | ||
| 145 | |||
| 146 | .number-format { | ||
| 147 | &:not(.nf-field-container):before { | ||
| 148 | content:'$'; | ||
| 149 | position: absolute; | ||
| 150 | bottom: 0; | ||
| 151 | left:0.5rem; | ||
| 152 | color:black; | ||
| 153 | } | ||
| 154 | } | ||
| 155 | |||
| 156 | html:lang(fr-FR) { | ||
| 157 | .number-format { | ||
| 158 | position: relative; | ||
| 159 | input { | ||
| 160 | padding-left:0.5rem !important; | ||
| 161 | } | ||
| 162 | &:not(.nf-field-container):before { | ||
| 163 | display: none; | ||
| 164 | } | ||
| 165 | &:not(.nf-field-container):after { | ||
| 166 | content:'$'; | ||
| 167 | position: absolute; | ||
| 168 | bottom: 0.25rem; | ||
| 169 | right:0.5rem; | ||
| 170 | color:black; | ||
| 171 | z-index: 99; | ||
| 172 | font-size: 1.563rem; | ||
| 173 | font-weight: 700; | ||
| 174 | } | ||
| 175 | } | ||
| 176 | .number-format { | ||
| 177 | position: relative; | ||
| 178 | .nf-field-element { | ||
| 179 | &:before { | ||
| 180 | display: none; | ||
| 181 | } | ||
| 182 | &:after { | ||
| 183 | content:'$'; | ||
| 184 | position: absolute; | ||
| 185 | bottom: 0; | ||
| 186 | right:0.5rem; | ||
| 187 | z-index: 9; | ||
| 188 | font-size: 1.563rem; | ||
| 189 | font-weight: 700; | ||
| 190 | } | ||
| 191 | } | ||
| 192 | } | ||
| 193 | } | ||
| 194 | |||
| 195 | |||
| 196 | #dd-container .lets-check, #dd-container .lets-check.disabled, #dd-container .lets-check[disabled], #dd-container .lets-check.disabled:hover, #dd-container .lets-check[disabled]:hover, #dd-container .lets-check.disabled:focus, #dd-container .lets-check[disabled]:focus, .dtd-plugin .lets-check, .dtd-plugin .lets-check.disabled, .dtd-plugin .lets-check[disabled], .dtd-plugin .lets-check.disabled:hover, .dtd-plugin .lets-check[disabled]:hover, .dtd-plugin .lets-check.disabled:focus, .dtd-plugin .lets-check[disabled]:focus { | ||
| 197 | background-color: #e00 !important; | ||
| 198 | font-weight: bold; | ||
| 199 | } | ||
| 200 | |||
| 201 | |||
| 202 | #content { | ||
| 203 | |||
| 204 | .nf-form-cont { | ||
| 205 | p { | ||
| 206 | color:black; | ||
| 207 | } | ||
| 208 | } | ||
| 209 | |||
| 210 | #content .list-checkbox-wrap .nf-field-element li label, #content .list-image-wrap .nf-field-element li label, #content .list-radio-wrap .nf-field-element li label { | ||
| 211 | margin-top: 0 !important; | ||
| 212 | } | ||
| 213 | |||
| 214 | .nf-form-content .listcheckbox-wrap li, .nf-form-content .listradio-wrap li { | ||
| 215 | margin-bottom:0 !important; | ||
| 216 | } | ||
| 217 | |||
| 218 | /* | ||
| 219 | These two are for the required fields floating text.. | ||
| 220 | */ | ||
| 221 | .nf-row { | ||
| 222 | position: relative; | ||
| 223 | } | ||
| 224 | .nf-field-container { | ||
| 225 | position: static; | ||
| 226 | } | ||
| 227 | .nf-error { | ||
| 228 | position: static; | ||
| 229 | } | ||
| 230 | |||
| 231 | .checkmark { | ||
| 232 | border:1px solid #707070; | ||
| 233 | } | ||
| 234 | |||
| 235 | .nf-before-form-content { | ||
| 236 | display: none; | ||
| 237 | } | ||
| 238 | |||
| 239 | .nf-form-title { | ||
| 240 | & > h3 { | ||
| 241 | font-size: 2.188rem !important; | ||
| 242 | font-family: "PT Sans",sans-serif; font-weight:bold;; | ||
| 243 | } | ||
| 244 | } | ||
| 245 | |||
| 246 | .checkbox-wrap .nf-field-element label:before, .checkbox-wrap .nf-field-label label:before, | ||
| 247 | .listcheckbox-wrap .nf-field-element label:before, .listcheckbox-wrap .nf-field-label label:before { | ||
| 248 | font-size: 1rem; | ||
| 249 | height: 1.563rem; | ||
| 250 | width: 1.563rem; | ||
| 251 | display: flex; | ||
| 252 | justify-content: center; | ||
| 253 | align-items: center; | ||
| 254 | } | ||
| 255 | |||
| 256 | .checkbox-container.label-right label:before { | ||
| 257 | left: -1.8rem; | ||
| 258 | } | ||
| 259 | |||
| 260 | .nf-field-element { | ||
| 261 | font-size: 1rem; | ||
| 262 | } | ||
| 263 | |||
| 264 | .nf-row:last-of-type { | ||
| 265 | .field-wrap.html-wrap { | ||
| 266 | p { | ||
| 267 | font-size: 0.875rem; | ||
| 268 | line-height: 1.2; | ||
| 269 | } | ||
| 270 | } | ||
| 271 | } | ||
| 272 | |||
| 273 | .nf-before-form-content { | ||
| 274 | font-family: "PT Sans",sans-serif; | ||
| 275 | } | ||
| 276 | |||
| 277 | .field-wrap.checkbox-wrap { | ||
| 278 | margin:0.5rem 0; | ||
| 279 | } | ||
| 280 | |||
| 281 | .nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] { | ||
| 282 | transition: none; | ||
| 283 | font-family: "PT Sans", sans-serif !important; | ||
| 284 | font-weight:bold; | ||
| 285 | border-radius: 0 !important; | ||
| 286 | } | ||
| 287 | |||
| 288 | .nf-error.field-wrap .nf-field-element:after { | ||
| 289 | height: 100%; | ||
| 290 | top:0; | ||
| 291 | right:0; | ||
| 292 | bottom: auto; | ||
| 293 | font-size: 1rem; | ||
| 294 | line-height: 2.2rem; | ||
| 295 | } | ||
| 296 | |||
| 297 | .nf-error-msg.nf-error-required-error { | ||
| 298 | display: none; | ||
| 299 | } | ||
| 300 | |||
| 301 | .nf-field-container.submit-container { | ||
| 302 | margin:1rem 0; | ||
| 303 | } | ||
| 304 | |||
| 305 | .listradio-wrap .nf-field-element label:after { | ||
| 306 | top:0; | ||
| 307 | } | ||
| 308 | |||
| 309 | .field-wrap.html-wrap { | ||
| 310 | p { | ||
| 311 | margin-bottom:0; | ||
| 312 | b { | ||
| 313 | font-size: 1.25rem; | ||
| 314 | } | ||
| 315 | } | ||
| 316 | } | ||
| 317 | |||
| 318 | .label-left .nf-field-label { | ||
| 319 | text-align: left; | ||
| 320 | flex: none; | ||
| 321 | } | ||
| 322 | |||
| 323 | .list-checkbox-wrap .nf-field-element li label, .list-image-wrap .nf-field-element li label, .list-radio-wrap .nf-field-element li label { | ||
| 324 | height:1.563rem; | ||
| 325 | align-items: center; | ||
| 326 | display: flex; | ||
| 327 | } | ||
| 328 | |||
| 329 | .label-left .nf-field-label { | ||
| 330 | padding-right:0; | ||
| 331 | width:9rem; | ||
| 332 | // max-width: 9rem; | ||
| 333 | // min-width: 9rem; | ||
| 334 | |||
| 335 | // !!! Doesn't work for Host A Fundrasier Form !!! | ||
| 336 | // padding-right: 1.5rem; | ||
| 337 | |||
| 338 | box-sizing: content-box; | ||
| 339 | } | ||
| 340 | |||
| 341 | .label-left .field-wrap.textbox-wrap .nf-field-label { | ||
| 342 | padding-right:0; | ||
| 343 | } | ||
| 344 | |||
| 345 | .field-wrap.textarea-wrap { | ||
| 346 | align-items: center; | ||
| 347 | .nf-field-label { | ||
| 348 | max-width: 100%; | ||
| 349 | white-space: nowrap; | ||
| 350 | margin-bottom:5px; | ||
| 351 | } | ||
| 352 | } | ||
| 353 | |||
| 354 | .field-wrap.listradio-wrap { | ||
| 355 | align-items: center; | ||
| 356 | .nf-field-label { | ||
| 357 | max-width: 100%; | ||
| 358 | white-space: nowrap; | ||
| 359 | } | ||
| 360 | .nf-field-element { | ||
| 361 | ul { | ||
| 362 | gap:2.5rem; | ||
| 363 | // margin:0 4rem !important; | ||
| 364 | li { | ||
| 365 | margin-bottom:0 !important; | ||
| 366 | input[type='radio'] { | ||
| 367 | // height: 1.75rem !important; | ||
| 368 | } | ||
| 369 | } | ||
| 370 | } | ||
| 371 | } | ||
| 372 | } | ||
| 373 | |||
| 374 | .nf-field-container { | ||
| 375 | margin-bottom:0.25rem; | ||
| 376 | // &.checkbox-container { | ||
| 377 | // padding-left:2.5rem; //doesn't work on /ways-to-give/planned-giving/ | ||
| 378 | // } | ||
| 379 | } | ||
| 380 | |||
| 381 | .nf-before-form-content { | ||
| 382 | text-align: right; | ||
| 383 | } | ||
| 384 | |||
| 385 | } | ||
| 386 | |||
| 387 | #div_MainContent { | ||
| 388 | a.pdf:before { | ||
| 389 | position: static; | ||
| 390 | } | ||
| 391 | } | ||
| 392 | |||
| 393 | nf-cells { | ||
| 394 | display: flex; | ||
| 395 | gap: 1rem; | ||
| 396 | } | ||
| 397 | |||
| 398 | |||
| 399 | //Setup in accordance to the gifts of stocks and securities STEP #2 | ||
| 400 | .nf-cell + .nf-cell { | ||
| 401 | .nf-field-label { | ||
| 402 | text-align: left !important; | ||
| 403 | } | ||
| 404 | } | ||
| 405 | |||
| 406 | .nf-multi-cell .nf-cell { | ||
| 407 | padding: 0 !important; | ||
| 408 | } | ||
| 409 | |||
| 410 | .nf-form-content textarea.ninja-forms-field { | ||
| 411 | height: 4.688rem !important; | ||
| 412 | } | ||
| 413 | |||
| 414 | .label-left .field-wrap { | ||
| 415 | flex-wrap: nowrap !important; | ||
| 416 | } | ||
| 417 | |||
| 418 | .field-wrap.listradio-wrap .nf-field-label { | ||
| 419 | width: 30rem !important; | ||
| 420 | } | ||
| 421 | 103 | ||
| 422 | .label-left .nf-field-label { | ||
| 423 | width: 11rem !important; | ||
| 424 | } | ||
| 425 | |||
| 426 | .label-left .nf-field-label label { | ||
| 427 | width: auto !important; | ||
| 428 | } | ||
| 429 | |||
| 430 | .checkbox-container.label-right label { | ||
| 431 | font-family: "PT Sans",sans-serif; | ||
| 432 | } | ||
| 433 | |||
| 434 | .nf-field-element > ul { | ||
| 435 | display: flex; | ||
| 436 | } | ||
| 437 | |||
| 438 | .nf-form-content { | ||
| 439 | padding: 0 !important; | ||
| 440 | max-width: none !important; | ||
| 441 | margin: 0 !important; | ||
| 442 | } | ||
| 443 | |||
| 444 | .nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) { | ||
| 445 | height:auto !important; | ||
| 446 | } | ||
| 447 | |||
| 448 | .ninja-forms-field impact-select nf-element { | ||
| 449 | height:100% !important; | ||
| 450 | } | ||
| 451 | |||
| 452 | .nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field { | ||
| 453 | padding:0.35rem 0.625rem !important; | ||
| 454 | color:#000000 !important; | ||
| 455 | font-family: "PT Sans",sans-serif !important; | ||
| 456 | } | ||
| 457 | |||
| 458 | .nf-form-content .list-select-wrap>.nf-field-element { | ||
| 459 | position: relative; | ||
| 460 | background: white; | ||
| 461 | } | ||
| 462 | |||
| 463 | .nf-error-msg, .ninja-forms-req-symbol { | ||
| 464 | color:#4D4D4D !important; | ||
| 465 | } | ||
| 466 | |||
| 467 | .ninja-forms-req-symbol.req-symbol { | ||
| 468 | &:before { | ||
| 469 | position: absolute; | ||
| 470 | top:0; | ||
| 471 | right:0; | ||
| 472 | content:'* Required fields'; | ||
| 473 | display: block; | ||
| 474 | width: 100%; | ||
| 475 | text-align: right; | ||
| 476 | font-size: 1rem; | ||
| 477 | font-family: "PT Sans",sans-serif; | ||
| 478 | color:black; | ||
| 479 | } | ||
| 480 | } | ||
| 481 | |||
| 482 | .nf-form-content .list-select-wrap > .nf-field-element > div { | ||
| 483 | display: none; | ||
| 484 | } | ||
| 485 | |||
| 486 | .nf-form-content .list-select-wrap>.nf-field-element:after { | ||
| 487 | content:'' !important; | ||
| 488 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 489 | display: block; | ||
| 490 | width: 1rem; | ||
| 491 | height: 0.825rem !important; | ||
| 492 | background-repeat: no-repeat; | ||
| 493 | position: absolute; | ||
| 494 | z-index: 9; | ||
| 495 | right: 1rem; | ||
| 496 | top: 1rem; | ||
| 497 | } | ||
| 498 | |||
| 499 | .nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label { | ||
| 500 | margin-bottom:5px !important; | ||
| 501 | } | ||
| 502 | |||
| 503 | .nf-form-content label{ | ||
| 504 | font-size: 1rem !important; | ||
| 505 | line-height: 1.2 !important; | ||
| 506 | font-weight: 300 !important; | ||
| 507 | color:#000000 !important; | ||
| 508 | font-family: "PT Sans",sans-serif; | ||
| 509 | |||
| 510 | } | ||
| 511 | |||
| 512 | .list-select-wrap div:after{ | ||
| 513 | color: #000 !important; | ||
| 514 | } | ||
| 515 | |||
| 516 | .listradio-wrap .nf-element { | ||
| 517 | appearance: none; | ||
| 518 | opacity: 0; | ||
| 519 | } | ||
| 520 | |||
| 521 | .submit-wrap { | ||
| 522 | .nf-field-label { | ||
| 523 | display: none !important; | ||
| 524 | } | ||
| 525 | } | ||
| 526 | |||
| 527 | .label-left .nf-field-element { | ||
| 528 | width: 100% !important; | ||
| 529 | } | ||
| 530 | |||
| 531 | .textarea-container .nf-field .field-wrap { | ||
| 532 | flex-wrap: wrap !important; | ||
| 533 | .nf-field-label { | ||
| 534 | width: 100% !important; | ||
| 535 | } | ||
| 536 | .nf-field-element { | ||
| 537 | width: 100% !important; | ||
| 538 | } | ||
| 539 | } | ||
| 540 | |||
| 541 | .nf-pass.field-wrap .nf-field-element:after { | ||
| 542 | line-height: 1.2 !important; | ||
| 543 | } | ||
| 544 | |||
| 545 | .nf-response-msg { | ||
| 546 | position: fixed; | ||
| 547 | width: 100%; | ||
| 548 | height: 100%; | ||
| 549 | top:0; | ||
| 550 | left:0; | ||
| 551 | display: flex; | ||
| 552 | justify-content: center; | ||
| 553 | align-items: center; | ||
| 554 | background: rgba(0,0,0,0.75); | ||
| 555 | z-index: 9999; | ||
| 556 | & > div { | ||
| 557 | background:white; | ||
| 558 | width: 440px; | ||
| 559 | position: relative; | ||
| 560 | padding:2.188rem; | ||
| 561 | font-size: 1rem; | ||
| 562 | font-family: "PT Sans",sans-serif; | ||
| 563 | h1, h2, h3, h4, h5 { | ||
| 564 | font-family: "PT Sans",sans-serif; font-weight:bold;; | ||
| 565 | font-size: 2.188rem; | ||
| 566 | } | ||
| 567 | } | ||
| 568 | .close-response-modal { | ||
| 569 | position: absolute; | ||
| 570 | top:0; | ||
| 571 | right:0; | ||
| 572 | color:transparent; | ||
| 573 | background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23e00'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 574 | background-repeat: no-repeat; | ||
| 575 | height: 2.188rem; | ||
| 576 | width: 2.188rem; | ||
| 577 | &:hover { | ||
| 578 | background-image: url("data:image/svg+xml,%3Csvg id='Component_138_2' data-name='Component 138 %E2%80%93 2' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_204' data-name='Rectangle 204' width='35' height='35' fill='%23699'/%3E%3Cg id='Group_1279' data-name='Group 1279' transform='translate(-924.013 -952.05) rotate(45)'%3E%3Cline id='Line_34' data-name='Line 34' y2='19.943' transform='translate(1350.972 9.5)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline id='Line_35' data-name='Line 35' y2='19.943' transform='translate(1360.943 19.472) rotate(90)' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 579 | } | ||
| 580 | } | ||
| 581 | } | ||
| 582 | |||
| 583 | .listradio-wrap .nf-field-element label:after{ | ||
| 584 | width: 1.75rem !important; | ||
| 585 | height: 1.75rem !important; | ||
| 586 | left: -2.563rem !important; | ||
| 587 | // margin-top: -0.313rem; | ||
| 588 | border: 2px solid #fff !important; | ||
| 589 | background:#fff !important; | ||
| 590 | } | ||
| 591 | |||
| 592 | .listradio-wrap .nf-field-element label.nf-checked-label:before{ | ||
| 593 | height: 1.25rem !important; | ||
| 594 | width: 1.25rem !important; | ||
| 595 | left: -2.313rem !important; | ||
| 596 | // margin-top: -0.313rem; | ||
| 597 | } | ||
| 598 | |||
| 599 | .listradio-wrap .nf-field-element label.nf-checked-label:before{ | ||
| 600 | background: #EE0000 !important; | ||
| 601 | } | ||
| 602 | .listradio-wrap .nf-field-element label.nf-checked-label:after{ | ||
| 603 | border-color: #fff !important; | ||
| 604 | } | ||
| 605 | |||
| 606 | |||
| 607 | .nf-form-cont.full-width { | ||
| 608 | .nf-field-container.html-container.label-left { | ||
| 609 | &:first-of-type { | ||
| 610 | margin-bottom:2.563rem !important; | ||
| 611 | } | ||
| 612 | } | ||
| 613 | .label-left .nf-field-label { | ||
| 614 | width: auto !important; | ||
| 615 | padding-right:1.5rem !important; | ||
| 616 | } | ||
| 617 | nf-cells { | ||
| 618 | gap:3rem !important; | ||
| 619 | } | ||
| 620 | } | ||
| 621 | |||
| 622 | .nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea{ | ||
| 623 | border: 0px solid #c4c4c4 !important; | ||
| 624 | background:#fff !important; | ||
| 625 | } | ||
| 626 | .checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after{ | ||
| 627 | background:#fff !important; | ||
| 628 | } | ||
| 629 | .checkbox-wrap .nf-field-element label.nf-checked-label:after, .checkbox-wrap .nf-field-label label.nf-checked-label:after, .listcheckbox-wrap .nf-field-element label.nf-checked-label:after, .listcheckbox-wrap .nf-field-label label.nf-checked-label:after{ | ||
| 630 | border-color: #fff !important; | ||
| 631 | } | ||
| 632 | .checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after{ | ||
| 633 | height: 1.375rem !important; | ||
| 634 | width: 1.375rem !important; | ||
| 635 | border-color: #fff !important | ||
| 636 | } | ||
| 637 | .checkbox-wrap .nf-field-element label.nf-checked-label:before, .checkbox-wrap .nf-field-label label.nf-checked-label:before, .listcheckbox-wrap .nf-field-element label.nf-checked-label:before, .listcheckbox-wrap .nf-field-label label.nf-checked-label:before{ | ||
| 638 | color: #EE0000 !important; | ||
| 639 | } | ||
| 640 | .nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit]{ | ||
| 641 | background: #EE0000 !important; | ||
| 642 | padding: 1.25rem 2.813rem !important; | ||
| 643 | color: #fff !important; | ||
| 644 | height:unset !important; | ||
| 645 | font-size: 16px !important; | ||
| 646 | line-height: 20px !important; | ||
| 647 | text-transform: uppercase; | ||
| 648 | color: #fff !important; | ||
| 649 | &:disabled { | ||
| 650 | background:#BEBEBE !important; | ||
| 651 | } | ||
| 652 | } | ||
| 653 | |||
| 654 | .nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover{ | ||
| 655 | background-color: #669999 !important; | ||
| 656 | color: #fff !important; | ||
| 657 | &:disabled { | ||
| 658 | background:#BEBEBE !important; | ||
| 659 | } | ||
| 660 | } | ||
| 661 | |||
| 662 | .nf-error-msg { | ||
| 663 | &:before { | ||
| 664 | content:''; | ||
| 665 | display: inline-block; | ||
| 666 | background-image: url("data:image/svg+xml,%3Csvg id='Group_1765' data-name='Group 1765' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24.396' height='21.911' viewBox='0 0 24.396 21.911'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_301' data-name='Rectangle 301' width='24.396' height='21.911' transform='translate(0 0)' fill='%23e00'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1764' data-name='Group 1764' transform='translate(0 0)' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1451' data-name='Path 1451' d='M24 17.487 14.752 1.474a2.948 2.948 0 0 0-5.107 0L.4 17.487A2.949 2.949 0 0 0 2.953 21.91H21.443A2.949 2.949 0 0 0 24 17.487m-10.35 1.539h-2.9v-2.9h2.9Zm0-4.169h-2.9V4.967h2.9Z' transform='translate(0 0)' fill='%23e00'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 667 | background-repeat: no-repeat; | ||
| 668 | background-size: contain; | ||
| 669 | width: 1.5rem; | ||
| 670 | height: 1.313rem; | ||
| 671 | margin-right:0.5rem; | ||
| 672 | } | ||
| 673 | } | ||
| 674 | |||
| 675 | |||
| 676 | .datepicker{ | ||
| 677 | width: calc(100% - 45px)!important; | ||
| 678 | float: right !important; | ||
| 679 | |||
| 680 | } | ||
| 681 | |||
| 682 | .label-left .field-wrap { | ||
| 683 | align-items: center; | ||
| 684 | margin-top:0.25rem; | ||
| 685 | } | ||
| 686 | .field-wrap { | ||
| 687 | //Works for the Host a Fundraiser form | ||
| 688 | margin-top:0.25rem; | ||
| 689 | } | ||
| 690 | |||
| 691 | .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { | ||
| 692 | margin-top:0; | ||
| 693 | } | ||
| 694 | |||
| 695 | |||
| 696 | .checkbox-wrap .nf-field-element label, .checkbox-wrap .nf-field-label label, .listcheckbox-wrap .nf-field-element label, .listcheckbox-wrap .nf-field-label label { | ||
| 697 | margin-left:0 !important; | ||
| 698 | } | ||
| 699 | |||
| 700 | .field-wrap.date-wrap { | ||
| 701 | .nf-field-element { | ||
| 702 | .pikaday__container { | ||
| 703 | flex-basis: 20%; | ||
| 704 | min-width: 200px; | ||
| 705 | margin-right:1rem; | ||
| 706 | } | ||
| 707 | .extra { | ||
| 708 | text-align: center; | ||
| 709 | padding-right: 0; | ||
| 710 | } | ||
| 711 | display: flex; | ||
| 712 | & > .pikaday__container + div { | ||
| 713 | height:40px; | ||
| 714 | display: flex; | ||
| 715 | align-items: center; | ||
| 716 | background:white; | ||
| 717 | margin-right:1rem; | ||
| 718 | padding:0 0.5rem; | ||
| 719 | &:after { | ||
| 720 | content: ""; | ||
| 721 | width: 1.15rem; | ||
| 722 | height: 1rem; | ||
| 723 | display: block; | ||
| 724 | background-repeat: no-repeat; | ||
| 725 | background-position: center; | ||
| 726 | background-size: 10px 16px; | ||
| 727 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 728 | pointer-events: none; | ||
| 729 | } | ||
| 730 | } | ||
| 731 | & > .pikaday__container + div + div { | ||
| 732 | height:40px; | ||
| 733 | display: flex; | ||
| 734 | align-items: center; | ||
| 735 | background:white; | ||
| 736 | margin-right:1rem; | ||
| 737 | padding:0 0.5rem; | ||
| 738 | &:after { | ||
| 739 | content: ""; | ||
| 740 | width: 1.15rem; | ||
| 741 | height: 1rem; | ||
| 742 | display: block; | ||
| 743 | background-repeat: no-repeat; | ||
| 744 | background-position: center; | ||
| 745 | background-size: 10px 16px; | ||
| 746 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 747 | pointer-events: none; | ||
| 748 | } | ||
| 749 | } | ||
| 750 | & > .pikaday__container + div + div + div { | ||
| 751 | height:40px; | ||
| 752 | display: flex; | ||
| 753 | align-items: center; | ||
| 754 | background:white; | ||
| 755 | margin-right:1rem; | ||
| 756 | padding:0 0.5rem; | ||
| 757 | &:after { | ||
| 758 | content: ""; | ||
| 759 | width: 1.15rem; | ||
| 760 | height: 1rem; | ||
| 761 | display: block; | ||
| 762 | background-repeat: no-repeat; | ||
| 763 | background-position: center; | ||
| 764 | background-size: 10px 16px; | ||
| 765 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.175' height='9.808' viewBox='0 0 16.175 9.808'%3E%3Cpath id='Path_1396' data-name='Path 1396' d='M19.409 190.005c.561-.568 1.11-1.13 1.667-1.686q2-2 4.01-4a.9.9 0 0 1 1.329 0c.254.261.515.516.772.774a.881.881 0 0 1-.005 1.318q-1.8 1.8-3.605 3.606-1.748 1.75-3.495 3.5a.975.975 0 0 1-.654.312.931.931 0 0 1-.719-.31q-1.349-1.354-2.7-2.706-1.836-1.838-3.674-3.675c-.25-.25-.5-.5-.75-.75A.876.876 0 0 1 11.6 185.1l.766-.766a.9.9 0 0 1 1.348 0l3.252 3.24 2.355 2.345C19.339 189.941 19.363 189.962 19.409 190.005Z' transform='translate(-11.305 -184.028)'/%3E%3C/svg%3E") !important; | ||
| 766 | pointer-events: none; | ||
| 767 | } | ||
| 768 | } | ||
| 769 | } | ||
| 770 | } | ||
| 771 | |||
| 772 | .pikaday__container::before{ | ||
| 773 | content:''; | ||
| 774 | background-image: url("data:image/svg+xml,%3Csvg id='Component_271_1' data-name='Component 271 %E2%80%93 1' xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Crect id='Rectangle_224' data-name='Rectangle 224' width='35' height='35'/%3E%3Cg id='Group_1575' data-name='Group 1575' transform='translate(-83 -842)'%3E%3Cpath id='Path_1397' data-name='Path 1397' d='M73.645 56.3V54.6H71.713v1.7H65.2V54.6H63.268v1.7H58.426V74.353H78.38V56.3Zm2.907 16.224h-16.3v-14.4h16.3Z' transform='translate(32.098 794.427)' fill='%23fff'/%3E%3Crect id='Rectangle_225' data-name='Rectangle 225' width='2.611' height='1.931' transform='translate(95.025 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_226' data-name='Rectangle 226' width='2.611' height='1.931' transform='translate(99.248 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_227' data-name='Rectangle 227' width='2.611' height='1.931' transform='translate(103.471 855.357)' fill='%23fff'/%3E%3Crect id='Rectangle_228' data-name='Rectangle 228' width='2.611' height='1.931' transform='translate(95.025 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_229' data-name='Rectangle 229' width='2.611' height='1.931' transform='translate(99.248 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_230' data-name='Rectangle 230' width='2.611' height='1.931' transform='translate(103.471 858.663)' fill='%23fff'/%3E%3Crect id='Rectangle_231' data-name='Rectangle 231' width='2.611' height='1.931' transform='translate(95.025 861.969)' fill='%23fff'/%3E%3Crect id='Rectangle_232' data-name='Rectangle 232' width='2.611' height='1.931' transform='translate(99.248 861.969)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E"); | ||
| 775 | background-repeat: no-repeat; | ||
| 776 | background-size: contain; | ||
| 777 | display: inline-block; | ||
| 778 | height: 2rem; | ||
| 779 | width:2rem; | ||
| 780 | margin:0; | ||
| 781 | cursor: pointer; | ||
| 782 | } | ||
| 783 | |||
| 784 | .pikaday__container:hover::before{ | ||
| 785 | background-image: url(../img/cal-hover.png); | ||
| 786 | } | ||
| 787 | .flatpickr-day.selected{ | ||
| 788 | |||
| 789 | background: #669999 !important; | ||
| 790 | border-color: #669999 !important; | ||
| 791 | } | ||
| 792 | |||
| 793 | .flatpickr-day.today{ | ||
| 794 | border-color: #EE0000 !important; | ||
| 795 | } | ||
| 796 | .flatpickr-day:hover{ | ||
| 797 | background: #EE0000 !important; | ||
| 798 | border-color: #EE0000 !important; | ||
| 799 | color:#fff !important; | ||
| 800 | } | ||
| 801 | |||
| 802 | // .checbox-filter-section { | ||
| 803 | // input { | ||
| 804 | // opacity: 0; | ||
| 805 | // width: 0; | ||
| 806 | // } | ||
| 807 | // .checkbox-field { | ||
| 808 | // position: relative; | ||
| 809 | // &:before{ | ||
| 810 | // content:''; | ||
| 811 | // display: inline-block; | ||
| 812 | // height: 1.375rem!important; | ||
| 813 | // width: 1.375rem!important; | ||
| 814 | // border-color: #f0f0f0!important; | ||
| 815 | // background: #f0f0f0!important; | ||
| 816 | // } | ||
| 817 | // } | ||
| 818 | // input:checked + .checkbox-field { | ||
| 819 | // &:after { | ||
| 820 | // content: "\f00c"; | ||
| 821 | // font-family: FontAwesome; | ||
| 822 | // font-size: 1.125rem; | ||
| 823 | // // height: 1rem; | ||
| 824 | // // width: 1rem; | ||
| 825 | // // background:red; | ||
| 826 | // display: flex; | ||
| 827 | // justify-content: center; | ||
| 828 | // align-items: center; | ||
| 829 | // font-size: 24px; | ||
| 830 | // position: absolute; | ||
| 831 | // bottom: 0; | ||
| 832 | // left: 0; | ||
| 833 | // z-index: 2; | ||
| 834 | // } | ||
| 835 | // } | ||
| 836 | // } | ||
| 837 | 104 | ||
| 838 | 105 | ||
| 839 | //Forms from luminate | 106 | //Forms from luminate |
| ... | @@ -845,6 +112,16 @@ nf-cells { | ... | @@ -845,6 +112,16 @@ nf-cells { |
| 845 | } | 112 | } |
| 846 | 113 | ||
| 847 | .appArea.responsive { | 114 | .appArea.responsive { |
| 115 | .row{ | ||
| 116 | padding-right: 10px; | ||
| 117 | @media only screen and (max-width: 782px) { | ||
| 118 | padding-right: 0px; | ||
| 119 | } | ||
| 120 | |||
| 121 | } | ||
| 122 | .required-text { | ||
| 123 | font-style: italic; | ||
| 124 | } | ||
| 848 | 125 | ||
| 849 | .form-content { | 126 | .form-content { |
| 850 | position: relative; | 127 | position: relative; |
| ... | @@ -853,6 +130,7 @@ nf-cells { | ... | @@ -853,6 +130,7 @@ nf-cells { |
| 853 | top: 0; | 130 | top: 0; |
| 854 | top: -2.5rem; | 131 | top: -2.5rem; |
| 855 | right: 0; | 132 | right: 0; |
| 133 | |||
| 856 | } | 134 | } |
| 857 | } | 135 | } |
| 858 | 136 | ||
| ... | @@ -910,10 +188,9 @@ nf-cells { | ... | @@ -910,10 +188,9 @@ nf-cells { |
| 910 | } | 188 | } |
| 911 | 189 | ||
| 912 | //Setup as per spacing on newsletter signup on homepage | 190 | //Setup as per spacing on newsletter signup on homepage |
| 913 | margin-top:2.5rem; | ||
| 914 | 191 | ||
| 915 | & > .appArea.responsive { | 192 | & > .appArea.responsive { |
| 916 | margin-top:2.188rem; | 193 | |
| 917 | } | 194 | } |
| 918 | 195 | ||
| 919 | //The newsletter signup on homepage | 196 | //The newsletter signup on homepage |
| ... | @@ -963,12 +240,22 @@ nf-cells { | ... | @@ -963,12 +240,22 @@ nf-cells { |
| 963 | margin-top:0; | 240 | margin-top:0; |
| 964 | } | 241 | } |
| 965 | 242 | ||
| 966 | #ACTION_SUBMIT_SURVEY_RESPONSE { | 243 | label { |
| 244 | padding-left: 0px !important; | ||
| 245 | } | ||
| 246 | |||
| 247 | input[type="submit"] { | ||
| 248 | margin-top: 10px; | ||
| 967 | color:white !important; | 249 | color:white !important; |
| 968 | padding:1.25rem 2.125rem !important; | 250 | padding: 7px 30px 10px 30px!important; |
| 969 | font-size: 1rem !important; | 251 | width: auto !important; |
| 252 | font-size: 14px !important; | ||
| 253 | line-height: 19px; | ||
| 970 | font-family: "PT Sans",sans-serif; | 254 | font-family: "PT Sans",sans-serif; |
| 971 | font-weight: 700; | 255 | font-weight: 700; |
| 256 | border-radius: 25px !important; | ||
| 257 | background-color: #e00 !important; | ||
| 258 | margin-right: 0px; | ||
| 972 | &:hover { | 259 | &:hover { |
| 973 | background:#669999 !important; | 260 | background:#669999 !important; |
| 974 | } | 261 | } |
| ... | @@ -1049,6 +336,7 @@ nf-cells { | ... | @@ -1049,6 +336,7 @@ nf-cells { |
| 1049 | border-radius: 0 !important; | 336 | border-radius: 0 !important; |
| 1050 | height:2.188rem !important; | 337 | height:2.188rem !important; |
| 1051 | min-width: 200px; | 338 | min-width: 200px; |
| 339 | |||
| 1052 | } | 340 | } |
| 1053 | label { | 341 | label { |
| 1054 | font-size: 1rem!important; | 342 | font-size: 1rem!important; |
| ... | @@ -1066,7 +354,7 @@ nf-cells { | ... | @@ -1066,7 +354,7 @@ nf-cells { |
| 1066 | } | 354 | } |
| 1067 | 355 | ||
| 1068 | #cons_email { | 356 | #cons_email { |
| 1069 | height: auto !important; | 357 | |
| 1070 | } | 358 | } |
| 1071 | 359 | ||
| 1072 | } | 360 | } | ... | ... |
| ... | @@ -172,6 +172,7 @@ | ... | @@ -172,6 +172,7 @@ |
| 172 | } | 172 | } |
| 173 | #page-wrapper{ | 173 | #page-wrapper{ |
| 174 | margin-top: 34px; | 174 | margin-top: 34px; |
| 175 | margin: 34px 40px 0 40px; | ||
| 175 | .breadcrumb{ | 176 | .breadcrumb{ |
| 176 | margin-bottom: 0px; | 177 | margin-bottom: 0px; |
| 177 | #breadcrumb{ | 178 | #breadcrumb{ |
| ... | @@ -196,7 +197,7 @@ h1+p { | ... | @@ -196,7 +197,7 @@ h1+p { |
| 196 | .side-menu{ | 197 | .side-menu{ |
| 197 | list-style: none; | 198 | list-style: none; |
| 198 | margin-top: 14px; | 199 | margin-top: 14px; |
| 199 | padding-left: 15px; | 200 | padding-left: 0px; |
| 200 | li{ | 201 | li{ |
| 201 | margin-bottom: 14px; | 202 | margin-bottom: 14px; |
| 202 | 203 | ||
| ... | @@ -215,3 +216,43 @@ h1+p { | ... | @@ -215,3 +216,43 @@ h1+p { |
| 215 | width: 100%; | 216 | width: 100%; |
| 216 | } | 217 | } |
| 217 | } | 218 | } |
| 219 | |||
| 220 | |||
| 221 | .pi { | ||
| 222 | height:300px; | ||
| 223 | min-height:300px; | ||
| 224 | @media(min-width: 1024px) { | ||
| 225 | min-height:200px; | ||
| 226 | text-align: center; | ||
| 227 | justify-content: center; | ||
| 228 | width: 100%; | ||
| 229 | height: auto; | ||
| 230 | } | ||
| 231 | .recharts-wrapper { | ||
| 232 | margin:0 auto; | ||
| 233 | } | ||
| 234 | h3 { | ||
| 235 | color:#000; | ||
| 236 | font-family:Gotham,Helvetica,Arial,sans-serif; | ||
| 237 | font-weight: 700; | ||
| 238 | margin:0; | ||
| 239 | } | ||
| 240 | svg { | ||
| 241 | height:200px; | ||
| 242 | overflow: visible; | ||
| 243 | } | ||
| 244 | svg:lang(en) { | ||
| 245 | height:300px; | ||
| 246 | } | ||
| 247 | @media(max-width: 768px) { | ||
| 248 | h3 { | ||
| 249 | text-align:center; | ||
| 250 | } | ||
| 251 | svg { | ||
| 252 | height:200px; | ||
| 253 | } | ||
| 254 | svg:lang(en) { | ||
| 255 | height:200px; | ||
| 256 | } | ||
| 257 | } | ||
| 258 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment