imio.smartweb.core 1.2.91__py3-none-any.whl → 1.3.1__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.
Files changed (107) hide show
  1. imio/smartweb/core/browser/configure.zcml +16 -0
  2. imio/smartweb/core/browser/controlpanel.py +42 -5
  3. imio/smartweb/core/browser/search/search.py +15 -0
  4. imio/smartweb/core/browser/sitemap.py +155 -107
  5. imio/smartweb/core/browser/utils.py +4 -1
  6. imio/smartweb/core/configure.zcml +5 -1
  7. imio/smartweb/core/contents/__init__.py +2 -0
  8. imio/smartweb/core/contents/rest/base.py +5 -2
  9. imio/smartweb/core/contents/rest/campaign/__init__.py +0 -0
  10. imio/smartweb/core/contents/rest/campaign/configure.zcml +80 -0
  11. imio/smartweb/core/contents/rest/campaign/content.py +83 -0
  12. imio/smartweb/core/contents/rest/campaign/endpoint.py +211 -0
  13. imio/smartweb/core/contents/rest/campaign/view.pt +19 -0
  14. imio/smartweb/core/contents/rest/campaign/view.py +29 -0
  15. imio/smartweb/core/contents/rest/configure.zcml +1 -0
  16. imio/smartweb/core/contents/rest/directory/endpoint.py +11 -3
  17. imio/smartweb/core/contents/rest/events/endpoint.py +11 -3
  18. imio/smartweb/core/contents/rest/news/endpoint.py +11 -3
  19. imio/smartweb/core/contents/rest/search/endpoint.py +4 -1
  20. imio/smartweb/core/contents/rest/utils.py +3 -3
  21. imio/smartweb/core/interfaces.py +6 -0
  22. imio/smartweb/core/overrides.zcml +10 -0
  23. imio/smartweb/core/profiles/default/metadata.xml +1 -1
  24. imio/smartweb/core/profiles/ideabox/browserlayer.xml +7 -0
  25. imio/smartweb/core/profiles/ideabox/metadata.xml +5 -0
  26. imio/smartweb/core/profiles/ideabox/registry/iaideabox.xml +9 -0
  27. imio/smartweb/core/profiles/ideabox/types/imio.smartweb.CampaignView.xml +40 -0
  28. imio/smartweb/core/profiles/ideabox/types/imio.smartweb.Folder.xml +71 -0
  29. imio/smartweb/core/profiles/ideabox/types.xml +17 -0
  30. imio/smartweb/core/profiles/ideabox_uninstall/browserlayer.xml +7 -0
  31. imio/smartweb/core/profiles/ideabox_uninstall/types/imio.smartweb.Folder.xml +25 -0
  32. imio/smartweb/core/profiles/ideabox_uninstall/types.xml +4 -0
  33. imio/smartweb/core/profiles/testing/metadata.xml +1 -0
  34. imio/smartweb/core/profiles/testing/registry.xml +2 -2
  35. imio/smartweb/core/profiles.zcml +18 -0
  36. imio/smartweb/core/subscribers.py +27 -1
  37. imio/smartweb/core/subscribers.zcml +8 -0
  38. imio/smartweb/core/tests/resources/json_ideabox_campaign.json +222 -0
  39. imio/smartweb/core/tests/resources/json_ideabox_campaigns.json +425 -0
  40. imio/smartweb/core/tests/resources/json_ideabox_projects.json +1871 -0
  41. imio/smartweb/core/tests/test_iadeliberations.py +38 -40
  42. imio/smartweb/core/tests/test_ideabox.py +152 -0
  43. imio/smartweb/core/tests/test_procedure.py +7 -3
  44. imio/smartweb/core/tests/test_rest.py +6 -1
  45. imio/smartweb/core/tests/test_sitemap.py +81 -42
  46. imio/smartweb/core/tests/test_vocabularies.py +8 -10
  47. imio/smartweb/core/tests/test_vocabulary.py +18 -0
  48. imio/smartweb/core/upgrades/configure.zcml +16 -1
  49. imio/smartweb/core/upgrades/upgrades.py +64 -0
  50. imio/smartweb/core/utils.py +33 -0
  51. imio/smartweb/core/viewlets/offcanvas.pt +2 -0
  52. imio/smartweb/core/viewlets/ogptags.py +9 -0
  53. imio/smartweb/core/vocabularies.py +35 -4
  54. imio/smartweb/core/vocabularies.zcml +6 -0
  55. imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
  56. imio/smartweb/core/webcomponents/build/css/420.smartweb-webcomponents-compiled.css +1 -0
  57. imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
  58. imio/smartweb/core/webcomponents/build/css/666.smartweb-webcomponents-compiled.css +1 -0
  59. imio/smartweb/core/webcomponents/build/css/884.smartweb-webcomponents-compiled.css +1 -1
  60. imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -1
  61. imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
  62. imio/smartweb/core/webcomponents/build/js/141.smartweb-webcomponents-compiled.js +2 -0
  63. imio/smartweb/core/webcomponents/build/js/{828.smartweb-webcomponents-compiled.js.LICENSE.txt → 141.smartweb-webcomponents-compiled.js.LICENSE.txt} +3 -3
  64. imio/smartweb/core/webcomponents/build/js/15.smartweb-webcomponents-compiled.js +2 -0
  65. imio/smartweb/core/webcomponents/build/js/21.smartweb-webcomponents-compiled.js +1 -0
  66. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
  67. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +0 -5
  68. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +1 -1
  69. imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
  70. imio/smartweb/core/webcomponents/build/js/666.smartweb-webcomponents-compiled.js +1 -0
  71. imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
  72. imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +1 -1
  73. imio/smartweb/core/webcomponents/build/js/884.smartweb-webcomponents-compiled.js +1 -1
  74. imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
  75. imio/smartweb/core/webcomponents/build/js/922.smartweb-webcomponents-compiled.js +1 -0
  76. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  77. imio/smartweb/core/webcomponents/package.json +80 -80
  78. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +1 -0
  79. imio/smartweb/core/webcomponents/src/components/Campaign/Campaign.jsx +306 -0
  80. imio/smartweb/core/webcomponents/src/components/Campaign/Campaign.scss +672 -0
  81. imio/smartweb/core/webcomponents/src/components/Campaign/CampaignCard/CampaignCard.jsx +79 -0
  82. imio/smartweb/core/webcomponents/src/components/Campaign/CampaignContent/CampaignContent.jsx +193 -0
  83. imio/smartweb/core/webcomponents/src/components/Campaign/CampaignList/CampaignList.jsx +67 -0
  84. imio/smartweb/core/webcomponents/src/components/Campaign/Filters/Filter.jsx +259 -0
  85. imio/smartweb/core/webcomponents/src/components/Campaign/index.js +2 -0
  86. imio/smartweb/core/webcomponents/src/components/Filters/MainFilter.scss +1 -0
  87. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +0 -1
  88. imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +54 -9
  89. imio/smartweb/core/webcomponents/src/components/Search/Search.scss +9 -0
  90. imio/smartweb/core/webcomponents/src/hooks/useAxios.js +45 -9
  91. imio/smartweb/core/webcomponents/src/index.jsx +2 -0
  92. imio/smartweb/core/webcomponents/src/index.scss +2 -2
  93. imio/smartweb/core/webcomponents/src/utils/CampaignMap.jsx +177 -0
  94. imio/smartweb/core/webcomponents/src/utils/Map.jsx +1 -1
  95. imio/smartweb/core/webcomponents/src/utils/Map.scss +15 -1
  96. imio/smartweb/core/webcomponents/src/utils/translation.js +247 -199
  97. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/METADATA +24 -1
  98. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/RECORD +105 -72
  99. imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +0 -2
  100. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js +0 -2
  101. /imio/smartweb/core/webcomponents/build/js/{499.smartweb-webcomponents-compiled.js.LICENSE.txt → 15.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  102. /imio.smartweb.core-1.2.91-py3.12-nspkg.pth → /imio.smartweb.core-1.3.1-py3.12-nspkg.pth +0 -0
  103. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/LICENSE.GPL +0 -0
  104. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/LICENSE.rst +0 -0
  105. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/WHEEL +0 -0
  106. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/namespace_packages.txt +0 -0
  107. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,672 @@
1
+ html,
2
+ body {
3
+ max-width: 100%;
4
+ overflow-x: initial !important;
5
+ }
6
+
7
+ .r-content-vote-btn {
8
+ a {
9
+ background: #252525;
10
+ border-radius: 8px;
11
+ color: #fff;
12
+ padding: 1rem;
13
+ text-decoration: none;
14
+ transition: all 0.5s ease;
15
+ display: inline-block;
16
+ }
17
+ }
18
+
19
+ #content > header {
20
+ display: none;
21
+ }
22
+ .row {
23
+ padding: 0;
24
+ margin: 0;
25
+ }
26
+
27
+ .breadcrumb {
28
+ padding: 0;
29
+ }
30
+
31
+ .portaltype-imio-smartweb-campaignview {
32
+ header#content-header {
33
+ z-index: 9;
34
+ }
35
+ }
36
+ .campaign-vote {
37
+ display: flex;
38
+ gap: 13px;
39
+ font-size: 13px;
40
+ .bi {
41
+ font-size: 13px;
42
+ margin-right: 5px;
43
+ }
44
+ }
45
+
46
+ .campaign-vote-pour {
47
+ background-color: #ebf9ed;
48
+ color: #0ca72b;
49
+ padding: 5px 15px;
50
+ border-radius: 5px;
51
+ text-decoration: none;
52
+ &:hover,
53
+ &:focus {
54
+ background-color: #d9f8de;
55
+ color: #0ca72b;
56
+ }
57
+ }
58
+ .campaign-vote-contre {
59
+ text-decoration: none;
60
+ background-color: #f4e2e4;
61
+ color: #b70a0a;
62
+ padding: 5px 15px;
63
+ border-radius: 5px;
64
+ &:hover,
65
+ &:focus {
66
+ background-color: #f0d0d4;
67
+ color: #b70a0a;
68
+ }
69
+ }
70
+
71
+ .campaign-vote-pour-count,
72
+ .campaign-vote-contre-count {
73
+ font-size: 15px;
74
+ }
75
+ .campaign-vote-contre-text {
76
+ font-size: 15px;
77
+ }
78
+
79
+ .r-item-arrow {
80
+ position: absolute;
81
+ top: 50%;
82
+ right: 0;
83
+ translate: 0 -50%;
84
+ background: #f2f2f2;
85
+ width: 30px;
86
+ height: 30px;
87
+ display: flex;
88
+ justify-content: center;
89
+ align-items: center;
90
+ opacity: 0;
91
+ border-radius: 50px;
92
+ font-size: 15px;
93
+ }
94
+ .r-list-item-group:hover,
95
+ .r-list-item-group:focus {
96
+ .r-item-arrow {
97
+ opacity: 1;
98
+ }
99
+ }
100
+ // FOR SCROLL
101
+
102
+ body .outer-wrapper {
103
+ & > .container {
104
+ max-width: 100% !important;
105
+ padding: 0 !important;
106
+ }
107
+ }
108
+
109
+ .r-campaign-wrapper {
110
+ @media screen and (min-width: 1200px) {
111
+ max-width: 100%;
112
+ margin-right: inherit;
113
+ padding-right: 0;
114
+ padding-left: 0;
115
+ }
116
+ }
117
+
118
+ #portal-column-content {
119
+ padding: 0 !important;
120
+ }
121
+
122
+ #portal-column-content {
123
+ h1 {
124
+ font-size: 0px;
125
+ position: absolute;
126
+ }
127
+ }
128
+
129
+ #viewlet-below-content-title,
130
+ #viewlet-below-content-description {
131
+ display: none;
132
+ }
133
+
134
+ header#content-header {
135
+ position: sticky;
136
+ top: 0;
137
+ background: #fff;
138
+ }
139
+
140
+ article > header {
141
+ margin-bottom: 0px;
142
+ }
143
+
144
+ .r-campaign-result {
145
+ grid-area: 1 / 1 / 3 / 2;
146
+ }
147
+
148
+ .r-map.campaign-map {
149
+ position: sticky;
150
+ grid-area: 1 / 2 / 2 / 3;
151
+ }
152
+
153
+ /////////
154
+
155
+ .r-wrapper {
156
+ display: block;
157
+
158
+ @media screen and (min-width: 1200px) {
159
+ display: grid;
160
+ grid-template-columns: minmax(20px, 800px) minmax(20px, 100%);
161
+ justify-content: space-between;
162
+ width: calc(558px + 50vw);
163
+ margin-left: auto;
164
+ gap: 40px;
165
+ }
166
+
167
+ @media screen and (min-width: 1400px) {
168
+ width: calc(648px + 50vw);
169
+ }
170
+
171
+ .r-result {
172
+ margin-top: 2rem;
173
+ padding-bottom: 2rem;
174
+
175
+ &-list {
176
+ padding: 0;
177
+
178
+ .r-list-item-group {
179
+ position: relative;
180
+ list-style: none;
181
+ margin: 1rem 0;
182
+
183
+ .r-list-item-link {
184
+ inset: 0px !important;
185
+ position: absolute !important;
186
+ }
187
+
188
+ .r-list-item {
189
+ display: flex;
190
+ height: 100%;
191
+ flex-direction: column;
192
+
193
+ @media screen and (min-width: 600px) {
194
+ flex-direction: row;
195
+ }
196
+
197
+ .r-item-img {
198
+ width: 100%;
199
+ padding-bottom: 56%;
200
+ background-size: cover;
201
+
202
+ &.r-item-img-placeholder {
203
+ background-color: #f2f2f2;
204
+ }
205
+
206
+ @media screen and (min-width: 600px) {
207
+ width: 246px;
208
+ height: 149px;
209
+ padding-bottom: 0;
210
+ }
211
+ }
212
+
213
+ .r-item-text {
214
+ margin-top: 0.6rem;
215
+ flex-grow: 1;
216
+
217
+ @media screen and (min-width: 600px) {
218
+ margin-left: 1.5rem;
219
+ margin-top: 0;
220
+ }
221
+
222
+ a {
223
+ position: relative;
224
+ }
225
+
226
+ .r-item-title {
227
+ font-weight: bold;
228
+ display: block;
229
+ }
230
+
231
+ .r-item-categorie {
232
+ display: block;
233
+ }
234
+
235
+ .r-item-all {
236
+ display: flex;
237
+ gap: 10px;
238
+
239
+ .r-item-adresse {
240
+ width: 36%;
241
+ }
242
+
243
+ .r-item-campaign {
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
250
+ }
251
+
252
+ .r-map {
253
+ @media screen and (max-width: 1200px) {
254
+ margin-top: 2rem !important;
255
+ }
256
+
257
+ .leaflet-container {
258
+ @media screen and (max-width: 1200px) {
259
+ height: 50vh !important;
260
+ }
261
+ }
262
+ }
263
+ }
264
+
265
+ // FOR BLA
266
+ .r-load-more {
267
+ margin-bottom: 2rem;
268
+ text-align: center;
269
+
270
+ button {
271
+ background: #000;
272
+ border: solid 1px transparent;
273
+ color: #fff;
274
+ padding: 0.4rem 1rem;
275
+ border-radius: 10px;
276
+ border-bottom-left-radius: 10px;
277
+ border-bottom-left-radius: 0px;
278
+ font-weight: bold;
279
+ font-size: 14px;
280
+ margin: 0 auto;
281
+ display: block;
282
+
283
+ &:hover {
284
+ background: rgba(0, 0, 0, 0.871);
285
+ }
286
+ }
287
+ }
288
+
289
+ .r-wrapper {
290
+ .r-result {
291
+ &-list {
292
+ .r-list-item-group {
293
+ .r-list-item-link {
294
+ }
295
+
296
+ .r-list-item {
297
+ .r-item-img {
298
+ width: 100%;
299
+ padding-bottom: 56%;
300
+ position: relative;
301
+ z-index: -1;
302
+ background-color: #000;
303
+ background-size: cover;
304
+ border-radius: 5px;
305
+
306
+ &.r-item-img-placeholder {
307
+ background-color: #f2f2f2;
308
+ }
309
+
310
+ @media screen and (min-width: 600px) {
311
+ width: 246px;
312
+ height: 149px;
313
+ padding-bottom: 0;
314
+ flex: 246px 0 0;
315
+ }
316
+
317
+ div,
318
+ img {
319
+ border-radius: 5px;
320
+ }
321
+ }
322
+
323
+ .r-item-text {
324
+ font-size: 13px;
325
+ display: flex;
326
+ flex-direction: column;
327
+ gap: 10px;
328
+ .r-item-title {
329
+ font-size: 18px;
330
+ }
331
+
332
+ .r-item-categorie {
333
+ margin-bottom: 5px;
334
+ text-transform: uppercase;
335
+ color: #747474;
336
+ font-weight: 400;
337
+ font-size: 13px;
338
+ }
339
+
340
+ .r-item-all {
341
+ color: #727272;
342
+
343
+ a {
344
+ color: #000;
345
+ }
346
+
347
+ .r-item-adresse {
348
+ .itineraty {
349
+ margin-top: 5px;
350
+
351
+ &:before {
352
+ content: "";
353
+ width: 15px;
354
+ height: 15px;
355
+ display: inline-block;
356
+ background-size: contain;
357
+ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7.68 10.97'%3E%3Cg id='Calque_2' data-name='Calque 2'%3E%3Cg id='Calque_1-2' data-name='Calque 1'%3E%3Cpath id='map-marker' d='M3.84,5.21A1.37,1.37,0,1,1,5.21,3.84h0A1.37,1.37,0,0,1,3.84,5.21M3.84,0A3.84,3.84,0,0,0,0,3.84H0C0,6.72,3.84,11,3.84,11S7.68,6.72,7.68,3.84A3.84,3.84,0,0,0,3.84,0Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
358
+ no-repeat;
359
+ vertical-align: middle;
360
+ }
361
+ }
362
+ }
363
+
364
+ .r-item-campaign {
365
+ width: 100%;
366
+ }
367
+ }
368
+ }
369
+ }
370
+ }
371
+ }
372
+ }
373
+ }
374
+
375
+ //////////////////////////////
376
+ .icon-baseline {
377
+ display: inline-flex;
378
+ align-self: center;
379
+ margin-right: 0.4rem;
380
+
381
+ svg {
382
+ top: 0.125em;
383
+ position: relative;
384
+ height: 1em;
385
+ width: 1em;
386
+ }
387
+ }
388
+
389
+ .dpinlb {
390
+ display: inline-block;
391
+ vertical-align: top;
392
+ }
393
+
394
+ .r-recurence-past {
395
+ opacity: 0.5;
396
+ }
397
+
398
+ .recurence-schedul {
399
+ position: relative;
400
+ }
401
+
402
+ .recurence-schedul-more {
403
+ display: block;
404
+ }
405
+
406
+ .recurence-modal-display {
407
+ background-color: #fff;
408
+ position: absolute;
409
+ top: 0;
410
+ left: 0;
411
+ right: 0;
412
+ width: max-content;
413
+ padding: 10px 15px !important;
414
+ box-shadow:
415
+ 0.7px 0px 5.3px rgba(0, 0, 0, 0.024),
416
+ 2.5px 0px 17.9px rgba(0, 0, 0, 0.036),
417
+ 11px 0px 80px rgba(0, 0, 0, 0.06);
418
+ border-radius: 10px;
419
+ border: solid 1px #dadada;
420
+
421
+ span {
422
+ font-size: 14px;
423
+ color: #000;
424
+ border-bottom: solid 1px #969696;
425
+ margin-bottom: 0.4rem;
426
+ display: block;
427
+ }
428
+
429
+ ul {
430
+ margin: 0;
431
+ }
432
+
433
+ li {
434
+ list-style: none;
435
+ }
436
+ }
437
+
438
+ .recurence-modal-hide {
439
+ display: none;
440
+ }
441
+
442
+ //// for bla ////
443
+ // content
444
+
445
+ .r-content-img {
446
+ padding-bottom: 60%;
447
+ margin-top: 1.5rem;
448
+ position: relative;
449
+ }
450
+
451
+ .r-content-header {
452
+ margin-bottom: 1rem;
453
+ }
454
+
455
+ .r-content-title {
456
+ margin: 0;
457
+ }
458
+
459
+ .r-content-recur-start-hours {
460
+ display: flex;
461
+ }
462
+
463
+ .news-info-title {
464
+ font-weight: 700;
465
+ margin-bottom: 1rem;
466
+ display: block;
467
+ color: #008fd2;
468
+ }
469
+
470
+ .r-content-news-info {
471
+ display: flex;
472
+ justify-content: space-between;
473
+ margin-bottom: 2rem;
474
+ flex-wrap: wrap;
475
+ }
476
+
477
+ .r-content-news-info-container {
478
+ @media screen and (min-width: 600px) {
479
+ column-count: 2;
480
+ }
481
+
482
+ // flex-flow: column wrap;
483
+ & > div {
484
+ margin: 0.6rem 0;
485
+ padding-right: 3rem;
486
+ break-inside: avoid;
487
+
488
+ svg {
489
+ width: 16px;
490
+ }
491
+ }
492
+
493
+ .r-content-news-info--date {
494
+ display: flex;
495
+
496
+ .r-content-date-start,
497
+ .r-content-date-end,
498
+ .r-content-date-start-hours {
499
+ display: flex;
500
+ flex-wrap: wrap;
501
+ }
502
+ }
503
+
504
+ .r-content-news-info-social {
505
+ svg {
506
+ width: 30px;
507
+ height: 30px;
508
+ }
509
+
510
+ ul {
511
+ display: flex;
512
+ align-items: center;
513
+ margin: 0;
514
+
515
+ li {
516
+ list-style: none;
517
+
518
+ a {
519
+ &:hover {
520
+ opacity: 0.7;
521
+ }
522
+ }
523
+ }
524
+ }
525
+ }
526
+ }
527
+
528
+ .r-content-news-info-action {
529
+ @media screen and (max-width: 1000px) {
530
+ margin-top: 1.1rem;
531
+ }
532
+
533
+ a {
534
+ text-decoration: none;
535
+ }
536
+
537
+ & > div {
538
+ margin: 0.6rem 0;
539
+ }
540
+
541
+ .r-content-booking {
542
+ margin-top: 0;
543
+
544
+ a {
545
+ background: #000;
546
+ color: #fff;
547
+ padding: 0.4rem 1rem;
548
+ text-decoration: none;
549
+ display: block;
550
+ border-radius: 10px;
551
+ border-bottom-left-radius: 0px;
552
+ font-weight: 500;
553
+ display: flex;
554
+ align-items: center;
555
+ gap: 10px;
556
+ cursor: pointer;
557
+
558
+ svg {
559
+ width: 22px;
560
+ fill: white;
561
+ }
562
+
563
+ &:hover {
564
+ color: #fff;
565
+ background: rgb(63, 63, 63);
566
+ }
567
+ }
568
+ }
569
+ }
570
+
571
+ .r-content-topics {
572
+ display: flex;
573
+ gap: 15px;
574
+
575
+ span {
576
+ padding: 5px;
577
+ background: #f1f1f1;
578
+ border-radius: 5px;
579
+ margin-right: 5px;
580
+ }
581
+ }
582
+
583
+ .r-content-title-cat {
584
+ color: #8e8e8e;
585
+ margin-right: 5px;
586
+ font-size: 14px;
587
+ }
588
+
589
+ smartweb-campaign {
590
+ min-height: 80vh;
591
+ display: block;
592
+ }
593
+ // // No Map
594
+ // // Main
595
+ .no-map {
596
+ @media screen and (min-width: 600px) {
597
+ .r-campaign-wrapper {
598
+ display: block;
599
+ }
600
+
601
+ .r-result-list {
602
+ max-width: 1296px;
603
+ display: grid;
604
+ grid-template-columns: 1fr 1fr 1fr;
605
+ gap: 20px;
606
+ }
607
+
608
+ .r-list-item-group {
609
+ transition: all 0.2s ease;
610
+
611
+ &:hover,
612
+ &:focus {
613
+ transform: translateY(-10px) !important;
614
+ }
615
+
616
+ .r-list-item {
617
+ flex-direction: column !important;
618
+ box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
619
+
620
+ .r-item-img {
621
+ border-radius: 0 !important;
622
+ width: 100% !important;
623
+ height: 0 !important;
624
+ padding-bottom: 60% !important;
625
+ margin-bottom: 0.5rem;
626
+ }
627
+
628
+ .r-item-text {
629
+ display: grid;
630
+ grid-template-columns: 1fr 1fr;
631
+ margin-right: 1.5rem;
632
+
633
+ &:after {
634
+ display: none;
635
+ }
636
+
637
+ .r-item-categorie {
638
+ grid-row-start: 1;
639
+ }
640
+
641
+ .r-item-title {
642
+ font-weight: 500 !important;
643
+ grid-row-start: 2;
644
+ grid-column-start: 1;
645
+ grid-column-end: 3;
646
+ margin-bottom: 2rem;
647
+ margin-top: 1rem;
648
+ }
649
+
650
+ .r-item-date {
651
+ grid-row-start: 1;
652
+ grid-column-start: 2;
653
+ justify-self: end;
654
+ }
655
+ }
656
+ }
657
+ }
658
+ }
659
+ }
660
+
661
+ // content
662
+
663
+ .no-map {
664
+ .r-result.r-campaign-result {
665
+ max-width: 1296px;
666
+ }
667
+
668
+ .envent-content {
669
+ max-width: 700px;
670
+ margin: 0 auto;
671
+ }
672
+ }