@imiobe/plonetheme-smartweb-base 0.0.3 → 0.0.4

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 (97) hide show
  1. package/assets/svg/download-arrow-blue.svg +1 -0
  2. package/assets/svg/download-arrow.svg +1 -0
  3. package/assets/svg/files.svg +1 -0
  4. package/assets/svg/pdf-file-icon.svg +1 -0
  5. package/dist/css/theme.css +7 -0
  6. package/dist/fonts/roboto-bold..eot +0 -0
  7. package/dist/fonts/roboto-bold..ttf +0 -0
  8. package/dist/fonts/roboto-bold..woff +0 -0
  9. package/dist/fonts/roboto-bold..woff2 +0 -0
  10. package/dist/fonts/roboto-bolditalic..eot +0 -0
  11. package/dist/fonts/roboto-bolditalic..ttf +0 -0
  12. package/dist/fonts/roboto-bolditalic..woff +0 -0
  13. package/dist/fonts/roboto-bolditalic..woff2 +0 -0
  14. package/dist/fonts/roboto-italic..eot +0 -0
  15. package/dist/fonts/roboto-italic..ttf +0 -0
  16. package/dist/fonts/roboto-italic..woff +0 -0
  17. package/dist/fonts/roboto-italic..woff2 +0 -0
  18. package/dist/fonts/roboto-light..eot +0 -0
  19. package/dist/fonts/roboto-light..ttf +0 -0
  20. package/dist/fonts/roboto-light..woff +0 -0
  21. package/dist/fonts/roboto-light..woff2 +0 -0
  22. package/dist/fonts/roboto-lightitalic..eot +0 -0
  23. package/dist/fonts/roboto-lightitalic..ttf +0 -0
  24. package/dist/fonts/roboto-lightitalic..woff +0 -0
  25. package/dist/fonts/roboto-lightitalic..woff2 +0 -0
  26. package/dist/fonts/roboto-medium..eot +0 -0
  27. package/dist/fonts/roboto-medium..ttf +0 -0
  28. package/dist/fonts/roboto-medium..woff +0 -0
  29. package/dist/fonts/roboto-medium..woff2 +0 -0
  30. package/dist/fonts/roboto-mediumitalic..eot +0 -0
  31. package/dist/fonts/roboto-mediumitalic..ttf +0 -0
  32. package/dist/fonts/roboto-mediumitalic..woff +0 -0
  33. package/dist/fonts/roboto-mediumitalic..woff2 +0 -0
  34. package/dist/fonts/roboto-regular..eot +0 -0
  35. package/dist/fonts/roboto-regular..ttf +0 -0
  36. package/dist/fonts/roboto-regular..woff +0 -0
  37. package/dist/fonts/roboto-regular..woff2 +0 -0
  38. package/dist/fonts/robotocondensed-light..eot +0 -0
  39. package/dist/fonts/robotocondensed-light..ttf +0 -0
  40. package/dist/fonts/robotocondensed-light..woff +0 -0
  41. package/dist/fonts/robotocondensed-light..woff2 +0 -0
  42. package/dist/fonts/robotocondensed-lightitalic..eot +0 -0
  43. package/dist/fonts/robotocondensed-lightitalic..ttf +0 -0
  44. package/dist/fonts/robotocondensed-lightitalic..woff +0 -0
  45. package/dist/fonts/robotocondensed-lightitalic..woff2 +0 -0
  46. package/dist/images/close29148b38..svg +1 -0
  47. package/dist/images/roboto-bolde46805ee..svg +1 -0
  48. package/dist/images/roboto-bolditalic4be90c03..svg +1 -0
  49. package/dist/images/roboto-italic2332d1c3..svg +1 -0
  50. package/dist/images/roboto-light054c1c8a..svg +1 -0
  51. package/dist/images/roboto-lightitalic2df589e4..svg +1 -0
  52. package/dist/images/roboto-medium832a5157..svg +1 -0
  53. package/dist/images/roboto-mediumitalicf09fad24..svg +1 -0
  54. package/dist/images/roboto-regulare788ed65..svg +1 -0
  55. package/dist/images/robotocondensed-light04ff367e..svg +1 -0
  56. package/dist/images/robotocondensed-lightitalic97b23821..svg +1 -0
  57. package/dist/js/theme.js +1 -0
  58. package/package.json +1 -1
  59. package/src/index.js +10 -34
  60. package/src/scss/_breadcrum.scss +45 -35
  61. package/src/scss/_edition.scss +2 -2
  62. package/src/scss/_fonts.scss +18 -6
  63. package/src/scss/_general.scss +14 -0
  64. package/src/scss/_header.scss +125 -54
  65. package/src/scss/_mixin.scss +50 -0
  66. package/src/scss/_print.scss +8 -7
  67. package/src/scss/_sitenav.scss +450 -370
  68. package/src/scss/_sub-sitenav.scss +708 -0
  69. package/src/scss/_swiper.scss +31 -26
  70. package/src/scss/_trucaverif.scss +954 -0
  71. package/src/scss/common/_com-cookies.scss +81 -0
  72. package/src/scss/common/_com-edition.scss +44 -0
  73. package/src/scss/common/_com-faceted.scss +184 -0
  74. package/src/scss/common/_com-list-image.scss +16 -0
  75. package/src/scss/common/_messviewlet.scss +77 -0
  76. package/src/scss/homepage/_a-la-une.scss +91 -76
  77. package/src/scss/homepage/_actualites.scss +98 -117
  78. package/src/scss/homepage/_album.scss +87 -0
  79. package/src/scss/homepage/_banner.scss +70 -59
  80. package/src/scss/homepage/_events.scss +88 -0
  81. package/src/scss/homepage/_general-home.scss +29 -0
  82. package/src/scss/homepage/_quick-access.scss +72 -32
  83. package/src/scss/list/_list-block-img.scss +52 -0
  84. package/src/scss/list/_list-block.scss +74 -0
  85. package/src/scss/list/_list-img.scss +27 -0
  86. package/src/scss/list/_list.scss +61 -0
  87. package/src/scss/main.scss +31 -5
  88. package/src/scss/sections/_se-contact.scss +397 -0
  89. package/src/scss/sections/_se-file.scss +175 -0
  90. package/src/scss/sections/_se-gallery.scss +4 -0
  91. package/src/scss/sections/_se-link.scss +154 -0
  92. package/src/scss/sections/_se-linked-content.scss +4 -0
  93. package/src/scss/sections/_se-plan.scss +3 -0
  94. package/src/scss/sections/_se-textes.scss +235 -0
  95. package/src/scss/variables.scss +347 -97
  96. package/theme.zip +0 -0
  97. package/src/scss/sections/_textes.scss +0 -211
@@ -0,0 +1,175 @@
1
+ .sectionfiles .section-title {
2
+ display: flex;
3
+ color: #fff;
4
+ }
5
+ .sectionfiles {
6
+ @include section-padding-top;
7
+ @include section-padding-bottom;
8
+ .section-title {
9
+ h2 {
10
+ color: #fff;
11
+ }
12
+ }
13
+ .body-section,
14
+ .section-title {
15
+ @if $enable-light-color-section-files {
16
+ h2,
17
+ span,
18
+ p {
19
+ color: #fff;
20
+ }
21
+ }
22
+ }
23
+ @if $enable-full-width-section-files {
24
+ &:after {
25
+ @include full-width;
26
+ background: $section-file-background-color;
27
+ }
28
+ }
29
+ background: $section-file-background-color;
30
+ position: relative;
31
+ .section_files_list {
32
+ @include ul-rm-padding;
33
+ }
34
+ li {
35
+ list-style: none;
36
+ }
37
+ .section_files_link {
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: space-between;
41
+ .section_files_image {
42
+ width: 36px;
43
+ height: 44px;
44
+ margin-left: 1rem;
45
+ @include media-breakpoint-up(md) {
46
+ width: 160px;
47
+ height: 121px;
48
+ margin-left: 0;
49
+ }
50
+ position: relative;
51
+ img {
52
+ @include fit-cover;
53
+ }
54
+ }
55
+ .section_files_text {
56
+ .section_files_item_description {
57
+ margin: 0;
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ // for bal
64
+ .sectionfiles {
65
+ .section-container.section-files {
66
+ @include media-breakpoint-up(lg) {
67
+ display: flex;
68
+ gap: 6.8181%;
69
+ flex-wrap: wrap;
70
+ }
71
+ .body-section {
72
+ margin-bottom: 0;
73
+ max-width: max-content;
74
+ @include media-breakpoint-up(lg) {
75
+ max-width: inherit;
76
+ }
77
+ }
78
+ }
79
+ .section-title {
80
+ display: flex;
81
+ &::before {
82
+ // content: url(../svg/files.svg);
83
+ display: inline-block;
84
+ vertical-align: middle;
85
+ margin-right: 1.5rem;
86
+ }
87
+ }
88
+ li {
89
+ margin: 1.25rem 0;
90
+ @include last-item-no-margin-bottom;
91
+ @include first-item-no-margin-top;
92
+ }
93
+ .section_files_link {
94
+ border: solid 1px rgba(255, 255, 255, 0.25);
95
+ border-radius: 10px 10px 10px 0px;
96
+ text-decoration: none;
97
+ &:hover,
98
+ &:focus {
99
+ background: rgba(255, 255, 255, 0.09);
100
+ border: solid 1px rgba(255, 255, 255, 0);
101
+ &:after {
102
+ // background: url(../svg/download-arrow-blue.svg) no-repeat center #fff;
103
+ }
104
+ }
105
+ &:after {
106
+ content: "";
107
+ width: 30px;
108
+ height: 30px;
109
+ border: 1px solid #FFFFFF;
110
+ border-radius: 30px;
111
+ // background: url(../svg/download-arrow.svg) no-repeat center;
112
+ margin-right: 1rem;
113
+ background-size: 35%;
114
+ flex-shrink: 0;
115
+ @include media-breakpoint-up(lg) {
116
+ width: 60px;
117
+ height: 60px;
118
+ background-size: initial;
119
+ margin-right: 2.5rem;
120
+ flex-shrink: 0;
121
+ }
122
+ }
123
+ .section_files_image {
124
+ border-radius: 10px 10px 10px 0px;
125
+ flex-shrink: 0;
126
+ // background: url(../svg/files.svg) no-repeat center $primary;
127
+ @include media-breakpoint-up(md) {
128
+ border: 1px solid #FFFFFF;
129
+ }
130
+ img {
131
+ border-radius: 10px 10px 10px 0px;
132
+ display: none;
133
+ @include media-breakpoint-up(md) {
134
+ display: block;
135
+ }
136
+ }
137
+ }
138
+ &[href$=".pdf"] {
139
+ .section_files_image {
140
+ // background: url(../svg/pdf-file-icon.svg) no-repeat center $primary;
141
+ }
142
+ }
143
+ &[href$=".jpg"],
144
+ &[href$=".jpeg"],
145
+ &[href$=".png"],
146
+ &[href$=".svg"] {
147
+ .section_files_image {
148
+ // background: url(../svg/image-file-icon.svg) no-repeat center $primary;
149
+ }
150
+ }
151
+ &[href$=".mp4"],
152
+ &[href$=".webm"],
153
+ &[href$=".avi"] {
154
+ .section_files_image {
155
+ // background: url(../svg/video-file-icon.svg) no-repeat center $primary;
156
+ }
157
+ }
158
+ .section_files_text {
159
+ font-weight: bold;
160
+ font-size: 18px;
161
+ margin: 1rem .5rem;
162
+ max-width: 300px;
163
+ margin: 1rem 1.5rem;
164
+ word-wrap: anywhere;
165
+ @include media-breakpoint-up(lg) {
166
+ margin: 1rem 2.5rem;
167
+ }
168
+ }
169
+ }
170
+ }
171
+
172
+
173
+ .header-section {
174
+ flex: 100%;
175
+ }
@@ -0,0 +1,4 @@
1
+ /* galerie photo */
2
+ .section-gallery {
3
+ padding-bottom: 2rem;
4
+ }
@@ -0,0 +1,154 @@
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
+ }
10
+ }
11
+ @if $enable-full-width-section-link {
12
+ // &:after{
13
+ // @include full-width;
14
+ // background:$section-link-background-color;
15
+ // }
16
+ }
17
+ background: $section-link-background-color;
18
+ position: relative;
19
+ .section_files_list {
20
+ @include ul-rm-padding;
21
+ }
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
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ // for bal
52
+ .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
+ }
65
+ }
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
+ }
73
+ }
74
+ li {
75
+ margin: 1.25rem 0;
76
+ @include last-item-no-margin-bottom;
77
+ @include first-item-no-margin-top;
78
+ }
79
+ .section_files_link {
80
+ border: solid 1px rgba(255, 255, 255, 0.25);
81
+ border-radius: 10px 10px 10px 0px;
82
+ text-decoration: none;
83
+ &:hover,
84
+ &:focus {
85
+ background: rgba(255, 255, 255, 0.09);
86
+ border: solid 1px rgba(255, 255, 255, 0);
87
+ &:after {
88
+ // background: url(../svg/download-arrow-blue.svg) no-repeat center #fff;
89
+ }
90
+ }
91
+ &:after {
92
+ content: "";
93
+ width: 30px;
94
+ height: 30px;
95
+ border: 1px solid #FFFFFF;
96
+ border-radius: 30px;
97
+ // background: url(../svg/download-arrow.svg) no-repeat center;
98
+ margin-right: 1rem;
99
+ background-size: 35%;
100
+ @include media-breakpoint-up(lg) {
101
+ width: 60px;
102
+ height: 60px;
103
+ background-size: initial;
104
+ margin-right: 2.5rem;
105
+ flex-shrink: 0;
106
+ }
107
+ }
108
+ .section_files_image {
109
+ border-radius: 10px 10px 10px 0px;
110
+ flex-shrink: 0;
111
+ // background: url(../svg/files.svg) no-repeat center $primary;
112
+ @include media-breakpoint-up(md) {
113
+ border: 1px solid #FFFFFF;
114
+ }
115
+ img {
116
+ border-radius: 10px 10px 10px 0px;
117
+ display: none;
118
+ @include media-breakpoint-up(md) {
119
+ display: block;
120
+ }
121
+ }
122
+ }
123
+ &[href$=".pdf"] {
124
+ .section_files_image {
125
+ // background: url(../svg/pdf-file-icon.svg) no-repeat center $primary;
126
+ }
127
+ }
128
+ &[href$=".jpg"],
129
+ &[href$=".jpeg"],
130
+ &[href$=".png"],
131
+ &[href$=".svg"] {
132
+ .section_files_image {
133
+ // background: url(../svg/image-file-icon.svg) no-repeat center $primary;
134
+ }
135
+ }
136
+ &[href$=".mp4"],
137
+ &[href$=".webm"],
138
+ &[href$=".avi"] {
139
+ .section_files_image {
140
+ // background: url(../svg/video-file-icon.svg) no-repeat center $primary;
141
+ }
142
+ }
143
+ .section_files_text {
144
+ font-weight: bold;
145
+ font-size: 18px;
146
+ margin: 1rem .5rem;
147
+ max-width: 300px;
148
+ margin: 1rem 1.5rem;
149
+ @include media-breakpoint-up(lg) {
150
+ margin: 1rem 2.5rem;
151
+ }
152
+ }
153
+ }
154
+ }
@@ -0,0 +1,4 @@
1
+ .sectionselections{
2
+ @include section-padding-top;
3
+ @include section-padding-bottom;
4
+ }
@@ -0,0 +1,3 @@
1
+ div#body-section-localisation {
2
+ padding-bottom: 2rem;
3
+ }
@@ -0,0 +1,235 @@
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
+ }
27
+ }
28
+
29
+ .sectiontext {
30
+ font-size: $font-size-texte;
31
+
32
+ mark {
33
+ display: inline-block;
34
+ padding: $mark-padding;
35
+ border: $mark-border;
36
+ background-color: $mark-background-color;
37
+ border-radius: $mark-radius;
38
+ color: $mark-color;
39
+ font-weight: $mark-weight;
40
+ }
41
+
42
+ p {
43
+ padding-bottom: 1rem;
44
+ margin-bottom: 0;
45
+ }
46
+
47
+ h2 {
48
+ margin-top: $section-text-h2-margin-top;
49
+ margin-bottom: $section-text-h2-margin-bottom;
50
+ }
51
+
52
+ h3 {
53
+ margin-top: $section-text-h3-margin-top;
54
+ margin-bottom: $section-text-h3-margin-bottom;
55
+ font-weight: 500;
56
+ }
57
+
58
+ li {
59
+ position: relative;
60
+ display: table;
61
+ padding-left: 1rem;
62
+ margin: 0.25rem 0;
63
+ list-style: none;
64
+
65
+ &::before {
66
+ position: absolute;
67
+ top: -2px;
68
+ left: 0;
69
+ content: $list-style-custom;
70
+ }
71
+ }
72
+
73
+ .section-text {
74
+ .body-section {
75
+ a {
76
+ color: $section-text-link-color;
77
+ font-weight: 500;
78
+ text-decoration: none;
79
+
80
+ &:hover {
81
+ text-decoration: underline;
82
+ }
83
+ }
84
+
85
+ &.figure-left {
86
+ figure {
87
+ display: block;
88
+ max-width: 100%;
89
+ @include media-breakpoint-up(md) {
90
+ max-width: 45%;
91
+ margin-right: 2.5rem;
92
+ float: left;
93
+ }
94
+
95
+ img {
96
+ width: 100%;
97
+ }
98
+ }
99
+ }
100
+
101
+ &.figure-right {
102
+ figure {
103
+ display: block;
104
+ max-width: 100%;
105
+ @include media-breakpoint-up(md) {
106
+ max-width: 45%;
107
+ margin-left: 2.5rem;
108
+ float: right;
109
+ }
110
+
111
+ img {
112
+ width: 100%;
113
+ }
114
+ }
115
+
116
+ flex-direction: row-reverse;
117
+ }
118
+
119
+ &.figure-top {
120
+ display: flex;
121
+ flex-direction: column;
122
+ align-items: center;
123
+
124
+ figure {
125
+ margin-top: 3rem;
126
+ }
127
+
128
+ .text {
129
+ h2:first-child {
130
+ margin-top: 0;
131
+ }
132
+ }
133
+ }
134
+
135
+ &.figure-bottom {
136
+ display: flex;
137
+ flex-direction: column-reverse;
138
+ align-items: center;
139
+ }
140
+
141
+ figure {
142
+ display: table;
143
+
144
+ img {
145
+ display: block;
146
+ }
147
+
148
+ figcaption {
149
+ // display: table-caption;
150
+ caption-side: bottom;
151
+ font-size: $font-size-sm;
152
+ }
153
+ }
154
+
155
+ .text {
156
+ max-width: $section-text-max-width;
157
+ margin: 0 auto;
158
+ }
159
+ }
160
+ }
161
+ }
162
+
163
+ div:not(.sectiontext) {
164
+ &+.sectiontext {
165
+ // @include section-padding-top;
166
+ h2 {
167
+ margin-top: 10px !important;
168
+ @include media-breakpoint-up(md) {
169
+ margin-top: 50px !important;
170
+ }
171
+ }
172
+
173
+ .figure-top {
174
+ figure {
175
+ margin-top: 0;
176
+ }
177
+ }
178
+ }
179
+ }
180
+
181
+ // quote
182
+ blockquote {
183
+ margin: 0 0 1rem 2rem;
184
+ font-style: italic;
185
+ font-weight: 600;
186
+ }
187
+
188
+ blockquote::before {
189
+ position: relative;
190
+ top: 9px;
191
+ height: 10px;
192
+ margin-right: 0.25rem;
193
+ content: '"';
194
+ font-size: 32px;
195
+ font-weight: 600;
196
+ line-height: 0;
197
+ }
198
+
199
+ blockquote::after {
200
+ position: relative;
201
+ top: 8px;
202
+ height: 10px;
203
+ content: '"';
204
+ font-size: 32px;
205
+ font-weight: 600;
206
+ line-height: 0;
207
+ }
208
+
209
+ strong {
210
+ font-weight: bold;
211
+ }
212
+
213
+ // A supp quand la class container de la section de text est retiré du buildout
214
+ .container.section-container.section-text {
215
+ padding-right: 0;
216
+ padding-left: 0;
217
+ }
218
+
219
+ .r-content-text {
220
+ li {
221
+ position: relative;
222
+ display: table;
223
+ padding-left: 1rem;
224
+ margin: 0.25rem 0;
225
+ list-style: none;
226
+
227
+ &::before {
228
+ position: absolute;
229
+
230
+ // content: $list-style-custom;
231
+ top: -2px;
232
+ left: 0;
233
+ }
234
+ }
235
+ }