393 lines
7.3 KiB
CSS
Executable File
393 lines
7.3 KiB
CSS
Executable File
body, html {
|
||
height: 100%;
|
||
margin: 0;
|
||
font-family: Arial;
|
||
}
|
||
|
||
.active, .cfgheader:hover {
|
||
background-color: #ccc;
|
||
}
|
||
.cfgpanel {
|
||
}
|
||
|
||
th.cfg {
|
||
padding:5pt
|
||
}
|
||
table.stat {
|
||
margin:0px 0px 5px 0px;
|
||
}
|
||
|
||
.hamburger {
|
||
position: relative;
|
||
display: inline-block;
|
||
width: 1.25em;
|
||
height: 0.8em;
|
||
margin-right: 0.3em;
|
||
border-top: 0.2em solid #fff;
|
||
border-bottom: 0.2em solid #fff;
|
||
}
|
||
|
||
.hamburger:before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0.3em;
|
||
left: 0px;
|
||
width: 100%;
|
||
border-top: 0.2em solid #fff;
|
||
}
|
||
|
||
.wrapper {
|
||
height: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin: 0;
|
||
}
|
||
.tci {
|
||
flex-grow: 1; border: none; margin: 0; padding: 0;
|
||
}
|
||
.footer {
|
||
background-color: #333;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
td.ch {
|
||
text-align: right;
|
||
padding: 0px 8px;
|
||
}
|
||
td.act {
|
||
text-align: center;
|
||
}
|
||
table, th, td {
|
||
border: 1px solid black;
|
||
border-collapse: collapse;
|
||
background-color: #ddd
|
||
}
|
||
|
||
td#caption {
|
||
text-align: center;
|
||
background-color: #aaa;
|
||
font-weight: bold;
|
||
}
|
||
|
||
td#sfreq {
|
||
background-color: #ccc;
|
||
}
|
||
|
||
.content {
|
||
display: flex;
|
||
flex: 1;
|
||
flex-direction: column;
|
||
overflow: auto;
|
||
height: 100%;
|
||
}
|
||
.tabcontent {
|
||
display: none;
|
||
flex: 1;
|
||
border-top: none;
|
||
flex-direction: column;
|
||
overflow: auto;
|
||
}
|
||
|
||
html {
|
||
font-family: Helvetica;
|
||
display: inline-block;
|
||
margin: 0px auto;
|
||
text-align: center;
|
||
}
|
||
h1{
|
||
color: #0F3376;
|
||
font-size: 24px
|
||
}
|
||
p{
|
||
font-size: 1.5rem;
|
||
}
|
||
|
||
.button2 {
|
||
background-color: #f44336;
|
||
}
|
||
:disabled.save {
|
||
opacity: 0.5;
|
||
}
|
||
.save {
|
||
background-color: #CC1111; /* 0F33C6; */
|
||
border: white;
|
||
border-width: 1;
|
||
color: white;
|
||
padding: 8px 30px;
|
||
text-align: center;
|
||
text-decoration: none;
|
||
display: block;
|
||
font-size: 14px;
|
||
margin: 0
|
||
}
|
||
|
||
.ttgoinfo {
|
||
color: white;
|
||
padding: 8px 10px;
|
||
display: block;
|
||
font-size: 14px;
|
||
margin: 0
|
||
}
|
||
.ctlbtn {
|
||
background-color: #ccc;
|
||
border: black;
|
||
border-width: 1;
|
||
color: black;
|
||
padding: 4px 30px;
|
||
text-align: center;
|
||
text-decoration: none;
|
||
display: block;
|
||
margin: 2;
|
||
font-size: 4vh;
|
||
}
|
||
.update {
|
||
margin: 0;
|
||
display: block;
|
||
}
|
||
|
||
#map {
|
||
height: 100%;
|
||
}
|
||
|
||
.leaflet-popup-content table, .leaflet-popup-content table td {
|
||
border:0;
|
||
background-color: white;
|
||
}
|
||
|
||
.leaflet-popup-content table td:nth-child(2),.leaflet-popup-content table td:nth-child(5) {
|
||
text-align: right;
|
||
padding-left: 3px;
|
||
}
|
||
|
||
.leaflet-popup-content table td:nth-child(3),.leaflet-popup-content table td:nth-child(6) {
|
||
text-align: left;
|
||
padding-right: 10px;
|
||
}
|
||
|
||
.leaflet-gps{animation:fading 1s infinite}@keyframes fading{0%{opacity:0.7}50%{opacity:1}100%{opacity:0.7}}
|
||
|
||
.leaflet-gps::after {
|
||
content: '🔵';
|
||
}
|
||
.leaflet-gps {
|
||
margin-left: -7px !important;
|
||
margin-top: -9px !important;
|
||
}
|
||
|
||
.leaflet-burst::after {
|
||
content: '💥';
|
||
}
|
||
.leaflet-burst {
|
||
margin-left: -20px !important;
|
||
margin-top: -22px !important;
|
||
font-weight: bold;
|
||
font-size: 30px;
|
||
}
|
||
|
||
.leaflet-landing::after {
|
||
content: '×';
|
||
}
|
||
|
||
.leaflet-landing {
|
||
margin-left: -13px !important;
|
||
margin-top: -30px !important;
|
||
font-weight: bold;
|
||
font-size: 40px;
|
||
}
|
||
|
||
|
||
.leaflet-header {
|
||
text-align: center;
|
||
width: 250px;
|
||
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
||
border-bottom-left-radius: 4px;
|
||
border-bottom-right-radius: 4px;
|
||
pointer-events: auto !important;
|
||
}
|
||
|
||
.leaflet-header #settings {
|
||
display: none;
|
||
}
|
||
|
||
.leaflet-header label {
|
||
display: block;
|
||
margin-top: 5px;
|
||
}
|
||
.leaflet-header input {
|
||
width: 80px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.leaflet-header #submit {
|
||
margin: 3px auto;
|
||
}
|
||
|
||
.leaflet-footer {
|
||
display:none;
|
||
text-align: center;
|
||
width: 180px;
|
||
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
||
border-top-left-radius: 4px;
|
||
border-top-right-radius: 4px;
|
||
}
|
||
|
||
.leaflet-center {
|
||
left:0;
|
||
right:0;
|
||
margin: 0 auto;
|
||
padding: 5px;
|
||
background: #fff;
|
||
background: rgba(255, 255, 255, 0.8);
|
||
}
|
||
|
||
.leaflet-header #sonde_detail {
|
||
display:none;
|
||
}
|
||
|
||
@media screen and (max-width: 600px) {
|
||
.leaflet-control-attribution {
|
||
-moz-transform: rotate(-90deg) translateX(100%);
|
||
-ms-transform: rotate(-90deg) translateX(100%);
|
||
-o-transform: rotate(-90deg) translateX(100%);;
|
||
-webkit-transform: rotate(-90deg) translateX(100%);
|
||
transform: rotate(-90deg) translateX(100%);
|
||
-webkit-transform-origin: 100% 100%;
|
||
-moz-transform-origin: 100% 100%;
|
||
-ms-transform-origin: 100% 100%;
|
||
-o-transform-origin: 100% 100%;
|
||
transform-origin: 100% 100%;
|
||
}
|
||
}
|
||
|
||
.ldot {
|
||
height: 15px;
|
||
width: 15px;
|
||
margin-top: 8px;
|
||
margin-left: -1px;
|
||
border-radius: 50%;
|
||
display: inline-block;
|
||
}
|
||
|
||
.ybg {
|
||
background-color: orange;
|
||
background-image: -webkit-gradient(linear, left top, left bottom, from(yellow), to(orange));
|
||
background-image: linear-gradient(top, yellow, orange);
|
||
}
|
||
.gbg {
|
||
background-color: green;
|
||
background-image: -webkit-gradient(linear, left top, left bottom, from(lime), to(green));
|
||
background-image: linear-gradient(top, lime, green);
|
||
}
|
||
.rbg {
|
||
background-color: red;
|
||
background-image: -webkit-gradient(linear, left top, left bottom, from(orange), to(red));
|
||
background-image: linear-gradient(top, orange, red);
|
||
}
|
||
|
||
#sonde_statbar .ldot {
|
||
margin-right: 3px;
|
||
}
|
||
|
||
/* Add a black background color to the top navigation */
|
||
.topnav {
|
||
background-color: #333;
|
||
overflow: hidden;
|
||
}
|
||
|
||
/* Style the links inside the navigation bar */
|
||
.topnav a {
|
||
float: left;
|
||
display: block;
|
||
color: #f2f2f2;
|
||
text-align: center;
|
||
padding: 14px 16px;
|
||
text-decoration: none;
|
||
font-size: 17px;
|
||
}
|
||
|
||
/* Change the color of links on hover */
|
||
.topnav a:hover {
|
||
background-color: #ddd;
|
||
color: black;
|
||
}
|
||
|
||
/* Add an active class to highlight the current page */
|
||
.topnav a.active {
|
||
background-color: #04AA6D;
|
||
color: white;
|
||
}
|
||
|
||
/* Hide the link that should open and close the topnav on small screens */
|
||
.topnav .icon {
|
||
display: none;
|
||
padding-bottom: 12px;
|
||
padding-top: 11px;
|
||
}
|
||
|
||
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
|
||
@media screen and (max-width: 600px) {
|
||
.topnav a:not(.active) {display: none;}
|
||
.topnav a.icon {
|
||
float: right;
|
||
display: block;
|
||
}
|
||
}
|
||
|
||
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
|
||
@media screen and (max-width: 600px) {
|
||
.topnav.responsive {position: relative;}
|
||
.topnav.responsive a.icon {
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
}
|
||
.topnav.responsive a {
|
||
float: none;
|
||
display: block;
|
||
text-align: left;
|
||
}
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
body {
|
||
background-color: #333;
|
||
}
|
||
h2{
|
||
color: white;
|
||
}
|
||
table, th, td, .save, a.active {
|
||
color: white;
|
||
border: 1px solid grey;
|
||
border-collapse: collapse;
|
||
background-color: #333;
|
||
}
|
||
input, select, .tci, .warning {
|
||
color: white;
|
||
background-color: #333;
|
||
}
|
||
a:link, a:visited {
|
||
color: #D3D3D3;
|
||
}
|
||
.topnav, td#sfreq {
|
||
background-color: grey;
|
||
}
|
||
.topnav a:visited {
|
||
color: white;
|
||
}
|
||
.ctlbtn {
|
||
color: white;
|
||
background-color: grey;
|
||
}
|
||
.leaflet-center {
|
||
color: white;
|
||
background-color: grey;
|
||
}
|
||
.leaflet-bar a {
|
||
background-color: grey !important;
|
||
}
|
||
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
||
color: white !important;
|
||
background: grey !important;
|
||
}
|
||
}
|