Ver código fonte

legende, fleche mon espace

ouidade 1 dia atrás
pai
commit
ab595bd7f1

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
web/themes/custom/reha/dist/bundle.js


+ 4 - 6
web/themes/custom/reha/dist/css/bundle.css

@@ -974,8 +974,9 @@ aside.layout-sidebar-second h2::before {
   transform: translateY(5px) rotate(90deg);
   transform: translateY(5px) rotate(90deg);
 }
 }
 aside.layout-sidebar-second h2.__close::before {
 aside.layout-sidebar-second h2.__close::before {
-  content: url("../../dist/images/noun-arrow-1569918-black.svg");
+  content: url("../../dist/images/noun-arrow-1569918-black-left.svg");
   display: inline-block;
   display: inline-block;
+  transform: translateY(2px) rotate(90deg);
 }
 }
 aside.layout-sidebar-second .view-current-user-doc-profile {
 aside.layout-sidebar-second .view-current-user-doc-profile {
   margin: 0 6rem;
   margin: 0 6rem;
@@ -1427,11 +1428,6 @@ aside.layout-sidebar-second footer.view-footer :hover {
 .links-content .field--name-field-fichier .file--mime-application-pdf a {
 .links-content .field--name-field-fichier .file--mime-application-pdf a {
   text-transform: uppercase;
   text-transform: uppercase;
 }
 }
-.links-content .field--name-field-fichiers .file--mime-application-pdf ::after,
-.links-content .field--name-field-fichier .file--mime-application-pdf ::after {
-  content: url("../../dist/images/noun-download.svg");
-  padding-left: 0.8rem;
-}
 .links-content .field--name-field-fichiers span:nth-of-type(2),
 .links-content .field--name-field-fichiers span:nth-of-type(2),
 .links-content .field--name-field-fichier span:nth-of-type(2) {
 .links-content .field--name-field-fichier span:nth-of-type(2) {
   display: none;
   display: none;
@@ -2694,6 +2690,8 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
 .page-node-site .region-content #block-reha-contenudelapageprincipale .node-type-site .entete_site .image-site .field--name-field-image .slick-list .field__item blockquote {
 .page-node-site .region-content #block-reha-contenudelapageprincipale .node-type-site .entete_site .image-site .field--name-field-image .slick-list .field__item blockquote {
   font-style: italic;
   font-style: italic;
   margin: 0;
   margin: 0;
+  padding-top: 0.5rem;
+  font-size: 0.8rem;
 }
 }
 .page-node-site .region-content #block-reha-contenudelapageprincipale .node-type-site .entete_site .image-site .field--name-field-image .slick-list .field__item blockquote p {
 .page-node-site .region-content #block-reha-contenudelapageprincipale .node-type-site .entete_site .image-site .field--name-field-image .slick-list .field__item blockquote p {
   margin: 0;
   margin: 0;

+ 64 - 0
web/themes/custom/reha/dist/images/noun-arrow-1569918-black-left.svg

@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   x="0px"
+   y="0px"
+   viewBox="0 0 59.999796 34.124004"
+   id="svg10"
+   sodipodi:docname="noun-arrow-1569918-black.svg"
+   inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
+   width="19.944481"
+   height="12.631586"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <defs
+     id="defs14" />
+  <sodipodi:namedview
+     id="namedview12"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="9.741103"
+     inkscape:cx="15.552654"
+     inkscape:cy="15.809298"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="276"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg10">
+    <inkscape:page
+       x="0"
+       y="0"
+       width="59.999798"
+       height="34.124004"
+       id="page2"
+       margin="0"
+       bleed="0" />
+  </sodipodi:namedview>
+  <g
+     transform="matrix(-1,0,0,1,79.9999,-985.52633)"
+     id="g4"
+     inkscape:export-filename="noun-arrow-1569918-black-left.svg"
+     inkscape:export-xdpi="300"
+     inkscape:export-ydpi="300">
+    <path
+       style="color:#fdc300;text-indent:0;text-transform:none;direction:ltr;baseline-shift:baseline;enable-background:accumulate"
+       d="m 79.9999,1002.3622 c 0,-0.4628 -0.2799,-1.0773 -0.56389,-1.3755 l -15.9997,-17.00032 c -0.747,-0.7723 -1.9572,-0.8618 -2.8281,-0.078 -0.7786,0.7007 -0.798,2.0673 -0.078,2.8282 l 12.8435,13.62522 H 22.0001 c -1.1046,0 -2,0.8954 -2,2 0,1.1046 0.8954,2.0001 2,2.0001 h 51.37361 l -12.8435,13.6252 c -0.7199,0.7608 -0.6688,2.0938 0.078,2.8281 0.7885,0.7752 2.0925,0.7062 2.8281,-0.078 l 15.9997,-17.0002 c 0.4701,-0.4611 0.556,-0.9052 0.56389,-1.3748 z"
+       fill="#000000"
+       fill-opacity="1"
+       stroke="none"
+       marker="none"
+       visibility="visible"
+       display="inline"
+       overflow="visible"
+       id="path2" />
+  </g>
+</svg>

+ 17 - 0
web/themes/custom/reha/js/reha.js

@@ -80,6 +80,23 @@ jQuery(document).ready(function($){
     ////////////// tiroir fichiers ///////
     ////////////// tiroir fichiers ///////
 
 
     $(document).ready(function() {
     $(document).ready(function() {
+       
+      // Check the initial state for mobile and add class if needed
+      function checkMobileAndApplyClass() {
+        if (window.innerWidth <= 768) { // Adjust the width to match your mobile breakpoint
+            $(".layout-sidebar-second").addClass('display-none');
+        } else {
+            $(".layout-sidebar-second").removeClass('display-none');
+        }
+      }
+
+      // Run the mobile check on page load
+      checkMobileAndApplyClass();
+
+      // Re-check when the window is resized
+      $(window).resize(function() {
+          checkMobileAndApplyClass();
+      });
       // Vérifier l'état initial depuis sessionStorage
       // Vérifier l'état initial depuis sessionStorage
       if (sessionStorage.getItem('asideOpened') === 'true') {
       if (sessionStorage.getItem('asideOpened') === 'true') {
           $(".layout-sidebar-second").addClass('close');
           $(".layout-sidebar-second").addClass('close');

+ 3 - 1
web/themes/custom/reha/scss/pages/node-site.scss

@@ -87,7 +87,9 @@
                                     }
                                     }
                                     blockquote{
                                     blockquote{
                                         font-style: italic;
                                         font-style: italic;
-                                        margin: 0;                
+                                        margin: 0;   
+                                        padding-top: 0.5rem;
+                                        font-size: 0.8rem;             
                                         p{
                                         p{
                                             margin: 0;
                                             margin: 0;
                                         }
                                         }

+ 2 - 1
web/themes/custom/reha/scss/partials/_aside.scss

@@ -69,8 +69,9 @@ aside.layout-sidebar-second{
     }
     }
     h2.__close{
     h2.__close{
         &::before{
         &::before{
-            content: url('../../dist/images/noun-arrow-1569918-black.svg');
+            content: url('../../dist/images/noun-arrow-1569918-black-left.svg');
             display: inline-block;
             display: inline-block;
+            transform: translateY(2px) rotate(90deg);
           
           
         }
         }
     }
     }

+ 4 - 4
web/themes/custom/reha/scss/partials/_links_content.scss

@@ -21,10 +21,10 @@
                 text-transform: uppercase;
                 text-transform: uppercase;
             }
             }
 
 
-            ::after{
-                content: url("../../dist/images/noun-download.svg");
-                padding-left: 0.8rem;
-            }
+            // ::after{
+            //     content: url("../../dist/images/noun-download.svg");
+            //     padding-left: 0.8rem;
+            // }
         }
         }
         span:nth-of-type(2){
         span:nth-of-type(2){
             display: none;
             display: none;

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff