Просмотр исходного кода

reduire picto liens dans statics

ouidade 3 лет назад
Родитель
Сommit
390b87ced1

+ 11 - 6
web/themes/custom/eql/css-compiled/styles.css

@@ -246,7 +246,7 @@ a {
     min-height: 4rem;
     background: white;
     color: #009ee3;
-    padding-left: 1rem;
+    padding-left: 0.8rem;
     padding-top: 1rem;
     margin-bottom: 1rem; }
     .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
@@ -256,9 +256,11 @@ a {
       margin: auto; }
       .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
         content: url("../images/pictos/noun_Download_file_307900.svg");
-        min-width: 50px;
+        min-width: 40px;
         height: auto;
-        padding-right: 1rem; }
+        padding-right: 0.5rem;
+        display: inline-flex;
+        align-items: center; }
       .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
         hyphens: auto;
         display: inline-flex;
@@ -272,19 +274,22 @@ a {
     min-height: 4rem;
     background: white;
     color: #009ee3;
-    padding-left: 1rem;
+    padding-left: 0.8rem;
     padding-top: 1rem;
     margin-bottom: 1rem; }
   .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a {
     display: inline-flex;
     align-items: center;
+    justify-items: center;
     color: #009ee3;
     font-weight: 800; }
     .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before {
       content: url("../images/pictos/noun_External Link_674151.svg");
-      min-width: 50px;
+      min-width: 40px;
       height: auto;
-      padding-right: 1rem; }
+      padding-right: 0.5rem;
+      display: inline-flex;
+      align-items: center; }
     .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
       display: none; }
   .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {

+ 12 - 6
web/themes/custom/eql/scss/pages/_static.scss

@@ -109,7 +109,7 @@
                             min-height: 4rem;
                             background: $white;
                             color: $blue-light;
-                            padding-left: 1rem;
+                            padding-left: 0.8rem;
                             padding-top: 1rem;
                             margin-bottom: 1rem;
                     
@@ -122,9 +122,11 @@
                                 margin: auto;  
                                 ::before{
                                     content: url("../images/pictos/noun_Download_file_307900.svg");
-                                    min-width:50px;
+                                    min-width:40px;
                                     height: auto;
-                                    padding-right: 1rem;
+                                    padding-right: 0.5rem;
+                                    display: inline-flex;
+                                    align-items: center;
                                 }
                                 a{
                                     hyphens: auto;
@@ -146,20 +148,24 @@
                                     min-height: 4rem;
                                     background: $white;
                                     color: $blue-light;
-                                    padding-left: 1rem;
+                                    padding-left: 0.8rem;
                                     padding-top: 1rem;
                                     margin-bottom: 1rem;
+                                    
                                 }
                                 a{
                                     display: inline-flex;
                                     align-items: center;
+                                    justify-items: center;
                                     color: $blue-light;
                                     font-weight: 800;
                                     &::before{
                                         content: url("../images/pictos/noun_External Link_674151.svg");
-                                        min-width: 50px;
+                                        min-width: 40px;
                                         height: auto;
-                                        padding-right: 1rem;
+                                        padding-right: 0.5rem;
+                                        display: inline-flex;
+                                        align-items: center;
                                     }
                                     svg.ext{
                                         display: none;