hof 20.3.7-beta-gtm → 20.3.7-timeout-beta
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/2194bc4f-7454-4356-80e2-e52a7dc798aa.json +1 -0
- package/.nyc_output/processinfo/{c84e394d-abf7-4aea-99aa-36427e671442.json → 2194bc4f-7454-4356-80e2-e52a7dc798aa.json} +1 -1
- package/.nyc_output/processinfo/index.json +1 -1
- package/README.md +12 -12
- package/config/hof-defaults.js +8 -1
- package/frontend/template-partials/translations/src/en/buttons.json +1 -0
- package/frontend/template-partials/translations/src/en/errors.json +4 -0
- package/frontend/template-partials/views/layout.html +2 -1
- package/frontend/template-partials/views/partials/head.html +3 -6
- package/frontend/template-partials/views/partials/session-timeout-warning.html +27 -0
- package/frontend/themes/gov-uk/client-js/dialog/index.js +361 -0
- package/frontend/themes/gov-uk/client-js/dialog/utils.js +114 -0
- package/frontend/themes/gov-uk/client-js/index.js +1 -0
- package/lib/ga-tag.js +6 -11
- package/middleware/session-timeout.js +23 -0
- package/package.json +1 -1
- package/sandbox/apps/sandbox/behaviours/extend-session.js +9 -0
- package/sandbox/assets/scss/app.scss +115 -1
- package/sandbox/package.json +1 -1
- package/sandbox/public/css/app.css +109 -0
- package/sandbox/public/js/bundle.js +12345 -1149
- package/sandbox/yarn.lock +6 -1
- package/.nyc_output/c84e394d-abf7-4aea-99aa-36427e671442.json +0 -1
- package/frontend/template-partials/views/partials/warn.html +0 -7
@@ -9384,4 +9384,113 @@ fieldset + .reveal {
|
|
9384
9384
|
|
9385
9385
|
.twitter-typeahead {
|
9386
9386
|
width: 100%;
|
9387
|
+
}
|
9388
|
+
|
9389
|
+
.hidden {
|
9390
|
+
display: none;
|
9391
|
+
}
|
9392
|
+
|
9393
|
+
[role=dialog] {
|
9394
|
+
box-sizing: border-box;
|
9395
|
+
padding: 15px;
|
9396
|
+
border: 1px solid #000;
|
9397
|
+
background-color: #fff;
|
9398
|
+
min-height: 100vh;
|
9399
|
+
}
|
9400
|
+
|
9401
|
+
@media screen and (min-width: 640px) {
|
9402
|
+
[role=dialog] {
|
9403
|
+
position: absolute;
|
9404
|
+
top: 25vh;
|
9405
|
+
left: 50vw; /* move to the middle of the screen (assumes relative parent is the body/viewport) */
|
9406
|
+
transform: translateX(-50%); /* move backwards 50% of this element's width */
|
9407
|
+
min-width: 610px; /* == breakpoint - left+right margin */
|
9408
|
+
min-height: auto;
|
9409
|
+
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.12), 0 15px 12px rgba(0, 0, 0, 0.22);
|
9410
|
+
}
|
9411
|
+
}
|
9412
|
+
.dialog_form {
|
9413
|
+
margin: 15px;
|
9414
|
+
}
|
9415
|
+
|
9416
|
+
.dialog_form .label_text {
|
9417
|
+
box-sizing: border-box;
|
9418
|
+
padding-right: 0.5em;
|
9419
|
+
display: inline-block;
|
9420
|
+
font-size: 16px;
|
9421
|
+
font-weight: bold;
|
9422
|
+
width: 30%;
|
9423
|
+
text-align: right;
|
9424
|
+
}
|
9425
|
+
|
9426
|
+
.dialog_form .label_info {
|
9427
|
+
box-sizing: border-box;
|
9428
|
+
padding-right: 0.5em;
|
9429
|
+
font-size: 12px;
|
9430
|
+
width: 30%;
|
9431
|
+
text-align: right;
|
9432
|
+
display: inline-block;
|
9433
|
+
}
|
9434
|
+
|
9435
|
+
.dialog_form_item {
|
9436
|
+
margin: 10px 0;
|
9437
|
+
font-size: 0;
|
9438
|
+
}
|
9439
|
+
|
9440
|
+
.dialog_form_item .wide_input {
|
9441
|
+
box-sizing: border-box;
|
9442
|
+
max-width: 70%;
|
9443
|
+
width: 27em;
|
9444
|
+
}
|
9445
|
+
|
9446
|
+
.dialog_form_actions {
|
9447
|
+
text-align: right;
|
9448
|
+
padding: 0 20px 20px;
|
9449
|
+
}
|
9450
|
+
|
9451
|
+
.dialog_close_button {
|
9452
|
+
float: right;
|
9453
|
+
position: absolute;
|
9454
|
+
top: 10px;
|
9455
|
+
left: 92%;
|
9456
|
+
height: 25px;
|
9457
|
+
}
|
9458
|
+
|
9459
|
+
.dialog_close_button img {
|
9460
|
+
border: 0;
|
9461
|
+
}
|
9462
|
+
|
9463
|
+
.dialog_desc {
|
9464
|
+
padding: 10px 20px;
|
9465
|
+
}
|
9466
|
+
|
9467
|
+
/* native <dialog> element uses the ::backdrop pseudo-element */
|
9468
|
+
/* dialog::backdrop, */
|
9469
|
+
.dialog-backdrop {
|
9470
|
+
display: none;
|
9471
|
+
position: fixed;
|
9472
|
+
overflow-y: auto;
|
9473
|
+
top: 0;
|
9474
|
+
right: 0;
|
9475
|
+
bottom: 0;
|
9476
|
+
left: 0;
|
9477
|
+
z-index: 1;
|
9478
|
+
}
|
9479
|
+
|
9480
|
+
@media screen and (min-width: 640px) {
|
9481
|
+
.dialog-backdrop {
|
9482
|
+
background: rgba(0, 0, 0, 0.3);
|
9483
|
+
}
|
9484
|
+
}
|
9485
|
+
.dialog-backdrop.active {
|
9486
|
+
display: block;
|
9487
|
+
}
|
9488
|
+
|
9489
|
+
.no-scroll {
|
9490
|
+
overflow-y: auto !important;
|
9491
|
+
}
|
9492
|
+
|
9493
|
+
/* this is added to the body when a dialog is open */
|
9494
|
+
.has-dialog {
|
9495
|
+
overflow: hidden;
|
9387
9496
|
}
|