City selection with display on a map

This commit is contained in:
Guntis Smaukstelis
2024-01-05 16:17:00 +02:00
parent db0fd5bf62
commit bdb2148ed3
11 changed files with 151 additions and 20 deletions
+2 -6
View File
@@ -24,18 +24,14 @@
}
.menu {
position: absolute;
top: 0px;
left: 0px;
padding-left: 20px;
text-align: left;
padding: 8px 20px;
text-align: right;
}
.menu li{
display: inline;
padding: 10px 0 10px 10px;
cursor: pointer;
line-height: 40px;
}
.menu li:not(:first-child)::before {
+8
View File
@@ -53,4 +53,12 @@ table tr:nth-child(odd) {
table tr:hover {
background: #c0c0c0;
}
.hidden {
display: none;
}
.visible {
display: block;
}
+37
View File
@@ -0,0 +1,37 @@
.stationWrapper .container {
display: flex;
min-height: 100vh;
}
.stationWrapper .container .column {
flex: 1;
box-sizing: border-box;
text-align: left;
}
.stationWrapper .container .column:nth-child(1) {
padding: 0;
flex-basis: 20%;
background-color: white;
min-width: 1000px;
}
.stationWrapper .container .column:nth-child(2) {
padding: 10px;
flex-basis: 80%;
background-color: #f2f2f2;
min-width: 300px;
}
.stationWrapper .cities {
width: 200px;
position: absolute;
z-index: 10;
background-color: white;
opacity: 0.7;
}
.stationWrapper .submenu {
padding: 5px 10px;
background-color: #f2f2f2;
}