dxw_govuk_frontend_rails 3.8.0 → 3.9.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dxw_govuk_frontend_rails/version.rb +1 -1
- data/package-lock.json +3 -3
- data/package.json +1 -1
- data/vendor/assets/javascripts/govuk_frontend_rails.js +31 -37
- data/vendor/assets/stylesheets/components/accordion/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/back-link/_index.scss +0 -2
- data/vendor/assets/stylesheets/components/breadcrumbs/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/button/_index.scss +3 -3
- data/vendor/assets/stylesheets/components/character-count/_index.scss +0 -4
- data/vendor/assets/stylesheets/components/checkboxes/_index.scss +13 -13
- data/vendor/assets/stylesheets/components/details/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/error-summary/_index.scss +0 -2
- data/vendor/assets/stylesheets/components/fieldset/_index.scss +1 -1
- data/vendor/assets/stylesheets/components/footer/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/header/_index.scss +2 -5
- data/vendor/assets/stylesheets/components/hint/_index.scss +0 -2
- data/vendor/assets/stylesheets/components/input/_index.scss +91 -0
- data/vendor/assets/stylesheets/components/panel/_index.scss +6 -2
- data/vendor/assets/stylesheets/components/radios/_index.scss +13 -13
- data/vendor/assets/stylesheets/components/select/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/summary-list/_index.scss +2 -10
- data/vendor/assets/stylesheets/components/tabs/_index.scss +3 -6
- data/vendor/assets/stylesheets/components/tag/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/textarea/_index.scss +0 -1
- data/vendor/assets/stylesheets/components/warning-text/_index.scss +0 -1
- data/vendor/assets/stylesheets/helpers/_device-pixels.scss +3 -3
- data/vendor/assets/stylesheets/helpers/_font-faces.scss +9 -11
- data/vendor/assets/stylesheets/helpers/_links.scss +1 -3
- data/vendor/assets/stylesheets/helpers/_media-queries.scss +1 -5
- data/vendor/assets/stylesheets/helpers/_spacing.scss +2 -1
- data/vendor/assets/stylesheets/helpers/_typography.scss +7 -6
- data/vendor/assets/stylesheets/objects/_form-group.scss +0 -1
- data/vendor/assets/stylesheets/objects/_grid.scss +2 -3
- data/vendor/assets/stylesheets/objects/_main-wrapper.scss +0 -1
- data/vendor/assets/stylesheets/overrides/_display.scss +1 -1
- data/vendor/assets/stylesheets/overrides/_width.scss +1 -0
- data/vendor/assets/stylesheets/settings/_colours-applied.scss +0 -3
- data/vendor/assets/stylesheets/settings/_colours-organisations.scss +3 -0
- data/vendor/assets/stylesheets/settings/_colours-palette.scss +42 -35
- data/vendor/assets/stylesheets/settings/_compatibility.scss +0 -1
- data/vendor/assets/stylesheets/settings/_measurements.scss +0 -4
- data/vendor/assets/stylesheets/settings/_typography-font-families.scss +2 -2
- data/vendor/assets/stylesheets/settings/_typography-font.scss +11 -5
- data/vendor/assets/stylesheets/settings/_typography-responsive.scss +6 -2
- data/vendor/assets/stylesheets/tools/_font-url.scss +0 -3
- data/vendor/assets/stylesheets/tools/_image-url.scss +0 -3
- data/vendor/assets/stylesheets/utilities/_visually-hidden.scss +0 -1
- data/vendor/assets/stylesheets/vendor/_sass-mq.scss +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32963462555eea031d11a2c85e7d59aff6534434c5430e522a1468c591d1aa8d
|
4
|
+
data.tar.gz: 636e39bce62acc9c6106a2f2156865d26f53bda67e68c7d50e3e5352f0e3bfae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e5169826e7097a3939119f86b73050355f2330f2e3befa2c9146273a51f01a9ee40d521626f6a372d001590e55e26cafeb2ea8c9c1fd787ff5078c0b52b5725
|
7
|
+
data.tar.gz: 3fec0b62d356b58d8cf364d3ebd9d618c092e352fc8cbb6813d047413579a8ec08f36471b46506c6c38c3642d4988dd65b3548c2ec2f0eccd03f045381e65f51
|
data/Gemfile.lock
CHANGED
data/package-lock.json
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
"requires": true,
|
6
6
|
"dependencies": {
|
7
7
|
"govuk-frontend": {
|
8
|
-
"version": "3.
|
9
|
-
"resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.
|
10
|
-
"integrity": "sha512
|
8
|
+
"version": "3.9.1",
|
9
|
+
"resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.9.1.tgz",
|
10
|
+
"integrity": "sha512-ouOoDUj0QwDA4uCHIBkGCFMpORuTRcSuDscOrz7V1PBcOecntLglxJAZAuNm+j2sPo7anoScHU0ZSeE2QIoeAg=="
|
11
11
|
}
|
12
12
|
}
|
13
13
|
}
|
data/package.json
CHANGED
@@ -1961,55 +1961,49 @@ ErrorSummary.prototype.getAssociatedLegendOrLabel = function ($input) {
|
|
1961
1961
|
|
1962
1962
|
function Header ($module) {
|
1963
1963
|
this.$module = $module;
|
1964
|
+
this.$menuButton = $module && $module.querySelector('.govuk-js-header-toggle');
|
1965
|
+
this.$menu = this.$menuButton && $module.querySelector(
|
1966
|
+
'#' + this.$menuButton.getAttribute('aria-controls')
|
1967
|
+
);
|
1964
1968
|
}
|
1965
1969
|
|
1970
|
+
/**
|
1971
|
+
* Initialise header
|
1972
|
+
*
|
1973
|
+
* Check for the presence of the header, menu and menu button – if any are
|
1974
|
+
* missing then there's nothing to do so return early.
|
1975
|
+
*/
|
1966
1976
|
Header.prototype.init = function () {
|
1967
|
-
|
1968
|
-
var $module = this.$module;
|
1969
|
-
if (!$module) {
|
1977
|
+
if (!this.$module || !this.$menuButton || !this.$menu) {
|
1970
1978
|
return
|
1971
1979
|
}
|
1972
1980
|
|
1973
|
-
|
1974
|
-
|
1975
|
-
if (!$toggleButton) {
|
1976
|
-
return
|
1977
|
-
}
|
1978
|
-
|
1979
|
-
// Handle $toggleButton click events
|
1980
|
-
$toggleButton.addEventListener('click', this.handleClick.bind(this));
|
1981
|
+
this.syncState(this.$menu.classList.contains('govuk-header__navigation--open'));
|
1982
|
+
this.$menuButton.addEventListener('click', this.handleMenuButtonClick.bind(this));
|
1981
1983
|
};
|
1982
1984
|
|
1983
1985
|
/**
|
1984
|
-
*
|
1985
|
-
*
|
1986
|
-
*
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1986
|
+
* Sync menu state
|
1987
|
+
*
|
1988
|
+
* Sync the menu button class and the accessible state of the menu and the menu
|
1989
|
+
* button with the visible state of the menu
|
1990
|
+
*
|
1991
|
+
* @param {boolean} isVisible Whether the menu is currently visible
|
1992
|
+
*/
|
1993
|
+
Header.prototype.syncState = function (isVisible) {
|
1994
|
+
this.$menuButton.classList.toggle('govuk-header__menu-button--open', isVisible);
|
1995
|
+
this.$menuButton.setAttribute('aria-expanded', isVisible);
|
1994
1996
|
};
|
1995
1997
|
|
1996
1998
|
/**
|
1997
|
-
*
|
1998
|
-
*
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
var
|
2004
|
-
|
2005
|
-
// If a button with aria-controls, handle click
|
2006
|
-
if ($toggleButton && $target) {
|
2007
|
-
this.toggleClass($target, 'govuk-header__navigation--open');
|
2008
|
-
this.toggleClass($toggleButton, 'govuk-header__menu-button--open');
|
2009
|
-
|
2010
|
-
$toggleButton.setAttribute('aria-expanded', $toggleButton.getAttribute('aria-expanded') !== 'true');
|
2011
|
-
$target.setAttribute('aria-hidden', $target.getAttribute('aria-hidden') === 'false');
|
2012
|
-
}
|
1999
|
+
* Handle menu button click
|
2000
|
+
*
|
2001
|
+
* When the menu button is clicked, change the visibility of the menu and then
|
2002
|
+
* sync the accessibility state and menu button state
|
2003
|
+
*/
|
2004
|
+
Header.prototype.handleMenuButtonClick = function () {
|
2005
|
+
var isVisible = this.$menu.classList.toggle('govuk-header__navigation--open');
|
2006
|
+
this.syncState(isVisible);
|
2013
2007
|
};
|
2014
2008
|
|
2015
2009
|
function Radios ($module) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@include govuk-exports("govuk/component/button") {
|
2
|
-
$govuk-button-colour: govuk-colour("green", $legacy: #00823b);
|
2
|
+
$govuk-button-colour: govuk-colour("green", $legacy: #00823b);
|
3
3
|
$govuk-button-hover-colour: govuk-shade($govuk-button-colour, 20%);
|
4
4
|
$govuk-button-shadow-colour: govuk-shade($govuk-button-colour, 60%);
|
5
5
|
$govuk-button-text-colour: govuk-colour("white");
|
@@ -117,7 +117,7 @@
|
|
117
117
|
|
118
118
|
// Use a pseudo element to expand the click target area to include the
|
119
119
|
// button's shadow as well, in case users try to click it.
|
120
|
-
|
120
|
+
&:before {
|
121
121
|
content: "";
|
122
122
|
display: block;
|
123
123
|
|
@@ -141,7 +141,7 @@
|
|
141
141
|
// the click event is still fired.
|
142
142
|
//
|
143
143
|
// 🎉
|
144
|
-
&:active
|
144
|
+
&:active:before {
|
145
145
|
top: -($govuk-border-width-form-element + $button-shadow-size);
|
146
146
|
}
|
147
147
|
}
|
@@ -74,7 +74,7 @@
|
|
74
74
|
}
|
75
75
|
|
76
76
|
// [ ] Check box
|
77
|
-
.govuk-checkboxes__label
|
77
|
+
.govuk-checkboxes__label:before {
|
78
78
|
content: "";
|
79
79
|
box-sizing: border-box;
|
80
80
|
position: absolute;
|
@@ -90,7 +90,7 @@
|
|
90
90
|
//
|
91
91
|
// The check mark is a box with a border on the left and bottom side (└──),
|
92
92
|
// rotated 45 degrees
|
93
|
-
.govuk-checkboxes__label
|
93
|
+
.govuk-checkboxes__label:after {
|
94
94
|
content: "";
|
95
95
|
box-sizing: border-box;
|
96
96
|
|
@@ -123,13 +123,13 @@
|
|
123
123
|
}
|
124
124
|
|
125
125
|
// Focused state
|
126
|
-
.govuk-checkboxes__input:focus + .govuk-checkboxes__label
|
126
|
+
.govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {
|
127
127
|
border-width: 4px;
|
128
128
|
box-shadow: 0 0 0 $govuk-focus-width $govuk-focus-colour;
|
129
129
|
}
|
130
130
|
|
131
131
|
// Selected state
|
132
|
-
.govuk-checkboxes__input:checked + .govuk-checkboxes__label
|
132
|
+
.govuk-checkboxes__input:checked + .govuk-checkboxes__label:after {
|
133
133
|
opacity: 1;
|
134
134
|
}
|
135
135
|
|
@@ -227,7 +227,7 @@
|
|
227
227
|
//
|
228
228
|
// Reduce the size of the check box [1], vertically center it within the
|
229
229
|
// touch target [2]
|
230
|
-
.govuk-checkboxes__label
|
230
|
+
.govuk-checkboxes__label:before {
|
231
231
|
top: $input-offset - $govuk-border-width-form-element; // 2
|
232
232
|
width: $govuk-small-checkboxes-size; // 1
|
233
233
|
height: $govuk-small-checkboxes-size; // 1
|
@@ -236,7 +236,7 @@
|
|
236
236
|
// ✔ Check mark
|
237
237
|
//
|
238
238
|
// Reduce the size of the check mark and re-align within the checkbox
|
239
|
-
.govuk-checkboxes__label
|
239
|
+
.govuk-checkboxes__label:after {
|
240
240
|
top: 15px;
|
241
241
|
left: 6px;
|
242
242
|
width: 12px;
|
@@ -271,7 +271,7 @@
|
|
271
271
|
// is so much larger than their visible size, and so we need to provide
|
272
272
|
// feedback to the user as to which checkbox they will select when their
|
273
273
|
// cursor is outside of the visible area.
|
274
|
-
.govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label
|
274
|
+
.govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {
|
275
275
|
box-shadow: 0 0 0 $govuk-hover-width $govuk-hover-colour;
|
276
276
|
}
|
277
277
|
|
@@ -280,10 +280,10 @@
|
|
280
280
|
//
|
281
281
|
// We use two box shadows, one that restores the original focus state [1]
|
282
282
|
// and another that then applies the hover state [2].
|
283
|
-
.govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label
|
284
|
-
|
285
|
-
|
286
|
-
|
283
|
+
.govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {
|
284
|
+
box-shadow:
|
285
|
+
0 0 0 $govuk-focus-width $govuk-focus-colour, // 1
|
286
|
+
0 0 0 $govuk-hover-width $govuk-hover-colour; // 2
|
287
287
|
}
|
288
288
|
|
289
289
|
// For devices that explicitly don't support hover, don't provide a hover
|
@@ -293,11 +293,11 @@
|
|
293
293
|
// state in browsers that don't support `@media (hover)` (like Internet
|
294
294
|
// Explorer) – so we have to 'undo' the hover state instead.
|
295
295
|
@media (hover: none), (pointer: coarse) {
|
296
|
-
.govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label
|
296
|
+
.govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {
|
297
297
|
box-shadow: initial;
|
298
298
|
}
|
299
299
|
|
300
|
-
.govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label
|
300
|
+
.govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before {
|
301
301
|
box-shadow: 0 0 0 $govuk-focus-width $govuk-focus-colour;
|
302
302
|
}
|
303
303
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
@import "../../core/lists";
|
2
2
|
|
3
3
|
@include govuk-exports("govuk/component/error-summary") {
|
4
|
-
|
5
4
|
.govuk-error-summary {
|
6
5
|
@include govuk-text-colour;
|
7
6
|
@include govuk-responsive-padding(4);
|
@@ -51,5 +50,4 @@
|
|
51
50
|
@include govuk-focused-text;
|
52
51
|
}
|
53
52
|
}
|
54
|
-
|
55
53
|
}
|
@@ -15,7 +15,6 @@
|
|
15
15
|
border-bottom: govuk-spacing(2) solid govuk-colour("white");
|
16
16
|
color: $govuk-header-text;
|
17
17
|
background: $govuk-header-background;
|
18
|
-
|
19
18
|
}
|
20
19
|
|
21
20
|
.govuk-header__container--full-width {
|
@@ -168,7 +167,7 @@
|
|
168
167
|
@include govuk-focused-text;
|
169
168
|
}
|
170
169
|
|
171
|
-
|
170
|
+
&:after {
|
172
171
|
@include govuk-shape-arrow($direction: down, $base: 10px, $display: inline-block);
|
173
172
|
content: "";
|
174
173
|
margin-left: govuk-spacing(1);
|
@@ -180,7 +179,7 @@
|
|
180
179
|
}
|
181
180
|
|
182
181
|
.govuk-header__menu-button--open {
|
183
|
-
|
182
|
+
&:after {
|
184
183
|
@include govuk-shape-arrow($direction: up, $base: 10px, $display: inline-block);
|
185
184
|
}
|
186
185
|
}
|
@@ -213,7 +212,6 @@
|
|
213
212
|
}
|
214
213
|
}
|
215
214
|
|
216
|
-
|
217
215
|
.govuk-header__navigation--end {
|
218
216
|
@include govuk-media-query ($from: desktop) {
|
219
217
|
margin: 0;
|
@@ -308,5 +306,4 @@
|
|
308
306
|
}
|
309
307
|
// End adjustments
|
310
308
|
}
|
311
|
-
|
312
309
|
}
|
@@ -93,4 +93,95 @@
|
|
93
93
|
max-width: 5.4ex;
|
94
94
|
}
|
95
95
|
|
96
|
+
.govuk-input__wrapper {
|
97
|
+
display: -webkit-box;
|
98
|
+
display: -ms-flexbox;
|
99
|
+
display: flex;
|
100
|
+
|
101
|
+
.govuk-input {
|
102
|
+
-webkit-box-flex: 0;
|
103
|
+
-ms-flex: 0 1 auto;
|
104
|
+
flex: 0 1 auto;
|
105
|
+
}
|
106
|
+
|
107
|
+
.govuk-input:focus {
|
108
|
+
// Hack to stop focus style being overlapped by the suffix
|
109
|
+
z-index: 1;
|
110
|
+
}
|
111
|
+
|
112
|
+
// Split prefix/suffix onto separate lines on narrow screens
|
113
|
+
@include govuk-media-query($until: mobile) {
|
114
|
+
display: block;
|
115
|
+
|
116
|
+
.govuk-input {
|
117
|
+
// Set max-width to override potential width override class on the input
|
118
|
+
max-width: 100%;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.govuk-input__prefix,
|
124
|
+
.govuk-input__suffix {
|
125
|
+
@include govuk-font($size: 19);
|
126
|
+
|
127
|
+
box-sizing: border-box;
|
128
|
+
display: inline-block;
|
129
|
+
min-width: 40px;
|
130
|
+
@if $govuk-typography-use-rem {
|
131
|
+
min-width: govuk-px-to-rem(40px);
|
132
|
+
}
|
133
|
+
height: 40px;
|
134
|
+
@if $govuk-typography-use-rem {
|
135
|
+
height: govuk-px-to-rem(40px);
|
136
|
+
}
|
137
|
+
|
138
|
+
padding: govuk-spacing(1);
|
139
|
+
border: $govuk-border-width-form-element solid $govuk-input-border-colour;
|
140
|
+
background-color: govuk-colour("light-grey", $legacy: "grey-3");
|
141
|
+
|
142
|
+
text-align: center;
|
143
|
+
@include govuk-media-query($until: tablet) {
|
144
|
+
line-height: 1.6;
|
145
|
+
}
|
146
|
+
white-space: nowrap;
|
147
|
+
|
148
|
+
// Emphasise non-editable status of prefixes and suffixes
|
149
|
+
cursor: default;
|
150
|
+
|
151
|
+
-webkit-box-flex: 0;
|
152
|
+
|
153
|
+
-ms-flex: 0 0 auto;
|
154
|
+
|
155
|
+
flex: 0 0 auto;
|
156
|
+
|
157
|
+
// Split prefix/suffix onto separate lines on narrow screens
|
158
|
+
@include govuk-media-query($until: mobile) {
|
159
|
+
display: block;
|
160
|
+
height: 100%;
|
161
|
+
white-space: normal;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
.govuk-input__prefix {
|
166
|
+
@include govuk-media-query($until: mobile) {
|
167
|
+
border-bottom: 0;
|
168
|
+
}
|
169
|
+
@include govuk-media-query($from: mobile) {
|
170
|
+
@include govuk-not-ie8 {
|
171
|
+
border-right: 0;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
// Split prefix/suffix onto separate lines on narrow screens
|
177
|
+
.govuk-input__suffix {
|
178
|
+
@include govuk-media-query($until: mobile) {
|
179
|
+
border-top: 0;
|
180
|
+
}
|
181
|
+
@include govuk-media-query($from: mobile) {
|
182
|
+
@include govuk-not-ie8 {
|
183
|
+
border-left: 0;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
96
187
|
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
@include govuk-exports("govuk/component/panel") {
|
2
|
-
|
3
2
|
.govuk-panel {
|
4
3
|
@include govuk-font($size: 19);
|
5
4
|
|
@@ -20,6 +19,12 @@
|
|
20
19
|
.govuk-panel--confirmation {
|
21
20
|
color: govuk-colour("white");
|
22
21
|
background: govuk-colour("green", $legacy: "turquoise");
|
22
|
+
|
23
|
+
@include govuk-media-query($media-type: print) {
|
24
|
+
border-color: currentColor;
|
25
|
+
color: $govuk-print-text-colour;
|
26
|
+
background: none;
|
27
|
+
}
|
23
28
|
}
|
24
29
|
|
25
30
|
.govuk-panel__title {
|
@@ -36,5 +41,4 @@
|
|
36
41
|
.govuk-panel__body {
|
37
42
|
@include govuk-font($size: 36);
|
38
43
|
}
|
39
|
-
|
40
44
|
}
|
@@ -77,7 +77,7 @@
|
|
77
77
|
}
|
78
78
|
|
79
79
|
// ( ) Radio ring
|
80
|
-
.govuk-radios__label
|
80
|
+
.govuk-radios__label:before {
|
81
81
|
content: "";
|
82
82
|
box-sizing: border-box;
|
83
83
|
position: absolute;
|
@@ -96,7 +96,7 @@
|
|
96
96
|
//
|
97
97
|
// We create the 'button' entirely out of 'border' so that they remain
|
98
98
|
// 'filled' even when colours are overridden in the browser.
|
99
|
-
.govuk-radios__label
|
99
|
+
.govuk-radios__label:after {
|
100
100
|
content: "";
|
101
101
|
|
102
102
|
position: absolute;
|
@@ -119,13 +119,13 @@
|
|
119
119
|
}
|
120
120
|
|
121
121
|
// Focused state
|
122
|
-
.govuk-radios__input:focus + .govuk-radios__label
|
122
|
+
.govuk-radios__input:focus + .govuk-radios__label:before {
|
123
123
|
border-width: 4px;
|
124
124
|
box-shadow: 0 0 0 $govuk-radios-focus-width $govuk-focus-colour;
|
125
125
|
}
|
126
126
|
|
127
127
|
// Selected state
|
128
|
-
.govuk-radios__input:checked + .govuk-radios__label
|
128
|
+
.govuk-radios__input:checked + .govuk-radios__label:after {
|
129
129
|
opacity: 1;
|
130
130
|
}
|
131
131
|
|
@@ -260,7 +260,7 @@
|
|
260
260
|
//
|
261
261
|
// Reduce the size of the control [1], vertically centering it within the
|
262
262
|
// touch target [2]
|
263
|
-
.govuk-radios__label
|
263
|
+
.govuk-radios__label:before {
|
264
264
|
top: $input-offset - $govuk-border-width-form-element; // 2
|
265
265
|
width: $govuk-small-radios-size; // 1
|
266
266
|
height: $govuk-small-radios-size; // 1
|
@@ -269,7 +269,7 @@
|
|
269
269
|
// • Radio button
|
270
270
|
//
|
271
271
|
// Reduce the size of the 'button' and center it within the ring
|
272
|
-
.govuk-radios__label
|
272
|
+
.govuk-radios__label:after {
|
273
273
|
top: 15px;
|
274
274
|
left: 7px;
|
275
275
|
border-width: 5px;
|
@@ -308,7 +308,7 @@
|
|
308
308
|
// is so much larger than their visible size, and so we need to provide
|
309
309
|
// feedback to the user as to which radio they will select when their
|
310
310
|
// cursor is outside of the visible area.
|
311
|
-
.govuk-radios__item:hover .govuk-radios__input:not(:disabled) + .govuk-radios__label
|
311
|
+
.govuk-radios__item:hover .govuk-radios__input:not(:disabled) + .govuk-radios__label:before {
|
312
312
|
box-shadow: 0 0 0 $govuk-hover-width $govuk-hover-colour;
|
313
313
|
}
|
314
314
|
|
@@ -317,10 +317,10 @@
|
|
317
317
|
//
|
318
318
|
// We use two box shadows, one that restores the original focus state [1]
|
319
319
|
// and another that then applies the hover state [2].
|
320
|
-
.govuk-radios__item:hover .govuk-radios__input:focus + .govuk-radios__label
|
321
|
-
|
322
|
-
|
323
|
-
|
320
|
+
.govuk-radios__item:hover .govuk-radios__input:focus + .govuk-radios__label:before {
|
321
|
+
box-shadow:
|
322
|
+
0 0 0 $govuk-radios-focus-width $govuk-focus-colour, // 1
|
323
|
+
0 0 0 $govuk-hover-width $govuk-hover-colour; // 2
|
324
324
|
}
|
325
325
|
|
326
326
|
// For devices that explicitly don't support hover, don't provide a hover
|
@@ -330,11 +330,11 @@
|
|
330
330
|
// state in browsers that don't support `@media (hover)` (like Internet
|
331
331
|
// Explorer) – so we have to 'undo' the hover state instead.
|
332
332
|
@media (hover: none), (pointer: coarse) {
|
333
|
-
.govuk-radios__item:hover .govuk-radios__input:not(:disabled) + .govuk-radios__label
|
333
|
+
.govuk-radios__item:hover .govuk-radios__input:not(:disabled) + .govuk-radios__label:before {
|
334
334
|
box-shadow: initial;
|
335
335
|
}
|
336
336
|
|
337
|
-
.govuk-radios__item:hover .govuk-radios__input:focus + .govuk-radios__label
|
337
|
+
.govuk-radios__item:hover .govuk-radios__input:focus + .govuk-radios__label:before {
|
338
338
|
box-shadow: 0 0 0 $govuk-radios-focus-width $govuk-focus-colour;
|
339
339
|
}
|
340
340
|
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
@include govuk-exports("govuk/component/summary-list") {
|
2
|
-
|
3
2
|
.govuk-summary-list {
|
4
3
|
@include govuk-font($size: 19);
|
5
4
|
@include govuk-text-colour;
|
@@ -29,15 +28,8 @@
|
|
29
28
|
|
30
29
|
@include govuk-media-query($from: tablet) {
|
31
30
|
display: table-cell;
|
32
|
-
padding-right: govuk-spacing(4);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
.govuk-summary-list__key,
|
37
|
-
.govuk-summary-list__value,
|
38
|
-
.govuk-summary-list__actions {
|
39
|
-
@include govuk-media-query($from: tablet) {
|
40
31
|
padding-top: govuk-spacing(2);
|
32
|
+
padding-right: govuk-spacing(4);
|
41
33
|
padding-bottom: govuk-spacing(2);
|
42
34
|
border-bottom: 1px solid $govuk-border-colour;
|
43
35
|
}
|
@@ -99,7 +91,7 @@
|
|
99
91
|
|
100
92
|
.govuk-summary-list__actions-list-item {
|
101
93
|
display: inline;
|
102
|
-
margin-right:
|
94
|
+
margin-right: govuk-spacing(2);
|
103
95
|
padding-right: govuk-spacing(2);
|
104
96
|
}
|
105
97
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
@include govuk-exports("govuk/component/tabs") {
|
2
|
-
|
3
2
|
.govuk-tabs {
|
4
3
|
@include govuk-responsive-margin(1, "top");
|
5
4
|
@include govuk-responsive-margin(6, "bottom");
|
@@ -22,7 +21,7 @@
|
|
22
21
|
@include govuk-font($size: 19);
|
23
22
|
margin-left: govuk-spacing(5);
|
24
23
|
|
25
|
-
|
24
|
+
&:before {
|
26
25
|
@include govuk-text-colour;
|
27
26
|
content: "\2014 "; // "— "
|
28
27
|
margin-left: - govuk-spacing(5);
|
@@ -51,7 +50,6 @@
|
|
51
50
|
.js-enabled {
|
52
51
|
|
53
52
|
@include govuk-media-query($from: tablet) {
|
54
|
-
|
55
53
|
.govuk-tabs__list {
|
56
54
|
@include govuk-clearfix;
|
57
55
|
margin-bottom: 0;
|
@@ -74,7 +72,7 @@
|
|
74
72
|
background-color: govuk-colour("light-grey", $legacy: "grey-4");
|
75
73
|
text-align: center;
|
76
74
|
|
77
|
-
|
75
|
+
&:before {
|
78
76
|
content: none;
|
79
77
|
}
|
80
78
|
}
|
@@ -108,7 +106,7 @@
|
|
108
106
|
|
109
107
|
margin-bottom: 0;
|
110
108
|
|
111
|
-
|
109
|
+
&:after {
|
112
110
|
content: "";
|
113
111
|
position: absolute;
|
114
112
|
top: 0;
|
@@ -133,6 +131,5 @@
|
|
133
131
|
display: none;
|
134
132
|
}
|
135
133
|
}
|
136
|
-
|
137
134
|
}
|
138
135
|
}
|
@@ -28,10 +28,10 @@
|
|
28
28
|
/// @access public
|
29
29
|
|
30
30
|
@mixin govuk-device-pixel-ratio($ratio: 2) {
|
31
|
+
// stylelint-disable indentation
|
31
32
|
@media only screen and (-webkit-min-device-pixel-ratio: $ratio),
|
32
|
-
only screen and (
|
33
|
-
only screen and (
|
34
|
-
only screen and ( min-resolution: #{$ratio}dppx) {
|
33
|
+
only screen and (min-resolution: #{($ratio * 96)}dpi),
|
34
|
+
only screen and (min-resolution: #{$ratio}dppx) {
|
35
35
|
@content;
|
36
36
|
}
|
37
37
|
}
|
@@ -2,9 +2,6 @@
|
|
2
2
|
/// @group helpers
|
3
3
|
////
|
4
4
|
|
5
|
-
// Disables linting for this file only
|
6
|
-
// sass-lint:disable no-css-comments, no-duplicate-properties, property-sort-order, indentation
|
7
|
-
|
8
5
|
@import "../tools/exports";
|
9
6
|
|
10
7
|
/// Font Face - GDS Transport
|
@@ -18,23 +15,24 @@
|
|
18
15
|
@include govuk-not-ie8 { // In IE8, which cannot render WOFF format, we fall back to system fonts
|
19
16
|
@include govuk-exports("govuk/helpers/font-faces") {
|
20
17
|
@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. */
|
22
|
-
|
18
|
+
/*! 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. */ /* stylelint-disable-line scss/comment-no-loud */
|
23
19
|
@font-face {
|
24
20
|
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
21
|
font-style: normal;
|
22
|
+
font-weight: normal;
|
23
|
+
src:
|
24
|
+
govuk-font-url("light-94a07e06a1-v2.woff2") format("woff2"),
|
25
|
+
govuk-font-url("light-f591b13f7d-v2.woff") format("woff");
|
29
26
|
font-display: fallback;
|
30
27
|
}
|
31
28
|
|
32
29
|
@font-face {
|
33
30
|
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
31
|
font-style: normal;
|
32
|
+
font-weight: bold;
|
33
|
+
src:
|
34
|
+
govuk-font-url("bold-b542beb274-v2.woff2") format("woff2"),
|
35
|
+
govuk-font-url("bold-affa96571d-v2.woff") format("woff");
|
38
36
|
font-display: fallback;
|
39
37
|
}
|
40
38
|
}
|
@@ -142,7 +142,6 @@
|
|
142
142
|
}
|
143
143
|
}
|
144
144
|
|
145
|
-
|
146
145
|
/// No visited state link mixin
|
147
146
|
///
|
148
147
|
/// Used in cases where it is not helpful to distinguish between visited and
|
@@ -196,11 +195,10 @@
|
|
196
195
|
|
197
196
|
@mixin govuk-link-print-friendly {
|
198
197
|
@include govuk-media-query($media-type: print) {
|
199
|
-
|
200
198
|
&[href^="/"],
|
201
199
|
&[href^="http://"],
|
202
200
|
&[href^="https://"] {
|
203
|
-
|
201
|
+
&:after {
|
204
202
|
content: " (" attr(href) ")";
|
205
203
|
font-size: 90%;
|
206
204
|
|
@@ -2,8 +2,6 @@
|
|
2
2
|
/// @group helpers/layout
|
3
3
|
////
|
4
4
|
|
5
|
-
|
6
|
-
|
7
5
|
// =========================================================
|
8
6
|
// Wrangle sass-mq config...
|
9
7
|
// =========================================================
|
@@ -41,8 +39,6 @@ $sass-mq-already-included: false !default;
|
|
41
39
|
|
42
40
|
$sass-mq-already-included: true;
|
43
41
|
|
44
|
-
|
45
|
-
|
46
42
|
// =========================================================
|
47
43
|
// Helpers
|
48
44
|
// =========================================================
|
@@ -91,5 +87,5 @@ $sass-mq-already-included: true;
|
|
91
87
|
@mixin govuk-media-query($args...) {
|
92
88
|
@include mq($args...) {
|
93
89
|
@content;
|
94
|
-
}
|
90
|
+
}
|
95
91
|
}
|
@@ -2,6 +2,8 @@
|
|
2
2
|
/// @group helpers/spacing
|
3
3
|
////
|
4
4
|
|
5
|
+
// stylelint-disable indentation
|
6
|
+
|
5
7
|
/// Single point spacing
|
6
8
|
///
|
7
9
|
/// Returns measurement corresponding to the spacing point requested.
|
@@ -146,7 +148,6 @@
|
|
146
148
|
///
|
147
149
|
/// @access public
|
148
150
|
|
149
|
-
|
150
151
|
@mixin govuk-responsive-padding($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {
|
151
152
|
@include _govuk-responsive-spacing($responsive-spacing-point, "padding", $direction, $important, $adjustment);
|
152
153
|
}
|
@@ -127,7 +127,8 @@
|
|
127
127
|
$font-size-rem: govuk-px-to-rem($font-size);
|
128
128
|
|
129
129
|
$line-height: _govuk-line-height(
|
130
|
-
$line-height: if(
|
130
|
+
$line-height: if(
|
131
|
+
$override-line-height,
|
131
132
|
$override-line-height,
|
132
133
|
map-get($breakpoint-map, "line-height")
|
133
134
|
),
|
@@ -142,9 +143,9 @@
|
|
142
143
|
$line-height: $line-height if($important, !important, null);
|
143
144
|
|
144
145
|
@if $breakpoint == null {
|
145
|
-
font-size: $font-size;
|
146
|
+
font-size: $font-size;
|
146
147
|
@if $govuk-typography-use-rem {
|
147
|
-
font-size: $font-size-rem;
|
148
|
+
font-size: $font-size-rem;
|
148
149
|
}
|
149
150
|
line-height: $line-height;
|
150
151
|
} @else if $breakpoint == "print" {
|
@@ -154,9 +155,9 @@
|
|
154
155
|
}
|
155
156
|
} @else {
|
156
157
|
@include govuk-media-query($from: $breakpoint) {
|
157
|
-
font-size: $font-size;
|
158
|
+
font-size: $font-size;
|
158
159
|
@if $govuk-typography-use-rem {
|
159
|
-
font-size: $font-size-rem;
|
160
|
+
font-size: $font-size-rem;
|
160
161
|
}
|
161
162
|
line-height: $line-height;
|
162
163
|
}
|
@@ -184,7 +185,7 @@
|
|
184
185
|
-webkit-font-feature-settings: "tnum" 1;
|
185
186
|
font-feature-settings: "tnum" 1;
|
186
187
|
|
187
|
-
@supports(font-variant-numeric: tabular-nums) {
|
188
|
+
@supports (font-variant-numeric: tabular-nums) {
|
188
189
|
-webkit-font-feature-settings: normal;
|
189
190
|
font-feature-settings: normal;
|
190
191
|
font-variant-numeric: tabular-nums;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
@import "../base";
|
2
2
|
|
3
3
|
@include govuk-exports("govuk/objects/grid") {
|
4
|
-
|
5
4
|
.govuk-grid-row {
|
6
5
|
@include govuk-clearfix;
|
7
6
|
margin-right: - ($govuk-gutter-half);
|
@@ -10,7 +9,7 @@
|
|
10
9
|
|
11
10
|
@each $width in map-keys($govuk-grid-widths) {
|
12
11
|
.govuk-grid-column-#{$width} {
|
13
|
-
@include govuk-grid-column($width)
|
12
|
+
@include govuk-grid-column($width);
|
14
13
|
}
|
15
14
|
}
|
16
15
|
|
@@ -19,7 +18,7 @@
|
|
19
18
|
// them in the outputted CSS
|
20
19
|
@each $width in map-keys($govuk-grid-widths) {
|
21
20
|
.govuk-grid-column-#{$width}-from-desktop {
|
22
|
-
@include govuk-grid-column($width, $at: desktop)
|
21
|
+
@include govuk-grid-column($width, $at: desktop);
|
23
22
|
}
|
24
23
|
}
|
25
24
|
}
|
@@ -4,8 +4,6 @@
|
|
4
4
|
|
5
5
|
@import "../helpers/colour";
|
6
6
|
|
7
|
-
|
8
|
-
|
9
7
|
// =========================================================
|
10
8
|
// Generic
|
11
9
|
// =========================================================
|
@@ -115,7 +113,6 @@ $govuk-input-border-colour: govuk-colour("black") !default;
|
|
115
113
|
|
116
114
|
$govuk-hover-colour: govuk-colour("mid-grey", $legacy: "grey-3");
|
117
115
|
|
118
|
-
|
119
116
|
// =============================================================================
|
120
117
|
// Links
|
121
118
|
// =============================================================================
|
@@ -1,5 +1,8 @@
|
|
1
1
|
@import "compatibility";
|
2
2
|
|
3
|
+
// stylelint-disable value-list-max-empty-lines -- allow empty lines in lists
|
4
|
+
// in this file to allow grouping
|
5
|
+
|
3
6
|
////
|
4
7
|
/// @group settings/colours
|
5
8
|
////
|
@@ -13,44 +16,15 @@
|
|
13
16
|
/// @type Boolean
|
14
17
|
/// @access public
|
15
18
|
|
16
|
-
$govuk-use-legacy-palette: if(
|
19
|
+
$govuk-use-legacy-palette: if(
|
20
|
+
(
|
17
21
|
$govuk-compatibility-govukfrontendtoolkit or
|
18
22
|
$govuk-compatibility-govuktemplate or
|
19
23
|
$govuk-compatibility-govukelements
|
20
|
-
),
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
/// This exists only because you cannot easily set a !default variable
|
25
|
-
/// conditionally (thanks to the way scope works in Sass) so we set
|
26
|
-
/// `$govuk-colour-palette` using the `if` function.
|
27
|
-
///
|
28
|
-
/// @access private
|
29
|
-
|
30
|
-
$_govuk-colour-palette-legacy: (
|
31
|
-
"purple": #2e358b,
|
32
|
-
"light-purple": #6f72af,
|
33
|
-
"bright-purple": #912b88,
|
34
|
-
"pink": #d53880,
|
35
|
-
"light-pink": #f499be,
|
36
|
-
"red": #b10e1e,
|
37
|
-
"bright-red": #df3034,
|
38
|
-
"orange": #f47738,
|
39
|
-
"brown": #b58840,
|
40
|
-
"yellow": #ffbf47,
|
41
|
-
"light-green": #85994b,
|
42
|
-
"green": #006435,
|
43
|
-
"turquoise": #28a197,
|
44
|
-
"light-blue": #2b8cc4,
|
45
|
-
"blue": #005ea5,
|
46
|
-
|
47
|
-
"black": #0b0c0c,
|
48
|
-
"grey-1": #6f777b,
|
49
|
-
"grey-2": #bfc1c3,
|
50
|
-
"grey-3": #dee0e2,
|
51
|
-
"grey-4": #f8f8f8,
|
52
|
-
"white": #ffffff
|
53
|
-
);
|
24
|
+
),
|
25
|
+
true,
|
26
|
+
false
|
27
|
+
) !default;
|
54
28
|
|
55
29
|
/// Modern colour palette
|
56
30
|
///
|
@@ -85,6 +59,39 @@ $_govuk-colour-palette-modern: (
|
|
85
59
|
"turquoise": #28a197
|
86
60
|
);
|
87
61
|
|
62
|
+
/// Legacy colour palette
|
63
|
+
///
|
64
|
+
/// This exists only because you cannot easily set a !default variable
|
65
|
+
/// conditionally (thanks to the way scope works in Sass) so we set
|
66
|
+
/// `$govuk-colour-palette` using the `if` function.
|
67
|
+
///
|
68
|
+
/// @access private
|
69
|
+
|
70
|
+
$_govuk-colour-palette-legacy: (
|
71
|
+
"purple": #2e358b,
|
72
|
+
"light-purple": #6f72af,
|
73
|
+
"bright-purple": #912b88,
|
74
|
+
"pink": #d53880,
|
75
|
+
"light-pink": #f499be,
|
76
|
+
"red": #b10e1e,
|
77
|
+
"bright-red": #df3034,
|
78
|
+
"orange": #f47738,
|
79
|
+
"brown": #b58840,
|
80
|
+
"yellow": #ffbf47,
|
81
|
+
"light-green": #85994b,
|
82
|
+
"green": #006435,
|
83
|
+
"turquoise": #28a197,
|
84
|
+
"light-blue": #2b8cc4,
|
85
|
+
"blue": #005ea5,
|
86
|
+
|
87
|
+
"black": #0b0c0c,
|
88
|
+
"grey-1": #6f777b,
|
89
|
+
"grey-2": #bfc1c3,
|
90
|
+
"grey-3": #dee0e2,
|
91
|
+
"grey-4": #f8f8f8,
|
92
|
+
"white": #ffffff
|
93
|
+
);
|
94
|
+
|
88
95
|
/// Colour palette
|
89
96
|
///
|
90
97
|
/// @type Map
|
@@ -2,8 +2,6 @@
|
|
2
2
|
/// @group settings/measurements
|
3
3
|
////
|
4
4
|
|
5
|
-
|
6
|
-
|
7
5
|
// =========================================================
|
8
6
|
// Page layout
|
9
7
|
// =========================================================
|
@@ -43,8 +41,6 @@ $govuk-gutter: 30px !default;
|
|
43
41
|
|
44
42
|
$govuk-gutter-half: $govuk-gutter / 2;
|
45
43
|
|
46
|
-
|
47
|
-
|
48
44
|
// =========================================================
|
49
45
|
// Borders
|
50
46
|
// =========================================================
|
@@ -8,7 +8,7 @@
|
|
8
8
|
/// @type List
|
9
9
|
/// @access public
|
10
10
|
|
11
|
-
$govuk-font-family-gds-transport: "GDS Transport",
|
11
|
+
$govuk-font-family-gds-transport: "GDS Transport", arial, sans-serif;
|
12
12
|
|
13
13
|
/// List of font families to use if using NTA (old font 'stack' for
|
14
14
|
/// GOV.UK)
|
@@ -17,7 +17,7 @@ $govuk-font-family-gds-transport: "GDS Transport", Arial, sans-serif;
|
|
17
17
|
/// @access public
|
18
18
|
/// @deprecated To be removed once support for compatibility mode is dropped
|
19
19
|
|
20
|
-
$govuk-font-family-nta: "nta",
|
20
|
+
$govuk-font-family-nta: "nta", arial, sans-serif;
|
21
21
|
|
22
22
|
/// List of font families to use if using the 'tabular numbers' subset of NTA
|
23
23
|
/// (the default font 'stack' for GOV.UK)
|
@@ -14,11 +14,15 @@
|
|
14
14
|
/// @type Boolean
|
15
15
|
/// @access public
|
16
16
|
|
17
|
-
$govuk-use-legacy-font: if(
|
17
|
+
$govuk-use-legacy-font: if(
|
18
|
+
(
|
18
19
|
$govuk-compatibility-govukfrontendtoolkit or
|
19
20
|
$govuk-compatibility-govuktemplate or
|
20
21
|
$govuk-compatibility-govukelements
|
21
|
-
),
|
22
|
+
),
|
23
|
+
true,
|
24
|
+
false
|
25
|
+
) !default;
|
22
26
|
|
23
27
|
// =========================================================
|
24
28
|
// Font families
|
@@ -29,7 +33,8 @@ $govuk-use-legacy-font: if((
|
|
29
33
|
/// @type List
|
30
34
|
/// @access public
|
31
35
|
|
32
|
-
$govuk-font-family: if(
|
36
|
+
$govuk-font-family: if(
|
37
|
+
$govuk-use-legacy-font,
|
33
38
|
$govuk-font-family-nta,
|
34
39
|
$govuk-font-family-gds-transport
|
35
40
|
) !default;
|
@@ -39,7 +44,8 @@ $govuk-font-family: if($govuk-use-legacy-font,
|
|
39
44
|
/// @type List
|
40
45
|
/// @access public
|
41
46
|
|
42
|
-
$govuk-font-family-tabular: if(
|
47
|
+
$govuk-font-family-tabular: if(
|
48
|
+
$govuk-use-legacy-font,
|
43
49
|
$govuk-font-family-nta-tabular,
|
44
50
|
false
|
45
51
|
) !default;
|
@@ -61,7 +67,7 @@ $govuk-font-family-print: sans-serif !default;
|
|
61
67
|
|
62
68
|
$govuk-include-default-font-face: (
|
63
69
|
$govuk-font-family == $govuk-font-family-gds-transport
|
64
|
-
|
70
|
+
) !default;
|
65
71
|
|
66
72
|
// =========================================================
|
67
73
|
// Font weights
|
@@ -14,11 +14,15 @@
|
|
14
14
|
/// @type Boolean
|
15
15
|
/// @access public
|
16
16
|
|
17
|
-
$govuk-typography-use-rem: if(
|
17
|
+
$govuk-typography-use-rem: if(
|
18
|
+
(
|
18
19
|
$govuk-compatibility-govukfrontendtoolkit or
|
19
20
|
$govuk-compatibility-govuktemplate or
|
20
21
|
$govuk-compatibility-govukelements
|
21
|
-
),
|
22
|
+
),
|
23
|
+
false,
|
24
|
+
true
|
25
|
+
) !default;
|
22
26
|
|
23
27
|
/// Root font size
|
24
28
|
///
|
@@ -1,8 +1,6 @@
|
|
1
1
|
// mq() v4.0.2
|
2
2
|
// sass-mq/sass-mq
|
3
3
|
|
4
|
-
// sass-lint:disable-all
|
5
|
-
|
6
4
|
@charset "UTF-8"; // Fixes an issue where Ruby locale is not set properly
|
7
5
|
// See https://github.com/sass-mq/sass-mq/pull/10
|
8
6
|
|
@@ -347,5 +345,3 @@ $mq-media-type: all !default;
|
|
347
345
|
@if length($mq-show-breakpoints) > 0 {
|
348
346
|
@include mq-show-breakpoints;
|
349
347
|
}
|
350
|
-
|
351
|
-
// sass-lint:enable-all
|