dxw_govuk_frontend_rails 3.1.0 → 3.2.0

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: cbcd2ddb17bdc8d387895ac9a4ddeb7dcd25239b7c1090ce8b58d47af168c07a
4
- data.tar.gz: c2993f4da0ed20359c196a5149d208241acce40338ffffedc229d729d5b97cdb
3
+ metadata.gz: 61748f1e13e72d91ec0f332ab57f1aed6576a0aefd522c7c302778a8618f74e5
4
+ data.tar.gz: 2ba98295582b3a676de197ee93e0625542579925020a169c672802eee641be52
5
5
  SHA512:
6
- metadata.gz: 5fb847feb82101b5a189176d65ce95cf8bfaed0cfb6db18fa161080b76c9003a1e7ae2471014cacb591522fd0a9e9a6b2c1ae0cc30ff052035370204d0bc9f46
7
- data.tar.gz: 4f96f18d8e39a95bb7b2a187d944eb3b33527f3d0f7a18fdde0d2f74399c9f920af932fe7ba9696ba9abea08cb4f1b05d684dbe80a13a8d9ba32ed8f364f8c62
6
+ metadata.gz: 9b59f87fef5d49b8519d8bf8f6fbd4899b8fb4c602fbe7ebf4a934f73e70e0addb429edc341c66ce94734716bee9637a70be02bb05be5f3d4b23407294d6bb97
7
+ data.tar.gz: 362e8387f34f0995a5d7bb00d03fcb0fb2f8a71f03219ae9b42df429cfd9a1e19a6ebdfae9e337a7d7dd6e3b7a1b33f94b75d3057d08535aa761dc601136218d
@@ -3,11 +3,11 @@ name: Ruby Gem
3
3
  on:
4
4
  push:
5
5
  tags:
6
- - '*'
6
+ - "*"
7
7
 
8
8
  jobs:
9
9
  build:
10
- name: Build + Publish
10
+ name: Publish to Rubygems
11
11
  runs-on: ubuntu-latest
12
12
 
13
13
  steps:
@@ -17,7 +17,7 @@ jobs:
17
17
  with:
18
18
  version: 2.6.x
19
19
 
20
- - name: Compile sass
20
+ - name: Check sass compiles
21
21
  run: |
22
22
  npx node-sass ./vendor/assets/stylesheets/govuk-frontend-rails.scss /tmp/govuk-frontend-rails.css
23
23
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dxw_govuk_frontend_rails (3.1.0)
4
+ dxw_govuk_frontend_rails (3.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module DxwGovukFrontendRails
2
- VERSION = "3.1.0"
2
+ VERSION = "3.2.0"
3
3
  end
@@ -5,9 +5,9 @@
5
5
  "requires": true,
6
6
  "dependencies": {
7
7
  "govuk-frontend": {
8
- "version": "3.1.0",
9
- "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.1.0.tgz",
10
- "integrity": "sha512-ozyG6ulmawzg3rsf9Efxcgj81mk4yzea3tfl0hgmXWILGC0/uEGj6A+g9pJ2ETgk78rgNlRLXDv0WvlaHd/LnA=="
8
+ "version": "3.2.0",
9
+ "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.2.0.tgz",
10
+ "integrity": "sha512-OtJozAGMEKFu195fNVVrQHUX7+znCkA4cXDKs4lgFlRQOTzN1ogT9010GBARuoTwbeL0VqQ8nerZYjVxH/wafA=="
11
11
  }
12
12
  }
13
13
  }
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "homepage": "https://github.com/mec/dxw_govuk_frontend_rails#readme",
23
23
  "dependencies": {
24
- "govuk-frontend": "3.1.0"
24
+ "govuk-frontend": "3.2.0"
25
25
  }
26
26
  }
@@ -98,6 +98,17 @@
98
98
  box-shadow: inset 0 0 0 1px $govuk-focus-colour;
99
99
  }
100
100
 
101
+ // alphagov/govuk_template includes a specific a:link:focus selector
102
+ // designed to make unvisited links a slightly darker blue when focussed, so
103
+ // we need to override the text colour for that combination of selectors so
104
+ // so that unvisited links styled as buttons do not end up with dark blue
105
+ // text when focussed.
106
+ @include govuk-compatibility(govuk_template) {
107
+ &:link:focus {
108
+ color: $govuk-button-text-colour;
109
+ }
110
+ }
111
+
101
112
  &:focus:not(:active):not(:hover) {
102
113
  border-color: $govuk-focus-colour;
103
114
  color: $govuk-focus-text-colour;
@@ -32,8 +32,6 @@
32
32
  max-width: 100%; // 1
33
33
  margin-bottom: govuk-spacing(2);
34
34
  padding: 0;
35
- // Hack to let legends or elements within legends have margins in webkit browsers
36
- overflow: hidden;
37
35
 
38
36
  white-space: normal; // 1
39
37
  }
@@ -15,26 +15,28 @@
15
15
  /// @access private
16
16
 
17
17
  @mixin _govuk-font-face-gds-transport {
18
- @include govuk-exports("govuk/helpers/font-faces") {
19
- @at-root {
20
- /*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */
18
+ @include govuk-not-ie8 { // In IE8, which cannot render WOFF format, we fall back to system fonts
19
+ @include govuk-exports("govuk/helpers/font-faces") {
20
+ @at-root {
21
+ /*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */
21
22
 
22
- @font-face {
23
- font-family: "GDS Transport";
24
- src: govuk-font-url("light-94a07e06a1-v2.woff2") format("woff2"),
25
- govuk-font-url("light-f591b13f7d-v2.woff") format("woff");
26
- font-weight: normal;
27
- font-style: normal;
28
- font-display: fallback;
29
- }
23
+ @font-face {
24
+ font-family: "GDS Transport";
25
+ src: govuk-font-url("light-94a07e06a1-v2.woff2") format("woff2"),
26
+ govuk-font-url("light-f591b13f7d-v2.woff") format("woff");
27
+ font-weight: normal;
28
+ font-style: normal;
29
+ font-display: fallback;
30
+ }
30
31
 
31
- @font-face {
32
- font-family: "GDS Transport";
33
- src: govuk-font-url("bold-b542beb274-v2.woff2") format("woff2"),
34
- govuk-font-url("bold-affa96571d-v2.woff") format("woff");
35
- font-weight: bold;
36
- font-style: normal;
37
- font-display: fallback;
32
+ @font-face {
33
+ font-family: "GDS Transport";
34
+ src: govuk-font-url("bold-b542beb274-v2.woff2") format("woff2"),
35
+ govuk-font-url("bold-affa96571d-v2.woff") format("woff");
36
+ font-weight: bold;
37
+ font-style: normal;
38
+ font-display: fallback;
39
+ }
38
40
  }
39
41
  }
40
42
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dxw_govuk_frontend_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mec
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-09-03 00:00:00.000000000 Z
12
+ date: 2019-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler