betaflight-configurator/tabs/initial_setup.css

330 lines
8.1 KiB
CSS
Raw Normal View History

.tab-initial_setup {
}
.tab-initial_setup .section {
clear: both;
padding-bottom: 8px;
}
.tab-initial_setup .section a {
display: block;
2014-03-08 05:25:15 +00:00
float: left;
2014-03-08 05:25:15 +00:00
2014-01-03 09:35:57 +00:00
width: 170px;
height: 24px;
line-height: 24px;
2014-03-08 05:25:15 +00:00
text-align: center;
2014-01-03 09:35:57 +00:00
font-weight: bold;
2014-03-08 05:25:15 +00:00
2014-01-03 09:35:57 +00:00
border: 1px solid silver;
background-color: #ececec;
}
.tab-initial_setup .section a:hover {
2014-01-03 09:35:57 +00:00
background-color: #dedcdc;
}
.tab-initial_setup .section a.calibrating {
2014-01-03 09:35:57 +00:00
background-color: #c1c1c1;
}
.tab-initial_setup .section a.calibrating:hover {
cursor: default;
2014-01-03 09:35:57 +00:00
background-color: #c1c1c1;
}
.tab-initial_setup .section a.backup {
2014-01-03 09:35:57 +00:00
width: 80px;
margin-right: 10px;
}
.tab-initial_setup .section a.restore {
2014-01-03 09:35:57 +00:00
width: 80px;
}
.tab-initial_setup .section p {
margin-left: 180px;
2014-03-08 05:25:15 +00:00
padding: 5px;
2014-03-08 05:25:15 +00:00
border: 1px dotted silver;
}
#interactive_block {
float: left;
2014-03-08 05:25:15 +00:00
height: 280px;
width: 400px;
2014-03-08 05:25:15 +00:00
border: 1px solid silver;
background-color: white;
}
#interactive_block .model {
display: block;
margin: 10px 0 0 10px;
2014-03-08 05:25:15 +00:00
font-weight: bold;
}
#interactive_block a.reset {
position: absolute;
display: block;
2014-03-08 05:25:15 +00:00
margin-left: 10px;
margin-top: 215px;
2014-03-08 05:25:15 +00:00
2014-01-03 09:01:54 +00:00
height: 28px;
line-height: 28px;
2014-03-08 05:25:15 +00:00
2014-01-03 09:01:54 +00:00
padding: 0 15px 0 15px;
2014-03-08 05:25:15 +00:00
text-align: center;
2014-01-03 09:01:54 +00:00
font-weight: bold;
2014-03-08 05:25:15 +00:00
border: 1px solid silver;
2014-01-03 09:01:54 +00:00
background-color: #ececec;
2014-03-08 05:25:15 +00:00
z-index: 100;
2014-03-08 05:25:15 +00:00
}
#interactive_block a.reset:hover {
2014-01-03 09:01:54 +00:00
background-color: #dedcdc;
}
#perspective {
-webkit-perspective: 800;
-webkit-perspective-origin: 50% 150px; /* 150px = (350px / 2) - 25px */
2014-03-08 05:25:15 +00:00
}
#cube {
position: relative;
top: 110px;
left: 150px; /* (916px / 2) - 50px */
2014-03-08 05:25:15 +00:00
height: 100px;
width: 100px;
2014-03-08 05:25:15 +00:00
-webkit-transform-style: preserve-3d;
}
#cubePITCH {
-webkit-transform-style: preserve-3d;
}
#cubeROLL {
-webkit-transform-style: preserve-3d;
}
#cube .face {
position: absolute;
2014-03-08 05:25:15 +00:00
color: white;
font-size: 25px;
text-align: center;
}
#cube .face.one {
width: 100px;
height: 200px;
line-height: 200px;
font-size: 20px;
2014-03-08 05:25:15 +00:00
-webkit-transform: rotateX(-90deg) translateZ(-50px);
background-color: purple;
}
#cube .face.two {
width: 100px;
height: 50px;
line-height: 50px;
2014-03-08 05:25:15 +00:00
-webkit-transform: translateZ(100px);
background-color: blue;
}
#cube .face.three {
width: 200px;
height: 50px;
line-height: 50px;
2014-03-08 05:25:15 +00:00
-webkit-transform: rotateY(90deg);
background-color: green;
}
#cube .face.four {
width: 100px;
height: 50px;
line-height: 50px;
2014-03-08 05:25:15 +00:00
-webkit-transform: rotateY(180deg) translateZ(100px);
background-color: black;
}
#cube .face.five {
width: 200px;
height: 50px;
line-height: 50px;
2014-03-08 05:25:15 +00:00
-webkit-transform: rotateY(-90deg) translateZ(100px);
background-color: red;
}
#cube .face.six {
width: 100px;
height: 200px;
line-height: 200px;
2014-03-08 05:25:15 +00:00
-webkit-transform: rotateX(90deg) translateZ(100px);
background-color: silver;
2014-03-08 05:25:15 +00:00
}
2014-01-13 17:07:34 +00:00
.tab-initial_setup .battery,
.tab-initial_setup .throttle,
.tab-initial_setup .acc-trim,
.tab-initial_setup .magnetometer,
.tab-initial_setup .info {
float: left;
display: block;
2014-03-08 05:25:15 +00:00
2014-05-05 12:58:55 +00:00
margin: 0 0 10px 10px;
2014-03-08 05:25:15 +00:00
2014-01-03 09:01:54 +00:00
border: 1px solid silver;
}
2014-01-13 17:07:34 +00:00
.tab-initial_setup .battery .head,
.tab-initial_setup .throttle .head,
.tab-initial_setup .acc-trim .head,
.tab-initial_setup .magnetometer .head,
.tab-initial_setup .info .head {
display: block;
2014-03-08 05:25:15 +00:00
text-align: center;
line-height: 20px;
font-weight: bold;
2014-03-08 05:25:15 +00:00
border-bottom: 1px solid silver;
background-color: #ececec;
}
.tab-initial_setup .battery .fields,
2014-01-13 17:07:34 +00:00
.tab-initial_setup .throttle .fields,
.tab-initial_setup .magnetometer .fields,
.tab-initial_setup .info .fields {
2014-01-15 13:16:43 +00:00
padding: 5px 5px 3px 5px;
}
.tab-initial_setup .acc-trim .fields {
padding: 5px 5px 3px 5px;
}
2014-01-15 13:16:43 +00:00
.tab-initial_setup .magnetometer .fields {
padding: 5px 5px 5px 5px;
}
.tab-initial_setup .battery dt {
float: left;
width: 105px;
2014-01-15 13:16:43 +00:00
height: 22px;
2014-03-08 05:25:15 +00:00
margin-bottom: 2px;
2014-03-08 05:25:15 +00:00
line-height: 22px;
}
2014-01-15 13:16:43 +00:00
.tab-initial_setup .battery dd {
height: 22px;
2014-03-08 05:25:15 +00:00
margin-left: 105px;
margin-bottom: 2px;
2014-03-08 05:25:15 +00:00
line-height: 22px;
}
.tab-initial_setup .battery input {
width: 60px;
height: 20px;
line-height: 20px;
2014-03-08 05:25:15 +00:00
border: 1px solid silver;
text-align: center;
}
2014-01-13 17:07:34 +00:00
.tab-initial_setup .throttle dt {
float: left;
width: 90px;
2014-01-15 13:16:43 +00:00
height: 22px;
2014-03-08 05:25:15 +00:00
margin-bottom: 2px;
2014-03-08 05:25:15 +00:00
2014-01-13 17:07:34 +00:00
line-height: 22px;
}
2014-01-15 13:16:43 +00:00
.tab-initial_setup .throttle dd {
height: 22px;
2014-03-08 05:25:15 +00:00
margin-left: 90px;
margin-bottom: 2px;
2014-03-08 05:25:15 +00:00
line-height: 22px;
2014-01-13 17:07:34 +00:00
}
.tab-initial_setup .throttle input {
width: 60px;
2014-01-13 17:07:34 +00:00
height: 20px;
line-height: 20px;
2014-03-08 05:25:15 +00:00
2014-01-13 17:07:34 +00:00
border: 1px solid silver;
text-align: center;
}
.tab-initial_setup .acc-trim dt {
float: left;
width: 65px;
2014-01-15 13:16:43 +00:00
height: 22px;
line-height: 22px;
2014-03-08 05:25:15 +00:00
margin-bottom: 2px;
}
.tab-initial_setup .acc-trim dd {
2014-01-15 13:16:43 +00:00
height: 22px;
2014-03-08 05:25:15 +00:00
margin-left: 65px;
margin-bottom: 2px;
}
.tab-initial_setup .acc-trim input {
width: 60px;
height: 20px;
line-height: 20px;
2014-03-08 05:25:15 +00:00
border: 1px solid silver;
text-align: center;
}
.tab-initial_setup .magnetometer dt {
float: left;
width: 90px;
2014-01-15 13:16:43 +00:00
height: 20px;
line-height: 22px;
2014-03-08 05:25:15 +00:00
margin-bottom: 2px;
}
.tab-initial_setup .magnetometer dd {
2014-01-15 13:16:43 +00:00
height: 20px;
line-height: 22px;
2014-03-08 05:25:15 +00:00
margin-left: 90px;
margin-bottom: 2px;
}
.tab-initial_setup .magnetometer input {
width: 60px;
height: 20px;
line-height: 20px;
2014-03-08 05:25:15 +00:00
border: 1px solid silver;
text-align: center;
}
.tab-initial_setup .info dt {
float: left;
width: 100px;
height: 20px;
line-height: 20px;
}
.tab-initial_setup .info dd {
width: 70px;
height: 20px;
line-height: 20px;
margin-left: 100px;
}
.tab-initial_setup .update {
display: block;
float: right;
2014-03-08 05:25:15 +00:00
2014-05-05 12:58:55 +00:00
margin: 0 3px 0 0;
2014-03-08 05:25:15 +00:00
width: 80px;
2014-04-03 13:38:41 +00:00
height: 28px;
line-height: 28px;
2014-03-08 05:25:15 +00:00
text-align: center;
font-weight: bold;
2014-03-08 05:25:15 +00:00
border: 1px solid silver;
background-color: #ececec;
}
.tab-initial_setup .update:hover {
background-color: #dedcdc;
2014-05-05 12:58:55 +00:00
}