Lora-Map/Lora-Map/resources/css/global.css

322 lines
6.6 KiB
CSS
Raw Normal View History

2018-12-30 20:50:20 +01:00
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#bigmap {
height: 100%;
}
2019-03-29 13:46:41 +01:00
#bigmap .marker-alert {
border: red 5px dashed;
top: -5px;
left: -5px;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.4) 10px 10px;
}
#bigmap .leaflet-map-pane .leaflet-marker-pane .snumber-icon {
font-weight: bold;
font-size: 5px;
}
#bigmap .leaflet-map-pane .leaflet-marker-pane .coord-icon {
font-size: 13px;
text-shadow: 3px 3px 3px #000000;
color: #ffffff;
font-weight: bold;
}
2018-12-30 20:50:20 +01:00
/* Optional: Makes the sample page fill the window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
2018-12-30 20:50:20 +01:00
}
object {
pointer-events: none;
}
.leaflet-touch .leaflet-bar a {
width: 38px;
}
2019-03-06 14:38:19 +01:00
#menucollumn {
width: 32px;
background-color: white;
background-clip: padding-box;
position: absolute;
top: 85px;
bottom: 10px;
left: 10px;
z-index: 5000;
border: #707070 2px solid;
border: rgba(0,0,0,0.2) 2px solid;
border-radius: 4px;
padding: 3px;
2018-12-30 20:50:20 +01:00
}
#menucollumn span {
display: block;
height: 32px;
width: 32px;
margin-bottom: 5px;
}
#menucollumn .pos {
background-image: url("icons/placeholder.png");
}
#menucollumn .admin {
background-image: url("icons/admin-with-cogwheels.png");
}
#menucollumn .info {
background-image: url("icons/information.png");
}
#menucollumn .weather {
background-image: url("icons/storm-in.png");
}
#menucollumn .weather.ac {
background-image: url("icons/storm-ac.png");
}
2019-03-08 10:39:43 +01:00
#pannels {
position: absolute;
top: 85px;
left: 55px;
bottom: 10px;
width: 250px;
z-index: 50000;
background-color: white;
background-clip: padding-box;
border: #707070 2px solid;
border: rgba(0,0,0,0.2) 2px solid;
border-radius: 4px;
display: none;
font-size: 11px;
font-family: Verdana;
overflow: auto;
2019-03-08 10:39:43 +01:00
}
#pannels #pannels_pos {
display: none;
2019-03-08 10:39:43 +01:00
}
#pannels #pannels_pos .item {
margin: 4px;
2019-03-08 10:39:43 +01:00
}
#pannels #pannels_pos .item .color {
float: left;
width: 2px;
height: 38px;
2019-03-08 10:39:43 +01:00
}
#pannels #pannels_pos .item .icon {
float: left;
height: 38px;
width: 40px;
margin-right: 5px;
}
#pannels #pannels_pos .item .icon img {
height: 40px;
width: 40px;
margin-left: 3px;
}
2019-03-08 10:39:43 +01:00
#pannels #pannels_pos .item .line1 .name {
font-weight: bold;
2019-03-08 10:39:43 +01:00
}
#pannels #pannels_pos .item .line1 .akku img {
vertical-align: middle;
margin-left: 5px;
}
#pannels #pannels_info {
display: none;
padding: 5px;
}
#pannels #pannels_info .bold {
font-weight: bold;
}
#pannels #pannels_info .name {
font-size: 16px;
}
#pannels #pannels_info .batt {
margin-bottom: 10px;
}
#pannels #pannels_info .batt img {
vertical-align: middle;
}
#pannels #pannels_info .gps {
font-size: 20px;
}
#pannels #pannels_info .coord {
font-family: monospace;
2019-04-26 00:18:05 +02:00
font-size: 22px;
font-weight: bold;
}
2019-04-26 00:18:05 +02:00
#pannels #pannels_info .lastgps {
margin-bottom: 10px;
}
#pannels #pannels_info .update {
margin-bottom: 10px;
}
#pannels #pannels_info .alerts {
margin-top: 10px;
}
#pannels #pannels_info .alerts .panicitem {
display: block;
}
#pannels #pannels_version {
padding: 5px;
display: none;
}
#pannels #pannels_version .versionstring {
font-weight: bold;
}
#pannels #pannels_version .versionstring #version {
font-weight: normal;
font-family: monospace;
display: inline;
}
#pannels #pannels_version .cicons {
font-weight: bold;
}
#pannels #pannels_version .cicons ul {
margin: 0;
padding: 0;
padding-left: 15px;
}
#pannels #pannels_version .cicons ul li {
font-weight: normal;
2019-04-03 23:57:07 +02:00
}
#pannels #pannels_admin {
padding: 5px;
display: none;
}
#pannels #pannels_admin a {
color: black;
text-decoration: underline;
font-size: 18px;
font-weight: bold;
}
#pannels #pannels_admin a:hover {
text-decoration: none;
}
#pannels #pannels_admin div {
margin-bottom: 5px;
}
#pannels #pannels_admin div .label {
width: 70px;
font-weight: bold;
display: inline-block;
}
#pannels #pannels_admin div input {
width: 150px;
}
#pannels #pannels_admin div .login input {
width: auto;
margin-left: 70px;
}
#pannels #pannels_weather {
margin: 5px;
2019-08-25 19:15:46 +02:00
display: none;
}
#pannels #pannels_weather h1 {
margin: 0;
font-size: 20px;
text-align: center;
}
#pannels #pannels_weather .alertitem {
padding: 5px;
}
#pannels #pannels_weather .alertitem.minor {
background-color: #ffeb3b;
}
#pannels #pannels_weather .alertitem.moderate {
background-color: #fb8c00;
}
#pannels #pannels_weather .alertitem.severe {
background-color: #e53935;
}
#pannels #pannels_weather .alertitem.extreme {
background-color: #880e4f;
}
#pannels #pannels_weather .alertitem .head {
font-weight: bold;
display: block;
font-size: 14px;
}
#pannels #pannels_weather .alertitem .ort {
display: block;
text-align: right;
margin-bottom: 10px;
}
#pannels #pannels_weather .alertitem .text {
display: block;
margin-bottom: 10px;
}
2019-08-25 19:15:46 +02:00
#pannels #pannels_filter {
margin: 5px;
display: none;
}
#pannels #pannels_filter h1 {
font-size: 16px;
}
#pannels #pannels_filter select {
height: 140px;
width: 235px;
}
#overlays #cameracount {
position: absolute;
top: 10px;
left: 61px;
z-index: 50000;
font-size: 11px;
font-family: "Verdana";
padding: 3px;
}
#overlays #cameracount .camera {
background-color: white;
border: rgba(0,0,0,0.3) solid 2px;
border-radius: 5px;
padding: 4px;
}
#overlays #cameracount .camera span {
display: block;
text-align: center;
}
#overlays #cameracount .camera .name {
font-weight: bold;
}
2019-06-14 13:02:04 +02:00
#overlays #cameracount .camera .in::after {
content: url("../icons/general/bullet_add.png");
}
#overlays #cameracount .camera .out::after {
content: url("../icons/general/bullet_delete.png");
}
#overlays #cameracount .camera .total::after {
content: url("../icons/general/bullet_star.png");
}
#overlays #crwoddensy {
position: absolute;
top: 10px;
right: 90px;
z-index: 50000;
font-size: 11px;
font-family: "Verdana";
padding: 3px;
max-width: 500px;
}
#overlays #crwoddensy .camera {
background-color: white;
border: rgba(0,0,0,0.3) solid 2px;
border-radius: 5px;
padding: 4px;
float: right;
max-width: 100px;
margin-left: 5px;
}
#overlays #crwoddensy .camera span {
display: block;
text-align: center;
}
#overlays #crwoddensy .camera .name {
font-weight: bold;
}
#overlays #crwoddensy .camera .count::after {
content: url("../icons/general/bullet_star.png");
}