mirror of
https://forge.chapril.org/tykayn/libre-charge-map
synced 2025-06-20 01:34:43 +02:00
split style
This commit is contained in:
parent
2265ee5c8b
commit
d9488e7151
18 changed files with 1005 additions and 277 deletions
50
styles/_overrides.scss
Normal file
50
styles/_overrides.scss
Normal file
|
@ -0,0 +1,50 @@
|
|||
/**
|
||||
overrides leaflet
|
||||
*/
|
||||
|
||||
.leaflet-left .leaflet-control {
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
/* Styles pour les contrôles de couches */
|
||||
.leaflet-control-layers {
|
||||
&.base-layers {
|
||||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 9l10-5 10 5-10 5-10-5zm0 6l10 5 10-5M2 12l10 5 10-5"/></svg>');
|
||||
background-size: 16px;
|
||||
background-position: 6px center;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 28px !important;
|
||||
|
||||
.leaflet-control-layers-toggle {
|
||||
background-image: none;
|
||||
width: auto;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "Fonds";
|
||||
margin-left: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
&.overlay-layers {
|
||||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
|
||||
background-size: 16px;
|
||||
background-position: 6px center;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 28px !important;
|
||||
|
||||
.leaflet-control-layers-toggle {
|
||||
background-image: none;
|
||||
width: auto;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "Calques";
|
||||
margin-left: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue