govuk_template 0.19.2 → 0.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 135e1655393d4e2fb6bd724646db41094c4f8f1c
4
- data.tar.gz: a9486a35f1ec71d56445c4c3ac76834178f0d54e
3
+ metadata.gz: 755219114d6365c1413434d67af754dae4f2411a
4
+ data.tar.gz: 4ebe845df39eb3e1cccc851fd6dfa99fdb08eff9
5
5
  SHA512:
6
- metadata.gz: e12664cb97f1b4fd6cdd926a6c25c93759b017b04158ab2bdd3b3414aa99eb2e2d9727ae8cdad72063ad13403f3f1a8d13a424011c7cb458c59bc964180a4d55
7
- data.tar.gz: 73221ccc676ebbb35d99eff6d470e233d6c309669c11794760ed33162524797fd30183d7be7d7e38505f168af52f4a0a59b45de8575fefcb99b79abb3b9d9a09
6
+ metadata.gz: 091f03a4ea83065fcbeede1ee9a0d0dc57b00743aca4e7ab4edb63eb274f586a727987f102996028b3e44611181b84373a750466514518b883f0f4a9833e0578
7
+ data.tar.gz: 7aa8f97ceb7bff898f3948bf32a08f3736acf5ef5d814ac529037a1d7c873a0b3f7d6467d05968d4da97963341fd25080830db81febc340b2fa4527b8f53e18d
@@ -92,7 +92,8 @@ fieldset {
92
92
  padding: 0; }
93
93
 
94
94
  a:link {
95
- color: #005ea5; }
95
+ color: #005ea5;
96
+ text-decoration-skip: ink; }
96
97
 
97
98
  a:visited {
98
99
  color: #4c2c92; }
@@ -217,6 +218,10 @@ a:focus {
217
218
  background-color: #ffbf47;
218
219
  outline: 3px solid #ffbf47; }
219
220
 
221
+ /* Make links slightly darker when focused to improve contrast. */
222
+ a:link:focus {
223
+ color: #005798; }
224
+
220
225
  /* Make skiplinks visible when they are tabbed to */
221
226
  .skiplink {
222
227
  position: absolute;
@@ -340,6 +345,8 @@ button:focus {
340
345
  text-decoration: none; }
341
346
  #global-header .header-proposition a#proposition-name:hover {
342
347
  text-decoration: underline; }
348
+ #global-header .header-proposition a#proposition-name:focus {
349
+ color: #0b0c0c; }
343
350
  #global-header .header-proposition a.menu {
344
351
  font-family: "nta", Arial, sans-serif;
345
352
  font-weight: 400;
@@ -92,7 +92,8 @@ fieldset {
92
92
  padding: 0; }
93
93
 
94
94
  a:link {
95
- color: #005ea5; }
95
+ color: #005ea5;
96
+ text-decoration-skip: ink; }
96
97
 
97
98
  a:visited {
98
99
  color: #4c2c92; }
@@ -217,6 +218,10 @@ a:focus {
217
218
  background-color: #ffbf47;
218
219
  outline: 3px solid #ffbf47; }
219
220
 
221
+ /* Make links slightly darker when focused to improve contrast. */
222
+ a:link:focus {
223
+ color: #005798; }
224
+
220
225
  /* Make skiplinks visible when they are tabbed to */
221
226
  .skiplink {
222
227
  position: absolute;
@@ -340,6 +345,8 @@ button:focus {
340
345
  text-decoration: none; }
341
346
  #global-header .header-proposition a#proposition-name:hover {
342
347
  text-decoration: underline; }
348
+ #global-header .header-proposition a#proposition-name:focus {
349
+ color: #0b0c0c; }
343
350
  #global-header .header-proposition a.menu {
344
351
  font-family: "nta", Arial, sans-serif;
345
352
  font-weight: 400;
@@ -86,7 +86,8 @@ fieldset {
86
86
  padding: 0; }
87
87
 
88
88
  a:link {
89
- color: #005ea5; }
89
+ color: #005ea5;
90
+ text-decoration-skip: ink; }
90
91
 
91
92
  a:visited {
92
93
  color: #4c2c92; }
@@ -208,6 +209,10 @@ a:focus {
208
209
  background-color: #ffbf47;
209
210
  outline: 3px solid #ffbf47; }
210
211
 
212
+ /* Make links slightly darker when focused to improve contrast. */
213
+ a:link:focus {
214
+ color: #005798; }
215
+
211
216
  /* Make skiplinks visible when they are tabbed to */
212
217
  .skiplink {
213
218
  position: absolute;
@@ -326,6 +331,8 @@ button:focus {
326
331
  text-decoration: none; }
327
332
  #global-header .header-proposition a#proposition-name:hover {
328
333
  text-decoration: underline; }
334
+ #global-header .header-proposition a#proposition-name:focus {
335
+ color: #0b0c0c; }
329
336
  #global-header .header-proposition a.menu {
330
337
  font-family: "nta", Arial, sans-serif;
331
338
  font-weight: 400;
@@ -89,7 +89,8 @@ fieldset {
89
89
  padding: 0; }
90
90
 
91
91
  a:link {
92
- color: #005ea5; }
92
+ color: #005ea5;
93
+ text-decoration-skip: ink; }
93
94
 
94
95
  a:visited {
95
96
  color: #4c2c92; }
@@ -211,6 +212,10 @@ a:focus {
211
212
  background-color: #ffbf47;
212
213
  outline: 3px solid #ffbf47; }
213
214
 
215
+ /* Make links slightly darker when focused to improve contrast. */
216
+ a:link:focus {
217
+ color: #005798; }
218
+
214
219
  /* Make skiplinks visible when they are tabbed to */
215
220
  .skiplink {
216
221
  position: absolute;
@@ -337,6 +342,8 @@ button:focus {
337
342
  line-height: 1.25; } }
338
343
  #global-header .header-proposition a#proposition-name:hover {
339
344
  text-decoration: underline; }
345
+ #global-header .header-proposition a#proposition-name:focus {
346
+ color: #0b0c0c; }
340
347
  #global-header .header-proposition a.menu {
341
348
  font-family: "nta", Arial, sans-serif;
342
349
  font-weight: 400;
@@ -17,12 +17,18 @@
17
17
  <!--[if lt IE 9]><script src="<%= asset_path "ie.js" %>"></script><![endif]-->
18
18
 
19
19
  <link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>" type="image/x-icon" />
20
+ <%# the colour used for mask-icon is the standard palette $black from
21
+ https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/colours/_palette.scss %>
20
22
  <link rel="mask-icon" href="<%= asset_path 'gov.uk_logotype_crown.svg' %>" color="#0b0c0c">
21
23
  <link rel="apple-touch-icon-precomposed" sizes="152x152" href="<%= asset_path "apple-touch-icon-152x152.png" %>">
22
24
  <link rel="apple-touch-icon-precomposed" sizes="120x120" href="<%= asset_path "apple-touch-icon-120x120.png" %>">
23
25
  <link rel="apple-touch-icon-precomposed" sizes="76x76" href="<%= asset_path "apple-touch-icon-76x76.png" %>">
24
26
  <link rel="apple-touch-icon-precomposed" href="<%= asset_path "apple-touch-icon-60x60.png" %>">
25
27
 
28
+ <%# the colour used for theme-color is the standard palette $black from
29
+ https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/colours/_palette.scss %>
30
+ <meta name="theme-color" content="#0b0c0c" />
31
+
26
32
  <meta name="viewport" content="width=device-width, initial-scale=1">
27
33
  <meta property="og:image" content="<%= asset_path "opengraph-image.png" %>">
28
34
 
@@ -1,3 +1,3 @@
1
1
  module GovukTemplate
2
- VERSION = "0.19.2"
2
+ VERSION = "0.20.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.2
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Tomlins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-09 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 5.0.0
75
+ version: 5.2.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 5.0.0
82
+ version: 5.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: gem_publisher
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  version: '0'
242
242
  requirements: []
243
243
  rubyforge_project:
244
- rubygems_version: 2.4.5.1
244
+ rubygems_version: 2.4.5
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: Rails engine supplying the GOV.UK header/footer template