@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,183 +1,213 @@
1
1
  .sectionfiles .section-title {
2
- display: flex;
3
- color: #fff;
2
+ display: flex;
3
+ color: #fff;
4
4
  }
5
+
5
6
  .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
- }
7
+ @include section-padding-top;
8
+ @include section-padding-bottom;
9
+
10
+ .section-title {
11
+ h2 {
12
+ color: #fff;
22
13
  }
23
- @if $enable-full-width-section-files {
24
- &:after {
25
- @include full-width;
26
- background: $section-file-background-color;
27
- }
14
+ }
15
+
16
+ .body-section,
17
+ .section-title {
18
+ @if $enable-light-color-section-files {
19
+ h2,
20
+ span,
21
+ p {
22
+ color: #fff;
23
+ }
28
24
  }
29
- background: $section-file-background-color;
30
- position: relative;
31
- .section_files_list {
32
- @include ul-rm-padding;
25
+ }
26
+
27
+ @if $enable-full-width-section-files {
28
+ &::after {
29
+ @include full-width;
30
+ background: $section-file-background-color;
33
31
  }
34
- li {
35
- list-style: none;
32
+ }
33
+ background: $section-file-background-color;
34
+ position: relative;
35
+
36
+ .section_files_list {
37
+ @include ul-rm-padding;
38
+ }
39
+
40
+ li {
41
+ list-style: none;
42
+ }
43
+
44
+ .section_files_link {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: space-between;
48
+
49
+ .section_files_image {
50
+ width: 36px;
51
+ height: 44px;
52
+ margin-left: 1rem;
53
+
54
+ @include media-breakpoint-up(md) {
55
+ width: 160px;
56
+ height: 121px;
57
+ margin-left: 0;
58
+ }
59
+ position: relative;
60
+
61
+ img {
62
+ @include fit-cover;
63
+ }
36
64
  }
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
- }
65
+
66
+ .section_files_text {
67
+ .section_files_item_description {
68
+ margin: 0;
69
+ }
60
70
  }
71
+ }
61
72
  }
62
73
 
63
74
  // for bal
64
75
  .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
- }
76
+ .section-container.section-files {
77
+ @include media-breakpoint-up(lg) {
78
+ display: flex;
79
+ gap: 6.8181%;
80
+ flex-wrap: wrap;
78
81
  }
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
- }
82
+
83
+ .body-section {
84
+ margin-bottom: 0;
85
+ max-width: max-content;
86
+
87
+ @include media-breakpoint-up(lg) {
88
+ max-width: inherit;
89
+ }
87
90
  }
88
- li {
89
- margin: 1.25rem 0;
91
+ }
92
+
93
+ .section-title {
94
+ display: flex;
95
+
96
+ &::before {
97
+ // content: url(../svg/files.svg);
98
+ display: inline-block;
99
+ vertical-align: middle;
100
+ margin-right: 1.5rem;
90
101
  }
91
- .section_files_link {
92
- border: solid 1px rgba(255, 255, 255, 0.25);
93
- border-radius: 10px 10px 10px 0px;
94
- text-decoration: none;
95
- &:hover,
96
- &:focus {
97
- background: rgba(255, 255, 255, 0.09);
98
- border: solid 1px rgba(255, 255, 255, 0);
99
- &:after {
100
- // background: url(../svg/download-arrow-blue.svg) no-repeat center #fff;
101
- }
102
- }
103
- &:after {
104
- content: "";
105
- width: 30px;
106
- height: 30px;
107
- border: 1px solid #FFFFFF;
108
- border-radius: 30px;
109
- // background: url(../svg/download-arrow.svg) no-repeat center;
110
- margin-right: 1rem;
111
- background-size: 35%;
112
- flex-shrink: 0;
113
- @include media-breakpoint-up(lg) {
114
- width: 60px;
115
- height: 60px;
116
- background-size: initial;
117
- margin-right: 2.5rem;
118
- flex-shrink: 0;
119
- }
120
- }
121
- .section_files_image {
122
- border-radius: 10px 10px 10px 0px;
123
- flex-shrink: 0;
124
- // background: url(../svg/files.svg) no-repeat center $primary;
125
- @include media-breakpoint-up(md) {
126
- border: 1px solid #FFFFFF;
127
- }
128
- img {
129
- border-radius: 10px 10px 10px 0px;
130
- display: none;
131
- @include media-breakpoint-up(md) {
132
- display: block;
133
- }
134
- }
135
- }
136
- &[href$=".pdf"] {
137
- .section_files_image {
138
- // background: url(../svg/pdf-file-icon.svg) no-repeat center $primary;
139
- }
140
- }
141
- &[href$=".jpg"],
142
- &[href$=".jpeg"],
143
- &[href$=".png"],
144
- &[href$=".svg"] {
145
- .section_files_image {
146
- // background: url(../svg/image-file-icon.svg) no-repeat center $primary;
147
- }
148
- }
149
- &[href$=".mp4"],
150
- &[href$=".webm"],
151
- &[href$=".avi"] {
152
- .section_files_image {
153
- // background: url(../svg/video-file-icon.svg) no-repeat center $primary;
154
- }
155
- }
156
- .section_files_text {
157
- font-weight: bold;
158
- font-size: 18px;
159
- margin: 1rem .5rem;
160
- max-width: 300px;
161
- margin: 1rem 1.5rem;
162
- word-wrap: anywhere;
163
- @include media-breakpoint-up(lg) {
164
- margin: 1rem 2.5rem;
165
- }
102
+ }
103
+
104
+ li {
105
+ margin: 1.25rem 0;
106
+ }
107
+
108
+ .section_files_link {
109
+ border: solid 1px rgba(255, 255, 255, 25%);
110
+ border-radius: 10px 10px 10px 0;
111
+ text-decoration: none;
112
+
113
+ &:hover,
114
+ &:focus {
115
+ background: rgba(255, 255, 255, 9%);
116
+ border: solid 1px rgba(255, 255, 255, 0%);
117
+
118
+ &::after {
119
+ // background: url(../svg/download-arrow-blue.svg) no-repeat center #fff;
120
+ }
121
+ }
122
+
123
+ &::after {
124
+ content: "";
125
+ width: 30px;
126
+ height: 30px;
127
+ border: 1px solid #fff;
128
+ border-radius: 30px;
129
+
130
+ // background: url(../svg/download-arrow.svg) no-repeat center;
131
+ margin-right: 1rem;
132
+ background-size: 35%;
133
+ flex-shrink: 0;
134
+
135
+ @include media-breakpoint-up(lg) {
136
+ width: 60px;
137
+ height: 60px;
138
+ background-size: initial;
139
+ margin-right: 2.5rem;
140
+ flex-shrink: 0;
141
+ }
142
+ }
143
+
144
+ .section_files_image {
145
+ border-radius: 10px 10px 10px 0;
146
+ flex-shrink: 0;
147
+
148
+ // background: url(../svg/files.svg) no-repeat center $primary;
149
+
150
+ @include media-breakpoint-up(md) {
151
+ border: 1px solid #fff;
152
+ }
153
+
154
+ img {
155
+ border-radius: 10px 10px 10px 0;
156
+ display: none;
157
+
158
+ @include media-breakpoint-up(md) {
159
+ display: block;
166
160
  }
161
+ }
162
+ }
163
+
164
+ &[href$=".pdf"] {
165
+ .section_files_image {
166
+ // background: url(../svg/pdf-file-icon.svg) no-repeat center $primary;
167
+ }
167
168
  }
168
- }
169
169
 
170
+ &[href$=".jpg"],
171
+ &[href$=".jpeg"],
172
+ &[href$=".png"],
173
+ &[href$=".svg"] {
174
+ .section_files_image {
175
+ // background: url(../svg/image-file-icon.svg) no-repeat center $primary;
176
+ }
177
+ }
170
178
 
171
- .header-section {
172
- flex: 100%;
179
+ &[href$=".mp4"],
180
+ &[href$=".webm"],
181
+ &[href$=".avi"] {
182
+ .section_files_image {
183
+ // background: url(../svg/video-file-icon.svg) no-repeat center $primary;
184
+ }
185
+ }
186
+
187
+ .section_files_text {
188
+ font-weight: bold;
189
+ font-size: 18px;
190
+ max-width: 300px;
191
+ margin: 1rem 1.5rem;
192
+ word-wrap: anywhere;
193
+
194
+ @include media-breakpoint-up(lg) {
195
+ margin: 1rem 2.5rem;
196
+ }
197
+ }
198
+ }
173
199
  }
174
200
 
201
+ .header-section {
202
+ flex: 100%;
203
+ }
175
204
 
176
205
  .portaltype-imio-smartweb-page #content .sectionfiles ul.row,
177
206
  .portaltype-imio-smartweb-procedure #content .sectionfiles ul.row {
178
- margin-left: 0;
207
+ margin-left: 0;
208
+ }
209
+
210
+ .portaltype-imio-smartweb-procedure .sectionfiles::after,
211
+ .portaltype-imio-smartweb-page .sectionfiles::after {
212
+ transform: translateX(0);
179
213
  }
180
- .portaltype-imio-smartweb-procedure .sectionfiles:after,
181
- .portaltype-imio-smartweb-page .sectionfiles:after {
182
- transform: translateX(0vw);
183
- }
@@ -1,19 +1,21 @@
1
1
  /* galerie photo */
2
2
  .section-gallery {
3
- padding-bottom: 2rem;
3
+ padding-bottom: 2rem;
4
4
  }
5
5
 
6
6
  .section-gallery {
7
- padding-left: 0;
8
- padding-right: 0;
9
- }
10
- .sectiongallery .flexbin {
11
- gap: 5px;
12
- }
13
- .sectiongallery .flexbin.flexbin-margin {
14
- margin: 0;
15
- }
16
- .sectiongallery .flexbin > * {
17
- margin: 0;
18
- }
19
-
7
+ padding-left: 0;
8
+ padding-right: 0;
9
+ }
10
+
11
+ .sectiongallery .flexbin {
12
+ gap: 5px;
13
+ }
14
+
15
+ .sectiongallery .flexbin.flexbin-margin {
16
+ margin: 0;
17
+ }
18
+
19
+ .sectiongallery .flexbin > * {
20
+ margin: 0;
21
+ }