hof 20.3.10-beta-gtm → 20.4.0-beta-session-timeout

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