govuk_publishing_components 24.9.4 → 24.11.0
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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/pii.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +6 -248
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +2 -3
- data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +1 -0
- data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +142 -104
- data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/components/show-password.js +12 -0
- data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +2 -2
- data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +18 -0
- data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +0 -11
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +34 -34
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +15 -18
- data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +4 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +20 -20
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss +27 -24
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss +19 -16
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_fraction.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +30 -27
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +26 -21
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +19 -16
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_summary.scss +21 -18
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_px-to-em.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_attachment.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_back-link.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_feedback.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-footer.scss +2 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-header.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_metadata.scss +2 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_search.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_share-links.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_skip-link.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_subscription-links.scss +2 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_translation-nav.scss +2 -3
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_back_link.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_button.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_feedback.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +7 -7
- data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +9 -8
- data/app/views/govuk_publishing_components/components/_notice.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_phase_banner.html.erb +1 -5
- data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_print_link.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_radio.html.erb +6 -11
- data/app/views/govuk_publishing_components/components/_search.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_show_password.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_skip_link.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +6 -6
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/feedback.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/phase_banner.yml +2 -2
- data/app/views/govuk_publishing_components/components/docs/show_password.yml +10 -0
- data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +4 -4
- data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +2 -2
- data/config/locales/ar.yml +123 -0
- data/config/locales/az.yml +123 -0
- data/config/locales/be.yml +123 -0
- data/config/locales/bg.yml +123 -0
- data/config/locales/bn.yml +123 -0
- data/config/locales/cs.yml +123 -0
- data/config/locales/cy.yml +115 -6
- data/config/locales/da.yml +123 -0
- data/config/locales/de.yml +123 -0
- data/config/locales/dr.yml +123 -0
- data/config/locales/el.yml +123 -0
- data/config/locales/en.yml +111 -103
- data/config/locales/es-419.yml +123 -0
- data/config/locales/es.yml +123 -0
- data/config/locales/et.yml +120 -0
- data/config/locales/fa.yml +123 -0
- data/config/locales/fi.yml +123 -0
- data/config/locales/fr.yml +120 -0
- data/config/locales/gd.yml +123 -0
- data/config/locales/gu.yml +123 -0
- data/config/locales/he.yml +123 -0
- data/config/locales/hi.yml +123 -0
- data/config/locales/hr.yml +123 -0
- data/config/locales/hu.yml +123 -0
- data/config/locales/hy.yml +123 -0
- data/config/locales/id.yml +123 -0
- data/config/locales/is.yml +123 -0
- data/config/locales/it.yml +123 -0
- data/config/locales/ja.yml +123 -0
- data/config/locales/ka.yml +123 -0
- data/config/locales/kk.yml +123 -0
- data/config/locales/ko.yml +123 -0
- data/config/locales/lt.yml +123 -0
- data/config/locales/lv.yml +123 -0
- data/config/locales/ms.yml +123 -0
- data/config/locales/mt.yml +123 -0
- data/config/locales/nl.yml +123 -0
- data/config/locales/no.yml +124 -1
- data/config/locales/pa-pk.yml +123 -0
- data/config/locales/pa.yml +123 -0
- data/config/locales/pl.yml +123 -0
- data/config/locales/ps.yml +123 -0
- data/config/locales/pt.yml +123 -0
- data/config/locales/ro.yml +123 -0
- data/config/locales/ru.yml +123 -0
- data/config/locales/si.yml +123 -0
- data/config/locales/sk.yml +123 -0
- data/config/locales/sl.yml +123 -0
- data/config/locales/so.yml +123 -0
- data/config/locales/sq.yml +123 -0
- data/config/locales/sr.yml +123 -0
- data/config/locales/sv.yml +123 -0
- data/config/locales/sw.yml +123 -0
- data/config/locales/ta.yml +123 -0
- data/config/locales/th.yml +123 -0
- data/config/locales/tk.yml +123 -0
- data/config/locales/tr.yml +123 -0
- data/config/locales/uk.yml +123 -0
- data/config/locales/ur.yml +123 -0
- data/config/locales/uz.yml +123 -0
- data/config/locales/vi.yml +123 -0
- data/config/locales/zh-hk.yml +123 -0
- data/config/locales/zh-tw.yml +123 -0
- data/config/locales/zh.yml +123 -0
- data/lib/govuk_publishing_components/presenters/breadcrumb_selector.rb +5 -0
- data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_taxons.rb +1 -2
- data/lib/govuk_publishing_components/presenters/content_item.rb +4 -0
- data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +4 -0
- data/lib/govuk_publishing_components/presenters/machine_readable/page.rb +4 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +7 -16
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -15
- data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +3 -3
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/README.md +15 -0
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +40 -22
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/macro-options.json +6 -6
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/template.njk +15 -5
- data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +2 -2
- data/node_modules/govuk-frontend/govuk/components/details/_index.scss +5 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +13 -14
- data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +14 -19
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +39 -21
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +3 -3
- data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +1 -6
- data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +10 -0
- data/node_modules/govuk-frontend/govuk/core/_links.scss +8 -0
- data/node_modules/govuk-frontend/govuk/helpers/_links.scss +153 -38
- data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_links.scss +62 -0
- data/node_modules/govuk-frontend/package.json +1 -1
- metadata +20 -4
- data/app/assets/javascripts/component_guide/visual-regression.js +0 -71
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
// stylelint-disable max-nesting-depth
|
|
9
9
|
|
|
10
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
10
11
|
.gem-c-govspeak {
|
|
11
|
-
|
|
12
12
|
// Scope attachment and attachment-link component styles to gem-c-govspeak
|
|
13
13
|
@import "../attachment-link";
|
|
14
14
|
@import "../attachment";
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
// stylelint-disable max-nesting-depth
|
|
9
9
|
|
|
10
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
10
11
|
.gem-c-govspeak {
|
|
11
12
|
// .address is used by the `$A` markdown pattern
|
|
12
13
|
.address,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// - alphagov/whitehall: ✔︎
|
|
6
6
|
// - alphagov/govspeak: ✔︎
|
|
7
7
|
|
|
8
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
8
9
|
.gem-c-govspeak {
|
|
9
10
|
.example {
|
|
10
11
|
border-left: 10px solid govuk-colour("mid-grey", $legacy: "grey-3");
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
// stylelint-disable max-nesting-depth
|
|
13
13
|
|
|
14
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
14
15
|
.gem-c-govspeak {
|
|
15
16
|
.footnotes {
|
|
16
17
|
border-top: 1px solid govuk-colour("mid-grey", $legacy: "grey-2");
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
1
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
2
|
+
.gem-c-govspeak {
|
|
3
|
+
.form-download {
|
|
4
|
+
padding: .25em 0;
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
@include govuk-media-query($until: tablet) {
|
|
7
|
+
margin: 1em 0 1.5em;
|
|
8
|
+
}
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
p {
|
|
11
|
+
padding-right: 3em;
|
|
12
|
+
}
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
a {
|
|
15
|
+
display: block;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
background-image: image-url("govuk_publishing_components/icon-file-download.svg");
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
background-size: 40px 40px;
|
|
20
|
+
min-height: 2.5em;
|
|
21
|
+
padding: 0 0 0 50px;
|
|
22
|
+
}
|
|
20
23
|
}
|
|
21
24
|
}
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
CHANGED
|
@@ -3,41 +3,44 @@
|
|
|
3
3
|
$highlight-answer-bg-color: govuk-colour("green");
|
|
4
4
|
$highlight-answer-color: govuk-colour("white");
|
|
5
5
|
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
padding: 1.75em .75em 1.25em;
|
|
11
|
-
margin: 0 -1em 1em;
|
|
12
|
-
|
|
13
|
-
p {
|
|
14
|
-
@include govuk-font($size: 24, $weight: bold);
|
|
6
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
7
|
+
.gem-c-govspeak {
|
|
8
|
+
.highlight-answer {
|
|
9
|
+
background-color: $highlight-answer-bg-color;
|
|
15
10
|
color: $highlight-answer-color;
|
|
11
|
+
text-align: center;
|
|
12
|
+
padding: 1.75em .75em 1.25em;
|
|
13
|
+
margin: 0 -1em 1em;
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
@include govuk-font($size:
|
|
19
|
-
display: block;
|
|
20
|
-
padding-top: .1em;
|
|
15
|
+
p {
|
|
16
|
+
@include govuk-font($size: 24, $weight: bold);
|
|
21
17
|
color: $highlight-answer-color;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
18
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
em {
|
|
20
|
+
@include govuk-font($size: 80, $weight: bold);
|
|
21
|
+
display: block;
|
|
22
|
+
padding-top: .1em;
|
|
23
|
+
color: $highlight-answer-color;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
p:last-child {
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
}
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
@include govuk-media-query($until: tablet) {
|
|
32
|
+
margin: 0 0 1em;
|
|
33
|
+
@include govuk-font($size: 48);
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
p {
|
|
38
36
|
font-size: 1em;
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
line-height: inherit;
|
|
38
|
+
|
|
39
|
+
em {
|
|
40
|
+
font-size: 1em;
|
|
41
|
+
padding-top: 0;
|
|
42
|
+
display: inline;
|
|
43
|
+
}
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// - alphagov/whitehall: ✔︎
|
|
7
7
|
// - alphagov/govspeak: ✔︎
|
|
8
8
|
|
|
9
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
9
10
|
.gem-c-govspeak {
|
|
10
11
|
.info-notice {
|
|
11
12
|
border-left: 10px solid govuk-colour("mid-grey", $legacy: "grey-3");
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// - alphagov/whitehall: ✔︎
|
|
6
6
|
// - alphagov/govspeak: ✔︎
|
|
7
7
|
|
|
8
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
8
9
|
.gem-c-govspeak {
|
|
9
10
|
.legislative-list {
|
|
10
11
|
list-style: none;
|
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
// stylelint-disable max-nesting-depth
|
|
2
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
3
|
+
.gem-c-govspeak {
|
|
4
|
+
.place {
|
|
5
|
+
margin: 1.5em 0;
|
|
6
|
+
border-bottom: solid 1px govuk-colour("mid-grey", $legacy: "grey-2");
|
|
7
|
+
padding-bottom: 1.5em;
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
.address {
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
width: auto;
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
.url {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
text-overflow: ellipsis;
|
|
19
|
+
}
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
.additional-information {
|
|
22
|
+
@include govuk-font($size: 16);
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
p {
|
|
25
|
+
margin: .25em 0;
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
|
-
}
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
@include govuk-media-query($until: tablet) {
|
|
30
|
+
margin: .75em 0;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
}
|
|
34
|
+
// stylelint-enable max-nesting-depth
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// - alphagov/whitehall: ✔︎
|
|
6
6
|
// - alphagov/govspeak: ✔︎
|
|
7
7
|
|
|
8
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
8
9
|
.gem-c-govspeak {
|
|
9
10
|
.stat-headline {
|
|
10
11
|
margin-bottom: govuk-spacing(3);
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
> li {
|
|
7
|
-
background-position: 0 .87em;
|
|
8
|
-
background-repeat: no-repeat;
|
|
9
|
-
list-style-type: decimal;
|
|
1
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
2
|
+
.gem-c-govspeak {
|
|
3
|
+
.steps {
|
|
4
|
+
padding-left: 0;
|
|
10
5
|
margin-left: 0;
|
|
11
|
-
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
|
|
8
|
+
> li {
|
|
9
|
+
background-position: 0 .87em;
|
|
10
|
+
background-repeat: no-repeat;
|
|
11
|
+
list-style-type: decimal;
|
|
12
|
+
margin-left: 0;
|
|
13
|
+
padding: .75em 0 .75em 2.5em;
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
@for $i from 1 through 30 {
|
|
16
|
+
&:nth-child(#{$i}) {
|
|
17
|
+
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 250' preserveAspectRatio='xMinYMin meet'%3E%3Cg%3E%3Ccircle r='50%25' cx='50%25' cy='50%25' class='circle-back'%3E%3C/circle%3E%3Ctext x='50%25' y='50%25' text-anchor='middle' dy='0.3em' font-family='nta,arial,sans-serif' font-size='8rem' fill='%23ffffff'%3E#{$i}%3C/text%3E%3C/g%3E%3C/svg%3E ");
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
background-position: .2em .7em;
|
|
20
|
+
background-size: 1.4em 1.4em;
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
color: $govuk-text-colour;
|
|
5
|
-
|
|
6
|
-
p {
|
|
7
|
-
@include govuk-font($size: 19);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@include govuk-media-query($until: tablet) {
|
|
1
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
2
|
+
.gem-c-govspeak {
|
|
3
|
+
.summary {
|
|
11
4
|
margin: 0 0 2em;
|
|
12
5
|
padding: 0;
|
|
13
|
-
|
|
6
|
+
color: $govuk-text-colour;
|
|
14
7
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
p {
|
|
9
|
+
@include govuk-font($size: 19);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@include govuk-media-query($until: tablet) {
|
|
13
|
+
margin: 0 0 2em;
|
|
14
|
+
padding: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
p,
|
|
18
|
+
h2 {
|
|
19
|
+
border: 0;
|
|
20
|
+
margin: 0 .75em 0 0;
|
|
21
|
+
}
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
h2 {
|
|
24
|
+
line-height: 1.35em;
|
|
25
|
+
}
|
|
23
26
|
}
|
|
24
27
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Convert pixels to em
|
|
2
2
|
@function em($value, $gem-context-font-size) {
|
|
3
|
+
@warn "This function is deprecated and will be removed in the next major version release - use GOV.UK Frontend's `govuk-em()` instead.";
|
|
4
|
+
|
|
3
5
|
@if (unitless($value)) {
|
|
4
6
|
$value: $value * 1px;
|
|
5
7
|
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
// Left this as an empty file as opposed to deleting it because it is @imported in application print stylesheets for example here:
|
|
2
|
+
// https://github.com/alphagov/government-frontend/blob/7a0b068a0faa1da07f58acf0b1d3a0aa3e1daf56/app/assets/stylesheets/print.scss#L2
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
// Left this as an empty file as opposed to deleting it because it is @imported in application print stylesheets for example here:
|
|
2
|
+
// https://github.com/alphagov/govuk-account-manager-prototype/blob/7858b55afcddc2f855d909abd051838d95f21f13/app/assets/stylesheets/print.scss#L2
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
// Left this as an empty file as opposed to deleting it because it is @imported in application print stylesheets for example here:
|
|
2
|
+
// https://github.com/alphagov/government-frontend/blob/7a0b068a0faa1da07f58acf0b1d3a0aa3e1daf56/app/assets/stylesheets/print.scss#L6
|
data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-footer.scss
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.govuk-footer__section {
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
// Left this as an empty file as opposed to deleting it because it is @imported in application print stylesheets for example here:
|
|
2
|
+
// https://github.com/alphagov/govuk-account-manager-prototype/blob/7858b55afcddc2f855d909abd051838d95f21f13/app/assets/stylesheets/print.scss#L5
|