@imiobe/plonetheme-smartweb-base 0.0.2 → 0.0.5
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.
- package/assets/fonts/roboto-black.svg +8767 -0
- package/assets/fonts/roboto-black.ttf +0 -0
- package/assets/fonts/roboto-black.woff +0 -0
- package/assets/fonts/roboto-black.woff2 +0 -0
- package/assets/fonts/roboto-blackitalic.eot +0 -0
- package/assets/fonts/roboto-blackitalic.svg +8767 -0
- package/assets/fonts/roboto-blackitalic.ttf +0 -0
- package/assets/fonts/roboto-blackitalic.woff +0 -0
- package/assets/fonts/roboto-blackitalic.woff2 +0 -0
- package/assets/fonts/roboto-bold.eot +0 -0
- package/assets/fonts/roboto-bold.svg +8758 -0
- package/assets/fonts/roboto-bold.ttf +0 -0
- package/assets/fonts/roboto-bold.woff +0 -0
- package/assets/fonts/roboto-bold.woff2 +0 -0
- package/assets/fonts/roboto-bolditalic.eot +0 -0
- package/assets/fonts/roboto-bolditalic.svg +8756 -0
- package/assets/fonts/roboto-bolditalic.ttf +0 -0
- package/assets/fonts/roboto-bolditalic.woff +0 -0
- package/assets/fonts/roboto-bolditalic.woff2 +0 -0
- package/assets/fonts/roboto-italic.eot +0 -0
- package/assets/fonts/roboto-italic.svg +8263 -0
- package/assets/fonts/roboto-italic.ttf +0 -0
- package/assets/fonts/roboto-italic.woff +0 -0
- package/assets/fonts/roboto-italic.woff2 +0 -0
- package/assets/fonts/roboto-light.eot +0 -0
- package/assets/fonts/roboto-light.svg +8273 -0
- package/assets/fonts/roboto-light.ttf +0 -0
- package/assets/fonts/roboto-light.woff +0 -0
- package/assets/fonts/roboto-light.woff2 +0 -0
- package/assets/fonts/roboto-lightitalic.eot +0 -0
- package/assets/fonts/roboto-lightitalic.svg +8273 -0
- package/assets/fonts/roboto-lightitalic.ttf +0 -0
- package/assets/fonts/roboto-lightitalic.woff +0 -0
- package/assets/fonts/roboto-lightitalic.woff2 +0 -0
- package/assets/fonts/roboto-medium.eot +0 -0
- package/assets/fonts/roboto-medium.svg +8767 -0
- package/assets/fonts/roboto-medium.ttf +0 -0
- package/assets/fonts/roboto-medium.woff +0 -0
- package/assets/fonts/roboto-medium.woff2 +0 -0
- package/assets/fonts/roboto-mediumitalic.eot +0 -0
- package/assets/fonts/roboto-mediumitalic.svg +8767 -0
- package/assets/fonts/roboto-mediumitalic.ttf +0 -0
- package/assets/fonts/roboto-mediumitalic.woff +0 -0
- package/assets/fonts/roboto-mediumitalic.woff2 +0 -0
- package/assets/fonts/roboto-regular.eot +0 -0
- package/assets/fonts/roboto-regular.svg +8265 -0
- package/assets/fonts/roboto-regular.ttf +0 -0
- package/assets/fonts/roboto-regular.woff +0 -0
- package/assets/fonts/roboto-regular.woff2 +0 -0
- package/assets/fonts/roboto-thin.eot +0 -0
- package/assets/fonts/roboto-thin.svg +8334 -0
- package/assets/fonts/roboto-thin.ttf +0 -0
- package/assets/fonts/roboto-thin.woff +0 -0
- package/assets/fonts/roboto-thin.woff2 +0 -0
- package/assets/fonts/roboto-thinitalic.eot +0 -0
- package/assets/fonts/roboto-thinitalic.svg +8334 -0
- package/assets/fonts/roboto-thinitalic.ttf +0 -0
- package/assets/fonts/roboto-thinitalic.woff +0 -0
- package/assets/fonts/roboto-thinitalic.woff2 +0 -0
- package/assets/fonts/robotocondensed-bold.eot +0 -0
- package/assets/fonts/robotocondensed-bold.svg +8802 -0
- package/assets/fonts/robotocondensed-bold.ttf +0 -0
- package/assets/fonts/robotocondensed-bold.woff +0 -0
- package/assets/fonts/robotocondensed-bold.woff2 +0 -0
- package/assets/fonts/robotocondensed-bolditalic.eot +0 -0
- package/assets/fonts/robotocondensed-bolditalic.svg +8802 -0
- package/assets/fonts/robotocondensed-bolditalic.ttf +0 -0
- package/assets/fonts/robotocondensed-bolditalic.woff +0 -0
- package/assets/fonts/robotocondensed-bolditalic.woff2 +0 -0
- package/assets/fonts/robotocondensed-italic.eot +0 -0
- package/assets/fonts/robotocondensed-italic.svg +8308 -0
- package/assets/fonts/robotocondensed-italic.ttf +0 -0
- package/assets/fonts/robotocondensed-italic.woff +0 -0
- package/assets/fonts/robotocondensed-italic.woff2 +0 -0
- package/assets/fonts/robotocondensed-light.eot +0 -0
- package/assets/fonts/robotocondensed-light.svg +8308 -0
- package/assets/fonts/robotocondensed-light.ttf +0 -0
- package/assets/fonts/robotocondensed-light.woff +0 -0
- package/assets/fonts/robotocondensed-light.woff2 +0 -0
- package/assets/fonts/robotocondensed-lightitalic.eot +0 -0
- package/assets/fonts/robotocondensed-lightitalic.svg +8308 -0
- package/assets/fonts/robotocondensed-lightitalic.ttf +0 -0
- package/assets/fonts/robotocondensed-lightitalic.woff +0 -0
- package/assets/fonts/robotocondensed-lightitalic.woff2 +0 -0
- package/assets/fonts/robotocondensed-regular.eot +0 -0
- package/assets/fonts/robotocondensed-regular.svg +8308 -0
- package/assets/fonts/robotocondensed-regular.ttf +0 -0
- package/assets/fonts/robotocondensed-regular.woff +0 -0
- package/assets/fonts/robotocondensed-regular.woff2 +0 -0
- package/assets/images/wom.jpg +0 -0
- package/assets/svg/arrow-right-blue.svg +7 -0
- package/assets/svg/arrow-right.svg +7 -0
- package/assets/svg/close.svg +1 -0
- package/assets/svg/download-arrow-blue.svg +1 -0
- package/assets/svg/download-arrow.svg +1 -0
- package/assets/svg/drop-down-arrow-blue.svg +1 -0
- package/assets/svg/drop-down-arrow.svg +1 -0
- package/assets/svg/files.svg +1 -0
- package/assets/svg/pdf-file-icon.svg +1 -0
- package/{barceloneta-apple-touch-icon-114x114-precomposed.png → icons/barceloneta-apple-touch-icon-114x114-precomposed.png} +0 -0
- package/{barceloneta-apple-touch-icon-144x144-precomposed.png → icons/barceloneta-apple-touch-icon-144x144-precomposed.png} +0 -0
- package/{barceloneta-apple-touch-icon-57x57-precomposed.png → icons/barceloneta-apple-touch-icon-57x57-precomposed.png} +0 -0
- package/{barceloneta-apple-touch-icon-72x72-precomposed.png → icons/barceloneta-apple-touch-icon-72x72-precomposed.png} +0 -0
- package/{barceloneta-apple-touch-icon-precomposed.png → icons/barceloneta-apple-touch-icon-precomposed.png} +0 -0
- package/{barceloneta-apple-touch-icon.png → icons/barceloneta-apple-touch-icon.png} +0 -0
- package/{barceloneta-favicon.ico → icons/barceloneta-favicon.ico} +0 -0
- package/index.html +8 -7
- package/manifest.cfg +8 -5
- package/package.json +4 -29
- package/rules.xml +4 -1
- package/src/index.js +17 -1
- package/src/scss/_breadcrum.scss +56 -0
- package/src/scss/_edition.scss +4 -0
- package/src/scss/_fonts.scss +21 -0
- package/src/scss/_general.scss +118 -0
- package/src/scss/_header.scss +140 -0
- package/src/scss/_mixin.scss +50 -0
- package/src/scss/_print.scss +9 -0
- package/src/scss/_sitenav.scss +778 -0
- package/src/scss/_sub-sitenav.scss +708 -0
- package/src/scss/_swiper.scss +49 -0
- package/src/scss/_trucaverif.scss +931 -0
- package/src/scss/common/_com-cookies.scss +81 -0
- package/src/scss/common/_com-edition.scss +48 -0
- package/src/scss/common/_com-faceted.scss +184 -0
- package/src/scss/common/_com-footer.scss +5 -0
- package/src/scss/common/_com-list-image.scss +16 -0
- package/src/scss/common/_com-react.scss +69 -0
- package/src/scss/common/_messviewlet.scss +77 -0
- package/src/scss/homepage/_a-la-une.scss +100 -0
- package/src/scss/homepage/_actualites.scss +108 -0
- package/src/scss/homepage/_album.scss +87 -0
- package/src/scss/homepage/_banner.scss +72 -0
- package/src/scss/homepage/_events.scss +121 -0
- package/src/scss/homepage/_general-home.scss +30 -0
- package/src/scss/homepage/_quick-access.scss +77 -0
- package/src/scss/list/_list-block-img.scss +52 -0
- package/src/scss/list/_list-block.scss +74 -0
- package/src/scss/list/_list-img.scss +27 -0
- package/src/scss/list/_list.scss +61 -0
- package/src/scss/main.scss +84 -0
- package/src/scss/sections/_se-contact.scss +146 -0
- package/src/scss/sections/_se-file.scss +192 -0
- package/src/scss/sections/_se-gallery.scss +19 -0
- package/src/scss/sections/_se-link.scss +149 -0
- package/src/scss/sections/_se-linked-content.scss +4 -0
- package/src/scss/sections/_se-plan.scss +3 -0
- package/src/scss/sections/_se-textes.scss +237 -0
- package/src/scss/variables.scss +383 -0
- package/theme.zip +0 -0
- package/theme4.2.zip +0 -0
- package/.prettierrc.json +0 -0
- package/.stylelintrc.json +0 -7
- package/postcss.config.js +0 -7
- package/src/styles/main.scss +0 -15
- package/webpack.config.js +0 -169
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="19.651" height="9.411" viewBox="0 0 19.651 9.411">
|
|
2
|
+
<g id="Groupe_513" data-name="Groupe 513" transform="translate(0.5 0.705)">
|
|
3
|
+
<line id="Ligne_7" data-name="Ligne 7" x2="18.445" transform="translate(0 4)" fill="none" stroke="#008fd2" stroke-linecap="round" stroke-width="1"/>
|
|
4
|
+
<line id="Ligne_8" data-name="Ligne 8" x2="4.611" y2="4" transform="translate(13.834)" fill="none" stroke="#008fd2" stroke-linecap="round" stroke-width="1"/>
|
|
5
|
+
<line id="Ligne_9" data-name="Ligne 9" y1="4" x2="4.611" transform="translate(13.834 4)" fill="none" stroke="#008fd2" stroke-linecap="round" stroke-width="1"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="19.651" height="9.411" viewBox="0 0 19.651 9.411">
|
|
2
|
+
<g id="Groupe_512" data-name="Groupe 512" transform="translate(0.5 0.705)">
|
|
3
|
+
<line id="Ligne_7" data-name="Ligne 7" x2="18.445" transform="translate(0 4)" fill="none" stroke="#000" stroke-linecap="round" stroke-width="1"/>
|
|
4
|
+
<line id="Ligne_8" data-name="Ligne 8" x2="4.611" y2="4" transform="translate(13.834)" fill="none" stroke="#000" stroke-linecap="round" stroke-width="1"/>
|
|
5
|
+
<line id="Ligne_9" data-name="Ligne 9" y1="4" x2="4.611" transform="translate(13.834 4)" fill="none" stroke="#000" stroke-linecap="round" stroke-width="1"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20" aria-hidden="true" focusable="false" class="css-tj5bde-Svg"><path d="M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12.155" height="18.233"><g data-name="Groupe 570"><g data-name="Groupe 569" fill="#008fd2"><path data-name="Tracé 749" d="M5.54 14.972a.856.856 0 0 0 .055.05l.027.02.033.024.033.02.031.018.035.017.033.015.034.012.036.013.035.009.038.009.04.006h.033a.764.764 0 0 0 .15 0h.033l.04-.006.038-.009.035-.009.036-.013.034-.012.033-.015.035-.017.031-.018.033-.02.033-.024.027-.02a.652.652 0 0 0 .055-.05l5.318-5.318A.76.76 0 1 0 10.86 8.58L6.837 12.6V.76a.76.76 0 0 0-1.519 0V12.6L1.297 8.579A.76.76 0 0 0 .223 9.653Z"/><path data-name="Tracé 750" d="M11.395 16.713H.76a.76.76 0 0 0 0 1.519h10.636a.76.76 0 1 0 0-1.519Z"/></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg data-name="Groupe 570" xmlns="http://www.w3.org/2000/svg" width="12.155" height="18.233"><g data-name="Groupe 569" fill="#fff"><path data-name="Tracé 749" d="M5.54 14.972a.856.856 0 0 0 .055.05l.027.02.033.024.033.02.031.018.035.017.033.015.034.012.036.013.035.009.038.009.04.006h.033a.764.764 0 0 0 .15 0h.033l.04-.006.038-.009.035-.009.036-.013.034-.012.033-.015.035-.017.031-.018.033-.02.033-.024.027-.02a.652.652 0 0 0 .055-.05l5.318-5.318A.76.76 0 1 0 10.86 8.58L6.837 12.6V.76a.76.76 0 0 0-1.519 0V12.6L1.297 8.579A.76.76 0 0 0 .223 9.653Z"/><path data-name="Tracé 750" d="M11.395 16.713H.76a.76.76 0 0 0 0 1.519h10.636a.76.76 0 1 0 0-1.519Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="8.444" height="5.2"><path d="M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z" fill="#008fd2" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="8.444" height="5.2"><path d="M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z" fill="#000" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="52.657" height="52.145"><path data-name="Tracé 743" d="M52.224 6.39 46.007.461A1.261 1.261 0 0 0 45.069 0h-24.9a1.321 1.321 0 0 0-1.319 1.319v4.05l-8.776 1.5a1.3 1.3 0 0 0-1.055 1.5l.445 2.6c-2.853.96-5.781 1.95-8.609 2.965a1.306 1.306 0 0 0-.78 1.659L5.7 31.229a.771.771 0 1 0 1.45-.522l-5.541-15.4c2.664-.957 5.423-1.89 8.119-2.8l2.65 15.452 3.05 17.8a1.307 1.307 0 0 0 1.5 1.058l8.26-1.418 6.455-1.106-9.708 3.489-7.655 2.752-5.946-16.538a.771.771 0 1 0-1.452.522l6.03 16.772a1.3 1.3 0 0 0 1.221.855 1.276 1.276 0 0 0 .439-.078l7.885-2.835 17.9-6.436 3.421-.586h7.556a1.322 1.322 0 0 0 1.319-1.322V7.259a1.11 1.11 0 0 0-.433-.869Zm-2.044.183h-3.955c-.185 0-.617 0-.727-.1a.434.434 0 0 1-.055-.266l-.009-4.157Zm.934 34.095H20.392V25.634a.771.771 0 0 0-1.543 0v15.254a1.322 1.322 0 0 0 1.319 1.319H34.65l-9.724 1.667-8.02 1.376L13.9 27.701 10.58 8.352l8.269-1.418v15.121a.771.771 0 0 0 1.543 0V1.543h23.5l.008 4.664a1.837 1.837 0 0 0 .511 1.359 2.359 2.359 0 0 0 1.714.553h4.99Z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34.461" height="35.716"><g fill="#fff"><path data-name="Tracé 736" d="M8.284 14.58H6.069a1.046 1.046 0 0 0-1.046 1.05l.015 7.95a1.046 1.046 0 1 0 2.093 0v-2.413h1.152a3.291 3.291 0 1 0 0-6.581Zm0 4.488H7.126v-2.4h1.157a1.2 1.2 0 1 1 0 2.4Z"/><path data-name="Tracé 737" d="M17.184 14.58h-2.186a1.046 1.046 0 0 0-1.046 1.048s.016 7.691.016 7.719a1.046 1.046 0 0 0 1.046 1.043c.066 0 1.625-.006 2.248-.017 2.364-.041 4.08-2.1 4.08-4.888.005-2.934-1.668-4.905-4.158-4.905Zm.046 7.7c-.271 0-.737.009-1.173.011 0-.909-.009-4.674-.01-5.619h1.137c1.921 0 2.07 2.152 2.07 2.812-.002 1.374-.626 2.772-2.024 2.796Z"/><path data-name="Tracé 738" d="M28.243 16.592a1.046 1.046 0 1 0 0-2.093h-3.2a1.046 1.046 0 0 0-1.046 1.046v7.894a1.046 1.046 0 0 0 2.093 0v-2.975h1.9a1.046 1.046 0 0 0 0-2.093h-1.9v-1.779Z"/><path data-name="Tracé 739" d="M31.322 10.115h-.767v-.3a5.211 5.211 0 0 0-1.435-3.6l-4.347-4.583A5.254 5.254 0 0 0 20.976 0H7.046a3.143 3.143 0 0 0-3.139 3.139v6.976H3.14A3.143 3.143 0 0 0 0 13.254v12.557a3.143 3.143 0 0 0 3.139 3.139h.767v3.627a3.143 3.143 0 0 0 3.139 3.139h20.37a3.143 3.143 0 0 0 3.139-3.139V28.95h.767a3.143 3.143 0 0 0 3.139-3.139V13.254a3.143 3.143 0 0 0-3.138-3.139ZM6 3.139a1.048 1.048 0 0 1 1.046-1.046h13.93a3.152 3.152 0 0 1 2.278.979L27.6 7.657a3.127 3.127 0 0 1 .861 2.16v.3H6Zm22.461 29.438a1.048 1.048 0 0 1-1.046 1.046H7.046A1.048 1.048 0 0 1 6 32.577V28.95h22.461Zm3.906-6.767a1.048 1.048 0 0 1-1.046 1.046H3.139a1.048 1.048 0 0 1-1.046-1.046V13.254a1.048 1.048 0 0 1 1.046-1.046h28.183a1.048 1.048 0 0 1 1.046 1.046Z"/></g></svg>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/index.html
CHANGED
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>Plone Theme</title>
|
|
5
5
|
<link rel="shortcut icon" type="image/x-icon"
|
|
6
|
-
href="barceloneta-favicon.ico" />
|
|
6
|
+
href="icons/barceloneta-favicon.ico" />
|
|
7
7
|
<link rel="apple-touch-icon"
|
|
8
|
-
href="barceloneta-apple-touch-icon.png" />
|
|
8
|
+
href="icons/barceloneta-apple-touch-icon.png" />
|
|
9
9
|
<link rel="apple-touch-icon-precomposed" sizes="144x144"
|
|
10
|
-
href="barceloneta-apple-touch-icon-144x144-precomposed.png" />
|
|
10
|
+
href="icons/barceloneta-apple-touch-icon-144x144-precomposed.png" />
|
|
11
11
|
<link rel="apple-touch-icon-precomposed" sizes="114x114"
|
|
12
|
-
href="barceloneta-apple-touch-icon-114x114-precomposed.png" />
|
|
12
|
+
href="icons/barceloneta-apple-touch-icon-114x114-precomposed.png" />
|
|
13
13
|
<link rel="apple-touch-icon-precomposed" sizes="72x72"
|
|
14
|
-
href="barceloneta-apple-touch-icon-72x72-precomposed.png" />
|
|
14
|
+
href="icons/barceloneta-apple-touch-icon-72x72-precomposed.png" />
|
|
15
15
|
<link rel="apple-touch-icon-precomposed" sizes="57x57"
|
|
16
|
-
href="barceloneta-apple-touch-icon-57x57-precomposed.png" />
|
|
16
|
+
href="icons/barceloneta-apple-touch-icon-57x57-precomposed.png" />
|
|
17
17
|
<link rel="apple-touch-icon-precomposed"
|
|
18
|
-
href="barceloneta-apple-touch-icon-precomposed.png" />
|
|
18
|
+
href="icons/barceloneta-apple-touch-icon-precomposed.png" />
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<section id="portal-toolbar">
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
<div id="anonymous-actions">
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
|
+
<div class="mask-menu"></div>
|
|
31
32
|
</header>
|
|
32
33
|
<div id="mainnavigation-wrapper">
|
|
33
34
|
<div id="mainnavigation">
|
package/manifest.cfg
CHANGED
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
title = Smartweb base theme
|
|
3
3
|
description = A Diazo based Plone theme
|
|
4
4
|
preview = preview.png
|
|
5
|
-
rules = /++theme++
|
|
6
|
-
prefix = /++theme++
|
|
5
|
+
rules = /++theme++base/rules.xml
|
|
6
|
+
prefix = /++theme++base
|
|
7
7
|
doctype = <!DOCTYPE html>
|
|
8
8
|
|
|
9
9
|
enabled-bundles =
|
|
10
10
|
disabled-bundles =
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
development-js = /++theme++base/dist/js/theme.js
|
|
13
|
+
development-css = /++theme++base/dist/css/theme.css
|
|
14
|
+
|
|
15
|
+
production-js = /++theme++base/dist/js/theme.js
|
|
16
|
+
production-css = /++theme++base/dist/css/theme.css
|
|
17
|
+
tinymce-content-css = /++theme++base/dist/css/theme.css
|
|
15
18
|
|
|
16
19
|
|
|
17
20
|
#[theme:overrides]
|
package/package.json
CHANGED
|
@@ -23,43 +23,18 @@
|
|
|
23
23
|
"plone",
|
|
24
24
|
"smartweb"
|
|
25
25
|
],
|
|
26
|
-
"version": "0.0.
|
|
26
|
+
"version": "0.0.5",
|
|
27
27
|
"license": "GPL version 2",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"stylelint": "npx stylelint 'src/**/*.{css,less}' 'src/**/*.{css,less}",
|
|
30
30
|
"stylelint:fix": "npx stylelint 'src/**/*.{css,less}' --fix",
|
|
31
31
|
"prettier": "npx prettier --single-quote --check 'src/**/*.{js,jsx,ts,tsx,json,css,scss,sass}'",
|
|
32
32
|
"prettier:fix": "npx prettier --single-quote --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,sass}'",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"webpack-serve": "webpack serve --mode=development --progress",
|
|
36
|
-
"watch": "concurrently --names \"PLONE,WEBPACK\" -c \"bgBlue.bold,bgMagenta.bold\" \"../../../bin/instance fg\" \"npm:webpack-serve\""
|
|
33
|
+
"dry-release": "release-it --dry-run",
|
|
34
|
+
"release": "release-it"
|
|
37
35
|
},
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"@plone/plonetheme-barceloneta-base": "^3.0.0-alpha9",
|
|
40
|
-
"
|
|
41
|
-
"babel-loader": "^8.2.3",
|
|
42
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
43
|
-
"concurrently": "^7.0.0",
|
|
44
|
-
"copy-webpack-plugin": "^10.2.4",
|
|
45
|
-
"css-loader": "^6.6.0",
|
|
46
|
-
"css-minimizer-webpack-plugin": "^3.4.1",
|
|
47
|
-
"file-loader": "^6.2.0",
|
|
48
|
-
"mini-css-extract-plugin": "^2.5.3",
|
|
49
|
-
"postcss": "^8.4.7",
|
|
50
|
-
"postcss-loader": "^6.2.1",
|
|
51
|
-
"prettier": "^2.5.1",
|
|
52
|
-
"release-it": "^14.12.5",
|
|
53
|
-
"sass": "^1.49.9",
|
|
54
|
-
"sass-loader": "^12.6.0",
|
|
55
|
-
"style-loader": "^3.3.1",
|
|
56
|
-
"stylelint": "^14.5.3",
|
|
57
|
-
"stylelint-config-idiomatic-order": "^8.1.0",
|
|
58
|
-
"stylelint-config-prettier-scss": "^0.0.1",
|
|
59
|
-
"stylelint-config-standard-scss": "^3.0.0",
|
|
60
|
-
"webpack": "^5.69.1",
|
|
61
|
-
"webpack-cli": "^4.9.2",
|
|
62
|
-
"webpack-dev-server": "^4.7.4",
|
|
63
|
-
"zip-webpack-plugin": "^4.0.1"
|
|
38
|
+
"@popperjs/core": "^2.10.2"
|
|
64
39
|
}
|
|
65
40
|
}
|
package/rules.xml
CHANGED
|
@@ -55,7 +55,10 @@
|
|
|
55
55
|
<after css:theme-children="#portal-column-two" css:content-children="#portal-column-two"></after>
|
|
56
56
|
<drop css:theme="#portal-column-two" css:if-not-content="#portal-column-two" />
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
<before
|
|
59
|
+
css:theme-children="#portal-footer"
|
|
60
|
+
css:content=".smartweb_footer"
|
|
61
|
+
/>
|
|
59
62
|
<!-- Footer -->
|
|
60
63
|
<xsl:variable name="footer_portlets" select="//footer[@id='portal-footer-wrapper']//div[@class='portletWrapper']/*[not(contains(@id,'portal-colophon')) and not(contains(@id,'portal-footer-signature')) and not(contains(@class,'portletActions'))]"></xsl:variable>
|
|
61
64
|
<xsl:variable name="footer_portlets_count" select="count($footer_portlets)"></xsl:variable>
|
package/src/index.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./scss/main.scss";
|
|
2
|
+
|
|
3
|
+
$( document ).ready(function() {
|
|
4
|
+
$('#portal-globalnav-collapse').on('show.bs.collapse', function () {
|
|
5
|
+
document.body.classList.add('open-nav-overflow');
|
|
6
|
+
document.documentElement.classList.add('open-nav-overflow');
|
|
7
|
+
})
|
|
8
|
+
$('#portal-globalnav-collapse').on('hidden.bs.collapse', function () {
|
|
9
|
+
document.body.classList.remove('open-nav-overflow');
|
|
10
|
+
document.documentElement.classList.remove('open-nav-overflow');
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
// For custom slider
|
|
14
|
+
// var newsSwiper = $('.sectionnews .swiper')[0].swiper
|
|
15
|
+
// newsSwiper.params.spaceBetween=30;
|
|
16
|
+
// newsSwiper.update();
|
|
17
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// *// BREADCRUMBS //* //
|
|
2
|
+
#portal-breadcrumbs {
|
|
3
|
+
position: relative;
|
|
4
|
+
margin-bottom: 0;
|
|
5
|
+
background-color: $breadcrumb-bg;
|
|
6
|
+
@if $enable-full-width-breacrumb {
|
|
7
|
+
&::after {
|
|
8
|
+
@include full-width;
|
|
9
|
+
|
|
10
|
+
background: $breadcrumb-bg;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.container {
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.breadcrumb {
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
|
|
21
|
+
.breadcrumb-item {
|
|
22
|
+
& + .breadcrumb-item {
|
|
23
|
+
padding-left: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
a {
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&::before {
|
|
31
|
+
padding-right: 0.25rem;
|
|
32
|
+
padding-left: 0.25rem;
|
|
33
|
+
content: ">";
|
|
34
|
+
float: right;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:last-child::before {
|
|
38
|
+
content: "";
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.section-home-page {
|
|
45
|
+
#plone-breadcrumb {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// cacher le breadcrumb à la racine du site
|
|
51
|
+
.section-home-page-bla nav#portal-breadcrumbs,
|
|
52
|
+
.portaltype-imio-smartweb-portalpage #portal-breadcrumbs {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// --- //
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
h1,
|
|
2
|
+
h2,
|
|
3
|
+
h3,
|
|
4
|
+
h4,
|
|
5
|
+
h5,
|
|
6
|
+
h6 {
|
|
7
|
+
font-family: $font-family-title;
|
|
8
|
+
color: $font-title-color;
|
|
9
|
+
font-weight:$font-title-weight;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@if $enable-title-uppercase {
|
|
13
|
+
h1,
|
|
14
|
+
h2,
|
|
15
|
+
h3,
|
|
16
|
+
h4,
|
|
17
|
+
h5,
|
|
18
|
+
h6 {
|
|
19
|
+
text-transform: uppercase;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
ul {
|
|
2
|
+
padding-left: 0;
|
|
3
|
+
}
|
|
4
|
+
.offcanvas-start {
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 95%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.contact_gallery {
|
|
11
|
+
img {
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// affichage horraire
|
|
17
|
+
.section-contact .table_schedule {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
.schedule .opening_informations:after{
|
|
21
|
+
content: "";
|
|
22
|
+
width: 9px;
|
|
23
|
+
height: 6px;
|
|
24
|
+
display: block;
|
|
25
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="8.444" height="5.2"><path fill="black" d="M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z"/></svg>');
|
|
26
|
+
background-size: contain;
|
|
27
|
+
background-position: center;
|
|
28
|
+
background-repeat: no-repeat;
|
|
29
|
+
margin-left: .4rem;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
vertical-align: middle;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
//Cacher le bouton téléverser et l’afficher là ou il est utile
|
|
35
|
+
#content .navbar a#btn-upload {
|
|
36
|
+
visibility: hidden;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.portaltype-imio-smartweb-sectionfiles #content .navbar a#btn-upload,
|
|
40
|
+
.portaltype-imio-smartweb-sectiongallery #content .navbar a#btn-upload,
|
|
41
|
+
.portaltype-imio-smartweb-sectionhtml #content .navbar a#btn-upload{
|
|
42
|
+
visibility: visible;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Aligner le logo et le titre sur les sous-sites
|
|
46
|
+
.subsite-container #subsite-logo a {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.select2-results .select2-highlighted {
|
|
52
|
+
background: #f9f9f9;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// delete description for react view ( check to later )
|
|
56
|
+
.portaltype-imio-smartweb-directoryview,.portaltype-imio-smartweb-newsview,.section-agenda{
|
|
57
|
+
article{
|
|
58
|
+
header{
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// img placeholder
|
|
65
|
+
|
|
66
|
+
.r-item-img-placeholder{
|
|
67
|
+
background: $img-placeholder;
|
|
68
|
+
background-size: cover;
|
|
69
|
+
background-position: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.block-menu-element .newsImage.no-image {
|
|
73
|
+
background: $img-placeholder;
|
|
74
|
+
background-size: cover;
|
|
75
|
+
background-position: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Afficher les intitulés sur une ligne et l’info (numéro de téléphone, email) sur une ligne suivante.
|
|
79
|
+
|
|
80
|
+
.section-contact .contact_informations a {
|
|
81
|
+
display: block;
|
|
82
|
+
}
|
|
83
|
+
.userrole-authenticated.template-edit #content-core .edit .form-label {
|
|
84
|
+
font-weight: 600;
|
|
85
|
+
}
|
|
86
|
+
.linkTypes a#tinymce-autotoc-autotoc-1 {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// backoffie icon
|
|
91
|
+
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-wrap: wrap;
|
|
94
|
+
gap: 1%;
|
|
95
|
+
}
|
|
96
|
+
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .form-text{
|
|
97
|
+
width:100%;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .option {
|
|
101
|
+
position: relative;
|
|
102
|
+
flex-basis: 15%;
|
|
103
|
+
padding: 0.75rem;
|
|
104
|
+
text-align: center;
|
|
105
|
+
}
|
|
106
|
+
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .plone-icon {
|
|
107
|
+
width: auto;
|
|
108
|
+
height: 2.5rem;
|
|
109
|
+
}
|
|
110
|
+
.kssattr-fieldset-icons div#formfield-form-widgets-svg_icon .option label {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
align-items: center;
|
|
114
|
+
font-size:14px;
|
|
115
|
+
}
|
|
116
|
+
.mb-ign-mode-liste-carte{
|
|
117
|
+
z-index:0;
|
|
118
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
#portal-globalnav-wrapper {
|
|
2
|
+
background: transparent;
|
|
3
|
+
}
|
|
4
|
+
.portaltype-imio-smartweb-portalpage #portal-breadcrumbs {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
#portal-header {
|
|
8
|
+
display: block;
|
|
9
|
+
margin-top: 0;
|
|
10
|
+
#portal-header-top {
|
|
11
|
+
@include media-breakpoint-down(lg) {
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
}
|
|
14
|
+
position: relative;
|
|
15
|
+
z-index: 2;
|
|
16
|
+
// display: grid;
|
|
17
|
+
// grid-template-columns: 115px 1fr auto !important;
|
|
18
|
+
// grid-template-areas: "logo menu link";
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
padding: $header-top-padding;
|
|
22
|
+
@if $header-center-nav {
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
#portal-globalnav-wrapper {
|
|
25
|
+
margin-right: 0 !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&:after {
|
|
29
|
+
content: "";
|
|
30
|
+
position: absolute;
|
|
31
|
+
width: 100vw;
|
|
32
|
+
top: 0;
|
|
33
|
+
bottom: 0;
|
|
34
|
+
left: 50%;
|
|
35
|
+
transform: translateX(-50vw);
|
|
36
|
+
z-index: -1;
|
|
37
|
+
background: $header-top-background;
|
|
38
|
+
}
|
|
39
|
+
#portal-logo {
|
|
40
|
+
max-width: $main-logo-max-width;
|
|
41
|
+
margin-top: 0;
|
|
42
|
+
img {
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
#portal-globalnav-wrapper {
|
|
47
|
+
margin: $header-nav-margin;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#header-links {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 26px;
|
|
54
|
+
@include media-breakpoint-up(lg) {
|
|
55
|
+
margin-left: auto;
|
|
56
|
+
}
|
|
57
|
+
@include media-breakpoint-down(lg) {
|
|
58
|
+
order: -2;
|
|
59
|
+
}
|
|
60
|
+
#header-actions {
|
|
61
|
+
@include media-breakpoint-down(lg) {
|
|
62
|
+
display: none !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
a,
|
|
66
|
+
span {
|
|
67
|
+
color: $header-links-color;
|
|
68
|
+
}
|
|
69
|
+
.account {
|
|
70
|
+
margin: $header-links-account-margin;
|
|
71
|
+
padding: $header-links-account-padding;
|
|
72
|
+
border: $header-links-account-border;
|
|
73
|
+
background: $header-links-account-bg;
|
|
74
|
+
&:hover,
|
|
75
|
+
&:focus {
|
|
76
|
+
border: $header-links-account-hover-border;
|
|
77
|
+
background: $header-links-account-hover-bg;
|
|
78
|
+
color: $header-links-account-hover-color !important;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
#search-link {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
a {
|
|
84
|
+
width: 46px;
|
|
85
|
+
height: 46px;
|
|
86
|
+
display: flex;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
align-items: center;
|
|
89
|
+
border: 1px solid #c1c1c1;
|
|
90
|
+
border-radius: 50px;
|
|
91
|
+
&:before {
|
|
92
|
+
content: "";
|
|
93
|
+
width: 14px;
|
|
94
|
+
height: 14px;
|
|
95
|
+
background: $header-search-icon no-repeat;
|
|
96
|
+
background-size: 14px;
|
|
97
|
+
display: block;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
header#content-header {
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@include media-breakpoint-down(lg) {
|
|
110
|
+
.navbar-expand-md .navbar-toggler {
|
|
111
|
+
display: block !important;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// .subsite-container{ ---------------------- POURQUOI clip ???
|
|
116
|
+
// grid-area: sub;
|
|
117
|
+
// overflow-x: clip;
|
|
118
|
+
// }
|
|
119
|
+
|
|
120
|
+
// MASK
|
|
121
|
+
|
|
122
|
+
.mask-menu {
|
|
123
|
+
position: fixed;
|
|
124
|
+
z-index: 1;
|
|
125
|
+
top: 0;
|
|
126
|
+
right: 0;
|
|
127
|
+
bottom: 0;
|
|
128
|
+
left: 0;
|
|
129
|
+
display: block;
|
|
130
|
+
background-color: $nav-mask-background;
|
|
131
|
+
opacity: 0;
|
|
132
|
+
transition: opacity 0.05s, visibility 0s linear 0.25s;
|
|
133
|
+
visibility: hidden;
|
|
134
|
+
|
|
135
|
+
&.in {
|
|
136
|
+
opacity: 1;
|
|
137
|
+
transition: opacity 0.2s ease, visibility 0s;
|
|
138
|
+
visibility: visible;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@mixin full-width {
|
|
2
|
+
content: "";
|
|
3
|
+
position: absolute;
|
|
4
|
+
width: 100vw;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 50%;
|
|
8
|
+
transform: translateX(-50vw);
|
|
9
|
+
z-index: -1;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin last-item-no-margin-bottom {
|
|
13
|
+
&:last-child {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@mixin first-item-no-margin-top {
|
|
18
|
+
&:first-child {
|
|
19
|
+
margin-top: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
@mixin ul-rm-padding {
|
|
23
|
+
padding-left: 0;
|
|
24
|
+
}
|
|
25
|
+
@mixin section-padding-top {
|
|
26
|
+
padding-top: map-get($section-padding, sm);
|
|
27
|
+
@include media-breakpoint-up(md) {
|
|
28
|
+
padding-top: map-get($section-padding, md);
|
|
29
|
+
}
|
|
30
|
+
@include media-breakpoint-up(lg) {
|
|
31
|
+
padding-top: map-get($section-padding, lg);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
@mixin section-padding-bottom {
|
|
35
|
+
padding-bottom: map-get($section-padding, sm);
|
|
36
|
+
@include media-breakpoint-up(md) {
|
|
37
|
+
padding-bottom: map-get($section-padding, md);
|
|
38
|
+
}
|
|
39
|
+
@include media-breakpoint-up(lg) {
|
|
40
|
+
padding-bottom: map-get($section-padding, lg);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin fit-cover {
|
|
45
|
+
position: absolute;
|
|
46
|
+
object-fit: cover;
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
object-position: top;
|
|
50
|
+
}
|