@imiobe/plonetheme-smartweb-base 0.0.4 → 0.0.6

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 (91) hide show
  1. package/index.html +68 -61
  2. package/manifest.cfg +4 -1
  3. package/package.json +3 -3
  4. package/rules.xml +4 -1
  5. package/src/index.js +5 -1
  6. package/src/scss/_fonts.scss +9 -0
  7. package/src/scss/_general.scss +99 -3
  8. package/src/scss/_header.scss +7 -15
  9. package/src/scss/_sitenav.scss +83 -259
  10. package/src/scss/_sub-sitenav.scss +3 -239
  11. package/src/scss/_swiper.scss +27 -2
  12. package/src/scss/_trucaverif.scss +5 -56
  13. package/src/scss/common/_com-cookies.scss +1 -1
  14. package/src/scss/common/_com-edition.scss +5 -1
  15. package/src/scss/common/_com-faceted.scss +7 -5
  16. package/src/scss/common/_com-footer.scss +5 -0
  17. package/src/scss/common/_com-react.scss +76 -0
  18. package/src/scss/common/_messviewlet.scss +2 -1
  19. package/src/scss/homepage/_a-la-une.scss +3 -0
  20. package/src/scss/homepage/_actualites.scss +33 -20
  21. package/src/scss/homepage/_album.scss +1 -3
  22. package/src/scss/homepage/_banner.scss +2 -7
  23. package/src/scss/homepage/_events.scss +48 -10
  24. package/src/scss/homepage/_general-home.scss +22 -0
  25. package/src/scss/homepage/_newsletter.scss +24 -0
  26. package/src/scss/homepage/_quick-access.scss +5 -0
  27. package/src/scss/list/_list-block-img.scss +17 -17
  28. package/src/scss/list/_list.scss +1 -1
  29. package/src/scss/main.scss +12 -8
  30. package/src/scss/sections/_se-contact.scss +47 -277
  31. package/src/scss/sections/_se-file.scss +10 -2
  32. package/src/scss/sections/_se-gallery.scss +15 -0
  33. package/src/scss/sections/_se-link.scss +0 -5
  34. package/src/scss/sections/_se-plan-geo.scss +83 -0
  35. package/src/scss/sections/_se-postit.scss +17 -0
  36. package/src/scss/sections/_se-textes.scss +26 -32
  37. package/src/scss/variables.scss +113 -94
  38. package/theme.zip +0 -0
  39. package/dist/css/theme.css +0 -7
  40. package/dist/fonts/roboto-bold..eot +0 -0
  41. package/dist/fonts/roboto-bold..ttf +0 -0
  42. package/dist/fonts/roboto-bold..woff +0 -0
  43. package/dist/fonts/roboto-bold..woff2 +0 -0
  44. package/dist/fonts/roboto-bolditalic..eot +0 -0
  45. package/dist/fonts/roboto-bolditalic..ttf +0 -0
  46. package/dist/fonts/roboto-bolditalic..woff +0 -0
  47. package/dist/fonts/roboto-bolditalic..woff2 +0 -0
  48. package/dist/fonts/roboto-italic..eot +0 -0
  49. package/dist/fonts/roboto-italic..ttf +0 -0
  50. package/dist/fonts/roboto-italic..woff +0 -0
  51. package/dist/fonts/roboto-italic..woff2 +0 -0
  52. package/dist/fonts/roboto-light..eot +0 -0
  53. package/dist/fonts/roboto-light..ttf +0 -0
  54. package/dist/fonts/roboto-light..woff +0 -0
  55. package/dist/fonts/roboto-light..woff2 +0 -0
  56. package/dist/fonts/roboto-lightitalic..eot +0 -0
  57. package/dist/fonts/roboto-lightitalic..ttf +0 -0
  58. package/dist/fonts/roboto-lightitalic..woff +0 -0
  59. package/dist/fonts/roboto-lightitalic..woff2 +0 -0
  60. package/dist/fonts/roboto-medium..eot +0 -0
  61. package/dist/fonts/roboto-medium..ttf +0 -0
  62. package/dist/fonts/roboto-medium..woff +0 -0
  63. package/dist/fonts/roboto-medium..woff2 +0 -0
  64. package/dist/fonts/roboto-mediumitalic..eot +0 -0
  65. package/dist/fonts/roboto-mediumitalic..ttf +0 -0
  66. package/dist/fonts/roboto-mediumitalic..woff +0 -0
  67. package/dist/fonts/roboto-mediumitalic..woff2 +0 -0
  68. package/dist/fonts/roboto-regular..eot +0 -0
  69. package/dist/fonts/roboto-regular..ttf +0 -0
  70. package/dist/fonts/roboto-regular..woff +0 -0
  71. package/dist/fonts/roboto-regular..woff2 +0 -0
  72. package/dist/fonts/robotocondensed-light..eot +0 -0
  73. package/dist/fonts/robotocondensed-light..ttf +0 -0
  74. package/dist/fonts/robotocondensed-light..woff +0 -0
  75. package/dist/fonts/robotocondensed-light..woff2 +0 -0
  76. package/dist/fonts/robotocondensed-lightitalic..eot +0 -0
  77. package/dist/fonts/robotocondensed-lightitalic..ttf +0 -0
  78. package/dist/fonts/robotocondensed-lightitalic..woff +0 -0
  79. package/dist/fonts/robotocondensed-lightitalic..woff2 +0 -0
  80. package/dist/images/close29148b38..svg +0 -1
  81. package/dist/images/roboto-bolde46805ee..svg +0 -1
  82. package/dist/images/roboto-bolditalic4be90c03..svg +0 -1
  83. package/dist/images/roboto-italic2332d1c3..svg +0 -1
  84. package/dist/images/roboto-light054c1c8a..svg +0 -1
  85. package/dist/images/roboto-lightitalic2df589e4..svg +0 -1
  86. package/dist/images/roboto-medium832a5157..svg +0 -1
  87. package/dist/images/roboto-mediumitalicf09fad24..svg +0 -1
  88. package/dist/images/roboto-regulare788ed65..svg +0 -1
  89. package/dist/images/robotocondensed-light04ff367e..svg +0 -1
  90. package/dist/images/robotocondensed-lightitalic97b23821..svg +0 -1
  91. package/dist/js/theme.js +0 -1
@@ -1,9 +1,17 @@
1
1
  #portal-globalnav-wrapper {
2
2
  position: initial !important;
3
3
  padding: 0 !important;
4
+ li{
5
+ list-style: none!important;
6
+ }
4
7
  @include media-breakpoint-up(lg) {
5
8
  flex: 1;
6
9
  }
10
+ @include media-breakpoint-down(lg) {
11
+ margin: 0!important;
12
+ }
13
+ }
14
+ #portal-globalnav {
7
15
  span {
8
16
  padding: 1rem 0;
9
17
  }
@@ -12,8 +20,6 @@
12
20
  padding-left: 0;
13
21
  }
14
22
 
15
- #portal-globalnav-collapse {
16
- #portal-globalnav {
17
23
  width: 100%;
18
24
  @include media-breakpoint-up(md) {
19
25
  flex-direction: column;
@@ -25,7 +31,7 @@
25
31
  @include media-breakpoint-up(xl) {
26
32
  gap: $nav-first-level-gap;
27
33
  }
28
- .index_html {
34
+ .nav_index_html {
29
35
  display: none;
30
36
  }
31
37
  li {
@@ -92,35 +98,53 @@
92
98
 
93
99
  &>li {
94
100
  &>a {
95
- display: flex;
96
- align-items: center;
97
101
  padding: 0;
98
102
  color: $nav-link-color;
99
103
  @if $nav-first-level-uppercase {
100
104
  text-transform: uppercase;
101
105
  }
106
+ }
107
+ &.has_subtree > a {
108
+ display: flex;
109
+ align-items: center;
110
+ padding: 0;
111
+ color: $nav-link-color;
102
112
  &:after {
103
113
  content: "";
104
114
  width: 9px;
105
115
  height: 6px;
106
116
  display: block;
107
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
+ }
108
126
  background-size: contain;
109
127
  background-position: center;
110
128
  background-repeat: no-repeat;
111
129
  margin-left: .4rem;
112
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
+ }
113
142
  &:hover,
114
143
  &:focus {
144
+ color: $nav-link-active-color;
115
145
  &:before {
116
146
  content: "";
117
- height: 2px;
118
- position: absolute;
119
- left: 0;
120
- background-color: #FCE181;
121
- bottom: 0;
122
- transition: all .3s ease;
123
- right: 0;
147
+ opacity: 1;
124
148
  }
125
149
  }
126
150
  }
@@ -220,29 +244,41 @@
220
244
  }
221
245
 
222
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
+ }
223
254
  ul {
224
255
  position: relative !important;
225
256
  width: auto !important;
226
257
  padding: 0 !important;
227
258
  }
228
259
  }
229
- }
230
260
 
231
261
  &.activated {
232
- &>ul>li>a {
262
+ &>li>a {
233
263
  @include media-breakpoint-up(md) {
234
264
  color: $nav-link-open-color !important;
235
265
  }
236
266
  }
237
267
  }
238
- }
239
268
 
240
269
  label[role="button"] {
241
270
  position: absolute;
242
271
  }
243
272
  }
244
-
245
- .close-nav,
273
+ @include media-breakpoint-up(lg) {
274
+ #portal-globalnav-wrapper {
275
+ flex:1;
276
+ .container{
277
+ padding: 0;
278
+ }
279
+ }
280
+ }
281
+ .close-nav,
246
282
  .prev-nav {
247
283
  cursor: pointer;
248
284
  }
@@ -273,228 +309,28 @@
273
309
  align-items: center;
274
310
  }
275
311
  }
276
- ////// A SUPPRIMER PLUSTARD
277
-
278
- // #subsite-navigation {
279
- // & > ul {
280
- // gap: 15px;
281
- // }
282
- // }
283
-
284
- // #subsite-navigation ul:first-child {
285
- // overflow-y: hidden;
286
- // }
287
- // #subsite-navigation > ul li > .has_subtree.dropdown {
288
- // box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
289
- // }
290
- // #subsite-navigation > ul li > .has_subtree.dropdown .has_subtree.dropdown {
291
- // @include media-breakpoint-down(lg){
292
- // box-shadow: none!important;
293
- // }
294
- // }
295
-
296
- // #subsite-navigation li .has_subtree.dropdown {
297
- // @include media-breakpoint-down(lg){
298
- // right: inherit;
299
- // left: 0 !important;
300
- // }
301
- // }
302
-
303
- // Align je suis je trouve right
304
- #portal-globalnav {
305
- // & > .nav-item.has_subtree:not(.je-suis):not(.en-un-clic){
306
- // & > .nav-link{
307
- // display: flex;
308
- // align-items: center;
309
- // @include media-breakpoint-up(lg){
310
- // &:after{
311
- // content:"";
312
- // width: 9px;
313
- // height: 6px;
314
- // display: block;
315
- // background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="8.444" height="5.2"><path fill="black" d="M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z"/></svg>');
316
- // background-size: contain;
317
- // background-position: center;
318
- // background-repeat: no-repeat;
319
- // margin-left: 0.4rem;
320
- // }
321
- // }
322
- // }
323
- // }
324
- }
325
-
326
- // #subsite-navigation{
327
- // & > ul{
328
- // white-space: inherit;
329
- // & > li > a{
330
- // white-space: nowrap;
331
- // }
332
- // }
333
- // & > ul > .has_subtree.nav-item{
334
- // & > .nav-link{
335
- // display: flex;
336
- // align-items: center;
337
- // &:after{
338
- // content: url("../../assets/svg/drop-down-arrow.svg");
339
- // display: flex;
340
- // align-items: center;
341
- // padding-left: 0.4rem;
342
- // }
343
- // }
344
- // }
345
- // }
346
-
347
- // #portal-globalnav-collapse, #subsite-navigation{
348
- // .dropdown{
349
- // // .show-nav{
350
- // // & > .nav-link{
351
- // // color: $primary;
352
- // // &[aria-haspopup="true"]{
353
- // // &:after{
354
- // // content: url("../../assets/svg/drop-down-arrow-blue.svg");
355
- // // right: 0;
356
-
357
- // // }
358
- // // }
359
- // // }
360
- // // }
361
- // // .nav-link{
362
- // // &[aria-haspopup="true"]{
363
- // // &:after{
364
- // // content: url("../../assets/svg/arrow-right-blue.svg");
365
- // // content: url("../../assets/svg/arrow-right.svg");
366
- // // position: relative;
367
- // // right: 11px;
368
- // // transition: all .2s ease;
369
- // // }
370
- // // &:hover,
371
- // // &:focus{
372
- // // &:after{
373
- // // content: url("../../assets/svg/arrow-right-blue.svg");
374
- // // }
375
- // // }
376
- // // }
377
- // // }
378
- // }
379
- // & > ul {
380
- // & > li{
381
- // & > a{
382
- // // First nav link hover line
383
- // // &:before{
384
- // // content: "";
385
- // // height: 2px;
386
- // // position: absolute;
387
- // // left: 0;
388
- // // background-color: $yellow;
389
- // // bottom: 0;
390
- // // transition: all .3s ease;
391
- // // right: 0;
392
- // // width: 0;
393
- // // }
394
- // // @media (hover: hover) and (pointer: fine) {
395
- // // &:focus,
396
- // // &:hover{
397
- // // &:before{
398
- // // width: 100%;
399
- // // }
400
- // // }
401
- // // }
402
- // }
403
- // }
404
- // }
405
-
406
- // }
407
-
408
- // // ARROW RIGHT
409
- // @media screen and (max-width:992px) {
410
- // #portal-globalnav-collapse{
411
- // #portal-globalnav > li > .nav-link{
412
- // border-bottom: 1px solid #ddd;
413
- // &[aria-haspopup="true"]::after {
414
- // content: url("../../assets/svg/arrow-right-blue.svg");
415
- // content: url("../../assets/svg/arrow-right.svg");
416
- // position: relative;
417
- // right: 11px;
418
- // }
419
- // }
420
- // }
421
- // // SUBSITE NAV
422
- // #subsite-navigation{
423
- // #portal-globalnav > li > .nav-link{
424
- // border-bottom: 1px solid #ddd;
425
- // &[aria-haspopup="true"]::after {
426
- // content: url("../../assets/svg/arrow-right-blue.svg");
427
- // content: url("../../assets/svg/arrow-right.svg");
428
- // position: relative;
429
- // right: 11px;
430
- // }
431
- // }
432
- // }
433
- // }
434
- // //burger button
435
- // .navbar-toggler{
436
- // display: block;
437
- // position: relative;
438
- // background: transparent!important;
439
- // width: 50px;
440
- // height: 50px;
441
- // border-radius: 50%;
442
- // text-align: center;
443
- // transition: all 0.5s ease;
444
- // border: 2px solid transparent;
445
- // .navbar-toggler-icon {
446
- // display: inline-block;
447
- // position: absolute;
448
- // background: #000;
449
- // margin: 0 auto;
450
- // width: 18px;
451
- // height: 2px;
452
- // top: 50%;
453
- // left: 0;
454
- // right: 0;
455
- // border-radius: 50px;
456
- // transition: all 0.5s ease;
457
- // transform: translateY(-1px);
458
- // &:before,
459
- // &:after{
460
- // content: "";
461
- // border-radius: 50px;
462
- // position: absolute;
463
- // margin: 0 auto;
464
- // background: #000;
465
- // height: 2px;
466
- // right: 0;
467
- // transition: all 0.5s ease;
468
- // }
469
- // &:before {
470
- // bottom: 10px;
471
- // width: 24px;
472
- // }
473
- // &:after {
474
- // top: 10px;
475
- // width: 11px;
476
-
477
- // }
478
- // }
479
- // &[aria-expanded=true] {
480
- // .navbar-toggler-icon {
481
- // background: transparent;
482
- // &:before, &:after {
483
- // transform-origin: 0 50%;
484
- // width: 28.28427125px;
485
- // }
486
- // &:before {
487
- // transform: rotateZ(0.78539816rad)
488
- // }
489
- // &:after {
490
- // transform: rotateZ(-0.78539816rad);
491
- // }
492
- // }
493
- // }
494
- // }
495
312
 
313
+ // 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;
316
+ }
496
317
  // de core
497
-
318
+ @media screen and (max-width: 992px) {
319
+ #portal-globalnav-wrapper .navbar-nav li.show-nav > .has_subtree.dropdown {
320
+ right: 0;
321
+ left: inherit !important;
322
+ transition: right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64) !important;
323
+ }
324
+ #portal-globalnav-wrapper .navbar-nav li .has_subtree.dropdown {
325
+ position: fixed !important;
326
+ z-index: 1;
327
+ right: -100vw;
328
+ left: inherit !important;
329
+ height: 100vh;
330
+ transition: right 0.5s cubic-bezier(0.54, 0.01, 0.68, 0.64), opacity 5s ease,
331
+ 0.5s visibility ease;
332
+ }
333
+ }
498
334
  //sub site
499
335
  #subsite-navigation {
500
336
  &>ul {
@@ -578,7 +414,7 @@
578
414
  border-color: #000;
579
415
  }
580
416
  .navbar-dark .navbar-toggler-icon {
581
- 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");
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;
582
418
  }
583
419
  }
584
420
  .collapse:not(.show) {
@@ -703,27 +539,15 @@
703
539
  }
704
540
 
705
541
 
706
-
707
- // mobile
708
-
709
- // // nav-mobile
710
- // .navbar-toggler{
711
- // border: 0px!important;
712
- // }
713
- // .navbar-toggler:focus{
714
- // box-shadow: none!important;
715
- // }
716
- // @media screen and (min-width:768px){
717
- // .navbar-expand-md .navbar-toggler {
718
- // display: block;
719
- // }
720
- // }
721
-
722
- // @media screen and (min-width:992px){
723
- // .navbar-expand-md .navbar-toggler {
724
- // display: none;
725
- // }
726
- // }
542
+ .navbar-dark .navbar-toggler-icon {
543
+ background-image:$header-toggler-icon!important;
544
+ }
545
+ .navbar-toggler:focus {
546
+ border: 0px;
547
+ outline: 0px !important;
548
+ background: transparent;
549
+ box-shadow: none !important;
550
+ }
727
551
 
728
552
  // SUB
729
553