Browse Source

smart phone home et footer

ouidade 3 years ago
parent
commit
0fcfc3225a

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/eql/css-compiled/styles.css


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/eql/css-prefixed/styles.css


File diff suppressed because it is too large
+ 102 - 0
web/themes/custom/eql/images/pictos/forme_home_2_smartphone.svg


+ 25 - 6
web/themes/custom/eql/scss/pages/_home.scss

@@ -4,7 +4,7 @@
         grid-template-areas: "presentation presentation presentation presentation presentation presentation" 
         grid-template-areas: "presentation presentation presentation presentation presentation presentation" 
                             "presentation presentation presentation presentation presentation presentation" 
                             "presentation presentation presentation presentation presentation presentation" 
                             "presentation presentation presentation presentation presentation presentation" 
                             "presentation presentation presentation presentation presentation presentation" 
-                            "presentation presentation presentation presentation presentation presentation" 
+                            "presentation presentation presentation presentation presentation presentation"  
                              "actus actus actus actus actus actus"
                              "actus actus actus actus actus actus"
                              "actus actus actus actus actus actus"
                              "actus actus actus actus actus actus"
                              "programme programme programme programme programme programme"
                              "programme programme programme programme programme programme"
@@ -25,6 +25,13 @@
             background-position-y: bottom;
             background-position-y: bottom;
             background-position-x: left;
             background-position-x: left;
             background-repeat: no-repeat;
             background-repeat: no-repeat;
+            @media (max-width: 810px){
+                background: url("../images/pictos/forme_home_2_smartphone.svg");
+                background-size: 100%;
+                background-position-y: bottom;
+                background-position-x: left;
+                background-repeat: no-repeat;
+            }
             .node-type-static{
             .node-type-static{
                 div:first-child{
                 div:first-child{
                     display: grid;
                     display: grid;
@@ -119,9 +126,15 @@
                             }
                             }
                         }
                         }
                         @media (max-width: 810px){ 
                         @media (max-width: 810px){ 
-                            grid-column: 2 / 5;
+                            grid-column: 2;
                             grid-row:3;
                             grid-row:3;
-                            
+                            font-size: 0.6rem;
+                                    
+                        a{
+                            &:after{
+                                display: none;        
+                            }
+                        }
                         }
                         }
                     }
                     }
                 }
                 }
@@ -173,8 +186,13 @@
             }
             }
             @media (max-width: 810px){
             @media (max-width: 810px){
                 grid-area: presentation;
                 grid-area: presentation;
-                grid-column: 3 /span 4;
-                grid-row: 3;
+                grid-column: 5;
+                grid-row: 4;
+                .field--type-link { font-size: 0.6rem;
+                    a::after{
+                        display: none;
+                    }
+                }
             }
             }
         }
         }
 
 
@@ -229,9 +247,10 @@
                         font-weight: 700;
                         font-weight: 700;
                         color: $blue-light;
                         color: $blue-light;
                         align-items: center;
                         align-items: center;
+                        font-size: 0.6rem;
                     } 
                     } 
                     a::after{
                     a::after{
-                        content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)"  fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+                        display: none;
                     }
                     }
                 }
                 }
                 .field--name-field-description{display: none;}
                 .field--name-field-description{display: none;}

+ 13 - 3
web/themes/custom/eql/scss/partials/_footer.scss

@@ -9,7 +9,9 @@
     background-color: $white;
     background-color: $white;
     padding-top: 3rem;
     padding-top: 3rem;
 
 
-
+    @media (max-width: 810px){
+        flex-direction: column;
+    }
 
 
     .region{
     .region{
         display: block;
         display: block;
@@ -28,6 +30,10 @@
         margin-left: 3rem;
         margin-left: 3rem;
         border: none;
         border: none;
         width: 20%;
         width: 20%;
+        @media (max-width: 810px){
+            width: 100%;
+            margin-left: 0rem;
+        }
         .view-id-partenaires{
         .view-id-partenaires{
             .view-content{
             .view-content{
               
               
@@ -55,7 +61,9 @@
         display: flex;
         display: flex;
         flex-direction: column-reverse;
         flex-direction: column-reverse;
         justify-content: flex-end;
         justify-content: flex-end;
-
+        @media (max-width: 810px){
+            width: 100%;
+        }
         #block-socialnetwork {
         #block-socialnetwork {
             margin-bottom: 1rem;
             margin-bottom: 1rem;
 
 
@@ -117,7 +125,9 @@
 
 
     .region-footer-bottom-middle{
     .region-footer-bottom-middle{
         width: 60%;
         width: 60%;
-    
+        @media (max-width: 810px){
+            width: 100%;
+        }
         .view-id-partenaires{
         .view-id-partenaires{
             .view-content{
             .view-content{
                 display: flex;
                 display: flex;

Some files were not shown because too many files changed in this diff