@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
@@ -75,9 +75,7 @@
75
75
  }
76
76
  }
77
77
  }
78
- .swiper-pagination-bullet-active {
79
- background: $primary !important;
80
- }
78
+
81
79
  // see all
82
80
  .sectionnews {
83
81
  .see_all {
@@ -8,10 +8,7 @@
8
8
 
9
9
  .bannerSwiper {
10
10
  height: $banner-heigh;
11
-
12
- .sectionslide {
13
- width: 100%;
14
-
11
+
15
12
  .swiper-slide {
16
13
  position: relative;
17
14
 
@@ -46,13 +43,12 @@
46
43
  padding: $banner-content-padding;
47
44
  margin: $banner-content-margin;
48
45
  background: $banner-content-background;
49
-
46
+ text-align:$banner-content-text-align;
50
47
  .swiper-banner-title {
51
48
  color: $banner-content-title-color;
52
49
  font-size: $banner-content-title-font-size;
53
50
  text-transform: $banner-content-title-text-transform;
54
51
  }
55
-
56
52
  .swiper-banner-description {
57
53
  p {
58
54
  margin: 0;
@@ -63,7 +59,6 @@
63
59
  }
64
60
  }
65
61
  }
66
- }
67
62
  }
68
63
 
69
64
  .swiper-button-next,
@@ -3,18 +3,24 @@
3
3
  padding-top: $event-section-padding-top;
4
4
  padding-bottom: $event-section-padding-bottom;
5
5
  margin: $event-section-margin;
6
- @if $event-section-full-width {
6
+ @if $actu-section-full-width {
7
7
  width: 100vw;
8
- left: 50%;
9
- transform: translateX(-50%);
10
8
  max-width: 100vw;
11
9
  }
10
+ @include media-breakpoint-up(lg) {
11
+ @if $actu-section-full-width {
12
+ left: 50%;
13
+ transform: translateX(-50%);
14
+ }
15
+ }
12
16
  .container {
13
17
  padding-right: 0;
14
18
  padding-left: 0;
15
- @if $event-section-full-width {
16
- padding-right: calc(var(--bs-gutter-x) * 0.5);
17
- padding-left: calc(var(--bs-gutter-x) * 0.5);
19
+ @include media-breakpoint-up(lg) {
20
+ @if $event-section-full-width {
21
+ padding-right: calc(var(--bs-gutter-x) * 0.5);
22
+ padding-left: calc(var(--bs-gutter-x) * 0.5);
23
+ }
18
24
  }
19
25
  }
20
26
  .section-title {
@@ -72,13 +78,45 @@
72
78
  text-transform: $event-item-title-text-transform;
73
79
  }
74
80
  }
81
+ .swiper_description {
82
+ text-align: $actu-item-description-align;
83
+ font-family: $actu-item-description-font-family;
84
+ margin:$actu-item-description-margin;
85
+ padding: $actu-item-description-padding;
86
+ color:$actu-item-description-color;
87
+ }
75
88
  }
76
89
  }
77
-
78
- .swiper-pagination-bullet-active {
79
- background: $primary !important;
90
+ .sectionevents .swiper-slide .swiper_date .day_date .day::after,
91
+ .sectionevents .swiper-slide .swiper_date .end_date .day::after,
92
+ .sectionevents .swiper-slide .swiper_date .start_date .day::after {
93
+ content: "/";
94
+ }
95
+ .sectionevents .swiper-slide .swiper_date div {
96
+ display: flex;
97
+ }
98
+ .sectionevents{
99
+ .swiper_date{
100
+ display: flex;
101
+ .day_date{
102
+ .from_on{
103
+ margin-right: .25em;
104
+ }
105
+ }
106
+ .start_date{
107
+ display: flex;
108
+ margin-right: .25em;
109
+ .from_on{
110
+ margin-right: .25em;
111
+ }
112
+ }
113
+ .end_date{
114
+ .to{
115
+ margin-right: .25em;
116
+ }
117
+ }
118
+ }
80
119
  }
81
-
82
120
  // see all
83
121
  .sectionevents {
84
122
  .see_all {
@@ -2,6 +2,7 @@
2
2
  margin: $see-all-margin;
3
3
  display: flex;
4
4
  a {
5
+ position: relative;
5
6
  display: block;
6
7
  width: max-content;
7
8
  padding: $see-all-padding;
@@ -13,12 +14,27 @@
13
14
  text-transform: $see-all-text-transform;
14
15
  font-size: $see-all-font-size;
15
16
  transition: $see-all-transition;
17
+ font-family: $see-all-font-family;
18
+ font-weight: $see-all-font-weight;
16
19
  &:hover,
17
20
  &:focus {
18
21
  background: $see-all-hover-bg;
19
22
  color: $see-all-hover-color;
20
23
  border-radius: $see-all-hover-radius;
21
24
  border: $see-all-hover-border;
25
+ &:after{
26
+ width: $see-all-hover-underline-width;
27
+ }
28
+ }
29
+ &:after{
30
+ content: "";
31
+ transition: all .2s ease;
32
+ position: absolute;
33
+ height: 2px;
34
+ background-color: $see-all-underline-color;
35
+ left: 0;
36
+ bottom: -5px;
37
+ width: $see-all-underline-width;
22
38
  }
23
39
  }
24
40
  }
@@ -26,4 +42,10 @@
26
42
  #content-core,
27
43
  #main-container {
28
44
  margin-bottom: 0;
45
+ }
46
+
47
+ .portaltype-imio-smartweb-portalpage{
48
+ #content > header{
49
+ display: none;
50
+ }
29
51
  }
@@ -0,0 +1,24 @@
1
+ .sectionsendinblue{
2
+ text-align: $newsletter-align;
3
+ padding-top: $newsletter-padding-top;
4
+ padding-bottom: $newsletter-padding-bottom;
5
+ margin: $newsletter-margin;
6
+ position: relative;
7
+ &:after{
8
+ content: "";
9
+ position: absolute;
10
+ width: 100vw;
11
+ left: 50%;
12
+ transform: translateX(-50%);
13
+ z-index: -1;
14
+ top: 0;
15
+ bottom: 0;
16
+ background:$newsletter-bg-color;
17
+ }
18
+ .lead{
19
+ margin: 0;
20
+ }
21
+ h2,label,.lead,.form-text{
22
+ color: $newsletter-text-color;
23
+ }
24
+ }
@@ -1,5 +1,6 @@
1
1
  .sectionlinks.quick-access {
2
2
  position: relative;
3
+ background: transparent;
3
4
  @if $quick-access-section-full-width {
4
5
  width: 100vw;
5
6
  left: 50%;
@@ -24,6 +25,9 @@
24
25
  }
25
26
  .body-section {
26
27
  padding: $quick-access-container-padding;
28
+ ul{
29
+ justify-content: center;
30
+ }
27
31
  li {
28
32
  list-style: none;
29
33
  a {
@@ -56,6 +60,7 @@
56
60
  color: $quick-access-title-color;
57
61
  text-transform: $quick-access-title-text-transform;
58
62
  font-weight: $quick-access-title-weight;
63
+ font-family: $quick-access-title-font-family;
59
64
  }
60
65
  }
61
66
  }
@@ -7,11 +7,23 @@ body.template-block_view_with_images .block-menu-element {
7
7
  border-radius: 15px 15px 15px 0px;
8
8
  box-shadow: $block-small-shadow;
9
9
  position: relative;
10
- &:hover,
11
- &:focus {
12
-
10
+ &::after {
11
+ // content: url(../svg/arrow-right-yellow.svg);
12
+ background: #fff;
13
+ position: absolute;
14
+ bottom: 0;
15
+ left: 0;
16
+ width: 50px;
17
+ height: 50px;
18
+ border-radius: 50%;
19
+ text-align: center;
20
+ margin: 1rem 1rem;
21
+ }
22
+ }
23
+ &:hover,
24
+ &:focus {
25
+ .card-body{
13
26
  box-shadow: $block-full-shadow;
14
- h2.card-title {}
15
27
  &::after {
16
28
  // content: url(../svg/arrow-right-white.svg);
17
29
  background: $yellow;
@@ -23,21 +35,9 @@ body.template-block_view_with_images .block-menu-element {
23
35
  text-align: center;
24
36
  position: absolute;
25
37
  margin: 1rem 1rem;
26
-
38
+
27
39
  }
28
40
  }
29
- &::after {
30
- // content: url(../svg/arrow-right-yellow.svg);
31
- background: #fff;
32
- position: absolute;
33
- bottom: 0;
34
- left: 0;
35
- width: 50px;
36
- height: 50px;
37
- border-radius: 50%;
38
- text-align: center;
39
- margin: 1rem 1rem;
40
- }
41
41
  }
42
42
  h2.card-title {
43
43
  &:hover,
@@ -1,6 +1,6 @@
1
1
  .list-group {
2
2
  .list-group-item {
3
- border-bottom: $border-width solid $gray;
3
+ border-bottom: $border-width solid #d1d1d1;
4
4
  position: relative;
5
5
  .tileHeadline {
6
6
  a::after {
@@ -30,7 +30,6 @@ $roboto-base-path: "@theme/assets/fonts/";
30
30
  @import "@plone/plonetheme-barceloneta-base/scss/comments";
31
31
  @import "@plone/plonetheme-barceloneta-base/scss/portlets";
32
32
  @import "@plone/plonetheme-barceloneta-base/scss/footer";
33
- @import "@plone/plonetheme-barceloneta-base/scss/event";
34
33
 
35
34
  @import "@plone/plonetheme-barceloneta-base/scss/print";
36
35
 
@@ -44,6 +43,8 @@ $roboto-base-path: "@theme/assets/fonts/";
44
43
  @import "./common/com-faceted";
45
44
  @import "./common/com-list-image";
46
45
  @import "./common/messviewlet";
46
+ @import "./common/com-react";
47
+ @import "./common/com-footer";
47
48
 
48
49
  ///// List
49
50
  @import "./list/list-block";
@@ -71,6 +72,8 @@ $roboto-base-path: "@theme/assets/fonts/";
71
72
  @import "./sections/se-link";
72
73
  @import "./sections/se-linked-content";
73
74
  @import "./sections/se-plan";
75
+ @import "./sections/se-plan-geo";
76
+ @import "./sections/se-postit";
74
77
 
75
78
  // Home page
76
79
  @import "./homepage/general-home";
@@ -80,10 +83,11 @@ $roboto-base-path: "@theme/assets/fonts/";
80
83
  @import "./homepage/actualites";
81
84
  @import "./homepage/events";
82
85
  @import "./homepage/album";
83
-
84
-
85
-
86
-
87
- // body{
88
- // background: blue;
89
- // }
86
+ @import "./homepage/newsletter";
87
+
88
+ #faceted-map-container{
89
+ z-index: 0;
90
+ }
91
+ .leaflet-top.leaflet-left {
92
+ z-index: inherit !important;
93
+ }