@imiobe/plonetheme-smartweb-base 0.0.6 → 0.1.0

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 (95) hide show
  1. package/CHANGELOG.md +78 -0
  2. package/dist/css/theme.css +5 -0
  3. package/dist/fonts/roboto-bold..eot +0 -0
  4. package/dist/fonts/roboto-bold..ttf +0 -0
  5. package/dist/fonts/roboto-bold..woff +0 -0
  6. package/dist/fonts/roboto-bold..woff2 +0 -0
  7. package/dist/fonts/roboto-bolditalic..eot +0 -0
  8. package/dist/fonts/roboto-bolditalic..ttf +0 -0
  9. package/dist/fonts/roboto-bolditalic..woff +0 -0
  10. package/dist/fonts/roboto-bolditalic..woff2 +0 -0
  11. package/dist/fonts/roboto-italic..eot +0 -0
  12. package/dist/fonts/roboto-italic..ttf +0 -0
  13. package/dist/fonts/roboto-italic..woff +0 -0
  14. package/dist/fonts/roboto-italic..woff2 +0 -0
  15. package/dist/fonts/roboto-light..eot +0 -0
  16. package/dist/fonts/roboto-light..ttf +0 -0
  17. package/dist/fonts/roboto-light..woff +0 -0
  18. package/dist/fonts/roboto-light..woff2 +0 -0
  19. package/dist/fonts/roboto-lightitalic..eot +0 -0
  20. package/dist/fonts/roboto-lightitalic..ttf +0 -0
  21. package/dist/fonts/roboto-lightitalic..woff +0 -0
  22. package/dist/fonts/roboto-lightitalic..woff2 +0 -0
  23. package/dist/fonts/roboto-medium..eot +0 -0
  24. package/dist/fonts/roboto-medium..ttf +0 -0
  25. package/dist/fonts/roboto-medium..woff +0 -0
  26. package/dist/fonts/roboto-medium..woff2 +0 -0
  27. package/dist/fonts/roboto-mediumitalic..eot +0 -0
  28. package/dist/fonts/roboto-mediumitalic..ttf +0 -0
  29. package/dist/fonts/roboto-mediumitalic..woff +0 -0
  30. package/dist/fonts/roboto-mediumitalic..woff2 +0 -0
  31. package/dist/fonts/roboto-regular..eot +0 -0
  32. package/dist/fonts/roboto-regular..ttf +0 -0
  33. package/dist/fonts/roboto-regular..woff +0 -0
  34. package/dist/fonts/roboto-regular..woff2 +0 -0
  35. package/dist/fonts/robotocondensed-light..eot +0 -0
  36. package/dist/fonts/robotocondensed-light..ttf +0 -0
  37. package/dist/fonts/robotocondensed-light..woff +0 -0
  38. package/dist/fonts/robotocondensed-light..woff2 +0 -0
  39. package/dist/fonts/robotocondensed-lightitalic..eot +0 -0
  40. package/dist/fonts/robotocondensed-lightitalic..ttf +0 -0
  41. package/dist/fonts/robotocondensed-lightitalic..woff +0 -0
  42. package/dist/fonts/robotocondensed-lightitalic..woff2 +0 -0
  43. package/dist/images/roboto-bolde46805ee..svg +1 -0
  44. package/dist/images/roboto-bolditalic4be90c03..svg +1 -0
  45. package/dist/images/roboto-italic2332d1c3..svg +1 -0
  46. package/dist/images/roboto-light054c1c8a..svg +1 -0
  47. package/dist/images/roboto-lightitalic2df589e4..svg +1 -0
  48. package/dist/images/roboto-medium832a5157..svg +1 -0
  49. package/dist/images/roboto-mediumitalicf09fad24..svg +1 -0
  50. package/dist/images/roboto-regulare788ed65..svg +1 -0
  51. package/dist/images/robotocondensed-light04ff367e..svg +1 -0
  52. package/dist/images/robotocondensed-lightitalic97b23821..svg +1 -0
  53. package/dist/js/theme.js +1 -0
  54. package/package.json +20 -2
  55. package/src/index.js +60 -14
  56. package/src/scss/_breadcrum.scss +1 -0
  57. package/src/scss/_fonts.scss +6 -5
  58. package/src/scss/_general.scss +73 -65
  59. package/src/scss/_header.scss +33 -13
  60. package/src/scss/_mixin.scss +43 -35
  61. package/src/scss/_sitenav.scss +326 -259
  62. package/src/scss/_sub-sitenav.scss +113 -65
  63. package/src/scss/_swiper.scss +17 -10
  64. package/src/scss/_trucaverif.scss +630 -555
  65. package/src/scss/common/_com-cookies.scss +86 -75
  66. package/src/scss/common/_com-edition.scss +36 -24
  67. package/src/scss/common/_com-faceted.scss +153 -132
  68. package/src/scss/common/_com-footer.scss +9 -5
  69. package/src/scss/common/_com-list-image.scss +17 -15
  70. package/src/scss/common/_com-react.scss +62 -57
  71. package/src/scss/common/_messviewlet.scss +77 -60
  72. package/src/scss/homepage/_a-la-une.scss +30 -19
  73. package/src/scss/homepage/_actualites.scss +137 -111
  74. package/src/scss/homepage/_album.scss +87 -75
  75. package/src/scss/homepage/_banner.scss +38 -41
  76. package/src/scss/homepage/_events.scss +42 -20
  77. package/src/scss/homepage/_general-home.scss +47 -43
  78. package/src/scss/homepage/_newsletter.scss +30 -24
  79. package/src/scss/homepage/_quick-access.scss +14 -4
  80. package/src/scss/list/_list-block-img.scss +53 -49
  81. package/src/scss/list/_list-block.scss +70 -64
  82. package/src/scss/list/_list-img.scss +21 -14
  83. package/src/scss/list/_list.scss +55 -53
  84. package/src/scss/main.scss +17 -9
  85. package/src/scss/sections/_se-contact.scss +229 -158
  86. package/src/scss/sections/_se-file.scss +188 -158
  87. package/src/scss/sections/_se-gallery.scss +16 -14
  88. package/src/scss/sections/_se-link.scss +141 -135
  89. package/src/scss/sections/_se-linked-content.scss +4 -4
  90. package/src/scss/sections/_se-plan-geo.scss +92 -74
  91. package/src/scss/sections/_se-plan.scss +2 -2
  92. package/src/scss/sections/_se-postit.scss +19 -17
  93. package/src/scss/sections/_se-textes.scss +35 -41
  94. package/src/scss/variables.scss +159 -138
  95. package/theme.zip +0 -0
@@ -1,16 +1,20 @@
1
1
  #portal-globalnav-wrapper {
2
2
  position: initial !important;
3
3
  padding: 0 !important;
4
- li{
5
- list-style: none!important;
4
+
5
+ li {
6
+ list-style: none !important;
6
7
  }
8
+
7
9
  @include media-breakpoint-up(lg) {
8
10
  flex: 1;
9
11
  }
12
+
10
13
  @include media-breakpoint-down(lg) {
11
- margin: 0!important;
14
+ margin: 0 !important;
12
15
  }
13
16
  }
17
+
14
18
  #portal-globalnav {
15
19
  span {
16
20
  padding: 1rem 0;
@@ -20,265 +24,294 @@
20
24
  padding-left: 0;
21
25
  }
22
26
 
23
- width: 100%;
24
- @include media-breakpoint-up(md) {
25
- flex-direction: column;
26
- gap: 15px;
27
- }
28
- @include media-breakpoint-up(lg) {
29
- flex-direction: row;
30
- }
31
- @include media-breakpoint-up(xl) {
32
- gap: $nav-first-level-gap;
33
- }
34
- .nav_index_html {
35
- display: none;
36
- }
37
- li {
38
- ul {
39
- left: 0;
40
- transition: ease-out 2.75s;
41
- }
27
+ width: 100%;
42
28
 
43
- a {
44
- position: relative;
45
- display: block;
46
- padding: 0.75rem 1rem;
47
- hyphens: auto;
48
- text-decoration: none;
49
- word-break: break-word;
50
- }
29
+ @include media-breakpoint-up(md) {
30
+ flex-direction: column;
31
+ gap: 15px;
32
+ }
51
33
 
52
- .opener {
53
- display: none;
54
- }
34
+ @include media-breakpoint-up(lg) {
35
+ flex-direction: row;
36
+ }
55
37
 
56
- &.show-nav>.has_subtree.dropdown {
57
- z-index: 1;
58
- opacity: 1;
59
- visibility: visible;
60
- border-radius: $nav-overlay-radius;
61
- a {
62
- pointer-events: initial !important;
63
- }
64
- }
65
- &.show-nav>.has_subtree {
66
- visibility: visible;
38
+ @include media-breakpoint-up(xl) {
39
+ gap: $nav-first-level-gap;
40
+ }
67
41
 
68
- .show-nav>.dropdown {
69
- left: 25.5em;
42
+ .nav_index_html {
43
+ display: none;
44
+ }
70
45
 
71
- .dropdown {
72
- left: 21.5em;
73
- }
74
- }
75
- }
46
+ li {
47
+ ul {
48
+ left: 0;
49
+ transition: ease-out 2.75s;
50
+ }
76
51
 
77
- &>.has_subtree {
78
- width: 21em;
79
- padding: 2em;
80
- background: #fff;
52
+ a {
53
+ position: relative;
54
+ display: block;
55
+ padding: 0.75rem 1rem;
56
+ hyphens: auto;
57
+ text-decoration: none;
58
+ word-break: break-word;
59
+ }
81
60
 
82
- &.dropdown {
83
- position: absolute;
84
- left: 0;
61
+ .opener {
62
+ display: none;
63
+ }
85
64
 
86
- .has_subtree.dropdown {
87
- top: 0;
88
- }
89
- }
65
+ &.show-nav > .has_subtree.dropdown {
66
+ z-index: 1;
67
+ opacity: 100%;
68
+ visibility: visible;
69
+ border-radius: $nav-overlay-radius;
70
+
71
+ a {
72
+ pointer-events: initial !important;
73
+ }
74
+ }
75
+
76
+ &.show-nav > .has_subtree {
77
+ visibility: visible;
78
+
79
+ .show-nav > .dropdown {
80
+ left: 25.5em;
81
+
82
+ .dropdown {
83
+ left: 21.5em;
90
84
  }
85
+ }
86
+ }
87
+
88
+ & > .has_subtree {
89
+ width: 21em;
90
+ padding: 2em;
91
+ background: #fff;
92
+
93
+ &.dropdown {
94
+ position: absolute;
95
+ left: 0;
91
96
 
92
- &.has_subtree .has_subtree ul {
93
- z-index: 0;
97
+ .has_subtree.dropdown {
94
98
  top: 0;
95
- left: 0;
96
99
  }
97
100
  }
101
+ }
102
+ }
98
103
 
99
- &>li {
100
- &>a {
101
- padding: 0;
102
- color: $nav-link-color;
103
- @if $nav-first-level-uppercase {
104
- text-transform: uppercase;
105
- }
106
- }
107
- &.has_subtree > a {
108
- display: flex;
109
- align-items: center;
110
- padding: 0;
111
- color: $nav-link-color;
112
- &:after {
113
- content: "";
114
- width: 9px;
115
- height: 6px;
116
- display: block;
117
- background-image: $nav-link-drop;
118
- @include media-breakpoint-down(lg){
119
- content: $nav-link-drop-mobile;
120
- display: block;
121
- height: auto;
122
- margin-left: 0;
123
- width: auto;
124
- background: none;
125
- }
126
- background-size: contain;
127
- background-position: center;
128
- background-repeat: no-repeat;
129
- margin-left: .4rem;
130
- }
131
- &:before {
132
- content: "";
133
- height: 2px;
134
- position: absolute;
135
- left: 0;
136
- background-color: $nav-link-active-color;
137
- bottom: 0;
138
- transition: all .15s ease;
139
- right: 0;
140
- opacity: 0;
141
- }
142
- &:hover,
143
- &:focus {
144
- color: $nav-link-active-color;
145
- &:before {
146
- content: "";
147
- opacity: 1;
148
- }
149
- }
150
- }
104
+ & > li {
105
+ & > a {
106
+ padding: 0;
107
+ color: $header-nav-link-color;
108
+ font-size: $header-nav-link-font-size;
109
+ font-family: $header-nav-link-font-family;
151
110
 
152
- &>.has_subtree {
153
- width: 25em;
154
- .close-nav {
155
- position: absolute;
156
- z-index: 99;
157
- top: 0;
158
- right: 1.5em;
159
- border-bottom: none !important;
160
- .close-nav-icon {
161
- display: block;
162
- width: 20px;
163
- height: 20px;
164
- padding: 0;
165
- }
166
- }
167
- }
111
+ @if $nav-first-level-uppercase {
112
+ text-transform: uppercase;
168
113
  }
114
+ }
169
115
 
170
- div.has_subtree {
171
- &>span {
172
- color: yellow;
116
+ &.has_subtree > a {
117
+ display: flex;
118
+ align-items: center;
119
+ padding: 0;
120
+
121
+ &::after {
122
+ content: "";
123
+ width: 9px;
124
+ height: 6px;
125
+ display: block;
126
+ background-image: $nav-link-drop;
127
+
128
+ @include media-breakpoint-down(lg) {
129
+ content: $nav-link-drop-mobile;
130
+ display: block;
131
+ height: auto;
132
+ margin-left: 0;
133
+ width: auto;
134
+ background: none;
173
135
  }
174
- &.dropdown {
175
- .has_subtree .nav-link {
176
- &[aria-haspopup="true"] {
177
- &:after {
178
- content: $nav-overlay-next-icon;
179
- right: 0;
180
- }
181
- &:hover,
182
- &:focus {
183
- &:after {
184
- content: $nav-overlay-next-icon-hover;
185
- }
186
- }
187
- }
188
- }
189
- @include media-breakpoint-up(md) {
190
- display: flex;
191
- height: 800px;
192
- min-height: 350px;
193
- max-height: 85vh;
194
- flex-direction: column;
195
-
196
- &>ul {
197
- overflow-y: auto;
198
- }
199
- }
200
- @include media-breakpoint-down(lg) {
201
- overflow: hidden;
202
- overflow-y: scroll;
203
- }
136
+
137
+ background-size: contain;
138
+ background-position: center;
139
+ background-repeat: no-repeat;
140
+ margin-left: 0.4rem;
141
+ }
142
+
143
+ &::before {
144
+ content: "";
145
+ height: 2px;
146
+ position: absolute;
147
+ left: 0;
148
+ background-color: $nav-link-active-color;
149
+ bottom: 0;
150
+ transition: all 0.15s ease;
151
+ right: 0;
152
+ opacity: 0%;
153
+ }
154
+
155
+ &:hover,
156
+ &:focus {
157
+ color: $nav-link-active-color;
158
+
159
+ &::before {
160
+ content: "";
161
+ opacity: 100%;
204
162
  }
205
- .close-nav .close-nav-icon {
163
+ }
164
+ }
165
+
166
+ & > .has_subtree {
167
+ width: 25em;
168
+
169
+ .close-nav {
170
+ position: absolute;
171
+ z-index: 99;
172
+ top: 0;
173
+ right: 1.5em;
174
+ border-bottom: none !important;
175
+
176
+ .close-nav-icon {
206
177
  display: block;
207
178
  width: 20px;
208
179
  height: 20px;
209
180
  padding: 0;
210
- background-image: url("../../assets/svg/close.svg");
211
181
  }
212
182
  }
213
- .dropdown {
214
- background-color: aqua;
215
- opacity: 0;
216
- visibility: hidden;
217
- a {
218
- padding: 1rem 0;
219
- border-bottom: 1px solid #ddd;
220
- pointer-events: none;
221
- }
222
- .nav-title {
223
- padding: 0 !important;
224
- a {
225
- color: $nav-overlay-title-color;
226
- font-size: $nav-overlay-title-font-size;
227
- font-weight: $nav-overlay-title-font-weight;
183
+ }
184
+ }
185
+
186
+ div.has_subtree {
187
+ & > span {
188
+ color: yellow;
189
+ }
190
+
191
+ &.dropdown {
192
+ .has_subtree .nav-link {
193
+ &[aria-haspopup="true"] {
194
+ &::after {
195
+ content: $nav-overlay-next-icon;
196
+ right: 0;
228
197
  }
229
- }
230
- .nav-link {
231
- display: flex;
232
- align-items: center;
233
- justify-content: space-between;
234
- color: #000;
198
+
235
199
  &:hover,
236
200
  &:focus {
237
- color: $primary;
238
- }
239
-
240
- .state-private {
241
- color: #c4183c;
201
+ &::after {
202
+ content: $nav-overlay-next-icon-hover;
203
+ }
242
204
  }
243
205
  }
244
206
  }
245
207
 
246
- .quick-access {
247
- padding-top: 1.5rem;
248
- .quick-access-title{
249
- color: $nav-quick-link-color;
250
- font-size: $nav-quick-link-size;
251
- font-weight: $nav-quick-link-weight;
252
- padding:$nav-quick-link-padding;
253
- }
254
- ul {
255
- position: relative !important;
256
- width: auto !important;
257
- padding: 0 !important;
208
+ @include media-breakpoint-up(md) {
209
+ display: flex;
210
+ height: 800px;
211
+ min-height: 350px;
212
+ max-height: 85vh;
213
+ flex-direction: column;
214
+
215
+ & > ul {
216
+ overflow-y: auto;
258
217
  }
259
218
  }
260
219
 
261
- &.activated {
262
- &>li>a {
263
- @include media-breakpoint-up(md) {
264
- color: $nav-link-open-color !important;
265
- }
220
+ @include media-breakpoint-down(lg) {
221
+ overflow: hidden;
222
+ overflow-y: scroll;
266
223
  }
267
224
  }
268
225
 
226
+ .close-nav .close-nav-icon {
227
+ display: block;
228
+ width: 20px;
229
+ height: 20px;
230
+ padding: 0;
231
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' aria-hidden='true' class='css-tj5bde-Svg'%3E%3Cpath d='M14.348 14.849a1.2 1.2 0 0 1-1.697 0L10 11.819l-2.651 3.029a1.2 1.2 0 1 1-1.697-1.697l2.758-3.15-2.759-3.152a1.2 1.2 0 1 1 1.697-1.697L10 8.183l2.651-3.031a1.2 1.2 0 1 1 1.697 1.697l-2.758 3.152 2.758 3.15a1.2 1.2 0 0 1 0 1.698z'/%3E%3C/svg%3E");
232
+ }
233
+ }
234
+
235
+ .dropdown {
236
+ background-color: aqua;
237
+ opacity: 0%;
238
+ visibility: hidden;
239
+
240
+ a {
241
+ padding: 1rem 0;
242
+ border-bottom: 1px solid #ddd;
243
+ pointer-events: none;
244
+ }
245
+
246
+ .nav-title {
247
+ padding: 0 !important;
248
+
249
+ a {
250
+ color: $nav-overlay-title-color;
251
+ font-size: $nav-overlay-title-font-size;
252
+ font-weight: $nav-overlay-title-font-weight;
253
+ font-family: $nav-title-font-family;
254
+ }
255
+ }
256
+
257
+ .nav-link {
258
+ display: flex;
259
+ align-items: center;
260
+ justify-content: space-between;
261
+ color: #000;
262
+
263
+ &:hover,
264
+ &:focus {
265
+ color: $nav-overlay-next-color-hover;
266
+ }
267
+
268
+ .state-private {
269
+ color: #c4183c;
270
+ }
271
+ }
272
+ }
273
+
274
+ .quick-access {
275
+ padding-top: 1.5rem;
276
+
277
+ .quick-access-title {
278
+ color: $nav-quick-link-color;
279
+ font-size: $nav-quick-link-size;
280
+ font-weight: $nav-quick-link-weight;
281
+ padding: $nav-quick-link-padding;
282
+ }
283
+
284
+ ul {
285
+ position: relative !important;
286
+ width: auto !important;
287
+ padding: 0 !important;
288
+ }
289
+ }
290
+
291
+ &.activated {
292
+ & > li > a {
293
+ @include media-breakpoint-up(md) {
294
+ color: $nav-link-open-color !important;
295
+ }
296
+ }
297
+ }
298
+
269
299
  label[role="button"] {
270
300
  position: absolute;
271
301
  }
272
302
  }
303
+
273
304
  @include media-breakpoint-up(lg) {
274
305
  #portal-globalnav-wrapper {
275
- flex:1;
276
- .container{
277
- padding: 0;
278
- }
306
+ flex: 1;
307
+
308
+ .container {
309
+ padding: 0;
310
+ }
279
311
  }
280
- }
281
- .close-nav,
312
+ }
313
+
314
+ .close-nav,
282
315
  .prev-nav {
283
316
  cursor: pointer;
284
317
  }
@@ -287,22 +320,25 @@
287
320
  @include media-breakpoint-down(lg) {
288
321
  display: block !important;
289
322
  }
323
+
290
324
  @include media-breakpoint-up(lg) {
291
325
  display: none !important;
292
326
  }
293
327
  }
294
328
 
295
- #portal-globalnav-wrapper #portal-globalnav>li>.has_subtree,
296
- #subsite-navigation #portal-globalnav>li>.has_subtree {
329
+ #portal-globalnav-wrapper #portal-globalnav > li > .has_subtree,
330
+ #subsite-navigation #portal-globalnav > li > .has_subtree {
297
331
  @include media-breakpoint-up(lg) {
298
332
  margin-top: 2.25rem;
299
333
  }
300
334
  }
335
+
301
336
  @include media-breakpoint-down(lg) {
302
- #portal-globalnav-collapse #portal-globalnav>li>.nav-link {
337
+ #portal-globalnav-collapse #portal-globalnav > li > .nav-link {
303
338
  border-bottom: 1px solid #ddd;
304
339
  }
305
- #portal-globalnav-collapse #portal-globalnav>li>.nav-link {
340
+
341
+ #portal-globalnav-collapse #portal-globalnav > li > .nav-link {
306
342
  padding: 1rem 0;
307
343
  display: flex;
308
344
  justify-content: space-between;
@@ -311,31 +347,40 @@
311
347
  }
312
348
 
313
349
  // Pour changer la couleur de navlink en active
314
- #portal-globalnav-wrapper #portal-globalnav-collapse #portal-globalnav > li.show-nav.has_subtree > a{
315
- color: $nav-link-active-color!important;
350
+ #portal-globalnav-wrapper
351
+ #portal-globalnav-collapse
352
+ #portal-globalnav
353
+ > li.show-nav.has_subtree
354
+ > a {
355
+ color: $nav-link-active-color !important;
316
356
  }
357
+
317
358
  // de core
359
+
318
360
  @media screen and (max-width: 992px) {
319
361
  #portal-globalnav-wrapper .navbar-nav li.show-nav > .has_subtree.dropdown {
320
362
  right: 0;
321
363
  left: inherit !important;
322
364
  transition: right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64) !important;
323
365
  }
366
+
324
367
  #portal-globalnav-wrapper .navbar-nav li .has_subtree.dropdown {
325
368
  position: fixed !important;
326
369
  z-index: 1;
327
370
  right: -100vw;
328
371
  left: inherit !important;
329
372
  height: 100vh;
330
- transition: right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64), opacity 5s ease,
373
+ transition:
374
+ right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64),
375
+ opacity 5s ease,
331
376
  0.5s visibility ease;
332
377
  }
333
378
  }
379
+
334
380
  //sub site
335
381
  #subsite-navigation {
336
- &>ul {
382
+ & > ul {
337
383
  display: flex;
338
- flex-direction: column;
339
384
  flex-direction: row;
340
385
  padding-left: 0;
341
386
  margin-bottom: 0;
@@ -351,11 +396,11 @@
351
396
  .has_subtree {
352
397
  display: block;
353
398
 
354
- & .opener~ul {
399
+ & .opener ~ ul {
355
400
  height: auto;
356
401
  }
357
402
 
358
- >label {
403
+ > label {
359
404
  position: absolute;
360
405
  top: 0;
361
406
  right: 0;
@@ -369,29 +414,32 @@
369
414
  text-align: center;
370
415
  }
371
416
 
372
- &>input {
417
+ & > input {
373
418
  display: none;
374
419
  }
375
420
 
376
421
  &:hover {
377
- &>ul {
378
- opacity: 1;
422
+ & > ul {
423
+ opacity: 100%;
379
424
  visibility: visible;
380
425
  }
381
426
  }
382
427
 
383
- .has_subtree:hover>ul {
428
+ .has_subtree:hover > ul {
384
429
  top: 0;
385
430
  left: 16em;
386
431
  }
387
432
  }
388
433
  }
389
434
 
390
- #subsite-navigation>ul li>.has_subtree.dropdown {
435
+ #subsite-navigation > ul li > .has_subtree.dropdown {
391
436
  position: absolute;
392
437
  left: 0;
393
- box-shadow: 0 1.6px 11.5px rgb(0 0 0 / 2.4%), 0 4.5px 31.9px rgb(0 0 0 / 3.5%),
394
- 0 10.9px 76.9px rgb(0 0 0 / 4.6%), 0 36px 255px rgb(0 0 0 / 7%);
438
+ box-shadow:
439
+ 0 1.6px 11.5px rgb(0 0 0 / 2.4%),
440
+ 0 4.5px 31.9px rgb(0 0 0 / 3.5%),
441
+ 0 10.9px 76.9px rgb(0 0 0 / 4.6%),
442
+ 0 36px 255px rgb(0 0 0 / 7%);
395
443
 
396
444
  .has_subtree.dropdown {
397
445
  top: 0;
@@ -409,19 +457,23 @@
409
457
  @media screen and (max-width: 992px) {
410
458
  .open-nav-overflow {
411
459
  overflow: hidden;
460
+
412
461
  .navbar-dark .navbar-toggler {
413
462
  color: #000;
414
463
  border-color: #000;
415
464
  }
465
+
416
466
  .navbar-dark .navbar-toggler-icon {
417
- background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27%23000%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e")!important;
467
+ background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27%23000%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e") !important;
418
468
  }
419
469
  }
470
+
420
471
  .collapse:not(.show) {
421
472
  display: block;
422
- opacity: 0;
473
+ opacity: 0%;
423
474
  visibility: hidden;
424
475
  }
476
+
425
477
  .navbar-toggler {
426
478
  z-index: 99;
427
479
  }
@@ -436,20 +488,26 @@
436
488
  padding: 6em 2em 0;
437
489
  background: #fff;
438
490
  transition: all 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64);
491
+
439
492
  #portal-globalnav {
440
- &>li>a {
493
+ & > li > a {
441
494
  color: #000 !important;
442
495
  padding: 1rem 0 !important;
443
496
  }
444
497
  }
498
+
445
499
  .has_subtree.dropdown {
446
500
  top: 0;
447
501
  width: 100vw !important;
448
- box-shadow: 0 0 6.5px rgb(0 0 0 / 4.7%), 0 0 16.9px rgb(0 0 0 / 6.7%),
449
- 0 0 33.8px rgb(0 0 0 / 8.3%), 0 0 64.5px rgb(0 0 0 / 10.3%),
502
+ box-shadow:
503
+ 0 0 6.5px rgb(0 0 0 / 4.7%),
504
+ 0 0 16.9px rgb(0 0 0 / 6.7%),
505
+ 0 0 33.8px rgb(0 0 0 / 8.3%),
506
+ 0 0 64.5px rgb(0 0 0 / 10.3%),
450
507
  0 0 139px rgb(0 0 0 / 15%);
451
508
  }
452
- #portal-globalnav>li>.nav-link {
509
+
510
+ #portal-globalnav > li > .nav-link {
453
511
  display: flex;
454
512
  align-items: center;
455
513
  justify-content: space-between;
@@ -457,11 +515,16 @@
457
515
  }
458
516
  }
459
517
 
460
- .navbar-toggler[aria-expanded="true"]+#portal-globalnav-collapse {
518
+ .navbar-toggler[aria-expanded="true"] + #portal-globalnav-collapse {
461
519
  left: 0;
462
520
  }
463
521
 
464
- #portal-globalnav-wrapper .navbar-nav li.show-nav>.has_subtree .show-nav>.dropdown {
522
+ #portal-globalnav-wrapper
523
+ .navbar-nav
524
+ li.show-nav
525
+ > .has_subtree
526
+ .show-nav
527
+ > .dropdown {
465
528
  z-index: 99;
466
529
  height: 100vh;
467
530
  background: #fff;
@@ -474,11 +537,13 @@
474
537
  right: -100vw;
475
538
  left: inherit;
476
539
  height: 100vh;
477
- transition: right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64),
478
- opacity 5s ease, 0.5s visibility ease;
540
+ transition:
541
+ right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64),
542
+ opacity 5s ease,
543
+ 0.5s visibility ease;
479
544
  }
480
545
 
481
- &.show-nav>.has_subtree.dropdown {
546
+ &.show-nav > .has_subtree.dropdown {
482
547
  right: 0;
483
548
  left: inherit !important;
484
549
  transition: right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64);
@@ -493,19 +558,22 @@
493
558
  #subsite-navigation {
494
559
  .has_subtree.dropdown {
495
560
  width: 100vw !important;
496
- box-shadow: 0 0 6.5px rgb(0 0 0 / 4.7%), 0 0 16.9px rgb(0 0 0 / 6.7%),
497
- 0 0 33.8px rgb(0 0 0 / 8.3%), 0 0 64.5px rgb(0 0 0 / 10.3%),
561
+ box-shadow:
562
+ 0 0 6.5px rgb(0 0 0 / 4.7%),
563
+ 0 0 16.9px rgb(0 0 0 / 6.7%),
564
+ 0 0 33.8px rgb(0 0 0 / 8.3%),
565
+ 0 0 64.5px rgb(0 0 0 / 10.3%),
498
566
  0 0 139px rgb(0 0 0 / 15%);
499
567
  }
500
568
 
501
- #portal-globalnav>li>.nav-link {
569
+ #portal-globalnav > li > .nav-link {
502
570
  display: flex;
503
571
  align-items: center;
504
572
  justify-content: space-between;
505
573
  padding: 1rem 0;
506
574
  }
507
575
 
508
- li.show-nav>.has_subtree .show-nav>.dropdown {
576
+ li.show-nav > .has_subtree .show-nav > .dropdown {
509
577
  left: 0 !important;
510
578
  }
511
579
 
@@ -513,11 +581,10 @@
513
581
  .has_subtree.dropdown {
514
582
  position: absolute;
515
583
  z-index: 1;
516
- left: inherit;
517
584
  left: 0 !important;
518
585
  }
519
586
 
520
- &.show-nav>.has_subtree.dropdown {
587
+ &.show-nav > .has_subtree.dropdown {
521
588
  right: 0;
522
589
  left: 5% !important;
523
590
  max-width: 90%;
@@ -525,7 +592,7 @@
525
592
  }
526
593
  }
527
594
 
528
- #subsite-navigation>ul {
595
+ #subsite-navigation > ul {
529
596
  display: flex;
530
597
  width: auto;
531
598
  flex-wrap: nowrap;
@@ -538,19 +605,19 @@
538
605
  color: #c4183c;
539
606
  }
540
607
 
541
-
542
608
  .navbar-dark .navbar-toggler-icon {
543
- background-image:$header-toggler-icon!important;
609
+ background-image: $header-toggler-icon !important;
544
610
  }
611
+
545
612
  .navbar-toggler:focus {
546
- border: 0px;
547
- outline: 0px !important;
613
+ border: 0;
614
+ outline: 0 !important;
548
615
  background: transparent;
549
616
  box-shadow: none !important;
550
617
  }
551
618
 
552
619
  // SUB
553
620
 
554
- #subsite-navigation>ul li>.has_subtree.dropdown .has_subtree.dropdown {
621
+ #subsite-navigation > ul li > .has_subtree.dropdown .has_subtree.dropdown {
555
622
  bottom: 0;
556
- }
623
+ }