betaflight-configurator/tabs/receiver.css

474 lines
8.8 KiB
CSS
Raw Normal View History

.tab-receiver {
font-weight: normal;
}
2015-11-08 15:52:07 +00:00
.tab-receiver .spacer {
padding-left: 10px;
padding-right: 9px;
width: calc(100% - 18px);
}
2014-09-20 12:07:00 +00:00
.tab-receiver input[type="number"]::-webkit-inner-spin-button {
border: 0;
}
2015-11-08 15:52:07 +00:00
2015-10-23 13:42:32 +00:00
.tab-receiver .help {
padding: 10px;
background-color: #ffcb18;
margin-bottom: 10px;
}
2014-09-20 12:07:00 +00:00
.tab-receiver .bars {
float: left;
width: calc(50% - 20px);
2014-09-20 12:07:00 +00:00
font-weight: bold;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .bars ul {
margin-bottom: 5px;
clear: left;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver .bars li {
float: left;
height: 22px;
line-height: 20px;
white-space: nowrap;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .bars .name {
padding: 0 10px 0 0;
width: 50px;
text-align: right;
2014-09-20 12:07:00 +00:00
}
2014-09-20 12:07:00 +00:00
.tab-receiver .bars .meter {
width: calc(100% - 60px);
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver .bars .meter-bar {
position: relative;
margin-top: 2px;
2015-11-08 15:52:07 +00:00
width: calc(100% - 2px);
height: 15px;
2014-09-20 12:07:00 +00:00
border: 1px solid silver;
background-color: #f4f4f4;
border-radius: 3px;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver .bars .meter-bar .label {
position: absolute;
2014-09-20 12:07:00 +00:00
width: 50px;
height: 15px;
line-height: 15px;
text-align: center;
color: #474747;
}
.tab-receiver .bars .meter-bar .fill {
position: relative;
overflow: hidden;
border-radius: 2px;
width: 50%;
height: 15px;
background-color: green;
}
.tab-receiver .bars .meter-bar .fill .label {
color: white;
}
2015-11-08 15:52:07 +00:00
.tab-receiver .bars ul:nth-of-type(1) .fill {
background-color: #f1453d;
}
.tab-receiver .bars ul:nth-of-type(2) .fill {
background-color: #673fb4;
}
.tab-receiver .bars ul:nth-of-type(3) .fill {
background-color: #2b98f0;
}
.tab-receiver .bars ul:nth-of-type(4) .fill {
background-color: #1fbcd2;
}
.tab-receiver .bars ul:nth-of-type(5) .fill {
background-color: #159588;
}
.tab-receiver .bars ul:nth-of-type(6) .fill {
background-color: #50ae55;
}
.tab-receiver .bars ul:nth-of-type(7) .fill {
background-color: #cdda49;
}
.tab-receiver .bars ul:nth-of-type(8) .fill {
background-color: #fdc02f;
}
.tab-receiver .bars ul:nth-of-type(9) .fill {
background-color: #fc5830;
}
.tab-receiver .bars ul:nth-of-type(10) .fill {
background-color: #785549;
}
.tab-receiver .bars ul:nth-of-type(11) .fill {
background-color: #9e9e9e;
}
.tab-receiver .bars ul:nth-of-type(12) .fill {
background-color: #617d8a;
2014-09-20 12:07:00 +00:00
}
2015-01-25 01:00:09 +00:00
.tab-receiver .bars ul:nth-of-type(13) .fill {
background-color: #cf267d;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver .bars ul:nth-of-type(14) .fill {
background-color: #7a1464;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver .bars ul:nth-of-type(15) .fill {
background-color: #3a7a14;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver .bars ul:nth-of-type(16) .fill {
background-color: #14407a;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings {
float: right;
2015-11-08 15:52:07 +00:00
width: 45%;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings table {
border-collapse: collapse;
width: calc(100% - 2px);
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings .throttle {
margin-bottom: 10px;
}
2015-11-08 15:52:07 +00:00
.tab-receiver .tunings .rate {
margin-bottom: 10px;
}
2015-11-08 15:52:07 +00:00
.tab-receiver .tunings .yaw_rate {
margin-left: 0px;
margin-bottom: 10px;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings table, .tab-receiver .tunings table th, .tab-receiver .tunings table td {
padding: 4px;
text-align: left;
2015-11-08 15:52:07 +00:00
padding-left: 6px;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings table th {
background: #828885;
2015-11-08 15:52:07 +00:00
color: white;
border-right: 1px solid silver;
font-weight: normal;
2015-11-08 15:52:07 +00:00
}
.tab-receiver .tunings table th:first-child {
border-top-left-radius: 3px;
}
.tab-receiver .tunings table th:last-child {
border-top-right-radius: 3px;
border-right: 0px;
2015-11-08 15:52:07 +00:00
}
.tab-receiver .tunings table td {
background: #DEDEDE;
border-right: 1px solid silver;
2015-11-08 15:52:07 +00:00
}
.tab-receiver .tunings table td:first-child {
border-bottom-left-radius: 5px;
}
.tab-receiver .tunings table td:last-child {
border-bottom-right-radius: 5px;
border-right: 0px;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings table td {
padding: 1px;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings table tr:nth-child(odd) {
background-color: #ececec;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .tunings table input {
2015-11-08 15:52:07 +00:00
width: calc(100% - 8px);
border: 1px solid silver;
border-radius: 3px;
2014-09-20 12:07:00 +00:00
height: 20px;
margin: 3px;
2014-09-20 12:07:00 +00:00
line-height: 20px;
text-align: right;
}
2015-11-08 15:52:07 +00:00
2015-12-08 10:42:34 +00:00
.tab-receiver .deadband_wrapper {
float: right;
margin: 0px 0px 10px 0;
border-left: 0;
width: calc(25% - 2px);
background-color: #DEDEDE;
border-right: 1px solid silver;
}
.tab-receiver .deadband_wrapper .head {
height: 15px;
padding: 4px;
text-align: left;
padding-left: 6px;
font-weight: normal;
background: #828885;
color: white;
}
.tab-receiver .deadband_wrapper input {
height: 20px;
padding-left: 5px;
border: 1px solid silver;
margin: 4px;
width: calc(100% - 18px);
border-radius: 3px;
}
2015-01-07 13:50:24 +00:00
.tab-receiver .rssi_channel_wrapper {
2014-09-20 12:07:00 +00:00
float: right;
2015-11-08 15:52:07 +00:00
margin: 0px 0px 10px 0;
border-left: 0;
2015-12-08 10:42:34 +00:00
width: 25%;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
background-color: #DEDEDE;
}
2015-11-08 15:52:07 +00:00
2015-12-08 10:42:34 +00:00
.tab-receiver .rssi_channel_wrapper select {
height: 22px;
padding-left: 5px;
border: 1px solid silver;
margin: 4px;
width: calc(100% - 8px);
}
2015-01-07 13:50:24 +00:00
.tab-receiver .rssi_channel_wrapper .head {
height: 15px;
padding: 4px;
2015-11-08 15:52:07 +00:00
text-align: left;
padding-left: 6px;
font-weight: normal;
background: #828885;
2015-11-08 15:52:07 +00:00
color: white;
border-top-right-radius: 5px;
}
2015-11-08 15:52:07 +00:00
2015-01-07 13:50:24 +00:00
.tab-receiver .rssi_channel_wrapper select {
height: 22px;
padding-left: 5px;
border: 1px solid silver;
margin: 4px;
width: calc(100% - 8px);
}
2015-11-08 15:52:07 +00:00
.tab-receiver .rcmap_wrapper {
float: right;
position: relative;
2015-11-08 15:52:07 +00:00
margin: 0px 0px 10px 0;
2015-12-08 10:42:34 +00:00
width: calc(25% - 0px);
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
background-color: #DEDEDE;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .rcmap_wrapper .head {
height: 15px;
padding: 4px;
2015-11-08 15:52:07 +00:00
text-align: left;
padding-left: 6px;
font-weight: normal;
background: #828885;
2015-11-08 15:52:07 +00:00
color: white;
border-top-left-radius: 5px;
border-right: 1px solid silver;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver .rcmap_wrapper .head span {
}
2015-11-08 15:52:07 +00:00
2015-11-08 17:04:29 +00:00
.tab-receiver .hybrid_element {
border-right: 1px solid silver;
2015-11-08 17:04:29 +00:00
}
2014-09-20 12:07:00 +00:00
.tab-receiver .hybrid_element input {
position: absolute;
padding-left: 5px;
2015-11-08 15:52:07 +00:00
width: calc(100% - 36px);
height: 20px;
2014-09-20 12:07:00 +00:00
z-index: 2;
border-radius: 0px;
border: 1px solid silver;
margin: 4px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .hybrid_element select {
width: 100%;
height: 22px;
z-index: 1;
border: 1px solid silver;
margin: 4px;
width: calc(100% - 10px);
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .curves {
2015-11-08 15:52:07 +00:00
float: left;
margin-right: 10px;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver .throttle_curve {
margin: 0 0px 0px 0;
width: 200px;
height: 117px;
2014-09-20 12:07:00 +00:00
border: 1px solid silver;
2015-11-08 15:52:07 +00:00
border-radius: 3px;
background-image: url(../images/paper.jpg);
background-size: 200%;
background-position: center;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver .pitch_roll_curve {
margin: 0 0px 0px 0;
width: 200px;
height: 117px;
2014-09-20 12:07:00 +00:00
border: 1px solid silver;
2015-11-08 15:52:07 +00:00
border-radius: 3px;
background-image: url(../images/paper.jpg);
background-size: 200%;
background-position: center;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver select[name="rx_refresh_rate"] {
float: right;
border: 1px solid silver;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot {
width: 100%;
height: 200px;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(1) {
stroke: #f1453d;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(2) {
stroke: #673fb4;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(3) {
stroke: #2b98f0;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(4) {
stroke: #1fbcd2;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(5) {
stroke: #159588;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(6) {
stroke: #50ae55;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(7) {
stroke: #cdda49;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(8) {
stroke: #fdc02f;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(9) {
stroke: #fc5830;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(10) {
stroke: #785549;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(11) {
stroke: #9e9e9e;
2014-09-20 12:07:00 +00:00
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver #RX_plot .line:nth-child(12) {
stroke: #7a6614;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver #RX_plot .line:nth-child(13) {
stroke: #cf267d;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver #RX_plot .line:nth-child(14) {
stroke: #7a1464;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver #RX_plot .line:nth-child(15) {
stroke: #3a7a14;
}
2015-11-08 15:52:07 +00:00
2015-01-25 01:00:09 +00:00
.tab-receiver #RX_plot .line:nth-child(16) {
stroke: #14407a;
}
2015-11-08 15:52:07 +00:00
2014-09-20 12:07:00 +00:00
.tab-receiver .buttons {
width: calc(100% - 20px);
position: absolute;
bottom: 10px;
}
2014-03-29 18:21:13 +00:00
/* SVG classes*/
.tab-receiver .grid .tick {
stroke: silver;
2015-11-08 15:52:07 +00:00
stroke-width: 1px;
2014-03-29 18:21:13 +00:00
shape-rendering: crispEdges;
}
2015-11-08 15:52:07 +00:00
2014-03-29 18:21:13 +00:00
.tab-receiver .line {
stroke-width: 2px;
fill: none;
}
2015-11-08 15:52:07 +00:00
2014-03-29 18:21:13 +00:00
.tab-receiver .grid path {
stroke-width: 0;
}
2015-11-08 15:52:07 +00:00
2014-03-29 18:21:13 +00:00
.tab-receiver .axis path, .axis line {
fill: none;
2015-11-08 15:52:07 +00:00
stroke: #ccc;
stroke-width: 1px;
2014-03-29 18:21:13 +00:00
shape-rendering: crispEdges;
2015-10-23 13:42:32 +00:00
}
2015-11-08 15:52:07 +00:00
.tab-receiver text {
stroke: none;
fill: #828885;
font-size: 10px;
}