@ministryofjustice/hmpps-digital-prison-reporting-frontend 3.7.6 → 3.7.8

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
+ }
102
+
103
+ .govuk-details__summary-text {
104
+ text-underline-offset: 4px;
105
+ }
101
106
 
102
- @media print {
103
- .accordion-section {
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,224 @@ $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
+ }
308
+
309
+ @media(max-width: 768px) {
310
+ grid-template-columns: 1fr;
309
311
 
310
- .card-disabled:hover {
311
- pointer-events: none;
312
- border: 1px solid #d9dadb;
313
- bottom: 0px;
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;
342
+ .dpr-table-container {
358
343
  position: relative;
359
- text-align: inherit;
360
- text-decoration: none;
361
- white-space: nowrap;
362
- }
363
344
 
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
- }
345
+ .data-table-header-button {
346
+ background-color: transparent;
347
+ border-width: 0;
348
+ -webkit-box-decoration-break: clone;
349
+ box-decoration-break: clone;
350
+ -webkit-box-shadow: 0 0 0 0;
351
+ -moz-box-shadow: 0 0 0 0;
352
+ box-shadow: 0 0 0 0;
353
+ color: #005ea5;
354
+ cursor: pointer;
355
+ font-family: inherit;
356
+ font-size: 1em;
357
+ font-weight: inherit;
358
+ margin: 0;
359
+ padding: 0 10px 0 0;
360
+ position: relative;
361
+ text-align: inherit;
362
+ text-decoration: none;
363
+ white-space: nowrap;
364
+ }
371
365
 
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
- }
366
+ .data-table-header-button-sort-none:before {
367
+ content: " \25bc";
368
+ position: absolute;
369
+ right: -1px;
370
+ top: 9px;
371
+ font-size: 0.5em;
372
+ }
379
373
 
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
- }
374
+ .data-table-header-button-sort-none:after {
375
+ content: " \25b2";
376
+ position: absolute;
377
+ right: -1px;
378
+ top: 1px;
379
+ font-size: 0.5em;
380
+ }
387
381
 
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
- }
382
+ .data-table-header-button-sort-ascending:after {
383
+ content: " \25b2";
384
+ font-size: .8em;
385
+ position: absolute;
386
+ right: -5px;
387
+ top: 2px;
388
+ }
395
389
 
396
- .data-table-cell-wrap-none {
397
- white-space: nowrap;
398
- }
390
+ .data-table-header-button-sort-descending:after {
391
+ content: " \25bc";
392
+ font-size: .8em;
393
+ position: absolute;
394
+ right: -5px;
395
+ top: 2px;
396
+ }
399
397
 
400
- .data-table-cell-wrap-normal {
401
- white-space: normal;
402
- }
398
+ .data-table-cell-wrap-none {
399
+ white-space: nowrap;
400
+ }
403
401
 
404
- .data-table-cell-wrap-break-words {
405
- word-break: break-all;
406
- }
402
+ .data-table-cell-wrap-normal {
403
+ white-space: normal;
404
+ }
407
405
 
408
- #pageSize {
409
- min-width: 5em;
410
- }
406
+ .data-table-cell-wrap-break-words {
407
+ word-break: break-all;
408
+ }
411
409
 
412
- .govuk-table__cell--content {
413
- text-align: center;
414
- }
410
+ #pageSize {
411
+ min-width: 5em;
412
+ }
415
413
 
416
- .data-table-empty-message {
417
- text-align: center;
418
- position: relative;
419
- }
414
+ .govuk-table__cell--content {
415
+ text-align: center;
416
+ }
420
417
 
421
- .table-container {
422
- position: relative;
423
- }
418
+ a.disabled {
419
+ pointer-events: none;
420
+ cursor: default;
421
+ opacity: 0.5;
422
+ }
424
423
 
425
- a.disabled {
426
- pointer-events: none;
427
- cursor: default;
428
- opacity: 0.5;
429
- }
424
+ .pagination {
425
+ overflow: auto;
426
+ }
430
427
 
431
- .pagination {
432
- overflow: auto;
433
- }
428
+ .data-table-page-size-container {
429
+ height: 40px;
430
+ }
434
431
 
435
- .data-table-page-size-container {
436
- height: 40px;
437
- }
432
+ .data-table-page-size {
433
+ float: right;
438
434
 
439
- .data-table-page-size {
440
- float: right;
435
+ @media(max-width: 640px) {
436
+ width: 100%;
437
+ }
441
438
 
442
- @media(max-width: 640px) {
443
- width: 100%;
439
+ @media(max-width: 319px) {
440
+ .govuk-form-group {
441
+ margin-bottom: 0;
442
+ }
443
+ height: 72px;
444
+ margin-bottom: govuk-spacing(2);
445
+ }
444
446
  }
445
447
 
446
448
  @media(max-width: 319px) {
447
- .govuk-form-group {
448
- margin-bottom: 0;
449
+ #pageSize {
450
+ width: 100%;
449
451
  }
450
- height: 72px;
451
- margin-bottom: govuk-spacing(2);
452
452
  }
453
- }
454
453
 
455
- @media(max-width: 319px) {
456
- #pageSize {
457
- width: 100%;
454
+ .dpr-table-wrapper {
455
+ overflow: scroll;
458
456
  }
459
- }
460
457
 
461
- .dpr-table-wrapper {
462
- overflow: scroll;
463
- }
458
+ .table-row-count {
459
+ color: govuk-colour("dark-grey");
460
+ font-weight: 100;
461
+ text-align: right;
462
+ }
464
463
 
465
- .table-row-count {
466
- color: govuk-colour("dark-grey");
467
- font-weight: 100;
468
- text-align: right;
469
- }
464
+ .table-row--no-border {
465
+ border-bottom: none;
466
+ }
470
467
 
471
- .table-row--no-border {
472
- border-bottom: none;
473
- }
468
+ .table-row-count--top {
469
+ padding-bottom: govuk-spacing(0);
470
+ }
474
471
 
475
- .table-row-count--top {
476
- padding-bottom: govuk-spacing(0);
472
+ .table-row-count--bottom {
473
+ padding-top: govuk-spacing(2);
474
+ padding-bottom: govuk-spacing(2);
475
+ }
477
476
  }
478
477
 
479
- .table-row-count--bottom {
480
- padding-top: govuk-spacing(2);
481
- padding-bottom: govuk-spacing(2);
478
+ .data-table-empty-message {
479
+ text-align: center;
480
+ position: relative;
482
481
  }
483
- .date-range {
482
+
483
+ .date-range-date-range {
484
484
  .govuk-form-group {
485
- margin-bottom: 0px;
485
+ margin-bottom: 0;
486
486
  }
487
- }
488
487
 
489
- .daterange-set-to-minmax {
490
- cursor: pointer;
491
- text-align: right;
492
- margin-bottom: govuk-spacing(0);
493
- margin-top: govuk-spacing(1);
488
+ .daterange-set-to-minmax {
489
+ cursor: pointer;
490
+ text-align: right;
491
+ margin-bottom: govuk-spacing(0);
492
+ margin-top: govuk-spacing(1);
494
493
 
495
- &:hover {
496
- color: govuk-colour("light-blue")
494
+ &:hover {
495
+ color: govuk-colour("light-blue")
496
+ }
497
497
  }
498
498
  }
499
- .dropdown-button {
499
+
500
+ .dpr-dropdown-button {
500
501
  position: relative;
501
502
  float: right;
502
503
 
@@ -509,7 +510,7 @@ a.disabled {
509
510
  background-color: white;
510
511
  border-top: #b1b4b6 1px solid;
511
512
  display: none;
512
- right: 0px;
513
+ right: 0;
513
514
  list-style-type: none;
514
515
  margin: 0;
515
516
  padding: 0;
@@ -558,216 +559,160 @@ a.disabled {
558
559
  }
559
560
  }
560
561
 
561
- @media screen {
562
- .print-header-footer,
563
- .govuk-table__header span,
564
- .screen-hide {
565
- display: none;
566
- }
567
- }
568
-
569
- @media print {
570
- .data-table-paging,
571
- .moj-filter-layout__filter,
572
- .govuk-breadcrumbs,
573
- .moj-primary-navigation,
574
- .govuk-footer,
575
- .govuk-error-summary,
576
- .filter-summary-controls,
577
- .pagination,
578
- .dpr-actions,
579
- .accordion-section-button,
580
- #reset-filter-button,
581
- .govuk-phase-banner,
582
- .print-hide {
583
- display: none;
584
- }
585
-
586
- .data-table-header-button-sort-ascending:after,
587
- .data-table-header-button-sort-descending:after,
588
- .data-table-header-button-sort-none:after,
589
- .data-table-header-button-sort-none:before {
590
- content: none;
591
- }
592
-
593
- .govuk-table__cell,
594
- .govuk-table__header {
595
- font-size: 14px;
596
- }
597
-
598
- .moj-button-menu__wrapper a {
599
- border: 1px solid #b1b4b6;
600
- box-shadow: none;
601
- font-size: 14px;
602
- }
603
-
604
- div.govuk-width-container {
605
- margin: 0;
606
- max-width: none;
607
- width: 100%;
608
- }
609
-
610
- .moj-page-header-actions {
611
- margin-bottom: 5px;
612
- }
613
-
614
- .filter-summary-remove-button:after {
615
- margin-left: 0;
616
- width: 0;
617
- }
618
-
619
- .moj-scrollable-pane {
620
- overflow-x: clip;
621
- }
562
+ .dpr-filters {
563
+ .filter-container {
564
+ position: relative;
565
+ display: grid;
566
+ grid-template-columns: 1fr 1fr 1fr;
567
+ column-gap: govuk-spacing(3);
568
+ row-gap: govuk-spacing(3);
622
569
 
623
- .govuk-table__header a.data-table-header-button {
624
- text-decoration: none;
625
- color: black;
626
- }
627
- }
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);
570
+ @media(min-width: 769px) and (max-width: 1019px) {
571
+ grid-template-columns: 1fr 1fr;
572
+ }
634
573
 
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;
574
+ @media(max-width: 768px) {
575
+ grid-template-columns: 1fr;
576
+ }
641
577
  }
642
- }
643
578
 
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);
579
+ .filter-item {
580
+ border-bottom: 2px Solid govuk-colour("mid-grey");
581
+ background-color: lighten(govuk-colour("light-grey"), 3%);
582
+ padding: govuk-spacing(4);
648
583
 
649
- .govuk-form-group {
650
- margin-bottom: govuk-spacing(2);
584
+ .govuk-form-group {
585
+ margin-bottom: govuk-spacing(2);
586
+ }
651
587
  }
652
- }
653
588
 
654
- .govuk-details__summary-text {
655
- text-underline-offset: 4px;
656
- }
657
-
658
- .filter-actions {
659
- margin-top: 15px;
660
- height: 40px;
589
+ .filter-actions {
590
+ margin-top: 15px;
591
+ height: 40px;
661
592
 
662
- @media(max-width: 768px) {
663
- height: 80px;
664
- }
593
+ @media(max-width: 768px) {
594
+ height: 80px;
595
+ }
665
596
 
666
- .filter-actions-buttons {
667
- float: right;
597
+ .filter-actions-buttons {
598
+ float: right;
668
599
 
669
- @media(max-width: 768px) {
670
- width: 100%;
600
+ @media(max-width: 768px) {
601
+ width: 100%;
602
+ }
671
603
  }
672
604
  }
673
605
  }
674
- .loading-panel {
606
+
607
+ .dpr-loading-panel {
675
608
  display: none;
676
609
  width: 100%;
677
610
  height: 100%;
678
611
  position: absolute;
679
- top: 0px;
680
- left: 0px;
612
+ top: 0;
613
+ left: 0;
681
614
  z-index: 2;
682
615
  justify-content: center;
683
616
  align-items: center;
684
- background-color: rgba(255,255,255,0.8);
685
- }
617
+ background-color: rgba(255, 255, 255, 0.8);
686
618
 
687
- .loading-panel.show {
688
- display: flex;
619
+ &.show {
620
+ display: flex;
621
+ }
689
622
  }
690
623
 
691
624
  .dpr-loading-anim {
692
625
  display: none;
693
- }
694
626
 
695
- .dpr-loading-anim.show {
627
+ &.show {
696
628
  display: inline-block;
697
629
  position: relative;
698
630
  width: 80px;
699
631
  height: 80px;
700
632
  }
701
633
 
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
- }
634
+ &.show div {
635
+ position: absolute;
636
+ width: 6px;
637
+ height: 6px;
638
+ background: govuk-colour("light-blue");
639
+ border-radius: 50%;
640
+ animation: dpr-loading-anim 1.2s linear infinite;
641
+ }
710
642
 
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;
643
+ &.show div:nth-child(1) {
644
+ animation-delay: 0s;
645
+ top: 37px;
646
+ left: 66px;
647
+ }
648
+
649
+ &.show div:nth-child(2) {
650
+ animation-delay: -0.1s;
651
+ top: 22px;
652
+ left: 62px;
653
+ }
654
+
655
+ &.show div:nth-child(3) {
656
+ animation-delay: -0.2s;
657
+ top: 11px;
658
+ left: 52px;
659
+ }
660
+
661
+ &.show div:nth-child(4) {
662
+ animation-delay: -0.3s;
663
+ top: 7px;
664
+ left: 37px;
665
+ }
666
+
667
+ &.show div:nth-child(5) {
668
+ animation-delay: -0.4s;
669
+ top: 11px;
670
+ left: 22px;
671
+ }
672
+
673
+ &.show div:nth-child(6) {
674
+ animation-delay: -0.5s;
675
+ top: 22px;
676
+ left: 11px;
677
+ }
678
+
679
+ &.show div:nth-child(7) {
680
+ animation-delay: -0.6s;
681
+ top: 37px;
682
+ left: 7px;
683
+ }
684
+
685
+ &.show div:nth-child(8) {
686
+ animation-delay: -0.7s;
687
+ top: 52px;
688
+ left: 11px;
689
+ }
690
+
691
+ &.show div:nth-child(9) {
692
+ animation-delay: -0.8s;
693
+ top: 62px;
694
+ left: 22px;
695
+ }
696
+
697
+ &.show div:nth-child(10) {
698
+ animation-delay: -0.9s;
699
+ top: 66px;
700
+ left: 37px;
701
+ }
702
+
703
+ &.show div:nth-child(11) {
704
+ animation-delay: -1s;
705
+ top: 62px;
706
+ left: 52px;
707
+ }
708
+
709
+ &.show div:nth-child(12) {
710
+ animation-delay: -1.1s;
711
+ top: 52px;
712
+ left: 62px;
713
+ }
770
714
  }
715
+
771
716
  @keyframes dpr-loading-anim {
772
717
  0%, 20%, 80%, 100% {
773
718
  transform: scale(1);
@@ -776,7 +721,80 @@ a.disabled {
776
721
  transform: scale(1.5);
777
722
  }
778
723
  }
779
-
724
+
780
725
  .report-list-container {
781
726
  position: relative;
782
- }
727
+
728
+ .columns-header {
729
+ padding-left: 10px;
730
+ padding-top: 10px;
731
+ }
732
+
733
+ @media screen {
734
+ .print-header-footer,
735
+ .govuk-table__header span,
736
+ .screen-hide {
737
+ display: none;
738
+ }
739
+ }
740
+
741
+ @media print {
742
+ .data-table-paging,
743
+ .moj-filter-layout__filter,
744
+ .govuk-breadcrumbs,
745
+ .moj-primary-navigation,
746
+ .govuk-footer,
747
+ .govuk-error-summary,
748
+ .filter-summary-controls,
749
+ .pagination,
750
+ .dpr-actions,
751
+ .accordion-section-button,
752
+ #reset-filter-button,
753
+ .govuk-phase-banner,
754
+ .print-hide {
755
+ display: none;
756
+ }
757
+
758
+ .data-table-header-button-sort-ascending:after,
759
+ .data-table-header-button-sort-descending:after,
760
+ .data-table-header-button-sort-none:after,
761
+ .data-table-header-button-sort-none:before {
762
+ content: none;
763
+ }
764
+
765
+ .govuk-table__cell,
766
+ .govuk-table__header {
767
+ font-size: 14px;
768
+ }
769
+
770
+ .moj-button-menu__wrapper a {
771
+ border: 1px solid #b1b4b6;
772
+ box-shadow: none;
773
+ font-size: 14px;
774
+ }
775
+
776
+ div.govuk-width-container {
777
+ margin: 0;
778
+ max-width: none;
779
+ width: 100%;
780
+ }
781
+
782
+ .moj-page-header-actions {
783
+ margin-bottom: 5px;
784
+ }
785
+
786
+ .filter-summary-remove-button:after {
787
+ margin-left: 0;
788
+ width: 0;
789
+ }
790
+
791
+ .moj-scrollable-pane {
792
+ overflow-x: clip;
793
+ }
794
+
795
+ .govuk-table__header a.data-table-header-button {
796
+ text-decoration: none;
797
+ color: black;
798
+ }
799
+ }
800
+ }