govuk_frontend_toolkit 4.10.0 → 4.11.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96746034e6b21ea109c6c935489b82fd4dc50a15
|
4
|
+
data.tar.gz: 5cc493ca41879173d5ddb7fa1948427ad154ac51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1095abae5ed250a6bffb9dc3b6ea3242f144668d94a49d388483b885098164377ba377de663c7d70a70753dc70a48fb5b833426b181dbd502321d9f0ba3c7505
|
7
|
+
data.tar.gz: 2790f39f528c0d6b61ad769d5bcc6b1fb1109c74ff3998ef78579d38183f1fcc10335d8089c626bac586feddecc9c9655dee439b3cb8ef7ae9843b54a8a476c8
|
data/app/assets/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 4.11.0
|
2
|
+
|
3
|
+
- Remove the GDS-Logo font-face definition (PR #272)
|
4
|
+
- Move the @viewport statements to govuk_template (PR #272). If you upgrade to this version of govuk_frontend_toolkit and you’re also using govuk_template you’ll need to upgrade that to at least 0.17.2 to maintain compatibility with desktop IE10 in snap mode.
|
5
|
+
|
1
6
|
# 4.10.0
|
2
7
|
|
3
8
|
- Allow New Transport font stack to be overridden by apps using `$toolkit-font-stack`
|
data/app/assets/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.11.0
|
@@ -25,14 +25,6 @@
|
|
25
25
|
$is-ie: false !default;
|
26
26
|
$mobile-ie6: true !default;
|
27
27
|
|
28
|
-
@-ms-viewport {
|
29
|
-
width: device-width;
|
30
|
-
}
|
31
|
-
|
32
|
-
@-o-viewport {
|
33
|
-
width: device-width;
|
34
|
-
}
|
35
|
-
|
36
28
|
@mixin media($size: false, $max-width: false, $min-width: false, $ignore-for-ie: false) {
|
37
29
|
@if $is-ie and ($ignore-for-ie == false) {
|
38
30
|
@if $size != mobile {
|
@@ -16,21 +16,13 @@
|
|
16
16
|
$NTA-Light: "nta", Arial, sans-serif;
|
17
17
|
$NTA-Light-Tabular: "ntatabularnumbers", $NTA-Light;
|
18
18
|
|
19
|
+
// Helvetica Regular
|
20
|
+
$Helvetica-Regular: "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif;
|
21
|
+
|
19
22
|
// Allow font stack to be overridden
|
20
23
|
// Not all apps using toolkit use New Transport
|
21
24
|
$toolkit-font-stack: $NTA-Light !default;
|
22
25
|
$toolkit-font-stack-tabular: $NTA-Light-Tabular !default;
|
23
26
|
|
24
|
-
// Helvetica Regular
|
25
|
-
@font-face {
|
26
|
-
font-family: GDS-Logo;
|
27
|
-
src: local("HelveticaNeue"),
|
28
|
-
local("Helvetica Neue"),
|
29
|
-
local("Arial"),
|
30
|
-
local("Helvetica");
|
31
|
-
}
|
32
|
-
|
33
|
-
$Helvetica-Regular: "GDS-Logo", sans-serif;
|
34
|
-
|
35
27
|
// Font reset for print
|
36
28
|
$Print-reset: sans-serif;
|
@@ -33,6 +33,14 @@ $is-print: false !default;
|
|
33
33
|
font-weight: $font-weight;
|
34
34
|
text-transform: none;
|
35
35
|
|
36
|
+
@if $toolkit-font-stack == $NTA-Light {
|
37
|
+
@if $font-weight > 400 {
|
38
|
+
font-size-adjust: 0.525;
|
39
|
+
} @else {
|
40
|
+
font-size-adjust: 0.5;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
36
44
|
@include media(tablet) {
|
37
45
|
font-size: $font-size;
|
38
46
|
line-height: $line-height;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_frontend_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bradley Wright
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|