@biggive/components 1.0.194 → 1.0.196
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/biggive/assets/images/triangles-combined-anchor-white.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined-children-white.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined-christmas-challenge-white.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined-emergency-white.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined-green-match-white.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined-women-girls-white.svg +4 -0
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/{p-6ea4c7a0.entry.js → p-010d4695.entry.js} +1 -1
- package/dist/biggive/{p-4ca1e162.entry.js → p-03ae84f6.entry.js} +1 -1
- package/dist/biggive/{p-fbe48e0e.entry.js → p-0fa08f17.entry.js} +1 -1
- package/dist/biggive/p-377c1061.entry.js +1 -0
- package/dist/biggive/{p-fec98ef5.entry.js → p-3cbb4d59.entry.js} +1 -1
- package/dist/biggive/p-42b616a5.entry.js +1 -0
- package/dist/biggive/{p-623e065e.entry.js → p-4301a7bc.entry.js} +1 -1
- package/dist/biggive/{p-3a820011.entry.js → p-48e9b0be.entry.js} +1 -1
- package/dist/biggive/{p-eacc1d69.entry.js → p-62882a71.entry.js} +1 -1
- package/dist/biggive/{p-881ceaf5.entry.js → p-67323173.entry.js} +1 -1
- package/dist/biggive/{p-465a4c9a.entry.js → p-7228eecc.entry.js} +1 -1
- package/dist/biggive/{p-8d4fd749.entry.js → p-87e339a1.entry.js} +1 -1
- package/dist/biggive/{p-1237d29c.entry.js → p-88e37570.entry.js} +1 -1
- package/dist/biggive/{p-7d24b098.entry.js → p-9643135a.entry.js} +1 -1
- package/dist/biggive/{p-ffd638d8.entry.js → p-9b9c618b.entry.js} +1 -1
- package/dist/biggive/{p-c3ddd884.entry.js → p-b57d38bf.entry.js} +1 -1
- package/dist/biggive/p-c0aadf86.entry.js +1 -0
- package/dist/biggive/{p-8d0a608d.entry.js → p-c75752fd.entry.js} +1 -1
- package/dist/biggive/p-d49d5f66.js +2 -0
- package/dist/biggive/{p-b69e88c3.entry.js → p-ec69a6cb.entry.js} +1 -1
- package/dist/cjs/biggive-article-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +8 -5
- package/dist/cjs/biggive-basic-card.cjs.entry.js +5 -3
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-biography-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/biggive-header.cjs.entry.js +2 -2
- package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-popup-standalone.cjs.entry.js +1 -1
- package/dist/cjs/biggive-search.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +1 -1
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +3 -3
- package/dist/cjs/{index-00399429.js → index-562d2f5c.js} +7 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/images/triangles-combined-anchor-white.svg +4 -0
- package/dist/collection/assets/images/triangles-combined-children-white.svg +4 -0
- package/dist/collection/assets/images/triangles-combined-christmas-challenge-white.svg +4 -0
- package/dist/collection/assets/images/triangles-combined-emergency-white.svg +4 -0
- package/dist/collection/assets/images/triangles-combined-green-match-white.svg +4 -0
- package/dist/collection/assets/images/triangles-combined-women-girls-white.svg +4 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +1 -1
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +21 -1
- package/dist/collection/components/biggive-footer/biggive-footer.css +44 -13
- package/dist/collection/components/biggive-footer/biggive-footer.js +27 -1
- package/dist/collection/components/biggive-header/biggive-header.css +1 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +100 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +20 -1
- package/dist/components/biggive-basic-card.js +6 -3
- package/dist/components/biggive-footer.js +7 -3
- package/dist/components/biggive-header.js +1 -1
- package/dist/components/biggive-social-icon.js +4 -2
- package/dist/esm/biggive-article-card.entry.js +1 -1
- package/dist/esm/biggive-back-to-top_27.entry.js +8 -5
- package/dist/esm/biggive-basic-card.entry.js +5 -3
- package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
- package/dist/esm/biggive-biography-card.entry.js +1 -1
- package/dist/esm/biggive-boxed-content.entry.js +1 -1
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +1 -1
- package/dist/esm/biggive-header.entry.js +2 -2
- package/dist/esm/biggive-icon-group.entry.js +1 -1
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-popup-standalone.entry.js +1 -1
- package/dist/esm/biggive-search.entry.js +1 -1
- package/dist/esm/biggive-tab.entry.js +1 -1
- package/dist/esm/biggive-tabbed-content.entry.js +1 -1
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +3 -3
- package/dist/esm/{index-072f98c6.js → index-5ca4e7a1.js} +7 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/types/components/biggive-basic-card/biggive-basic-card.d.ts +1 -0
- package/dist/types/components/biggive-footer/biggive-footer.d.ts +1 -0
- package/dist/types/components/biggive-social-icon/biggive-social-icon.d.ts +5 -0
- package/dist/types/components.d.ts +12 -0
- package/dist/types/stencil-public-runtime.d.ts +39 -3
- package/hydrate/index.js +28 -19
- package/package.json +1 -1
- package/dist/biggive/p-152b7828.entry.js +0 -1
- package/dist/biggive/p-367bf8fc.entry.js +0 -1
- package/dist/biggive/p-8a87012a.entry.js +0 -1
- package/dist/biggive/p-f83adbac.js +0 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="53" height="39" viewBox="0 0 53 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z" fill="#fff"/>
|
|
3
|
+
<path d="M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z" fill="#50B400"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="53" height="39" viewBox="0 0 53 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z" fill="#fff"/>
|
|
3
|
+
<path d="M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z" fill="#6E0887"/>
|
|
4
|
+
</svg>
|
|
@@ -16,8 +16,10 @@ export class BiggiveBasicCard {
|
|
|
16
16
|
this.buttonColourScheme = 'clear-primary';
|
|
17
17
|
this.clipBottomLeftCorner = true;
|
|
18
18
|
this.clipTopRightCorner = true;
|
|
19
|
+
this.headingLevel = 3;
|
|
19
20
|
}
|
|
20
21
|
render() {
|
|
22
|
+
const HeadingTag = `h${this.headingLevel}`;
|
|
21
23
|
return (h("div", { class: 'container space-below-' +
|
|
22
24
|
this.spaceBelow +
|
|
23
25
|
' background-colour-' +
|
|
@@ -25,7 +27,7 @@ export class BiggiveBasicCard {
|
|
|
25
27
|
' clip-bottom-left-corner-' +
|
|
26
28
|
this.clipBottomLeftCorner +
|
|
27
29
|
' clip-top-right-corner-' +
|
|
28
|
-
this.clipTopRightCorner, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.icon == true ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, h(
|
|
30
|
+
this.clipTopRightCorner, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.icon == true ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, h(HeadingTag, { class: "title" }, this.mainTitle), h("div", { class: "subtitle" }, this.subtitle), h("div", { class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel }))) : null))));
|
|
29
31
|
}
|
|
30
32
|
static get is() { return "biggive-basic-card"; }
|
|
31
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -305,6 +307,24 @@ export class BiggiveBasicCard {
|
|
|
305
307
|
"attribute": "clip-top-right-corner",
|
|
306
308
|
"reflect": false,
|
|
307
309
|
"defaultValue": "true"
|
|
310
|
+
},
|
|
311
|
+
"headingLevel": {
|
|
312
|
+
"type": "number",
|
|
313
|
+
"mutable": false,
|
|
314
|
+
"complexType": {
|
|
315
|
+
"original": "1 | 2 | 3 | 4 | 5 | 6",
|
|
316
|
+
"resolved": "1 | 2 | 3 | 4 | 5 | 6",
|
|
317
|
+
"references": {}
|
|
318
|
+
},
|
|
319
|
+
"required": false,
|
|
320
|
+
"optional": false,
|
|
321
|
+
"docs": {
|
|
322
|
+
"tags": [],
|
|
323
|
+
"text": ""
|
|
324
|
+
},
|
|
325
|
+
"attribute": "heading-level",
|
|
326
|
+
"reflect": false,
|
|
327
|
+
"defaultValue": "3"
|
|
308
328
|
}
|
|
309
329
|
};
|
|
310
330
|
}
|
|
@@ -786,7 +786,7 @@ nav {
|
|
|
786
786
|
margin: 0;
|
|
787
787
|
padding: 0;
|
|
788
788
|
}
|
|
789
|
-
nav
|
|
789
|
+
nav .heading {
|
|
790
790
|
font-size: 17px;
|
|
791
791
|
line-height: 24px;
|
|
792
792
|
font-weight: bold;
|
|
@@ -802,12 +802,40 @@ nav ul li {
|
|
|
802
802
|
margin: 0;
|
|
803
803
|
padding: 0;
|
|
804
804
|
list-style-type: none;
|
|
805
|
+
margin-top: 15px;
|
|
805
806
|
}
|
|
806
807
|
|
|
807
808
|
nav ul li a {
|
|
808
809
|
color: #FFFFFF;
|
|
809
810
|
text-decoration: none;
|
|
810
811
|
}
|
|
812
|
+
nav ul li a[class^=icon-], nav ul li a[class*=icon-] {
|
|
813
|
+
padding-left: 20px;
|
|
814
|
+
background-repeat: no-repeat;
|
|
815
|
+
background-size: auto 10px;
|
|
816
|
+
background-position: left center;
|
|
817
|
+
}
|
|
818
|
+
nav ul li a.icon-green {
|
|
819
|
+
background-image: url(/assets/images/triangles-combined-green-match-white.svg);
|
|
820
|
+
}
|
|
821
|
+
nav ul li a.icon-children {
|
|
822
|
+
background-image: url(/assets/images/triangles-combined-children-white.svg);
|
|
823
|
+
}
|
|
824
|
+
nav ul li a.icon-christmas {
|
|
825
|
+
background-image: url(/assets/images/triangles-combined-christmas-challenge-white.svg);
|
|
826
|
+
}
|
|
827
|
+
nav ul li a.icon-green-match {
|
|
828
|
+
background-image: url(/assets/images/triangles-combined-green-match-white.svg);
|
|
829
|
+
}
|
|
830
|
+
nav ul li a.icon-women-girls {
|
|
831
|
+
background-image: url(/assets/images/triangles-combined-women-girls-white.svg);
|
|
832
|
+
}
|
|
833
|
+
nav ul li a.icon-anchor-match {
|
|
834
|
+
background-image: url(/assets/images/triangles-combined-anchor-white.svg);
|
|
835
|
+
}
|
|
836
|
+
nav ul li a.icon-emergency {
|
|
837
|
+
background-image: url(/assets/images/triangles-combined-emergency-white.svg);
|
|
838
|
+
}
|
|
811
839
|
|
|
812
840
|
.row-top {
|
|
813
841
|
background-image: url(/assets/images/biggive-triangle-green.svg);
|
|
@@ -821,56 +849,56 @@ nav ul li a {
|
|
|
821
849
|
justify-content: space-between;
|
|
822
850
|
}
|
|
823
851
|
.row-top .button-wrap {
|
|
824
|
-
margin-top:
|
|
852
|
+
margin-top: 60px;
|
|
825
853
|
width: 100%;
|
|
826
854
|
display: flex;
|
|
827
855
|
flex-wrap: wrap;
|
|
828
856
|
justify-content: space-between;
|
|
829
857
|
}
|
|
830
858
|
|
|
831
|
-
.row-bottom {
|
|
859
|
+
footer .row-bottom {
|
|
832
860
|
background-color: #000000;
|
|
833
861
|
padding: 60px 60px 15px 60px;
|
|
834
862
|
border-top: 1px solid #FFFFFF;
|
|
835
863
|
}
|
|
836
|
-
.row-bottom .fr-logo {
|
|
864
|
+
footer .row-bottom .fr-logo {
|
|
837
865
|
width: 135px;
|
|
838
866
|
}
|
|
839
|
-
.row-bottom .postscript-wrap {
|
|
867
|
+
footer .row-bottom .postscript-wrap {
|
|
840
868
|
display: flex;
|
|
841
869
|
flex-wrap: wrap;
|
|
842
870
|
align-items: center;
|
|
843
871
|
justify-content: space-between;
|
|
844
872
|
}
|
|
845
873
|
@media screen and (max-width: 768px) {
|
|
846
|
-
.row-bottom .postscript-wrap {
|
|
874
|
+
footer .row-bottom .postscript-wrap {
|
|
847
875
|
flex-direction: column;
|
|
848
876
|
}
|
|
849
877
|
}
|
|
850
|
-
.row-bottom .nav.nav-postscript {
|
|
878
|
+
footer .row-bottom .nav.nav-postscript {
|
|
851
879
|
text-align: right;
|
|
852
880
|
flex-grow: 1;
|
|
853
881
|
}
|
|
854
882
|
@media screen and (max-width: 768px) {
|
|
855
|
-
.row-bottom .nav.nav-postscript {
|
|
883
|
+
footer .row-bottom .nav.nav-postscript {
|
|
856
884
|
text-align: center;
|
|
857
885
|
}
|
|
858
886
|
}
|
|
859
|
-
.row-bottom .nav-postscript li {
|
|
887
|
+
footer .row-bottom .nav-postscript li {
|
|
860
888
|
display: inline-block;
|
|
861
889
|
margin-left: 1rem;
|
|
862
890
|
}
|
|
863
|
-
.row-bottom .nav-postscript li:first-child {
|
|
891
|
+
footer .row-bottom .nav-postscript li:first-child {
|
|
864
892
|
margin-left: 0;
|
|
865
893
|
}
|
|
866
894
|
@media screen and (max-width: 768px) {
|
|
867
|
-
.row-bottom .nav-postscript li {
|
|
895
|
+
footer .row-bottom .nav-postscript li {
|
|
868
896
|
display: block;
|
|
869
897
|
width: 100%;
|
|
870
898
|
margin-left: 0;
|
|
871
899
|
}
|
|
872
900
|
}
|
|
873
|
-
.row-bottom .social-icon-wrap {
|
|
901
|
+
footer .row-bottom .social-icon-wrap {
|
|
874
902
|
border-top: 1px solid #FFFFFF;
|
|
875
903
|
padding-top: 30px;
|
|
876
904
|
margin-top: 30px;
|
|
@@ -879,9 +907,12 @@ nav ul li a {
|
|
|
879
907
|
justify-content: center;
|
|
880
908
|
margin-bottom: 30px;
|
|
881
909
|
}
|
|
882
|
-
.row-bottom .social-icon-wrap .social-icon-item {
|
|
910
|
+
footer .row-bottom .social-icon-wrap .social-icon-item {
|
|
883
911
|
margin: 0 10px;
|
|
884
912
|
}
|
|
913
|
+
footer .row-bottom p {
|
|
914
|
+
text-align: center;
|
|
915
|
+
}
|
|
885
916
|
|
|
886
917
|
@media screen and (max-width: 768px) {
|
|
887
918
|
.row-top {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { getAssetPath, h } from '@stencil/core';
|
|
2
2
|
export class BiggiveFooter {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.headingLevel = 5;
|
|
5
|
+
}
|
|
3
6
|
appendMenu(menuName) {
|
|
4
7
|
var node = this.host.querySelector(`[slot="${menuName}"]`);
|
|
5
8
|
if (node !== null) {
|
|
@@ -13,7 +16,8 @@ export class BiggiveFooter {
|
|
|
13
16
|
this.appendMenu('nav-postscript');
|
|
14
17
|
}
|
|
15
18
|
render() {
|
|
16
|
-
|
|
19
|
+
const HeadingTag = `h${this.headingLevel}`;
|
|
20
|
+
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary" }, h(HeadingTag, { class: "heading" }, h("slot", { name: "nav-primary-title" }))), h("nav", { class: "nav nav-secondary" }, h(HeadingTag, { class: "heading" }, h("slot", { name: "nav-secondary-title" }))), h("nav", { class: "nav nav-tertiary" }, h(HeadingTag, { class: "heading" }, h("slot", { name: "nav-tertiary-title" }))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/charities", label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/funders", label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript" })), h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
17
21
|
}
|
|
18
22
|
static get is() { return "biggive-footer"; }
|
|
19
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,5 +31,27 @@ export class BiggiveFooter {
|
|
|
27
31
|
"$": ["biggive-footer.css"]
|
|
28
32
|
};
|
|
29
33
|
}
|
|
34
|
+
static get properties() {
|
|
35
|
+
return {
|
|
36
|
+
"headingLevel": {
|
|
37
|
+
"type": "number",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "1 | 2 | 3 | 4 | 5 | 6",
|
|
41
|
+
"resolved": "1 | 2 | 3 | 4 | 5 | 6",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": false,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": ""
|
|
49
|
+
},
|
|
50
|
+
"attribute": "heading-level",
|
|
51
|
+
"reflect": false,
|
|
52
|
+
"defaultValue": "5"
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
30
56
|
static get elementRef() { return "host"; }
|
|
31
57
|
}
|
|
@@ -811,7 +811,7 @@ a:hover {
|
|
|
811
811
|
}
|
|
812
812
|
.nav ul li a.icon-green {
|
|
813
813
|
padding-left: 20px;
|
|
814
|
-
background-image: url(/assets/images/triangles-combined.svg);
|
|
814
|
+
background-image: url(/assets/images/triangles-combined-green-match.svg);
|
|
815
815
|
background-repeat: no-repeat;
|
|
816
816
|
background-size: auto 10px;
|
|
817
817
|
background-position: left center;
|
|
@@ -867,6 +867,9 @@ a:hover {
|
|
|
867
867
|
width: 100%;
|
|
868
868
|
height: 100%;
|
|
869
869
|
}
|
|
870
|
+
.social-icon-item.wide {
|
|
871
|
+
margin-right: 30px;
|
|
872
|
+
}
|
|
870
873
|
@media screen and (max-width: 576px) {
|
|
871
874
|
.social-icon-item {
|
|
872
875
|
width: 40px;
|
|
@@ -965,4 +968,101 @@ a:hover {
|
|
|
965
968
|
.social-icon-item a {
|
|
966
969
|
padding: 6px;
|
|
967
970
|
}
|
|
971
|
+
.social-icon-item.wide {
|
|
972
|
+
width: 40px;
|
|
973
|
+
height: 40px;
|
|
974
|
+
border-radius: 50%;
|
|
975
|
+
text-align: center;
|
|
976
|
+
transition: all ease-in-out 0.5s;
|
|
977
|
+
display: inline-block;
|
|
978
|
+
margin-right: 10px;
|
|
979
|
+
width: 30px;
|
|
980
|
+
height: 30px;
|
|
981
|
+
}
|
|
982
|
+
.social-icon-item.wide.colour-scheme-primary {
|
|
983
|
+
background-color: #2C089B;
|
|
984
|
+
}
|
|
985
|
+
.social-icon-item.wide.colour-scheme-primary svg {
|
|
986
|
+
fill: #FFFFFF;
|
|
987
|
+
}
|
|
988
|
+
.social-icon-item.wide.colour-scheme-secondary {
|
|
989
|
+
background-color: #2AF135;
|
|
990
|
+
}
|
|
991
|
+
.social-icon-item.wide.colour-scheme-secondary svg {
|
|
992
|
+
fill: #000000;
|
|
993
|
+
}
|
|
994
|
+
.social-icon-item.wide.colour-scheme-tertiary {
|
|
995
|
+
background-color: #FF7272;
|
|
996
|
+
}
|
|
997
|
+
.social-icon-item.wide.colour-scheme-tertiary svg {
|
|
998
|
+
fill: #000000;
|
|
999
|
+
}
|
|
1000
|
+
.social-icon-item.wide.colour-scheme-brand-1 {
|
|
1001
|
+
background-color: #B30510;
|
|
1002
|
+
}
|
|
1003
|
+
.social-icon-item.wide.colour-scheme-brand-1 svg {
|
|
1004
|
+
fill: #000000;
|
|
1005
|
+
}
|
|
1006
|
+
.social-icon-item.wide.colour-scheme-brand-2 {
|
|
1007
|
+
background-color: #6E0887;
|
|
1008
|
+
}
|
|
1009
|
+
.social-icon-item.wide.colour-scheme-brand-2 svg {
|
|
1010
|
+
fill: #000000;
|
|
1011
|
+
}
|
|
1012
|
+
.social-icon-item.wide.colour-scheme-brand-3 {
|
|
1013
|
+
background-color: #50B400;
|
|
1014
|
+
}
|
|
1015
|
+
.social-icon-item.wide.colour-scheme-brand-3 svg {
|
|
1016
|
+
fill: #000000;
|
|
1017
|
+
}
|
|
1018
|
+
.social-icon-item.wide.colour-scheme-brand-4 {
|
|
1019
|
+
background-color: #FFE500;
|
|
1020
|
+
}
|
|
1021
|
+
.social-icon-item.wide.colour-scheme-brand-4 svg {
|
|
1022
|
+
fill: #000000;
|
|
1023
|
+
}
|
|
1024
|
+
.social-icon-item.wide.colour-scheme-brand-5 {
|
|
1025
|
+
background-color: #F07D00;
|
|
1026
|
+
}
|
|
1027
|
+
.social-icon-item.wide.colour-scheme-brand-5 svg {
|
|
1028
|
+
fill: #000000;
|
|
1029
|
+
}
|
|
1030
|
+
.social-icon-item.wide.colour-scheme-brand-6 {
|
|
1031
|
+
background-color: #CBC8C8;
|
|
1032
|
+
}
|
|
1033
|
+
.social-icon-item.wide.colour-scheme-brand-6 svg {
|
|
1034
|
+
fill: #000000;
|
|
1035
|
+
}
|
|
1036
|
+
.social-icon-item.wide.colour-scheme-white {
|
|
1037
|
+
background-color: #FFFFFF;
|
|
1038
|
+
}
|
|
1039
|
+
.social-icon-item.wide.colour-scheme-white svg {
|
|
1040
|
+
fill: #000000;
|
|
1041
|
+
}
|
|
1042
|
+
.social-icon-item.wide.colour-scheme-black {
|
|
1043
|
+
background-color: #000000;
|
|
1044
|
+
}
|
|
1045
|
+
.social-icon-item.wide.colour-scheme-black svg {
|
|
1046
|
+
fill: #FFFFFF;
|
|
1047
|
+
}
|
|
1048
|
+
.social-icon-item.wide:hover {
|
|
1049
|
+
background-color: #FFFFFF;
|
|
1050
|
+
}
|
|
1051
|
+
.social-icon-item.wide:hover svg {
|
|
1052
|
+
fill: #000000;
|
|
1053
|
+
}
|
|
1054
|
+
.social-icon-item.wide a {
|
|
1055
|
+
display: grid;
|
|
1056
|
+
position: relative;
|
|
1057
|
+
padding: 10px;
|
|
1058
|
+
box-sizing: border-box;
|
|
1059
|
+
height: 100%;
|
|
1060
|
+
}
|
|
1061
|
+
.social-icon-item.wide a svg {
|
|
1062
|
+
width: 100%;
|
|
1063
|
+
height: 100%;
|
|
1064
|
+
}
|
|
1065
|
+
.social-icon-item.wide a {
|
|
1066
|
+
padding: 6px;
|
|
1067
|
+
}
|
|
968
1068
|
}
|
|
@@ -5,6 +5,7 @@ export class BiggiveSocialIcon {
|
|
|
5
5
|
this.service = 'Twitter';
|
|
6
6
|
this.backgroundColour = 'primary';
|
|
7
7
|
this.iconColour = 'white';
|
|
8
|
+
this.wide = false;
|
|
8
9
|
this.url = '#';
|
|
9
10
|
}
|
|
10
11
|
getSocialIcon() {
|
|
@@ -12,7 +13,7 @@ export class BiggiveSocialIcon {
|
|
|
12
13
|
return icon;
|
|
13
14
|
}
|
|
14
15
|
render() {
|
|
15
|
-
return (h("div", { class: 'social-icon-item background-colour-' + this.backgroundColour }, h("a", { href: this.url, "aria-label": `Big Give on ${this.service}`, target: "_blank" }, h("svg", { width: this.getSocialIcon().icon[0], height: this.getSocialIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getSocialIcon().icon[0] + ' ' + this.getSocialIcon().icon[1] }, h("path", { d: this.getSocialIcon().icon[4].toString() })))));
|
|
16
|
+
return (h("div", { class: 'social-icon-item background-colour-' + this.backgroundColour + (this.wide ? ' wide' : '') }, h("a", { href: this.url, "aria-label": `Big Give on ${this.service}`, target: "_blank" }, h("svg", { width: this.getSocialIcon().icon[0], height: this.getSocialIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getSocialIcon().icon[0] + ' ' + this.getSocialIcon().icon[1] }, h("path", { d: this.getSocialIcon().icon[4].toString() })))));
|
|
16
17
|
}
|
|
17
18
|
static get is() { return "biggive-social-icon"; }
|
|
18
19
|
static get originalStyleUrls() {
|
|
@@ -81,6 +82,24 @@ export class BiggiveSocialIcon {
|
|
|
81
82
|
"reflect": false,
|
|
82
83
|
"defaultValue": "'white'"
|
|
83
84
|
},
|
|
85
|
+
"wide": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"mutable": false,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "boolean",
|
|
90
|
+
"resolved": "boolean",
|
|
91
|
+
"references": {}
|
|
92
|
+
},
|
|
93
|
+
"required": false,
|
|
94
|
+
"optional": false,
|
|
95
|
+
"docs": {
|
|
96
|
+
"tags": [],
|
|
97
|
+
"text": "Used in the social icons in the biggive-footer, which are more spaced out\nthan others across the site. COM-43."
|
|
98
|
+
},
|
|
99
|
+
"attribute": "wide",
|
|
100
|
+
"reflect": false,
|
|
101
|
+
"defaultValue": "false"
|
|
102
|
+
},
|
|
84
103
|
"url": {
|
|
85
104
|
"type": "string",
|
|
86
105
|
"mutable": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$2 } from './biggive-button2.js';
|
|
3
3
|
|
|
4
|
-
const biggiveBasicCardCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:center;background-size:cover;background-position:center center;padding:30px;height:100%;white-space:pre-wrap}.container .sleeve{padding:30px;height:100%;box-sizing:border-box}.container.clip-bottom-left-corner-false.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container.clip-bottom-left-corner-true.clip-top-right-corner-false .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container.clip-bottom-left-corner-true.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .icon svg{width:50px;height:auto}.container h3{font-size:25px;line-height:32px;font-weight:bold;margin-bottom:15px}.container .subtitle{margin-bottom:15px}";
|
|
4
|
+
const biggiveBasicCardCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:center;background-size:cover;background-position:center center;padding:30px;height:100%;white-space:pre-wrap}.container .sleeve{padding:30px;height:100%;box-sizing:border-box}.container.clip-bottom-left-corner-false.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container.clip-bottom-left-corner-true.clip-top-right-corner-false .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container.clip-bottom-left-corner-true.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .icon svg{width:50px;height:auto}.container .title{font-size:25px;line-height:32px;font-weight:bold;margin-bottom:15px}.container .subtitle{margin-bottom:15px}";
|
|
5
5
|
|
|
6
6
|
const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -23,8 +23,10 @@ const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
23
23
|
this.buttonColourScheme = 'clear-primary';
|
|
24
24
|
this.clipBottomLeftCorner = true;
|
|
25
25
|
this.clipTopRightCorner = true;
|
|
26
|
+
this.headingLevel = 3;
|
|
26
27
|
}
|
|
27
28
|
render() {
|
|
29
|
+
const HeadingTag = `h${this.headingLevel}`;
|
|
28
30
|
return (h("div", { class: 'container space-below-' +
|
|
29
31
|
this.spaceBelow +
|
|
30
32
|
' background-colour-' +
|
|
@@ -32,7 +34,7 @@ const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
32
34
|
' clip-bottom-left-corner-' +
|
|
33
35
|
this.clipBottomLeftCorner +
|
|
34
36
|
' clip-top-right-corner-' +
|
|
35
|
-
this.clipTopRightCorner, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.icon == true ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, h(
|
|
37
|
+
this.clipTopRightCorner, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.icon == true ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, h(HeadingTag, { class: "title" }, this.mainTitle), h("div", { class: "subtitle" }, this.subtitle), h("div", { class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel }))) : null))));
|
|
36
38
|
}
|
|
37
39
|
static get style() { return biggiveBasicCardCss; }
|
|
38
40
|
}, [1, "biggive-basic-card", {
|
|
@@ -50,7 +52,8 @@ const BiggiveBasicCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
50
52
|
"buttonUrl": [1, "button-url"],
|
|
51
53
|
"buttonColourScheme": [1, "button-colour-scheme"],
|
|
52
54
|
"clipBottomLeftCorner": [4, "clip-bottom-left-corner"],
|
|
53
|
-
"clipTopRightCorner": [4, "clip-top-right-corner"]
|
|
55
|
+
"clipTopRightCorner": [4, "clip-top-right-corner"],
|
|
56
|
+
"headingLevel": [2, "heading-level"]
|
|
54
57
|
}]);
|
|
55
58
|
function defineCustomElement$1() {
|
|
56
59
|
if (typeof customElements === "undefined") {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, getAssetPath } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$2 } from './biggive-button2.js';
|
|
3
3
|
|
|
4
|
-
const biggiveFooterCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav h5{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none}nav ul li a{color:#FFFFFF;text-decoration:none}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:15px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}.row-bottom .fr-logo{width:135px}.row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){.row-bottom .postscript-wrap{flex-direction:column}}.row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){.row-bottom .nav.nav-postscript{text-align:center}}.row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}.row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){.row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}.row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}.row-bottom .social-icon-wrap .social-icon-item{margin:0 10px}@media screen and (max-width: 768px){.row-top{padding:15px}}@media screen and (max-width: 768px){nav{width:100%;margin-right:0;margin-bottom:30px}.row-top{background-size:auto 50px;padding-top:80px;padding-left:15px}.row-top .button-wrap *{width:100% !important}}";
|
|
4
|
+
const biggiveFooterCss = "body{background-color:#FFFFFF}body.background-primary{background-color:#2C089B}body.background-secondary{background-color:#2C089B}body.background-tertiary{background-color:#2C089B}body.background-brand-1{background-color:#B30510}body.background-brand-2{background-color:#B30510}body.background-brand-3{background-color:#B30510}body.background-brand-4{background-color:#B30510}body.background-brand-5{background-color:#B30510}body.background-brand-6{background-color:#B30510}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-brand-1{color:#B30510}.colour-brand-2{color:#6E0887}.colour-brand-3{color:#50B400}.colour-brand-4{color:#FFE500}.colour-brand-5{color:#F07D00}.colour-brand-6{color:#CBC8C8}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-transparent{background-color:transparent}.input-wrap{display:flex;justify-content:space-between}.input-text{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text:placeholder{color:#4A4A4A}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#000000;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF;border-color:#000000}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-brand-1{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-1:hover{background-color:#FFFFFF}.button-brand-2{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-2:hover{background-color:#FFFFFF}.button-brand-3{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-3:hover{background-color:#FFFFFF}.button-brand-4{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-4:hover{background-color:#000000}.button-brand-5{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-5:hover{background-color:#FFFFFF}.button-brand-6{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-6:hover{background-color:#000000}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-brand-1{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-1:hover{text-decoration:none;background-color:transparent}.button-clear-brand-2{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-2:hover{text-decoration:none;background-color:transparent}.button-clear-brand-3{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-3:hover{text-decoration:none;background-color:transparent}.button-clear-brand-4{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-4:hover{text-decoration:none;background-color:transparent}.button-clear-brand-5{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-5:hover{text-decoration:none;background-color:transparent}.button-clear-brand-6{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-6:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0 10px}footer .row-bottom p{text-align:center}@media screen and (max-width: 768px){.row-top{padding:15px}}@media screen and (max-width: 768px){nav{width:100%;margin-right:0;margin-bottom:30px}.row-top{background-size:auto 50px;padding-top:80px;padding-left:15px}.row-top .button-wrap *{width:100% !important}}";
|
|
5
5
|
|
|
6
6
|
const BiggiveFooter$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.__attachShadow();
|
|
11
|
+
this.headingLevel = 5;
|
|
11
12
|
}
|
|
12
13
|
appendMenu(menuName) {
|
|
13
14
|
var node = this.host.querySelector(`[slot="${menuName}"]`);
|
|
@@ -22,11 +23,14 @@ const BiggiveFooter$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
22
23
|
this.appendMenu('nav-postscript');
|
|
23
24
|
}
|
|
24
25
|
render() {
|
|
25
|
-
|
|
26
|
+
const HeadingTag = `h${this.headingLevel}`;
|
|
27
|
+
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary" }, h(HeadingTag, { class: "heading" }, h("slot", { name: "nav-primary-title" }))), h("nav", { class: "nav nav-secondary" }, h(HeadingTag, { class: "heading" }, h("slot", { name: "nav-secondary-title" }))), h("nav", { class: "nav nav-tertiary" }, h(HeadingTag, { class: "heading" }, h("slot", { name: "nav-tertiary-title" }))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/charities", label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/funders", label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript" })), h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
26
28
|
}
|
|
27
29
|
get host() { return this; }
|
|
28
30
|
static get style() { return biggiveFooterCss; }
|
|
29
|
-
}, [1, "biggive-footer"
|
|
31
|
+
}, [1, "biggive-footer", {
|
|
32
|
+
"headingLevel": [2, "heading-level"]
|
|
33
|
+
}]);
|
|
30
34
|
function defineCustomElement$1() {
|
|
31
35
|
if (typeof customElements === "undefined") {
|
|
32
36
|
return;
|