@ministryofjustice/hmpps-digital-prison-reporting-frontend 3.7.5 → 3.7.7

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.
package/dpr/all.scss CHANGED
@@ -5,143 +5,147 @@ $govuk-assets-path: "/assets/govuk/";
5
5
 
6
6
  @import 'govuk/all';
7
7
 
8
- .accordion-section {
8
+ .dpr-accordion-section {
9
9
  margin-bottom: govuk-spacing(6);
10
10
  position: relative;
11
- }
12
11
 
13
- .accordion-section-row {
14
- position: relative;
15
- }
12
+ .accordion-section-row {
13
+ position: relative;
14
+ }
16
15
 
17
- .accordion-section-button {
18
- min-width: 130px;
19
- padding-right: govuk-spacing(3);
20
- }
16
+ .accordion-section-button {
17
+ min-width: 130px;
18
+ padding-right: govuk-spacing(3);
19
+ }
20
+
21
+ .accordion-details.disabled {
22
+ pointer-events: none;
21
23
 
22
- .accordion-details.disabled {
23
- pointer-events: none;
24
- .govuk-details__summary-text, .govuk-details__summary:before {
25
- opacity: .5
24
+ .govuk-details__summary-text, .govuk-details__summary:before {
25
+ opacity: .5
26
+ }
26
27
  }
27
- }
28
28
 
29
- .accordion-details {
30
- padding-top: govuk-spacing(2);
31
- padding-bottom: govuk-spacing(1);
29
+ .accordion-details {
30
+ padding-top: govuk-spacing(2);
31
+ padding-bottom: govuk-spacing(1);
32
32
 
33
- .govuk-details__text {
34
- border-left: none;
35
- border-bottom: 1px Solid govuk-colour("mid-grey");
36
- padding: 15px 0px;
33
+ .govuk-details__text {
34
+ border-left: none;
35
+ border-bottom: 1px Solid govuk-colour("mid-grey");
36
+ padding: 15px 0;
37
+ }
37
38
  }
38
- }
39
39
 
40
- .accordion-section-header {
41
- position: absolute;
42
- width: calc(100% - 120px);
43
- left: 120px;
44
- top: 1px;
40
+ .accordion-section-header {
41
+ position: absolute;
42
+ width: calc(100% - 120px);
43
+ left: 120px;
44
+ top: 1px;
45
45
 
46
- @media(max-width: 640px) {
46
+ @media(max-width: 640px) {
47
47
  top: -1px;
48
+ }
48
49
  }
49
- }
50
50
 
51
- .accordion-section-header-scroll {
52
- width: auto;
53
- position: relative;
54
- overflow-x: scroll;
55
- overflow-y: hidden;
56
- white-space: nowrap;
57
- }
51
+ .accordion-section-header-scroll {
52
+ width: auto;
53
+ position: relative;
54
+ overflow-x: scroll;
55
+ overflow-y: hidden;
56
+ white-space: nowrap;
57
+ }
58
58
 
59
- .accordion-summary-remove-button {
60
- display: inline-block;
61
- padding: govuk-spacing(2);
62
- background-color: transparent;
63
- position: relative;
64
- cursor: pointer;
65
- text-decoration: underline !important;
66
- text-underline-offset: 4px;
67
- color: govuk-colour("blue");
68
- text-decoration-color: govuk-colour("blue");
69
- text-decoration-thickness: 1px !important;
70
- box-shadow: none;
71
-
72
- &:hover {
59
+ .accordion-summary-remove-button {
60
+ display: inline-block;
61
+ padding: govuk-spacing(2);
62
+ background-color: transparent;
63
+ position: relative;
64
+ cursor: pointer;
65
+ text-decoration: underline !important;
66
+ text-underline-offset: 4px;
67
+ color: govuk-colour("blue");
68
+ text-decoration-color: govuk-colour("blue");
69
+ text-decoration-thickness: 1px !important;
73
70
  box-shadow: none;
74
- text-decoration: none;
75
- color: govuk-colour("black");
71
+
72
+ &:hover {
73
+ background-color: #e8f1f8;
74
+ box-shadow: none;
75
+ text-decoration: none;
76
+ color: govuk-colour("black");
77
+ }
76
78
  }
77
- }
78
79
 
79
- .accordion-summary-remove-button:hover:after {
80
- background-image: url(#{$dpr-images-path}icon-tag-remove-cross.svg);
81
- content: "";
82
- display: inline-block;
83
- font-weight: bold;
84
- height: 10px;
85
- margin-left: 5px;
86
- vertical-align: middle;
87
- width: 10px;
88
- }
80
+ .accordion-summary-remove-button:hover:after {
81
+ background-image: url(#{$dpr-images-path}icon-tag-remove-cross.svg);
82
+ content: "";
83
+ display: inline-block;
84
+ font-weight: bold;
85
+ height: 10px;
86
+ margin-left: 5px;
87
+ vertical-align: middle;
88
+ width: 10px;
89
+ }
89
90
 
90
- .accordion-summary-remove-button:after {
91
- display: none;
92
- }
91
+ .accordion-summary-remove-button:after {
92
+ display: none;
93
+ }
93
94
 
94
- .accordion-summary-show-accordion-button {
95
- margin-right: 10px;
96
- }
95
+ .accordion-summary-show-accordion-button {
96
+ margin-right: 10px;
97
+ }
97
98
 
98
- .selected-accordion-button {
99
- display: inline-block;
100
- }
99
+ .selected-accordion-button {
100
+ display: inline-block;
101
+ }
101
102
 
102
- @media print {
103
- .accordion-section {
103
+ .govuk-details__summary-text {
104
+ text-underline-offset: 4px;
105
+ }
106
+
107
+ @media print {
104
108
  margin-bottom: govuk-spacing(3);
105
109
 
106
110
  .accordion-section-row--Columns {
107
111
  display: none;
108
112
  }
109
- }
110
-
111
- .accordion-section-header {
112
- position: relative;
113
- left: 0;
114
- margin-bottom: govuk-spacing(1);
115
-
116
- .selected-accordion-button {
117
- display: block;
118
- }
119
113
 
120
- a.govuk-button--inverse.accordion-summary-remove-button {
121
- text-decoration: none !important;
122
- color: black;
123
- font-size: 14px;
114
+ .accordion-section-header {
124
115
  position: relative;
125
- padding: 0 0 govuk-spacing(1);
116
+ left: 0;
117
+ margin-bottom: govuk-spacing(1);
118
+
119
+ .selected-accordion-button {
120
+ display: block;
121
+ }
122
+
123
+ a.govuk-button--inverse.accordion-summary-remove-button {
124
+ text-decoration: none !important;
125
+ color: black;
126
+ font-size: 14px;
127
+ position: relative;
128
+ padding: 0 0 govuk-spacing(1);
129
+ }
126
130
  }
127
131
  }
128
- }
129
132
 
130
- ::-webkit-scrollbar {
131
- height: 6px;
132
- width: 0;
133
- }
133
+ ::-webkit-scrollbar {
134
+ height: 6px;
135
+ width: 0;
136
+ }
134
137
 
135
- /* Track */
136
- ::-webkit-scrollbar-track {
137
- background: none;
138
- }
139
-
140
- /* Handle */
141
- ::-webkit-scrollbar-thumb {
142
- background: govuk-colour("mid-grey");
138
+ /* Track */
139
+ ::-webkit-scrollbar-track {
140
+ background: none;
141
+ }
142
+
143
+ /* Handle */
144
+ ::-webkit-scrollbar-thumb {
145
+ background: govuk-colour("mid-grey");
146
+ }
143
147
  }
144
- .autocomplete-text-input {
148
+ .dpr-autocomplete-text-input {
145
149
  position: relative;
146
150
 
147
151
  ul {
@@ -181,95 +185,75 @@ $govuk-assets-path: "/assets/govuk/";
181
185
  }
182
186
 
183
187
  // VARIANT 1 STYLES
188
+ .dpr-card-group-v1 {
189
+ .card {
190
+ margin-bottom: 30px;
191
+ background: #fff;
192
+ border: 1px solid #d9dadb;
193
+ position: relative;
194
+ padding: 25px;
184
195
 
185
- .card {
186
- margin-bottom: 30px;
187
- background: #fff;
188
- border: 1px solid #d9dadb;
189
- position: relative;
190
- padding: 25px;
191
-
192
- @media(min-width: 769px) and (max-width: 1019px) {
193
- margin-bottom: 10px;
194
- }
196
+ @media(min-width: 769px) and (max-width: 1019px) {
197
+ margin-bottom: 10px;
198
+ }
195
199
 
196
- @media(max-width: 768px) {
197
- margin-bottom: 0px;
198
- min-height: 0px !important;
199
- a, p {
200
- font-size: 18px !important;
200
+ @media(max-width: 768px) {
201
+ margin-bottom: 0;
202
+ min-height: 0 !important;
203
+ a, p {
204
+ font-size: 18px !important;
205
+ }
201
206
  }
202
207
  }
203
- }
204
208
 
205
- .card-wrapper {
206
- position: relative;
207
- height: 100%;
208
- }
209
+ .card-wrapper {
210
+ position: relative;
211
+ height: 100%;
212
+ }
209
213
 
210
- .card__heading {
211
- margin-top: 0;
212
- margin-bottom: 15px
213
- }
214
+ .card__heading {
215
+ margin-top: 0;
216
+ margin-bottom: 15px
217
+ }
214
218
 
215
- .card__description {
216
- margin-bottom: 0
217
- }
219
+ .card__description {
220
+ margin-bottom: 0
221
+ }
218
222
 
219
- .card--clickable {
220
- border-bottom-width: 5px
221
- }
223
+ .card--clickable {
224
+ border-bottom-width: 5px
225
+ }
222
226
 
223
- .card--clickable:hover,.card--clickable:active {
224
- cursor: pointer
225
- }
227
+ .card--clickable:hover, .card--clickable:active {
228
+ cursor: pointer
229
+ }
226
230
 
227
- .card--clickable:hover .card__heading a,.card--clickable:hover .card__link,.card--clickable:active .card__heading a,.card--clickable:active .card__link {
228
- color: #003078;
229
- text-decoration: none
230
- }
231
+ .card--clickable:hover .card__heading a, .card--clickable:hover .card__link, .card--clickable:active .card__heading a, .card--clickable:active .card__link {
232
+ color: #003078;
233
+ text-decoration: none
234
+ }
231
235
 
232
- .card--clickable:hover .card__heading a:focus,.card--clickable:hover .card__link:focus,.card--clickable:active .card__heading a:focus,.card--clickable:active .card__link:focus {
233
- outline: 3px solid transparent;
234
- color: #0b0c0c;
235
- background-color: #fd0;
236
- box-shadow: 0 -2px #fd0,0 4px #0b0c0c;
237
- text-decoration: none
238
- }
236
+ .card--clickable:hover .card__heading a:focus, .card--clickable:hover .card__link:focus, .card--clickable:active .card__heading a:focus, .card--clickable:active .card__link:focus {
237
+ outline: 3px solid transparent;
238
+ color: #0b0c0c;
239
+ background-color: #fd0;
240
+ box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
241
+ text-decoration: none
242
+ }
239
243
 
240
- .card--clickable:hover {
241
- border-color: #b1b4b6
242
- }
244
+ .card--clickable:hover {
245
+ border-color: #b1b4b6
246
+ }
243
247
 
244
- .card--clickable:active {
245
- border-color: #b1b4b6;
246
- bottom: -1px
248
+ .card--clickable:active {
249
+ border-color: #b1b4b6;
250
+ bottom: -1px
251
+ }
247
252
  }
248
-
249
253
  // === END VARIANT 1 STYLES ===
250
254
 
251
255
  // === VARIANT 2 STYLES ===
252
-
253
- .dpr-card-group {
254
- display: grid;
255
- grid-template-columns: 1fr 1fr 1fr;
256
- column-gap: 30px;
257
- row-gap: 20px;
258
-
259
- @media(min-width: 769px) and (max-width: 1019px) {
260
- grid-template-columns: 1fr 1fr;
261
- }
262
-
263
- @media(max-width: 768px) {
264
- grid-template-columns: 1fr;
265
-
266
- a,
267
- p {
268
- font-size: 16px;
269
- }
270
- }
271
-
272
-
256
+ .dpr-card-group-v2 {
273
257
  .dpr-card-group__item {
274
258
  min-height: 120px;
275
259
  position: relative;
@@ -296,207 +280,226 @@ $govuk-assets-path: "/assets/govuk/";
296
280
  }
297
281
  }
298
282
  }
299
-
300
283
  // === END VARIANT 2 STYLES ===
301
284
 
302
- .card-loading {
303
- pointer-events: none;
304
- }
285
+ .dpr-card-group {
286
+ .card-loading {
287
+ pointer-events: none;
288
+ }
305
289
 
306
- .card-disabled {
307
- pointer-events: none;
308
- }
290
+ .card-disabled {
291
+ pointer-events: none;
292
+ }
293
+
294
+ .card-disabled:hover {
295
+ pointer-events: none;
296
+ border: 1px solid #d9dadb;
297
+ bottom: 0;
298
+ }
299
+
300
+ display: grid;
301
+ grid-template-columns: 1fr 1fr 1fr;
302
+ column-gap: 30px;
303
+ row-gap: 20px;
304
+
305
+ @media(min-width: 769px) and (max-width: 1019px) {
306
+ grid-template-columns: 1fr 1fr;
307
+ }
309
308
 
310
- .card-disabled:hover {
311
- pointer-events: none;
312
- border: 1px solid #d9dadb;
313
- bottom: 0px;
309
+ @media(max-width: 768px) {
310
+ grid-template-columns: 1fr;
311
+
312
+ a,
313
+ p {
314
+ font-size: 16px;
315
+ }
316
+ }
314
317
  }
315
318
  #user-selected-columns-form {
316
319
  margin-left: govuk-spacing(2);
317
- }
318
320
 
319
- .columns-container {
320
- position: relative;
321
-
322
- .govuk-checkboxes.govuk-checkboxes--small {
323
- display: grid;
324
- grid-template-columns: 1fr 1fr 1fr;
325
- column-gap: 10px;
321
+ .columns-container {
322
+ position: relative;
326
323
 
327
- @media(min-width: 769px) and (max-width: 1019px) {
324
+ .govuk-checkboxes.govuk-checkboxes--small {
325
+ display: grid;
326
+ grid-template-columns: 1fr 1fr 1fr;
327
+ column-gap: 10px;
328
+
329
+ @media(min-width: 769px) and (max-width: 1019px) {
328
330
  grid-template-columns: 1fr 1fr;
329
331
  }
330
-
331
- @media(max-width: 768px) {
332
- grid-template-columns: 1fr;
332
+
333
+ @media(max-width: 768px) {
334
+ grid-template-columns: 1fr;
335
+ }
333
336
  }
334
337
  }
335
338
  }
336
339
 
337
- .columns-header {
338
- padding-left: 10px;
339
- padding-top: 10px;
340
- }
341
340
  // Cannibalised from MoJ sortable table
342
341
 
343
- .data-table-header-button {
344
- background-color: transparent;
345
- border-width: 0;
346
- -webkit-box-decoration-break: clone;
347
- box-decoration-break: clone;
348
- -webkit-box-shadow: 0 0 0 0;
349
- -moz-box-shadow: 0 0 0 0;
350
- box-shadow: 0 0 0 0;
351
- color: #005ea5;
352
- cursor: pointer;
353
- font-family: inherit;
354
- font-size: 1em;
355
- font-weight: inherit;
356
- margin: 0;
357
- padding: 0 10px 0 0;
358
- position: relative;
359
- text-align: inherit;
360
- text-decoration: none;
361
- white-space: nowrap;
362
- }
342
+ .table-container {
343
+ .data-table-header-button {
344
+ background-color: transparent;
345
+ border-width: 0;
346
+ -webkit-box-decoration-break: clone;
347
+ box-decoration-break: clone;
348
+ -webkit-box-shadow: 0 0 0 0;
349
+ -moz-box-shadow: 0 0 0 0;
350
+ box-shadow: 0 0 0 0;
351
+ color: #005ea5;
352
+ cursor: pointer;
353
+ font-family: inherit;
354
+ font-size: 1em;
355
+ font-weight: inherit;
356
+ margin: 0;
357
+ padding: 0 10px 0 0;
358
+ position: relative;
359
+ text-align: inherit;
360
+ text-decoration: none;
361
+ white-space: nowrap;
362
+ }
363
363
 
364
- .data-table-header-button-sort-none:before {
365
- content: " \25bc";
366
- position: absolute;
367
- right: -1px;
368
- top: 9px;
369
- font-size: 0.5em;
370
- }
364
+ .data-table-header-button-sort-none:before {
365
+ content: " \25bc";
366
+ position: absolute;
367
+ right: -1px;
368
+ top: 9px;
369
+ font-size: 0.5em;
370
+ }
371
371
 
372
- .data-table-header-button-sort-none:after {
373
- content: " \25b2";
374
- position: absolute;
375
- right: -1px;
376
- top: 1px;
377
- font-size: 0.5em;
378
- }
372
+ .data-table-header-button-sort-none:after {
373
+ content: " \25b2";
374
+ position: absolute;
375
+ right: -1px;
376
+ top: 1px;
377
+ font-size: 0.5em;
378
+ }
379
379
 
380
- .data-table-header-button-sort-ascending:after {
381
- content: " \25b2";
382
- font-size: .8em;
383
- position: absolute;
384
- right: -5px;
385
- top: 2px;
386
- }
380
+ .data-table-header-button-sort-ascending:after {
381
+ content: " \25b2";
382
+ font-size: .8em;
383
+ position: absolute;
384
+ right: -5px;
385
+ top: 2px;
386
+ }
387
387
 
388
- .data-table-header-button-sort-descending:after {
389
- content: " \25bc";
390
- font-size: .8em;
391
- position: absolute;
392
- right: -5px;
393
- top: 2px;
394
- }
388
+ .data-table-header-button-sort-descending:after {
389
+ content: " \25bc";
390
+ font-size: .8em;
391
+ position: absolute;
392
+ right: -5px;
393
+ top: 2px;
394
+ }
395
395
 
396
- .data-table-cell-wrap-none {
397
- white-space: nowrap;
398
- }
396
+ .data-table-cell-wrap-none {
397
+ white-space: nowrap;
398
+ }
399
399
 
400
- .data-table-cell-wrap-normal {
401
- white-space: normal;
402
- }
400
+ .data-table-cell-wrap-normal {
401
+ white-space: normal;
402
+ }
403
403
 
404
- .data-table-cell-wrap-break-words {
405
- word-break: break-all;
406
- }
404
+ .data-table-cell-wrap-break-words {
405
+ word-break: break-all;
406
+ }
407
407
 
408
- #pageSize {
409
- min-width: 5em;
410
- }
408
+ #pageSize {
409
+ min-width: 5em;
410
+ }
411
411
 
412
- .govuk-table__cell--content {
413
- text-align: center;
414
- }
412
+ .govuk-table__cell--content {
413
+ text-align: center;
414
+ }
415
415
 
416
- .data-table-empty-message {
417
- text-align: center;
418
- position: relative;
419
- }
416
+ .table-container {
417
+ position: relative;
418
+ }
420
419
 
421
- .table-container {
422
- position: relative;
423
- }
420
+ a.disabled {
421
+ pointer-events: none;
422
+ cursor: default;
423
+ opacity: 0.5;
424
+ }
424
425
 
425
- a.disabled {
426
- pointer-events: none;
427
- cursor: default;
428
- opacity: 0.5;
429
- }
426
+ .pagination {
427
+ overflow: auto;
428
+ }
430
429
 
431
- .pagination {
432
- overflow: auto;
433
- }
430
+ .data-table-page-size-container {
431
+ height: 40px;
432
+ }
434
433
 
435
- .data-table-page-size-container {
436
- height: 40px;
437
- }
434
+ .data-table-page-size {
435
+ float: right;
438
436
 
439
- .data-table-page-size {
440
- float: right;
437
+ @media(max-width: 640px) {
438
+ width: 100%;
439
+ }
441
440
 
442
- @media(max-width: 640px) {
443
- width: 100%;
441
+ @media(max-width: 319px) {
442
+ .govuk-form-group {
443
+ margin-bottom: 0;
444
+ }
445
+ height: 72px;
446
+ margin-bottom: govuk-spacing(2);
447
+ }
444
448
  }
445
449
 
446
450
  @media(max-width: 319px) {
447
- .govuk-form-group {
448
- margin-bottom: 0;
451
+ #pageSize {
452
+ width: 100%;
449
453
  }
450
- height: 72px;
451
- margin-bottom: govuk-spacing(2);
452
454
  }
453
- }
454
455
 
455
- @media(max-width: 319px) {
456
- #pageSize {
457
- width: 100%;
456
+ .dpr-table-wrapper {
457
+ overflow: scroll;
458
458
  }
459
- }
460
459
 
461
- .dpr-table-wrapper {
462
- overflow: scroll;
463
- }
460
+ .table-row-count {
461
+ color: govuk-colour("dark-grey");
462
+ font-weight: 100;
463
+ text-align: right;
464
+ }
464
465
 
465
- .table-row-count {
466
- color: govuk-colour("dark-grey");
467
- font-weight: 100;
468
- text-align: right;
469
- }
466
+ .table-row--no-border {
467
+ border-bottom: none;
468
+ }
470
469
 
471
- .table-row--no-border {
472
- border-bottom: none;
473
- }
470
+ .table-row-count--top {
471
+ padding-bottom: govuk-spacing(0);
472
+ }
474
473
 
475
- .table-row-count--top {
476
- padding-bottom: govuk-spacing(0);
474
+ .table-row-count--bottom {
475
+ padding-top: govuk-spacing(2);
476
+ padding-bottom: govuk-spacing(2);
477
+ }
477
478
  }
478
479
 
479
- .table-row-count--bottom {
480
- padding-top: govuk-spacing(2);
481
- padding-bottom: govuk-spacing(2);
480
+ .data-table-empty-message {
481
+ text-align: center;
482
+ position: relative;
482
483
  }
483
- .date-range {
484
+
485
+ .date-range-date-range {
484
486
  .govuk-form-group {
485
- margin-bottom: 0px;
487
+ margin-bottom: 0;
486
488
  }
487
- }
488
489
 
489
- .daterange-set-to-minmax {
490
- cursor: pointer;
491
- text-align: right;
492
- margin-bottom: govuk-spacing(0);
493
- margin-top: govuk-spacing(1);
490
+ .daterange-set-to-minmax {
491
+ cursor: pointer;
492
+ text-align: right;
493
+ margin-bottom: govuk-spacing(0);
494
+ margin-top: govuk-spacing(1);
494
495
 
495
- &:hover {
496
- color: govuk-colour("light-blue")
496
+ &:hover {
497
+ color: govuk-colour("light-blue")
498
+ }
497
499
  }
498
500
  }
499
- .dropdown-button {
501
+
502
+ .dpr-dropdown-button {
500
503
  position: relative;
501
504
  float: right;
502
505
 
@@ -509,7 +512,7 @@ a.disabled {
509
512
  background-color: white;
510
513
  border-top: #b1b4b6 1px solid;
511
514
  display: none;
512
- right: 0px;
515
+ right: 0;
513
516
  list-style-type: none;
514
517
  margin: 0;
515
518
  padding: 0;
@@ -625,149 +628,160 @@ a.disabled {
625
628
  color: black;
626
629
  }
627
630
  }
628
- .filter-container {
629
- position: relative;
630
- display: grid;
631
- grid-template-columns: 1fr 1fr 1fr;
632
- column-gap: govuk-spacing(3);
633
- row-gap: govuk-spacing(3);
634
-
635
- @media(min-width: 769px) and (max-width: 1019px) {
636
- grid-template-columns: 1fr 1fr;
637
- }
638
-
639
- @media(max-width: 768px) {
640
- grid-template-columns: 1fr;
641
- }
642
- }
631
+ .dpr-filters {
632
+ .filter-container {
633
+ position: relative;
634
+ display: grid;
635
+ grid-template-columns: 1fr 1fr 1fr;
636
+ column-gap: govuk-spacing(3);
637
+ row-gap: govuk-spacing(3);
643
638
 
644
- .filter-item {
645
- border-bottom: 2px Solid govuk-colour("mid-grey");
646
- background-color: lighten(govuk-colour("light-grey"), 3%);
647
- padding: govuk-spacing(4);
639
+ @media(min-width: 769px) and (max-width: 1019px) {
640
+ grid-template-columns: 1fr 1fr;
641
+ }
648
642
 
649
- .govuk-form-group {
650
- margin-bottom: govuk-spacing(2);
643
+ @media(max-width: 768px) {
644
+ grid-template-columns: 1fr;
645
+ }
651
646
  }
652
- }
653
647
 
654
- .govuk-details__summary-text {
655
- text-underline-offset: 4px;
656
- }
657
-
658
- .filter-actions {
659
- margin-top: 15px;
660
- height: 40px;
648
+ .filter-item {
649
+ border-bottom: 2px Solid govuk-colour("mid-grey");
650
+ background-color: lighten(govuk-colour("light-grey"), 3%);
651
+ padding: govuk-spacing(4);
661
652
 
662
- @media(max-width: 768px) {
663
- height: 80px;
653
+ .govuk-form-group {
654
+ margin-bottom: govuk-spacing(2);
655
+ }
664
656
  }
665
657
 
666
- .filter-actions-buttons {
667
- float: right;
658
+ .filter-actions {
659
+ margin-top: 15px;
660
+ height: 40px;
668
661
 
669
662
  @media(max-width: 768px) {
670
- width: 100%;
663
+ height: 80px;
664
+ }
665
+
666
+ .filter-actions-buttons {
667
+ float: right;
668
+
669
+ @media(max-width: 768px) {
670
+ width: 100%;
671
+ }
671
672
  }
672
673
  }
673
674
  }
674
- .loading-panel {
675
+
676
+ .dpr-loading-panel {
675
677
  display: none;
676
678
  width: 100%;
677
679
  height: 100%;
678
680
  position: absolute;
679
- top: 0px;
680
- left: 0px;
681
+ top: 0;
682
+ left: 0;
681
683
  z-index: 2;
682
684
  justify-content: center;
683
685
  align-items: center;
684
- background-color: rgba(255,255,255,0.8);
685
- }
686
+ background-color: rgba(255, 255, 255, 0.8);
686
687
 
687
- .loading-panel.show {
688
- display: flex;
688
+ &.show {
689
+ display: flex;
690
+ }
689
691
  }
690
692
 
691
693
  .dpr-loading-anim {
692
694
  display: none;
693
- }
694
695
 
695
- .dpr-loading-anim.show {
696
+ &.show {
696
697
  display: inline-block;
697
698
  position: relative;
698
699
  width: 80px;
699
700
  height: 80px;
700
701
  }
701
702
 
702
- .dpr-loading-anim.show div {
703
- position: absolute;
704
- width: 6px;
705
- height: 6px;
706
- background: govuk-colour("light-blue");
707
- border-radius: 50%;
708
- animation: dpr-loading-anim 1.2s linear infinite;
709
- }
703
+ &.show div {
704
+ position: absolute;
705
+ width: 6px;
706
+ height: 6px;
707
+ background: govuk-colour("light-blue");
708
+ border-radius: 50%;
709
+ animation: dpr-loading-anim 1.2s linear infinite;
710
+ }
710
711
 
711
- .dpr-loading-anim.show div:nth-child(1) {
712
- animation-delay: 0s;
713
- top: 37px;
714
- left: 66px;
715
- }
716
- .dpr-loading-anim.show div:nth-child(2) {
717
- animation-delay: -0.1s;
718
- top: 22px;
719
- left: 62px;
720
- }
721
- .dpr-loading-anim.show div:nth-child(3) {
722
- animation-delay: -0.2s;
723
- top: 11px;
724
- left: 52px;
725
- }
726
- .dpr-loading-anim.show div:nth-child(4) {
727
- animation-delay: -0.3s;
728
- top: 7px;
729
- left: 37px;
730
- }
731
- .dpr-loading-anim.show div:nth-child(5) {
732
- animation-delay: -0.4s;
733
- top: 11px;
734
- left: 22px;
735
- }
736
- .dpr-loading-anim.show div:nth-child(6) {
737
- animation-delay: -0.5s;
738
- top: 22px;
739
- left: 11px;
740
- }
741
- .dpr-loading-anim.show div:nth-child(7) {
742
- animation-delay: -0.6s;
743
- top: 37px;
744
- left: 7px;
745
- }
746
- .dpr-loading-anim.show div:nth-child(8) {
747
- animation-delay: -0.7s;
748
- top: 52px;
749
- left: 11px;
750
- }
751
- .dpr-loading-anim.show div:nth-child(9) {
752
- animation-delay: -0.8s;
753
- top: 62px;
754
- left: 22px;
755
- }
756
- .dpr-loading-anim.show div:nth-child(10) {
757
- animation-delay: -0.9s;
758
- top: 66px;
759
- left: 37px;
760
- }
761
- .dpr-loading-anim.show div:nth-child(11) {
762
- animation-delay: -1s;
763
- top: 62px;
764
- left: 52px;
765
- }
766
- .dpr-loading-anim.show div:nth-child(12) {
767
- animation-delay: -1.1s;
768
- top: 52px;
769
- left: 62px;
712
+ &.show div:nth-child(1) {
713
+ animation-delay: 0s;
714
+ top: 37px;
715
+ left: 66px;
716
+ }
717
+
718
+ &.show div:nth-child(2) {
719
+ animation-delay: -0.1s;
720
+ top: 22px;
721
+ left: 62px;
722
+ }
723
+
724
+ &.show div:nth-child(3) {
725
+ animation-delay: -0.2s;
726
+ top: 11px;
727
+ left: 52px;
728
+ }
729
+
730
+ &.show div:nth-child(4) {
731
+ animation-delay: -0.3s;
732
+ top: 7px;
733
+ left: 37px;
734
+ }
735
+
736
+ &.show div:nth-child(5) {
737
+ animation-delay: -0.4s;
738
+ top: 11px;
739
+ left: 22px;
740
+ }
741
+
742
+ &.show div:nth-child(6) {
743
+ animation-delay: -0.5s;
744
+ top: 22px;
745
+ left: 11px;
746
+ }
747
+
748
+ &.show div:nth-child(7) {
749
+ animation-delay: -0.6s;
750
+ top: 37px;
751
+ left: 7px;
752
+ }
753
+
754
+ &.show div:nth-child(8) {
755
+ animation-delay: -0.7s;
756
+ top: 52px;
757
+ left: 11px;
758
+ }
759
+
760
+ &.show div:nth-child(9) {
761
+ animation-delay: -0.8s;
762
+ top: 62px;
763
+ left: 22px;
764
+ }
765
+
766
+ &.show div:nth-child(10) {
767
+ animation-delay: -0.9s;
768
+ top: 66px;
769
+ left: 37px;
770
+ }
771
+
772
+ &.show div:nth-child(11) {
773
+ animation-delay: -1s;
774
+ top: 62px;
775
+ left: 52px;
776
+ }
777
+
778
+ &.show div:nth-child(12) {
779
+ animation-delay: -1.1s;
780
+ top: 52px;
781
+ left: 62px;
782
+ }
770
783
  }
784
+
771
785
  @keyframes dpr-loading-anim {
772
786
  0%, 20%, 80%, 100% {
773
787
  transform: scale(1);
@@ -776,7 +790,12 @@ a.disabled {
776
790
  transform: scale(1.5);
777
791
  }
778
792
  }
779
-
793
+
780
794
  .report-list-container {
781
795
  position: relative;
782
- }
796
+
797
+ .columns-header {
798
+ padding-left: 10px;
799
+ padding-top: 10px;
800
+ }
801
+ }