@nationalarchives/frontend 0.1.55 → 0.1.57
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/nationalarchives/all.css +1 -1
- package/nationalarchives/all.css.map +1 -1
- package/nationalarchives/components/accordion/accordion.css +1 -1
- package/nationalarchives/components/accordion/accordion.css.map +1 -1
- package/nationalarchives/components/accordion/accordion.scss +25 -0
- package/nationalarchives/components/breadcrumbs/breadcrumbs.css +1 -1
- package/nationalarchives/components/breadcrumbs/breadcrumbs.css.map +1 -1
- package/nationalarchives/components/breadcrumbs/breadcrumbs.scss +0 -17
- package/nationalarchives/components/button/button.css +1 -1
- package/nationalarchives/components/button/button.css.map +1 -1
- package/nationalarchives/components/button/button.scss +6 -0
- package/nationalarchives/components/card/card.css.map +1 -1
- package/nationalarchives/components/checkboxes/checkboxes.css +1 -1
- package/nationalarchives/components/checkboxes/checkboxes.css.map +1 -1
- package/nationalarchives/components/compound-filters/compound-filters.css +1 -1
- package/nationalarchives/components/compound-filters/compound-filters.css.map +1 -1
- package/nationalarchives/components/compound-filters/compound-filters.scss +1 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.css +1 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.css.map +1 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.scss +2 -4
- package/nationalarchives/components/date-input/date-input.css +1 -1
- package/nationalarchives/components/date-input/date-input.css.map +1 -1
- package/nationalarchives/components/date-search/date-search.css +1 -1
- package/nationalarchives/components/date-search/date-search.css.map +1 -1
- package/nationalarchives/components/details/details.css +1 -1
- package/nationalarchives/components/details/details.css.map +1 -1
- package/nationalarchives/components/details/details.scss +27 -0
- package/nationalarchives/components/error-summary/error-summary.css +1 -1
- package/nationalarchives/components/error-summary/error-summary.css.map +1 -1
- package/nationalarchives/components/featured-records/featured-records.css +1 -1
- package/nationalarchives/components/featured-records/featured-records.css.map +1 -1
- package/nationalarchives/components/featured-records/featured-records.scss +1 -2
- package/nationalarchives/components/footer/footer.css +1 -1
- package/nationalarchives/components/footer/footer.css.map +1 -1
- package/nationalarchives/components/footer/footer.scss +2 -0
- package/nationalarchives/components/gallery/gallery.css.map +1 -1
- package/nationalarchives/components/global-header/fixtures.json +1 -1
- package/nationalarchives/components/global-header/global-header.css +1 -1
- package/nationalarchives/components/global-header/global-header.css.map +1 -1
- package/nationalarchives/components/global-header/global-header.scss +23 -4
- package/nationalarchives/components/global-header/template.njk +1 -1
- package/nationalarchives/components/grid/grid.css.map +1 -1
- package/nationalarchives/components/header/fixtures.json +1 -1
- package/nationalarchives/components/header/header.css +1 -1
- package/nationalarchives/components/header/header.css.map +1 -1
- package/nationalarchives/components/header/header.scss +19 -10
- package/nationalarchives/components/header/header.stories.js +41 -0
- package/nationalarchives/components/header/template.njk +1 -1
- package/nationalarchives/components/hero/fixtures.json +3 -15
- package/nationalarchives/components/hero/hero.css.map +1 -1
- package/nationalarchives/components/hero/macro-options.json +0 -6
- package/nationalarchives/components/hero/template.njk +4 -5
- package/nationalarchives/components/index-grid/fixtures.json +3 -1
- package/nationalarchives/components/index-grid/index-grid.css +1 -1
- package/nationalarchives/components/index-grid/index-grid.css.map +1 -1
- package/nationalarchives/components/index-grid/index-grid.stories.js +12 -3
- package/nationalarchives/components/index-grid/macro-options.json +26 -2
- package/nationalarchives/components/index-grid/template.njk +15 -2
- package/nationalarchives/components/pagination/pagination.css.map +1 -1
- package/nationalarchives/components/phase-banner/phase-banner.css +1 -1
- package/nationalarchives/components/phase-banner/phase-banner.css.map +1 -1
- package/nationalarchives/components/phase-banner/phase-banner.scss +2 -0
- package/nationalarchives/components/picture/fixtures.json +75 -0
- package/nationalarchives/components/picture/macro-options.json +9 -3
- package/nationalarchives/components/picture/picture.css.map +1 -1
- package/nationalarchives/components/picture/template.njk +1 -1
- package/nationalarchives/components/quick-filters/fixtures.json +83 -1
- package/nationalarchives/components/quick-filters/macro-options.json +6 -0
- package/nationalarchives/components/quick-filters/quick-filters.css +1 -1
- package/nationalarchives/components/quick-filters/quick-filters.css.map +1 -1
- package/nationalarchives/components/quick-filters/quick-filters.scss +25 -3
- package/nationalarchives/components/quick-filters/quick-filters.stories.js +3 -1
- package/nationalarchives/components/quick-filters/template.njk +1 -1
- package/nationalarchives/components/radios/radios.css +1 -1
- package/nationalarchives/components/radios/radios.css.map +1 -1
- package/nationalarchives/components/radios/radios.scss +4 -4
- package/nationalarchives/components/search-field/search-field.css +1 -1
- package/nationalarchives/components/search-field/search-field.css.map +1 -1
- package/nationalarchives/components/search-field/search-field.scss +6 -0
- package/nationalarchives/components/search-filters/search-filters.css +1 -1
- package/nationalarchives/components/search-filters/search-filters.css.map +1 -1
- package/nationalarchives/components/search-filters/search-filters.scss +25 -0
- package/nationalarchives/components/select/select.css +1 -1
- package/nationalarchives/components/select/select.css.map +1 -1
- package/nationalarchives/components/skip-link/skip-link.css +1 -1
- package/nationalarchives/components/skip-link/skip-link.css.map +1 -1
- package/nationalarchives/components/skip-link/skip-link.scss +3 -0
- package/nationalarchives/components/tabs/tabs.css +1 -1
- package/nationalarchives/components/tabs/tabs.css.map +1 -1
- package/nationalarchives/components/tabs/tabs.scss +2 -4
- package/nationalarchives/components/text-input/text-input.css +1 -1
- package/nationalarchives/components/text-input/text-input.css.map +1 -1
- package/nationalarchives/components/textarea/textarea.css +1 -1
- package/nationalarchives/components/textarea/textarea.css.map +1 -1
- package/nationalarchives/components/warning/warning.css.map +1 -1
- package/nationalarchives/global-header-package.css +1 -1
- package/nationalarchives/global-header-package.css.map +1 -1
- package/nationalarchives/global-header-package.scss +0 -2
- package/nationalarchives/prototype-kit.css +1 -1
- package/nationalarchives/prototype-kit.css.map +1 -1
- package/nationalarchives/stories/utilities/colour-schemes/colour-themes.stories.js +5 -5
- package/nationalarchives/templates/fixtures.json +5 -5
- package/nationalarchives/templates/index-grid.njk +116 -118
- package/nationalarchives/templates/layouts/_prototype-kit.njk +15 -1
- package/nationalarchives/templates/list.njk +23 -25
- package/nationalarchives/templates/plain.njk +67 -67
- package/nationalarchives/tools/_colour.scss +6 -1
- package/nationalarchives/tools/_media.scss +10 -0
- package/nationalarchives/utilities/_areas.scss +1 -1
- package/nationalarchives/utilities/_lists.scss +1 -5
- package/nationalarchives/utilities/_typography.scss +2 -0
- package/nationalarchives/variables/_colour.scss +2 -1
- package/package.json +1 -1
@@ -26,124 +26,122 @@
|
|
26
26
|
{% endblock %}
|
27
27
|
|
28
28
|
{% block content %}
|
29
|
-
<
|
30
|
-
<div class="tna-
|
31
|
-
<div class="tna-
|
32
|
-
<
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
<p class="tna-large-paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet luctus libero. Cras nec mauris ex. Fusce nisl erat, efficitur sed auctor ornare, varius fermentum arcu.</p>
|
37
|
-
</div>
|
29
|
+
<div class="tna-background-accent tna-!--padding-vertical-xl">
|
30
|
+
<div class="tna-container">
|
31
|
+
<div class="tna-column tna-column--width-2-3 tna-column--width-5-6-medium tna-column--full-small tna-column--full-tiny">
|
32
|
+
<h1 class="tna-heading-xl">
|
33
|
+
{{ pageTitle }}
|
34
|
+
</h1>
|
35
|
+
<p class="tna-large-paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet luctus libero. Cras nec mauris ex. Fusce nisl erat, efficitur sed auctor ornare, varius fermentum arcu.</p>
|
38
36
|
</div>
|
39
37
|
</div>
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
</
|
38
|
+
</div>
|
39
|
+
<section class="tna-section">
|
40
|
+
{{ tnaIndexGrid({
|
41
|
+
title: 'Topics',
|
42
|
+
headingLevel: 0,
|
43
|
+
items: [
|
44
|
+
{
|
45
|
+
href: '#',
|
46
|
+
title: 'Topic',
|
47
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
48
|
+
alt: 'Topic image',
|
49
|
+
width: 600,
|
50
|
+
height: 400
|
51
|
+
},
|
52
|
+
{
|
53
|
+
href: '#',
|
54
|
+
title: 'Topic',
|
55
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
56
|
+
alt: 'Topic image',
|
57
|
+
width: 600,
|
58
|
+
height: 400
|
59
|
+
},
|
60
|
+
{
|
61
|
+
href: '#',
|
62
|
+
title: 'Topic',
|
63
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
64
|
+
alt: 'Topic image',
|
65
|
+
width: 600,
|
66
|
+
height: 400
|
67
|
+
},
|
68
|
+
{
|
69
|
+
href: '#',
|
70
|
+
title: 'Topic',
|
71
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
72
|
+
alt: 'Topic image',
|
73
|
+
width: 600,
|
74
|
+
height: 400
|
75
|
+
},
|
76
|
+
{
|
77
|
+
href: '#',
|
78
|
+
title: 'Topic',
|
79
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
80
|
+
alt: 'Topic image',
|
81
|
+
width: 600,
|
82
|
+
height: 400
|
83
|
+
},
|
84
|
+
{
|
85
|
+
href: '#',
|
86
|
+
title: 'Topic',
|
87
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
88
|
+
alt: 'Topic image',
|
89
|
+
width: 600,
|
90
|
+
height: 400
|
91
|
+
},
|
92
|
+
{
|
93
|
+
href: '#',
|
94
|
+
title: 'Topic',
|
95
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
96
|
+
alt: 'Topic image',
|
97
|
+
width: 600,
|
98
|
+
height: 400
|
99
|
+
},
|
100
|
+
{
|
101
|
+
href: '#',
|
102
|
+
title: 'Topic',
|
103
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
104
|
+
alt: 'Topic image',
|
105
|
+
width: 600,
|
106
|
+
height: 400
|
107
|
+
},
|
108
|
+
{
|
109
|
+
href: '#',
|
110
|
+
title: 'Topic',
|
111
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
112
|
+
alt: 'Topic image',
|
113
|
+
width: 600,
|
114
|
+
height: 400
|
115
|
+
},
|
116
|
+
{
|
117
|
+
href: '#',
|
118
|
+
title: 'Topic',
|
119
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
120
|
+
alt: 'Topic image',
|
121
|
+
width: 600,
|
122
|
+
height: 400
|
123
|
+
},
|
124
|
+
{
|
125
|
+
href: '#',
|
126
|
+
title: 'Topic',
|
127
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
128
|
+
alt: 'Topic image',
|
129
|
+
width: 600,
|
130
|
+
height: 400
|
131
|
+
},
|
132
|
+
{
|
133
|
+
href: '#',
|
134
|
+
title: 'Topic',
|
135
|
+
src: 'https://fakeimg.pl/600x400/e4e4e4/343338?text=Topic%20image&font=museo&font_size=48',
|
136
|
+
alt: 'Topic image',
|
137
|
+
width: 600,
|
138
|
+
height: 400
|
139
|
+
}
|
140
|
+
],
|
141
|
+
columns: 4,
|
142
|
+
columnsMedium: 3,
|
143
|
+
columnsSmall: 2,
|
144
|
+
columnsTiny: 1
|
145
|
+
}) }}
|
146
|
+
</section>
|
149
147
|
{% endblock %}
|
@@ -5,7 +5,6 @@
|
|
5
5
|
{% block stylesheets %}
|
6
6
|
{% include 'govuk-prototype-kit/includes/stylesheets-plugins.njk' ignore missing %}
|
7
7
|
<link rel="stylesheet" type="text/css" href="https://use.typekit.net/hkj3kuz.css">
|
8
|
-
<link rel="stylesheet" type="text/css" href="/public/stylesheets/application.css">
|
9
8
|
{% endblock %}
|
10
9
|
|
11
10
|
{% block bodyEnd %}
|
@@ -14,6 +13,21 @@
|
|
14
13
|
if (window.TNAFrontend && window.TNAFrontend.initAll) {
|
15
14
|
document.addEventListener("DOMContentLoaded", function() {
|
16
15
|
window.TNAFrontend.initAll();
|
16
|
+
var cookies = new TNAFrontend.Cookies()
|
17
|
+
var theme = cookies.get("theme") || "light"
|
18
|
+
var $tnaTemplate = document.querySelector(".tna-template");
|
19
|
+
if (theme === "light") {
|
20
|
+
$tnaTemplate.classList.remove(
|
21
|
+
"tna-template--system-theme",
|
22
|
+
"tna-template--dark-theme",
|
23
|
+
);
|
24
|
+
} else if (theme === "dark") {
|
25
|
+
$tnaTemplate.classList.remove("tna-template--system-theme");
|
26
|
+
$tnaTemplate.classList.add(`tna-template--dark-theme`);
|
27
|
+
} else if (theme === "system") {
|
28
|
+
$tnaTemplate.classList.remove("tna-template--dark-theme");
|
29
|
+
$tnaTemplate.classList.add(`tna-template--system-theme`);
|
30
|
+
}
|
17
31
|
});
|
18
32
|
}
|
19
33
|
</script>
|
@@ -25,31 +25,29 @@
|
|
25
25
|
{% endblock %}
|
26
26
|
|
27
27
|
{% block content %}
|
28
|
-
<
|
29
|
-
<div class="tna-
|
30
|
-
<div class="tna-
|
31
|
-
<
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<p class="tna-large-paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet luctus libero. Cras nec mauris ex. Fusce nisl erat, efficitur sed auctor ornare, varius fermentum arcu.</p>
|
36
|
-
</div>
|
28
|
+
<div class="tna-background-accent tna-!--padding-vertical-xl">
|
29
|
+
<div class="tna-container">
|
30
|
+
<div class="tna-column tna-column--width-2-3 tna-column--width-5-6-medium tna-column--full-small tna-column--full-tiny">
|
31
|
+
<h1 class="tna-heading-xl">
|
32
|
+
{{ pageTitle }}
|
33
|
+
</h1>
|
34
|
+
<p class="tna-large-paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet luctus libero. Cras nec mauris ex. Fusce nisl erat, efficitur sed auctor ornare, varius fermentum arcu.</p>
|
37
35
|
</div>
|
38
36
|
</div>
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</
|
54
|
-
</
|
37
|
+
</div>
|
38
|
+
<nav class="tna-section" aria-label="Child pages">
|
39
|
+
<ul class="tna-container tna-ul tna-ul--plain">
|
40
|
+
{%- for item in range(0, 12) %}
|
41
|
+
<li class="tna-column tna-column--width-1-3 tna-column--width-1-3-medium tna-column--width-1-2-small tna-column--full-tiny tna-!--margin-bottom-l">
|
42
|
+
{{ tnaCard({
|
43
|
+
title: "Item " + (item + 1),
|
44
|
+
headingLevel: 2,
|
45
|
+
headingSize: "m",
|
46
|
+
href: "#",
|
47
|
+
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet luctus libero. Cras nec mauris ex. Fusce nisl erat, efficitur sed auctor ornare, varius fermentum arcu."
|
48
|
+
}) }}
|
49
|
+
</li>
|
50
|
+
{%- endfor %}
|
51
|
+
</ul>
|
52
|
+
</nav>
|
55
53
|
{% endblock %}
|
@@ -22,73 +22,73 @@
|
|
22
22
|
{% endblock %}
|
23
23
|
|
24
24
|
{% block content %}
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
</div>
|
25
|
+
<div class="tna-section">
|
26
|
+
<div class="tna-container">
|
27
|
+
<div class="tna-column tna-column--width-2-3 tna-column--width-5-6-medium tna-column--full-small tna-column--full-tiny">
|
28
|
+
<h1 class="tna-heading-xl">
|
29
|
+
{{ pageTitle }}
|
30
|
+
</h1>
|
31
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris at magna est. Sed vel fermentum arcu. Suspendisse viverra est nec interdum tincidunt. Phasellus dictum, turpis eget iaculis tincidunt, ex metus porttitor turpis, ut pulvinar risus erat quis dui. Nam semper sapien a ipsum congue pharetra.</p>
|
32
|
+
<p>Donec cursus, eros eu egestas aliquam, ipsum ligula suscipit metus, eget maximus turpis nisl vitae ex. Etiam ornare convallis quam a consequat. Etiam sodales aliquet nulla, id rutrum justo accumsan sed.</p>
|
33
|
+
<ul class="tna-ul">
|
34
|
+
<li>Alpha</li>
|
35
|
+
<li>Beta</li>
|
36
|
+
<li>Gamma</li>
|
37
|
+
</ul>
|
38
|
+
<ol class="tna-ol">
|
39
|
+
<li>Alpha</li>
|
40
|
+
<li>Beta</li>
|
41
|
+
<li>Gamma</li>
|
42
|
+
</ol>
|
43
|
+
<dl class="tna-dl">
|
44
|
+
<dt>Alpha</dt>
|
45
|
+
<dd>Lorem ipsum</dd>
|
46
|
+
<dt>Beta</dt>
|
47
|
+
<dd>Lorem ipsum</dd>
|
48
|
+
<dt>Gamma</dt>
|
49
|
+
<dd>Lorem ipsum</dd>
|
50
|
+
<dt>Delta</dt>
|
51
|
+
<dd>Lorem ipsum</dd>
|
52
|
+
<dt>Epsilon</dt>
|
53
|
+
<dd>Lorem ipsum</dd>
|
54
|
+
</dl>
|
55
|
+
<table class="tna-table">
|
56
|
+
<caption class="tna-table__caption">
|
57
|
+
Records added and removed between 2020 and 2022.
|
58
|
+
</caption>
|
59
|
+
<thead class="tna-table__head">
|
60
|
+
<tr class="tna-table__row">
|
61
|
+
<th class="tna-table__header">Year</th>
|
62
|
+
<th class="tna-table__header tna-table__header--numeric">Records added</th>
|
63
|
+
<th class="tna-table__header tna-table__header--numeric">Records removed</th>
|
64
|
+
</tr>
|
65
|
+
</thead>
|
66
|
+
<tbody class="tna-table__body">
|
67
|
+
<tr>
|
68
|
+
<th class="tna-table__header">2020</th>
|
69
|
+
<td class="tna-table__cell tna-table__cell--numeric">123,456</td>
|
70
|
+
<td class="tna-table__cell tna-table__cell--numeric">789</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<th class="tna-table__header">2021</th>
|
74
|
+
<td class="tna-table__cell tna-table__cell--numeric">456,789</td>
|
75
|
+
<td class="tna-table__cell tna-table__cell--numeric">123</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<th class="tna-table__header">2022</th>
|
79
|
+
<td class="tna-table__cell tna-table__cell--numeric">42,424</td>
|
80
|
+
<td class="tna-table__cell tna-table__cell--numeric">1,337</td>
|
81
|
+
</tr>
|
82
|
+
</tbody>
|
83
|
+
<tfoot class="tna-table__foot">
|
84
|
+
<tr>
|
85
|
+
<th class="tna-table__header">Total</th>
|
86
|
+
<td class="tna-table__cell tna-table__cell--numeric">622,669</td>
|
87
|
+
<td class="tna-table__cell tna-table__cell--numeric">2,249</td>
|
88
|
+
</tr>
|
89
|
+
</tfoot>
|
90
|
+
</table>
|
92
91
|
</div>
|
93
92
|
</div>
|
93
|
+
</div>
|
94
94
|
{% endblock %}
|
@@ -124,7 +124,7 @@
|
|
124
124
|
|
125
125
|
@mixin thick-keyline-accent($direction) {
|
126
126
|
@include colour-border(
|
127
|
-
"accent-
|
127
|
+
"accent-border",
|
128
128
|
borders.$thick-border-width,
|
129
129
|
solid,
|
130
130
|
$direction
|
@@ -318,6 +318,7 @@
|
|
318
318
|
%yellow-accent {
|
319
319
|
--accent-background: #{colour.brand-colour("yellow")} !important;
|
320
320
|
--accent-background-light: #{colour.brand-colour("cream")} !important;
|
321
|
+
--accent-border: #{colour.brand-colour("brown")} !important;
|
321
322
|
--accent-font-base: #{colour.brand-colour("black")} !important;
|
322
323
|
--accent-font-dark: #{colour.brand-colour("black")} !important;
|
323
324
|
--accent-font-light: #{colour.brand-colour("black", 0.7)} !important;
|
@@ -361,6 +362,7 @@
|
|
361
362
|
%pink-accent {
|
362
363
|
--accent-background: #{colour.brand-colour("maroon")} !important;
|
363
364
|
--accent-background-light: #{colour.brand-colour("pastel-pink")} !important;
|
365
|
+
--accent-border: #{colour.brand-colour("pink")} !important;
|
364
366
|
--button-accent-background: #{colour.brand-colour("maroon")} !important;
|
365
367
|
}
|
366
368
|
|
@@ -372,6 +374,7 @@
|
|
372
374
|
%orange-accent {
|
373
375
|
--accent-background: #{colour.brand-colour("chestnut")} !important;
|
374
376
|
--accent-background-light: #{colour.brand-colour("pastel-orange")} !important;
|
377
|
+
--accent-border: #{colour.brand-colour("orange")} !important;
|
375
378
|
--button-accent-background: #{colour.brand-colour("chestnut")} !important;
|
376
379
|
}
|
377
380
|
|
@@ -383,6 +386,7 @@
|
|
383
386
|
%green-accent {
|
384
387
|
--accent-background: #{colour.brand-colour("forest")} !important;
|
385
388
|
--accent-background-light: #{colour.brand-colour("pastel-green")} !important;
|
389
|
+
--accent-border: #{colour.brand-colour("green")} !important;
|
386
390
|
--button-accent-background: #{colour.brand-colour("forest")} !important;
|
387
391
|
}
|
388
392
|
|
@@ -394,6 +398,7 @@
|
|
394
398
|
%blue-accent {
|
395
399
|
--accent-background: #{colour.brand-colour("navy")} !important;
|
396
400
|
--accent-background-light: #{colour.brand-colour("pastel-blue")} !important;
|
401
|
+
--accent-border: #{colour.brand-colour("blue")} !important;
|
397
402
|
--button-accent-background: #{colour.brand-colour("navy")} !important;
|
398
403
|
}
|
399
404
|
|
@@ -83,8 +83,9 @@ $colour-palette-default: (
|
|
83
83
|
"contrast-button-background": brand-colour("white"),
|
84
84
|
"contrast-button-hover-text": brand-colour("white"),
|
85
85
|
"contrast-button-hover-background": brand-colour("black"),
|
86
|
-
"accent-background":
|
86
|
+
"accent-background": #afb6b5,
|
87
87
|
"accent-background-light": #ededed,
|
88
|
+
"accent-border": brand-colour("grey"),
|
88
89
|
"accent-font-base": brand-colour("black"),
|
89
90
|
"accent-font-dark": brand-colour("black"),
|
90
91
|
"accent-font-light": brand-colour("black", 0.7),
|