@appdirect/sfb-theme-plaza 0.0.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.
Files changed (141) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +3 -0
  3. package/assets/css/platform-global/global-index.scss +1 -0
  4. package/assets/css/theme/components/_sticky-button-page-scroll.scss +15 -0
  5. package/assets/css/theme/definitions/_accessibility.scss +42 -0
  6. package/assets/css/theme/definitions/_colors.scss +58 -0
  7. package/assets/css/theme/definitions/_functions.scss +11 -0
  8. package/assets/css/theme/definitions/_mixins.scss +111 -0
  9. package/assets/css/theme/definitions/_typography.scss +48 -0
  10. package/assets/css/theme/definitions/_variables.scss +7 -0
  11. package/assets/css/theme/generic/_default.scss +126 -0
  12. package/assets/css/theme/generic/_normalize.scss +351 -0
  13. package/assets/css/theme/grid/_bootstrap-grid.scss +32 -0
  14. package/assets/css/theme/grid/_functions.scss +49 -0
  15. package/assets/css/theme/grid/_grid.scss +52 -0
  16. package/assets/css/theme/grid/_mock-grid.scss +36 -0
  17. package/assets/css/theme/grid/_variables.scss +42 -0
  18. package/assets/css/theme/layout/_reset.scss +5 -0
  19. package/assets/css/theme/mixins/_breakpoints.scss +123 -0
  20. package/assets/css/theme/mixins/_grid-framework.scss +67 -0
  21. package/assets/css/theme/mixins/_grid.scss +52 -0
  22. package/assets/css/theme/mixins/_scroll-button.scss +17 -0
  23. package/assets/css/theme/pages/_bundle.scss +10 -0
  24. package/assets/css/theme/pages/_listing.scss +3 -0
  25. package/assets/css/theme/pages/_product.scss +3 -0
  26. package/assets/css/theme/pages/_profile.scss +89 -0
  27. package/assets/css/theme/theme-index.scss +9 -0
  28. package/assets/css/theme/utilities/_display.scss +38 -0
  29. package/assets/css/theme/utilities/_flex.scss +51 -0
  30. package/assets/fonts/AppDirectIcons.woff +0 -0
  31. package/assets/fonts/slick/slick.eot +0 -0
  32. package/assets/fonts/slick/slick.svg +14 -0
  33. package/assets/fonts/slick/slick.ttf +0 -0
  34. package/assets/fonts/slick/slick.woff +0 -0
  35. package/assets/images/logo_white_2x.png +0 -0
  36. package/assets/js/listing.js +26 -0
  37. package/assets/js/polyfills/ie11CustomProperties.js +2 -0
  38. package/content/layout/base.html +80 -0
  39. package/content/layout/bundle.html +12 -0
  40. package/content/layout/profile.html +22 -0
  41. package/content/macros/profile/profile-navigation.html +38 -0
  42. package/content/macros/sfb-components-bundles.html +26 -0
  43. package/content/macros/sfb-custom-components-bundles.html +6 -0
  44. package/content/pages/bundle/bundle.html +9 -0
  45. package/content/pages/compare/compare.html +14 -0
  46. package/content/pages/error/error.html +49 -0
  47. package/content/pages/help/help.html +15 -0
  48. package/content/pages/home/home.html +14 -0
  49. package/content/pages/listing/listing-items.html +1 -0
  50. package/content/pages/listing/listing.html +25 -0
  51. package/content/pages/orderConfirmation/orderConfirmation.html +7 -0
  52. package/content/pages/profile/profile-add-lead.html +13 -0
  53. package/content/pages/profile/profile-add-question.html +13 -0
  54. package/content/pages/profile/profile-add-review.html +13 -0
  55. package/content/pages/profile/profile-configure.html +15 -0
  56. package/content/pages/profile/profile-cross-sell-management.html +12 -0
  57. package/content/pages/profile/profile-editions.html +17 -0
  58. package/content/pages/profile/profile-features.html +14 -0
  59. package/content/pages/profile/profile-questions.html +14 -0
  60. package/content/pages/profile/profile-resources.html +14 -0
  61. package/content/pages/profile/profile-reviews.html +14 -0
  62. package/content/pages/profile/profile-standaloneDomains.html +22 -0
  63. package/content/pages/profile/profile-support.html +15 -0
  64. package/content/pages/profile/profile-variants.html +15 -0
  65. package/content/pages/profile/profile.html +24 -0
  66. package/design-properties.json +18 -0
  67. package/editor-properties.json +231 -0
  68. package/env-data.json +2 -0
  69. package/header-footer/checkout.html +14 -0
  70. package/header-footer/css/footer/_INDEX.scss +264 -0
  71. package/header-footer/css/header-components/_INDEX.scss +11 -0
  72. package/header-footer/css/header-components/_MPLogo.scss +47 -0
  73. package/header-footer/css/header-components/_cart.scss +514 -0
  74. package/header-footer/css/header-components/_dropdown.scss +110 -0
  75. package/header-footer/css/header-components/_header.scss +85 -0
  76. package/header-footer/css/header-components/_icons.scss +123 -0
  77. package/header-footer/css/header-components/_mobile-menu.scss +46 -0
  78. package/header-footer/css/header-components/_myapps-dropdown.scss +111 -0
  79. package/header-footer/css/header-components/_notifications.scss +50 -0
  80. package/header-footer/css/header-components/_responsive.scss +78 -0
  81. package/header-footer/css/header-components/_search-bar.scss +17 -0
  82. package/header-footer/css/header-components/_tooltips.scss +60 -0
  83. package/header-footer/css/header-index.scss +4 -0
  84. package/header-footer/css/settings/_INDEX.scss +3 -0
  85. package/header-footer/css/settings/_custom-variables.scss +70 -0
  86. package/header-footer/css/settings/_font-icons.scss +53 -0
  87. package/header-footer/css/settings/_static-variables.scss +24 -0
  88. package/header-footer/footer.html +53 -0
  89. package/header-footer/logged-in.html +37 -0
  90. package/header-footer/logged-out.html +25 -0
  91. package/header-footer/sso.html +14 -0
  92. package/package.json +15 -0
  93. package/settings-schema.json +4 -0
  94. package/settings.json +1873 -0
  95. package/translations/cs-cz.yml +136 -0
  96. package/translations/cs.yml +136 -0
  97. package/translations/da-dk.yml +136 -0
  98. package/translations/da.yml +136 -0
  99. package/translations/de-de.yml +136 -0
  100. package/translations/de.yml +136 -0
  101. package/translations/el-gr.yml +136 -0
  102. package/translations/en-us.yml +177 -0
  103. package/translations/es-es.yml +136 -0
  104. package/translations/es-la.yml +136 -0
  105. package/translations/es.yml +136 -0
  106. package/translations/fi-fi.yml +136 -0
  107. package/translations/fi.yml +136 -0
  108. package/translations/fr-ca.yml +136 -0
  109. package/translations/fr-fr.yml +136 -0
  110. package/translations/fr.yml +136 -0
  111. package/translations/hr-hr.yml +136 -0
  112. package/translations/hr.yml +136 -0
  113. package/translations/hu-hu.yml +136 -0
  114. package/translations/hu.yml +136 -0
  115. package/translations/id-id.yml +136 -0
  116. package/translations/it-it.yml +136 -0
  117. package/translations/it.yml +136 -0
  118. package/translations/ja-jp.yml +136 -0
  119. package/translations/ja.yml +136 -0
  120. package/translations/ko-kr.yml +136 -0
  121. package/translations/ko.yml +136 -0
  122. package/translations/lt-lt.yml +136 -0
  123. package/translations/lt.yml +136 -0
  124. package/translations/nl-nl.yml +136 -0
  125. package/translations/nl.yml +136 -0
  126. package/translations/no-no.yml +136 -0
  127. package/translations/no.yml +136 -0
  128. package/translations/pt-br.yml +136 -0
  129. package/translations/pt.yml +136 -0
  130. package/translations/ru-ru.yml +136 -0
  131. package/translations/ru.yml +136 -0
  132. package/translations/sq-al.yml +136 -0
  133. package/translations/sq.yml +136 -0
  134. package/translations/sv-se.yml +136 -0
  135. package/translations/sv.yml +136 -0
  136. package/translations/th-th.yml +136 -0
  137. package/translations/th.yml +136 -0
  138. package/translations/tr-tr.yml +136 -0
  139. package/translations/tr.yml +136 -0
  140. package/translations/zh-cn.yml +136 -0
  141. package/translations/zh-tw.yml +136 -0
@@ -0,0 +1,514 @@
1
+ @mixin desktop-up {
2
+ @media (min-width: 1024px) {
3
+ @content;
4
+ }
5
+ }
6
+
7
+ @mixin desktop-up-2 {
8
+ @media ( min-width: 1280px ) {
9
+ @content
10
+ }
11
+ }
12
+
13
+ .ad-icon-add-to-cart {
14
+ margin-bottom: 3px;
15
+ margin-right: 5px;
16
+ color: var(--headerNavFontColor, $headerNavFontColor);
17
+ }
18
+
19
+ .ad-component__cart {
20
+ .ad-cart-container {
21
+ display: none;
22
+ }
23
+
24
+ .ad-universalnav-icons-text {
25
+ @include desktop-up-2 {
26
+ display: flex
27
+ }
28
+ display: none;
29
+ font-family: "Helvetica Neue", Arial, sans-serif;
30
+ height: 18px;
31
+ font-size: calc(#{var(--bodyBaseSize, $nav-item-font-size)} + #{var(--headerNavItemFontSizeOffset, 0px)});
32
+ font-weight: 500;
33
+ letter-spacing: 0;
34
+ line-height: 18px;
35
+ align-items: center;
36
+ justify-content: center;
37
+ }
38
+
39
+ &.js-dropdown-active {
40
+ .page-mask {
41
+ position: fixed;
42
+ left: 0;
43
+ right: 0;
44
+ bottom: 0;
45
+ top: 53px;
46
+ background-color: rgba(0, 0, 0, 0.55);
47
+ z-index: -1;
48
+ }
49
+
50
+ .ad-cart-container {
51
+ display: block;
52
+ }
53
+
54
+ .product-tooltip-divider {
55
+ border-top: 1px solid #eaeaea;
56
+ margin: 9px 30px 7px 30px;
57
+ }
58
+
59
+ .cart-tooltip {
60
+ display: none;
61
+
62
+ @include desktop-up {
63
+ display: block !important;
64
+ position: absolute;
65
+ right: 0;
66
+ z-index: 1;
67
+ width: 420px;
68
+ height: auto;
69
+ border-radius: 3px;
70
+ text-align: center;
71
+ margin-top: 10px;
72
+ background-color: #ffffff;
73
+ -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
74
+ -moz-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
75
+ box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
76
+
77
+ .arrow_box {
78
+ z-index: 1;
79
+ position: relative;
80
+ background: #ffffff;
81
+ }
82
+
83
+ .arrow_box:after {
84
+ bottom: 100%;
85
+ @include desktop-up-2 {
86
+ right: 40px;
87
+ }
88
+ right: 10px;
89
+ border: solid transparent;
90
+ content: " ";
91
+ height: 0;
92
+ width: 0;
93
+ position: absolute;
94
+ pointer-events: none;
95
+ border-color: rgba(255, 255, 255, 0);
96
+ border-bottom-color: #ffffff;
97
+ border-width: 15px;
98
+ margin-left: -15px;
99
+ }
100
+
101
+ .cart-header {
102
+ display: flex;
103
+ align-items: center;
104
+ justify-content: space-between;
105
+
106
+ .cart-title {
107
+ font-family: "Helvetica Neue";
108
+ width: 245px;
109
+ text-align: left;
110
+ font-weight: bold;
111
+ font-size: 24px;
112
+ line-height: 29px;
113
+ margin: 23px 45px 19px 30px;
114
+ }
115
+
116
+ &-divider {
117
+ border-top: 1px solid #eaeaea;
118
+ }
119
+
120
+ .added-to-cart-title {
121
+ display: flex;
122
+ height: 28px;
123
+ width: 245px;
124
+ color: #474747;
125
+ font-size: 24px;
126
+ font-weight: bold;
127
+ line-height: 29px;
128
+ margin-top: 22px;
129
+ margin-bottom: 21px;
130
+
131
+ .added-to-cart-icon {
132
+ display: flex;
133
+ justify-content: center;
134
+ align-items: center;
135
+ align-self: center;
136
+ height: 48px;
137
+ width: 48px;
138
+ margin-right: 11px;
139
+ margin-left: 22px;
140
+ text-decoration: none;
141
+ color: #64a11d;
142
+
143
+ .ad-icon-success {
144
+ display: flex;
145
+ align-items: center;
146
+ justify-content: center;
147
+ height: 32px;
148
+ width: 32px;
149
+ font-size: 32px;
150
+ }
151
+ }
152
+ }
153
+
154
+ .cart-close-icon {
155
+ text-decoration: none;
156
+ color: #474747;
157
+ margin-right: 13px;
158
+ }
159
+
160
+ .ad-icon-close-medium {
161
+ display: flex;
162
+ align-items: center;
163
+ justify-content: center;
164
+ width: 48px;
165
+ height: 48px;
166
+ opacity: 0.5;
167
+ font-size: 26px;
168
+ }
169
+
170
+ .ad-icon-close-medium:hover {
171
+ color: #656565;
172
+ }
173
+ }
174
+
175
+ .cart-content {
176
+ max-height: calc(100vh - 240px);
177
+ overflow-y: auto;
178
+ overflow-x: hidden;
179
+
180
+ .cart-product:first-child {
181
+ margin-top: 7px;
182
+ }
183
+ }
184
+
185
+ .cart-alert {
186
+ padding-left: 29px;
187
+ padding-right: 29px;
188
+ margin-top: 15px;
189
+ margin-bottom: 19px;
190
+
191
+ .alert-error{
192
+ &-wrapper {
193
+ box-sizing: border-box;
194
+ border: 1px solid #F8CFD4;
195
+ border-radius: 3px;
196
+ background-color: #FCECEE;
197
+ width: 100%;
198
+ height: 65px;
199
+ }
200
+
201
+ &-container {
202
+ display: flex;
203
+ text-align: left;
204
+
205
+ .alert-icon-container {
206
+ margin: 16px 13px 0 13px;
207
+ }
208
+ }
209
+
210
+ &-message {
211
+ margin-top: 9px;
212
+ color: #CC3749;
213
+ font-size: 14px;
214
+ line-height: 22px;
215
+ }
216
+ }
217
+
218
+ .alert {
219
+ &-wrapper {
220
+ box-sizing: border-box;
221
+ border: 1px solid #DBEFC8;
222
+ border-radius: 3px;
223
+ background-color: #F1F8E8;
224
+ width: 100%;
225
+ height: 55px;
226
+ }
227
+
228
+ &-container {
229
+ display: flex;
230
+ text-align: left;
231
+
232
+ .alert-icon-container {
233
+ margin: 15px 13px 0 13px;
234
+ }
235
+ }
236
+
237
+ &-message {
238
+ margin-top: 15px;
239
+ color: #68AC03;
240
+ font-size: 14px;
241
+ line-height: 22px;
242
+ }
243
+ }
244
+ }
245
+
246
+ .cart-empty {
247
+ height: 85px;
248
+ width: 358px;
249
+ text-align: left;
250
+ color: #474747;
251
+ padding: 0 31px 15px 31px;
252
+ margin-top: 15px;
253
+ line-height: 18px;
254
+
255
+ &-label {
256
+ font-size: 16px;
257
+ padding-top: 8px;
258
+ font-weight: bold;
259
+ }
260
+
261
+ &-text {
262
+ font-size: 14px;
263
+ margin-top: 10px;
264
+ }
265
+ }
266
+
267
+ .cart-action-container {
268
+ padding: 20px 31px 20px 31px;
269
+
270
+ &.js-shadowbox-active {
271
+ box-shadow: 0 -5px 9px 0 rgba(0, 0, 0, 0.13);
272
+ }
273
+ }
274
+
275
+ .cart-action {
276
+ position: relative;
277
+ height: 42px;
278
+ background-color: #009ddb;
279
+ border: 1px solid rgba(0, 0, 0, 0.15);
280
+ border-radius: 2px;
281
+
282
+ .cart-button-container {
283
+ position: absolute;
284
+
285
+ .cart-button {
286
+ text-decoration: none;
287
+ display: flex;
288
+ justify-content: center;
289
+ align-items: center;
290
+ margin: 14px 20px 11px 20px;
291
+ font-size: 16px;
292
+ font-weight: bold;
293
+ height: 14px;
294
+ line-height: 18px;
295
+ width: 320px;
296
+ color: #ffffff;
297
+ }
298
+ }
299
+ }
300
+
301
+ .cart-action:hover {
302
+ background-color: rgba(0, 157, 219, 0.85);
303
+ border: 1px solid rgba(0, 0, 0, 0.3);
304
+ box-shadow: 0 2px 2px 0 rgba(112, 112, 112, 0.3);
305
+ }
306
+
307
+ &-product-container {
308
+ display: flex;
309
+ min-height: 80px;
310
+ width: auto;
311
+ padding: 0 31px;
312
+
313
+ &-domain {
314
+ display: flex;
315
+ height: 69px;
316
+ width: auto;
317
+ padding: 0 31px;
318
+
319
+ .product-link-container {
320
+ text-decoration: none;
321
+ color: inherit;
322
+ }
323
+
324
+ .cart-tooltip-product {
325
+ display: flex;
326
+ flex-direction: row;
327
+ width: 100%;
328
+ margin: 13px 0 13px 0;
329
+
330
+ .product-icon {
331
+ width: 34px;
332
+ height: 34px;
333
+ margin: 4px 11px 15px 0;
334
+ border: 1px solid #c3c3c3;
335
+ border-radius: 4px;
336
+ }
337
+
338
+ .product-information {
339
+ text-align: left;
340
+ display: flex;
341
+ flex-direction: column;
342
+ flex: 0 1 250px;
343
+ margin-top: 1px;
344
+
345
+ &-title {
346
+ font-weight: bold;
347
+ font-size: 16px;
348
+ line-height: 18px;
349
+ margin-bottom: 1px;
350
+ }
351
+ &-subtext {
352
+ line-height: 18px;
353
+ font-size: 14px;
354
+ font-weight: 400;
355
+ color: #707070;
356
+ }
357
+ }
358
+ }
359
+ }
360
+
361
+ .product-link-container {
362
+ text-decoration: none;
363
+ color: inherit;
364
+ }
365
+
366
+ .cart-tooltip-product {
367
+ display: flex;
368
+ flex-direction: row;
369
+ width: 100%;
370
+ margin: 13px 0 11px 0;
371
+
372
+ .product-icon {
373
+ width: 34px;
374
+ height: 34px;
375
+ margin: 4px 11px 15px 0;
376
+ border: 1px solid #c3c3c3;
377
+ border-radius: 4px;
378
+ }
379
+
380
+ .product-information {
381
+ text-align: left;
382
+ display: flex;
383
+ flex-direction: column;
384
+ flex: 0 1 250px;
385
+ margin-top: 1px;
386
+
387
+ &-title {
388
+ font-weight: bold;
389
+ font-size: 16px;
390
+ line-height: 18px;
391
+ margin-bottom: 1px;
392
+ }
393
+ &-subtext {
394
+ line-height: 18px;
395
+ font-size: 14px;
396
+ font-weight: 400;
397
+ color: #707070;
398
+ }
399
+ &-subtext1,
400
+ &-subtext2 {
401
+ line-height: 18px;
402
+ font-size: 14px;
403
+ font-weight: 400;
404
+ color: #707070;
405
+ }
406
+ }
407
+ }
408
+ }
409
+
410
+ &-addon-container {
411
+ display: flex;
412
+ height: 40px;
413
+ width: 360px;
414
+ margin-left: 31px;
415
+ margin-bottom: 10px;
416
+
417
+ .product-addon {
418
+ text-decoration: none;
419
+ color: inherit;
420
+ }
421
+
422
+ .cart-tooltip-addon {
423
+ display: flex;
424
+ flex-direction: row;
425
+ width: 295px;
426
+ }
427
+
428
+ .addon-icon {
429
+ height: 32px;
430
+ width: 32px;
431
+ margin-top: 4px;
432
+ margin-right: 12px;
433
+ }
434
+
435
+ .addon-information {
436
+ text-align: left;
437
+ display: flex;
438
+ flex-direction: column;
439
+ align-self: center;
440
+ flex: 0 1 250px;
441
+
442
+ &-title {
443
+ font-weight: bold;
444
+ font-size: 16px;
445
+ line-height: 18px;
446
+ margin-bottom: 12px;
447
+ margin-top: 10px;
448
+ }
449
+ }
450
+ }
451
+
452
+ &-addon-container:last-child {
453
+ margin-bottom: 20px;
454
+ }
455
+ }
456
+ }
457
+
458
+ .icon-img {
459
+ border-radius: 3px;
460
+ }
461
+ }
462
+
463
+ .accent {
464
+ color: #00667f;
465
+ }
466
+
467
+ .cart-loader-container {
468
+ margin-left: 40px;
469
+ margin-right: -18px;
470
+ margin-top: -1px;
471
+ margin-bottom: -1px;
472
+ .cart-loader,
473
+ .cart-loader:after {
474
+ border-radius: 50%;
475
+ width: 27px;
476
+ height: 27px;
477
+ }
478
+ .cart-loader {
479
+ margin: 18px 150px 18px 150px;
480
+ font-size: 10px;
481
+ position: relative;
482
+ text-indent: -9999em;
483
+ border-top: 5px solid #e7e7e7;
484
+ border-right: 5px solid #e7e7e7;
485
+ border-bottom: 5px solid #e7e7e7;
486
+ border-left: 5px solid #a9a9a9;
487
+ -webkit-transform: translateZ(0);
488
+ -ms-transform: translateZ(0);
489
+ transform: translateZ(0);
490
+ -webkit-animation: load 0.5s infinite linear;
491
+ animation: load 0.5s infinite linear;
492
+ }
493
+ @-webkit-keyframes load {
494
+ 0% {
495
+ -webkit-transform: rotate(0deg);
496
+ transform: rotate(0deg);
497
+ }
498
+ 100% {
499
+ -webkit-transform: rotate(360deg);
500
+ transform: rotate(360deg);
501
+ }
502
+ }
503
+ @keyframes load {
504
+ 0% {
505
+ -webkit-transform: rotate(0deg);
506
+ transform: rotate(0deg);
507
+ }
508
+ 100% {
509
+ -webkit-transform: rotate(360deg);
510
+ transform: rotate(360deg);
511
+ }
512
+ }
513
+ }
514
+ }
@@ -0,0 +1,110 @@
1
+ .ad-component_dropdown, .ad-component_dropdown-react {
2
+ display: block;
3
+ position: relative;
4
+
5
+ // Styling of list items in lists / dropdowns
6
+ .ad-component_list {
7
+
8
+ background-color: $headerNavDropdownBg;
9
+ border: 1px solid $headerNavDropdownBorderColor;
10
+ border-radius: $dropdown-container-border-radius;
11
+ box-shadow: $dropdown-container-box-shadow;
12
+ background-clip: padding-box;
13
+ display: none;
14
+ list-style: none;
15
+ margin-top: $dropdown-container-margin-top;
16
+ margin-right: $headerNavDropdownMarginRight;
17
+ min-width: $dropdown-container-min-width;
18
+ padding: 0;
19
+ position: absolute;
20
+ text-align: left;
21
+ top: 100%;
22
+ right: 0;
23
+ z-index: 1090;
24
+
25
+ .ad-component_list-item {
26
+ position: relative;
27
+ border-top: 1px solid $headerNavDropdownBorderColor;
28
+ margin: 0;
29
+ padding: 0;
30
+ text-align: left;
31
+
32
+ &:first-child {
33
+ border-top: none;
34
+ .ad-component--link {
35
+ border-top: none;
36
+ border-top-left-radius: $dropdown-container-border-radius;
37
+ border-top-right-radius: $dropdown-container-border-radius;
38
+ }
39
+ }
40
+
41
+ &:last-child .ad-component--link {
42
+ border-bottom-left-radius: $dropdown-container-border-radius;
43
+ border-bottom-right-radius: $dropdown-container-border-radius;
44
+ }
45
+ &--no-border {
46
+ border-top:none;
47
+ }
48
+ &--icon {
49
+ position: absolute;
50
+ top: 13px;
51
+ right: 8px;
52
+ }
53
+ &--icon-first {
54
+ position: absolute;
55
+ top: 13px;
56
+ left: 8px;
57
+ }
58
+ &--spacer {
59
+ border-top: 1px solid $headerNavDropdownBorderColor;
60
+ margin-top: 70px;
61
+ padding-top: 20px
62
+ }
63
+ }
64
+
65
+ // Styling the links within the dropdown containers
66
+ .ad-component--link {
67
+ color: var(--headerNavDropdownFontColor, $headerNavDropdownFontColor);
68
+ padding-top: $dropdown-container-item-padding-top;
69
+ padding-right: $dropdown-container-item-padding-right;
70
+ padding-bottom: $dropdown-container-item-padding-bottom;
71
+ padding-left: $dropdown-container-item-padding-left;
72
+ display: block;
73
+ text-transform: $dropdown-container-item-text-transform;
74
+ text-decoration: none;
75
+ font-size: $dropdown-container-item-font-size;
76
+ line-height: $dropdown-container-item-font-size;
77
+ text-align: left;
78
+
79
+ &:hover {
80
+ box-shadow: none;
81
+ position: relative;
82
+ background-color: var(--headerNavDropdownBgHover, $headerNavDropdownBgHover);
83
+ color: var(--headerNavDropdownFontColor, $headerNavDropdownFontColor);
84
+ }
85
+ &-icon-first {
86
+ padding-left: 35px;
87
+ }
88
+ }
89
+ }
90
+ }
91
+
92
+ // See '_font-icons.scss' for rest of styling
93
+ .ad-component_dropdown .ad-component_dropdown--trigger:after {
94
+ content: "\e905";
95
+ position: static;
96
+ right: 0px;
97
+ }
98
+
99
+ // Open dropdown Styling
100
+ .ad-component_dropdown.js-dropdown-active, .ad-component_dropdown-react.js-dropdown-active {
101
+
102
+ > .ad-component_dropdown--trigger {
103
+ background: var(--headerNavItemBgSelected, $headerNavItemBgSelected);
104
+ color: var(--headerNavFontHoverColor, $headerNavFontHoverColor);
105
+ }
106
+
107
+ .ad-component_list {
108
+ display: block;
109
+ }
110
+ }
@@ -0,0 +1,85 @@
1
+ .ad-uniheader {
2
+ background: var(--headerNavBg, $headerNavBg);
3
+ border-bottom: 1px solid var(--headerNavBorderColor, $headerNavBorderColor);
4
+ font-family: $nav-font-family;
5
+ height: calc(max(var(--headerNavPadding, 20px), var(--logoHeight) + 20px));
6
+ position: relative;
7
+ box-sizing: content-box;
8
+ z-index: 11;
9
+
10
+ &__container {
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: space-between;
14
+ height: calc(max(var(--headerNavPadding, 20px), var(--logoHeight) + 20px));
15
+ list-style: none;
16
+ margin: 0;
17
+ padding: 0;
18
+ position: relative;
19
+
20
+ &--section {
21
+ display: flex;
22
+ align-content: center;
23
+ height: calc(max(var(--headerNavPadding, 20px), var(--logoHeight) + 20px));
24
+ padding-left:0;
25
+
26
+ &-right {
27
+ margin-top: 0;
28
+ }
29
+
30
+ &-left {
31
+ display: flex;
32
+ margin: 0;
33
+ padding: 0;
34
+ list-style: none;
35
+ height: 100%;
36
+ }
37
+
38
+ > .ad-component_list-item, > .ad-component_list--item {
39
+ height: 100%;
40
+ display: inline-block;
41
+ border-left: none;
42
+ border-right: none;
43
+ margin-left: -1px;
44
+ vertical-align: top;
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ // Styling the main nav links
51
+ .ad-component--link {
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: center;
55
+ cursor: pointer;
56
+ text-decoration: none;
57
+ color: var(--headerNavFontColor, $headerNavFontColor);
58
+ font-size: calc(#{var(--bodyBaseSize, $nav-item-font-size)} + #{var(--headerNavItemFontSizeOffset, 0px)});
59
+ height: 100%;
60
+ padding: 0 $nav-item-padding-horizontal;
61
+
62
+ &:hover {
63
+ background-color: var(--headerNavItemBgHover, $headerNavItemBgHover);
64
+ color: var(--headerNavFontHoverColor, $headerNavFontHoverColor);
65
+ text-decoration: none;
66
+ }
67
+
68
+ &:active {
69
+ background-color: var(--headerNavItemBgHover, $headerNavItemBgHover);
70
+ color: var(--headerNavFontSelectedColor, $headerNavFontSelectedColor);
71
+ text-decoration: none;
72
+ }
73
+ }
74
+
75
+ // Styling the user image
76
+ .ad-img-profile-pic {
77
+ width: $profile-img-width;
78
+ height: $profile-img-height;
79
+ margin-right: $profile-img-margin-right;
80
+ border-radius: $profile-img-border-radius;
81
+ }
82
+
83
+ // Hide the Nav headings from view (accessibility)
84
+ // https://www.w3.org/WAI/tutorials/menus/structure/
85
+ .not-visible { display: none; }