From 1edc6b384269e5ff71fff5b6c76285c64d419de6 Mon Sep 17 00:00:00 2001 From: "vincent.tisseyre" Date: Tue, 12 Nov 2024 12:33:54 +0100 Subject: [PATCH] BREAKING CHANGE : replace css with prod css --- com_leaflet/site/assets/css/global.css | 52 ++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/com_leaflet/site/assets/css/global.css b/com_leaflet/site/assets/css/global.css index 9e5554a..792fc90 100644 --- a/com_leaflet/site/assets/css/global.css +++ b/com_leaflet/site/assets/css/global.css @@ -27,9 +27,21 @@ } #mapid { - height:800px; + margin-top: 0px; + margin-bottom: 0px; + height: 95vh; + width: 98vw; } +#footer\#0 { + width: 95vw; +} + +#tm-main > div:nth-child(1) { + width: 100vw; + margin-left: 6px; + } + /* MAKE FILTERS INLINE */ .leaflet-panel-layer, .leaflet-panel-layers { background : white!important; @@ -62,27 +74,43 @@ border: 3px solid #004f90; } -.thematiques, .typesdacteurs , .observations { +.departements, .categorie , .activite { background-color: white; padding: 10px; - width: 150px; + width: 500px; border-radius: 5px; + max-height : max-content; } .leaflet-control h6{ cursor: pointer; margin:0; + font-size : 20px; + font : Ubuntu; + color : #35276c; } .listeProjets { font: 16px Roboto; background: white; box-shadow: 0 0 15px rgba(0,0,0,0.2); border-radius: 5px; - overflow: auto; + max-height : 700px; + overflow-y: auto; } +/* .listeArticles{ + overflow: hidden; +} */ + +/*Margin négatif pour contrer le padding de leaflet-control */ +.listeProjetsDT { + font: 16px Roboto; + margin: -8px -24px; +} + .listeArticles h3{ margin : 0; font-size: 18px Ubuntu; padding:10px; +color : #35276c; } .active { @@ -93,6 +121,7 @@ border: 3px solid #004f90; .listeArticles:hover, .leaflet-control > img { cursor: pointer; + } .view , .unview{ @@ -103,14 +132,14 @@ border: 3px solid #004f90; display:none; } -.listeProjets > :nth-child(even) { +.listeProjets > :nth-child(even), .listeProjetsDT > :nth-child(even) { background: whitesmoke; border-left: 6px solid whitesmoke; } -.listeProjets > :nth-child(odd){ +.listeProjets > :nth-child(odd), .listeProjetsDT > :nth-child(odd){ border-left: 6px solid white; } -.listeProjets > p{ +.listeProjets > p, .listeProjetsDT > p{ margin:0; padding: 20px 30px 20px 20px; } @@ -118,7 +147,7 @@ border: 3px solid #004f90; padding: 5px 10px; margin:0; } -.listeProjets > p:hover{ +.listeProjets > p:hover, .listeProjetsDT > p:hover{ border-left: 6px solid #96cd32!important; } @@ -128,3 +157,10 @@ border: 3px solid #004f90; .leaflet-container a:hover{ color:#ea5153!important; } +.cartographie_enecoo .tm-main{ + padding-bottom : 0; +} +.cartographie_enecoo .uk-sticky .uk-navbar-sticky{ + display: none; +} +