@imiobe/plonetheme-smartweb-base 0.0.5 → 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 (98) 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/index.html +68 -61
  55. package/manifest.cfg +5 -5
  56. package/package.json +22 -4
  57. package/src/index.js +59 -14
  58. package/src/scss/_breadcrum.scss +1 -0
  59. package/src/scss/_fonts.scss +11 -1
  60. package/src/scss/_general.scss +75 -75
  61. package/src/scss/_header.scss +38 -24
  62. package/src/scss/_mixin.scss +43 -35
  63. package/src/scss/_sitenav.scss +330 -485
  64. package/src/scss/_sub-sitenav.scss +114 -302
  65. package/src/scss/_swiper.scss +29 -12
  66. package/src/scss/_trucaverif.scss +632 -585
  67. package/src/scss/common/_com-cookies.scss +86 -75
  68. package/src/scss/common/_com-edition.scss +36 -24
  69. package/src/scss/common/_com-faceted.scss +155 -132
  70. package/src/scss/common/_com-footer.scss +9 -5
  71. package/src/scss/common/_com-list-image.scss +17 -15
  72. package/src/scss/common/_com-react.scss +63 -51
  73. package/src/scss/common/_messviewlet.scss +77 -59
  74. package/src/scss/homepage/_a-la-une.scss +30 -19
  75. package/src/scss/homepage/_actualites.scss +137 -108
  76. package/src/scss/homepage/_album.scss +88 -78
  77. package/src/scss/homepage/_banner.scss +35 -42
  78. package/src/scss/homepage/_events.scss +51 -24
  79. package/src/scss/homepage/_general-home.scss +49 -24
  80. package/src/scss/homepage/_newsletter.scss +30 -0
  81. package/src/scss/homepage/_quick-access.scss +16 -3
  82. package/src/scss/list/_list-block-img.scss +53 -49
  83. package/src/scss/list/_list-block.scss +70 -64
  84. package/src/scss/list/_list-img.scss +21 -14
  85. package/src/scss/list/_list.scss +55 -53
  86. package/src/scss/main.scss +23 -6
  87. package/src/scss/sections/_se-contact.scss +230 -138
  88. package/src/scss/sections/_se-file.scss +187 -166
  89. package/src/scss/sections/_se-gallery.scss +16 -14
  90. package/src/scss/sections/_se-link.scss +141 -135
  91. package/src/scss/sections/_se-linked-content.scss +4 -4
  92. package/src/scss/sections/_se-plan-geo.scss +101 -0
  93. package/src/scss/sections/_se-plan.scss +2 -2
  94. package/src/scss/sections/_se-postit.scss +19 -0
  95. package/src/scss/sections/_se-textes.scss +40 -54
  96. package/src/scss/variables.scss +201 -168
  97. package/theme.zip +0 -0
  98. package/theme4.2.zip +0 -0
@@ -1,149 +1,155 @@
1
1
  .sectionlinks {
2
- @include section-padding-top;
3
- @include section-padding-bottom;
4
- @if $enable-light-color-section-link {
5
- h2,
6
- span,
7
- p {
8
- color: #fff;
9
- }
2
+ @include section-padding-top;
3
+ @include section-padding-bottom;
4
+
5
+ @if $enable-light-color-section-link {
6
+ h2,
7
+ span,
8
+ p {
9
+ color: #fff;
10
10
  }
11
- @if $enable-full-width-section-link {
12
- // &:after{
13
- // @include full-width;
14
- // background:$section-link-background-color;
15
- // }
11
+ }
12
+ background: $section-link-background-color;
13
+ position: relative;
14
+
15
+ .section_files_list {
16
+ @include ul-rm-padding;
17
+ }
18
+
19
+ .display-paysage {
20
+ .table_image:not(.no-image) {
21
+ .image.d-block.is-image.w-100 {
22
+ aspect-ratio: 1.67;
23
+ margin-bottom: 10px;
24
+ }
16
25
  }
17
- background: $section-link-background-color;
18
- position: relative;
19
- .section_files_list {
20
- @include ul-rm-padding;
26
+ }
27
+
28
+ .display-portrait {
29
+ .table_image:not(.no-image) {
30
+ .image.d-block.is-image.w-100 {
31
+ aspect-ratio: 0.7;
32
+ margin-bottom: 10px;
33
+ }
21
34
  }
22
- li {
23
- list-style: none;
24
- .section_files_link {
25
- display: flex;
26
- align-items: center;
27
- justify-content: space-between;
28
- .section_files_image {
29
- width: 36px;
30
- height: 44px;
31
- margin-left: 1rem;
32
- @include media-breakpoint-up(md) {
33
- width: 160px;
34
- height: 121px;
35
- margin-left: 0;
36
- }
37
- position: relative;
38
- img {
39
- @include fit-cover;
40
- }
41
- }
42
- .section_files_text {
43
- .section_files_item_description {
44
- margin: 0;
45
- }
46
- }
35
+ }
36
+
37
+ li {
38
+ list-style: none;
39
+
40
+ .section_files_link {
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: space-between;
44
+
45
+ .section_files_image {
46
+ width: 36px;
47
+ height: 44px;
48
+ margin-left: 1rem;
49
+
50
+ @include media-breakpoint-up(md) {
51
+ width: 160px;
52
+ height: 121px;
53
+ margin-left: 0;
47
54
  }
55
+ position: relative;
56
+
57
+ img {
58
+ @include fit-cover;
59
+ }
60
+ }
61
+
62
+ .section_files_text {
63
+ .section_files_item_description {
64
+ margin: 0;
65
+ }
66
+ }
48
67
  }
68
+ }
49
69
  }
50
70
 
51
71
  // for bal
52
72
  .sectionfiles {
53
- .section-container.section_links {
54
- @include media-breakpoint-up(lg) {
55
- display: flex;
56
- gap: 6.8181%;
57
- }
58
- .section_files_list {
59
- margin-bottom: 0;
60
- max-width: max-content;
61
- @include media-breakpoint-up(lg) {
62
- max-width: inherit;
63
- }
64
- }
73
+ .section-container.section_links {
74
+ @include media-breakpoint-up(lg) {
75
+ display: flex;
76
+ gap: 6.8181%;
65
77
  }
66
- .section-title {
67
- &::before {
68
- // content: url(../svg/files.svg);
69
- display: inline-block;
70
- vertical-align: middle;
71
- margin-right: 1.5rem;
72
- }
78
+
79
+ .section_files_list {
80
+ margin-bottom: 0;
81
+ max-width: max-content;
82
+
83
+ @include media-breakpoint-up(lg) {
84
+ max-width: inherit;
85
+ }
73
86
  }
74
- .section_files_link {
75
- border: solid 1px rgba(255, 255, 255, 0.25);
76
- border-radius: 10px 10px 10px 0px;
77
- text-decoration: none;
78
- &:hover,
79
- &:focus {
80
- background: rgba(255, 255, 255, 0.09);
81
- border: solid 1px rgba(255, 255, 255, 0);
82
- &:after {
83
- // background: url(../svg/download-arrow-blue.svg) no-repeat center #fff;
84
- }
85
- }
86
- &:after {
87
- content: "";
88
- width: 30px;
89
- height: 30px;
90
- border: 1px solid #FFFFFF;
91
- border-radius: 30px;
92
- // background: url(../svg/download-arrow.svg) no-repeat center;
93
- margin-right: 1rem;
94
- background-size: 35%;
95
- @include media-breakpoint-up(lg) {
96
- width: 60px;
97
- height: 60px;
98
- background-size: initial;
99
- margin-right: 2.5rem;
100
- flex-shrink: 0;
101
- }
102
- }
103
- .section_files_image {
104
- border-radius: 10px 10px 10px 0px;
105
- flex-shrink: 0;
106
- // background: url(../svg/files.svg) no-repeat center $primary;
107
- @include media-breakpoint-up(md) {
108
- border: 1px solid #FFFFFF;
109
- }
110
- img {
111
- border-radius: 10px 10px 10px 0px;
112
- display: none;
113
- @include media-breakpoint-up(md) {
114
- display: block;
115
- }
116
- }
117
- }
118
- &[href$=".pdf"] {
119
- .section_files_image {
120
- // background: url(../svg/pdf-file-icon.svg) no-repeat center $primary;
121
- }
122
- }
123
- &[href$=".jpg"],
124
- &[href$=".jpeg"],
125
- &[href$=".png"],
126
- &[href$=".svg"] {
127
- .section_files_image {
128
- // background: url(../svg/image-file-icon.svg) no-repeat center $primary;
129
- }
130
- }
131
- &[href$=".mp4"],
132
- &[href$=".webm"],
133
- &[href$=".avi"] {
134
- .section_files_image {
135
- // background: url(../svg/video-file-icon.svg) no-repeat center $primary;
136
- }
137
- }
138
- .section_files_text {
139
- font-weight: bold;
140
- font-size: 18px;
141
- margin: 1rem .5rem;
142
- max-width: 300px;
143
- margin: 1rem 1.5rem;
144
- @include media-breakpoint-up(lg) {
145
- margin: 1rem 2.5rem;
146
- }
87
+ }
88
+
89
+ .section-title {
90
+ &::before {
91
+ display: inline-block;
92
+ vertical-align: middle;
93
+ margin-right: 1.5rem;
94
+ }
95
+ }
96
+
97
+ .section_files_link {
98
+ border: solid 1px rgba(255, 255, 255, 25%);
99
+ border-radius: 10px 10px 10px 0;
100
+ text-decoration: none;
101
+
102
+ &:hover,
103
+ &:focus {
104
+ background: rgba(255, 255, 255, 9%);
105
+ border: solid 1px rgba(255, 255, 255, 0%);
106
+ }
107
+
108
+ &::after {
109
+ content: "";
110
+ width: 30px;
111
+ height: 30px;
112
+ border: 1px solid #fff;
113
+ border-radius: 30px;
114
+ margin-right: 1rem;
115
+ background-size: 35%;
116
+
117
+ @include media-breakpoint-up(lg) {
118
+ width: 60px;
119
+ height: 60px;
120
+ background-size: initial;
121
+ margin-right: 2.5rem;
122
+ flex-shrink: 0;
123
+ }
124
+ }
125
+
126
+ .section_files_image {
127
+ border-radius: 10px 10px 10px 0;
128
+ flex-shrink: 0;
129
+
130
+ @include media-breakpoint-up(md) {
131
+ border: 1px solid #fff;
132
+ }
133
+
134
+ img {
135
+ border-radius: 10px 10px 10px 0;
136
+ display: none;
137
+
138
+ @include media-breakpoint-up(md) {
139
+ display: block;
147
140
  }
141
+ }
148
142
  }
149
- }
143
+
144
+ .section_files_text {
145
+ font-weight: bold;
146
+ font-size: 18px;
147
+ max-width: 300px;
148
+ margin: 1rem 1.5rem;
149
+
150
+ @include media-breakpoint-up(lg) {
151
+ margin: 1rem 2.5rem;
152
+ }
153
+ }
154
+ }
155
+ }
@@ -1,4 +1,4 @@
1
- .sectionselections{
2
- @include section-padding-top;
3
- @include section-padding-bottom;
4
- }
1
+ .sectionselections {
2
+ @include section-padding-top;
3
+ @include section-padding-bottom;
4
+ }
@@ -0,0 +1,101 @@
1
+ body.faceted-map {
2
+ .button-map-content {
3
+ display: none;
4
+ }
5
+
6
+ nav.d-flex.justify-content-center:first-child {
7
+ display: none;
8
+ }
9
+
10
+ .d-flex.justify-content-center {
11
+ justify-content: left !important;
12
+ }
13
+
14
+ #main-container {
15
+ #content {
16
+ #center-content-area {
17
+ @include media-breakpoint-up(md) {
18
+ display: grid;
19
+ }
20
+ grid-template-columns: 1fr 1fr;
21
+ grid-template-rows: repeat(4, auto);
22
+
23
+ #faceted-results {
24
+ grid-column: 1;
25
+
26
+ @include media-breakpoint-up(md) {
27
+ margin-right: 1rem;
28
+ }
29
+ display: block !important;
30
+ opacity: 100% !important;
31
+ }
32
+
33
+ .faceted-map {
34
+ grid-column: 2;
35
+ grid-row: 2;
36
+ flex: 1;
37
+ padding-left: 1rem;
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ #faceted-results-items {
44
+ @include media-breakpoint-down(md) {
45
+ display: grid;
46
+ grid-template-columns: 1fr 1fr;
47
+ gap: 15px;
48
+ }
49
+
50
+ @include media-breakpoint-down(sm) {
51
+ grid-template-columns: 1fr;
52
+ }
53
+ }
54
+
55
+ .faceted-map-text {
56
+ margin: 0;
57
+
58
+ @include media-breakpoint-up(md) {
59
+ margin: 1rem 0;
60
+ }
61
+ box-shadow: rgba(0, 0, 0, 16%) 0 1px 4px;
62
+
63
+ a {
64
+ text-decoration: none;
65
+ }
66
+
67
+ .items-content {
68
+ display: flex;
69
+
70
+ @include media-breakpoint-down(md) {
71
+ flex-direction: column;
72
+ align-items: center;
73
+ }
74
+
75
+ .geo-item-image {
76
+ max-width: 250px;
77
+
78
+ img {
79
+ width: 100%;
80
+ }
81
+ }
82
+
83
+ .geo-item-text {
84
+ padding: 1rem 1.5rem;
85
+
86
+ .geo-item-title {
87
+ color: #1f1f1f;
88
+ font-weight: bold;
89
+ font-size: 15px;
90
+ text-decoration: none;
91
+ }
92
+
93
+ .geo-item-description {
94
+ margin-top: 0.3rem;
95
+ font-size: 15px;
96
+ color: #1f1f1f;
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
@@ -1,3 +1,3 @@
1
1
  div#body-section-localisation {
2
- padding-bottom: 2rem;
3
- }
2
+ padding-bottom: 2rem;
3
+ }
@@ -0,0 +1,19 @@
1
+ #body-section-post-it {
2
+ .swiper-slide {
3
+ background: #f7f7f7;
4
+ padding: 2rem 4rem;
5
+ box-shadow: rgba(0, 0, 0, 16%) 0 1px 4px;
6
+ }
7
+
8
+ .swiper-button-prev {
9
+ top: 50% !important;
10
+ transform: translateY(-50%) !important;
11
+ left: 0 !important;
12
+ }
13
+
14
+ .swiper-button-next {
15
+ top: 50% !important;
16
+ transform: translateY(-50%) !important;
17
+ right: 0 !important;
18
+ }
19
+ }
@@ -1,29 +1,6 @@
1
- .mce-content-body {
2
- mark {
3
- display: block;
4
- padding: 20px 45px 20px 26px;
5
- border: solid 4px $primary;
6
- background-color: $primary;
7
- border-radius: 5px;
8
- border-bottom-left-radius: 0;
9
- color: #fff;
10
- font-weight: 500;
11
- }
12
-
13
- li {
14
- position: relative;
15
- display: table;
16
- padding-left: 1rem;
17
- margin: 0.25rem 0;
18
- list-style: none;
19
-
20
- // &::before{
21
- // content: $list-style-custom;
22
- // top: -2px;
23
- // left: 0;
24
- // position: absolute;
25
- // }
26
- }
1
+ .mark,
2
+ mark {
3
+ display: block;
27
4
  }
28
5
 
29
6
  .sectiontext {
@@ -31,7 +8,7 @@
31
8
 
32
9
  mark {
33
10
  display: inline-block;
34
- padding: $mark-padding;
11
+ padding: $mark-padding-sec;
35
12
  border: $mark-border;
36
13
  background-color: $mark-background-color;
37
14
  border-radius: $mark-radius;
@@ -52,10 +29,30 @@
52
29
  h3 {
53
30
  margin-top: $section-text-h3-margin-top;
54
31
  margin-bottom: $section-text-h3-margin-bottom;
55
- font-weight: 500;
56
32
  }
57
33
 
58
- li {
34
+ ol {
35
+ list-style-type: none;
36
+ counter-reset: sectioncounter;
37
+
38
+ & > li {
39
+ display: table;
40
+ padding-left: 1rem;
41
+
42
+ &::before {
43
+ content: counter(sectioncounter) ".";
44
+ counter-increment: sectioncounter;
45
+ display: inline-block;
46
+ width: 2em;
47
+ text-align: right;
48
+ position: relative;
49
+ left: -2.5em;
50
+ margin-right: -2em;
51
+ }
52
+ }
53
+ }
54
+
55
+ ul li {
59
56
  position: relative;
60
57
  display: table;
61
58
  padding-left: 1rem;
@@ -84,8 +81,9 @@
84
81
 
85
82
  &.figure-left {
86
83
  figure {
87
- display: block;
84
+ display: table;
88
85
  max-width: 100%;
86
+
89
87
  @include media-breakpoint-up(md) {
90
88
  max-width: 45%;
91
89
  margin-right: 2.5rem;
@@ -93,15 +91,16 @@
93
91
  }
94
92
 
95
93
  img {
96
- width: 100%;
94
+ width: auto;
97
95
  }
98
96
  }
99
97
  }
100
98
 
101
99
  &.figure-right {
102
100
  figure {
103
- display: block;
101
+ display: table;
104
102
  max-width: 100%;
103
+
105
104
  @include media-breakpoint-up(md) {
106
105
  max-width: 45%;
107
106
  margin-left: 2.5rem;
@@ -109,7 +108,7 @@
109
108
  }
110
109
 
111
110
  img {
112
- width: 100%;
111
+ width: auto;
113
112
  }
114
113
  }
115
114
 
@@ -146,7 +145,7 @@
146
145
  }
147
146
 
148
147
  figcaption {
149
- // display: table-caption;
148
+ display: table-caption;
150
149
  caption-side: bottom;
151
150
  font-size: $font-size-sm;
152
151
  }
@@ -161,10 +160,11 @@
161
160
  }
162
161
 
163
162
  div:not(.sectiontext) {
164
- &+.sectiontext {
163
+ & + .sectiontext {
165
164
  // @include section-padding-top;
166
165
  h2 {
167
166
  margin-top: 10px !important;
167
+
168
168
  @include media-breakpoint-up(md) {
169
169
  margin-top: 50px !important;
170
170
  }
@@ -189,12 +189,11 @@ blockquote::before {
189
189
  position: relative;
190
190
  top: 9px;
191
191
  height: 10px;
192
- margin-right: 0.25rem;
193
192
  content: '"';
194
193
  font-size: 32px;
195
194
  font-weight: 600;
196
195
  line-height: 0;
197
- margin-right: .75rem;
196
+ margin-right: 0.75rem;
198
197
  }
199
198
 
200
199
  blockquote::after {
@@ -218,20 +217,7 @@ strong {
218
217
  padding-left: 0;
219
218
  }
220
219
 
221
- .r-content-text {
222
- li {
223
- position: relative;
224
- display: table;
225
- padding-left: 1rem;
226
- margin: 0.25rem 0;
227
- list-style: none;
228
-
229
- &::before {
230
- position: absolute;
231
-
232
- // content: $list-style-custom;
233
- top: -2px;
234
- left: 0;
235
- }
236
- }
237
- }
220
+ .sectiontext table tr td ul li::before {
221
+ position: initial !important;
222
+ margin-right: 0.5rem;
223
+ }