sfc-utils 1.3.24 → 1.3.27

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 (80) hide show
  1. package/accountswap.js +3 -2
  2. package/brands.js +1 -1
  3. package/css/nav2.less +2 -1
  4. package/example/.prettierrc +5 -0
  5. package/example/README.md +8 -0
  6. package/example/gatsby-config.js +131 -0
  7. package/example/gatsby-node.js +45 -0
  8. package/example/package-lock.json +13418 -0
  9. package/example/package.json +71 -0
  10. package/example/project-config.json +42 -0
  11. package/example/src/components/layout.js +236 -0
  12. package/example/src/components/sfc/ad.js +47 -0
  13. package/example/src/components/sfc/ai2html/ai2html_template.ai +1369 -4
  14. package/example/src/components/sfc/button.js +40 -0
  15. package/example/src/components/sfc/byline.js +42 -0
  16. package/example/src/components/sfc/component-helpers/customhooks.js +17 -0
  17. package/example/src/components/sfc/component-helpers/datehelpers.js +55 -0
  18. package/example/src/components/sfc/component-helpers/newsletterhelpers.js +89 -0
  19. package/example/src/components/sfc/component-helpers/requesthelpers.js +7 -0
  20. package/example/src/components/sfc/component-helpers/scrolldownhelpers.js +11 -0
  21. package/example/src/components/sfc/component-helpers/utilfunctions.js +68 -0
  22. package/example/src/components/sfc/creditline.js +35 -0
  23. package/example/src/components/sfc/credits.js +17 -0
  24. package/example/src/components/sfc/creditssection.js +47 -0
  25. package/example/src/components/sfc/dropcap.js +15 -0
  26. package/example/src/components/sfc/footer.js +36 -0
  27. package/example/src/components/sfc/geocoder.js +148 -0
  28. package/example/src/components/sfc/misccredit.js +17 -0
  29. package/example/src/components/sfc/navtop.js +121 -0
  30. package/example/src/components/sfc/newsletter.js +157 -0
  31. package/example/src/components/sfc/relatedlink.js +23 -0
  32. package/example/src/components/sfc/relatedrow.js +23 -0
  33. package/example/src/components/sfc/relatedsection.js +27 -0
  34. package/example/src/components/sfc/safelink.js +86 -0
  35. package/example/src/components/sfc/scrolldown.js +22 -0
  36. package/example/src/components/sfc/sharebuttons.js +93 -0
  37. package/example/src/components/sfc/topper.js +88 -0
  38. package/example/src/components/sfc/video.js +74 -0
  39. package/example/src/components/sfc/wcmimage.js +131 -0
  40. package/example/src/data/sfc/images/react.gif +0 -0
  41. package/example/src/data/sfc/related_links.json +17 -0
  42. package/example/src/html.js +41 -0
  43. package/example/src/pages/index.js +143 -0
  44. package/example/src/styles/defaults.less +99 -0
  45. package/example/src/styles/footer.less +345 -0
  46. package/example/src/styles/modules/ad.module.less +21 -0
  47. package/example/src/styles/modules/ai2html.module.less +19 -0
  48. package/example/src/styles/modules/button.module.less +94 -0
  49. package/example/src/styles/modules/byline.module.less +11 -0
  50. package/example/src/styles/modules/creditline.module.less +12 -0
  51. package/example/src/styles/modules/credits.module.less +7 -0
  52. package/example/src/styles/modules/creditssection.module.less +17 -0
  53. package/example/src/styles/modules/dropcap.module.less +18 -0
  54. package/example/src/styles/modules/geocoder.module.less +79 -0
  55. package/example/src/styles/modules/newsletter.module.less +147 -0
  56. package/example/src/styles/modules/relatedlink.module.less +28 -0
  57. package/example/src/styles/modules/relatedrow.module.less +8 -0
  58. package/example/src/styles/modules/relatedsection.module.less +19 -0
  59. package/example/src/styles/modules/scrolldown.module.less +31 -0
  60. package/example/src/styles/modules/share.module.less +22 -0
  61. package/example/src/styles/modules/topper.module.less +63 -0
  62. package/example/src/styles/modules/video.module.less +27 -0
  63. package/example/src/styles/modules/wcmimage.module.less +20 -0
  64. package/example/src/styles/nav.less +187 -0
  65. package/example/src/styles/project.less +1 -0
  66. package/example/src/styles/reset.css +95 -0
  67. package/example/src/styles/seed.less +5 -0
  68. package/example/src/styles/typography.css +168 -0
  69. package/example/src/styles/values.less +74 -0
  70. package/example/static/manifest.webmanifest +1 -0
  71. package/example/tasks/create-c2p-sheet.js +6 -0
  72. package/example/tasks/deploy-addon.py +14 -0
  73. package/example/tasks/google-docs.js +16 -0
  74. package/example/tasks/google-sheets.js +17 -0
  75. package/example/tasks/node-helpers.js +81 -0
  76. package/example/tasks/post-build.sh +7 -0
  77. package/example/tasks/pre-build.sh +18 -0
  78. package/example/tempsettings.js +28 -0
  79. package/package.json +1 -1
  80. package/settings.js +1 -1
@@ -0,0 +1,345 @@
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
+ }
@@ -0,0 +1,21 @@
1
+ @import (less) '../values.less';
2
+
3
+ .ad {
4
+ background-color: #F5F5F5;
5
+ padding: 0 0 20px;
6
+ text-align: center;
7
+ width: 100%;
8
+ }
9
+
10
+ .adhed {
11
+ background-color: #F5F5F5;
12
+ color: #111;
13
+ display: inline-block;
14
+ font-family: @sans-light;
15
+ font-size: 0.7em;
16
+ margin: 5px 0;
17
+ padding: 0px;
18
+ text-align: center;
19
+ text-transform: uppercase;
20
+ width: 100%;
21
+ }
@@ -0,0 +1,19 @@
1
+ @import (less) '../values.less';
2
+ .container {
3
+ margin: @step-3 auto;
4
+ padding: 0 @step--1;
5
+ @media @tablet {
6
+ max-width: 720px;
7
+ }
8
+ }
9
+ .sideBar {
10
+ float: left;
11
+ padding-right: @step-2;
12
+ margin: @step-3 2% @step-3 10%;
13
+ @media @tablet {
14
+ float: none;
15
+ width: 100%;
16
+ padding: 0px;
17
+ margin: @step-3 auto;
18
+ }
19
+ }
@@ -0,0 +1,94 @@
1
+ @import (less) '../values.less';
2
+
3
+ .btn-primary {
4
+ appearance: none;
5
+ background-repeat: no-repeat;
6
+ cursor: pointer;
7
+ outline: none;
8
+ padding: 0;
9
+ transition: all 0.1s linear;
10
+ color: #fff;
11
+ background-color: @brand;
12
+ border: 1px solid @brand;
13
+ font-family: @sans-bold;
14
+ user-select: none;
15
+ font-size: @step--1;
16
+ line-height: unset;
17
+ letter-spacing: 0.05em;
18
+ text-transform: uppercase;
19
+ align-items: center;
20
+ border-radius: 2px;
21
+ box-sizing: border-box;
22
+ height: @step-4;
23
+ justify-content: center;
24
+ margin-left: auto;
25
+ margin-right: auto;
26
+ width: 100px;
27
+
28
+ &:hover,
29
+ &:focus {
30
+ color: darken(@brand, 40%);
31
+ background-color: fade(@brand, 50%);
32
+ border: 1px solid darken(@brand, 10%);
33
+ }
34
+ }
35
+
36
+ .btn-secondary {
37
+ appearance: none;
38
+ background-repeat: no-repeat;
39
+ cursor: pointer;
40
+ outline: none;
41
+ padding: 0;
42
+ transition: all 0.1s linear;
43
+ color: @brand;
44
+ background-color: @off-white;
45
+ border: 1px solid @brand;
46
+ font-family: @sans-bold;
47
+ user-select: none;
48
+ font-size: @step--1;
49
+ line-height: unset;
50
+ letter-spacing: 0.05em;
51
+ text-transform: uppercase;
52
+ align-items: center;
53
+ border-radius: 2px;
54
+ box-sizing: border-box;
55
+ height: @step-4;
56
+ justify-content: center;
57
+ margin-left: auto;
58
+ margin-right: auto;
59
+ width: 100px;
60
+
61
+ &:hover,
62
+ &:focus {
63
+ color: @off-white;
64
+ background-color: @brand;
65
+ border-color: darken(@brand, 10%);
66
+ }
67
+ }
68
+
69
+ .btn-disabled {
70
+ appearance: none;
71
+ background-repeat: no-repeat;
72
+ cursor: default;
73
+ pointer-events: none;
74
+ outline: none;
75
+ padding: 0;
76
+ transition: all 0.1s linear;
77
+ color: @gray;
78
+ background-color: @off-white;
79
+ border: 1px solid @light-gray;
80
+ font-family: @sans-bold;
81
+ user-select: none;
82
+ font-size: @step--1;
83
+ line-height: unset;
84
+ letter-spacing: 0.05em;
85
+ text-transform: uppercase;
86
+ align-items: center;
87
+ border-radius: 2px;
88
+ box-sizing: border-box;
89
+ height: @step-4;
90
+ justify-content: center;
91
+ margin-left: auto;
92
+ margin-right: auto;
93
+ width: 100px;
94
+ }
@@ -0,0 +1,11 @@
1
+ @import (less) '../values.less';
2
+
3
+ .byline {
4
+ font-family: @sans-med;
5
+ text-transform: uppercase;
6
+ letter-spacing: 0.05em;
7
+
8
+ &:hover {
9
+ color: @brand;
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ @import (less) "../values.less";
2
+
3
+ .link {
4
+ font-family: @sans-med;
5
+ }
6
+
7
+ .text {
8
+ margin-bottom: @step--2;
9
+ @media @mobile {
10
+ font-size: @step--1;
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ @import (less) "../values.less";
2
+
3
+ .title {
4
+ margin-top: @step-0;
5
+ text-transform: uppercase;
6
+ letter-spacing: 0.08em;
7
+ }
@@ -0,0 +1,17 @@
1
+ @import (less) "../values.less";
2
+
3
+ .section {
4
+ margin: @step-3 auto;
5
+ text-align: center;
6
+ font-size: @step-0;
7
+ font-family: @sans-light;
8
+ }
9
+
10
+ .hed {
11
+ font-family: @sans-med;
12
+ font-size: @step-1;
13
+ color: @dark-gray;
14
+ text-transform: uppercase;
15
+ letter-spacing: 0.05em;
16
+ margin-bottom: 0;
17
+ }
@@ -0,0 +1,18 @@
1
+ @import (less) '../values.less';
2
+
3
+ .dropcap {
4
+ float: left;
5
+ font-size: 100px;
6
+ line-height: .75em;
7
+ font-family: @hed;
8
+ margin-right: .115em;
9
+ color: #000;
10
+ text-transform: uppercase;
11
+ }
12
+
13
+ @media @tablet {
14
+ .dropcap {
15
+ font-size: 80px;
16
+ line-height: .75em;
17
+ }
18
+ }
@@ -0,0 +1,79 @@
1
+ @import (less) "../values.less";
2
+
3
+ //geocoder-------------------------------
4
+ .wrapper {
5
+ z-index: 500;
6
+ position: relative;
7
+ max-width: 96vw;
8
+ padding: 0;
9
+ margin: @step-3 auto;
10
+ @media (orientation: landscape) {
11
+ max-width: 60ch;
12
+ }
13
+ }
14
+
15
+ .address-input {
16
+ width: 100%;
17
+ margin-top: @step--1;
18
+ display: flex;
19
+
20
+ input {
21
+ flex: 1 0 50%;
22
+ height: 30px;
23
+ font-family: @sans-light;
24
+ font-size: @step--1;
25
+ border-top-left-radius: 4px;
26
+ border-bottom-left-radius: 4px;
27
+ border: 2px solid #ccc;
28
+ padding-left: calc(@step--2 / 4);
29
+ font-variant-numeric: lining-nums;
30
+ }
31
+
32
+ button {
33
+ height: 30px;
34
+ width: 88px;
35
+ padding: calc(@step--2 / 2);
36
+ font-size: @step--1;
37
+ border: none;
38
+ border-radius: 3px;
39
+ background-color: #1b1b1b;
40
+ color: #fff;
41
+ font-family: 'National Medium', 'Source Sans Pro', Arial, Helvetica,
42
+ sans-serif;
43
+ text-transform: uppercase;
44
+ text-align: center;
45
+ line-height: 1;
46
+ letter-spacing: 0.05em;
47
+ cursor: pointer;
48
+
49
+ img {
50
+ max-height: 100%;
51
+ }
52
+
53
+ &:hover {
54
+ background-color: @brand;
55
+ }
56
+
57
+ &:active {
58
+ background-color: @dark-gray;
59
+ color: @white;
60
+ }
61
+ }
62
+ }
63
+
64
+ .result-box {
65
+ position: absolute;
66
+ width: 100%;
67
+ }
68
+
69
+ .result {
70
+ border: 1px solid @black;
71
+ padding: calc(@step--2 / 2);
72
+ background-color: @light-gray;
73
+ font-family: @sans-light;
74
+ line-height: 1.2;
75
+
76
+ &:not(.empty):hover {
77
+ background-color: @gray;
78
+ }
79
+ }