@ministryofjustice/hmpps-digital-prison-reporting-frontend 4.26.3 → 4.26.4
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 +96 -11
- package/dpr/components/_reports/report-data-table/style.scss +73 -0
- package/dpr/components/_reports/report-heading/styles.scss +12 -3
- package/dpr/components/_reports/report-totals/style.scss +1 -1
- package/dpr/components/_reports/report-wrapper/view.njk +1 -1
- package/dpr/components/report-list/style.scss +10 -7
- package/package.json +1 -1
package/dpr/all.scss
CHANGED
|
@@ -173,6 +173,13 @@ ul.dpr-card-group__item__filters-list {
|
|
|
173
173
|
display: none;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
+
.govuk-main-wrapper,
|
|
177
|
+
.govuk-width-container {
|
|
178
|
+
margin: 0px;
|
|
179
|
+
width: 100%;
|
|
180
|
+
max-width: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
176
183
|
.data-table-header-button-sort-ascending:after,
|
|
177
184
|
.data-table-header-button-sort-descending:after,
|
|
178
185
|
.data-table-header-button-sort-none:after,
|
|
@@ -182,7 +189,9 @@ ul.dpr-card-group__item__filters-list {
|
|
|
182
189
|
|
|
183
190
|
.govuk-table__cell,
|
|
184
191
|
.govuk-table__header {
|
|
185
|
-
font-size:
|
|
192
|
+
font-size: 12px;
|
|
193
|
+
padding: govuk-spacing(1);
|
|
194
|
+
padding-left: 0px;
|
|
186
195
|
}
|
|
187
196
|
|
|
188
197
|
.moj-button-menu__wrapper a {
|
|
@@ -191,12 +200,6 @@ ul.dpr-card-group__item__filters-list {
|
|
|
191
200
|
font-size: 14px;
|
|
192
201
|
}
|
|
193
202
|
|
|
194
|
-
div.govuk-width-container {
|
|
195
|
-
margin: 0;
|
|
196
|
-
max-width: none;
|
|
197
|
-
width: 100%;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
203
|
.moj-page-header-actions {
|
|
201
204
|
margin-bottom: 5px;
|
|
202
205
|
}
|
|
@@ -710,7 +713,7 @@ ul.dpr-card-group__item__filters-list {
|
|
|
710
713
|
font-weight: normal;
|
|
711
714
|
text-align: right;
|
|
712
715
|
margin-bottom: govuk-spacing(1);
|
|
713
|
-
font-size:
|
|
716
|
+
font-size: 12px;
|
|
714
717
|
}
|
|
715
718
|
}
|
|
716
719
|
.dpr-summary-container-group {
|
|
@@ -823,23 +826,32 @@ ul.dpr-card-group__item__filters-list {
|
|
|
823
826
|
display: block;
|
|
824
827
|
|
|
825
828
|
.dpr-request-details {
|
|
826
|
-
p, ul, li, h1 {
|
|
827
|
-
font-size:
|
|
829
|
+
p, ul, li, h1, h2 {
|
|
830
|
+
font-size: 12px;
|
|
828
831
|
margin-top: 0px;
|
|
829
|
-
margin-bottom:
|
|
832
|
+
margin-bottom: 5px;
|
|
830
833
|
padding-top: 0px;
|
|
831
834
|
}
|
|
832
835
|
ul {
|
|
836
|
+
padding: 0;
|
|
837
|
+
list-style-type: none;
|
|
833
838
|
li {
|
|
834
839
|
display: inline;
|
|
835
840
|
padding-right: 10px;
|
|
836
841
|
}
|
|
837
842
|
}
|
|
838
843
|
.dpr-request-details__table {
|
|
844
|
+
margin-top: 0px;
|
|
845
|
+
margin-bottom: 0px;
|
|
846
|
+
|
|
839
847
|
tbody {
|
|
840
848
|
vertical-align: top;
|
|
841
849
|
}
|
|
842
850
|
|
|
851
|
+
td {
|
|
852
|
+
padding: 0px;
|
|
853
|
+
}
|
|
854
|
+
|
|
843
855
|
.dpr-request-details__table-heading {
|
|
844
856
|
width: 15%;
|
|
845
857
|
}
|
|
@@ -1197,8 +1209,81 @@ ul.dpr-card-group__item__filters-list {
|
|
|
1197
1209
|
width: 0px;
|
|
1198
1210
|
}
|
|
1199
1211
|
}
|
|
1212
|
+
|
|
1213
|
+
.govuk-footer {
|
|
1214
|
+
display: none;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.dpr-request-details,
|
|
1218
|
+
.govuk-main-wrapper,
|
|
1200
1219
|
.govuk-width-container {
|
|
1201
1220
|
max-width: 100% !important;
|
|
1221
|
+
margin: 0px;
|
|
1222
|
+
padding: 0px;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.dpr-reports-heading-container {
|
|
1226
|
+
margin-top: govuk-spacing(1);
|
|
1227
|
+
margin-bottom: 0px;
|
|
1228
|
+
padding: 0px;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.govuk-table__body {
|
|
1232
|
+
tr.govuk-table__row:nth-child(odd) {
|
|
1233
|
+
background-color: transparent !important;
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
a {
|
|
1238
|
+
color: black;
|
|
1239
|
+
text-decoration: none;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
// Parent Child table
|
|
1243
|
+
.dpr-table-container--parent-child-section,
|
|
1244
|
+
.dpr-table-container--parent-child {
|
|
1245
|
+
.dpr-section-header-spacer {
|
|
1246
|
+
padding: 5px
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.govuk-table__cell {
|
|
1250
|
+
.dpr-child-report {
|
|
1251
|
+
h2 {
|
|
1252
|
+
font-size: 12px;
|
|
1253
|
+
font-weight: 700;
|
|
1254
|
+
}
|
|
1255
|
+
.dpr-child-report_table {
|
|
1256
|
+
padding: 0px;
|
|
1257
|
+
|
|
1258
|
+
td, th {
|
|
1259
|
+
padding: govuk-spacing(1);
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.dpr-section-header {
|
|
1267
|
+
padding: govuk-spacing(1);
|
|
1268
|
+
h2 {
|
|
1269
|
+
font-size: 14px;
|
|
1270
|
+
span.govuk-caption-m {
|
|
1271
|
+
font-size: 12px;
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
.dpr-table-container--list-section {
|
|
1276
|
+
.dpr-section-header-spacer {
|
|
1277
|
+
padding: 5px
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.dpr-report-summary-cell-table-footer,
|
|
1281
|
+
.dpr-report-summary-cell-table-header {
|
|
1282
|
+
background-color: transparent;
|
|
1283
|
+
padding: govuk-spacing(2);
|
|
1284
|
+
padding-left: 0px;
|
|
1285
|
+
border-bottom: 1px solid #b1b4b6;
|
|
1286
|
+
}
|
|
1202
1287
|
}
|
|
1203
1288
|
}
|
|
1204
1289
|
.dpr-columns-form {
|
|
@@ -339,7 +339,80 @@
|
|
|
339
339
|
width: 0px;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
+
|
|
343
|
+
.govuk-footer {
|
|
344
|
+
display: none;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.dpr-request-details,
|
|
348
|
+
.govuk-main-wrapper,
|
|
342
349
|
.govuk-width-container {
|
|
343
350
|
max-width: 100% !important;
|
|
351
|
+
margin: 0px;
|
|
352
|
+
padding: 0px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.dpr-reports-heading-container {
|
|
356
|
+
margin-top: govuk-spacing(1);
|
|
357
|
+
margin-bottom: 0px;
|
|
358
|
+
padding: 0px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.govuk-table__body {
|
|
362
|
+
tr.govuk-table__row:nth-child(odd) {
|
|
363
|
+
background-color: transparent !important;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
a {
|
|
368
|
+
color: black;
|
|
369
|
+
text-decoration: none;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Parent Child table
|
|
373
|
+
.dpr-table-container--parent-child-section,
|
|
374
|
+
.dpr-table-container--parent-child {
|
|
375
|
+
.dpr-section-header-spacer {
|
|
376
|
+
padding: 5px
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.govuk-table__cell {
|
|
380
|
+
.dpr-child-report {
|
|
381
|
+
h2 {
|
|
382
|
+
font-size: 12px;
|
|
383
|
+
font-weight: 700;
|
|
384
|
+
}
|
|
385
|
+
.dpr-child-report_table {
|
|
386
|
+
padding: 0px;
|
|
387
|
+
|
|
388
|
+
td, th {
|
|
389
|
+
padding: govuk-spacing(1);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.dpr-section-header {
|
|
397
|
+
padding: govuk-spacing(1);
|
|
398
|
+
h2 {
|
|
399
|
+
font-size: 14px;
|
|
400
|
+
span.govuk-caption-m {
|
|
401
|
+
font-size: 12px;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
.dpr-table-container--list-section {
|
|
406
|
+
.dpr-section-header-spacer {
|
|
407
|
+
padding: 5px
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.dpr-report-summary-cell-table-footer,
|
|
411
|
+
.dpr-report-summary-cell-table-header {
|
|
412
|
+
background-color: transparent;
|
|
413
|
+
padding: govuk-spacing(2);
|
|
414
|
+
padding-left: 0px;
|
|
415
|
+
border-bottom: 1px solid #b1b4b6;
|
|
416
|
+
}
|
|
344
417
|
}
|
|
345
418
|
}
|
|
@@ -48,23 +48,32 @@
|
|
|
48
48
|
display: block;
|
|
49
49
|
|
|
50
50
|
.dpr-request-details {
|
|
51
|
-
p, ul, li, h1 {
|
|
52
|
-
font-size:
|
|
51
|
+
p, ul, li, h1, h2 {
|
|
52
|
+
font-size: 12px;
|
|
53
53
|
margin-top: 0px;
|
|
54
|
-
margin-bottom:
|
|
54
|
+
margin-bottom: 5px;
|
|
55
55
|
padding-top: 0px;
|
|
56
56
|
}
|
|
57
57
|
ul {
|
|
58
|
+
padding: 0;
|
|
59
|
+
list-style-type: none;
|
|
58
60
|
li {
|
|
59
61
|
display: inline;
|
|
60
62
|
padding-right: 10px;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
.dpr-request-details__table {
|
|
66
|
+
margin-top: 0px;
|
|
67
|
+
margin-bottom: 0px;
|
|
68
|
+
|
|
64
69
|
tbody {
|
|
65
70
|
vertical-align: top;
|
|
66
71
|
}
|
|
67
72
|
|
|
73
|
+
td {
|
|
74
|
+
padding: 0px;
|
|
75
|
+
}
|
|
76
|
+
|
|
68
77
|
.dpr-request-details__table-heading {
|
|
69
78
|
width: 15%;
|
|
70
79
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{% if (printable == false) %}
|
|
11
11
|
{{ dprReportPrintMessage() }}
|
|
12
12
|
{% endif %}
|
|
13
|
-
<div class="dpr-reports-heading-container
|
|
13
|
+
<div class="dpr-reports-heading-container">
|
|
14
14
|
{{ dprReportHeading(renderData) }}
|
|
15
15
|
</div>
|
|
16
16
|
{{ dprReportTemplate(renderData)}}
|
|
@@ -31,6 +31,13 @@
|
|
|
31
31
|
display: none;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.govuk-main-wrapper,
|
|
35
|
+
.govuk-width-container {
|
|
36
|
+
margin: 0px;
|
|
37
|
+
width: 100%;
|
|
38
|
+
max-width: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
34
41
|
.data-table-header-button-sort-ascending:after,
|
|
35
42
|
.data-table-header-button-sort-descending:after,
|
|
36
43
|
.data-table-header-button-sort-none:after,
|
|
@@ -40,7 +47,9 @@
|
|
|
40
47
|
|
|
41
48
|
.govuk-table__cell,
|
|
42
49
|
.govuk-table__header {
|
|
43
|
-
font-size:
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
padding: govuk-spacing(1);
|
|
52
|
+
padding-left: 0px;
|
|
44
53
|
}
|
|
45
54
|
|
|
46
55
|
.moj-button-menu__wrapper a {
|
|
@@ -49,12 +58,6 @@
|
|
|
49
58
|
font-size: 14px;
|
|
50
59
|
}
|
|
51
60
|
|
|
52
|
-
div.govuk-width-container {
|
|
53
|
-
margin: 0;
|
|
54
|
-
max-width: none;
|
|
55
|
-
width: 100%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
61
|
.moj-page-header-actions {
|
|
59
62
|
margin-bottom: 5px;
|
|
60
63
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ministryofjustice/hmpps-digital-prison-reporting-frontend",
|
|
3
3
|
"description": "The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.",
|
|
4
|
-
"version": "4.26.
|
|
4
|
+
"version": "4.26.4",
|
|
5
5
|
"main": "dpr/all.mjs",
|
|
6
6
|
"sass": "dpr/all.scss",
|
|
7
7
|
"engines": {
|