openwebrx-clone/htdocs/css/map.css

66 lines
1.1 KiB
CSS
Raw Normal View History

@import url("openwebrx-header.css");
@import url("openwebrx-globals.css");
body {
display: flex;
flex-direction: column;
}
.openwebrx-map {
flex: 1 1 auto;
}
h3 {
margin: 10px 0;
2019-07-11 19:21:01 +00:00
text-align: center;
}
ul {
margin-block-start: 5px;
margin-block-end: 5px;
padding-inline-start: 25px;
2019-07-28 13:57:33 +00:00
}
2021-01-15 18:43:16 +00:00
/* don't show the filter in it's initial position */
2019-07-28 13:57:33 +00:00
.openwebrx-map-legend {
2021-01-15 18:43:16 +00:00
display: none;
2019-07-28 13:57:33 +00:00
background-color: #fff;
padding: 10px;
2019-07-28 13:59:54 +00:00
margin: 10px;
2021-01-20 21:26:19 +00:00
user-select: none;
2019-07-28 13:57:33 +00:00
}
2021-01-15 18:43:16 +00:00
/* show it as soon as google maps has moved it to its container */
.openwebrx-map .openwebrx-map-legend {
display: block;
}
2019-07-28 13:57:33 +00:00
.openwebrx-map-legend ul {
list-style-type: none;
padding: 0;
}
2021-01-19 23:39:34 +00:00
.openwebrx-map-legend ul li {
cursor: pointer;
}
.openwebrx-map-legend ul li.disabled {
opacity: .3;
filter: grayscale(70%);
}
2019-07-28 13:57:33 +00:00
.openwebrx-map-legend li.square .illustration {
display: inline-block;
width: 30px;
height: 20px;
margin-right: 10px;
2019-07-28 14:33:19 +00:00
border-width: 2px;
border-style: solid;
2019-07-28 13:57:33 +00:00
}
.openwebrx-map-legend select {
background-color: #FFF;
border-color: #DDD;
padding: 5px;
}