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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8651dd059443fe10e5427099eb551d6d38e766671e3b85da2965a2d8d88fa210
4
- data.tar.gz: 10f295771ea3de1c3d02613ad7c9308efe1bc452ababa999c284ca0a18c47f2c
3
+ metadata.gz: 326e0dc7a825b9bb97c66d22745196ef226d0d69d6ce6a615359b77a2cda2018
4
+ data.tar.gz: e8e284660bf9f21af02e2e49f2e361cebdd81a3242f3bb10f893b4d1875b5468
5
5
  SHA512:
6
- metadata.gz: b1c4286f50885f7da74dec49930a7c3562b156ddf0a71dd3e634b6e87c8af51fe7bb757ee43f1dec640ec16db8bb0f6e267c819e8140715c5b77f7052c032ae0
7
- data.tar.gz: b7aa46cd63fa06f2a50f927d0a4941dbd1dbfe78e70075cbffea5f0b4880345a9bbf009e5999c30bffd519390d1d16bfc9ca85494ea2099dc8a15053e623b359
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
- float: right;
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" aria-live="polite" role="region" aria-label="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 %>
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '17.6.0'.freeze
2
+ VERSION = '17.6.1'.freeze
3
3
  end
@@ -49,7 +49,7 @@
49
49
  "/"
50
50
  ],
51
51
  "_resolved": "git://github.com/alphagov/accessible-autocomplete.git#3523dd9fffc70cbd9f6f555f75863c33a709f49e",
52
- "_shasum": "709a9f211b61c5c83da1c6f4e8c904ef30803db3",
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.0
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-24 00:00:00.000000000 Z
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