@utahdts/utah-design-system-header 0.3.0 → 0.4.1

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.
@@ -1,3 +1,312 @@
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+ /* Document
3
+ ========================================================================== */
4
+ /**
5
+ * 1. Correct the line height in all browsers.
6
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
7
+ */
8
+ html {
9
+ line-height: 1.15; /* 1 */
10
+ -webkit-text-size-adjust: 100%; /* 2 */
11
+ }
12
+
13
+ /* Sections
14
+ ========================================================================== */
15
+ /**
16
+ * Remove the margin in all browsers.
17
+ */
18
+ body {
19
+ margin: 0;
20
+ }
21
+
22
+ /**
23
+ * Render the `main` element consistently in IE.
24
+ */
25
+ main {
26
+ display: block;
27
+ }
28
+
29
+ /**
30
+ * Correct the font size and margin on `h1` elements within `section` and
31
+ * `article` contexts in Chrome, Firefox, and Safari.
32
+ */
33
+ h1 {
34
+ font-size: 2em;
35
+ margin: 0.67em 0;
36
+ }
37
+
38
+ /* Grouping content
39
+ ========================================================================== */
40
+ /**
41
+ * 1. Add the correct box sizing in Firefox.
42
+ * 2. Show the overflow in Edge and IE.
43
+ */
44
+ hr {
45
+ box-sizing: content-box; /* 1 */
46
+ height: 0; /* 1 */
47
+ overflow: visible; /* 2 */
48
+ }
49
+
50
+ /**
51
+ * 1. Correct the inheritance and scaling of font size in all browsers.
52
+ * 2. Correct the odd `em` font sizing in all browsers.
53
+ */
54
+ pre {
55
+ font-family: monospace, monospace; /* 1 */
56
+ font-size: 1em; /* 2 */
57
+ }
58
+
59
+ /* Text-level semantics
60
+ ========================================================================== */
61
+ /**
62
+ * Remove the gray background on active links in IE 10.
63
+ */
64
+ a {
65
+ background-color: transparent;
66
+ }
67
+
68
+ /**
69
+ * 1. Remove the bottom border in Chrome 57-
70
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
71
+ */
72
+ abbr[title] {
73
+ border-bottom: none; /* 1 */
74
+ text-decoration: underline; /* 2 */
75
+ text-decoration: underline dotted; /* 2 */
76
+ }
77
+
78
+ /**
79
+ * Add the correct font weight in Chrome, Edge, and Safari.
80
+ */
81
+ b,
82
+ strong {
83
+ font-weight: bolder;
84
+ }
85
+
86
+ /**
87
+ * 1. Correct the inheritance and scaling of font size in all browsers.
88
+ * 2. Correct the odd `em` font sizing in all browsers.
89
+ */
90
+ code,
91
+ kbd,
92
+ samp {
93
+ font-family: monospace, monospace; /* 1 */
94
+ font-size: 1em; /* 2 */
95
+ }
96
+
97
+ /**
98
+ * Add the correct font size in all browsers.
99
+ */
100
+ small {
101
+ font-size: 80%;
102
+ }
103
+
104
+ /**
105
+ * Prevent `sub` and `sup` elements from affecting the line height in
106
+ * all browsers.
107
+ */
108
+ sub,
109
+ sup {
110
+ font-size: 75%;
111
+ line-height: 0;
112
+ position: relative;
113
+ vertical-align: baseline;
114
+ }
115
+
116
+ sub {
117
+ bottom: -0.25em;
118
+ }
119
+
120
+ sup {
121
+ top: -0.5em;
122
+ }
123
+
124
+ /* Embedded content
125
+ ========================================================================== */
126
+ /**
127
+ * Remove the border on images inside links in IE 10.
128
+ */
129
+ img {
130
+ border-style: none;
131
+ }
132
+
133
+ /* Forms
134
+ ========================================================================== */
135
+ /**
136
+ * 1. Change the font styles in all browsers.
137
+ * 2. Remove the margin in Firefox and Safari.
138
+ */
139
+ button,
140
+ input,
141
+ optgroup,
142
+ select,
143
+ textarea {
144
+ font-family: inherit; /* 1 */
145
+ font-size: 100%; /* 1 */
146
+ line-height: 1.15; /* 1 */
147
+ margin: 0; /* 2 */
148
+ }
149
+
150
+ /**
151
+ * Show the overflow in IE.
152
+ * 1. Show the overflow in Edge.
153
+ */
154
+ button,
155
+ input { /* 1 */
156
+ overflow: visible;
157
+ }
158
+
159
+ /**
160
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
161
+ * 1. Remove the inheritance of text transform in Firefox.
162
+ */
163
+ button,
164
+ select { /* 1 */
165
+ text-transform: none;
166
+ }
167
+
168
+ /**
169
+ * Correct the inability to style clickable types in iOS and Safari.
170
+ */
171
+ button,
172
+ [type=button],
173
+ [type=reset],
174
+ [type=submit] {
175
+ -webkit-appearance: button;
176
+ }
177
+
178
+ /**
179
+ * Remove the inner border and padding in Firefox.
180
+ */
181
+ button::-moz-focus-inner,
182
+ [type=button]::-moz-focus-inner,
183
+ [type=reset]::-moz-focus-inner,
184
+ [type=submit]::-moz-focus-inner {
185
+ border-style: none;
186
+ padding: 0;
187
+ }
188
+
189
+ /**
190
+ * Restore the focus styles unset by the previous rule.
191
+ */
192
+ button:-moz-focusring,
193
+ [type=button]:-moz-focusring,
194
+ [type=reset]:-moz-focusring,
195
+ [type=submit]:-moz-focusring {
196
+ outline: 1px dotted ButtonText;
197
+ }
198
+
199
+ /**
200
+ * Correct the padding in Firefox.
201
+ */
202
+ fieldset {
203
+ padding: 0.35em 0.75em 0.625em;
204
+ }
205
+
206
+ /**
207
+ * 1. Correct the text wrapping in Edge and IE.
208
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
209
+ * 3. Remove the padding so developers are not caught out when they zero out
210
+ * `fieldset` elements in all browsers.
211
+ */
212
+ legend {
213
+ box-sizing: border-box; /* 1 */
214
+ color: inherit; /* 2 */
215
+ display: table; /* 1 */
216
+ max-width: 100%; /* 1 */
217
+ padding: 0; /* 3 */
218
+ white-space: normal; /* 1 */
219
+ }
220
+
221
+ /**
222
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
223
+ */
224
+ progress {
225
+ vertical-align: baseline;
226
+ }
227
+
228
+ /**
229
+ * Remove the default vertical scrollbar in IE 10+.
230
+ */
231
+ textarea {
232
+ overflow: auto;
233
+ }
234
+
235
+ /**
236
+ * 1. Add the correct box sizing in IE 10.
237
+ * 2. Remove the padding in IE 10.
238
+ */
239
+ [type=checkbox],
240
+ [type=radio] {
241
+ box-sizing: border-box; /* 1 */
242
+ padding: 0; /* 2 */
243
+ }
244
+
245
+ /**
246
+ * Correct the cursor style of increment and decrement buttons in Chrome.
247
+ */
248
+ [type=number]::-webkit-inner-spin-button,
249
+ [type=number]::-webkit-outer-spin-button {
250
+ height: auto;
251
+ }
252
+
253
+ /**
254
+ * 1. Correct the odd appearance in Chrome and Safari.
255
+ * 2. Correct the outline style in Safari.
256
+ */
257
+ [type=search] {
258
+ -webkit-appearance: textfield; /* 1 */
259
+ outline-offset: -2px; /* 2 */
260
+ }
261
+
262
+ /**
263
+ * Remove the inner padding in Chrome and Safari on macOS.
264
+ */
265
+ [type=search]::-webkit-search-decoration {
266
+ -webkit-appearance: none;
267
+ }
268
+
269
+ /**
270
+ * 1. Correct the inability to style clickable types in iOS and Safari.
271
+ * 2. Change font properties to `inherit` in Safari.
272
+ */
273
+ ::-webkit-file-upload-button {
274
+ -webkit-appearance: button; /* 1 */
275
+ font: inherit; /* 2 */
276
+ }
277
+
278
+ /* Interactive
279
+ ========================================================================== */
280
+ /*
281
+ * Add the correct display in Edge, IE 10+, and Firefox.
282
+ */
283
+ details {
284
+ display: block;
285
+ }
286
+
287
+ /*
288
+ * Add the correct display in all browsers.
289
+ */
290
+ summary {
291
+ display: list-item;
292
+ }
293
+
294
+ /* Misc
295
+ ========================================================================== */
296
+ /**
297
+ * Add the correct display in IE 10+.
298
+ */
299
+ template {
300
+ display: none;
301
+ }
302
+
303
+ /**
304
+ * Add the correct display in IE 10.
305
+ */
306
+ [hidden] {
307
+ display: none;
308
+ }
309
+
1
310
  /*
2
311
  BEM standard: Block, Element, Modifier
3
312
  Block: use dashes to separate words:
@@ -1973,6 +2282,8 @@ input[type=checkbox].switch {
1973
2282
  border: 1px solid #7a7a77;
1974
2283
  background: #7a7a77;
1975
2284
  border-radius: 16px;
2285
+ background-color: #699957;
2286
+ border-color: #699957;
1976
2287
  }
1977
2288
 
1978
2289
  .switch-old::after {
@@ -1987,11 +2298,6 @@ input[type=checkbox].switch {
1987
2298
  color: #699957;
1988
2299
  }
1989
2300
 
1990
- .switch-old::before {
1991
- background-color: #699957;
1992
- border-color: #699957;
1993
- }
1994
-
1995
2301
  .utah-design-system .main-menu__wrapper {
1996
2302
  background-color: var(--gray-light-color);
1997
2303
  display: flex;
@@ -1,3 +1,4 @@
1
+ @use '../../../library/css/3-generic/normalize.css';
1
2
  @use '../../../library/css/index.scss';
2
3
  @use 'citizen-experience';
3
4
  @use 'action-items';