🎨 Cleanup code formatting

This commit is contained in:
2024-02-02 23:02:39 +01:00
parent f6bd241db3
commit e98b24303c
26 changed files with 1943 additions and 2010 deletions

View File

@@ -3,85 +3,85 @@
.map {
position: relative;
position: relative;
height: 100%;
width: 50%;
height: 100%;
width: 50%;
.ol-viewport {
@extend %body;
position: absolute;
margin: 0;
}
.ol-viewport {
@extend %body;
position: absolute;
margin: 0;
}
.popup {
@extend %body;
margin: 0;
.popup {
@extend %body;
margin: 0;
position: absolute;
width: 100%;
height: 35%;
position: absolute;
width: 100%;
height: 35%;
border: solid var(--idfm-white) calc(0.2*1vh);
border: solid var(--idfm-white) calc(0.2*1vh);
background-color: var(--idfm-black);
background-color: var(--idfm-black);
z-index: 1;
visibility: hidden;
z-index: 1;
visibility: hidden;
.header {
@extend %header;
.header {
@extend %header;
color: var(--idfm-white);
}
color: var(--idfm-white);
}
.body {
@extend %body;
.body {
@extend %body;
scroll-snap-type: y mandatory;
overflow-y: scroll;
scroll-snap-type: y mandatory;
overflow-y: scroll;
.line {
scroll-snap-align: center;
.line {
scroll-snap-align: center;
height: calc(100% / 3);
margin: 0 calc(10/1920*100%);
height: calc(100% / 3);
margin: 0 calc(10/1920*100%);
display: flex;
flex-direction: row;
align-items: center;
display: flex;
flex-direction: row;
align-items: center;
font-family: IDFVoyageur-bold;
font-family: IDFVoyageur-bold;
.busLinePicto {
@extend %busLinePicto;
.busLinePicto {
@extend %busLinePicto;
height: 80%;
width: 30%;
}
height: 80%;
width: 30%;
}
.name {
width: 100%;
height: 60%;
}
.name {
width: 100%;
height: 60%;
}
div {
height: 100%;
div {
height: 100%;
svg {
max-width: 100%;
max-height: 100%;
}
}
}
}
svg {
max-width: 100%;
max-height: 100%;
}
}
}
}
.footer {
@extend %footer;
}
}
.footer {
@extend %footer;
}
}
.displayed {
visibility: visible;
}
.displayed {
visibility: visible;
}
}