2019-01-26 16:49:25 +00:00
|
|
|
.leaflet-popup-content {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.device-name { text-align: center; }
|
|
|
|
.device-name::after {
|
2019-06-30 20:31:34 +00:00
|
|
|
content: "#" attr(data-id) ", " attr(data-minutes_ago);
|
2019-02-01 18:37:51 +00:00
|
|
|
float: right; margin-right: 1em;
|
|
|
|
|
|
|
|
font-size: 80%;
|
|
|
|
color: hsl(230, 45%, 65%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-panes .tab-pane {
|
|
|
|
display: none
|
|
|
|
}
|
|
|
|
.tab-panes .active {
|
|
|
|
display: block
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0; padding: 0;
|
|
|
|
|
2019-01-26 17:06:30 +00:00
|
|
|
min-width: 40em;
|
|
|
|
|
2019-01-26 16:49:25 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.tabs li {
|
|
|
|
flex: 1;
|
|
|
|
|
2019-01-26 17:06:30 +00:00
|
|
|
padding: 0 0.25em;
|
|
|
|
|
2019-01-26 16:49:25 +00:00
|
|
|
text-align: center;
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
.tabs li a {
|
|
|
|
display: inline-block; width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.45em;
|
|
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
background: hsla(252, 82%, 66%, 0.53);
|
2019-01-26 17:06:30 +00:00
|
|
|
border-radius: 0.25em;
|
2019-01-26 16:49:25 +00:00
|
|
|
|
|
|
|
color: hsl(252, 100%, 59%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2019-02-01 18:40:00 +00:00
|
|
|
.tabs li a.active { opacity: 1; }
|
2019-01-26 16:49:25 +00:00
|
|
|
|
2019-02-01 18:40:00 +00:00
|
|
|
.tab-panes {
|
2019-01-26 17:06:30 +00:00
|
|
|
display: flex; justify-content: center;
|
|
|
|
|
2019-02-01 18:37:51 +00:00
|
|
|
min-height: 20em;
|
2019-01-26 17:06:30 +00:00
|
|
|
padding-top: 1em;
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|
|
|
|
|
2019-01-26 17:06:30 +00:00
|
|
|
.device-params { margin: 0 auto; }
|
|
|
|
|
2019-01-26 16:49:25 +00:00
|
|
|
.device-property-table {
|
2019-02-01 18:37:51 +00:00
|
|
|
border-collapse: collapse;
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|
|
|
|
.device-property-table tr:nth-child(odd) {
|
2019-02-01 18:37:51 +00:00
|
|
|
background: hsla(222, 100%, 70%, 0.25);
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|
|
|
|
.device-property-table th {
|
2019-02-01 18:37:51 +00:00
|
|
|
padding-right: 2em;
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|
|
|
|
.device-property-table td:nth-child(2) {
|
2019-02-01 18:37:51 +00:00
|
|
|
border-left: 0.2em solid hsl(222, 100%, 59%);
|
|
|
|
padding-left: 0.5em;
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|
|
|
|
|
2019-02-10 14:29:16 +00:00
|
|
|
.button-array {
|
2019-01-26 17:06:30 +00:00
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
|
2019-02-01 18:37:51 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-01-26 17:06:30 +00:00
|
|
|
}
|
2019-02-10 14:29:16 +00:00
|
|
|
.button-array button {
|
2019-01-26 17:06:30 +00:00
|
|
|
margin: 0.25em;
|
|
|
|
|
|
|
|
background: hsla(252, 82%, 66%, 0.53);
|
|
|
|
border-radius: 0.25em;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
color: hsl(252, 100%, 59%);
|
2019-01-26 16:49:25 +00:00
|
|
|
}
|