enedis_carto/com_leaflet/site/assets/css/global.css

167 lines
3.1 KiB
CSS

#refreshButton{
display: flex;
align-items: center;
position: absolute;
top: 20px;
right: 20px;
width: 50px;
height: 50px;
background-color: white;
border-radius: 5px;
border-color: gray;
border-style: solid;
border-width: 1px 1px 1px 1px;
opacity: 0.6;
text-align: center;
z-index: 500;
}
#refreshButton:hover{
opacity: 1;
background-color: blueviolet;
cursor: pointer;
}
.leaflet-tile-container {
background-color: red!important;
}
#mapid {
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;
}
.leaflet-panel-layers-grouplabel {
font-size: 16px;
font-weight: bold;
}
.leaflet-panel-layers-group {
width: 170px!important;
border:none!important;
background: white!important;
}
.leaflet-panel-layers-item {
max-width: 40px;
margin: 5px!important;
display: inline-block!important;
}
.leaflet-panel-layers-item, .leaflet-panel-layers-overlays .leaflet-panel-layers-item:hover {
border:none!important;
}
.leaflet-panel-layers-selector {
visibility: hidden;
}
.leaflet-panel-layers-selector:checked~img {
transform: scale(1.1);
border-radius: 50px;
border: 3px solid #004f90;
}
.departements, .categorie , .activite {
background-color: white;
padding: 10px;
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;
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 {
transform: scale(1.1);
border-radius: 50px;
border: 3px solid #004f90;
}
.listeArticles:hover, .leaflet-control > img {
cursor: pointer;
}
.view , .unview{
font-size: 22px;
font-weight: bold;
}
.view, .listeProjets p{
display:none;
}
.listeProjets > :nth-child(even), .listeProjetsDT > :nth-child(even) {
background: whitesmoke;
border-left: 6px solid whitesmoke;
}
.listeProjets > :nth-child(odd), .listeProjetsDT > :nth-child(odd){
border-left: 6px solid white;
}
.listeProjets > p, .listeProjetsDT > p{
margin:0;
padding: 20px 30px 20px 20px;
}
.listeProjets > div{
padding: 5px 10px;
margin:0;
}
.listeProjets > p:hover, .listeProjetsDT > p:hover{
border-left: 6px solid #96cd32!important;
}
.leaflet-container a{
color :#35276c!important;
}
.leaflet-container a:hover{
color:#ea5153!important;
}
.cartographie_enecoo .tm-main{
padding-bottom : 0;
}
.cartographie_enecoo .uk-sticky .uk-navbar-sticky{
display: none;
}