sfc-utils 1.4.203 → 1.4.204

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.
Files changed (86) hide show
  1. package/components/helpers/utilfunctions.mjs +17 -24
  2. package/package.json +1 -1
  3. package/settings.js +2 -2
  4. package/example/.prettierrc +0 -5
  5. package/example/README.md +0 -8
  6. package/example/gatsby-config.js +0 -137
  7. package/example/gatsby-node.js +0 -66
  8. package/example/package-lock.json +0 -31884
  9. package/example/package.json +0 -71
  10. package/example/project-config.json +0 -38
  11. package/example/src/components/layout.js +0 -96
  12. package/example/src/components/sfc/ad.js +0 -47
  13. package/example/src/components/sfc/ai2html/ai2html_template.ai +5 -1368
  14. package/example/src/components/sfc/button.js +0 -40
  15. package/example/src/components/sfc/byline.js +0 -42
  16. package/example/src/components/sfc/component-helpers/customhooks.js +0 -17
  17. package/example/src/components/sfc/component-helpers/datehelpers.js +0 -55
  18. package/example/src/components/sfc/component-helpers/newsletterhelpers.js +0 -89
  19. package/example/src/components/sfc/component-helpers/requesthelpers.js +0 -7
  20. package/example/src/components/sfc/component-helpers/scrolldownhelpers.js +0 -11
  21. package/example/src/components/sfc/component-helpers/utilfunctions.js +0 -68
  22. package/example/src/components/sfc/creditline.js +0 -35
  23. package/example/src/components/sfc/credits.js +0 -17
  24. package/example/src/components/sfc/creditssection.js +0 -49
  25. package/example/src/components/sfc/dropcap.js +0 -15
  26. package/example/src/components/sfc/footer.js +0 -36
  27. package/example/src/components/sfc/geocoder.js +0 -148
  28. package/example/src/components/sfc/misccredit.js +0 -17
  29. package/example/src/components/sfc/navtop.js +0 -121
  30. package/example/src/components/sfc/newsletter.js +0 -157
  31. package/example/src/components/sfc/relatedlink.js +0 -23
  32. package/example/src/components/sfc/relatedrow.js +0 -23
  33. package/example/src/components/sfc/relatedsection.js +0 -27
  34. package/example/src/components/sfc/safelink.js +0 -86
  35. package/example/src/components/sfc/scrolldown.js +0 -22
  36. package/example/src/components/sfc/sharebuttons.js +0 -93
  37. package/example/src/components/sfc/topper.js +0 -88
  38. package/example/src/components/sfc/video.js +0 -74
  39. package/example/src/components/sfc/wcmimage.js +0 -131
  40. package/example/src/data/sfc/images/react.gif +0 -0
  41. package/example/src/data/sfc/related_links.json +0 -17
  42. package/example/src/html.js +0 -41
  43. package/example/src/pages/index.js +0 -166
  44. package/example/src/styles/credittooltip.less +0 -55
  45. package/example/src/styles/footer.less +0 -378
  46. package/example/src/styles/modules/ad.module.less +0 -21
  47. package/example/src/styles/modules/ai2html.module.less +0 -19
  48. package/example/src/styles/modules/button.module.less +0 -94
  49. package/example/src/styles/modules/byline.module.less +0 -11
  50. package/example/src/styles/modules/creditline.module.less +0 -12
  51. package/example/src/styles/modules/credits.module.less +0 -7
  52. package/example/src/styles/modules/creditssection.module.less +0 -17
  53. package/example/src/styles/modules/dropcap.module.less +0 -18
  54. package/example/src/styles/modules/geocoder.module.less +0 -79
  55. package/example/src/styles/modules/newsletter.module.less +0 -147
  56. package/example/src/styles/modules/relatedlink.module.less +0 -28
  57. package/example/src/styles/modules/relatedrow.module.less +0 -8
  58. package/example/src/styles/modules/relatedsection.module.less +0 -19
  59. package/example/src/styles/modules/scrolldown.module.less +0 -31
  60. package/example/src/styles/modules/share.module.less +0 -22
  61. package/example/src/styles/modules/topper.module.less +0 -63
  62. package/example/src/styles/modules/video.module.less +0 -27
  63. package/example/src/styles/modules/wcmimage.module.less +0 -20
  64. package/example/src/styles/nav.less +0 -187
  65. package/example/src/styles/old css/defaults.less +0 -99
  66. package/example/src/styles/old css/footer.less +0 -345
  67. package/example/src/styles/old css/nav.less +0 -187
  68. package/example/src/styles/old css/project.less +0 -1
  69. package/example/src/styles/old css/reset.css +0 -95
  70. package/example/src/styles/old css/seed.less +0 -7
  71. package/example/src/styles/old css/typography.css +0 -168
  72. package/example/src/styles/old css/values.less +0 -74
  73. package/example/src/styles/project.less +0 -1
  74. package/example/src/styles/reset.css +0 -97
  75. package/example/src/styles/seed.less +0 -6
  76. package/example/src/styles/values.less +0 -203
  77. package/example/src/styles/variables.less +0 -142
  78. package/example/static/manifest.webmanifest +0 -1
  79. package/example/tasks/create-c2p-sheet.js +0 -6
  80. package/example/tasks/deploy-addon.py +0 -14
  81. package/example/tasks/google-docs.js +0 -16
  82. package/example/tasks/google-sheets.js +0 -17
  83. package/example/tasks/node-helpers.js +0 -81
  84. package/example/tasks/post-build.sh +0 -7
  85. package/example/tasks/pre-build.sh +0 -18
  86. package/example/tempsettings.js +0 -28
@@ -1,345 +0,0 @@
1
- @import (less) "values";
2
-
3
- .pageFooter {
4
- background-color: #222;
5
- overflow: auto;
6
- padding: 30px 20px;
7
- position: relative;
8
-
9
- &.invert {
10
- background-color: #ececec;
11
- color: #000;
12
- }
13
- }
14
-
15
- .pageFooter--left {
16
- text-indent: -9999px;
17
- margin-bottom: 15px;
18
- }
19
-
20
- .pageFooter--left-logo {
21
- background-position: 0 0;
22
- background-repeat: no-repeat;
23
- background-size: contain;
24
- border-bottom: none;
25
- display: block;
26
- height: 20px;
27
- width: 100%;
28
- min-width: 100px;
29
-
30
- &.mobile {
31
- display: none;
32
- }
33
-
34
- @media @mobile{
35
- display: none;
36
-
37
- &.mobile {
38
- display: block;
39
- }
40
- }
41
- }
42
-
43
-
44
-
45
- .pageFooter--left-social {
46
- float: left;
47
- margin-top: 20px !important;
48
- margin-bottom: 30px !important;
49
- width: 100%;
50
- }
51
-
52
- .pageFooter--left-social li {
53
- float: left;
54
- height: 25px;
55
- margin-right: 10px;
56
- width: 25px;
57
- }
58
-
59
- .pageFooter--left-social a {
60
- display: block;
61
- height: 100%;
62
- width: 100%;
63
- }
64
-
65
- .pageFooter--left-social .facebook a {
66
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 1a19 19 0 1 0 19 19A18.954 18.954 0 0 0 20 1zm3.958 19h-2.691v9.5h-3.959V20h-1.9v-3.325h1.9v-2.217a3.707 3.707 0 0 1 3.325-3.958h3.642v3.325h-2.058a.748.748 0 0 0-.792.792v2.058h3.008z'/%3E%3C/svg%3E");
67
- background-repeat: no-repeat;
68
- background-size: contain;
69
- height: 25px;
70
- width: 25px;
71
- }
72
-
73
- .pageFooter--left-social .facebook a:hover {
74
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 1a19 19 0 1 0 19 19A18.954 18.954 0 0 0 20 1zm3.958 19h-2.691v9.5h-3.959V20h-1.9v-3.325h1.9v-2.217a3.707 3.707 0 0 1 3.325-3.958h3.642v3.325h-2.058a.748.748 0 0 0-.792.792v2.058h3.008z' fill='%233b5999'/%3E%3C/svg%3E");
75
- background-repeat: no-repeat;
76
- background-size: contain;
77
- }
78
-
79
- .pageFooter--left-social .twitter a {
80
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 1A19 19 0 1 1 1 20 19.056 19.056 0 0 1 20 1zm9.025 15.833a14.671 14.671 0 0 0 2.217-2.216 6.636 6.636 0 0 1-2.375.633 4.045 4.045 0 0 0 1.9-2.375 13.697 13.697 0 0 1-2.692 1.108 3.986 3.986 0 0 0-3.167-1.425 4.257 4.257 0 0 0-4.275 4.275 2.008 2.008 0 0 0 .159.95 13.243 13.243 0 0 1-4.909-1.266 12.953 12.953 0 0 1-3.958-3.167 5.154 5.154 0 0 0-.633 2.217 3.798 3.798 0 0 0 1.9 3.483 4.216 4.216 0 0 1-1.9-.475 4.3 4.3 0 0 0 .95 2.692 3.733 3.733 0 0 0 2.533 1.425 2.695 2.695 0 0 1-1.108.158h-.792a4.053 4.053 0 0 0 1.583 2.058 4.785 4.785 0 0 0 2.534.792 8.285 8.285 0 0 1-5.384 1.9H10.5a11.934 11.934 0 0 0 6.492 1.9 10.23 10.23 0 0 0 4.275-.792 14.9 14.9 0 0 0 3.483-1.9 10.37 10.37 0 0 0 2.375-2.85 10.781 10.781 0 0 0 1.583-3.325 12.347 12.347 0 0 0 .475-3.483c-.158 0-.158-.158-.158-.317z'/%3E%3C/svg%3E");
81
- background-repeat: no-repeat;
82
- background-size: contain;
83
- height: 25px;
84
- width: 25px;
85
- }
86
-
87
- .pageFooter--left-social .twitter a:hover {
88
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 1A19 19 0 1 1 1 20 19.056 19.056 0 0 1 20 1zm9.025 15.833a14.671 14.671 0 0 0 2.217-2.216 6.636 6.636 0 0 1-2.375.633 4.045 4.045 0 0 0 1.9-2.375 13.697 13.697 0 0 1-2.692 1.108 3.986 3.986 0 0 0-3.167-1.425 4.257 4.257 0 0 0-4.275 4.275 2.008 2.008 0 0 0 .159.95 13.243 13.243 0 0 1-4.909-1.266 12.953 12.953 0 0 1-3.958-3.167 5.154 5.154 0 0 0-.633 2.217 3.798 3.798 0 0 0 1.9 3.483 4.216 4.216 0 0 1-1.9-.475 4.3 4.3 0 0 0 .95 2.692 3.733 3.733 0 0 0 2.533 1.425 2.695 2.695 0 0 1-1.108.158h-.792a4.053 4.053 0 0 0 1.583 2.058 4.785 4.785 0 0 0 2.534.792 8.285 8.285 0 0 1-5.384 1.9H10.5a11.934 11.934 0 0 0 6.492 1.9 10.23 10.23 0 0 0 4.275-.792 14.9 14.9 0 0 0 3.483-1.9 10.37 10.37 0 0 0 2.375-2.85 10.781 10.781 0 0 0 1.583-3.325 12.347 12.347 0 0 0 .475-3.483c-.158 0-.158-.158-.158-.317z' fill='%23429bd5'/%3E%3C/svg%3E");
89
- background-repeat: no-repeat;
90
- background-size: contain;
91
- }
92
-
93
- .pageFooter--left-social .linkedin a {
94
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M39 20A19 19 0 1 1 20 1a18.823 18.823 0 0 1 16.625 9.975A17.881 17.881 0 0 1 39 20zm-9.658 8.708v-6.491a4.86 4.86 0 0 0-1.267-3.8 3.442 3.442 0 0 0-3.167-1.267 3.087 3.087 0 0 0-1.266.158l-.95.475c-.159.159-.475.317-.634.634-.158.158-.316.475-.475.633v-1.583h-3.8v11.4h3.8v-6.334a2.008 2.008 0 0 1 .159-.95 2.327 2.327 0 0 1 .791-.95 1.231 1.231 0 0 1 1.267-.316 1.543 1.543 0 0 1 1.425.633 4.216 4.216 0 0 1 .475 1.9v6.017zM15.25 15.25a2.358 2.358 0 0 0 .633-1.425 1.72 1.72 0 0 0-.633-1.425 2.033 2.033 0 0 0-1.583-.633 2.033 2.033 0 0 0-1.584.633 2.358 2.358 0 0 0-.633 1.425 1.72 1.72 0 0 0 .633 1.425 1.519 1.519 0 0 0 1.584.475 1.914 1.914 0 0 0 1.583-.475zm.317 13.458v-11.4h-3.8v11.4z'/%3E%3C/svg%3E");
95
- background-repeat: no-repeat;
96
- background-size: contain;
97
- height: 25px;
98
- width: 25px;
99
- }
100
-
101
- .pageFooter--left-social .linkedin a:hover {
102
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M39 20A19 19 0 1 1 20 1a18.823 18.823 0 0 1 16.625 9.975A17.881 17.881 0 0 1 39 20zm-9.658 8.708v-6.491a4.86 4.86 0 0 0-1.267-3.8 3.442 3.442 0 0 0-3.167-1.267 3.087 3.087 0 0 0-1.266.158l-.95.475c-.159.159-.475.317-.634.634-.158.158-.316.475-.475.633v-1.583h-3.8v11.4h3.8v-6.334a2.008 2.008 0 0 1 .159-.95 2.327 2.327 0 0 1 .791-.95 1.231 1.231 0 0 1 1.267-.316 1.543 1.543 0 0 1 1.425.633 4.216 4.216 0 0 1 .475 1.9v6.017zM15.25 15.25a2.358 2.358 0 0 0 .633-1.425 1.72 1.72 0 0 0-.633-1.425 2.033 2.033 0 0 0-1.583-.633 2.033 2.033 0 0 0-1.584.633 2.358 2.358 0 0 0-.633 1.425 1.72 1.72 0 0 0 .633 1.425 1.519 1.519 0 0 0 1.584.475 1.914 1.914 0 0 0 1.583-.475zm.317 13.458v-11.4h-3.8v11.4z' fill='%23017bb6'/%3E%3C/svg%3E");
103
- background-repeat: no-repeat;
104
- background-size: contain;
105
- }
106
-
107
- .pageFooter--left-social .instagram a {
108
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 38.05A18.05 18.05 0 1 1 38.05 20 18.05 18.05 0 0 1 20 38.05zm4.061-27.827H15.94c-5.596 0-5.566 5.565-5.566 5.565v8.123c0 5.565 5.566 5.565 5.566 5.565h8.122c5.566 0 5.566-5.565 5.566-5.565v-8.123c0-5.565-5.566-5.565-5.566-5.565z'/%3E%3Cpath d='M27.822 23.76a3.595 3.595 0 0 1-3.911 3.911h-7.822a3.595 3.595 0 0 1-3.91-3.91v-7.822a3.595 3.595 0 0 1 3.91-3.911h7.822a3.595 3.595 0 0 1 3.91 3.91zM24.964 20A4.964 4.964 0 1 0 20 24.964 4.964 4.964 0 0 0 24.964 20zM20 23.31A3.31 3.31 0 1 1 23.31 20 3.324 3.324 0 0 1 20 23.31zm5.265-9.778a1.203 1.203 0 1 0 1.203 1.203 1.203 1.203 0 0 0-1.203-1.203z'/%3E%3Ccircle cx='20' cy='20' r='3.309' fill='none'/%3E%3C/svg%3E");
109
- background-repeat: no-repeat;
110
- background-size: contain;
111
- height: 25px;
112
- width: 25px;
113
- }
114
-
115
- .pageFooter--left-social .instagram a:hover {
116
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 38.05A18.05 18.05 0 1 1 38.05 20 18.05 18.05 0 0 1 20 38.05zm4.061-27.827H15.94c-5.596 0-5.566 5.565-5.566 5.565v8.123c0 5.565 5.566 5.565 5.566 5.565h8.122c5.566 0 5.566-5.565 5.566-5.565v-8.123c0-5.565-5.566-5.565-5.566-5.565z' fill='%23c84274'/%3E%3Cpath d='M27.822 23.76a3.595 3.595 0 0 1-3.911 3.911h-7.822a3.595 3.595 0 0 1-3.91-3.91v-7.822a3.595 3.595 0 0 1 3.91-3.911h7.822a3.595 3.595 0 0 1 3.91 3.91zM24.964 20A4.964 4.964 0 1 0 20 24.964 4.964 4.964 0 0 0 24.964 20zM20 23.31A3.31 3.31 0 1 1 23.31 20 3.324 3.324 0 0 1 20 23.31zm5.265-9.778a1.203 1.203 0 1 0 1.203 1.203 1.203 1.203 0 0 0-1.203-1.203z' fill='%23c84274'/%3E%3Ccircle cx='20' cy='20' r='3.309' fill='none'/%3E%3C/svg%3E");
117
- background-repeat: no-repeat;
118
- background-size: contain;
119
- }
120
-
121
- .pageFooter--right {
122
- float: left;
123
- }
124
-
125
- .pageFooter--right-topLine {
126
- position: absolute;
127
- right: 20px;
128
- top: 30px;
129
- }
130
-
131
- .pageFooter--right-topLine .return {
132
- margin-bottom: 13px;
133
- text-transform: uppercase;
134
- width: 38px;
135
- }
136
-
137
- .pageFooter--right-topLine .full {
138
- display: none;
139
- }
140
-
141
- .pageFooter--right-links ul {
142
- float: left;
143
- margin: 0;
144
- padding: 0;
145
- width: 100%;
146
- list-style: none;
147
- }
148
-
149
- .pageFooter--right-links li {
150
- margin-bottom: 10px;
151
- padding: 0;
152
-
153
- a {
154
- color: #fff;
155
- text-decoration: none;
156
- &:hover {
157
- color: #ccc;
158
- }
159
- &:visited{
160
- color: @gray;
161
- }
162
- }
163
- }
164
-
165
- .invert .pageFooter--right-links li {
166
- a {
167
- color: #222;
168
- }
169
- a:hover {
170
- color: @brand;
171
- }
172
- &:visited{
173
- color: @gray;
174
- }
175
- }
176
-
177
- .pageFooter--right-links .section {
178
- -webkit-column-count: 2;
179
- column-count: 2;
180
- margin: 11px 0 18px;
181
- }
182
-
183
- .pageFooter--right-links .footer-title {
184
- margin-bottom: 4px;
185
- text-align: left;
186
- text-transform: uppercase;
187
- }
188
-
189
- .pageFooter--branding {
190
- border-top: 1px solid #999;
191
- float: left;
192
- padding-top: 17px;
193
- width: 100%;
194
- color: #fff;
195
- }
196
-
197
- .invert .pageFooter--branding {
198
- color: #000;
199
- }
200
-
201
- .pageFooter--branding-logo {
202
- height: 11px;
203
- width: 114px;
204
- }
205
-
206
- .pageFooter--branding-copyright {
207
- display: inline-block;
208
- width: 100%;
209
- }
210
- @media (min-width:48rem) {
211
- .pageFooter {
212
- padding: 36px 64px;
213
- }
214
-
215
- .pageFooter--wrapper {
216
- display: -webkit-box;
217
- display: -ms-flexbox;
218
- display: flex;
219
- }
220
-
221
- .pageFooter--left {
222
- -webkit-box-flex: 1;
223
- -ms-flex: 1 1 auto;
224
- flex: 1 1 auto;
225
- margin-right: 64px;
226
- }
227
-
228
- .pageFooter--right-topLine {
229
- border-bottom: 1px solid #999;
230
- margin-bottom: 14px;
231
- position: static;
232
- text-align: right;
233
-
234
- a {
235
- color: #222;
236
- }
237
- }
238
-
239
- .pageFooter--right-topLine .full {
240
- display: inline-block;
241
- }
242
-
243
- .pageFooter--right-links .wrapper {
244
- display: -webkit-box;
245
- display: -ms-flexbox;
246
- display: flex;
247
- }
248
-
249
- .pageFooter--right-links .wrapper > li {
250
- -webkit-box-flex: 0;
251
- padding-bottom: 0;
252
- }
253
-
254
- .pageFooter--right-links .section {
255
- -webkit-column-count: 1;
256
- column-count: 1;
257
- margin-bottom: 0;
258
- margin-right: 5px;
259
- }
260
-
261
- .pageFooter--right-links .section > li:last-child {
262
- padding-bottom: 0;
263
- }
264
-
265
- .pageFooter--branding {
266
- border-top: none;
267
- bottom: 36px;
268
- position: absolute;
269
- width: 216px;
270
- }
271
- }
272
- @media (min-width:58rem) {
273
- .pageFooter {
274
- padding: 36px;
275
- }
276
-
277
- .pageFooter--right {
278
- width: 600px;
279
- }
280
- }
281
- @media (min-width:88.75rem) {
282
- .pageFooter {
283
- padding: 36px 0;
284
- }
285
-
286
- .pageFooter--branding {
287
- bottom: 0;
288
- }
289
- }
290
-
291
- .pageFooter {
292
- font-family: @sans-light;
293
- font-variant-numeric: lining-nums;
294
- font-weight: 300;
295
- -moz-osx-font-smoothing: grayscale;
296
- -webkit-font-smoothing: antialiased;
297
- -webkit-text-stroke: 0.45px rgba(0,0,0,.1);
298
- color: #000;
299
- font-size: 12px;
300
- line-height: 1.17;
301
- }
302
-
303
- .pageFooter .footer-title {
304
- font-family: @sans-bold;
305
- font-variant-numeric: lining-nums;
306
- font-weight: 400;
307
- -webkit-font-smoothing: antialiased;
308
- letter-spacing: 1px;
309
- color: #fff;
310
- }
311
-
312
- .pageFooter.invert .footer-title {
313
- color: #000;
314
- }
315
-
316
- .pageFooter .footer-title,
317
- .pageFooter .return {
318
- -moz-osx-font-smoothing: grayscale;
319
- -webkit-text-stroke: 0.45px rgba(0,0,0,.1);
320
- }
321
-
322
- .pageFooter .return {
323
- font-family: @sans-med;
324
- font-variant-numeric: lining-nums;
325
- font-weight: 400;
326
- -webkit-font-smoothing: antialiased;
327
- line-height: 1.5;
328
- }
329
-
330
- #scrollTop {
331
- color: #222;
332
- min-width: 120px;
333
- cursor: pointer;
334
- font-size: 12px;
335
- }
336
- @media (min-width: 88.75rem) {
337
- .lock {
338
- -webkit-box-sizing: border-box;
339
- box-sizing: border-box;
340
- margin: 0 auto !important;
341
- position: relative !important;
342
- padding: 0 60px;
343
- width: 1420px!important;
344
- }
345
- }
@@ -1,187 +0,0 @@
1
- // sticky navigation bar-------------------------------
2
- @import (less) "values";
3
-
4
- .topper-nav-container {
5
- height: 37px;
6
- background-color: black;
7
- width: 100%;
8
- display: flex;
9
- justify-content: space-between;
10
- }
11
-
12
- .headroom--pinned,
13
- .headroom--unfixed {
14
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 2px 2px rgba(0, 0, 0, 0.2),
15
- 0 4px 4px rgba(0, 0, 0, 0.15), 0 8px 8px rgba(0, 0, 0, 0.1),
16
- 0 16px 16px rgba(0, 0, 0, 0.05);
17
- }
18
-
19
- .topper-nav-desk-logo,
20
- .topper-nav-mobile-logo {
21
- max-height: 20px;
22
- margin-left: 8px;
23
- margin-right: 2px;
24
- }
25
-
26
- .topper-nav-desk-logo {
27
- @media (max-width: 490px) {
28
- display: none;
29
- }
30
- }
31
-
32
- .topper-nav-mobile-logo {
33
- display: none;
34
-
35
- @media (max-width: 490px) {
36
- display: block;
37
- }
38
- }
39
-
40
- .topper-nav-left {
41
- display: flex;
42
- flex: 75;
43
- justify-content: flex-start;
44
- align-items: center;
45
- }
46
-
47
- .topper-nav-right {
48
- display: none;
49
- flex: 25;
50
- justify-content: flex-end;
51
- align-items: center;
52
- }
53
-
54
- // Hide in the app
55
- .not-app .topper-nav-right {
56
- display: flex;
57
- }
58
-
59
- .topper-nav-right .sub-box {
60
- margin-right: 10px;
61
- color: @brand;
62
- border: 1px solid @brand;
63
- border-radius: 3px;
64
- padding: 3px 8px;
65
- font-size: 14px;
66
- text-decoration: none;
67
- font-family: @sans-light;
68
- text-transform: uppercase;
69
- letter-spacing: 0.05em;
70
-
71
- &:hover {
72
- background: @brand;
73
- color: white;
74
-
75
- & > div:hover {
76
- color: white;
77
- }
78
- }
79
- }
80
-
81
- .topper-nav-social {
82
- margin:0 12px;
83
- padding-top: 4px;
84
-
85
- #twitter-icon {
86
- color: @brand;
87
- }
88
- a :hover {
89
- color: white;
90
- }
91
- }
92
-
93
- .topper-nav-container.invert {
94
- background-color: #fff;
95
-
96
- a :hover, .topper-nav-title:hover {
97
- color: #999;
98
- }
99
- }
100
-
101
- .topper-nav-title {
102
- color: @brand;
103
- font-family: @sans-book;
104
- font-size: @step--1;
105
- padding-left: 15px;
106
- text-transform: uppercase;
107
- text-decoration: none;
108
- letter-spacing: 0.08em;
109
- font-smooth: auto;
110
- -webkit-font-smoothing: auto;
111
- -moz-osx-font-smoothing: auto;
112
-
113
- &:hover {
114
- color: @white;
115
- }
116
- }
117
-
118
- #topper-nav-twitter-icon,
119
- #topper-nav-mail-icon,
120
- #topper-nav-facebook-icon {
121
- color: @brand;
122
-
123
- &:hover {
124
- color: @white;
125
- }
126
- }
127
-
128
- /* Configure the nav array */
129
-
130
- .headroom li, .headroom ul {
131
- font-family: @sans-book;
132
- text-transform: uppercase;
133
- font-size: 14px;
134
- letter-spacing: .05em;
135
- width: 100%;
136
- margin: 0;
137
- }
138
-
139
- .headroom ul#subnav {
140
- position: absolute;
141
- top: 37px;
142
- padding: 0;
143
- border-top: 2px solid #ccc;
144
- border-right: 2px solid #ccc;
145
- width: 300px;
146
- display: none;
147
-
148
- @media @tablet {
149
- border-right: none;
150
- width: 100%;
151
- }
152
- }
153
-
154
- .headroom .show-subnav ul#subnav {
155
- display: block;
156
- }
157
-
158
- .headroom.headroom--unpinned .show-subnav ul#subnav {
159
- display: none;
160
- }
161
-
162
- .headroom li {
163
- display: block;
164
- background-color: #fff;
165
- border-bottom: 2px solid #ccc;
166
-
167
- a {
168
- padding: 10px;
169
- display: inline-block;
170
- width: 100%;
171
- }
172
-
173
- .arrow-bullet {
174
- font-size: 10px;
175
- }
176
- }
177
-
178
- .dropdown-icon {
179
- margin-left: 5px;
180
- display: inline-block;
181
- transition: transform 0.2s;
182
- }
183
-
184
- .show-subnav .dropdown-icon {
185
- transform: rotate(180deg);
186
- }
187
-
@@ -1 +0,0 @@
1
- // Project CSS/Less goes below
@@ -1,95 +0,0 @@
1
- html {
2
- /* remove 300ms click delay in Safari, the worst */
3
- touch-action: manipulation;
4
- font-size: 100%;
5
- }
6
-
7
- /* //accessibility styles from https://github.com/mike-engel/a11y-css-reset/ */
8
- *::after:focus:not(:focus-visible),
9
- *::before:focus:not(:focus-visible),
10
- *:focus:not(:focus-visible) {
11
- outline: none;
12
- }
13
-
14
- /* prettier-ignore */
15
- @media(prefers-reduced-motion: reduce) {
16
- *,
17
- *::after,
18
- *::before {
19
- transition: none !important;
20
- animation: none !important;
21
- scroll-behavior: auto !important;
22
- }
23
- }
24
-
25
- /* https://hankchizljaw.com/wrote/a-modern-css-reset/ */
26
- /* Box sizing rules */
27
- *,
28
- *::before,
29
- *::after {
30
- box-sizing: border-box;
31
- /* Safari, AKA still the worst */
32
- -webkit-tap-highlight-color: transparent;
33
- }
34
-
35
- /* Remove default padding */
36
- ul[class],
37
- ol[class] {
38
- padding: 0;
39
- }
40
-
41
- /* Remove default margin */
42
- body,
43
- h1,
44
- h2,
45
- h3,
46
- h4,
47
- p,
48
- ul[class],
49
- ol[class],
50
- li,
51
- figure,
52
- figcaption,
53
- blockquote,
54
- dl,
55
- dd {
56
- margin: 0;
57
- }
58
-
59
- /* Set core body defaults */
60
- body {
61
- min-height: 100%;
62
- scroll-behavior: smooth;
63
- text-rendering: optimizeSpeed;
64
- line-height: 1.5;
65
- }
66
-
67
- /* Remove list styles on ul, ol elements with a class attribute */
68
- ul[class],
69
- ol[class] {
70
- list-style: none;
71
- }
72
-
73
- /* A elements that don't have a class get default styles */
74
- a:not([class]) {
75
- text-decoration-skip-ink: auto;
76
- }
77
-
78
- /* Make images easier to work with */
79
- img {
80
- max-width: 100%;
81
- display: block;
82
- }
83
-
84
- /* Natural flow and rhythm in articles by default */
85
- article > * + * {
86
- margin-top: 1em;
87
- }
88
-
89
- /* Inherit fonts for inputs and buttons */
90
- input,
91
- button,
92
- textarea,
93
- select {
94
- font: inherit;
95
- }
@@ -1,7 +0,0 @@
1
- @import (css) "reset.css";
2
- @import (css) "typography.css";
3
- @import (less) "../../../styles/values";
4
- @import (less) "../../../styles/brandStylesCommon";
5
- @import (less) "values";
6
- @import (less) "defaults";
7
- @import (less) "project";