@everymatrix/general-footer-template 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/custom-content-section.cjs.entry.js +9639 -0
- package/dist/cjs/general-footer-template.cjs.entry.js +315 -0
- package/dist/cjs/general-footer-template.cjs.js +25 -0
- package/dist/cjs/image-list.cjs.entry.js +29 -0
- package/dist/cjs/index-4c3922ac.js +1291 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/link-section-list.cjs.entry.js +62 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +15 -0
- package/dist/collection/components/custom-content-section/custom-content-section.css +13 -0
- package/dist/collection/components/custom-content-section/custom-content-section.js +105 -0
- package/dist/collection/components/general-footer-template/demo-footer.css +160 -0
- package/dist/collection/components/general-footer-template/general-footer-template.css +84 -0
- package/dist/collection/components/general-footer-template/general-footer-template.js +321 -0
- package/dist/collection/components/general-footer-template/index.js +1 -0
- package/dist/collection/components/general-footer-template/pariuri_plus_variant.css +185 -0
- package/dist/collection/components/general-footer-template/variant_style_1.css +146 -0
- package/dist/collection/components/image-list/image-list.css +69 -0
- package/dist/collection/components/image-list/image-list.js +86 -0
- package/dist/collection/components/link-section-list/link-section-list.css +83 -0
- package/dist/collection/components/link-section-list/link-section-list.js +152 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/utils.js +212 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/custom-content-section.entry.js +9635 -0
- package/dist/esm/general-footer-template.entry.js +311 -0
- package/dist/esm/general-footer-template.js +20 -0
- package/dist/esm/image-list.entry.js +25 -0
- package/dist/esm/index-7361445e.js +1265 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/link-section-list.entry.js +58 -0
- package/dist/esm/loader.js +11 -0
- package/dist/general-footer-template/general-footer-template.esm.js +1 -0
- package/dist/general-footer-template/index.esm.js +0 -0
- package/dist/general-footer-template/p-01f3f03f.entry.js +8 -0
- package/dist/general-footer-template/p-26b76a9c.js +2 -0
- package/dist/general-footer-template/p-572b7e03.entry.js +1 -0
- package/dist/general-footer-template/p-7e979c2e.entry.js +1 -0
- package/dist/general-footer-template/p-e1255160.js +1 -0
- package/dist/general-footer-template/p-e98c72d0.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/custom-content-section/custom-content-section.d.ts +19 -0
- package/dist/types/components/general-footer-template/general-footer-template.d.ts +75 -0
- package/dist/types/components/general-footer-template/index.d.ts +1 -0
- package/dist/types/components/image-list/image-list.d.ts +16 -0
- package/dist/types/components/link-section-list/link-section-list.d.ts +24 -0
- package/dist/types/components.d.ts +268 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/utils.d.ts +95 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-4c3922ac.js');
|
|
6
|
+
|
|
7
|
+
const linkSectionListCss = ":host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.LinkSectionListContainer {\n display: block;\n container-type: inline-size;\n}\n.LinkSectionListWrapper {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n grid-template-columns: 1fr;\n}\n.LinkSectionListTitle {\n font-weight: var(--emw--font-weight-semibold, 500);\n text-transform: uppercase;\n}\n.LinkSectionListLink {\n font-weight: var(--emw--font-weight-light, 300);\n}\n\nul {\n width: fit-content;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: var(--emw--spacing-medium, 16px);\n padding-left: var(--emw--spacing-small-minus, 10px);\n font-size: var(--emw--font-size-small, 16px);\n text-transform: uppercase;\n}\nul li {\n list-style: disc;\n display: flex;\n align-items: center;\n padding-left: 25px;\n position: relative;\n}\nul li::before {\n content: \"\";\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n height: 8px;\n background-color: var(--emw--footer-color-primary, var(--emw--color-primary, #22B04E));\n border-radius: 50%;\n}\nul li .LinkSectionListLinkText {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\nul li .LinkSectionListLinkText span {\n text-align: center;\n cursor: pointer;\n}\nul li .LinkSectionListLinkText img.LinkSectionIcon {\n position: relative;\n height: 25px;\n padding: 0 5px;\n}\n\na {\n color: inherit;\n}\n\n@container (min-width: 280px) {\n .LinkSectionListWrapper {\n grid-template-columns: repeat(2, 1fr);\n }\n}\n@container (min-width: 650px) {\n .LinkSectionListWrapper {\n grid-gap: 2rem;\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: 1fr;\n }\n}";
|
|
8
|
+
const LinkSectionListStyle0 = linkSectionListCss;
|
|
9
|
+
|
|
10
|
+
const LinkSectionList = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.repeaterContent = undefined;
|
|
14
|
+
this.baseUrl = undefined;
|
|
15
|
+
this.language = undefined;
|
|
16
|
+
this.navigateViaEvent = false;
|
|
17
|
+
this.postMessageEvent = '';
|
|
18
|
+
}
|
|
19
|
+
navigateLink(link) {
|
|
20
|
+
window.postMessage({ type: this.postMessageEvent, url: link.linkUrl, target: link.target, externalLink: link.externalLink }, window.location.href);
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
var _a, _b;
|
|
24
|
+
const linkSections = (_b = (_a = this.repeaterContent) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.reduce((obj, elem) => {
|
|
25
|
+
const currentCategory = elem.linkCategory;
|
|
26
|
+
const iconUrl = elem.image;
|
|
27
|
+
const foundCategory = obj.find(el => el.categoryTitle === currentCategory);
|
|
28
|
+
if (foundCategory) {
|
|
29
|
+
foundCategory.links.push({
|
|
30
|
+
linkName: elem.title,
|
|
31
|
+
linkUrl: elem.url,
|
|
32
|
+
target: elem.target,
|
|
33
|
+
externalLink: elem.isExternalLink,
|
|
34
|
+
icon: iconUrl
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
obj.push({
|
|
39
|
+
categoryTitle: currentCategory,
|
|
40
|
+
links: [{
|
|
41
|
+
linkName: elem.title,
|
|
42
|
+
linkUrl: elem.url,
|
|
43
|
+
target: elem.target,
|
|
44
|
+
externalLink: elem.isExternalLink,
|
|
45
|
+
icon: iconUrl
|
|
46
|
+
}]
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
return obj;
|
|
50
|
+
}, []);
|
|
51
|
+
return index.h("div", { class: "LinkSectionListContainer" }, index.h("div", { class: "LinkSectionListWrapper" }, index.h("h2", { class: "LinkSectionListTitle" }, linkSections.categoryTitle), linkSections.map(category => index.h("ul", null, category.links.map(link => index.h("li", { class: "LinkSectionListLink", key: link.linkName }, this.navigateViaEvent === true ? (index.h("span", null, link.linkName && link.icon ? (index.h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, index.h("img", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }), index.h("span", null, link.linkName, " "))) :
|
|
52
|
+
link.linkName ?
|
|
53
|
+
index.h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, index.h("span", null, link.linkName, " "))
|
|
54
|
+
:
|
|
55
|
+
index.h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, index.h("img", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })))) : (index.h("a", { class: "LinkSectionListLink", href: link.externalLink ? link.linkUrl : `${this.baseUrl}/${this.language}${link.linkUrl}`, target: link.target || '_blank' }, link.linkName && link.icon ? (index.h("span", { class: "LinkSectionListLinkText" }, index.h("img", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }), index.h("span", null, link.linkName))) :
|
|
56
|
+
link.linkName ? (index.h("span", { class: "LinkSectionListLinkText" }, index.h("span", null, link.linkName))) :
|
|
57
|
+
index.h("span", { class: "LinkSectionListLinkText" }, index.h("img", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))))))));
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
LinkSectionList.style = LinkSectionListStyle0;
|
|
61
|
+
|
|
62
|
+
exports.link_section_list = LinkSectionList;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-4c3922ac.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
|
+
|
|
8
|
+
const defineCustomElements = async (win, options) => {
|
|
9
|
+
if (typeof window === 'undefined') return undefined;
|
|
10
|
+
await appGlobals.globalScripts();
|
|
11
|
+
return index.bootstrapLazy([["custom-content-section.cjs",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["general-footer-template.cjs",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasErrors":[32],"stylingAppends":[32]}]]],["link-section-list.cjs",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list.cjs",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
exports.setNonce = index.setNonce;
|
|
15
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/general-footer-template/general-footer-template.js",
|
|
4
|
+
"components/custom-content-section/custom-content-section.js",
|
|
5
|
+
"components/image-list/image-list.js",
|
|
6
|
+
"components/link-section-list/link-section-list.js"
|
|
7
|
+
],
|
|
8
|
+
"compiler": {
|
|
9
|
+
"name": "@stencil/core",
|
|
10
|
+
"version": "4.20.0",
|
|
11
|
+
"typescriptVersion": "5.5.3"
|
|
12
|
+
},
|
|
13
|
+
"collections": [],
|
|
14
|
+
"bundles": []
|
|
15
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import sanitizeHtml from "sanitize-html";
|
|
3
|
+
export class CustomContentSection {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.customContent = undefined;
|
|
6
|
+
this.repeaterContent = undefined;
|
|
7
|
+
this.navigateViaEvent = false;
|
|
8
|
+
this.postMessageEvent = '';
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const clean = sanitizeHtml(this.customContent, {
|
|
12
|
+
allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img']),
|
|
13
|
+
allowedAttributes: {
|
|
14
|
+
img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading']
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
return h("div", { key: '818f883a9cf68c04ed29572bd6b5949e0ebb41e6', class: "CustomContentSectionContainer" }, h("div", { key: '63f78d30acf7a3e3b1f672317342dc4c58669c9b', class: "CustomContentSectionWrapper" }, h("div", { key: '920f2c9f25f3c2e39bae12969aef06f6ee8b58fa', class: "CustomContentSectionContent", innerHTML: clean }), this.repeaterContent ? h("image-list", { style: { width: "100%" }, repeaterContent: this.repeaterContent ? this.repeaterContent : null, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent }) : ''));
|
|
18
|
+
}
|
|
19
|
+
static get is() { return "custom-content-section"; }
|
|
20
|
+
static get encapsulation() { return "scoped"; }
|
|
21
|
+
static get originalStyleUrls() {
|
|
22
|
+
return {
|
|
23
|
+
"$": ["custom-content-section.scss"]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
static get styleUrls() {
|
|
27
|
+
return {
|
|
28
|
+
"$": ["custom-content-section.css"]
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
static get properties() {
|
|
32
|
+
return {
|
|
33
|
+
"customContent": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"mutable": false,
|
|
36
|
+
"complexType": {
|
|
37
|
+
"original": "string",
|
|
38
|
+
"resolved": "string",
|
|
39
|
+
"references": {}
|
|
40
|
+
},
|
|
41
|
+
"required": false,
|
|
42
|
+
"optional": false,
|
|
43
|
+
"docs": {
|
|
44
|
+
"tags": [],
|
|
45
|
+
"text": "custom HTML content to be rendered"
|
|
46
|
+
},
|
|
47
|
+
"attribute": "custom-content",
|
|
48
|
+
"reflect": false
|
|
49
|
+
},
|
|
50
|
+
"repeaterContent": {
|
|
51
|
+
"type": "any",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "any",
|
|
55
|
+
"resolved": "any",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": "the links content to be displayed, including titles, url, open target"
|
|
63
|
+
},
|
|
64
|
+
"attribute": "repeater-content",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
67
|
+
"navigateViaEvent": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "boolean",
|
|
72
|
+
"resolved": "boolean",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": false,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": "If this is true it will emit an event at the moment the content with url its clicked"
|
|
80
|
+
},
|
|
81
|
+
"attribute": "navigate-via-event",
|
|
82
|
+
"reflect": true,
|
|
83
|
+
"defaultValue": "false"
|
|
84
|
+
},
|
|
85
|
+
"postMessageEvent": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"mutable": false,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "string",
|
|
90
|
+
"resolved": "string",
|
|
91
|
+
"references": {}
|
|
92
|
+
},
|
|
93
|
+
"required": false,
|
|
94
|
+
"optional": false,
|
|
95
|
+
"docs": {
|
|
96
|
+
"tags": [],
|
|
97
|
+
"text": "Post Message event to be sent on navigation via Event"
|
|
98
|
+
},
|
|
99
|
+
"attribute": "post-message-event",
|
|
100
|
+
"reflect": true,
|
|
101
|
+
"defaultValue": "''"
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/* $-background-primary: #14202d; */
|
|
6
|
+
* {
|
|
7
|
+
font-family: sans-serif;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
html,
|
|
11
|
+
body {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
font-family: inherit;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.FooterSectionContainer {
|
|
18
|
+
color: var(--emw--footer-typography, var(--emw-color-thpography, #fff));
|
|
19
|
+
padding: 12px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* // FOOTER CONTAINER - only serves to be read as a container */
|
|
23
|
+
.FooterContainer {
|
|
24
|
+
container-type: inline-size;
|
|
25
|
+
container-name: footerContainer;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.FooterGrid {
|
|
29
|
+
background-color: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));
|
|
30
|
+
display: grid;
|
|
31
|
+
padding: 8px 24px 0 24px;
|
|
32
|
+
grid-template-rows: repeat(9, auto);
|
|
33
|
+
grid-template-areas: "one" "two" "three" "four" "five" "six" "seven";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.FooterSectionContainer1 {
|
|
37
|
+
position: relative;
|
|
38
|
+
grid-area: one;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.FooterSectionContainer2 {
|
|
42
|
+
position: relative;
|
|
43
|
+
grid-area: two;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.FooterSectionContainer3 {
|
|
47
|
+
position: relative;
|
|
48
|
+
grid-area: three;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.FooterSectionContainer4 {
|
|
52
|
+
position: relative;
|
|
53
|
+
grid-area: four;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.FooterSectionContainer5 {
|
|
57
|
+
grid-area: five;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.FooterSectionContainer6 {
|
|
61
|
+
padding-top: 22px;
|
|
62
|
+
grid-area: six;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.FooterSectionContainer7 {
|
|
66
|
+
grid-area: seven;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* // remove paddings */
|
|
70
|
+
.FooterSectionContainer7 div {
|
|
71
|
+
padding: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@container (max-width: 750px) {
|
|
75
|
+
.FooterSectionContainer3:after,
|
|
76
|
+
.FooterSectionContainer2:after {
|
|
77
|
+
position: absolute;
|
|
78
|
+
content: "";
|
|
79
|
+
height: 1px;
|
|
80
|
+
width: 90%;
|
|
81
|
+
background-color: var(--emw--color-gray-100, #444);
|
|
82
|
+
}
|
|
83
|
+
.FooterSectionContainer5 {
|
|
84
|
+
grid-area: five;
|
|
85
|
+
background-color: var(--emw--color-background-secondary, #060706);
|
|
86
|
+
padding: 30px 0;
|
|
87
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
88
|
+
min-height: var(--emw--size-medium-plus, 100px);
|
|
89
|
+
justify-self: center;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/* // STYLES FOR TABLET / DESKTOP */
|
|
93
|
+
@container (min-width: 750px) {
|
|
94
|
+
.FooterGrid {
|
|
95
|
+
background: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));
|
|
96
|
+
display: grid;
|
|
97
|
+
border-top: 5px solid var(--emw--footer-color-primary, var(--emw--color-primary, #22B04E));
|
|
98
|
+
grid-template-rows: repeat(5, auto);
|
|
99
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
100
|
+
grid-template-areas: "one two three four" "five five five five" "six six six six" "seven seven seven seven";
|
|
101
|
+
}
|
|
102
|
+
.FooterSectionContainer1 {
|
|
103
|
+
padding: 30px 40px;
|
|
104
|
+
grid-area: one;
|
|
105
|
+
background: var(--emw--color-background, #000000);
|
|
106
|
+
}
|
|
107
|
+
.FooterSectionContainer2 {
|
|
108
|
+
grid-area: two;
|
|
109
|
+
min-height: var(--emw--size-4x-medium, 500px);
|
|
110
|
+
}
|
|
111
|
+
.FooterSectionContainer3 {
|
|
112
|
+
grid-area: three;
|
|
113
|
+
}
|
|
114
|
+
.FooterSectionContainer4 {
|
|
115
|
+
grid-area: four;
|
|
116
|
+
}
|
|
117
|
+
.FooterSectionContainer5 {
|
|
118
|
+
grid-area: five;
|
|
119
|
+
background-color: var(--emw--color-background-secondary, #091217);
|
|
120
|
+
padding: var(--emw--spacing-x-large, 30px) 0;
|
|
121
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
122
|
+
min-height: var(--emw--size-medium-plus, 100px);
|
|
123
|
+
}
|
|
124
|
+
.FooterSectionContainer6 {
|
|
125
|
+
grid-area: six;
|
|
126
|
+
padding: 0;
|
|
127
|
+
}
|
|
128
|
+
.FooterSectionContainer7 {
|
|
129
|
+
grid-area: seven;
|
|
130
|
+
padding: 0;
|
|
131
|
+
}
|
|
132
|
+
/* // remove paddings */
|
|
133
|
+
.FooterSectionContainer5 .CustomContentSectionWrapper {
|
|
134
|
+
padding: 0;
|
|
135
|
+
}
|
|
136
|
+
.FooterSectionContainer5 .CustomContentSectionWrapper div {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-direction: left;
|
|
139
|
+
align-items: center;
|
|
140
|
+
padding-left: var(--emw--spacing-large, 20px);
|
|
141
|
+
}
|
|
142
|
+
.FooterSectionContainer5 .CustomContentSectionWrapper div p {
|
|
143
|
+
margin: var(--emw--spacing-2x-small, 5px);
|
|
144
|
+
text-align: center;
|
|
145
|
+
}
|
|
146
|
+
.FooterSectionContainer6 .CustomContentSectionWrapper div p {
|
|
147
|
+
text-align: center;
|
|
148
|
+
}
|
|
149
|
+
.FooterSectionContainer6 .ImageListWrapper {
|
|
150
|
+
padding: 0;
|
|
151
|
+
}
|
|
152
|
+
.FooterSectionContainer6 .ImageListWrapper {
|
|
153
|
+
padding: 0;
|
|
154
|
+
}
|
|
155
|
+
.FooterSectionContainer7 .CustomContentSectionWrapper {
|
|
156
|
+
padding: 0;
|
|
157
|
+
padding-bottom: var(--emw--spacing-large, 22px);
|
|
158
|
+
font-size: var(--emw--font-size-small, 14px);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
font-family: sans-serif;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html,
|
|
10
|
+
body {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
font-family: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.footer-section__container {
|
|
17
|
+
color: var(--emfe-w-footer-typography, var(--emfe-w-color-white, #FFFFFF));
|
|
18
|
+
padding: 12px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.footer-container {
|
|
22
|
+
container-type: inline-size;
|
|
23
|
+
container-name: footerContainer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.footer-grid {
|
|
27
|
+
background-color: var(--emfe-w-footer-color-bg, var(--emfe-w-color-dark-blue, #07072A));
|
|
28
|
+
display: grid;
|
|
29
|
+
grid-template-rows: repeat(9, auto);
|
|
30
|
+
grid-template-areas: "one" "two" "three" "four" "five" "six" "seven";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.footer-section__container--1 {
|
|
34
|
+
grid-area: one;
|
|
35
|
+
}
|
|
36
|
+
.footer-section__container--2 {
|
|
37
|
+
grid-area: two;
|
|
38
|
+
}
|
|
39
|
+
.footer-section__container--3 {
|
|
40
|
+
grid-area: three;
|
|
41
|
+
}
|
|
42
|
+
.footer-section__container--4 {
|
|
43
|
+
grid-area: four;
|
|
44
|
+
}
|
|
45
|
+
.footer-section__container--5 {
|
|
46
|
+
grid-area: five;
|
|
47
|
+
}
|
|
48
|
+
.footer-section__container--6 {
|
|
49
|
+
grid-area: six;
|
|
50
|
+
}
|
|
51
|
+
.footer-section__container--7 {
|
|
52
|
+
grid-area: seven;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@container (min-width: 750px) {
|
|
56
|
+
.footer-grid {
|
|
57
|
+
background: var(--emfe-w-footer-color-bg, var(--emfe-w-color-dark-blue, #07072A));
|
|
58
|
+
display: grid;
|
|
59
|
+
grid-template-rows: repeat(7, auto);
|
|
60
|
+
grid-template-columns: 2fr 1fr;
|
|
61
|
+
grid-template-areas: "one two" "three four" "five five" "six six" "seven seven" "eight eight" "nine nine";
|
|
62
|
+
}
|
|
63
|
+
.footer-section__container--1 {
|
|
64
|
+
grid-area: one;
|
|
65
|
+
}
|
|
66
|
+
.footer-section__container--2 {
|
|
67
|
+
grid-area: two;
|
|
68
|
+
}
|
|
69
|
+
.footer-section__container--3 {
|
|
70
|
+
grid-area: three;
|
|
71
|
+
}
|
|
72
|
+
.footer-section__container--4 {
|
|
73
|
+
grid-area: four;
|
|
74
|
+
}
|
|
75
|
+
.footer-section__container--5 {
|
|
76
|
+
grid-area: five;
|
|
77
|
+
}
|
|
78
|
+
.footer-section__container--6 {
|
|
79
|
+
grid-area: six;
|
|
80
|
+
}
|
|
81
|
+
.footer-section__container--7 {
|
|
82
|
+
grid-area: seven;
|
|
83
|
+
}
|
|
84
|
+
}
|