govuk_publishing_components 61.1.1 → 61.1.2
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/images/govuk_publishing_components/draft-watermark.png +0 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +7 -0
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 869c49b5907a5d053b4e0322c0655b49f3bea3b8e256edec51480aedddbec809
|
4
|
+
data.tar.gz: db4734d7a920ab7f778ab6aac9318f01bbac14ddd6bc7af13be4d00c3ed2b861
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45a11f4dee2a31598a64669e23d5c93c1bfd5f061e7db809ae21b52c3cb2a5a4ee1285fb1545950fc1ca923911c9c02f21cd8e35bf7507d3e0d53f0d668324e7
|
7
|
+
data.tar.gz: 2227822f9fbd3d105765f0bd04c8d64d0971de7fda6f6230ebf8f3024dbfd328ddfa6f5ac93694d684b11262a13bdb12bbd7100e87fda079e454a8728738c12d
|
Binary file
|
@@ -4,6 +4,13 @@
|
|
4
4
|
font-family: $govuk-font-family;
|
5
5
|
}
|
6
6
|
|
7
|
+
.gem-c-layout-for-public--draft {
|
8
|
+
background-image: url("govuk_publishing_components/draft-watermark.png");
|
9
|
+
background-repeat: repeat-y;
|
10
|
+
background-position: 50% 0;
|
11
|
+
background-size: contain;
|
12
|
+
}
|
13
|
+
|
7
14
|
.gem-c-layout-for-public-account-menu {
|
8
15
|
margin: 0 0 govuk-spacing(6) 0;
|
9
16
|
padding: 0;
|
@@ -27,7 +27,7 @@
|
|
27
27
|
omit_account_phase_banner ||= false
|
28
28
|
|
29
29
|
body_css_classes = %w(gem-c-layout-for-public govuk-template__body)
|
30
|
-
body_css_classes << "draft" if draft_watermark
|
30
|
+
body_css_classes << "gem-c-layout-for-public--draft" if draft_watermark
|
31
31
|
body_css_classes << "global-banner-present" if global_banner.present?
|
32
32
|
-%>
|
33
33
|
<!DOCTYPE html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 61.1.
|
4
|
+
version: 61.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
@@ -427,6 +427,7 @@ files:
|
|
427
427
|
- app/assets/images/govuk_publishing_components/crests/ukaea_crest_18px_x2.png
|
428
428
|
- app/assets/images/govuk_publishing_components/crests/ukho_18px_x2.png
|
429
429
|
- app/assets/images/govuk_publishing_components/crests/wales_crest_18px_x2.png
|
430
|
+
- app/assets/images/govuk_publishing_components/draft-watermark.png
|
430
431
|
- app/assets/images/govuk_publishing_components/favicon-development.png
|
431
432
|
- app/assets/images/govuk_publishing_components/favicon-example.png
|
432
433
|
- app/assets/images/govuk_publishing_components/favicon-integration.png
|