libre-charge-map/styles/style.css

317 lines
4.2 KiB
CSS
Raw Normal View History

2024-10-17 23:57:47 +02:00
html, body {
height: 100%;
width: 100%;
background: #ccc;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
2024-10-17 15:01:47 +02:00
body {
2024-10-17 23:57:47 +02:00
padding: 0;
margin: 0;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
html, p {
font-family: Calibri, Roboto, Arial, "Ubuntu Mono";
font-size: 1rem;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
p {
font-size: 1.25rem;
2024-10-17 15:01:47 +02:00
}
#map {
2024-10-17 23:57:47 +02:00
height: 70%;
width: 100%;
margin: 0;
border: solid 2px;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
.padded {
padding: 1rem;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
#heading {
background: #000;
color: #ddd;
min-height: 5%;
height: 4rem;
width: 100%;
padding-left: 1em;
}
.icon {
width: 0.25rem !important;
height: 0.25rem !important;
display: inline-block;
margin-right: 1rem;
background: white;
border-radius: 100%;
padding: 0.25rem;
margin-top: -0.5rem;
float: left;
}
.title {
margin-right: 1em;
line-height: 1.5rem;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
h2 {
font-weight: normal;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
#overpass-api-controls {
position: fixed;
2024-12-14 18:00:09 +01:00
top: -0.5rem;
left: 4em;
2024-10-17 23:57:47 +02:00
padding: 10px;
2024-11-26 21:31:43 +01:00
background-color: transparent;
border: 0;
2024-10-17 23:57:47 +02:00
z-index: 10;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
#overpass-api-controls a {
display: inline;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
2024-11-26 21:31:43 +01:00
.has_output_of_irve_specified {
box-shadow: 0 0 15rem darkred;
}
2024-11-26 21:31:43 +01:00
2024-10-17 23:57:47 +02:00
img.leaflet-marker-icon.tag-socket\:type2_yes {
box-shadow: 0 0 0.5em cornflowerblue;
border-color: cornflowerblue;
border-width: 3px;
}
2024-10-17 15:01:47 +02:00
#query-button,
2024-12-14 17:39:17 +01:00
.navigation-link,
2024-10-17 23:57:47 +02:00
.edit-button {
background: #497cd3;
2024-11-26 21:31:43 +01:00
padding: 0.5em 1em;
border-radius: 2em;
2024-12-11 23:13:15 +01:00
color: white !important;
2024-10-17 23:57:47 +02:00
border: solid 1px #497cd3ff;
float: right;
2024-10-17 15:01:47 +02:00
}
2024-12-14 18:00:09 +01:00
#query-button{
min-width: 10em;
}
.navigation-link{
background: white;
border-radius: 0.25em;
float:none;
position:relative;
top: 5.5em;
left: 0;
}
.navigation-link:hover{
border: black;
background: #96b1ea;
}
2024-10-17 23:57:47 +02:00
2024-10-17 15:01:47 +02:00
#query-button:hover,
2024-10-17 23:57:47 +02:00
.edit-button:hover {
background: #0d377b;
border: solid 1px #08285c;
cursor: pointer;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
.edit-button {
margin-left: 1ch;
2024-10-17 15:01:47 +02:00
}
2024-10-17 23:57:47 +02:00
.pull-left {
float: left;
2024-10-17 15:01:47 +02:00
}
@keyframes spin {
2024-10-17 23:57:47 +02:00
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
a {
color: #38f;
}
2024-11-26 21:31:43 +01:00
.leaflet-control-custom {
2024-10-17 23:57:47 +02:00
padding: 1rem;
background: white;
}
2024-11-26 21:31:43 +01:00
2024-10-17 23:57:47 +02:00
#spinning_icon {
position: fixed;
2024-12-12 09:50:54 +01:00
bottom: 11rem;
2024-10-17 23:57:47 +02:00
left: 20.5rem;
z-index: 10;
background: white;
font-size: 2rem;
}
#spinning_icon svg {
position: fixed;
2024-12-14 18:00:09 +01:00
top: 0.5rem;
right: 3rem;
2024-10-17 23:57:47 +02:00
background: white;
border-radius: 100%;
width: 3rem;
height: 3rem;
}
#spinning_icon svg {
animation: spin 2s linear infinite;
}
#footer {
max-width: 70ch;
margin: 0 auto;
}
.leaflet-popup-content {
2024-11-26 21:38:16 +01:00
word-break: break-all;
word-wrap: break-word;
}
2024-12-11 17:32:48 +01:00
.popup-content {
2024-12-16 12:13:19 +01:00
width: 100%;
display: block;
2024-11-26 21:38:16 +01:00
overflow: auto;
2024-11-26 21:31:43 +01:00
min-width: 10rem;
max-width: 20rem;
min-height: 5rem;
max-height: 10rem;
2024-10-17 23:57:47 +02:00
}
.popup-key {
min-width: 6rem;
2024-11-26 21:31:43 +01:00
display: inline-block;
2024-10-17 23:57:47 +02:00
}
2024-12-11 17:32:48 +01:00
.popup-value {
2024-11-26 21:31:43 +01:00
min-width: 10rem;
2024-11-26 21:38:16 +01:00
max-width: 49%;
2024-11-26 21:31:43 +01:00
text-align: right;
display: inline-block;
}
2024-12-11 17:32:48 +01:00
2024-11-26 21:31:43 +01:00
.bottom-content {
2024-10-17 23:57:47 +02:00
padding: 0 2rem 4rem;
}
2024-11-26 21:31:43 +01:00
#star {
left: 10rem;
}
2024-11-26 21:31:43 +01:00
.color-indication {
min-width: 1rem;
2024-11-26 21:38:16 +01:00
max-width: 5rem;
2024-11-26 21:31:43 +01:00
height: 1rem;
padding: 1rem;
border-radius: 2rem;
display: block;
2024-11-26 21:38:16 +01:00
position: relative;
top: -2rem;
2024-11-26 21:31:43 +01:00
color: white;
text-shadow: 0 0 0.5rem #222;
2024-12-11 17:32:48 +01:00
clear: right;
2024-11-26 21:31:43 +01:00
}
.no-data {
border-left: 3px solid dodgerblue;
padding: 1em 2rem;
min-height: 4rem;
}
.no-data a {
color: dodgerblue;
}
2024-12-11 17:32:48 +01:00
/**
marqueurs
*/
.marker-demo {
margin-right: 3rem;
}
.map-marker-circle-demo {
border-radius: 100%;
display: inline-block;
width: 1rem;
height: 1rem;
background: #fff;
}
.color-unknown{
background: #c0b1b1;
}
2024-12-11 23:13:15 +01:00
2024-12-11 17:32:48 +01:00
.map-marker-circle-demo.color-1 {
background: #36423d;
}
2024-12-11 23:13:15 +01:00
.color-power-lesser-than-50,
2024-12-11 17:32:48 +01:00
.map-marker-circle-demo.color-2 {
background: #4e8a8d;
}
2024-12-11 23:13:15 +01:00
.color-power-lesser-than-100,
2024-12-11 17:32:48 +01:00
.map-marker-circle-demo.color-3 {
background: #2999b3;
}
2024-12-11 23:13:15 +01:00
.color-power-lesser-than-200,
2024-12-11 17:32:48 +01:00
.map-marker-circle-demo.color-4 {
background: #1782dd;
}
2024-12-11 23:13:15 +01:00
.color-power-lesser-than-300,
2024-12-11 17:32:48 +01:00
.map-marker-circle-demo.color-5 {
background: #2900ff;
}
2024-12-11 23:13:15 +01:00
.color-power-lesser-than-max,
2024-12-11 17:32:48 +01:00
.map-marker-circle-demo.color-6 {
background: #8000ff;
}
2024-12-11 23:13:15 +01:00
#found_charging_stations{
margin-top: 2rem;
}
2024-12-11 17:32:48 +01:00
button{
cursor: pointer;
padding: 0.5rem;
}
2024-12-11 23:13:15 +01:00
#bars_power{
margin: 1rem 0;
height: 3rem;
}
.bar{
display: inline-block;
height: 1em;
text-align:right;
padding:0.55rem;
padding-right:0.25rem;
float:left;
/*background: grey;*/
/*border-right: 1px solid white;*/
}
2024-12-16 12:13:19 +01:00
.key-values{
max-height: 4rem;
overflow: auto;
width: 100%;
display: block;
}
.icon-img{
width: 3rem;
height: 3rem;
fill: #000;
}
.sockets-list{
margin-top: 1rem;
}