You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
inav-configurator/main.css

393 lines
6.8 KiB
CSS

* {
margin: 0;
padding: 0;
border: 0;
list-style: none;
outline: none;
}
html, body {
height: 100%;
}
body {
font-family: 'Segoe UI', Tahoma, sans-serif;
font-size: 12px;
color: #303030;
background-color:#3f4140;
margin:0px;
padding:0px;
}
a {
color: #303030;
text-decoration: none;
}
a:hover {
text-decoration: none;
}
input[type="number"]::-webkit-inner-spin-button {
opacity: 1; /* required for chromium 33+ beta */
margin-left: 5px;
}
.clear-both {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
#main-wrapper {
padding: 0px 0px 0 0px; /* padding: 5px 5px 0 5px; */
height: calc(100% - 5px);
}
#logo {
position: relative;
float:left;
width: 260px;
height:80px;
z-index: 0;
background-image: url("images/light-wide-2.svg");
background-repeat: no-repeat;
width: 340px;
background-position:left center;
background-size: contain;
margin-left:15px;
margin-top:15px;
}
#port-picker { /* */
float: left;
height: 105px; /* was 20px */
margin-top: 20px;
margin-left: 20px;
width:190px;
}
#port-picker li {
float: left;
} /*
#port-picker select {
height: 20px;
line-height: 20px;
float: left;
margin-right: 5px;
border: 1px solid silver;
}
#port-picker #port {
width: 130px;
}
#port-picker #baud {
width: 80px;
}
#port-picker #delay {
width: 60px;
}
#port-picker #port-override{
height: 18px;
line-height: 20px;
margin-right: 5px;
width: 120px;
padding: 0 5px;
border: 1px solid silver;
}
#port-picker a {
float: left;
display: block;
width: 80px;
height: 18px;
border: 1px solid silver;
line-height: 18px;
text-align: center;
}
#port-picker a.connect {
margin-right: 10px;
background-color: #be2222;
color: white;
font-weight: bold;
}
#port-picker a.connect:hover {
text-decoration: none;
background-color: #ea3131;
}
#port-picker a.connect.active {
background-color: #0fab16;
}
#port-picker a.connect.active:hover {
background-color: #13d81d;
}
#port-picker input.auto_connect {
float: left;
margin-top: 4px;
}
#port-picker span.auto_connect {
float: left;
margin: 3px 0 0 5px;
}
*/
#sensor-status {
float: right;
margin-right: 10px;
height: 22px;
line-height: 22px;
}
#header_dataflash {
display:none; }
#sensor-status li {
float: left;
padding: 0 12px 0 12px;
height: 18px;
line-height: 18px;
color: white;
text-align: center;
border: 1px solid #c0c0c0;
border-right: 0;
background-color: #e32424;
}
#sensor-status li:last-child {
border-right: 1px solid #c0c0c0;
}
#sensor-status .on {
background-color: #b8cf02;
}
#header-wrapper {
}
#documentation-controls {
float: right;
height: 22px;
line-height: 22px;
margin-right: 10px;
}
/*
#button-documentation {
float: left;
padding: 0 12px 0 12px;
height: 18px;
line-height: 18px;
background-color: #ffcb18;
color: #000;
font-weight: bold;
border: solid 1px #c0c0c0;
display: none;
}
*/
#options {
float: right;
width: 20px;
height: 20px;
background-image: url('./images/ic_settings_24px.svg');
background-position: -1px -1px;
background-repeat: no-repeat;
opacity: 0.6;
}
#options:hover {
opacity: 0.7;
}
#options.active {
opacity: 0.7;
}
#options.active:hover {
opacity: 0.85;
}
#options-window {
display: none;
position: fixed;
right: 30px;
top: 15px;
padding: 5px;
line-height: 20px;
border: 1px solid silver;
background-color: white;
}
#options-window input {
float: left;
margin-top: 3px;
margin-right: 5px;
}
#log {
margin-bottom: 0px;
height: 25px; /* was 65*/
border: 0px solid silver; /* was 1px*/
background-color: rgba(0, 0, 0, 1.0);
overflow-y: hidden; /* scroll*/
color:#fff;
line-height: 20px;
}
#log .wrapper {
padding: 5px; /* was 5*/
padding-left:10px;
-webkit-user-select: text;
}
#log a {
font-weight: bold;
}
#log a:hover {
text-decoration: underline;
}
.tab_container {
float:left;
height:100%;
width:200px;
border-right: 4px solid #59aa29;
}
#tabs {
position: relative;
float: left;
width:100%;
padding-top: 0px;
padding-bottom: 0px;
margin-top:0px;
z-index: 10;
font-weight: regular;
font-size:13px;
}
#tabs ul {
margin-top:0px;
overflow: hidden;
/* Cause the height to expand to contain its floated contents */
}
#tabs ul.mode-connected {
display: none;
}
#tabs li {
width:100%;
float: left;
border-bottom: 1px solid rgba(0,0,0,0.30);
border-top: 1px solid #404040;
height:32px;
}
#tabs li:first-child {
border-top: 0px;
}
#tabs li:last-child {
border-bottom: 0px;
}
#tabs li a {
padding-left:40px;
padding-top:7px;
background-color: transparent;
color:#999999;
width:100%;
height:24px;
display:block;
text-shadow:0px 1px rgba(0, 0, 0, 0.25);
background-image:url(images/icons/cf_icon_info_green.svg);
background-repeat: no-repeat;
background-size:18px;
background-position:17px 6px;
text-shadow:0px 1px rgba(0, 0, 0, 0.25);
}
#tabs li a:hover {
text-decoration: none;
background-color: rgba(0,0,0,0.20);
}
#tabs li.active {
color: #fff;
}
#tabs li.active a {
background-color: #59aa29;
color: #fff;
background-image:url(images/icons/cf_icon_info_grey.svg);
}
#tabs li.active a:hover {
cursor: default;
background-color:#59aa29;
}
#content {
margin-top: 0px; /* 31 */
padding: 0px; /* 10 */
height:calc(100% - 150px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px) - was: calc(100% - 171px)*/
background-color: white;
overflow-x: hidden;
overflow-y: auto;
border: 0px solid #848484; /* 1px solid #848484; */
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
}
#status-bar {
position: fixed;
bottom: 0px;
width: calc(100% - 20px);
height: 20px;
line-height: 20px;
padding: 0 10px 0 10px;
border-top: 1px solid #7d7d79;
background-color: #bfbeb5;
}
#status-bar div {
float: left;
padding-right: 10px;
margin-right: 10px;
border-right: 1px solid #7d7d79;
}
#status-bar .version {
float: right;
margin: 0;
padding: 0;
border: 0;
}
#cache {
display: none;
}
.data-loading {
width: 100%;
height: 100%;
background-image: url('../images/loading-bars.svg');
background-repeat: no-repeat;
background-position: center 45%;
}
.data-loading p {
position: relative;
top: calc(45% + 45px);
text-align: center;
font-weight: bold;
}
dialog {
background-color: white;
padding: 1em;
height: auto;
margin: auto auto;
position: absolute;
width: 50%;
border-radius: 5px;
border: 1px solid silver;
}