imio.smartweb.core 1.2.37__py3-none-any.whl → 1.2.39__py3-none-any.whl
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.
- imio/smartweb/core/contents/rest/events/content.py +7 -0
- imio/smartweb/core/contents/rest/events/view.pt +1 -0
- imio/smartweb/core/contents/rest/events/view.py +4 -0
- imio/smartweb/core/contents/sections/common_templates/carousel.pt +5 -1
- imio/smartweb/core/contents/sections/events/content.py +7 -0
- imio/smartweb/core/contents/sections/events/view.py +7 -0
- imio/smartweb/core/contents/sections/external_content/view.pt +3 -3
- imio/smartweb/core/contents/sections/news/content.py +7 -0
- imio/smartweb/core/contents/sections/news/view.py +7 -0
- imio/smartweb/core/contents/sections/views.py +4 -0
- imio/smartweb/core/webcomponents/build/10512eee43c7b5ed4757.svg +1 -0
- imio/smartweb/core/webcomponents/build/10dd862b2cdd9c68e1a8.svg +1 -0
- imio/smartweb/core/webcomponents/build/1c1605a5fe9a2b10a88f.png +1 -0
- imio/smartweb/core/webcomponents/build/524db40e119aa11f4478.png +1 -0
- imio/smartweb/core/webcomponents/build/57d3b7cb1ab874660b39.svg +1 -0
- imio/smartweb/core/webcomponents/build/6cf03871df23ed2ee8b3.png +1 -0
- imio/smartweb/core/webcomponents/build/a38272f263f8328349f2.svg +1 -0
- imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/686.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/f79b479fdc5c0fe0d553.svg +1 -0
- imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +5 -8
- imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/496.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/{674.smartweb-webcomponents-compiled.js.LICENSE.txt → 496.smartweb-webcomponents-compiled.js.LICENSE.txt} +1 -8
- imio/smartweb/core/webcomponents/build/js/686.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/736.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/736.smartweb-webcomponents-compiled.js.LICENSE.txt +32 -0
- imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js.LICENSE.txt +11 -14
- imio/smartweb/core/webcomponents/package.json +40 -40
- imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.jsx +17 -9
- imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +227 -141
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +7 -6
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactList/ContactList.jsx +2 -2
- imio/smartweb/core/webcomponents/src/components/Annuaire/Filters/Filter.jsx +18 -18
- imio/smartweb/core/webcomponents/src/components/Annuaire/index.js +1 -1
- imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +2 -2
- imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +8 -8
- imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +2 -2
- imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +20 -11
- imio/smartweb/core/webcomponents/src/components/Events/Events.scss +244 -161
- imio/smartweb/core/webcomponents/src/components/Events/Filters/Filter.jsx +9 -8
- imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.jsx +27 -27
- imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.scss +10 -7
- imio/smartweb/core/webcomponents/src/components/News/Filters/Filter.jsx +11 -12
- imio/smartweb/core/webcomponents/src/components/News/News.jsx +53 -45
- imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +101 -100
- imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +3 -3
- imio/smartweb/core/webcomponents/src/components/Search/ContactResult/ContactResult.jsx +11 -11
- imio/smartweb/core/webcomponents/src/components/Search/EventsResult/EventsResult.jsx +11 -11
- imio/smartweb/core/webcomponents/src/components/Search/Filters/Filter.jsx +4 -5
- imio/smartweb/core/webcomponents/src/components/Search/NewsResult/NewsResult.jsx +5 -5
- imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +5 -4
- imio/smartweb/core/webcomponents/src/components/Search/Search.scss +125 -105
- imio/smartweb/core/webcomponents/src/components/Search/WebResult/WebResult.jsx +2 -2
- imio/smartweb/core/webcomponents/src/components/Search/index.js +1 -1
- imio/smartweb/core/webcomponents/src/hooks/useAxios.js +3 -3
- imio/smartweb/core/webcomponents/src/hooks/useFilterQuery.js +1 -2
- imio/smartweb/core/webcomponents/src/index.jsx +3 -3
- imio/smartweb/core/webcomponents/src/index.scss +86 -22
- imio/smartweb/core/webcomponents/src/utils/Map.jsx +10 -10
- imio/smartweb/core/webcomponents/src/utils/Map.scss +2 -2
- imio/smartweb/core/webcomponents/src/utils/translation.js +8 -8
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/METADATA +23 -1
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/RECORD +80 -71
- imio/smartweb/core/webcomponents/build/js/209.smartweb-webcomponents-compiled.js +0 -2
- imio/smartweb/core/webcomponents/build/js/674.smartweb-webcomponents-compiled.js +0 -2
- imio/smartweb/core/webcomponents/build/js/804.smartweb-webcomponents-compiled.js +0 -1
- /imio/smartweb/core/webcomponents/build/js/{209.smartweb-webcomponents-compiled.js.LICENSE.txt → 824.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
- /imio.smartweb.core-1.2.37-py3.10-nspkg.pth → /imio.smartweb.core-1.2.39-py3.10-nspkg.pth +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/WHEEL +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/top_level.txt +0 -0
@@ -1,24 +1,29 @@
|
|
1
|
-
html,
|
2
|
-
|
3
|
-
|
1
|
+
html,
|
2
|
+
body {
|
3
|
+
max-width: 100%;
|
4
|
+
overflow-x: initial !important;
|
4
5
|
}
|
5
|
-
|
6
|
+
|
7
|
+
.row {
|
6
8
|
padding: 0;
|
7
9
|
margin: 0;
|
8
10
|
}
|
11
|
+
|
9
12
|
.breadcrumb {
|
10
|
-
|
13
|
+
padding: 0;
|
11
14
|
}
|
15
|
+
|
12
16
|
// FOR SCROLL
|
13
17
|
|
14
18
|
body .outer-wrapper {
|
15
|
-
|
16
|
-
max-width: 100
|
17
|
-
padding: 0!important;
|
19
|
+
&>.container {
|
20
|
+
max-width: 100% !important;
|
21
|
+
padding: 0 !important;
|
18
22
|
|
19
23
|
}
|
20
24
|
}
|
21
|
-
|
25
|
+
|
26
|
+
.r-annuaire-wrapper {
|
22
27
|
@media screen and (min-width:1200px) {
|
23
28
|
max-width: 100%;
|
24
29
|
margin-right: inherit;
|
@@ -26,60 +31,71 @@ body .outer-wrapper {
|
|
26
31
|
padding-left: 0;
|
27
32
|
}
|
28
33
|
}
|
29
|
-
|
30
|
-
|
34
|
+
|
35
|
+
#portal-column-content {
|
36
|
+
padding: 0 !important;
|
31
37
|
}
|
32
|
-
|
38
|
+
|
39
|
+
.r-result-filter-container {
|
33
40
|
@media screen and (min-width:1200px) {
|
34
41
|
position: sticky;
|
35
42
|
}
|
43
|
+
|
36
44
|
background: #fff;
|
37
45
|
z-index: 1;
|
38
46
|
}
|
39
|
-
|
47
|
+
|
48
|
+
.annuaire-result-filter {
|
40
49
|
padding: 0 .75rem;
|
41
50
|
}
|
42
|
-
|
43
|
-
|
51
|
+
|
52
|
+
#portal-column-content {
|
53
|
+
h1 {
|
44
54
|
font-size: 0px;
|
45
55
|
position: absolute;
|
46
56
|
}
|
47
57
|
}
|
48
|
-
|
58
|
+
|
59
|
+
#viewlet-below-content-title,
|
60
|
+
#viewlet-below-content-description {
|
49
61
|
display: none;
|
50
62
|
}
|
63
|
+
|
51
64
|
header#content-header {
|
52
|
-
|
53
|
-
|
65
|
+
position: sticky;
|
66
|
+
top: 0;
|
54
67
|
background: #fff;
|
55
68
|
}
|
56
69
|
|
57
70
|
|
58
|
-
article
|
59
|
-
|
71
|
+
article>header {
|
72
|
+
margin-bottom: 0px;
|
60
73
|
}
|
61
74
|
|
62
|
-
.r-annuaire-result{
|
75
|
+
.r-annuaire-result {
|
63
76
|
grid-area: 1 / 1 / 3 / 2;
|
64
77
|
}
|
65
|
-
|
78
|
+
|
79
|
+
.r-map.annuaire-map {
|
66
80
|
position: sticky;
|
67
81
|
grid-area: 1 / 2 / 2 / 3;
|
68
82
|
}
|
69
83
|
|
70
84
|
|
71
85
|
/////////
|
72
|
-
.r-results-numbers{
|
86
|
+
.r-results-numbers {
|
73
87
|
width: 100%;
|
74
88
|
margin-bottom: 0.5rem;
|
75
|
-
|
89
|
+
|
90
|
+
span {
|
76
91
|
font-weight: bold;
|
77
92
|
}
|
78
93
|
}
|
79
94
|
|
80
|
-
.r-wrapper{
|
95
|
+
.r-wrapper {
|
81
96
|
display: block;
|
82
|
-
|
97
|
+
|
98
|
+
@media screen and (min-width:1200px) {
|
83
99
|
display: grid;
|
84
100
|
grid-template-columns: minmax(20px, 800px) minmax(20px, 100%);
|
85
101
|
justify-content: space-between;
|
@@ -87,85 +103,106 @@ article > header {
|
|
87
103
|
margin-left: auto;
|
88
104
|
gap: 40px;
|
89
105
|
}
|
90
|
-
|
106
|
+
|
107
|
+
@media screen and (min-width:1400px) {
|
91
108
|
width: calc(648px + 50vw);
|
92
109
|
}
|
93
110
|
|
94
|
-
.r-result{
|
111
|
+
.r-result {
|
95
112
|
margin-top: 2rem;
|
96
113
|
padding-bottom: 2rem;
|
97
|
-
|
114
|
+
|
115
|
+
&-filter {
|
98
116
|
display: flex;
|
99
117
|
gap: 20px;
|
100
|
-
|
118
|
+
|
119
|
+
.r-filter {
|
101
120
|
width: 100%;
|
102
121
|
}
|
103
122
|
}
|
104
|
-
|
105
|
-
|
106
|
-
|
123
|
+
|
124
|
+
&-list {
|
125
|
+
padding: 0;
|
126
|
+
|
127
|
+
.r-list-item-group {
|
107
128
|
position: relative;
|
108
129
|
list-style: none;
|
109
|
-
margin:1rem 0;
|
110
|
-
|
130
|
+
margin: 1rem 0;
|
131
|
+
|
132
|
+
.r-list-item-link {
|
111
133
|
inset: 0px !important;
|
112
134
|
position: absolute !important;
|
113
135
|
}
|
114
|
-
|
136
|
+
|
137
|
+
.r-list-item {
|
115
138
|
display: flex;
|
116
139
|
height: 100%;
|
117
140
|
flex-direction: column;
|
118
|
-
|
119
|
-
|
141
|
+
|
142
|
+
@media screen and (min-width:600px) {
|
143
|
+
flex-direction: row;
|
120
144
|
}
|
121
|
-
|
145
|
+
|
146
|
+
.r-item-img {
|
122
147
|
width: 100%;
|
123
148
|
padding-bottom: 56%;
|
124
|
-
|
149
|
+
|
150
|
+
@media screen and (min-width:600px) {
|
125
151
|
width: 246px;
|
126
152
|
height: 149px;
|
127
153
|
padding-bottom: 0;
|
128
154
|
}
|
155
|
+
|
129
156
|
background-size: cover;
|
130
157
|
}
|
131
|
-
|
158
|
+
|
159
|
+
.r-item-text {
|
132
160
|
margin-top: 0.6rem;
|
133
|
-
|
161
|
+
|
162
|
+
@media screen and (min-width:600px) {
|
134
163
|
margin-left: 1.5rem;
|
135
164
|
margin-top: 0;
|
136
165
|
}
|
166
|
+
|
137
167
|
flex-grow: 1;
|
138
|
-
|
168
|
+
|
169
|
+
a {
|
139
170
|
position: relative;
|
140
171
|
}
|
141
|
-
|
172
|
+
|
173
|
+
.r-item-title {
|
142
174
|
font-weight: bold;
|
143
175
|
display: block;
|
144
176
|
}
|
145
|
-
|
177
|
+
|
178
|
+
.r-item-categorie {
|
146
179
|
display: block;
|
147
180
|
}
|
148
|
-
|
181
|
+
|
182
|
+
.r-item-all {
|
149
183
|
display: flex;
|
150
184
|
gap: 10px;
|
151
|
-
|
185
|
+
|
186
|
+
.r-item-adresse {
|
152
187
|
width: 36%;
|
153
188
|
}
|
154
|
-
|
155
|
-
}
|
189
|
+
|
190
|
+
.r-item-contact {}
|
156
191
|
}
|
157
192
|
}
|
158
193
|
}
|
159
194
|
}
|
160
195
|
}
|
161
196
|
}
|
162
|
-
|
163
|
-
|
164
|
-
|
197
|
+
|
198
|
+
.r-map {
|
199
|
+
@media screen and (max-width:1200px) {
|
200
|
+
margin-top: 2rem !important;
|
165
201
|
}
|
166
|
-
|
167
|
-
|
168
|
-
|
202
|
+
|
203
|
+
.leaflet-container {
|
204
|
+
@media screen and (max-width:1200px) {
|
205
|
+
height: 50vh !important;
|
169
206
|
}
|
170
207
|
}
|
171
208
|
}
|
@@ -174,10 +211,11 @@ article > header {
|
|
174
211
|
|
175
212
|
|
176
213
|
// FOR BLA
|
177
|
-
.r-load-more{
|
214
|
+
.r-load-more {
|
178
215
|
margin-bottom: 2rem;
|
179
216
|
text-align: center;
|
180
|
-
|
217
|
+
|
218
|
+
button {
|
181
219
|
background: #000;
|
182
220
|
border: solid 1px transparent;
|
183
221
|
color: #fff;
|
@@ -189,51 +227,59 @@ article > header {
|
|
189
227
|
font-size: 14px;
|
190
228
|
margin: 0 auto;
|
191
229
|
display: block;
|
192
|
-
|
230
|
+
|
231
|
+
&:hover {
|
193
232
|
background: rgba(0, 0, 0, 0.871);
|
194
233
|
}
|
195
234
|
}
|
196
235
|
}
|
197
|
-
.r-wrapper{
|
198
|
-
.r-result{
|
199
|
-
&-list{
|
200
|
-
.r-list-item-group{
|
201
236
|
|
202
|
-
|
237
|
+
.r-wrapper {
|
238
|
+
.r-result {
|
239
|
+
&-list {
|
240
|
+
.r-list-item-group {
|
203
241
|
|
204
|
-
}
|
205
|
-
|
206
|
-
|
242
|
+
.r-list-item-link {}
|
243
|
+
|
244
|
+
.r-list-item {
|
245
|
+
.r-item-img {
|
207
246
|
border-radius: 15px 15px 15px 0px;
|
208
247
|
}
|
209
|
-
|
248
|
+
|
249
|
+
.r-item-text {
|
210
250
|
font-size: 13px;
|
211
|
-
|
251
|
+
|
252
|
+
&:after {
|
212
253
|
content: "";
|
213
254
|
width: 50px;
|
214
255
|
height: 50px;
|
215
256
|
background: yellow;
|
216
257
|
border-radius: 50px;
|
217
258
|
}
|
218
|
-
|
259
|
+
|
260
|
+
.r-item-title {
|
219
261
|
font-size: 18px;
|
220
262
|
}
|
221
|
-
|
263
|
+
|
264
|
+
.r-item-categorie {
|
222
265
|
margin-bottom: 5px;
|
223
266
|
text-transform: uppercase;
|
224
267
|
color: #747474;
|
225
268
|
font-weight: 400;
|
226
269
|
}
|
227
|
-
|
270
|
+
|
271
|
+
.r-item-all {
|
228
272
|
color: #727272;
|
229
273
|
|
230
|
-
a{
|
274
|
+
a {
|
231
275
|
color: #000;
|
232
276
|
}
|
233
|
-
|
234
|
-
|
277
|
+
|
278
|
+
.r-item-adresse {
|
279
|
+
.itineraty {
|
235
280
|
margin-top: 5px;
|
236
|
-
|
281
|
+
|
282
|
+
&:before {
|
237
283
|
content: "";
|
238
284
|
width: 15px;
|
239
285
|
height: 15px;
|
@@ -244,7 +290,8 @@ article > header {
|
|
244
290
|
}
|
245
291
|
}
|
246
292
|
}
|
247
|
-
|
293
|
+
|
294
|
+
.r-item-contact {
|
248
295
|
width: 100%;
|
249
296
|
}
|
250
297
|
}
|
@@ -261,75 +308,92 @@ article > header {
|
|
261
308
|
|
262
309
|
|
263
310
|
//////////////////////////////
|
264
|
-
.icon-baseline{
|
311
|
+
.icon-baseline {
|
265
312
|
display: inline-flex;
|
266
313
|
align-self: center;
|
267
314
|
margin-right: 0.4rem;
|
268
|
-
|
315
|
+
|
316
|
+
svg {
|
269
317
|
top: .125em;
|
270
318
|
position: relative;
|
271
319
|
height: 1em;
|
272
320
|
width: 1em;
|
273
321
|
}
|
274
322
|
}
|
275
|
-
|
323
|
+
|
324
|
+
.dpinlb {
|
276
325
|
display: inline-block;
|
277
326
|
vertical-align: top;
|
278
327
|
}
|
328
|
+
|
279
329
|
//// for bla ////
|
280
330
|
// content
|
281
331
|
|
282
|
-
.r-content-img{
|
332
|
+
.r-content-img {
|
283
333
|
padding-bottom: 60%;
|
284
334
|
}
|
285
|
-
|
335
|
+
|
336
|
+
.r-content-title {
|
286
337
|
margin: 1rem 0;
|
287
338
|
}
|
288
|
-
|
339
|
+
|
340
|
+
.news-info-title {
|
289
341
|
font-weight: 700;
|
290
342
|
margin-bottom: 1rem;
|
291
343
|
display: block;
|
292
344
|
color: #008FD2;
|
293
345
|
}
|
294
|
-
|
346
|
+
|
347
|
+
.r-content-news-info {
|
295
348
|
display: flex;
|
296
349
|
justify-content: space-between;
|
297
350
|
margin-bottom: 2rem;
|
298
351
|
flex-wrap: wrap;
|
299
352
|
}
|
300
|
-
|
353
|
+
|
354
|
+
.r-content-news-info-container {
|
301
355
|
@media screen and (min-width:600px) {
|
302
356
|
column-count: 2;
|
303
357
|
}
|
358
|
+
|
304
359
|
// flex-flow: column wrap;
|
305
|
-
|
360
|
+
&>div {
|
306
361
|
margin: 0.6rem 0;
|
307
362
|
padding-right: 3rem;
|
308
363
|
break-inside: avoid;
|
309
|
-
|
364
|
+
|
365
|
+
svg {
|
310
366
|
width: 16px;
|
311
367
|
}
|
312
368
|
}
|
313
|
-
|
369
|
+
|
370
|
+
.r-content-news-info--date {
|
314
371
|
display: flex;
|
315
|
-
|
372
|
+
|
373
|
+
.r-content-date-start,
|
374
|
+
.r-content-date-end,
|
375
|
+
.r-content-date-start-hours {
|
316
376
|
display: flex;
|
317
377
|
flex-wrap: wrap;
|
318
378
|
}
|
319
379
|
}
|
320
|
-
|
321
|
-
|
380
|
+
|
381
|
+
.r-content-news-info-social {
|
382
|
+
svg {
|
322
383
|
width: 30px;
|
323
384
|
height: 30px;
|
324
385
|
}
|
325
|
-
|
386
|
+
|
387
|
+
ul {
|
326
388
|
display: flex;
|
327
389
|
align-items: center;
|
328
390
|
margin: 0;
|
329
|
-
|
391
|
+
|
392
|
+
li {
|
330
393
|
list-style: none;
|
331
|
-
|
332
|
-
|
394
|
+
|
395
|
+
a {
|
396
|
+
&:hover {
|
333
397
|
opacity: .7;
|
334
398
|
}
|
335
399
|
}
|
@@ -337,19 +401,24 @@ article > header {
|
|
337
401
|
}
|
338
402
|
}
|
339
403
|
}
|
340
|
-
|
404
|
+
|
405
|
+
.r-content-news-info-action {
|
341
406
|
@media screen and (max-width:1000px) {
|
342
407
|
margin-top: 1.1rem;
|
343
408
|
}
|
344
|
-
|
409
|
+
|
410
|
+
a {
|
345
411
|
text-decoration: none;
|
346
412
|
}
|
347
|
-
|
413
|
+
|
414
|
+
&>div {
|
348
415
|
margin: .6rem 0;
|
349
416
|
}
|
350
|
-
|
417
|
+
|
418
|
+
.r-content-booking {
|
351
419
|
margin-top: 0;
|
352
|
-
|
420
|
+
|
421
|
+
a {
|
353
422
|
background: #000;
|
354
423
|
color: #fff;
|
355
424
|
padding: 0.4rem 1rem;
|
@@ -362,11 +431,13 @@ article > header {
|
|
362
431
|
align-items: center;
|
363
432
|
gap: 10px;
|
364
433
|
cursor: pointer;
|
365
|
-
|
434
|
+
|
435
|
+
svg {
|
366
436
|
width: 22px;
|
367
437
|
fill: white;
|
368
438
|
}
|
369
|
-
|
439
|
+
|
440
|
+
&:hover {
|
370
441
|
color: #fff;
|
371
442
|
background: rgb(63, 63, 63);
|
372
443
|
|
@@ -377,72 +448,84 @@ article > header {
|
|
377
448
|
|
378
449
|
// // No Map
|
379
450
|
// // Main
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
451
|
+
.no-map {
|
452
|
+
@media screen and (min-width: 600px) {
|
453
|
+
.r-annuaire-wrapper {
|
454
|
+
display: block;
|
455
|
+
}
|
456
|
+
|
457
|
+
.r-result-list {
|
458
|
+
max-width: 1296px;
|
459
|
+
display: grid;
|
460
|
+
grid-template-columns: 1fr 1fr 1fr;
|
461
|
+
gap: 20px;
|
462
|
+
}
|
463
|
+
|
464
|
+
.r-list-item-group {
|
465
|
+
transition: all .2s ease;
|
466
|
+
|
467
|
+
&:hover,
|
468
|
+
&:focus {
|
469
|
+
transform: translateY(-10px) !important;
|
384
470
|
}
|
385
|
-
|
386
|
-
|
471
|
+
|
472
|
+
.r-list-item {
|
473
|
+
flex-direction: column !important;
|
474
|
+
box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
|
475
|
+
|
476
|
+
.r-item-img {
|
477
|
+
border-radius: 0 !important;
|
478
|
+
width: 100% !important;
|
479
|
+
height: 0 !important;
|
480
|
+
padding-bottom: 60% !important;
|
481
|
+
margin-bottom: .5rem;
|
482
|
+
}
|
483
|
+
|
484
|
+
.r-item-text {
|
387
485
|
display: grid;
|
388
|
-
grid-template-columns: 1fr 1fr
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
&:hover,&:focus {
|
394
|
-
transform: translateY(-10px)!important;
|
486
|
+
grid-template-columns: 1fr 1fr;
|
487
|
+
margin-right: 1.5rem;
|
488
|
+
|
489
|
+
&:after {
|
490
|
+
display: none;
|
395
491
|
}
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
.r-item-title {
|
418
|
-
font-weight: 500!important;
|
419
|
-
grid-row-start: 2;
|
420
|
-
grid-column-start: 1;
|
421
|
-
grid-column-end: 3;
|
422
|
-
margin-bottom: 2rem;
|
423
|
-
margin-top: 1rem;
|
424
|
-
|
425
|
-
|
426
|
-
}
|
427
|
-
.r-item-date {
|
428
|
-
grid-row-start: 1;
|
429
|
-
grid-column-start: 2;
|
430
|
-
justify-self: end;
|
431
|
-
}
|
432
|
-
}
|
492
|
+
|
493
|
+
.r-item-categorie {
|
494
|
+
grid-row-start: 1;
|
495
|
+
|
496
|
+
}
|
497
|
+
|
498
|
+
.r-item-title {
|
499
|
+
font-weight: 500 !important;
|
500
|
+
grid-row-start: 2;
|
501
|
+
grid-column-start: 1;
|
502
|
+
grid-column-end: 3;
|
503
|
+
margin-bottom: 2rem;
|
504
|
+
margin-top: 1rem;
|
505
|
+
|
506
|
+
|
507
|
+
}
|
508
|
+
|
509
|
+
.r-item-date {
|
510
|
+
grid-row-start: 1;
|
511
|
+
grid-column-start: 2;
|
512
|
+
justify-self: end;
|
433
513
|
}
|
514
|
+
}
|
434
515
|
}
|
435
516
|
}
|
436
517
|
}
|
518
|
+
}
|
519
|
+
|
520
|
+
// content
|
437
521
|
|
438
|
-
|
522
|
+
.no-map {
|
523
|
+
.r-result.r-annuaire-result {
|
524
|
+
max-width: 1296px;
|
525
|
+
}
|
439
526
|
|
440
|
-
.
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
max-width: 700px;
|
446
|
-
margin: 0 auto;
|
447
|
-
}
|
448
|
-
}
|
527
|
+
.envent-content {
|
528
|
+
max-width: 700px;
|
529
|
+
margin: 0 auto;
|
530
|
+
}
|
531
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React, { useEffect, useRef, useCallback, useState } from "react";
|
2
2
|
import Select from "react-select";
|
3
|
-
import {
|
3
|
+
import { useNavigate } from "react-router-dom";
|
4
4
|
import useAxios from "../../../hooks/useAxios";
|
5
5
|
import { Translator } from "react-translated";
|
6
6
|
import DateFilter from "../../Filters/DateFilter";
|
7
7
|
import moment from "moment";
|
8
|
+
import queryString from 'query-string';
|
8
9
|
|
9
10
|
function Filters(props) {
|
10
|
-
let
|
11
|
-
const queryString = require("query-string");
|
11
|
+
let navigate = useNavigate();
|
12
12
|
const [inputValues, setInputValues] = useState(props.activeFilter);
|
13
13
|
const [topicsFilter, setTopicsFilter] = useState(null);
|
14
14
|
const [categoryFilter, setCategoryFilter] = useState(null);
|
@@ -78,7 +78,7 @@ function Filters(props) {
|
|
78
78
|
firstUpdate.current = false;
|
79
79
|
return;
|
80
80
|
}
|
81
|
-
|
81
|
+
navigate({
|
82
82
|
pathname: "./",
|
83
83
|
search: queryString.stringify(inputValues),
|
84
84
|
});
|
@@ -194,10 +194,11 @@ function Filters(props) {
|
|
194
194
|
)}
|
195
195
|
</Translator>
|
196
196
|
</div>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
197
|
+
{props.onlyPastEvents === "False" &&
|
198
|
+
<div className="r-filter schedul-Filter">
|
199
|
+
<DateFilter language={props.language} setDates={setDates} />
|
200
|
+
</div>
|
201
|
+
}
|
201
202
|
</React.Fragment>
|
202
203
|
);
|
203
204
|
}
|