imio.smartweb.core 1.2.38__py3-none-any.whl → 1.2.80__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 (223) hide show
  1. imio/smartweb/core/behaviors/categorization.py +24 -0
  2. imio/smartweb/core/behaviors/configure.zcml +7 -0
  3. imio/smartweb/core/browser/controlpanel.py +43 -0
  4. imio/smartweb/core/browser/faceted/block_view.pt +4 -4
  5. imio/smartweb/core/browser/faceted/summary_view.pt +4 -4
  6. imio/smartweb/core/browser/sitemap.py +10 -3
  7. imio/smartweb/core/browser/static/icons/action-delete.svg +3 -0
  8. imio/smartweb/core/browser/static/icons/action-engagement-2.svg +4 -0
  9. imio/smartweb/core/browser/static/icons/action-panneaux.svg +3 -0
  10. imio/smartweb/core/browser/static/icons/action-vote.svg +3 -0
  11. imio/smartweb/core/browser/static/icons/categorie-attention.svg +3 -0
  12. imio/smartweb/core/browser/static/icons/categorie-infos-travaux-2.svg +4 -0
  13. imio/smartweb/core/browser/static/icons/categorie-mon-dossier.svg +1 -1
  14. imio/smartweb/core/browser/static/icons/categorie-nature.svg +3 -0
  15. imio/smartweb/core/browser/static/icons/categorie-parcs-a-conteneurs.svg +4 -0
  16. imio/smartweb/core/browser/static/icons/categorie-plus.svg +3 -0
  17. imio/smartweb/core/browser/static/icons/categorie-primes-2.svg +5 -0
  18. imio/smartweb/core/browser/static/icons/categorie-sport-natation.svg +4 -0
  19. imio/smartweb/core/browser/static/icons/organisation-ecole-sac.svg +4 -0
  20. imio/smartweb/core/browser/static/icons/organisation-scout.svg +3 -0
  21. imio/smartweb/core/browser/static/icons/reseausocial-behance.svg +3 -0
  22. imio/smartweb/core/browser/static/icons/reseausocial-linkedin.svg +3 -0
  23. imio/smartweb/core/browser/static/smartweb-edit-compiled.css +1 -1
  24. imio/smartweb/core/browser/static/smartweb-view-compiled.css +1 -1
  25. imio/smartweb/core/browser/static/src/edit.less +42 -0
  26. imio/smartweb/core/browser/static/src/view.less +109 -56
  27. imio/smartweb/core/browser/vocabulary.py +8 -3
  28. imio/smartweb/core/contents/__init__.py +2 -0
  29. imio/smartweb/core/contents/configure.zcml +1 -0
  30. imio/smartweb/core/contents/folder/block_view.pt +8 -8
  31. imio/smartweb/core/contents/folder/summary_view.pt +4 -4
  32. imio/smartweb/core/contents/pages/cirkwi/content.py +5 -0
  33. imio/smartweb/core/contents/pages/cirkwi/view.py +2 -1
  34. imio/smartweb/core/contents/pages/configure.zcml +1 -0
  35. imio/smartweb/core/contents/pages/portal_page/view.py +3 -0
  36. imio/smartweb/core/contents/pages/views.py +47 -1
  37. imio/smartweb/core/contents/publication/__init__.py +0 -0
  38. imio/smartweb/core/contents/publication/configure.zcml +5 -0
  39. imio/smartweb/core/contents/publication/content.py +23 -0
  40. imio/smartweb/core/contents/rest/base.py +9 -7
  41. imio/smartweb/core/contents/rest/directory/endpoint.py +2 -2
  42. imio/smartweb/core/contents/rest/directory/view.pt +2 -1
  43. imio/smartweb/core/contents/rest/events/content.py +13 -0
  44. imio/smartweb/core/contents/rest/events/endpoint.py +5 -3
  45. imio/smartweb/core/contents/rest/events/view.pt +5 -1
  46. imio/smartweb/core/contents/rest/events/view.py +12 -0
  47. imio/smartweb/core/contents/rest/news/content.py +6 -0
  48. imio/smartweb/core/contents/rest/news/endpoint.py +4 -2
  49. imio/smartweb/core/contents/rest/news/view.pt +4 -1
  50. imio/smartweb/core/contents/rest/news/view.py +8 -0
  51. imio/smartweb/core/contents/rest/utils.py +0 -1
  52. imio/smartweb/core/contents/rest/view.py +4 -0
  53. imio/smartweb/core/contents/sections/common_templates/carousel.pt +5 -1
  54. imio/smartweb/core/contents/sections/common_templates/table.pt +18 -4
  55. imio/smartweb/core/contents/sections/configure.zcml +18 -0
  56. imio/smartweb/core/contents/sections/contact/content.py +2 -2
  57. imio/smartweb/core/contents/sections/contact/macros.pt +28 -3
  58. imio/smartweb/core/contents/sections/contact/utils.py +2 -0
  59. imio/smartweb/core/contents/sections/contact/view.py +28 -12
  60. imio/smartweb/core/contents/sections/events/content.py +12 -4
  61. imio/smartweb/core/contents/sections/events/view.py +20 -2
  62. imio/smartweb/core/contents/sections/external_content/view.pt +4 -4
  63. imio/smartweb/core/contents/sections/external_content/views.py +6 -4
  64. imio/smartweb/core/contents/sections/files/content.py +7 -1
  65. imio/smartweb/core/contents/sections/files/view.py +43 -12
  66. imio/smartweb/core/contents/sections/links/view.py +5 -0
  67. imio/smartweb/core/contents/sections/macros.pt +26 -0
  68. imio/smartweb/core/contents/sections/news/content.py +11 -3
  69. imio/smartweb/core/contents/sections/news/view.py +20 -2
  70. imio/smartweb/core/contents/sections/text/views.py +2 -0
  71. imio/smartweb/core/contents/sections/views.py +73 -10
  72. imio/smartweb/core/interfaces.py +4 -0
  73. imio/smartweb/core/profiles/default/metadata.xml +1 -1
  74. imio/smartweb/core/profiles/default/taxonomies/page_category.xml +16 -0
  75. imio/smartweb/core/profiles/default/taxonomies/procedure_category.xml +26 -0
  76. imio/smartweb/core/profiles/default/types/imio.smartweb.EventsView.xml +1 -0
  77. imio/smartweb/core/profiles/default/types/imio.smartweb.NewsView.xml +1 -0
  78. imio/smartweb/core/profiles/default/types/imio.smartweb.Publication.xml +38 -0
  79. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionEvents.xml +1 -0
  80. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionFiles.xml +2 -0
  81. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionNews.xml +1 -0
  82. imio/smartweb/core/profiles/default/types.xml +1 -0
  83. imio/smartweb/core/profiles/icons/basic/registry.xml +120 -0
  84. imio/smartweb/core/rest/authentic_sources.py +17 -2
  85. imio/smartweb/core/subscribers.py +48 -0
  86. imio/smartweb/core/subscribers.zcml +12 -0
  87. imio/smartweb/core/tests/resources/json_iadeliberations_institutions.json +60 -0
  88. imio/smartweb/core/tests/resources/json_iadeliberations_publication.json +105 -0
  89. imio/smartweb/core/tests/resources/json_iadeliberations_publications.json +270 -0
  90. imio/smartweb/core/tests/resources/json_rest_events.json +6 -2
  91. imio/smartweb/core/tests/resources/json_rest_news.json +2 -2
  92. imio/smartweb/core/tests/resources/json_rest_specific_events.json +1 -1
  93. imio/smartweb/core/tests/test_htmx_in_sections.py +131 -0
  94. imio/smartweb/core/tests/test_iadeliberations.py +136 -0
  95. imio/smartweb/core/tests/test_icons.py +1 -1
  96. imio/smartweb/core/tests/test_rest.py +58 -17
  97. imio/smartweb/core/tests/test_section_contact.py +42 -10
  98. imio/smartweb/core/tests/test_section_events.py +28 -5
  99. imio/smartweb/core/tests/test_section_external_content.py +28 -2
  100. imio/smartweb/core/tests/test_section_news.py +30 -8
  101. imio/smartweb/core/tests/test_sections.py +17 -0
  102. imio/smartweb/core/tests/test_vocabularies.py +60 -3
  103. imio/smartweb/core/tests/test_vocabulary.py +43 -0
  104. imio/smartweb/core/upgrades/configure.zcml +108 -0
  105. imio/smartweb/core/upgrades/profiles/1055_to_1056/types/imio.smartweb.SectionFiles.xml +12 -0
  106. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.EventsView.xml +11 -0
  107. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.NewsView.xml +11 -0
  108. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionEvents.xml +11 -0
  109. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionNews.xml +11 -0
  110. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.cfg +9 -0
  111. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.xml +73 -0
  112. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.cfg +9 -0
  113. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.xml +118 -0
  114. imio/smartweb/core/upgrades/profiles/1058_to_1059/registry/linkedin-icon.xml +126 -0
  115. imio/smartweb/core/upgrades/profiles/1059_to_1060/registry/iadeliberation.xml +9 -0
  116. imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.Publication.xml +38 -0
  117. imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.SectionFiles.xml +11 -0
  118. imio/smartweb/core/upgrades/profiles/1060_to_1061/types.xml +4 -0
  119. imio/smartweb/core/upgrades/profiles/1060_to_1061/workflows.xml +6 -0
  120. imio/smartweb/core/utils.py +33 -2
  121. imio/smartweb/core/viewlets/configure.zcml +23 -1
  122. imio/smartweb/core/viewlets/footer.pt +5 -0
  123. imio/smartweb/core/viewlets/footer.py +5 -0
  124. imio/smartweb/core/viewlets/htmx.py +15 -0
  125. imio/smartweb/core/viewlets/htmx_js_header.pt +64 -0
  126. imio/smartweb/core/viewlets/ogptags.py +4 -3
  127. imio/smartweb/core/viewlets/social.py +23 -0
  128. imio/smartweb/core/vocabularies.py +65 -3
  129. imio/smartweb/core/vocabularies.zcml +18 -0
  130. imio/smartweb/core/webcomponents/build/1c1605a5fe9a2b10a88f.png +1 -0
  131. imio/smartweb/core/webcomponents/build/524db40e119aa11f4478.png +1 -0
  132. imio/smartweb/core/webcomponents/build/57d3b7cb1ab874660b39.svg +1 -0
  133. imio/smartweb/core/webcomponents/build/6cf03871df23ed2ee8b3.png +1 -0
  134. imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
  135. imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
  136. imio/smartweb/core/webcomponents/build/css/884.smartweb-webcomponents-compiled.css +1 -0
  137. imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -1
  138. imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
  139. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
  140. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +10 -8
  141. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +2 -1
  142. imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js.LICENSE.txt → 373.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -4
  143. imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
  144. imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +2 -0
  145. imio/smartweb/core/webcomponents/build/js/{674.smartweb-webcomponents-compiled.js.LICENSE.txt → 499.smartweb-webcomponents-compiled.js.LICENSE.txt} +1 -8
  146. imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
  147. imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +2 -0
  148. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js +2 -0
  149. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js.LICENSE.txt +32 -0
  150. imio/smartweb/core/webcomponents/build/js/884.smartweb-webcomponents-compiled.js +1 -0
  151. imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
  152. imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js → 963.smartweb-webcomponents-compiled.js} +2 -2
  153. imio/smartweb/core/webcomponents/build/js/963.smartweb-webcomponents-compiled.js.LICENSE.txt +3 -0
  154. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  155. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js.LICENSE.txt +11 -14
  156. imio/smartweb/core/webcomponents/package.json +42 -40
  157. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.jsx +146 -79
  158. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +415 -351
  159. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactCard/ContactCard.jsx +95 -62
  160. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +328 -168
  161. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactList/ContactList.jsx +21 -4
  162. imio/smartweb/core/webcomponents/src/components/Annuaire/Filters/Filter.jsx +213 -100
  163. imio/smartweb/core/webcomponents/src/components/Annuaire/index.js +1 -1
  164. imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +76 -33
  165. imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +604 -377
  166. imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +29 -4
  167. imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +162 -88
  168. imio/smartweb/core/webcomponents/src/components/Events/Events.scss +496 -378
  169. imio/smartweb/core/webcomponents/src/components/Events/Filters/Filter.jsx +259 -91
  170. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.jsx +62 -55
  171. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.scss +68 -17
  172. imio/smartweb/core/webcomponents/src/components/Filters/IamData.jsx +42 -0
  173. imio/smartweb/core/webcomponents/src/components/Filters/MainFilter.scss +229 -0
  174. imio/smartweb/core/webcomponents/src/components/Filters/PublicTargetData.jsx +94 -0
  175. imio/smartweb/core/webcomponents/src/components/Filters/SelectStyles.js +58 -0
  176. imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.jsx +149 -0
  177. imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.scss +70 -0
  178. imio/smartweb/core/webcomponents/src/components/News/Filters/Filter.jsx +139 -83
  179. imio/smartweb/core/webcomponents/src/components/News/News.jsx +133 -67
  180. imio/smartweb/core/webcomponents/src/components/News/News.scss +170 -127
  181. imio/smartweb/core/webcomponents/src/components/News/NewsCard/NewsCard.jsx +76 -44
  182. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +261 -188
  183. imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +48 -9
  184. imio/smartweb/core/webcomponents/src/components/Search/ContactResult/ContactResult.jsx +21 -10
  185. imio/smartweb/core/webcomponents/src/components/Search/EventsResult/EventsResult.jsx +21 -10
  186. imio/smartweb/core/webcomponents/src/components/Search/Filters/Filter.jsx +8 -9
  187. imio/smartweb/core/webcomponents/src/components/Search/NewsResult/NewsResult.jsx +23 -12
  188. imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +7 -6
  189. imio/smartweb/core/webcomponents/src/components/Search/Search.scss +115 -96
  190. imio/smartweb/core/webcomponents/src/components/Search/WebResult/WebResult.jsx +12 -3
  191. imio/smartweb/core/webcomponents/src/components/Search/index.js +1 -1
  192. imio/smartweb/core/webcomponents/src/hooks/ScrollContext.jsx +3 -0
  193. imio/smartweb/core/webcomponents/src/hooks/useAxios.js +3 -3
  194. imio/smartweb/core/webcomponents/src/hooks/useFilterQuery.js +1 -2
  195. imio/smartweb/core/webcomponents/src/index.scss +255 -211
  196. imio/smartweb/core/webcomponents/src/utils/Map.jsx +26 -19
  197. imio/smartweb/core/webcomponents/src/utils/Map.scss +2 -2
  198. imio/smartweb/core/webcomponents/src/utils/translation.js +129 -9
  199. imio.smartweb.core-1.2.80-py3.8-nspkg.pth +2 -0
  200. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/METADATA +410 -10
  201. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/RECORD +207 -161
  202. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/WHEEL +1 -1
  203. imio/smartweb/core/webcomponents/build/assets/location-bla.1423bcce16ddcb21141430cac1428dc1.svg +0 -1
  204. imio/smartweb/core/webcomponents/build/assets/next-react-white.819cb069ac8eec300a9db6a7707712d6.svg +0 -1
  205. imio/smartweb/core/webcomponents/build/assets/next-react.17bc43ff4a6a86f4520f5782f6a89a72.svg +0 -1
  206. imio/smartweb/core/webcomponents/build/assets/search.57bdbf5b191499cd77514097d1c4972c.svg +0 -1
  207. imio/smartweb/core/webcomponents/build/css/686.smartweb-webcomponents-compiled.css +0 -1
  208. imio/smartweb/core/webcomponents/build/js/209.smartweb-webcomponents-compiled.js +0 -2
  209. imio/smartweb/core/webcomponents/build/js/40.smartweb-webcomponents-compiled.js +0 -1
  210. imio/smartweb/core/webcomponents/build/js/674.smartweb-webcomponents-compiled.js +0 -2
  211. imio/smartweb/core/webcomponents/build/js/686.smartweb-webcomponents-compiled.js +0 -1
  212. imio/smartweb/core/webcomponents/src/assets/facebook-news.svg +0 -1
  213. imio/smartweb/core/webcomponents/src/assets/location-bla.svg +0 -1
  214. imio/smartweb/core/webcomponents/src/assets/next-react.svg +0 -1
  215. imio/smartweb/core/webcomponents/src/assets/search.svg +0 -1
  216. imio/smartweb/core/webcomponents/src/assets/skeleton.svg +0 -1
  217. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/download.svg +0 -1
  218. imio.smartweb.core-1.2.38-py3.8-nspkg.pth +0 -3
  219. /imio/smartweb/core/webcomponents/build/js/{209.smartweb-webcomponents-compiled.js.LICENSE.txt → 824.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  220. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/LICENSE.GPL +0 -0
  221. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/LICENSE.rst +0 -0
  222. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/namespace_packages.txt +0 -0
  223. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/top_level.txt +0 -0
@@ -1,441 +1,505 @@
1
- html, body {
2
- max-width: 100%;
3
- overflow-x: initial!important;
1
+ html,
2
+ body {
3
+ max-width: 100%;
4
+ overflow-x: initial !important;
4
5
  }
5
- .row{
6
- padding: 0;
7
- margin: 0;
6
+
7
+ .row {
8
+ padding: 0;
9
+ margin: 0;
8
10
  }
11
+
9
12
  .breadcrumb {
10
- padding: 0;
13
+ padding: 0;
11
14
  }
15
+
12
16
  // FOR SCROLL
13
17
 
14
18
  body .outer-wrapper {
15
- & > .container{
16
- max-width: 100%!important;
17
- padding: 0!important;
18
-
19
- }
20
- }
21
- .r-annuaire-wrapper{
22
- @media screen and (min-width:1200px) {
23
- max-width: 100%;
24
- margin-right: inherit;
25
- padding-right: 0;
26
- padding-left: 0;
27
- }
28
- }
29
- #portal-column-content{
30
- padding: 0!important;
19
+ & > .container {
20
+ max-width: 100% !important;
21
+ padding: 0 !important;
22
+ }
31
23
  }
32
- .r-result-filter-container{
33
- @media screen and (min-width:1200px) {
34
- position: sticky;
35
- }
36
- background: #fff;
37
- z-index: 1;
24
+
25
+ .r-annuaire-wrapper {
26
+ @media screen and (min-width: 1200px) {
27
+ max-width: 100%;
28
+ margin-right: inherit;
29
+ padding-right: 0;
30
+ padding-left: 0;
31
+ }
38
32
  }
39
- .annuaire-result-filter{
40
- padding: 0 .75rem;
33
+
34
+ #portal-column-content {
35
+ padding: 0 !important;
41
36
  }
42
- #portal-column-content{
43
- h1{
44
- font-size: 0px;
45
- position: absolute;
46
- }
37
+
38
+ #portal-column-content {
39
+ h1 {
40
+ font-size: 0px;
41
+ position: absolute;
42
+ }
47
43
  }
48
44
 
49
45
  header#content-header {
50
- position: sticky;
51
- top: 0;
52
- background: #fff;
46
+ position: sticky;
47
+ top: 0;
48
+ background: #fff;
53
49
  }
54
50
 
55
- #viewlet-below-content-title,#viewlet-below-content-description{
56
- display: none;
51
+ #viewlet-below-content-title,
52
+ #viewlet-below-content-description {
53
+ display: none;
57
54
  }
55
+
58
56
  article > header {
59
- margin-bottom: 0px;
57
+ margin-bottom: 0px;
60
58
  }
61
59
 
62
- .r-annuaire-result{
63
- grid-area: 1 / 1 / 3 / 2;
64
- }
65
- .r-map.annuaire-map{
66
- position: sticky;
67
- grid-area: 1 / 2 / 2 / 3;
60
+ .r-annuaire-result {
61
+ grid-area: 1 / 1 / 3 / 2;
68
62
  }
69
63
 
64
+ .r-map.annuaire-map {
65
+ position: sticky;
66
+ grid-area: 1 / 2 / 2 / 3;
67
+ }
70
68
 
71
69
  /////////
72
70
 
71
+ .r-wrapper {
72
+ display: block;
73
73
 
74
+ @media screen and (min-width: 1200px) {
75
+ display: grid;
76
+ grid-template-columns: minmax(20px, 800px) minmax(20px, 100%);
77
+ justify-content: space-between;
78
+ width: calc(558px + 50vw);
79
+ margin-left: auto;
80
+ gap: 40px;
81
+ }
74
82
 
75
- .r-results-numbers{
76
- width: 100%;
77
- margin-bottom: 0.5rem;
78
- span{
79
- font-weight: bold;
80
- }
81
- }
83
+ @media screen and (min-width: 1400px) {
84
+ width: calc(648px + 50vw);
85
+ }
82
86
 
83
- .r-wrapper{
84
- display: block;
85
- @media screen and (min-width:1200px){
86
- display: grid;
87
- grid-template-columns: minmax(20px, 800px) minmax(20px, 100%);
88
- justify-content: space-between;
89
- width: calc(558px + 50vw);
90
- margin-left: auto;
91
- gap: 40px;
92
- }
93
- @media screen and (min-width:1400px){
94
- width: calc(648px + 50vw);
95
- }
96
- .r-result{
97
- padding-bottom: 2rem;
98
- &-list{
99
- padding:0;
100
- .r-list-item-group{
101
- position: relative;
102
- list-style: none;
103
- margin:1rem 0;
104
- .r-list-item-link{
105
- inset: 0px !important;
106
- position: absolute !important;
107
- }
108
- .r-list-item{
109
- display: flex;
110
- height: 100%;
111
- flex-direction: column;
112
- @media screen and (min-width:600px){
113
- flex-direction: row;
114
- }
115
- .r-item-img{
116
- width: 100%;
117
- padding-bottom: 56%;
118
- position: relative;
119
- z-index: -1;
120
- background-color: #000;
121
- @media screen and (min-width:600px){
122
- width: 246px;
123
- height: 149px;
124
- padding-bottom: 0;
125
- flex: 246px 0 0;
126
- }
127
- background-size: cover;
128
- border-radius: 5px;
129
- div,img {
130
- border-radius: 5px;
131
- }
132
- }
133
- .r-item-text{
134
- margin-top: 0.6rem;
135
- @media screen and (min-width:600px){
136
- margin-left: 1.5rem;
137
- margin-top: 0;
138
- }
139
- flex-grow: 1;
140
- a{
141
- position: relative;
142
- }
143
- .r-item-title{
144
- font-weight: bold;
145
- display: block;
146
- }
147
- .r-item-categorie{
148
- display: block;
149
- }
150
- .r-item-all{
151
- display: flex;
152
- gap: 10px;
153
- .r-item-adresse{
154
- width: 36%;
155
- }
156
- .phones {
157
- display: flex;
158
- gap: 0 5px;
159
- flex-wrap: wrap;
160
- }
161
- .mails{
162
- display: flex;
163
- flex-direction: column;
164
- }
87
+ .r-result {
88
+ padding-bottom: 2rem;
89
+
90
+ &-list {
91
+ padding: 0;
92
+
93
+ .r-list-item-group {
94
+ position: relative;
95
+ list-style: none;
96
+ margin: 1rem 0;
97
+
98
+ .r-list-item-link {
99
+ inset: 0px !important;
100
+ position: absolute !important;
101
+ }
102
+
103
+ .r-list-item {
104
+ display: flex;
105
+ height: 100%;
106
+ flex-direction: column;
107
+
108
+ @media screen and (min-width: 600px) {
109
+ flex-direction: row;
110
+ }
111
+
112
+ .r-item-img {
113
+ width: 100%;
114
+ padding-bottom: 56%;
115
+ position: relative;
116
+ z-index: -1;
117
+ background-color: #000;
118
+ background-size: cover;
119
+ border-radius: 5px;
120
+ &.r-item-img-placeholder {
121
+ background-color: #f2f2f2;
122
+ }
123
+
124
+ @media screen and (min-width: 600px) {
125
+ width: 246px;
126
+ height: 149px;
127
+ padding-bottom: 0;
128
+ flex: 246px 0 0;
129
+ }
130
+
131
+ div,
132
+ img {
133
+ border-radius: 5px;
134
+ }
135
+ }
136
+
137
+ .r-item-text {
138
+ margin-top: 0.6rem;
139
+ flex-grow: 1;
140
+
141
+ @media screen and (min-width: 600px) {
142
+ margin-left: 1.5rem;
143
+ margin-top: 0;
144
+ }
145
+
146
+ a {
147
+ position: relative;
148
+ }
149
+
150
+ .r-item-title {
151
+ font-weight: bold;
152
+ display: block;
153
+ }
154
+
155
+ .r-item-categorie {
156
+ display: block;
157
+ }
158
+
159
+ .r-item-all {
160
+ display: flex;
161
+ gap: 10px;
162
+
163
+ .r-item-adresse {
164
+ width: 36%;
165
+ }
166
+
167
+ .phones {
168
+ display: flex;
169
+ gap: 0 5px;
170
+ flex-wrap: wrap;
171
+ }
172
+
173
+ .mails {
174
+ display: flex;
175
+ flex-direction: column;
176
+ }
177
+ }
178
+ }
179
+ }
165
180
  }
166
- }
167
181
  }
168
- }
169
182
  }
170
- }
171
183
  }
172
184
 
173
185
  // content
174
186
  .r-content-description {
175
- border-bottom: solid 1px #e6e6e6;
187
+ border-bottom: solid 1px #e6e6e6;
176
188
  }
189
+
177
190
  .contactTextAll {
178
- margin-top: 1rem;
179
- position: relative;
180
- @media screen and (min-width:700px) {
181
- padding-right: 128px;
182
- }
191
+ margin-top: 1rem;
192
+ position: relative;
193
+
194
+ @media screen and (min-width: 700px) {
195
+ padding-right: 128px;
196
+ }
197
+
183
198
  .annuaire-logo {
184
- margin-top: .5rem;
185
- max-width: 128px;
186
- @media screen and (min-width:700px) {
187
- position: absolute;
188
- top: 0;
189
- right: 0;
190
- }
199
+ margin-top: 0.5rem;
200
+ max-width: 128px;
201
+
202
+ @media screen and (min-width: 700px) {
203
+ position: absolute;
204
+ top: 0;
205
+ right: 0;
206
+ }
191
207
  }
192
208
  }
209
+
193
210
  .annuaire-info-title {
194
- font-weight: bold;
195
- }
196
- .annuaire-website-link,.annaire-adresse,.annuaire-phone,.annuaire-website-mails,.annuaire-social-link,.annuaire-schedul {
197
- display: flex;
198
- gap: 10px;
199
- align-items: first baseline;
200
- margin-bottom: .5rem;
201
- a {
202
- text-decoration: none;
203
- }
211
+ font-weight: bold;
204
212
  }
205
- .annuaire-phone,.annuaire-website-mails {
206
- span {
207
- display: block;
208
- font-weight: 500;
213
+
214
+ .annuaire-website-link,
215
+ .annaire-adresse,
216
+ .annuaire-phone,
217
+ .annuaire-website-mails,
218
+ .annuaire-social-link,
219
+ .annuaire-schedul {
220
+ display: flex;
221
+ gap: 10px;
222
+ align-items: first baseline;
223
+ margin-bottom: 0.5rem;
224
+
209
225
  a {
210
- font-weight: 400;
226
+ text-decoration: none;
211
227
  }
212
- }
213
228
  }
214
- .annuaire-website-mails {
215
-
216
- div{
217
229
 
230
+ .annuaire-phone,
231
+ .annuaire-website-mails {
218
232
  span {
219
- display: block;
233
+ display: block;
234
+ font-weight: 500;
235
+
236
+ a {
237
+ font-weight: 400;
238
+ }
220
239
  }
221
- }
222
240
  }
223
241
 
242
+ .annuaire-website-mails {
243
+ div {
244
+ span {
245
+ display: block;
246
+ }
247
+ }
248
+ }
224
249
 
225
250
  .annuaire-social-link {
226
- margin: .5rem 0;
227
- ul{
228
- display: flex;
229
- gap: 10px;
230
- margin:0;
231
- li{
232
- list-style: none;
251
+ margin: 0.5rem 0;
252
+
253
+ ul {
254
+ display: flex;
255
+ gap: 10px;
256
+ margin: 0;
257
+
258
+ li {
259
+ list-style: none;
260
+ }
233
261
  }
234
- }
235
262
  }
236
263
 
237
264
  .annuaire-website-link {
238
- // display: flex;
239
- // gap: 10px;
240
- // position: relative;
241
- // overflow: hidden;
242
- // margin: .5rem 0;
243
- ul{
244
265
  // display: flex;
245
- // flex-direction: row;
246
- // flex-wrap: wrap;
247
- // margin-left: -.5em;
248
- // margin-bottom: 0;
249
- li {
250
- // padding: 0 .5em;
251
- // text-align: center;
252
- // border-left: 1.5px solid #000;
253
- // background-color: #fff;
254
- list-style: none;
255
- // line-height: 0.8;
256
- // margin: .3rem 0;
266
+ // gap: 10px;
267
+ // position: relative;
268
+ // overflow: hidden;
269
+ // margin: .5rem 0;
270
+ ul {
271
+ // display: flex;
272
+ // flex-direction: row;
273
+ // flex-wrap: wrap;
274
+ // margin-left: -.5em;
275
+ // margin-bottom: 0;
276
+ li {
277
+ // padding: 0 .5em;
278
+ // text-align: center;
279
+ // border-left: 1.5px solid #000;
280
+ // background-color: #fff;
281
+ list-style: none;
282
+ // line-height: 0.8;
283
+ // margin: .3rem 0;
284
+ }
257
285
  }
258
- }
259
286
  }
260
287
 
261
288
  .annuaire-day-close {
262
- color: #e61d1d;
289
+ color: #e61d1d;
263
290
  }
291
+
264
292
  .annuaire-day-open {
265
- color:rgba(129,201,149,1.0);
293
+ color: rgba(129, 201, 149, 1);
266
294
  }
295
+
267
296
  .annuaire-schedul {
268
- li {
269
- list-style: none;
270
- }
297
+ li {
298
+ list-style: none;
299
+ }
271
300
  }
301
+
272
302
  // FOR BLA
273
303
 
274
- .r-wrapper{
275
-
276
- .r-result{
277
- &-list{
278
- .r-list-item-group{
279
- .r-list-item{
280
- .r-item-img{
281
- }
282
- .r-item-text{
283
- font-size: 13px;
284
- &:after{
285
- content: "";
286
- width: 50px;
287
- height: 50px;
288
- background: yellow;
289
- border-radius: 50px;
290
- }
291
- .r-item-title{
292
- font-size: 18px;
293
- }
294
- .r-item-categorie{
295
- margin-bottom: 5px;
296
- }
297
- .r-item-all{
298
- color: #727272;
299
-
300
- a{
301
- color: #000;
302
- }
303
- .r-item-adresse{
304
- .itineraty{
305
- margin-top: 5px;
306
- &:before{
307
- content: "";
308
- width: 15px;
309
- height: 15px;
310
- display: inline-block;
311
- background-size: contain;
312
- background: url(../../assets/location-bla.svg) no-repeat;
313
- vertical-align: middle;
314
- }
304
+ .r-wrapper {
305
+ .r-result {
306
+ &-list {
307
+ .r-list-item-group {
308
+ .r-list-item {
309
+ .r-item-img {
310
+ }
311
+
312
+ .r-item-text {
313
+ font-size: 13px;
314
+
315
+ &:after {
316
+ content: "";
317
+ width: 50px;
318
+ height: 50px;
319
+ background: yellow;
320
+ border-radius: 50px;
321
+ }
322
+
323
+ .r-item-title {
324
+ font-size: 18px;
325
+ }
326
+
327
+ .r-item-categorie {
328
+ margin-bottom: 5px;
329
+ }
330
+
331
+ .r-item-all {
332
+ color: #727272;
333
+
334
+ a {
335
+ color: #000;
336
+ }
337
+
338
+ .r-item-adresse {
339
+ .itineraty {
340
+ margin-top: 5px;
341
+
342
+ &:before {
343
+ content: "";
344
+ width: 15px;
345
+ height: 15px;
346
+ display: inline-block;
347
+ background-size: contain;
348
+ 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")
349
+ no-repeat;
350
+ vertical-align: middle;
351
+ }
352
+ }
353
+ }
354
+
355
+ .r-item-contact {
356
+ width: 100%;
357
+ .topics {
358
+ margin-top: 10px;
359
+ span {
360
+ padding: 5px;
361
+ background: #f1f1f1;
362
+ border-radius: 5px;
363
+ margin-right: 5px;
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
315
369
  }
316
- }
317
- .r-item-contact{
318
- width: 100%;
319
- }
320
370
  }
321
- }
322
371
  }
323
- }
324
372
  }
325
- }
326
-
327
373
  }
328
374
 
329
- .r-load-more{
330
- margin-bottom: 2rem;
331
- text-align: center;
332
- button{
333
- background: #000;
334
- border: solid 1px transparent;
335
- color: #fff;
336
- padding: 0.4rem 1rem;
337
- border-radius: 10px;
338
- border-bottom-left-radius: 10px;
339
- border-bottom-left-radius: 0px;
340
- font-weight: bold;
341
- font-size: 14px;
342
- margin: 0 auto;
343
- display: block;
344
- &:hover{
345
- background: rgba(0, 0, 0, 0.871);
346
- }
347
- }
348
- }
349
- .r-map{
350
- @media screen and (max-width:1200px){
351
- margin-top: 2rem!important;
352
- }
353
- .leaflet-container{
354
- @media screen and (max-width:1200px){
355
- height: 50vh!important;
375
+ .r-load-more {
376
+ margin-bottom: 2rem;
377
+ text-align: center;
378
+
379
+ button {
380
+ background: #000;
381
+ border: solid 1px transparent;
382
+ color: #fff;
383
+ padding: 0.4rem 1rem;
384
+ border-radius: 10px;
385
+ border-bottom-left-radius: 10px;
386
+ border-bottom-left-radius: 0px;
387
+ font-weight: bold;
388
+ font-size: 14px;
389
+ margin: 0 auto;
390
+ display: block;
391
+
392
+ &:hover {
393
+ background: rgba(0, 0, 0, 0.871);
394
+ }
356
395
  }
357
- }
358
396
  }
359
397
 
398
+ .r-map {
399
+ @media screen and (max-width: 1200px) {
400
+ margin-top: 2rem !important;
401
+ }
360
402
 
403
+ .leaflet-container {
404
+ @media screen and (max-width: 1200px) {
405
+ height: 50vh !important;
406
+ }
407
+ }
408
+ }
361
409
 
362
410
  // // No Map
363
411
  // // Main
364
412
  .no-map {
365
- @media screen and (min-width: 600px) {
366
- .r-annuaire-wrapper {
367
- display: block;
368
- }
369
- .r-wrapper {
370
- .r-result-list {
371
- max-width: 1296px;
372
- display: grid;
373
- grid-template-columns: repeat(auto-fill,minmax(244px,1fr));
374
- gap: 20px;
375
- }
376
- .r-list-item-group {
377
- display: block!important;
378
- transition: all .2s ease;
379
- &:hover,&:focus {
380
- transform: translateY(-10px)!important;
381
- }
382
- .r-list-item {
383
- flex-direction: column!important;
384
- box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
385
- .r-item-img {
386
- flex: inherit;
387
- width: 100%!important;
388
- aspect-ratio: 5 / 3;
389
- margin-bottom: 0;
390
- height: auto;
391
- }
392
- .r-item-text {
393
- display: block;
394
- margin-right: 1.5rem;
395
- margin-bottom: .5rem;
396
- margin-top: .5rem;
397
- &:after {
398
- display: none;
399
- }
400
- .r-item-categorie {
401
- margin-bottom: .25rem;
402
- margin-top: .25rem;
403
- }
404
- .r-item-title {
405
- margin-bottom: .25rem;
406
- margin-top: .25rem;
407
- font-size: 16px;
408
- }
409
- .r-item-all {
410
- display: block!important;
411
- .r-item-adresse {
412
- margin-bottom: .25rem;
413
- margin-top: .25rem;
414
- width: auto;
415
- }
416
- .phones{
413
+ @media screen and (min-width: 600px) {
414
+ .r-annuaire-wrapper {
415
+ display: block;
416
+ }
417
417
 
418
+ .r-wrapper {
419
+ .r-result-list {
420
+ max-width: 1296px;
421
+ display: grid;
422
+ grid-template-columns: repeat(auto-fill, minmax(244px, 1fr));
423
+ gap: 20px;
424
+ }
425
+
426
+ .r-list-item-group {
427
+ display: block !important;
428
+ transition: all 0.2s ease;
429
+
430
+ &:hover,
431
+ &:focus {
432
+ transform: translateY(-10px) !important;
433
+ }
434
+
435
+ .r-list-item {
436
+ flex-direction: column !important;
437
+ box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
438
+
439
+ .r-item-img {
440
+ flex: inherit;
441
+ width: 100% !important;
442
+ aspect-ratio: 5 / 3;
443
+ margin-bottom: 0;
444
+ height: auto;
418
445
  }
419
- .mails,.phones,.topics {
420
- margin-bottom: .25rem;
421
- margin-top: .25rem;
446
+
447
+ .r-item-text {
448
+ display: block;
449
+ margin-right: 1.5rem;
450
+ margin-bottom: 0.5rem;
451
+ margin-top: 0.5rem;
452
+
453
+ &:after {
454
+ display: none;
455
+ }
456
+
457
+ .r-item-categorie {
458
+ margin-bottom: 0.25rem;
459
+ margin-top: 0.25rem;
460
+ }
461
+
462
+ .r-item-title {
463
+ margin-bottom: 0.25rem;
464
+ margin-top: 0.25rem;
465
+ font-size: 16px;
466
+ }
467
+
468
+ .r-item-all {
469
+ display: block !important;
470
+
471
+ .r-item-adresse {
472
+ margin-bottom: 0.25rem;
473
+ margin-top: 0.25rem;
474
+ width: auto;
475
+ }
476
+
477
+ .phones {
478
+ }
479
+
480
+ .mails,
481
+ .phones,
482
+ .topics {
483
+ margin-bottom: 0.25rem;
484
+ margin-top: 0.25rem;
485
+ }
486
+ }
422
487
  }
423
- }
424
- }
425
- }
426
- }
488
+ }
489
+ }
490
+ }
427
491
  }
428
- }
429
492
  }
430
493
 
431
494
  // content
432
495
 
433
496
  .no-map {
434
- .r-result.r-annuaire-result {
435
- max-width: 1296px;
436
- }
437
- .annuaire-content {
438
- max-width: 700px;
439
- margin: 0 auto;
440
- }
441
- }
497
+ .r-result.r-annuaire-result {
498
+ max-width: 1296px;
499
+ }
500
+
501
+ .annuaire-content {
502
+ max-width: 700px;
503
+ margin: 0 auto;
504
+ }
505
+ }