cartographie_bbe/cartographie/css/style.css

557 lines
10 KiB
CSS

/* ALL */
/* ALL */
/* ALL */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
margin: 0;
padding: 0;
}
.bold {
font-family: Inter;
font-size: 14px;
font-weight: 500;
line-height: 24px;
color: #000000;
}
.none {
display: none;
}
.filter-active {
background-color: #e3e3e3;
border-radius: 10px;
}
.button-active {
background-color: #95C11F !important;
border : 2px solid #95C11F !important;
color: white !important;
border-left: 2px solid #779a19 !important;
border-top: 2px solid #779a19 !important;
}
.color-white {
color: white;
}
/* EOF ALL */
/* EOF ALL */
/* EOF ALL */
/* MAP & ZOOM */
/* MAP & ZOOM */
/* MAP & ZOOM */
.map-full-screen {
height: 100vh !important;
width: 100% !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
border: none !important;
border-radius: 0 !important;
}
.map-container {
width: 100%;
border-radius: 0 0 80px 80px;
border: 2px solid black;
border-top: none;
height: 60vh;
margin-top: 0;
}
.leaflet-left {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
z-index: 111111111111;
}
.leaflet-control-scale {
display: none;
}
/* EOF MAP & ZOOM */
/* EOF MAP & ZOOM */
/* EOF MAP & ZOOM */
/* MODAL & CONTENT */
/* MODAL & CONTENT */
/* MODAL & CONTENT */
.leaflet-popup-content {
margin: 0;
padding: 0;
width: 250px !important;
}
.leaflet-popup-tip-container {
display: none;
}
.modal-images {
display: grid;
grid-template-columns: repeat(2, auto);
width: 90%;
margin-left: 5%;
}
.modal-images > img {
justify-self: center;
align-self: center;
height: 80px !important;
}
.leaflet-popup-close-button > span:nth-child(1) {
width: 25px;
height: 25px;
background-color: rgb(0, 0, 0);
color: white;
border-radius: 50px;
display: block;
margin-left: -260px;
margin-top: 10px;
font-size: 20px;
}
.leaflet-popup-content > p {
padding-left: 15px;
}
.leaflet-popup-content-wrapper {
background-color: none;
transition: 500ms;
overflow: hidden;
width: 250px !important;
border-radius: 28px;
padding: 0;
}
.leaflet-popup {
bottom: 7px !important;
left: 50px !important;
top: -180px !important;
}
.modal-adress {
font-family: Inter !important;
font-size: 14px !important;
font-weight: 400 !important;
line-height: 18px !important;
text-align: left !important;
color : white !important;
margin-bottom: 0 !important;
padding-left: 14px !important;
}
.modal-green {
border: 3px solid #95c11f !important;
}
.modal-yellow {
border: 3px solid #ffc800 !important;
}
.modal-blue {
border: 3px solid #91a2ff !important;
}
.modal-red {
border: 3px solid #ff792d !important;
}
.modal-black {
border: 3px solid #634e42 !important;
}
.modal-domaine {
text-align: center !important;
margin-top: 0 !important;
text-align: center !important;
border-radius: 0 0 20px 20px !important;
width: 196px;
height: 28px;
padding: 5px 15px 5px 15px !important;
font-weight: 600 !important;
line-height: 18px !important;
font-size: 14px !important;
margin-left: auto !important;
margin-right: auto !important;
}
.modal-domaine-green, .modal-container-green {
background-color: #95C11F !important;
}
.modal-domaine-yellow, .modal-container-yellow {
background-color: #ffc800 !important;
}
.modal-domaine-blue, .modal-container-blue {
background-color: #91a2ff !important;
}
.modal-domaine-red, .modal-container-red {
background-color: #ff792d !important;
}
.modal-domaine-black, .modal-container-black {
background-color: #634e42 !important;
}
.modal-border-green {
border: 3px solid #95C11F !important;
border-radius: 28px;
}
.modal-border-yellow {
border: 3px solid #ffc800 !important;
border-radius: 28px;
}
.modal-border-blue {
border: 3px solid #91a2ff !important;
border-radius: 28px;
}
.modal-border-red {
border: 3px solid #ff792d !important;
border-radius: 28px;
}
.modal-border-black {
border: 3px solid #634e42 !important;
border-radius: 28px;
}
.modal-associe, .modal-annee, .modal-etat {
padding: 0 !important;
margin: 0 !important;
padding-top: 8px !important;
padding-left: 14px !important;
font-family: Inter;
font-size: 14px;
font-weight: 400;
line-height: 18px;
}
.modal-container {
padding-bottom: 10px;
background: white;
}
.modal-name {
font-size: 20px !important;
font-weight: 600 !important;
line-height: 18px !important;
text-align: left !important;
color : white !important;
margin-bottom: 0 !important;
padding-bottom: 10px !important;
padding-left: 14px !important;
}
.modal-container-header {
display: grid;
grid-template-columns: [a] 1fr [b] 1fr [c];
grid-template-rows: [a] 1fr [b] 1fr [c];
}
.modal-container-header > img {
grid-row: a / c;
grid-column: a / c;
justify-self: center;
align-self: center;
border-radius: 25px 25px 0 0;
}
.modal-domaine {
grid-row: a / b;
grid-column: a / c;
justify-self: center;
align-self: flex-start;
}
.wait-button:hover {
cursor: pointer;
}
/* EOF MODAL & CONTENT */
/* EOF MODAL & CONTENT */
/* EOF MODAL & CONTENT */
/* FULL-SCREEN */
/* FULL-SCREEN */
/* FULL-SCREEN */
#full-screen {
position: absolute;
margin-top: 20px;
margin-left: 20px;
background-color: #95c11f;
border-radius: 50px;
width: 50px;
height: 50px;
z-index: 99999;
}
#full-screen:hover {
cursor: pointer;
box-shadow: 0 0 15px white;
transition: 500ms;
}
#full-screen > img {
padding: 10px;
}
/* EOF FULL-SCREEN */
/* EOF FULL-SCREEN */
/* EOF FULL-SCREEN */
/* FILTER */
/* FILTER */
/* FILTER */
#container-filter {
display: grid;
grid-template-columns: [a] 1fr [b] 1fr [c] 1fr [d];
grid-template-rows: [a] 200px [b] auto [c];
background-color: white;
height: fit-content;
border-radius: 80px 80px 0 0;
padding: 30px;
border: 2px solid black;
border-bottom: none;
}
/* TOGGLE */
/* TOGGLE */
.container-toggle {
width: 80px;
border: 2px solid #634E42;
border-radius: 50px;
height: 38px;
display: grid;
grid-row: b / c;
grid-column: a / b;
}
.container-toggle > div {
width: 30px;
height: 30px;
background-color: #634E42;
border-radius: 50px;
align-self: center;
justify-self: start;
margin-left: 4px;
}
#toggle-associe.filter-active {
background: none !important;
}
#toggle-associe:hover {
cursor: pointer;
}
.toggle-to-anim-enfant {
animation-name: toActifEnfant;
animation-duration: 1000ms;
animation-fill-mode: forwards;
}
.toggle-to-anim-parent {
animation-name: toActifParent;
animation-duration: 1000ms;
animation-fill-mode: forwards;
}
.toggle-to-anim-enfant-reverse {
animation-name: toInactiveEnfant;
animation-duration: 1000ms;
animation-fill-mode: forwards;
}
.toggle-to-anim-parent-reverse {
animation-name: toInactiveParent;
animation-duration: 1000ms;
animation-fill-mode: forwards;
}
@keyframes toActifEnfant {
0% {
background-color: #634E42;
transform: translateX(0);
}
100% {
background-color: #95C11F;
transform: translateX(38px);
}
}
@keyframes toActifParent {
0% {
border: 2px solid #634E42;
background-color: white !important;
}
100% {
border: 2px solid #95C11F;
}
}
/* Reverse keyframes */
@keyframes toInactiveEnfant {
0% {
background-color: #95C11F;
transform: translateX(38px);
}
100% {
background-color: #634E42;
transform: translateX(0);
}
}
@keyframes toInactiveParent {
0% {
border: 2px solid #95C11F;
}
100% {
border: 2px solid #634E42;
}
}
/* EOF TOGGLE */
/* EOF TOGGLE */
@media screen and (max-width: 991px) {
#container-filter {
display: none;
}
}
#container-filter-label-1 {
grid-row: b / c;
grid-column: b / c;
display: grid;
grid-template-columns: repeat(2, auto);
width: fit-content;
grid-gap: 8px;
}
#container-filter-label-1 > div {
justify-self: start;
align-self: center;
border-radius: 50px;
color: #634E42;
padding: 5px 15px 5px 15px;
border: 2px solid #634E42;
}
#container-filter-label-1 > div > p {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
font-size: 14px !important;
line-height: 24px !important;
}
.separator {
grid-row: a / c;
grid-column: a / d;
justify-self: center;
align-self: center;
width: 100%;
margin-top: 80px;
}
h5 {
font-weight : 700 !important;
font-size : 20px !important;
line-height : 26px !important;
color: #000000 !important;
font-family: Inter !important;
}
#container-filter-domaine {
grid-row: a / b;
grid-column: a / d;
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-gap: 10px;
height: fit-content;
}
#container-filter-domaine > div > img {
width: 60%;
margin-left: 20%;
}
#container-filter-domaine > div:hover {
cursor: pointer;
}
#container-filter-domaine p {
text-align: center;
font-family: Inter;
font-weight : 500;
font-size : 14px;
line-height : 18px;
color: #000000;
margin-bottom: 15px !important;
}
#domaine-button {
align-self: center;
}
#container-filter-associe {
grid-row: b / c;
grid-column: a / b;
}
#container-filter-label {
grid-row: b / c;
grid-column: b / c;
}
#container-filter-avancement {
grid-row: b / c;
grid-column: c / d;
}
#container-filter-avancement-1 {
display: grid;
grid-template-columns: repeat(3, auto);
width: fit-content;
grid-gap: 8px;
}
#container-filter-avancement-1 > div {
justify-self: start;
align-self: center;
border-radius: 50px;
color: #634E42;
padding: 5px 15px 5px 15px;
border: 2px solid #634E42;
}
#container-filter-avancement-1 > div > p {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
font-size: 14px !important;
line-height: 24px !important;
}
/* EOF FILTER */
/* EOF FILTER */
/* EOF FILTER */