betaflight-configurator/tabs/servos.css

186 lines
2.9 KiB
CSS
Raw Normal View History

.tab-servos {
}
2013-12-18 20:58:01 +00:00
.tab-servos .title {
margin-top: 0px;
line-height: 30px;
2013-12-18 20:58:01 +00:00
text-align: center;
font-weight: bold;
border: 1px solid #e4e4e4;
2013-12-18 20:58:01 +00:00
border-bottom: 0;
background-color: #DADADA;
color: #797979;
border-top-right-radius:5px;
border-top-left-radius:5px;
}
.tab-servos table {
margin-bottom: 10px;
width:100%;
border-collapse:collapse;
}
.tab-servos table,
.tab-servos table th,
.tab-servos table td {
border-left:0px;
border-right:0px;
border-top:0px;
}
.tab-servos input[type="number"]::-webkit-inner-spin-button {
border: 0;
2013-12-18 20:58:01 +00:00
}
2013-12-18 20:58:01 +00:00
.tab-servos table.directions td.direction select {
height: 19px;
line-height: 19px;
}
2014-09-20 12:07:00 +00:00
.tab-servos table th {
padding-top:3px;
padding-bottom:3px;
2014-09-20 12:07:00 +00:00
text-align: center;
border: 1px solid #e4e4e4;
2014-09-20 12:07:00 +00:00
}
.tab-servos table td {
border-bottom:1px solid #e4e4e4;
padding-top:6px;
padding-bottom:7px;
padding-left:5px;
padding-right:5px;
border-left:1px solid #e4e4e4;
border-right:1px solid #e4e4e4;
2014-09-20 12:07:00 +00:00
}
.tab-servos table tr:nth-child(even) {
background-color:#f9f9f9;
}
.tab-servos table tr:first-child {
border-left:1px solid #e4e4e4;
border-right:1px solid #e4e4e4;
background-color: #828885;
color: #FFF;
line-height: 14px;
}
.tab-servos table td:nth-child(2) {
width:140px;
}
.tab-servos table td:nth-child(3) {
width:140px;
}
.tab-servos table td:nth-child(4) {
width:140px;
}
.tab-servos table td:nth-child(19) {
width:110px;
}
2014-09-20 12:07:00 +00:00
.tab-servos table .main {
font-weight: bold;
text-align: center;
background-color: #ececec;
}
2014-09-20 12:07:00 +00:00
.tab-servos table .channel {
width: 40px;
text-align: center;
}
.tab-servos table input {
border: 1px solid silver;
border-radius:3px;
}
.tab-servos table select {
border: 1px solid silver;
}
2014-09-20 12:07:00 +00:00
.tab-servos table .channel input {
vertical-align: middle;
}
2014-09-20 12:07:00 +00:00
.tab-servos table input[type="number"] {
display: block;
width: 100%;
height: 20px;
line-height: 20px;
text-align: right;
}
2014-09-20 12:07:00 +00:00
.tab-servos table .direction {
}
2014-09-20 12:07:00 +00:00
.tab-servos .direction .name {
float: left;
display: block;
width: 60px;
}
.tab-servos .direction .alternate {
float: left;
display: block;
width: 60px;
}
2014-09-20 12:07:00 +00:00
.tab-servos .direction .first {
float: left;
margin: 2px 10px 0 20px;
}
2014-09-20 12:07:00 +00:00
.tab-servos .direction .second {
float: left;
margin: 2px 10px 0 0;
}
2014-09-20 12:07:00 +00:00
.tab-servos .direction .rate {
width: 110px;
2014-09-20 12:07:00 +00:00
height: 20px;
text-align: center;
}
2014-09-20 12:07:00 +00:00
.tab-servos .live {
float: left;
margin-top: 0px;
2014-09-20 12:07:00 +00:00
}
2014-09-20 12:07:00 +00:00
.tab-servos .live span {
float: left;
}
2014-09-20 12:07:00 +00:00
.tab-servos .live input {
float: left;
margin: 0 0 0 5px;
}
2014-09-20 12:07:00 +00:00
.tab-servos .buttons {
width: calc(100% - 20px);
position: absolute;
bottom: 10px;
}
2015-10-23 13:42:32 +00:00
.tab-servos .require-support {
display:none;
}
2015-10-23 13:42:32 +00:00
.tab-servos.supported .require-support {
display:block;
}
2015-10-23 13:42:32 +00:00
.tab-servos .require-upgrade {
display:block;
}
2015-10-23 13:42:32 +00:00
.tab-servos.supported .require-upgrade {
display:none;
}
.tab-servos .live span {
margin-right:10px;
}