mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
changed type selection to button + dropdown menu
This commit is contained in:
parent
128231144e
commit
7a8254a9b4
3 changed files with 61 additions and 11 deletions
32
index.css
32
index.css
|
|
@ -2357,6 +2357,38 @@ svg.button {
|
|||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#markerTypeSelector {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
#markerTypeSelectorWrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#markerTypeSelectMenu {
|
||||
display: none;
|
||||
}
|
||||
#markerTypeSelectMenu.visible {
|
||||
display: block;
|
||||
position: absolute;
|
||||
height: 250px;
|
||||
width: 170px;
|
||||
overflow-y: scroll;
|
||||
background: inherit;
|
||||
bottom: 100%;
|
||||
left: 0;
|
||||
background: white;
|
||||
}
|
||||
#markerTypeSelectMenu > button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: 1px solid #ddd;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
#markerTypeSelectMenu > button:hover {
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
div,
|
||||
canvas {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue