@moreonion/foundist 2.0.6 → 2.1.1
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/README.md +1 -1
- package/package.json +5 -9
- package/src/html/basic-action-page-cover-1col.html +2 -2
- package/src/html/basic-action-page-cover-2col-reversed.html +2 -2
- package/src/html/basic-action-page-cover-2col.html +2 -2
- package/src/html/basic-action-page-cover-banner.html +2 -2
- package/src/html/basic-action-page-reversed.html +1 -1
- package/src/html/basic-action-page-with-banner-reversed.html +2 -2
- package/src/html/basic-action-page-with-banner.html +2 -2
- package/src/html/basic-action-page-with-callouts.html +1 -1
- package/src/html/basic-action-page.html +1 -1
- package/src/html/donation-action-page.html +1 -1
- package/src/html/e2t-action-page.html +1 -1
- package/src/html/includes/form-items/inline-radios.html +17 -0
- package/src/html/includes/form-items/payment-icons.html +19 -0
- package/src/html/includes/teaser.html +1 -1
- package/src/html/templates/action-page-cover-1col.html +2 -2
- package/src/html/templates/action-page-cover-2col-reversed.html +2 -2
- package/src/html/templates/action-page-cover-2col.html +2 -2
- package/src/html/templates/action-page-cover-banner.html +2 -2
- package/src/html/templates/action-page-reversed.html +2 -2
- package/src/html/templates/action-page-with-banner-reversed.html +2 -2
- package/src/html/templates/action-page-with-banner.html +2 -2
- package/src/html/templates/action-page.html +2 -2
- package/src/html/templates/static-page-cover-1col.html +2 -2
- package/src/html/templates/static-page-cover-2col.html +2 -2
- package/src/html/templates/static-page-cover-banner.html +2 -2
- package/src/html/templates/static-page-with-banner.html +2 -2
- package/src/html/templates/static-page.html +2 -2
- package/src/html/templates/teaser-page.html +2 -2
- package/src/html/thank-you-page-cover-1col.html +1 -1
- package/src/html/thank-you-page-cover-2col.html +1 -1
- package/src/html/thank-you-page-cover-banner.html +1 -1
- package/src/html/thank-you-page-with-banner.html +1 -1
- package/src/html/thank-you-page.html +1 -1
- package/src/html/typography-static-page.html +1 -1
- package/src/js/foundist.js +20 -5
- package/src/scss/_settings.scss +4 -1
- package/src/scss/_util.scss +4 -2
- package/src/scss/components/_accordion.scss +1 -1
- package/src/scss/components/_card.scss +3 -1
- package/src/scss/components/_cookiebar.scss +1 -1
- package/src/scss/components/_letter.scss +3 -1
- package/src/scss/components/_menu.scss +28 -28
- package/src/scss/components/_progressbar.scss +1 -1
- package/src/scss/components/_reveal.scss +5 -3
- package/src/scss/components/_settings.scss +12 -10
- package/src/scss/components/_share-button.scss +1 -1
- package/src/scss/components/_sticky-button.scss +4 -2
- package/src/scss/form/_braintree_apple_pay.scss +2 -0
- package/src/scss/form/_donation-amount-button.scss +31 -30
- package/src/scss/form/_e2t.scss +2 -0
- package/src/scss/form/_fields.scss +16 -1
- package/src/scss/form/_paymethod-select-button.scss +21 -22
- package/src/scss/form/_settings.scss +21 -17
- package/src/scss/layout/_cover.scss +9 -3
- package/src/scss/layout/_settings.scss +1 -1
- package/src/scss/main.scss +2 -0
- package/src/scss/typography/_elements.scss +1 -1
- package/src/scss/typography/_settings.scss +11 -4
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Foundist may also be used as module dependency for other themes.
|
|
|
17
17
|
|
|
18
18
|
If you need any Foundation utilities in your custom settings file (imported
|
|
19
19
|
before Foundist) import them via `@moreonion/foundation-base/scss/util;` and set
|
|
20
|
-
`$base-font-size` as well as `$global-font-size: $base-font-size
|
|
20
|
+
`$base-font-size` as well as `$global-font-size: $base-font-size * 6.25%;`
|
|
21
21
|
before using any util functions (otherwise some calculations might not return
|
|
22
22
|
the desired result)!
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moreonion/foundist",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Foundation based default theme for Impact Stack landing pages.",
|
|
5
5
|
"author": "More Onion <kontakt@more-onion.at>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,16 +44,12 @@
|
|
|
44
44
|
"@linthtml/linthtml": "^0.8.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@moreonion/foundation-base": "2.
|
|
47
|
+
"@moreonion/foundation-base": "2.1.1",
|
|
48
48
|
"http-server": "^13.0.0",
|
|
49
49
|
"posthtml": "^0.16.5",
|
|
50
|
-
"posthtml-expressions": "^1.
|
|
51
|
-
"posthtml-extend": "
|
|
52
|
-
"posthtml-include": "^1.7.
|
|
53
|
-
},
|
|
54
|
-
"resolutions": {
|
|
55
|
-
"@babel/preset-env": "7.13.8",
|
|
56
|
-
"sass": "1.32.13"
|
|
50
|
+
"posthtml-expressions": "^1.9.0",
|
|
51
|
+
"posthtml-extend": "0.6.0",
|
|
52
|
+
"posthtml-include": "^1.7.2"
|
|
57
53
|
},
|
|
58
54
|
"lint-staged": {
|
|
59
55
|
"*.scss": [
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Take action now!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1280/588" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="top">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<block name="content-top">
|
|
31
31
|
<div class="media-stretch">
|
|
32
|
-
<img src="http://placekitten.com/860/455" alt="test image with cats">
|
|
32
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
33
|
</div>
|
|
34
34
|
</block>
|
|
35
35
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Take action now!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1600/1000" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1600/1000" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="top">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<block name="content-top">
|
|
31
31
|
<div class="media-stretch">
|
|
32
|
-
<img src="http://placekitten.com/860/455" alt="test image with cats">
|
|
32
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
33
|
</div>
|
|
34
34
|
</block>
|
|
35
35
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Take action now!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1600/1000" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1600/1000" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="top">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<block name="content-top">
|
|
31
31
|
<div class="media-stretch">
|
|
32
|
-
<img src="http://placekitten.com/860/455" alt="test image with cats">
|
|
32
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
33
|
</div>
|
|
34
34
|
</block>
|
|
35
35
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Take action now!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1280/588" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="top">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<block name="content-top">
|
|
31
31
|
<div class="media-stretch">
|
|
32
|
-
<img src="http://placekitten.com/860/455" alt="test image with cats">
|
|
32
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
33
|
</div>
|
|
34
34
|
</block>
|
|
35
35
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Take action now!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1280/588" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="top">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<block name="content-top">
|
|
31
31
|
<div class="media-stretch">
|
|
32
|
-
<img src="http://placekitten.com/860/455" alt="test image with cats">
|
|
32
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
33
|
</div>
|
|
34
34
|
</block>
|
|
35
35
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Take action now!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1280/588" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="top">
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<block name="content-top">
|
|
31
31
|
<div class="media-stretch">
|
|
32
|
-
<img src="http://placekitten.com/860/455" alt="test image with cats">
|
|
32
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
33
|
</div>
|
|
34
34
|
</block>
|
|
35
35
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="form-item inline extra-spacing">
|
|
2
|
+
<label for="radios-1">What is most important to you?</label>
|
|
3
|
+
<div id="radios" class="form-radios">
|
|
4
|
+
<div class="form-item form-type-radio">
|
|
5
|
+
<input type="radio" id="radios-1" name="radios" value="1" class="form-radio">
|
|
6
|
+
<label class="option" for="radios-1">Whales</label>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="form-item form-type-radio">
|
|
9
|
+
<input type="radio" id="radios-2" name="radios" value="2" class="form-radio">
|
|
10
|
+
<label class="option" for="radios-2">Pandas</label>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-item form-type-radio">
|
|
13
|
+
<input type="radio" id="radios-3" name="radios" value="2" class="form-radio">
|
|
14
|
+
<label class="option" for="radios-3">Bees</label>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<div class="form-item">
|
|
2
|
+
<div class="payment-icons">
|
|
3
|
+
<span class="secure-payment-icon"><span class="show-for-sr">Your payment is secure</span></span>
|
|
4
|
+
<span class="apple-pay-icon"><span class="show-for-sr">Apple Pay</span></span>
|
|
5
|
+
<span class="credit-card-icon"><span class="show-for-sr">Credit Card</span></span>
|
|
6
|
+
<span class="direct-debit-icon"><span class="show-for-sr">Direct Debit</span></span>
|
|
7
|
+
<span class="google-pay-icon"><span class="show-for-sr">Google Pay</span></span>
|
|
8
|
+
<span class="mastercard-icon"><span class="show-for-sr">Master Card</span></span>
|
|
9
|
+
<span class="paypal-icon"><span class="show-for-sr">PayPal</span></span>
|
|
10
|
+
<span class="paypal-pp-icon"><span class="show-for-sr">PayPal</span></span>
|
|
11
|
+
<span class="sage-pay-icon"><span class="show-for-sr">SagePay</span></span>
|
|
12
|
+
<span class="sepa-icon"><span class="show-for-sr">SEPA</span></span>
|
|
13
|
+
<span class="stripe-icon"><span class="show-for-sr">Stripe</span></span>
|
|
14
|
+
<span class="visa-icon"><span class="show-for-sr">VISA</span></span>
|
|
15
|
+
<span class="direct-debit-logo"><span class="show-for-sr">Direct Debit</span></span>
|
|
16
|
+
<span class="giftaid-logo"><span class="show-for-sr">Giftaid</span></span>
|
|
17
|
+
<span class="fr-regulator-logo"><span class="show-for-sr">Fundraising Regulator</span></span>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<article class="card">
|
|
2
2
|
<div class="card-image">
|
|
3
|
-
<img src="http://placekitten.com/480/270" alt="test image with cats">
|
|
3
|
+
<img src="http://placekitten.com/480/270" alt="test image with cats" crossorigin="">
|
|
4
4
|
</div>
|
|
5
5
|
<div class="card-section">
|
|
6
6
|
<div class="progress-wrapper" data-pgbar-current="140" data-pgbar-target="200">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
</div>
|
|
84
84
|
</section>
|
|
85
85
|
|
|
86
|
-
<script src="{{ js }}"></script>
|
|
86
|
+
<script type="module" src="{{ js }}"></script>
|
|
87
87
|
</body>
|
|
88
88
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -92,6 +92,6 @@
|
|
|
92
92
|
</div>
|
|
93
93
|
</section>
|
|
94
94
|
|
|
95
|
-
<script src="{{ js }}"></script>
|
|
95
|
+
<script type="module" src="{{ js }}"></script>
|
|
96
96
|
</body>
|
|
97
97
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -92,6 +92,6 @@
|
|
|
92
92
|
</div>
|
|
93
93
|
</section>
|
|
94
94
|
|
|
95
|
-
<script src="{{ js }}"></script>
|
|
95
|
+
<script type="module" src="{{ js }}"></script>
|
|
96
96
|
</body>
|
|
97
97
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -88,6 +88,6 @@
|
|
|
88
88
|
</div>
|
|
89
89
|
</section>
|
|
90
90
|
|
|
91
|
-
<script src="{{ js }}"></script>
|
|
91
|
+
<script type="module" src="{{ js }}"></script>
|
|
92
92
|
</body>
|
|
93
93
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
</div>
|
|
84
84
|
</section>
|
|
85
85
|
|
|
86
|
-
<script src="{{ js }}"></script>
|
|
86
|
+
<script type="module" src="{{ js }}"></script>
|
|
87
87
|
</body>
|
|
88
88
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -86,6 +86,6 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
</section>
|
|
88
88
|
|
|
89
|
-
<script src="{{ js }}"></script>
|
|
89
|
+
<script type="module" src="{{ js }}"></script>
|
|
90
90
|
</body>
|
|
91
91
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -86,6 +86,6 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
</section>
|
|
88
88
|
|
|
89
|
-
<script src="{{ js }}"></script>
|
|
89
|
+
<script type="module" src="{{ js }}"></script>
|
|
90
90
|
</body>
|
|
91
91
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
</div>
|
|
84
84
|
</section>
|
|
85
85
|
|
|
86
|
-
<script src="{{ js }}"></script>
|
|
86
|
+
<script type="module" src="{{ js }}"></script>
|
|
87
87
|
</body>
|
|
88
88
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -75,6 +75,6 @@
|
|
|
75
75
|
</div>
|
|
76
76
|
</section>
|
|
77
77
|
|
|
78
|
-
<script src="{{ js }}"></script>
|
|
78
|
+
<script type="module" src="{{ js }}"></script>
|
|
79
79
|
</body>
|
|
80
80
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
</div>
|
|
84
84
|
</section>
|
|
85
85
|
|
|
86
|
-
<script src="{{ js }}"></script>
|
|
86
|
+
<script type="module" src="{{ js }}"></script>
|
|
87
87
|
</body>
|
|
88
88
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
</div>
|
|
77
77
|
</section>
|
|
78
78
|
|
|
79
|
-
<script src="{{ js }}"></script>
|
|
79
|
+
<script type="module" src="{{ js }}"></script>
|
|
80
80
|
</body>
|
|
81
81
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
</div>
|
|
73
73
|
</section>
|
|
74
74
|
|
|
75
|
-
<script src="{{ js }}"></script>
|
|
75
|
+
<script type="module" src="{{ js }}"></script>
|
|
76
76
|
</body>
|
|
77
77
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
</div>
|
|
69
69
|
</section>
|
|
70
70
|
|
|
71
|
-
<script src="{{ js }}"></script>
|
|
71
|
+
<script type="module" src="{{ js }}"></script>
|
|
72
72
|
</body>
|
|
73
73
|
</html>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="top-bar grid-container">
|
|
18
18
|
<div class="top-bar-left">
|
|
19
19
|
<a class="logo" href="#" rel="home">
|
|
20
|
-
<img src="{{ logo }}" alt="Logo" />
|
|
20
|
+
<img src="{{ logo }}" alt="Logo" crossorigin="" />
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="top-bar-right">
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
</div>
|
|
69
69
|
</section>
|
|
70
70
|
|
|
71
|
-
<script src="{{ js }}"></script>
|
|
71
|
+
<script type="module" src="{{ js }}"></script>
|
|
72
72
|
</body>
|
|
73
73
|
</html>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Thank you for taking action. You’re awesome!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1600/735" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1600/735" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="content">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Thank you for taking action. You’re awesome!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1600/800" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1600/800" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="content">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Thank you for taking action. You’re awesome!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1600/735" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1600/735" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="content">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<block name="page-title">Thank you for taking action. You’re awesome!</block>
|
|
4
4
|
|
|
5
5
|
<block name="banner">
|
|
6
|
-
<img src="http://placekitten.com/1600/735" alt="test image with cats">
|
|
6
|
+
<img src="http://placekitten.com/1600/735" alt="test image with cats" crossorigin="">
|
|
7
7
|
</block>
|
|
8
8
|
|
|
9
9
|
<block name="content">
|
package/src/js/foundist.js
CHANGED
|
@@ -4,9 +4,23 @@
|
|
|
4
4
|
import $ from 'jquery'
|
|
5
5
|
import select2 from 'select2'
|
|
6
6
|
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import {
|
|
8
|
+
Accordion,
|
|
9
|
+
Foundation,
|
|
10
|
+
Reveal,
|
|
11
|
+
SmoothScroll,
|
|
12
|
+
Toggler
|
|
13
|
+
} from 'foundation-sites/js/foundation'
|
|
14
|
+
|
|
15
|
+
import {
|
|
16
|
+
initEventBridge,
|
|
17
|
+
AdaptiveSticky,
|
|
18
|
+
CookieBar,
|
|
19
|
+
FileUpload,
|
|
20
|
+
SelectTwo,
|
|
21
|
+
StickyButton,
|
|
22
|
+
ToggleElement
|
|
23
|
+
} from '@moreonion/foundation-base'
|
|
10
24
|
|
|
11
25
|
// Add the select2 to jQuery
|
|
12
26
|
// Needed for SelectTwo plugin
|
|
@@ -16,16 +30,17 @@ select2($)
|
|
|
16
30
|
Foundation.addToJquery($)
|
|
17
31
|
|
|
18
32
|
// Configure Foundation
|
|
19
|
-
Foundation.plugin(ToggleElement, 'ToggleElement')
|
|
20
|
-
Foundation.plugin(SelectTwo, 'SelectTwo')
|
|
21
33
|
Foundation.plugin(AdaptiveSticky, 'AdaptiveSticky')
|
|
22
34
|
Foundation.plugin(CookieBar, 'CookieBar')
|
|
23
35
|
Foundation.plugin(FileUpload, 'FileUpload')
|
|
36
|
+
Foundation.plugin(SelectTwo, 'SelectTwo')
|
|
24
37
|
Foundation.plugin(StickyButton, 'StickyButton')
|
|
38
|
+
Foundation.plugin(ToggleElement, 'ToggleElement')
|
|
25
39
|
|
|
26
40
|
// Let foundation initialize the initial markup
|
|
27
41
|
// This needs to be done for dynamically loaded markup too (e.g. AJAX markup)
|
|
28
42
|
export function initFoundation () {
|
|
43
|
+
initEventBridge($)
|
|
29
44
|
if (typeof Drupal !== 'undefined') {
|
|
30
45
|
Drupal.behaviors.foundist_initialize = {}
|
|
31
46
|
Drupal.behaviors.foundist_initialize.attach = (context, settings) => {
|
package/src/scss/_settings.scss
CHANGED
|
@@ -16,7 +16,10 @@ $breakpoints: (
|
|
|
16
16
|
// Global Typography
|
|
17
17
|
$base-font-size: 18 !default;
|
|
18
18
|
$base-line-height: 24 !default;
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
// Set font size and breakpoint variables *before* importing utils!
|
|
21
|
+
// 6.25% = 100% / 16 (assumed browser default value)
|
|
22
|
+
$global-font-size: $base-font-size * 6.25% !default;
|
|
20
23
|
|
|
21
24
|
// Global Colors
|
|
22
25
|
$foundation-palette: (
|