hof 20.3.6-beta-gtm → 20.3.6-timeout-beta

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
7
7
  border: 1px solid #ccc;
8
8
  width: 65%;
9
9
  }
10
-
10
+
11
11
  .tt-suggestion {
12
12
  padding: 0.5em;
13
13
 
@@ -25,3 +25,117 @@
25
25
  .twitter-typeahead {
26
26
  width: 100%;
27
27
  }
28
+
29
+ .hidden {
30
+ display: none;
31
+ }
32
+
33
+ [role="dialog"] {
34
+ box-sizing: border-box;
35
+ padding: 15px;
36
+ border: 1px solid #000;
37
+ background-color: #fff;
38
+ min-height: 100vh;
39
+ }
40
+
41
+ @media screen and (min-width: 640px) {
42
+ [role="dialog"] {
43
+ position: absolute;
44
+ top: 25vh;
45
+ left: 50vw; /* move to the middle of the screen (assumes relative parent is the body/viewport) */
46
+ transform: translateX(
47
+ -50%
48
+ ); /* move backwards 50% of this element's width */
49
+ min-width: calc(640px - (15px * 2)); /* == breakpoint - left+right margin */
50
+ min-height: auto;
51
+ box-shadow: 0 19px 38px rgb(0 0 0 / 12%), 0 15px 12px rgb(0 0 0 / 22%);
52
+ }
53
+ }
54
+
55
+ .dialog_form {
56
+ margin: 15px;
57
+ }
58
+
59
+ .dialog_form .label_text {
60
+ box-sizing: border-box;
61
+ padding-right: 0.5em;
62
+ display: inline-block;
63
+ font-size: 16px;
64
+ font-weight: bold;
65
+ width: 30%;
66
+ text-align: right;
67
+ }
68
+
69
+ .dialog_form .label_info {
70
+ box-sizing: border-box;
71
+ padding-right: 0.5em;
72
+ font-size: 12px;
73
+ width: 30%;
74
+ text-align: right;
75
+ display: inline-block;
76
+ }
77
+
78
+ .dialog_form_item {
79
+ margin: 10px 0;
80
+ font-size: 0;
81
+ }
82
+
83
+ .dialog_form_item .wide_input {
84
+ box-sizing: border-box;
85
+ max-width: 70%;
86
+ width: 27em;
87
+ }
88
+
89
+ .dialog_form_actions {
90
+ text-align: right;
91
+ padding: 0 20px 20px;
92
+ }
93
+
94
+ .dialog_close_button {
95
+ float: right;
96
+ position: absolute;
97
+ top: 10px;
98
+ left: 92%;
99
+ height: 25px;
100
+ }
101
+
102
+ .dialog_close_button img {
103
+ border: 0;
104
+ }
105
+
106
+ .dialog_desc {
107
+ padding: 10px 20px;
108
+ }
109
+
110
+ /* native <dialog> element uses the ::backdrop pseudo-element */
111
+
112
+ /* dialog::backdrop, */
113
+ .dialog-backdrop {
114
+ display: none;
115
+ position: fixed;
116
+ overflow-y: auto;
117
+ top: 0;
118
+ right: 0;
119
+ bottom: 0;
120
+ left: 0;
121
+ z-index: 1;
122
+ }
123
+
124
+ @media screen and (min-width: 640px) {
125
+ .dialog-backdrop {
126
+ background: rgb(0 0 0 / 30%);
127
+ }
128
+ }
129
+
130
+ .dialog-backdrop.active {
131
+ display: block;
132
+ }
133
+
134
+ .no-scroll {
135
+ overflow-y: auto !important;
136
+ }
137
+
138
+ /* this is added to the body when a dialog is open */
139
+ .has-dialog {
140
+ overflow: hidden;
141
+ }
@@ -16,7 +16,7 @@
16
16
  "author": "",
17
17
  "dependencies": {
18
18
  "govuk-frontend": "3.14",
19
- "jquery": "^3.6.0",
19
+ "jquery": "^3.6.1",
20
20
  "sass": "^1.53.0",
21
21
  "typeahead-aria": "^1.0.4"
22
22
  },
@@ -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
  }