betaflight-configurator/tabs/motors.css

243 lines
4.1 KiB
CSS
Raw Normal View History

.tab-motors .modelAndAccel {
float: left;
width: 100%;
margin-bottom: 10px;
}
.tab-motors #accel {
float: left;
width: calc(100% - 282px);
}
.tab-motors .mixerPreview {
float: left;
}
.tab-motors .mixerPreview img {
width: 120px;
height: 120px;
}
.tab-motors .plot_control {
float: left;
2014-05-05 14:44:02 +00:00
width: 158px;
2014-05-05 14:44:02 +00:00
border: 1px solid silver;
}
.tab-motors .plot_control .title {
2014-09-20 12:07:00 +00:00
line-height: 20px;
font-weight: bold;
text-align: center;
border-bottom: 1px solid silver;
background-color: #ececec;
}
.tab-motors .plot_control .title a:hover {
2014-09-20 12:07:00 +00:00
text-decoration: underline;
}
.tab-motors .plot_control dl {
2014-09-20 12:07:00 +00:00
padding: 5px 5px 0 5px;
line-height: 22px;
}
.tab-motors .plot_control dt {
2014-09-20 12:07:00 +00:00
float: left;
width: 60px;
height: 22px;
font-weight: bold;
}
.tab-motors .plot_control dd {
2014-09-20 12:07:00 +00:00
height: 22px;
}
.tab-motors .plot_control select {
2014-09-20 12:07:00 +00:00
float: right;
width: 80px;
border: 1px solid silver;
}
.tab-motors .plot_control .x {
2014-09-20 12:07:00 +00:00
color: #00A8F0;
}
.tab-motors .plot_control .y {
2014-09-20 12:07:00 +00:00
color: #C0D800;
}
.tab-motors .plot_control .z {
2014-09-20 12:07:00 +00:00
color: #CB4B4B;
}
.tab-motors .plot_control .x, .tab-motors .plot_control .y, .tab-motors .plot_control .z {
2014-09-20 12:07:00 +00:00
text-align: right;
}
.tab-motors svg {
float: left;
2014-05-05 14:44:02 +00:00
width: calc(100% - 168px); /* - (plot control, margin)*/
height: 140px;
2014-03-08 05:25:15 +00:00
margin-bottom: 10px;
}
.tab-motors .grid .tick {
stroke: silver;
stroke-width: 1px;
shape-rendering: crispEdges;
}
.tab-motors .grid path {
stroke-width: 0;
}
.tab-motors .data .line {
stroke-width: 2px;
fill: none;
}
.tab-motors .axis path, .tab-motors .axis line {
fill: none;
stroke: #000000;
stroke-width: 1px;
shape-rendering: crispEdges;
}
.tab-motors .line:nth-child(1) {
stroke: #00A8F0;
}
.tab-motors .line:nth-child(2) {
stroke: #C0D800;
}
.tab-motors .line:nth-child(3) {
stroke: #CB4B4B;
}
2014-03-08 05:25:15 +00:00
.tab-motors .left.motors {
float: left;
2014-03-08 05:25:15 +00:00
width: calc(50% - 50px);
}
.tab-motors .right.servos {
float: right;
width: 50%;
}
.tab-motors .title {
padding-bottom: 2px;
text-align: center;
font-weight: bold;
}
.tab-motors .titles {
height: 20px;
}
.tab-motors .titles li {
2014-09-20 12:07:00 +00:00
float: left;
2014-03-08 05:25:15 +00:00
2014-09-20 12:07:00 +00:00
width: calc((100% / 9) - 10px);
margin-right: 10px;
2014-09-20 12:07:00 +00:00
text-align: center;
}
.tab-motors .servos .titles li {
2014-09-20 12:07:00 +00:00
float: right;
2014-03-08 05:25:15 +00:00
2014-09-20 12:07:00 +00:00
width: calc((100% / 8) - 10px);
2014-09-20 12:07:00 +00:00
margin: 0 0 0 10px;
}
.tab-motors .titles .active {
2014-09-20 12:07:00 +00:00
color: green;
}
.tab-motors .m-block {
float: left;
2014-05-05 14:44:02 +00:00
width: calc((100% / 9) - 12px);
height: 100px;
2014-03-08 05:25:15 +00:00
margin-right: 10px;
2014-03-08 05:25:15 +00:00
text-align: center;
border: 1px solid silver;
background-color: #f4f4f4;
}
.tab-motors .m-block .meter-bar {
position: relative;
width: 100%;
height: 100px;
}
.tab-motors .m-block .label {
position: absolute;
width: 100%;
bottom: 45px;
text-align: center;
font-weight: bold;
color: #474747;
}
.tab-motors .m-block .indicator .label {
color: white;
}
.tab-motors .servos .m-block {
float: right;
2014-03-08 05:25:15 +00:00
width: calc((100% / 8) - 12px);
margin: 0 0 0 10px;
}
.tab-motors .indicator {
position: absolute;
overflow: hidden;
width: 100%;
text-align: center;
}
.tab-motors .motor_testing {
margin-top: 15px;
}
.tab-motors .motor_testing .left {
2014-09-20 12:07:00 +00:00
width: calc(50% - 50px);
}
.tab-motors .motor_testing .sliders input {
2014-09-20 12:07:00 +00:00
-webkit-appearance: slider-vertical;
width: calc((100% / 9) - 13px);
height: 100px;
margin-left: 10px;
2014-09-20 12:07:00 +00:00
}
.tab-motors .motor_testing .sliders input:first-child {
margin-left: 0px;
2014-09-20 12:07:00 +00:00
}
.tab-motors .motor_testing .values {
2014-09-20 12:07:00 +00:00
margin-top: 5px;
}
.tab-motors .motor_testing .values li:first-child {
margin-left: 0px;
}
.tab-motors .motor_testing .values li {
2014-09-20 12:07:00 +00:00
float: left;
width: calc((100% / 9) - 10px);
margin-left: 10px;
2014-09-20 12:07:00 +00:00
text-align: center;
}
.tab-motors .motor_testing .notice {
2014-09-20 12:07:00 +00:00
float: right;
width: calc(50% - 22px);
padding: 5px;
border: 1px dotted silver;
}
.tab-motors .motor_testing .notice p {
margin-bottom: 10px;
}
.tab-motors .motor_testing .notice input[type="checkbox"] {
2014-09-20 12:07:00 +00:00
vertical-align: middle;
margin-right: 10px;
2014-09-20 12:07:00 +00:00
}