govuk_publishing_components 17.6.0 → 17.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +13 -3
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/accessible-autocomplete/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 326e0dc7a825b9bb97c66d22745196ef226d0d69d6ce6a615359b77a2cda2018
|
4
|
+
data.tar.gz: e8e284660bf9f21af02e2e49f2e361cebdd81a3242f3bb10f893b4d1875b5468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c044df17483b9628fb9c3ded6f7cf4f94953fc6dc37d5a78a0dd11989b1b3c5b9c913e0d359324d0fd1bfcb2d3a0fc5bcc5687accd457e6db8ba865ec26519
|
7
|
+
data.tar.gz: ed146dd8af8b4dfad569bc10c079881104fe3a81afe9660e902f29b1079b79833b96832bc7d5550253ef6830ac77c28b3a3531efec245f0194424c50fae5158f
|
@@ -55,14 +55,16 @@ $govuk-cookie-banner-text-green: #00823b;
|
|
55
55
|
width: 100%;
|
56
56
|
|
57
57
|
@include govuk-media-query($from: mobile, $until: desktop) {
|
58
|
-
width: 49%;
|
59
|
-
|
60
58
|
&.gem-c-cookie-banner__button-accept {
|
61
59
|
float: left;
|
60
|
+
width: 49%;
|
62
61
|
}
|
63
62
|
|
64
63
|
&.gem-c-cookie-banner__button-settings {
|
65
|
-
|
64
|
+
.js-enabled & {
|
65
|
+
float: right;
|
66
|
+
width: 49%;
|
67
|
+
}
|
66
68
|
}
|
67
69
|
}
|
68
70
|
|
@@ -75,6 +77,14 @@ $govuk-cookie-banner-text-green: #00823b;
|
|
75
77
|
}
|
76
78
|
}
|
77
79
|
|
80
|
+
.gem-c-cookie-banner__button-accept {
|
81
|
+
display: none;
|
82
|
+
|
83
|
+
.js-enabled & {
|
84
|
+
display: inline-block;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
78
88
|
.gem-c-cookie-banner__confirmation {
|
79
89
|
display: none;
|
80
90
|
position: relative;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
message = cookie_banner_helper.message
|
10
10
|
%>
|
11
11
|
|
12
|
-
<div id="<%= id %>" class="<%= cookie_banner_class %>" data-module="cookie-banner"
|
12
|
+
<div id="<%= id %>" class="<%= cookie_banner_class %>" data-module="cookie-banner" role="region" aria-label="cookie banner">
|
13
13
|
<div class="gem-c-cookie-banner__wrapper govuk-width-container">
|
14
14
|
<p class="gem-c-cookie-banner__message"><%= message %></p>
|
15
15
|
<% if new_cookie_banner %>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"/"
|
50
50
|
],
|
51
51
|
"_resolved": "git://github.com/alphagov/accessible-autocomplete.git#3523dd9fffc70cbd9f6f555f75863c33a709f49e",
|
52
|
-
"_shasum": "
|
52
|
+
"_shasum": "a8d82fdf44ee260077b8fc108db07667d0e8f5b9",
|
53
53
|
"_shrinkwrap": null,
|
54
54
|
"_spec": "accessible-autocomplete@git://github.com/alphagov/accessible-autocomplete.git#add-multiselect-support",
|
55
55
|
"_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 17.6.
|
4
|
+
version: 17.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|