melting-pot/styles/style.css

237 lines
3.5 KiB
CSS
Raw Permalink Normal View History

2024-02-26 13:29:09 +01:00
html, body {
2022-06-20 11:54:11 +02:00
height: 100%;
width: 100%;
}
2024-02-26 13:29:09 +01:00
2022-06-20 11:54:11 +02:00
body {
padding: 0;
margin: 0;
}
2024-02-26 13:29:09 +01:00
html, p {
font-family: Calibri, Roboto, Arial, "Ubuntu Mono";
2022-06-20 11:54:11 +02:00
font-size: 1rem;
}
2024-02-26 13:29:09 +01:00
p {
2022-06-20 11:54:11 +02:00
font-size: 1.25rem;
}
#map {
height: 70%;
width: 100%;
margin: 0;
border: solid 2px;
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
.padded {
2022-06-20 11:54:11 +02:00
padding: 1rem;
}
2024-02-26 13:29:09 +01:00
#heading {
2022-06-20 11:54:11 +02:00
background: #000;
color: #ddd;
min-height: 5%;
2024-02-26 13:29:09 +01:00
height: 4rem;
2022-06-20 11:54:11 +02:00
width: 100%;
padding-left: 1em;
}
2024-02-26 13:29:09 +01:00
.icon {
2022-06-20 11:54:11 +02:00
width: 2rem !important;
height: 2rem !important;
display: inline-block;
margin-right: 1rem;
background: white;
border-radius: 100%;
padding: 0.25rem;
margin-top: -0.5rem;
float: left;
}
2024-02-26 13:29:09 +01:00
.title {
2022-06-20 11:54:11 +02:00
margin-right: 1em;
line-height: 1.5rem;
}
2024-02-26 13:29:09 +01:00
h2 {
2022-06-20 11:54:11 +02:00
font-weight: normal;
}
2024-02-26 13:29:09 +01:00
#success_load {
2022-12-11 15:57:14 +01:00
text-align: center;
font-weight: 400;
position: fixed;
top: 1em;
height: 3em;
background: mediumseagreen;
z-index: 100;
width: 100vw;
color: white;
padding-right: 1em;
display: block;
box-sizing: border-box;
line-height: 2em;
}
2024-02-26 13:29:09 +01:00
.could-be-visible {
2022-12-11 15:57:14 +01:00
transition: opacity 0.5s;
}
2024-02-26 13:29:09 +01:00
2022-12-11 15:57:14 +01:00
.hidden {
opacity: 0;
}
2024-02-26 13:29:09 +01:00
.visible {
2022-12-11 15:57:14 +01:00
opacity: 1;
}
2022-06-20 11:54:11 +02:00
#overpass-api-controls {
position: fixed;
top: 8em;
left: 4em;
2022-06-20 11:54:11 +02:00
padding: 10px;
background-color: rgb(255, 255, 255);
z-index: 10;
}
#overpass-api-controls a {
display: inline;
}
2024-02-26 13:29:09 +01:00
img.leaflet-marker-icon {
2022-06-20 11:54:11 +02:00
background: #fff;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
border-radius: 100%;
padding: 0.5rem;
border: solid 1px #ccc;
margin-left: -20px;
margin-top: -20px;
2022-12-11 15:57:14 +01:00
box-shadow: 0 0 0.5em green;
}
2024-02-26 13:29:09 +01:00
img.leaflet-marker-icon.tag-amenity_drinking_water {
2022-12-11 15:57:14 +01:00
box-shadow: 0 0 1em cornflowerblue;
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
img.leaflet-marker-icon.diet--vegetarian_yes {
2022-06-20 11:54:11 +02:00
border: solid 3px green;
}
2024-02-26 13:29:09 +01:00
button{
padding: 0.5em;
border-radius: 0.25em;
border: none;
margin-bottom: 2px;
margin-right: 2px;
cursor: pointer;
}
2022-06-20 11:54:11 +02:00
#query-button,
2024-02-26 13:29:09 +01:00
.edit-button {
2022-06-20 11:54:11 +02:00
background: #497cd3;
padding: 0.5em;
border-radius: 0.25em;
color: white;
border: solid 1px #497CD3FF;
2024-02-26 13:29:09 +01:00
float:right;
margin-left: 1rem;
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
#query-button:hover,
2024-02-26 13:29:09 +01:00
.edit-button:hover {
background: #0d377b;
border: solid 1px #08285c;
2024-02-26 13:29:09 +01:00
cursor: pointer;
}
2024-02-26 13:29:09 +01:00
.edit-button {
margin-left: 1ch;
}
2022-06-20 11:54:11 +02:00
2024-02-26 13:29:09 +01:00
#query-button {
2022-06-20 11:54:11 +02:00
min-width: 10em;
}
2024-02-26 13:29:09 +01:00
.pull-left {
float: left;
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
.description{
min-height: 3rem;
min-width: 10rem;
}
2022-12-11 16:14:20 +01:00
/**
mettre en valeur les restaurants qui n'ont pas renseigné leurs horaires d'ouverture
*/
2024-02-26 13:29:09 +01:00
.tag-no-opening-hours.tag-amenity_restaurant {
border-color: #888 !important;
2022-12-11 16:14:20 +01:00
}
2024-02-26 13:29:09 +01:00
2022-06-20 11:54:11 +02:00
@keyframes spin {
2024-02-26 13:29:09 +01:00
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
a {
2022-06-20 11:54:11 +02:00
color: #3388ff;
}
2024-02-26 13:29:09 +01:00
#spinning_icon {
2022-06-20 11:54:11 +02:00
position: fixed;
top: 11rem;
left: 3.5rem;
z-index: 10;
background: white;
font-size: 2rem;
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
#spinning_icon svg {
2022-06-20 11:54:11 +02:00
position: fixed;
top: 1.5rem;
left: 0.8rem;
background: white;
border-radius: 100%;
width: 3rem;
height: 3rem;
2022-06-20 11:54:11 +02:00
}
2024-02-26 13:29:09 +01:00
#spinning_icon svg {
2022-06-20 11:54:11 +02:00
animation: spin 2s linear infinite;
}
2024-02-26 13:29:09 +01:00
#footer {
2022-06-20 11:54:11 +02:00
max-width: 70ch;
margin: 0 auto;
}
2024-02-26 13:29:09 +01:00
.is-open-today-true{
border-color: lawngreen;
}
.filters button{
width:100%;
}
.filters {
position: absolute;
width: 10rem;
padding: 1rem;
top: calc(6rem + 2px);
z-index: 3000;
background: white;
right: 0;
border: solid 3px white;
}
.unknown-name{
font-style: italic;
color: #888;
}