@ministryofjustice/hmpps-connect-dps-shared-items 4.4.0 → 5.0.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.
@@ -0,0 +1,844 @@
1
+ @media screen {
2
+ .dps-alert-status {
3
+ justify-content: center;
4
+ border: 3px solid;
5
+ padding: 5px 10px;
6
+ height: initial;
7
+ font-size: 16px;
8
+ text-align: center;
9
+ line-height: 1;
10
+ user-select: none;
11
+ border-radius: 5px;
12
+ }
13
+ }
14
+ @media print {
15
+ .dps-alert-status {
16
+ margin-bottom: 0 !important;
17
+ font-size: 12px;
18
+ color: black !important;
19
+ border: none !important;
20
+ background: none !important;
21
+ min-width: auto;
22
+ }
23
+ }
24
+
25
+ .dps-alert-status {
26
+ margin-right: 0;
27
+ display: inline-flex;
28
+ align-items: center;
29
+ color: black;
30
+ background-color: white;
31
+ }
32
+ .dps-alert-status--care-leaver {
33
+ border-color: #00703c;
34
+ }
35
+ a.dps-alert-status--care-leaver:hover, a.dps-alert-status--care-leaver:focus {
36
+ text-decoration: none;
37
+ background-color: #03532e;
38
+ color: white;
39
+ }
40
+ a.dps-alert-status--care-leaver:focus {
41
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
42
+ }
43
+
44
+ .dps-alert-status--ex-armed-forces {
45
+ border-color: #85994b;
46
+ }
47
+ a.dps-alert-status--ex-armed-forces:hover, a.dps-alert-status--ex-armed-forces:focus {
48
+ text-decoration: none;
49
+ background-color: #687b3d;
50
+ color: white;
51
+ }
52
+ a.dps-alert-status--ex-armed-forces:focus {
53
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
54
+ }
55
+
56
+ .dps-alert-status--medical {
57
+ border-color: #5190c8;
58
+ }
59
+ a.dps-alert-status--medical:hover, a.dps-alert-status--medical:focus {
60
+ text-decoration: none;
61
+ background-color: #3879b2;
62
+ color: white;
63
+ }
64
+ a.dps-alert-status--medical:focus {
65
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
66
+ }
67
+
68
+ .dps-alert-status--other {
69
+ border-color: #d53880;
70
+ }
71
+ a.dps-alert-status--other:hover, a.dps-alert-status--other:focus {
72
+ text-decoration: none;
73
+ background-color: #bf3374;
74
+ color: white;
75
+ }
76
+ a.dps-alert-status--other:focus {
77
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
78
+ }
79
+
80
+ .dps-alert-status--MAPPP-case {
81
+ border-color: #279b91;
82
+ }
83
+ a.dps-alert-status--MAPPP-case:hover, a.dps-alert-status--MAPPP-case:focus {
84
+ text-decoration: none;
85
+ background-color: #21837a;
86
+ color: white;
87
+ }
88
+ a.dps-alert-status--MAPPP-case:focus {
89
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
90
+ }
91
+
92
+ .dps-alert-status--security {
93
+ border-color: #003078;
94
+ }
95
+ a.dps-alert-status--security:hover, a.dps-alert-status--security:focus {
96
+ text-decoration: none;
97
+ background-color: #042556;
98
+ color: white;
99
+ }
100
+ a.dps-alert-status--security:focus {
101
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
102
+ }
103
+
104
+ .dps-alert-status--risk {
105
+ border-color: #d4351c;
106
+ }
107
+ a.dps-alert-status--risk:hover, a.dps-alert-status--risk:focus {
108
+ text-decoration: none;
109
+ background-color: #ad2d19;
110
+ color: white;
111
+ }
112
+ a.dps-alert-status--risk:focus {
113
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
114
+ }
115
+
116
+ .dps-alert-status--self-harm {
117
+ border-color: #f2590d;
118
+ }
119
+ a.dps-alert-status--self-harm:hover, a.dps-alert-status--self-harm:focus {
120
+ text-decoration: none;
121
+ background-color: #cb4b0b;
122
+ color: white;
123
+ }
124
+ a.dps-alert-status--self-harm:focus {
125
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
126
+ }
127
+
128
+ .dps-alert-status--vulnerability {
129
+ border-color: #2ea01c;
130
+ }
131
+ a.dps-alert-status--vulnerability:hover, a.dps-alert-status--vulnerability:focus {
132
+ text-decoration: none;
133
+ background-color: #26711a;
134
+ color: white;
135
+ }
136
+ a.dps-alert-status--vulnerability:focus {
137
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
138
+ }
139
+
140
+ .dps-alert-status--acct {
141
+ border-color: #d34700;
142
+ }
143
+ a.dps-alert-status--acct:hover, a.dps-alert-status--acct:focus {
144
+ text-decoration: none;
145
+ background-color: #d34700;
146
+ color: white;
147
+ }
148
+ a.dps-alert-status--acct:focus {
149
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
150
+ }
151
+
152
+ .dps-alert-status--assault {
153
+ border-color: #4c2c92;
154
+ }
155
+ a.dps-alert-status--assault:hover, a.dps-alert-status--assault:focus {
156
+ text-decoration: none;
157
+ background-color: #4c2c92;
158
+ color: white;
159
+ }
160
+ a.dps-alert-status--assault:focus {
161
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
162
+ }
163
+
164
+ .dps-alert-status--disability {
165
+ border-color: #2b88c8;
166
+ }
167
+ a.dps-alert-status--disability:hover, a.dps-alert-status--disability:focus {
168
+ text-decoration: none;
169
+ background-color: #2b88c8;
170
+ color: white;
171
+ }
172
+ a.dps-alert-status--disability:focus {
173
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
174
+ }
175
+
176
+ .dps-alert-status--arsonist {
177
+ border-color: #df3034;
178
+ }
179
+ a.dps-alert-status--arsonist:hover, a.dps-alert-status--arsonist:focus {
180
+ text-decoration: none;
181
+ background-color: #df3034;
182
+ color: white;
183
+ }
184
+ a.dps-alert-status--arsonist:focus {
185
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
186
+ }
187
+
188
+ .dps-alert-status--elist {
189
+ border-color: #28a197;
190
+ }
191
+ a.dps-alert-status--elist:hover, a.dps-alert-status--elist:focus {
192
+ text-decoration: none;
193
+ background-color: #28a197;
194
+ color: white;
195
+ }
196
+ a.dps-alert-status--elist:focus {
197
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
198
+ }
199
+
200
+ .dps-alert-status--risk-females {
201
+ border-color: #6f71af;
202
+ }
203
+ a.dps-alert-status--risk-females:hover, a.dps-alert-status--risk-females:focus {
204
+ text-decoration: none;
205
+ background-color: #6f71af;
206
+ color: white;
207
+ }
208
+ a.dps-alert-status--risk-females:focus {
209
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
210
+ }
211
+
212
+ .dps-alert-status--tact {
213
+ border-color: #d53880;
214
+ }
215
+ a.dps-alert-status--tact:hover, a.dps-alert-status--tact:focus {
216
+ text-decoration: none;
217
+ background-color: #d53880;
218
+ color: white;
219
+ }
220
+ a.dps-alert-status--tact:focus {
221
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
222
+ }
223
+
224
+ .dps-alert-status--corruptor {
225
+ border-color: #b10e1e;
226
+ }
227
+ a.dps-alert-status--corruptor:hover, a.dps-alert-status--corruptor:focus {
228
+ text-decoration: none;
229
+ background-color: #b10e1e;
230
+ color: white;
231
+ }
232
+ a.dps-alert-status--corruptor:focus {
233
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
234
+ }
235
+
236
+ .dps-alert-status--chemical-attacker {
237
+ border-color: #69831e;
238
+ }
239
+ a.dps-alert-status--chemical-attacker:hover, a.dps-alert-status--chemical-attacker:focus {
240
+ text-decoration: none;
241
+ background-color: #69831e;
242
+ color: white;
243
+ }
244
+ a.dps-alert-status--chemical-attacker:focus {
245
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
246
+ }
247
+
248
+ .dps-alert-status--concerted-indiscipline {
249
+ border-color: #444;
250
+ }
251
+ a.dps-alert-status--concerted-indiscipline:hover, a.dps-alert-status--concerted-indiscipline:focus {
252
+ text-decoration: none;
253
+ background-color: #444;
254
+ color: white;
255
+ }
256
+ a.dps-alert-status--concerted-indiscipline:focus {
257
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
258
+ }
259
+
260
+ .dps-alert-status--racist {
261
+ border-color: #8f5f11;
262
+ }
263
+ a.dps-alert-status--racist:hover, a.dps-alert-status--racist:focus {
264
+ text-decoration: none;
265
+ background-color: #8f5f11;
266
+ color: white;
267
+ }
268
+ a.dps-alert-status--racist:focus {
269
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
270
+ }
271
+
272
+ .dps-alert-status--risk-lgbt {
273
+ border-color: #912b88;
274
+ }
275
+ a.dps-alert-status--risk-lgbt:hover, a.dps-alert-status--risk-lgbt:focus {
276
+ text-decoration: none;
277
+ background-color: #912b88;
278
+ color: white;
279
+ }
280
+ a.dps-alert-status--risk-lgbt:focus {
281
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
282
+ }
283
+
284
+ .dps-alert-status--hostage-taker {
285
+ border-color: #c6545f;
286
+ }
287
+ a.dps-alert-status--hostage-taker:hover, a.dps-alert-status--hostage-taker:focus {
288
+ text-decoration: none;
289
+ background-color: #c6545f;
290
+ color: white;
291
+ }
292
+ a.dps-alert-status--hostage-taker:focus {
293
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
294
+ }
295
+
296
+ .dps-alert-status--controlled-unlock {
297
+ border-color: #2e358b;
298
+ }
299
+ a.dps-alert-status--controlled-unlock:hover, a.dps-alert-status--controlled-unlock:focus {
300
+ text-decoration: none;
301
+ background-color: #2e358b;
302
+ color: white;
303
+ }
304
+ a.dps-alert-status--controlled-unlock:focus {
305
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
306
+ }
307
+
308
+ .dps-alert-status--gang-member {
309
+ border-color: #005f9e;
310
+ }
311
+ a.dps-alert-status--gang-member:hover, a.dps-alert-status--gang-member:focus {
312
+ text-decoration: none;
313
+ background-color: #005f9e;
314
+ color: white;
315
+ }
316
+ a.dps-alert-status--gang-member:focus {
317
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
318
+ }
319
+
320
+ .dps-alert-status--csip {
321
+ border-color: #4c2c92;
322
+ }
323
+ a.dps-alert-status--csip:hover, a.dps-alert-status--csip:focus {
324
+ text-decoration: none;
325
+ background-color: #4c2c92;
326
+ color: white;
327
+ }
328
+ a.dps-alert-status--csip:focus {
329
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
330
+ }
331
+
332
+ .dps-alert-status--veteran {
333
+ border-color: #006435;
334
+ }
335
+ a.dps-alert-status--veteran:hover, a.dps-alert-status--veteran:focus {
336
+ text-decoration: none;
337
+ background-color: #006435;
338
+ color: white;
339
+ }
340
+ a.dps-alert-status--veteran:focus {
341
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
342
+ }
343
+
344
+ .dps-alert-status--care-experienced {
345
+ border-color: #3f90ae;
346
+ }
347
+ a.dps-alert-status--care-experienced:hover, a.dps-alert-status--care-experienced:focus {
348
+ text-decoration: none;
349
+ background-color: #3f90ae;
350
+ color: white;
351
+ }
352
+ a.dps-alert-status--care-experienced:focus {
353
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
354
+ }
355
+
356
+ .dps-alert-status--acct-post-closure {
357
+ border: 3px dashed;
358
+ border-color: #f47738;
359
+ }
360
+ a.dps-alert-status--acct-post-closure:hover, a.dps-alert-status--acct-post-closure:focus {
361
+ text-decoration: none;
362
+ background-color: #f47738;
363
+ color: white;
364
+ }
365
+ a.dps-alert-status--acct-post-closure:focus {
366
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
367
+ }
368
+
369
+ .dps-alert-status--conflict {
370
+ border-color: #800000;
371
+ }
372
+ a.dps-alert-status--conflict:hover, a.dps-alert-status--conflict:focus {
373
+ text-decoration: none;
374
+ background-color: #800000;
375
+ color: white;
376
+ }
377
+ a.dps-alert-status--conflict:focus {
378
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
379
+ }
380
+
381
+ .dps-alert-status--no-one-to-one {
382
+ border-color: #903;
383
+ }
384
+ a.dps-alert-status--no-one-to-one:hover, a.dps-alert-status--no-one-to-one:focus {
385
+ text-decoration: none;
386
+ background-color: #903;
387
+ color: white;
388
+ }
389
+ a.dps-alert-status--no-one-to-one:focus {
390
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
391
+ }
392
+
393
+ .dps-alert-status--quarantined {
394
+ border-color: #330;
395
+ }
396
+ a.dps-alert-status--quarantined:hover, a.dps-alert-status--quarantined:focus {
397
+ text-decoration: none;
398
+ background-color: #330;
399
+ color: white;
400
+ }
401
+ a.dps-alert-status--quarantined:focus {
402
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
403
+ }
404
+
405
+ .dps-alert-status--reverse-cohorting-unit {
406
+ border-color: rgb(20%, 55.137254902%, 38.8235294118%);
407
+ }
408
+ a.dps-alert-status--reverse-cohorting-unit:hover, a.dps-alert-status--reverse-cohorting-unit:focus {
409
+ text-decoration: none;
410
+ background-color: rgb(20%, 55.137254902%, 38.8235294118%);
411
+ color: white;
412
+ }
413
+ a.dps-alert-status--reverse-cohorting-unit:focus {
414
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
415
+ }
416
+
417
+ .dps-alert-status--protective-isolation-unit {
418
+ border-color: #006637;
419
+ }
420
+ a.dps-alert-status--protective-isolation-unit:hover, a.dps-alert-status--protective-isolation-unit:focus {
421
+ text-decoration: none;
422
+ background-color: #006637;
423
+ color: white;
424
+ }
425
+ a.dps-alert-status--protective-isolation-unit:focus {
426
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
427
+ }
428
+
429
+ .dps-alert-status--shielding-unit {
430
+ border-color: #004424;
431
+ }
432
+ a.dps-alert-status--shielding-unit:hover, a.dps-alert-status--shielding-unit:focus {
433
+ text-decoration: none;
434
+ background-color: #004424;
435
+ color: white;
436
+ }
437
+ a.dps-alert-status--shielding-unit:focus {
438
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
439
+ }
440
+
441
+ .dps-alert-status--refusing-to-shield {
442
+ border-color: #b58840;
443
+ }
444
+ a.dps-alert-status--refusing-to-shield:hover, a.dps-alert-status--refusing-to-shield:focus {
445
+ text-decoration: none;
446
+ background-color: #b58840;
447
+ color: white;
448
+ }
449
+ a.dps-alert-status--refusing-to-shield:focus {
450
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
451
+ }
452
+
453
+ .dps-alert-status--risk-to-known-adults {
454
+ border-color: #003078;
455
+ }
456
+ a.dps-alert-status--risk-to-known-adults:hover, a.dps-alert-status--risk-to-known-adults:focus {
457
+ text-decoration: none;
458
+ background-color: #003078;
459
+ color: white;
460
+ }
461
+ a.dps-alert-status--risk-to-known-adults:focus {
462
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
463
+ }
464
+
465
+ .dps-alert-status--isolated-prisoner {
466
+ border-color: #00753f;
467
+ }
468
+ a.dps-alert-status--isolated-prisoner:hover, a.dps-alert-status--isolated-prisoner:focus {
469
+ text-decoration: none;
470
+ background-color: #00753f;
471
+ color: white;
472
+ }
473
+ a.dps-alert-status--isolated-prisoner:focus {
474
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
475
+ }
476
+
477
+ .dps-alert-status--visor {
478
+ border-color: #003078;
479
+ }
480
+ a.dps-alert-status--visor:hover, a.dps-alert-status--visor:focus {
481
+ text-decoration: none;
482
+ background-color: #003078;
483
+ color: white;
484
+ }
485
+ a.dps-alert-status--visor:focus {
486
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
487
+ }
488
+
489
+ @media screen {
490
+ .alert-status--multicase {
491
+ text-transform: none;
492
+ min-height: 30px;
493
+ }
494
+ }
495
+
496
+ .hmpps-address-autosuggest {
497
+ position: relative;
498
+ max-width: 630px;
499
+ }
500
+ .hmpps-address-autosuggest .govuk-form-group {
501
+ margin-bottom: 10px;
502
+ }
503
+ .hmpps-address-autosuggest__combobox {
504
+ border-radius: 3px;
505
+ display: inline-block;
506
+ }
507
+ .hmpps-address-autosuggest__results {
508
+ border: 1px solid var(--govuk-border-colour, #cecece);
509
+ border-radius: 3px;
510
+ display: none;
511
+ margin: 0 0 0;
512
+ overflow: hidden;
513
+ padding: 0;
514
+ width: 100%;
515
+ }
516
+ .hmpps-address-autosuggest__results-title {
517
+ background: #f3f3f3;
518
+ border-bottom: 1px solid var(--govuk-border-colour, #cecece);
519
+ padding: 0.25rem 0.5rem;
520
+ }
521
+ .hmpps-address-autosuggest__listbox {
522
+ background: #ffffff;
523
+ list-style: none;
524
+ margin: 0;
525
+ padding: 0;
526
+ }
527
+ .hmpps-address-autosuggest__listbox:focus {
528
+ outline: none;
529
+ }
530
+ .hmpps-address-autosuggest__option {
531
+ cursor: pointer;
532
+ margin: 0;
533
+ outline: none;
534
+ padding: 0.25rem 0.5rem;
535
+ }
536
+ .hmpps-address-autosuggest__option:not(:last-child) {
537
+ border-bottom: 1px solid var(--govuk-border-colour, #cecece);
538
+ }
539
+ .hmpps-address-autosuggest__option--focused:not(.hmpps-address-autosuggest__option--no-results) {
540
+ background: #1d70b8;
541
+ border-color: #1d70b8;
542
+ color: #ffffff;
543
+ }
544
+ .hmpps-address-autosuggest__option:active:not(.hmpps-address-autosuggest__option--no-results) {
545
+ background: var(--ons-color-focus);
546
+ color: #0b0c0c;
547
+ }
548
+ .hmpps-address-autosuggest__option--no-results {
549
+ background: #f3f3f3;
550
+ cursor: not-allowed;
551
+ padding: 0.25rem 0.5rem;
552
+ }
553
+ .hmpps-address-autosuggest__error {
554
+ margin-top: 5px;
555
+ }
556
+ .hmpps-address-autosuggest:not(.hmpps-address-autosuggest--initialised) .hmpps-address-autosuggest__instructions, .hmpps-address-autosuggest:not(.hmpps-address-autosuggest--initialised) .hmpps-address-autosuggest__listbox, .hmpps-address-autosuggest:not(.hmpps-address-autosuggest--initialised) .hmpps-address-autosuggest__status {
557
+ display: none;
558
+ }
559
+ .hmpps-address-autosuggest--has-results .hmpps-address-autosuggest__results {
560
+ display: block;
561
+ }
562
+ .hmpps-address-autosuggest--header .hmpps-address-autosuggest__results {
563
+ border: 0;
564
+ box-shadow: 0 0 5px 0 rgba(34, 34, 34, 0.6);
565
+ left: 0;
566
+ position: absolute;
567
+ z-index: 10;
568
+ }
569
+
570
+ .hmpps-modal {
571
+ display: flex;
572
+ z-index: 2;
573
+ }
574
+ .hmpps-modal[hidden] {
575
+ display: none !important;
576
+ }
577
+
578
+ .hmpps-modal, .hmpps-modal__backdrop {
579
+ position: fixed;
580
+ top: 0;
581
+ right: 0;
582
+ bottom: 0;
583
+ left: 0;
584
+ }
585
+
586
+ .hmpps-modal__backdrop {
587
+ background: rgba(11, 12, 12, 0.6);
588
+ }
589
+
590
+ .hmpps-modal__dialogue-box {
591
+ display: block;
592
+ padding: 0;
593
+ margin: auto;
594
+ min-width: 400px;
595
+ max-width: 800px;
596
+ min-height: 300px;
597
+ max-height: 90vh;
598
+ z-index: 2;
599
+ position: relative;
600
+ background: #ffffff;
601
+ border: 3px solid #0b0c0c;
602
+ }
603
+ .hmpps-modal__dialogue-box:focus {
604
+ outline: none;
605
+ box-shadow: 0 0 0 3px var(--govuk-focus-colour, #ffdd00);
606
+ }
607
+ .hmpps-modal__dialogue-box header {
608
+ display: flex;
609
+ gap: 20px;
610
+ justify-content: space-between;
611
+ align-items: center;
612
+ background: #0b0c0c;
613
+ color: #ffffff;
614
+ margin-top: 0;
615
+ padding: 0 0 0 30px;
616
+ height: 45px;
617
+ }
618
+ .hmpps-modal__dialogue-box header h1 {
619
+ font-family: "GDS Transport", arial, sans-serif;
620
+ -webkit-font-smoothing: antialiased;
621
+ -moz-osx-font-smoothing: grayscale;
622
+ }
623
+ /*! 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 */
624
+ @font-face {
625
+ font-family: "GDS Transport";
626
+ font-style: normal;
627
+ font-weight: normal;
628
+ font-display: fallback;
629
+ src: url("/assets/fonts/light-94a07e06a1-v2.woff2") format("woff2"), url("/assets/fonts/light-f591b13f7d-v2.woff") format("woff");
630
+ }
631
+ @font-face {
632
+ font-family: "GDS Transport";
633
+ font-style: normal;
634
+ font-weight: bold;
635
+ font-display: fallback;
636
+ src: url("/assets/fonts/bold-b542beb274-v2.woff2") format("woff2"), url("/assets/fonts/bold-affa96571d-v2.woff") format("woff");
637
+ }
638
+ @media print {
639
+ .hmpps-modal__dialogue-box header h1 {
640
+ font-family: sans-serif;
641
+ }
642
+ }
643
+ .hmpps-modal__dialogue-box header h1 {
644
+ font-weight: 700;
645
+ font-size: 1.1875rem;
646
+ line-height: 1.3157894737;
647
+ }
648
+ @media print {
649
+ .hmpps-modal__dialogue-box header h1 {
650
+ font-size: 14pt;
651
+ line-height: 1.15;
652
+ }
653
+ }
654
+ .hmpps-modal__dialogue-box header h1 {
655
+ margin: 0;
656
+ }
657
+
658
+ .hmpps-modal__close-button {
659
+ all: unset;
660
+ appearance: none;
661
+ width: 40px;
662
+ height: 40px;
663
+ text-align: center;
664
+ padding-top: 3px;
665
+ margin-top: -3px;
666
+ cursor: pointer;
667
+ background: #0b0c0c;
668
+ color: #ffffff;
669
+ }
670
+ .hmpps-modal__close-button:hover, .hmpps-modal__close-button:focus {
671
+ background: var(--govuk-focus-colour, #ffdd00);
672
+ color: #0b0c0c;
673
+ }
674
+ @media (forced-colors: active) and (prefers-color-scheme: dark) {
675
+ .hmpps-modal__close-button:hover, .hmpps-modal__close-button:focus {
676
+ background: #0b0c0c;
677
+ color: #ffdd00;
678
+ }
679
+ }
680
+
681
+ .hmpps-modal__content {
682
+ padding: 15px 30px 0 30px;
683
+ max-height: calc(90vh - 70px);
684
+ min-height: 230px;
685
+ overflow: auto;
686
+ }
687
+ .hmpps-modal__content .hmpps-modal__loading-graphic {
688
+ width: 50px;
689
+ display: block;
690
+ margin: 80px auto auto;
691
+ }
692
+ .hmpps-modal__content .hmpps-modal__loading-graphic g {
693
+ animation: hmpps-modal__loading-graphic-animation 1s step-end infinite;
694
+ transform-origin: center;
695
+ fill: #0b0c0c;
696
+ }
697
+ @media (forced-colors: active) and (prefers-color-scheme: dark) {
698
+ .hmpps-modal__content .hmpps-modal__loading-graphic g {
699
+ fill: #ffffff;
700
+ }
701
+ }
702
+
703
+ @keyframes hmpps-modal__loading-graphic-animation {
704
+ 8.3% {
705
+ transform: rotate(30deg);
706
+ }
707
+ 16.6% {
708
+ transform: rotate(60deg);
709
+ }
710
+ 25% {
711
+ transform: rotate(90deg);
712
+ }
713
+ 33.3% {
714
+ transform: rotate(120deg);
715
+ }
716
+ 41.6% {
717
+ transform: rotate(150deg);
718
+ }
719
+ 50% {
720
+ transform: rotate(180deg);
721
+ }
722
+ 58.3% {
723
+ transform: rotate(210deg);
724
+ }
725
+ 66.6% {
726
+ transform: rotate(240deg);
727
+ }
728
+ 75% {
729
+ transform: rotate(270deg);
730
+ }
731
+ 83.3% {
732
+ transform: rotate(300deg);
733
+ }
734
+ 91.6% {
735
+ transform: rotate(330deg);
736
+ }
737
+ 100% {
738
+ transform: rotate(360deg);
739
+ }
740
+ }
741
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container {
742
+ width: 100%;
743
+ padding: 10px;
744
+ margin-bottom: 20px;
745
+ }
746
+ @media (min-width: 40.0625em) {
747
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container {
748
+ margin-bottom: 30px;
749
+ }
750
+ }
751
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__with-border {
752
+ border: 1px solid var(--govuk-border-colour, #cecece);
753
+ }
754
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__error {
755
+ border: 5px solid #eb611c;
756
+ }
757
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__error .hmpps-webcam-error-icon {
758
+ display: block;
759
+ width: 1.875rem;
760
+ height: 1.875rem;
761
+ color: #eb611c;
762
+ }
763
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__content {
764
+ display: flex;
765
+ width: 100%;
766
+ }
767
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__photo-preview img {
768
+ background: #000;
769
+ border: 2px solid #333;
770
+ height: 276px;
771
+ object-fit: contain;
772
+ width: 221px;
773
+ display: block;
774
+ }
775
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__description {
776
+ padding-top: 10px;
777
+ display: flex;
778
+ gap: 10px;
779
+ margin-left: 24px;
780
+ min-width: 0;
781
+ }
782
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__description h2 {
783
+ margin-bottom: 15px;
784
+ }
785
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__controls {
786
+ display: flex;
787
+ justify-content: space-between;
788
+ margin-top: 3px;
789
+ width: 100%;
790
+ }
791
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__controls__full-width {
792
+ width: 100%;
793
+ }
794
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__controls__half-width {
795
+ width: 107.5px;
796
+ }
797
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__controls button {
798
+ margin-bottom: 0 !important;
799
+ }
800
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__controls button .hmpps-webcam-button-text {
801
+ align-items: center;
802
+ display: flex;
803
+ gap: 5px;
804
+ justify-content: center;
805
+ font-size: 16px;
806
+ color: #0b0c0c;
807
+ }
808
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container__controls button .hmpps-webcam-button-text img {
809
+ width: auto;
810
+ height: auto;
811
+ }
812
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container .hmpps-webcam-video-container,
813
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container .hmpps-webcam-image-container {
814
+ max-width: fit-content;
815
+ }
816
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container .hmpps-webcam-video-container video,
817
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container .hmpps-webcam-image-container video {
818
+ background: #000;
819
+ border: 2px solid #333;
820
+ display: none;
821
+ height: 276px;
822
+ width: 221px;
823
+ }
824
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container .hmpps-webcam-video-container__placeholder,
825
+ .hmpps-webcam-capture .hmpps-webcam-capture-photo-container .hmpps-webcam-image-container__placeholder {
826
+ align-items: center;
827
+ background-color: #505a5f;
828
+ border: 2px solid #333;
829
+ color: #ffffff;
830
+ display: flex;
831
+ height: 276px;
832
+ justify-content: center;
833
+ width: 221px;
834
+ }
835
+ .hmpps-webcam-capture #hmpps-webcam__photo-capture-container,
836
+ .hmpps-webcam-capture #hmpps-webcam__rotate-button-group,
837
+ .hmpps-webcam-capture #hmpps-webcam__photo-capture-container__error,
838
+ .hmpps-webcam-capture #hmpps-webcam__permission-requested,
839
+ .hmpps-webcam-capture #hmpps-webcam__permission-denied,
840
+ .hmpps-webcam-capture #hmpps-webcam__permission-granted,
841
+ .hmpps-webcam-capture #hmpps-webcam__webcam-not-found,
842
+ .hmpps-webcam-capture #hmpps-webcam__webcam-error {
843
+ display: none;
844
+ }