@moreonion/foundist 2.1.2 → 3.0.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.
Files changed (117) hide show
  1. package/.vscode/settings.json +16 -0
  2. package/README.md +5 -9
  3. package/package.json +6 -28
  4. package/src/html/basic-action-page-cover-1col-with-headline.html +54 -0
  5. package/src/html/basic-action-page-cover-1col.html +27 -27
  6. package/src/html/basic-action-page-cover-2col-reversed.html +27 -27
  7. package/src/html/basic-action-page-cover-2col-with-headline.html +54 -0
  8. package/src/html/basic-action-page-cover-2col.html +27 -27
  9. package/src/html/basic-action-page-cover-banner-with-headline.html +54 -0
  10. package/src/html/basic-action-page-cover-banner.html +27 -27
  11. package/src/html/basic-action-page-reversed.html +22 -23
  12. package/src/html/basic-action-page-with-banner-and-headline.html +54 -0
  13. package/src/html/basic-action-page-with-banner-reversed.html +27 -27
  14. package/src/html/basic-action-page-with-banner.html +27 -27
  15. package/src/html/basic-action-page-with-callouts.html +28 -28
  16. package/src/html/basic-action-page.html +22 -23
  17. package/src/html/build-index.html +9 -0
  18. package/src/html/dev-index.html +57 -0
  19. package/src/html/donation-action-page.html +20 -20
  20. package/src/html/e2t-action-page.html +25 -28
  21. package/src/html/includes/accordion.html +25 -25
  22. package/src/html/includes/basic-form-with-errors.html +28 -26
  23. package/src/html/includes/basic-form.html +11 -7
  24. package/src/html/includes/cookiebar.html +5 -5
  25. package/src/html/includes/donate-form.html +11 -10
  26. package/src/html/includes/e2t-single-form.html +29 -27
  27. package/src/html/includes/form-items/_macros.html +76 -0
  28. package/src/html/includes/form-items/checkboxes.html +18 -18
  29. package/src/html/includes/form-items/country-select-options.html +253 -0
  30. package/src/html/includes/form-items/donation-amount.html +63 -64
  31. package/src/html/includes/form-items/donation-interval.html +14 -13
  32. package/src/html/includes/form-items/fake-field.html +2 -2
  33. package/src/html/includes/form-items/fieldset.html +9 -7
  34. package/src/html/includes/form-items/file-upload.html +7 -7
  35. package/src/html/includes/form-items/giftaid.html +16 -0
  36. package/src/html/includes/form-items/inline-radios.html +14 -14
  37. package/src/html/includes/form-items/opt-in-checkbox.html +5 -5
  38. package/src/html/includes/form-items/opt-in-radios.html +7 -7
  39. package/src/html/includes/form-items/payment-icons.html +17 -17
  40. package/src/html/includes/form-items/paymethod-selector.html +24 -24
  41. package/src/html/includes/form-items/radios-with-error.html +8 -8
  42. package/src/html/includes/form-items/radios.html +14 -14
  43. package/src/html/includes/form-items/select-with-error.html +257 -257
  44. package/src/html/includes/form-items/textarea.html +2 -2
  45. package/src/html/includes/form-items/webform-steps.html +13 -13
  46. package/src/html/includes/language-switcher.html +10 -10
  47. package/src/html/includes/login-form.html +5 -3
  48. package/src/html/includes/menu.html +3 -3
  49. package/src/html/includes/overlay.html +4 -4
  50. package/src/html/includes/pagination.html +13 -13
  51. package/src/html/includes/pgbar-thermometer.html +8 -8
  52. package/src/html/includes/pgbar.html +5 -5
  53. package/src/html/includes/recent-supporters-agregated.html +32 -32
  54. package/src/html/includes/recent-supporters-comments.html +31 -31
  55. package/src/html/includes/recent-supporters-empty.html +3 -3
  56. package/src/html/includes/recent-supporters.html +26 -26
  57. package/src/html/includes/share-buttons.html +30 -28
  58. package/src/html/includes/sticky-button.html +1 -1
  59. package/src/html/includes/teasers.html +25 -5
  60. package/src/html/includes/toggle-element-show-more.html +3 -3
  61. package/src/html/includes/toggle-element-toggle.html +2 -2
  62. package/src/html/login-page.html +5 -7
  63. package/src/html/snippets-demo.html +13 -15
  64. package/src/html/teaser-page.html +7 -7
  65. package/src/html/templates/action-page-cover-1col.html +12 -83
  66. package/src/html/templates/action-page-cover-banner.html +16 -85
  67. package/src/html/templates/action-page-reversed.html +16 -82
  68. package/src/html/templates/action-page.html +21 -80
  69. package/src/html/templates/base.html +31 -0
  70. package/src/html/templates/page.html +99 -0
  71. package/src/html/templates/share-page.html +9 -0
  72. package/src/html/thank-you-page-cover-1col-with-headline.html +27 -0
  73. package/src/html/thank-you-page-cover-1col.html +14 -14
  74. package/src/html/thank-you-page-cover-2col-with-headline.html +31 -0
  75. package/src/html/thank-you-page-cover-2col.html +17 -13
  76. package/src/html/thank-you-page-cover-banner-with-headline.html +27 -0
  77. package/src/html/thank-you-page-cover-banner.html +14 -14
  78. package/src/html/thank-you-page-with-banner-and-headline.html +27 -0
  79. package/src/html/thank-you-page-with-banner.html +14 -14
  80. package/src/html/thank-you-page.html +15 -15
  81. package/src/html/typography-static-page.html +18 -20
  82. package/src/js/foundist.js +41 -14
  83. package/src/scss/_settings.scss +3 -3
  84. package/src/scss/components/_accordion.scss +4 -6
  85. package/src/scss/components/_headline.scss +118 -0
  86. package/src/scss/components/_settings.scss +6 -2
  87. package/src/scss/form/_fields.scss +19 -0
  88. package/src/scss/form/_settings.scss +4 -3
  89. package/src/scss/layout/_banner.scss +50 -13
  90. package/src/scss/layout/_cover-banner.scss +80 -34
  91. package/src/scss/layout/_cover.scss +127 -45
  92. package/src/scss/layout/_default.scss +9 -3
  93. package/src/scss/layout/_sections.scss +7 -3
  94. package/src/scss/main.scss +2 -0
  95. package/src/scss/typography/_settings.scss +2 -0
  96. package/src/html/empty-action-page.html +0 -29
  97. package/src/html/empty-static-page.html +0 -21
  98. package/src/html/includes/form-items/country-select.html +0 -258
  99. package/src/html/includes/form-items/email.html +0 -4
  100. package/src/html/includes/form-items/first-name.html +0 -4
  101. package/src/html/includes/form-items/last-name.html +0 -4
  102. package/src/html/includes/form-items/password.html +0 -5
  103. package/src/html/includes/form-items/submit-button.html +0 -2
  104. package/src/html/includes/form-items/text-with-description.html +0 -5
  105. package/src/html/includes/form-items/text-with-error.html +0 -5
  106. package/src/html/includes/teaser.html +0 -17
  107. package/src/html/index.html +0 -51
  108. package/src/html/templates/action-page-cover-2col-reversed.html +0 -97
  109. package/src/html/templates/action-page-cover-2col.html +0 -97
  110. package/src/html/templates/action-page-with-banner-reversed.html +0 -91
  111. package/src/html/templates/action-page-with-banner.html +0 -91
  112. package/src/html/templates/static-page-cover-1col.html +0 -80
  113. package/src/html/templates/static-page-cover-2col.html +0 -88
  114. package/src/html/templates/static-page-cover-banner.html +0 -81
  115. package/src/html/templates/static-page-with-banner.html +0 -77
  116. package/src/html/templates/static-page.html +0 -73
  117. package/src/html/templates/teaser-page.html +0 -73
@@ -3,22 +3,28 @@
3
3
  // Displays the form above the main content with a fixed image as background.
4
4
 
5
5
  $cover-banner-background: $fallback-background !default;
6
- $cover-banner-min-height: 75vh !default;
6
+ $cover-banner-min-height: 66vh !default;
7
7
 
8
8
  // For the background image, the #background styles from cover.scss are used.
9
9
 
10
10
  #banner-content {
11
- @include breakpoint(medium) {
12
- #form-wrapper {
13
- padding-top: 2 * $global-padding;
11
+ ~ #main {
12
+ background: $body-background;
13
+
14
+ // Displaying the #sidebar below the #content on small/medium screens.
15
+ @include breakpoint(medium down) {
16
+ #content + #sidebar {
17
+ margin-top: 2 * $global-margin;
18
+ }
14
19
  }
15
20
  }
16
21
 
17
- @include breakpoint(medium only) {
18
- // Overlap the image a bit.
19
- #background ~ & {
20
- margin-top: -25vw;
21
- min-height: 25vw;
22
+ @include breakpoint(medium) {
23
+ padding-top: 2 * $global-padding;
24
+ padding-bottom: 2 * $global-padding;
25
+
26
+ #form-outer {
27
+ margin-bottom: 0;
22
28
  }
23
29
  }
24
30
 
@@ -27,37 +33,77 @@ $cover-banner-min-height: 75vh !default;
27
33
  grid-column: 6 / -1;
28
34
  }
29
35
 
30
- ~ #main {
31
- background: $body-background;
32
- // Use padding instead of margins to cover the gaps.
33
- padding-top: 2 * $global-margin;
34
- padding-bottom: 3 * $global-margin;
35
- margin: 0;
36
+ #headline {
37
+ position: sticky;
38
+ bottom: 2 * $global-margin;
36
39
  }
40
+ }
37
41
 
38
- // When there is a #background, make sure it’s visible.
39
- #background ~ &,
40
- #background ~ & #form-wrapper {
41
- min-height: $cover-banner-min-height;
42
+ // When there is a #background, make sure it’s visible.
43
+ #background ~ & {
44
+ @include breakpoint(medium down) {
45
+ padding-top: 50vh;
42
46
  }
43
-
44
- // Fallback background when there is no #background.
45
- &:before {
46
- content: "";
47
- position: fixed;
48
- top: 0;
49
- right: 0;
50
- bottom: 0;
51
- left: 0;
52
- background: $cover-banner-background;
53
- z-index: -2;
47
+ @include breakpoint(large) {
48
+ &,
49
+ .grid-container,
50
+ #form-wrapper {
51
+ min-height: $cover-banner-min-height;
52
+ }
54
53
  }
55
54
  }
55
+
56
+ // Fallback background when there is no #background.
57
+ &:before {
58
+ content: "";
59
+ display: block;
60
+ position: fixed;
61
+ top: 0;
62
+ right: 0;
63
+ bottom: 0;
64
+ left: 0;
65
+ background: $cover-banner-background;
66
+ z-index: -2;
67
+ }
56
68
  }
57
69
 
58
- // Displaying the #sidebar below the #content on small/medium screens.
59
- @include breakpoint(medium down) {
60
- #content + #sidebar {
61
- margin-top: 2 * $global-margin;
70
+ // Displaying a big headline on small/medium screens.
71
+ .cover-banner-layout.with-headline {
72
+ @include breakpoint(medium down) {
73
+ #background ~ #banner-content {
74
+ padding-top: 0;
75
+
76
+ .grid-container {
77
+ grid-template-rows: minmax(min(100vh, 100vw), auto) auto;
78
+ padding-top: 0;
79
+
80
+ @include breakpoint(small down) {
81
+ grid-template-rows: minmax(100vh, auto) auto;
82
+ }
83
+ }
84
+
85
+ #headline {
86
+ // A bit more than approximate sticky button height.
87
+ padding-bottom: 3 * $global-padding;
88
+
89
+ // Padding similar to large screens when not at the edge of the screen.
90
+ @include breakpoint(medium) {
91
+ @include breakpoint(portrait) {
92
+ padding-bottom: 2 * $global-padding;
93
+ }
94
+ }
95
+ }
96
+ }
97
+
98
+ #header {
99
+ // #banner-content’s 100vh should start at the top of the page.
100
+ position: absolute;
101
+ width: 100%;
102
+
103
+ ~ #banner-content #headline {
104
+ // A bit more than approximate header height.
105
+ padding-top: $global-padding * 5;
106
+ }
107
+ }
62
108
  }
63
109
  }
@@ -8,10 +8,15 @@
8
8
 
9
9
  $cover-background: $fallback-background !default;
10
10
  $cover-content-box-shadow: none !default;
11
- /// A value to subtract from the screen height to place the bottom edge of #top.
12
- $cover-2col-offset: $global-margin * 5;
11
+ /// Minimum distance of #top from #main top when there is a background image.
12
+ $cover-1col-offset: min(66vh, $global-margin * 10) !default;
13
+ $cover-2col-offset: min(55vh, 85vw) !default;
13
14
 
14
15
  @mixin -content-padding {
16
+ @include breakpoint(medium) {
17
+ padding-left: 6vw;
18
+ padding-right: 6vw;
19
+ }
15
20
  @include breakpoint(large) {
16
21
  padding-left: $global-padding * 1.5;
17
22
  padding-right: $global-padding * 1.5;
@@ -23,6 +28,10 @@ $cover-2col-offset: $global-margin * 5;
23
28
  }
24
29
 
25
30
  @mixin -reverse-content-padding {
31
+ @include breakpoint(medium) {
32
+ margin-left: -6vw;
33
+ margin-right: -6vw;
34
+ }
26
35
  @include breakpoint(large) {
27
36
  margin-left: $global-padding * -1.5;
28
37
  margin-right: $global-padding * -1.5;
@@ -33,10 +42,22 @@ $cover-2col-offset: $global-margin * 5;
33
42
  }
34
43
  }
35
44
 
45
+ .inner-wrapper {
46
+ @extend .small-reverse-container-padding;
47
+ @extend .small-add-container-padding;
48
+ }
49
+
36
50
  // Fixed background image.
37
51
  #background {
52
+ position: fixed;
53
+ top: 0;
54
+ right: 0;
55
+ bottom: 0;
56
+ left: 0;
57
+ // Required to keep a constant height in mobile browsers with (dis)appearing menus
58
+ height: 100vh;
59
+
38
60
  width: 100%;
39
- height: 75vw;
40
61
  background: $cover-background;
41
62
  z-index: -1;
42
63
 
@@ -46,20 +67,28 @@ $cover-2col-offset: $global-margin * 5;
46
67
  object-fit: cover;
47
68
  }
48
69
 
49
- @include breakpoint(large) {
50
- position: fixed;
51
- top: 0;
52
- right: 0;
53
- bottom: 0;
54
- left: 0;
55
- height: auto;
56
- }
57
-
58
70
  // Remove title padding
59
71
  ~ #main #page-title {
60
72
  padding-top: 0;
61
73
  }
62
74
 
75
+ // Remove gaps on small screens.
76
+ @include breakpoint(small down) {
77
+ ~ #main {
78
+ padding-bottom: 0;
79
+ }
80
+ @if $cover-1col-offset == 0 {
81
+ #page.cover-1col-layout:not(.with-headline) & {
82
+ display: none;
83
+ }
84
+ }
85
+ @if $cover-2col-offset == 0 {
86
+ #page.cover-2col-layout:not(.with-headline) & {
87
+ display: none;
88
+ }
89
+ }
90
+ }
91
+
63
92
  // Make .narrow smaller a little earlier, halfway between large and xlarge.
64
93
  @include breakpoint((map.get($breakpoints, large) + map.get($breakpoints, xlarge)) * 0.5) {
65
94
  ~ section .grid-container.narrow {
@@ -73,18 +102,16 @@ $cover-2col-offset: $global-margin * 5;
73
102
  // Make sure no sections are transparent.
74
103
  #page.cover-1col-layout,
75
104
  #page.cover-2col-layout {
76
- @include breakpoint(large) {
77
- #highlighted,
78
- #main .inner-wrapper,
79
- #bottom {
80
- background: $body-background;
81
- }
105
+ #highlighted,
106
+ #main .inner-wrapper,
107
+ #bottom {
108
+ background: $body-background;
82
109
  }
83
110
  }
84
111
 
85
112
  // 1 column layout specific.
86
113
  #page.cover-1col-layout {
87
- @include breakpoint(large) {
114
+ @include breakpoint(medium) {
88
115
  // Adjust vertical paddings and margins.
89
116
  #top {
90
117
  padding-bottom: $global-padding * 0.5;
@@ -105,6 +132,9 @@ $cover-2col-offset: $global-margin * 5;
105
132
 
106
133
  // Additional page styles when there is a #background.
107
134
  #background ~ #main {
135
+ // Leave extra space on top.
136
+ margin-top: $cover-1col-offset;
137
+
108
138
  // Add padding.
109
139
  .inner-wrapper,
110
140
  #form-outer,
@@ -115,20 +145,17 @@ $cover-2col-offset: $global-margin * 5;
115
145
  .sticky-cta {
116
146
  @include -reverse-content-padding;
117
147
  }
148
+ #top:first-child {
149
+ padding-top: $global-padding * 1.5;
150
+ }
118
151
 
119
- @include breakpoint(large) {
120
- // Leave extra space on top.
121
- margin-top: $global-margin * 12;
122
-
152
+ @include breakpoint(medium) {
123
153
  // Add box-shadow.
124
154
  .inner-wrapper {
125
155
  box-shadow: $cover-content-box-shadow;
126
156
  }
127
157
 
128
158
  // Add vertical padding.
129
- #top:first-child {
130
- padding-top: $global-padding * 1.5;
131
- }
132
159
  #content:last-child {
133
160
  padding-bottom: $global-padding * 1.5;
134
161
  }
@@ -143,6 +170,12 @@ $cover-2col-offset: $global-margin * 5;
143
170
  }
144
171
 
145
172
  // Adjust form container width to negative margin.
173
+ #form-outer {
174
+ min-width: calc(100% + 12vw);
175
+ }
176
+ }
177
+
178
+ @include breakpoint(large) {
146
179
  #form-outer {
147
180
  min-width: calc(100% + #{$global-padding * 3});
148
181
  }
@@ -154,6 +187,17 @@ $cover-2col-offset: $global-margin * 5;
154
187
  }
155
188
  }
156
189
  }
190
+
191
+ // Additional page styles when there is a #headline.
192
+ &.with-headline {
193
+ #background ~ #main {
194
+ margin-top: 0;
195
+
196
+ .grid-container {
197
+ grid-template-rows: minmax($cover-1col-offset, auto) auto;
198
+ }
199
+ }
200
+ }
157
201
  }
158
202
 
159
203
  // 2 column layout specific.
@@ -169,14 +213,26 @@ $cover-2col-offset: $global-margin * 5;
169
213
  }
170
214
  }
171
215
 
172
- @include breakpoint(large) {
173
- // Adjust grid.
174
- .grid-container.with-sidebar {
175
- grid-template-areas:
176
- "top top top top top sidebar sidebar sidebar sidebar"
177
- "content content content content content sidebar sidebar sidebar sidebar"
178
- "sidebar2 sidebar2 sidebar2 sidebar2 sidebar2 sidebar sidebar sidebar sidebar";
216
+ @include breakpoint(small down) {
217
+ #background ~ #main {
218
+ .inner-wrapper {
219
+ @include clearfix;
220
+ }
221
+ #top .inner-wrapper {
222
+ padding-top: $global-padding * 1.5;
223
+ }
224
+ #sidebar + #sidebar2,
225
+ #content + #sidebar2 {
226
+ margin-top: 0;
227
+
228
+ .inner-wrapper {
229
+ padding-top: 2 * $global-margin;
230
+ }
231
+ }
179
232
  }
233
+ }
234
+
235
+ @include breakpoint(medium) {
180
236
  #main .inner-wrapper {
181
237
  // Vertical padding and margins.
182
238
  padding-top: $global-padding * 1.5;
@@ -209,6 +265,11 @@ $cover-2col-offset: $global-margin * 5;
209
265
  }
210
266
  }
211
267
 
268
+ // Remove gap after form.
269
+ #form-outer {
270
+ margin-bottom: 0;
271
+ }
272
+
212
273
  // Add a gap and optional shadow between content section parts.
213
274
  #content .inner-wrapper,
214
275
  #sidebar .sticky-cta {
@@ -219,6 +280,7 @@ $cover-2col-offset: $global-margin * 5;
219
280
  // Fallback background when there is no #background.
220
281
  #main:before {
221
282
  content: "";
283
+ display: block;
222
284
  position: fixed;
223
285
  top: 0;
224
286
  right: 0;
@@ -227,19 +289,20 @@ $cover-2col-offset: $global-margin * 5;
227
289
  background: $cover-background;
228
290
  z-index: -2;
229
291
  }
292
+ }
230
293
 
231
- // Additional page styles when there is a #background.
232
- #background ~ #main > .grid-container {
233
- // Make the first grid row almost as large as the screen
234
- // (we don’t know how large the #header is, whether there are messages,…).
235
- // ATM stylelint does not recognise pure CSS functions:
236
- // https://github.com/stylelint-scss/stylelint-scss/issues/486
237
- // stylelint-disable scss/no-global-function-names
238
- grid-template-rows: min(calc(100vh - #{$cover-2col-offset}), 125vw) 1fr;
239
- // stylelint-enable scss/no-global-function-names
240
- // Show the top section at the bottom of this row.
241
- #top {
242
- margin-top: auto;
294
+ @include breakpoint(large) {
295
+ // Adjust grid.
296
+ .grid-container.with-sidebar {
297
+ grid-template-areas:
298
+ "head head head head head sidebar sidebar sidebar sidebar"
299
+ "top top top top top sidebar sidebar sidebar sidebar"
300
+ "content content content content content sidebar sidebar sidebar sidebar"
301
+ "sidebar2 sidebar2 sidebar2 sidebar2 sidebar2 sidebar sidebar sidebar sidebar";
302
+ }
303
+ &.with-headline {
304
+ #headline {
305
+ padding-bottom: $global-padding;
243
306
  }
244
307
  }
245
308
  }
@@ -250,4 +313,23 @@ $cover-2col-offset: $global-margin * 5;
250
313
  margin-bottom: $global-margin * 2;
251
314
  }
252
315
  }
316
+
317
+ // Move content down when there is a #background.
318
+ @include breakpoint(medium down) {
319
+ #background ~ #main {
320
+ margin-top: $cover-2col-offset;
321
+ }
322
+ &.with-headline #background ~ #main {
323
+ margin-top: 0;
324
+
325
+ .grid-container {
326
+ grid-template-rows: minmax($cover-2col-offset, auto) auto;
327
+ }
328
+ }
329
+ }
330
+ @include breakpoint(large) {
331
+ #background ~ #main > .grid-container {
332
+ grid-template-rows: minmax($cover-2col-offset, auto) auto 1fr auto;
333
+ }
334
+ }
253
335
  }
@@ -34,8 +34,10 @@ section > .grid-container {
34
34
 
35
35
  // Use a 9 column grid.
36
36
  .grid-container {
37
+ display: grid;
38
+ grid-template-rows: auto;
39
+
37
40
  @include breakpoint(large) {
38
- display: grid;
39
41
  column-gap: $global-margin;
40
42
  grid-template-columns: repeat(9, 1fr);
41
43
 
@@ -64,15 +66,19 @@ section > .grid-container {
64
66
  }
65
67
 
66
68
  // CSS grid for two column layout.
67
- // Assuming #top, #main (left column) and #sidebar (second column).
69
+ // Assuming #headline (optional), #top, #main (left column) and #sidebar (second column).
68
70
  .grid-container.with-sidebar {
69
71
  @include breakpoint(large) {
70
72
  grid-template-areas:
73
+ "head head head head head sidebar sidebar sidebar sidebar"
71
74
  "top top top top top sidebar sidebar sidebar sidebar"
72
75
  "content content content content content sidebar sidebar sidebar sidebar"
73
76
  "content content content content content sidebar2 sidebar2 sidebar2 sidebar2";
74
- grid-template-rows: auto 1fr auto;
77
+ grid-template-rows: auto auto 1fr auto;
75
78
 
79
+ #headline {
80
+ grid-area: head;
81
+ }
76
82
  #top {
77
83
  grid-area: top;
78
84
  }
@@ -9,6 +9,10 @@ body {
9
9
  min-height: 100vh;
10
10
  }
11
11
 
12
+ section {
13
+ @include clearfix;
14
+ }
15
+
12
16
  #header {
13
17
  border-bottom: $header-border;
14
18
  }
@@ -20,11 +24,11 @@ body {
20
24
  }
21
25
 
22
26
  #main {
23
- margin-top: 1.5 * $global-margin;
24
- margin-bottom: 3 * $global-margin;
27
+ padding-top: 1.5 * $global-padding;
28
+ padding-bottom: 3 * $global-padding;
25
29
 
26
30
  @include breakpoint(large) {
27
- margin-top: 2 * $global-margin;
31
+ padding-top: 2 * $global-padding;
28
32
  }
29
33
 
30
34
  @include breakpoint(medium down) {
@@ -89,6 +89,7 @@
89
89
  @include mo-share-button;
90
90
  @include mo-drupal-ajax-loading;
91
91
  @include mo-payment-icons;
92
+ @include mo-giftaid;
92
93
  @include mo-cookiebar;
93
94
 
94
95
  @import "form/forms";
@@ -105,6 +106,7 @@
105
106
  @import "components/footer";
106
107
  @import "components/menu";
107
108
  @import "components/callout";
109
+ @import "components/headline";
108
110
  @import "components/share-button";
109
111
  @import "components/sticky-button";
110
112
  @import "components/progressbar";
@@ -15,6 +15,7 @@ $global-weight-bold: bold !default;
15
15
  // Colors
16
16
  $body-font-color: $black !default;
17
17
  $body-font-color-alt: $white !default;
18
+ $muted-font-color: $medium-gray !default;
18
19
  $title-color: get-color(primary) !default;
19
20
  $header-color-even: if(
20
21
  meta.variable-exists("header-color"),
@@ -27,6 +28,7 @@ $header-color-odd: if(
27
28
  get-color(secondary)
28
29
  ) !default;
29
30
  $header-color-alt: $body-font-color-alt !default;
31
+ $header-small-font-color: $muted-font-color !default;
30
32
  $anchor-color: get-color(primary) !default;
31
33
  $blockquote-color: get-color(primary) !default;
32
34
 
@@ -1,29 +0,0 @@
1
- <extends src="templates/action-page.html">
2
-
3
- <block name="highlighted"></block>
4
-
5
- <block name="messages"></block>
6
-
7
- <block name="page-title"></block>
8
-
9
- <block name="top"></block>
10
-
11
- <block name="form-intro"></block>
12
-
13
- <block name="progress-bar"></block>
14
-
15
- <block name="form"></block>
16
-
17
- <block name="recent-supporters"></block>
18
-
19
- <block name="content-top"></block>
20
-
21
- <block name="content"></block>
22
-
23
- <block name="content-bottom"></block>
24
-
25
- <block name="bottom"></block>
26
-
27
- <block name="footer"></block>
28
-
29
- </extends>
@@ -1,21 +0,0 @@
1
- <extends src="templates/static-page.html">
2
-
3
- <block name="highlighted"></block>
4
-
5
- <block name="messages"></block>
6
-
7
- <block name="page-title"></block>
8
-
9
- <block name="top"></block>
10
-
11
- <block name="content-top"></block>
12
-
13
- <block name="content"></block>
14
-
15
- <block name="content-bottom"></block>
16
-
17
- <block name="bottom"></block>
18
-
19
- <block name="footer"></block>
20
-
21
- </extends>