mirror of
https://github.com/ae-utbm/sith.git
synced 2025-03-09 23:07:11 +00:00
Merge pull request #1040 from ae-utbm/country_flags
made country flags apply to windows in chrome browsers
This commit is contained in:
commit
98175e397c
3
core/static/bundled/country-flags-index.ts
Normal file
3
core/static/bundled/country-flags-index.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill";
|
||||||
|
|
||||||
|
polyfillCountryFlagEmojis();
|
@ -106,6 +106,7 @@ $hovered-red-text-color: #ff4d4d;
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
|
font-family: "Twemoji Country Flags", sans-serif;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $background-color-hovered;
|
background-color: $background-color-hovered;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
<script type="module" src={{ static("bundled/core/components/include-index.ts") }}></script>
|
<script type="module" src={{ static("bundled/core/components/include-index.ts") }}></script>
|
||||||
<script type="module" src="{{ static('bundled/alpine-index.js') }}"></script>
|
<script type="module" src="{{ static('bundled/alpine-index.js') }}"></script>
|
||||||
<script type="module" src="{{ static('bundled/htmx-index.js') }}"></script>
|
<script type="module" src="{{ static('bundled/htmx-index.js') }}"></script>
|
||||||
|
<script type="module" src="{{ static('bundled/country-flags-index.ts') }}"></script>
|
||||||
|
|
||||||
<!-- Jquery declared here to be accessible in every django widgets -->
|
<!-- Jquery declared here to be accessible in every django widgets -->
|
||||||
<script src="{{ static('bundled/vendored/jquery.min.js') }}"></script>
|
<script src="{{ static('bundled/vendored/jquery.min.js') }}"></script>
|
||||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -22,6 +22,7 @@
|
|||||||
"3d-force-graph": "^1.73.4",
|
"3d-force-graph": "^1.73.4",
|
||||||
"alpinejs": "^3.14.7",
|
"alpinejs": "^3.14.7",
|
||||||
"chart.js": "^4.4.4",
|
"chart.js": "^4.4.4",
|
||||||
|
"country-flag-emoji-polyfill": "^0.1.8",
|
||||||
"cytoscape": "^3.30.2",
|
"cytoscape": "^3.30.2",
|
||||||
"cytoscape-cxtmenu": "^3.5.0",
|
"cytoscape-cxtmenu": "^3.5.0",
|
||||||
"cytoscape-klay": "^3.1.4",
|
"cytoscape-klay": "^3.1.4",
|
||||||
@ -3379,6 +3380,11 @@
|
|||||||
"url": "https://opencollective.com/core-js"
|
"url": "https://opencollective.com/core-js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/country-flag-emoji-polyfill": {
|
||||||
|
"version": "0.1.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/country-flag-emoji-polyfill/-/country-flag-emoji-polyfill-0.1.8.tgz",
|
||||||
|
"integrity": "sha512-Mbah52sADS3gshUYhK5142gtUuJpHYOXlXtLFI3Ly4RqgkmPMvhX9kMZSTqDM8P7UqtSW99eHKFphhQSGXA3Cg=="
|
||||||
|
},
|
||||||
"node_modules/cross-spawn": {
|
"node_modules/cross-spawn": {
|
||||||
"version": "7.0.6",
|
"version": "7.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
"3d-force-graph": "^1.73.4",
|
"3d-force-graph": "^1.73.4",
|
||||||
"alpinejs": "^3.14.7",
|
"alpinejs": "^3.14.7",
|
||||||
"chart.js": "^4.4.4",
|
"chart.js": "^4.4.4",
|
||||||
|
"country-flag-emoji-polyfill": "^0.1.8",
|
||||||
"cytoscape": "^3.30.2",
|
"cytoscape": "^3.30.2",
|
||||||
"cytoscape-cxtmenu": "^3.5.0",
|
"cytoscape-cxtmenu": "^3.5.0",
|
||||||
"cytoscape-klay": "^3.1.4",
|
"cytoscape-klay": "^3.1.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user