katalyst-govuk-formbuilder 1.22.0 → 1.23.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 +4 -4
- data/app/assets/builds/katalyst/govuk/formbuilder.css +38 -1
- data/app/assets/builds/katalyst/govuk/formbuilder.js +29 -134
- data/app/assets/builds/katalyst/govuk/formbuilder.min.js +8 -8
- data/app/assets/builds/katalyst/govuk/formbuilder.min.js.map +1 -1
- data/lib/katalyst/govuk/form_builder/config.rb +0 -2
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +4 -4
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +2 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +4 -4
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +20 -20
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -15
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +4 -2
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +1 -7
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +5 -5
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +16 -16
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +1 -7
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -3
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +34 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +172 -33
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +4 -4
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +5 -5
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +7 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +4 -2
- metadata +1 -2
- data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss +0 -349
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
.govuk-footer__meta-item--grow {
|
|
61
61
|
flex: 1; // Support: Flexbox
|
|
62
|
-
@
|
|
62
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
63
63
|
flex-basis: 320px; // Support: Flexbox
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
.govuk-footer__licence-logo {
|
|
68
68
|
display: inline-block;
|
|
69
69
|
margin-right: govuk-spacing(2);
|
|
70
|
-
@
|
|
70
|
+
@media #{govuk-until-breakpoint(desktop)} {
|
|
71
71
|
margin-bottom: govuk-spacing(3);
|
|
72
72
|
}
|
|
73
73
|
vertical-align: top;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
margin-bottom: govuk-spacing(6);
|
|
142
142
|
padding-bottom: govuk-spacing(4);
|
|
143
143
|
|
|
144
|
-
@
|
|
144
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
145
145
|
padding-bottom: govuk-spacing(2);
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
column-gap: $govuk-gutter; // Support: Columns
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
@
|
|
175
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
176
176
|
.govuk-footer__list--columns-2 {
|
|
177
177
|
column-count: 2; // Support: Columns
|
|
178
178
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.govuk-header--with-js-navigation {
|
|
34
|
-
@
|
|
34
|
+
@media #{govuk-until-breakpoint(desktop)} {
|
|
35
35
|
.govuk-header__logo {
|
|
36
36
|
// Protect the absolute positioned menu button from overlapping with the
|
|
37
37
|
// logo with right padding using the button's width
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
fill: #00ffe0;
|
|
118
118
|
|
|
119
119
|
// Override Dot colour when printing
|
|
120
|
-
@
|
|
120
|
+
@media print {
|
|
121
121
|
fill: currentcolor;
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
// Align vertically with logo when not wrapped
|
|
153
153
|
vertical-align: top;
|
|
154
154
|
|
|
155
|
-
@
|
|
155
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
156
156
|
margin-top: $product-name-offset-tablet;
|
|
157
157
|
@-moz-document url-prefix() {
|
|
158
158
|
margin-top: $product-name-offset-tablet - 0.5px;
|
|
@@ -184,11 +184,11 @@
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// Remove top margin on the breakpoints too
|
|
187
|
-
@
|
|
187
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
188
188
|
margin-top: 0;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
@
|
|
191
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
192
192
|
margin-top: 0;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
margin-right: govuk-spacing(2);
|
|
228
228
|
font-size: 30px; // We don't have a mixin that produces 30px font size
|
|
229
229
|
|
|
230
|
-
@
|
|
230
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
231
231
|
display: inline;
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
// Apply margins to internal elements to emulate padding
|
|
278
278
|
margin-bottom: govuk-spacing(3);
|
|
279
279
|
|
|
280
|
-
@
|
|
280
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
281
281
|
// Magic number to align service name baseline with the GOV.UK logo
|
|
282
282
|
$service-name-offset: 4px;
|
|
283
283
|
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
.govuk-header__logo {
|
|
295
295
|
@include govuk-responsive-margin($govuk-header-vertical-spacing-value, "bottom");
|
|
296
296
|
|
|
297
|
-
@
|
|
297
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
298
298
|
width: 33.33%;
|
|
299
299
|
padding-right: $govuk-gutter-half;
|
|
300
300
|
float: left;
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.govuk-header__content {
|
|
322
|
-
@
|
|
322
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
323
323
|
width: 66.66%;
|
|
324
324
|
padding-left: $govuk-gutter-half;
|
|
325
325
|
float: left;
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
@include govuk-shape-arrow($direction: up, $base: 10px, $display: inline-block);
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
@
|
|
364
|
+
@media #{govuk-from-breakpoint(mobile)} {
|
|
365
365
|
position: absolute;
|
|
366
366
|
// calculate top offset by:
|
|
367
367
|
// - getting the vertical spacing for the top and the bottom of the header
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
margin: 0;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
@
|
|
377
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
378
378
|
top: govuk-spacing(3);
|
|
379
379
|
}
|
|
380
380
|
|
|
@@ -389,13 +389,13 @@
|
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
.govuk-header__navigation {
|
|
392
|
-
@
|
|
392
|
+
@media #{govuk-until-breakpoint(mobile)} {
|
|
393
393
|
@include _govuk-rebrand {
|
|
394
394
|
padding-bottom: govuk-spacing(3);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
@
|
|
398
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
399
399
|
margin-bottom: govuk-spacing(2);
|
|
400
400
|
|
|
401
401
|
@include _govuk-rebrand {
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
|
|
413
413
|
.govuk-header__service-name + .govuk-header__navigation {
|
|
414
414
|
@include _govuk-rebrand {
|
|
415
|
-
@
|
|
415
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
416
416
|
// If there's both a service name and navigation,
|
|
417
417
|
// remove the extra padding between them on desktop
|
|
418
418
|
padding-top: 0;
|
|
@@ -434,14 +434,14 @@
|
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
@include _govuk-rebrand {
|
|
437
|
-
@
|
|
437
|
+
@media #{govuk-from-breakpoint(mobile)} and #{govuk-until-breakpoint(desktop)} {
|
|
438
438
|
padding-bottom: govuk-spacing(3);
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
.govuk-header__navigation--end {
|
|
444
|
-
@
|
|
444
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
445
445
|
margin: 0;
|
|
446
446
|
padding: govuk-spacing(1) 0;
|
|
447
447
|
text-align: right;
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
padding: govuk-spacing(2) 0;
|
|
453
453
|
border-bottom: 1px solid $govuk-header-nav-item-border-color;
|
|
454
454
|
|
|
455
|
-
@
|
|
455
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
456
456
|
display: inline-block;
|
|
457
457
|
margin-right: govuk-spacing(3);
|
|
458
458
|
padding: govuk-spacing(1) 0;
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
padding-top: govuk-spacing(3);
|
|
471
471
|
|
|
472
472
|
// ...except on desktop
|
|
473
|
-
@
|
|
473
|
+
@media #{govuk-from-breakpoint(desktop)} {
|
|
474
474
|
padding-top: govuk-spacing(1);
|
|
475
475
|
}
|
|
476
476
|
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
|
|
504
504
|
// When printing, use the normal blue as this contrasts better with the
|
|
505
505
|
// white printing header
|
|
506
|
-
@
|
|
506
|
+
@media print {
|
|
507
507
|
color: $govuk-brand-colour;
|
|
508
508
|
}
|
|
509
509
|
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
border-bottom: 0;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
@
|
|
527
|
+
@media print {
|
|
528
528
|
.govuk-header {
|
|
529
529
|
border-bottom-width: 0;
|
|
530
530
|
color: govuk-colour("black");
|
|
@@ -23,15 +23,7 @@
|
|
|
23
23
|
appearance: none;
|
|
24
24
|
|
|
25
25
|
&:focus {
|
|
26
|
-
|
|
27
|
-
// Ensure outline appears outside of the element
|
|
28
|
-
outline-offset: 0;
|
|
29
|
-
// Double the border by adding its width again. Use `box-shadow` for this
|
|
30
|
-
// instead of changing `border-width` - this is for consistency with
|
|
31
|
-
// components such as textarea where we avoid changing `border-width` as
|
|
32
|
-
// it will change the element size. Also, `outline` cannot be utilised
|
|
33
|
-
// here as it is already used for the yellow focus state.
|
|
34
|
-
box-shadow: inset 0 0 0 $govuk-border-width-form-element;
|
|
26
|
+
@include govuk-focused-form-input;
|
|
35
27
|
}
|
|
36
28
|
|
|
37
29
|
&:disabled {
|
|
@@ -109,7 +101,7 @@
|
|
|
109
101
|
}
|
|
110
102
|
|
|
111
103
|
// Split prefix/suffix onto separate lines on narrow screens
|
|
112
|
-
@
|
|
104
|
+
@media #{govuk-until-breakpoint(mobile)} {
|
|
113
105
|
display: block;
|
|
114
106
|
|
|
115
107
|
.govuk-input {
|
|
@@ -138,7 +130,7 @@
|
|
|
138
130
|
cursor: default;
|
|
139
131
|
flex: 0 0 auto;
|
|
140
132
|
// Split prefix/suffix onto separate lines on narrow screens
|
|
141
|
-
@
|
|
133
|
+
@media #{govuk-until-breakpoint(mobile)} {
|
|
142
134
|
display: block;
|
|
143
135
|
height: 100%;
|
|
144
136
|
white-space: normal;
|
|
@@ -146,20 +138,20 @@
|
|
|
146
138
|
}
|
|
147
139
|
|
|
148
140
|
.govuk-input__prefix {
|
|
149
|
-
@
|
|
141
|
+
@media #{govuk-until-breakpoint(mobile)} {
|
|
150
142
|
border-bottom: 0;
|
|
151
143
|
}
|
|
152
|
-
@
|
|
144
|
+
@media #{govuk-from-breakpoint(mobile)} {
|
|
153
145
|
border-right: 0;
|
|
154
146
|
}
|
|
155
147
|
}
|
|
156
148
|
|
|
157
149
|
// Split prefix/suffix onto separate lines on narrow screens
|
|
158
150
|
.govuk-input__suffix {
|
|
159
|
-
@
|
|
151
|
+
@media #{govuk-until-breakpoint(mobile)} {
|
|
160
152
|
border-top: 0;
|
|
161
153
|
}
|
|
162
|
-
@
|
|
154
|
+
@media #{govuk-from-breakpoint(mobile)} {
|
|
163
155
|
border-left: 0;
|
|
164
156
|
}
|
|
165
157
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
// text in high contrast mode
|
|
20
20
|
border-bottom: 1px solid transparent;
|
|
21
21
|
|
|
22
|
-
@
|
|
22
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
23
23
|
padding: 2px govuk-spacing(4) govuk-spacing(1);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
background-color: $govuk-body-background-colour;
|
|
43
43
|
|
|
44
|
-
@
|
|
44
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
45
45
|
padding: $padding-tablet;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
align-items: center;
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
|
|
11
|
-
@
|
|
11
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
12
12
|
flex-direction: row;
|
|
13
13
|
align-items: flex-start;
|
|
14
14
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
// visually sit in the middle of their touch area
|
|
46
46
|
text-align: center;
|
|
47
47
|
|
|
48
|
-
@
|
|
48
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
49
49
|
display: block;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
// Only show first, last and non-link items on mobile
|
|
74
74
|
.govuk-pagination__item--current,
|
|
75
|
+
.govuk-pagination__item--ellipsis,
|
|
75
76
|
.govuk-pagination__item--ellipses,
|
|
76
77
|
.govuk-pagination__item:first-child,
|
|
77
78
|
.govuk-pagination__item:last-child {
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
.govuk-pagination__item--ellipsis,
|
|
95
97
|
.govuk-pagination__item--ellipses {
|
|
96
98
|
@include govuk-typography-weight-bold;
|
|
97
99
|
color: $govuk-secondary-text-colour;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
|
|
14
|
-
@
|
|
14
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
15
15
|
padding: govuk-spacing(if($govuk-new-typography-scale, 4, 3)) - $govuk-border-width;
|
|
16
16
|
|
|
17
17
|
// This is an if-all-else-fails attempt to stop long words from
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
color: govuk-colour("white");
|
|
37
37
|
background: govuk-colour("green");
|
|
38
38
|
|
|
39
|
-
@
|
|
39
|
+
@media print {
|
|
40
40
|
border-color: currentcolor;
|
|
41
41
|
color: $govuk-print-text-colour;
|
|
42
42
|
background: none;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// breakpoint
|
|
9
9
|
// - being display: flex above the mobile breakpoint
|
|
10
10
|
|
|
11
|
-
@
|
|
11
|
+
@media #{govuk-from-breakpoint(mobile)} {
|
|
12
12
|
flex-direction: row;
|
|
13
13
|
|
|
14
14
|
// The default of `stretch` makes the toggle button appear taller than the
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
display: none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
@
|
|
44
|
+
@media #{govuk-from-breakpoint(mobile)} {
|
|
45
45
|
// Buttons are normally 100% wide on mobile, but we don't want that here
|
|
46
46
|
width: auto;
|
|
47
47
|
flex-shrink: 0;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
// =========================================================
|
|
146
146
|
|
|
147
147
|
.govuk-radios--inline {
|
|
148
|
-
@
|
|
148
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
149
149
|
display: flex;
|
|
150
150
|
flex-wrap: wrap;
|
|
151
151
|
align-items: flex-start;
|
|
@@ -24,13 +24,7 @@
|
|
|
24
24
|
background-color: govuk-colour("white");
|
|
25
25
|
|
|
26
26
|
&:focus {
|
|
27
|
-
|
|
28
|
-
// Ensure outline appears outside of the element
|
|
29
|
-
outline-offset: 0;
|
|
30
|
-
// Double the border by adding its width again. Use `box-shadow` to do
|
|
31
|
-
// this instead of changing `border-width` (which changes element size)
|
|
32
|
-
// and since `outline` is already used for the yellow focus state.
|
|
33
|
-
box-shadow: inset 0 0 0 $govuk-border-width-form-element;
|
|
27
|
+
@include govuk-focused-form-input;
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
&:disabled {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
align-items: start;
|
|
29
29
|
|
|
30
|
-
@
|
|
30
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
31
31
|
flex-direction: row;
|
|
32
32
|
flex-wrap: wrap;
|
|
33
33
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
margin: govuk-spacing(2) 0;
|
|
42
42
|
border: 0 solid $govuk-service-navigation-link-colour;
|
|
43
43
|
|
|
44
|
-
@
|
|
44
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
45
45
|
// inline-block is used as a fallback for browsers that don't support flexbox
|
|
46
46
|
display: inline-block;
|
|
47
47
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.govuk-service-navigation__item--active {
|
|
81
|
-
@
|
|
81
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
82
82
|
// Negative offset the left margin so we can place a current page indicator
|
|
83
83
|
// to the left without misaligning the list item text.
|
|
84
84
|
margin-left: ((govuk-spacing(2) + $govuk-service-navigation-active-link-border-width) * -1);
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
border-left-width: $govuk-service-navigation-active-link-border-width;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
@
|
|
89
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
90
90
|
@include _govuk-rebrand(
|
|
91
91
|
"padding-bottom",
|
|
92
92
|
$from: govuk-spacing(4) - $govuk-service-navigation-active-link-border-width,
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
// readers would pointlessly announce.
|
|
185
185
|
// - Fixes an NVDA issue in Firefox and Chrome <= 124 where it would read
|
|
186
186
|
// all of the links as a run-on sentence.
|
|
187
|
-
@
|
|
187
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
188
188
|
display: flex;
|
|
189
189
|
flex-wrap: wrap;
|
|
190
190
|
margin-bottom: 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.govuk-summary-list {
|
|
3
3
|
@include govuk-font($size: 19);
|
|
4
4
|
@include govuk-text-colour;
|
|
5
|
-
@
|
|
5
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
6
6
|
display: table;
|
|
7
7
|
width: 100%;
|
|
8
8
|
table-layout: fixed; // Required to allow us to wrap words that overflow.
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
.govuk-summary-list__row {
|
|
16
16
|
border-bottom: 1px solid $govuk-border-colour;
|
|
17
17
|
|
|
18
|
-
@
|
|
18
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
19
19
|
margin-bottom: govuk-spacing(3);
|
|
20
20
|
}
|
|
21
|
-
@
|
|
21
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
22
22
|
display: table-row;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
// Provide an empty 'cell' for rows that don't have actions – otherwise the
|
|
32
32
|
// bottom border is not drawn for that part of the row in some browsers.
|
|
33
33
|
.govuk-summary-list__row--no-actions {
|
|
34
|
-
@
|
|
34
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
35
35
|
&::after {
|
|
36
36
|
content: "";
|
|
37
37
|
display: table-cell;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
.govuk-summary-list__actions {
|
|
46
46
|
margin: 0; // Reset default user agent styles
|
|
47
47
|
|
|
48
|
-
@
|
|
48
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
49
49
|
display: table-cell;
|
|
50
50
|
padding-top: govuk-spacing(2);
|
|
51
51
|
padding-right: govuk-spacing(4);
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
.govuk-summary-list__actions {
|
|
57
57
|
margin-bottom: govuk-spacing(3);
|
|
58
|
-
@
|
|
58
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
59
59
|
width: 20%;
|
|
60
60
|
text-align: right;
|
|
61
61
|
}
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
.govuk-summary-list__key {
|
|
72
72
|
margin-bottom: govuk-spacing(1);
|
|
73
73
|
@include govuk-typography-weight-bold;
|
|
74
|
-
@
|
|
74
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
75
75
|
width: 30%;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.govuk-summary-list__value {
|
|
80
|
-
@
|
|
80
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
81
81
|
margin-bottom: govuk-spacing(3);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
display: inline-block;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
@
|
|
104
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
105
105
|
.govuk-summary-list__actions-list-item,
|
|
106
106
|
.govuk-summary-card__action {
|
|
107
107
|
margin-right: govuk-spacing(2);
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
@
|
|
120
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
121
121
|
.govuk-summary-list__actions-list-item,
|
|
122
122
|
.govuk-summary-card__action {
|
|
123
123
|
margin-left: govuk-spacing(2);
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// Increase padding by 1px to compensate for 'missing' border
|
|
156
|
-
@
|
|
156
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
157
157
|
.govuk-summary-list__key,
|
|
158
158
|
.govuk-summary-list__value,
|
|
159
159
|
.govuk-summary-list__actions {
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
border: 0;
|
|
168
168
|
|
|
169
169
|
// Increase padding by 1px to compensate for 'missing' border
|
|
170
|
-
@
|
|
170
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
171
171
|
.govuk-summary-list__key,
|
|
172
172
|
.govuk-summary-list__value,
|
|
173
173
|
.govuk-summary-list__actions {
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
border-bottom: 1px solid transparent;
|
|
191
191
|
background-color: govuk-colour("light-grey");
|
|
192
192
|
|
|
193
|
-
@
|
|
193
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
194
194
|
display: flex;
|
|
195
195
|
justify-content: space-between;
|
|
196
196
|
flex-wrap: nowrap;
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
@include govuk-text-colour;
|
|
204
204
|
margin: govuk-spacing(1) govuk-spacing(4) govuk-spacing(2) 0;
|
|
205
205
|
|
|
206
|
-
@
|
|
206
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
207
207
|
margin-bottom: govuk-spacing(1);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
padding: 0;
|
|
219
219
|
list-style: none;
|
|
220
220
|
|
|
221
|
-
@
|
|
221
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
222
222
|
justify-content: right;
|
|
223
223
|
text-align: right;
|
|
224
224
|
}
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
.govuk-summary-card__content {
|
|
252
252
|
padding: govuk-spacing(3) govuk-spacing(3) 0;
|
|
253
253
|
|
|
254
|
-
@
|
|
254
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
255
255
|
padding: govuk-spacing(3) govuk-spacing(4);
|
|
256
256
|
}
|
|
257
257
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// Modifier for tables with a lot of data. Tables with lots of data benefit
|
|
14
14
|
// from a smaller font size on small screens.
|
|
15
15
|
.govuk-table--small-text-until-tablet {
|
|
16
|
-
@
|
|
16
|
+
@media #{govuk-until-breakpoint(tablet)} {
|
|
17
17
|
@include govuk-font-size($size: 16);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -21,13 +21,7 @@
|
|
|
21
21
|
-webkit-appearance: none;
|
|
22
22
|
|
|
23
23
|
&:focus {
|
|
24
|
-
|
|
25
|
-
// Ensure outline appears outside of the element
|
|
26
|
-
outline-offset: 0;
|
|
27
|
-
// Double the border by adding its width again. Use `box-shadow` to do
|
|
28
|
-
// this instead of changing `border-width` (which changes element size)
|
|
29
|
-
// and since `outline` is already used for the yellow focus state.
|
|
30
|
-
box-shadow: inset 0 0 0 $govuk-border-width-form-element;
|
|
24
|
+
@include govuk-focused-form-input;
|
|
31
25
|
}
|
|
32
26
|
|
|
33
27
|
&:disabled {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// This variable is automatically overwritten during builds and releases.
|
|
3
3
|
// It doesn't need to be updated manually.
|
|
4
|
-
--govuk-frontend-version: "5.
|
|
4
|
+
--govuk-frontend-version: "5.13.0";
|
|
5
5
|
|
|
6
6
|
// CSS custom property for each breakpoint
|
|
7
7
|
@each $name, $value in $govuk-breakpoints {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
%govuk-list--number > li {
|
|
39
39
|
margin-bottom: 0;
|
|
40
40
|
|
|
41
|
-
@
|
|
41
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
42
42
|
margin-bottom: govuk-spacing(1);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
%govuk-list--spaced > li {
|
|
47
47
|
margin-bottom: govuk-spacing(2);
|
|
48
48
|
|
|
49
|
-
@
|
|
49
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
50
50
|
margin-bottom: govuk-spacing(3);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
margin-bottom: govuk-spacing(1);
|
|
78
78
|
color: $govuk-secondary-text-colour;
|
|
79
79
|
|
|
80
|
-
@
|
|
80
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
81
81
|
margin-bottom: 0;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
%govuk-body-l + %govuk-heading-l {
|
|
162
162
|
padding-top: govuk-spacing(1);
|
|
163
163
|
|
|
164
|
-
@
|
|
164
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
165
165
|
padding-top: govuk-spacing(2);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
%govuk-list + %govuk-heading-s {
|
|
181
181
|
padding-top: govuk-spacing(1);
|
|
182
182
|
|
|
183
|
-
@
|
|
183
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
184
184
|
padding-top: govuk-spacing(2);
|
|
185
185
|
}
|
|
186
186
|
}
|