Add type selector in poi editor

This commit is contained in:
leosw
2020-05-16 22:20:36 +04:00
parent 660488e5b6
commit 5242999ba0
10 changed files with 289 additions and 1 deletions

View File

@@ -70,6 +70,24 @@ form.form input[type=submit] {
border-bottom: 2px solid blue;
}
#type_selector {
display: flex;
flex-direction: row;
}
form.form input[type=radio] {
display: none;
}
form.form input[type=radio]+label {
flex: 1;
text-align: center;
padding: 10px 5px;
vertical-align: middle;
border-bottom: 2px solid transparent;
}
form.form input[type=radio]:checked+label {
background: #ddd;
border-bottom: 2px solid #ccc;
}
/*****************************************
Controls of the map