Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2019-09-15 22:43:11 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2019-09-15 22:43:11 +0300
commitd4cd63839701fdba0f7c6a0d4e4527c31e51151f (patch)
tree82be66cdccce58c6d40770a9a6a23c833e018135 /src/css/tabs/motors.css
parent6d8975f5f8b353638c1cacbca8290d9617d451fa (diff)
Outputs tab rework part 1
Diffstat (limited to 'src/css/tabs/motors.css')
-rw-r--r--src/css/tabs/motors.css157
1 files changed, 139 insertions, 18 deletions
diff --git a/src/css/tabs/motors.css b/src/css/tabs/motors.css
index 13fdbf3b..68e0d8f5 100644
--- a/src/css/tabs/motors.css
+++ b/src/css/tabs/motors.css
@@ -14,10 +14,6 @@
width: calc(100% - 292px);
}
-.tab-motors .mixerPreview {
- float: left;
-}
-
.tab-motors .mixerPreview img {
width: 120px;
height: 120px;
@@ -173,27 +169,20 @@
stroke: #CB4B4B;
}
-.tab-motors .motorblock {
- background-color: #ECECEC;
-}
-
.tab-motors .left.motors {
float: left;
width: calc(50% - 50px);
}
-.tab-motors .title {
- padding-bottom: 2px;
- text-align: center;
- font-weight: bold;
+.tab-motors .right.motors {
+ float: right;
+ width: calc(50% - 50px);
}
-.tab-motors .title2 {
+.tab-motors .title {
padding-bottom: 2px;
text-align: center;
- font-size: 12px;
font-weight: bold;
- margin-bottom: 1em;
}
.tab-motors .titles {
@@ -305,8 +294,6 @@
}
.tab-motors .motor_testing_notice {
- float: right;
- width: calc(50% - 24px);
padding: 5px;
border: 2px solid #ccc;
border-radius: 3px;
@@ -320,4 +307,138 @@
.tab-motors .motor_testing_notice .motorsEnableTestMode {
margin-left: 10px;
-} \ No newline at end of file
+}
+
+.tab-motors .tab-servos {
+ margin: 1em;
+}
+
+.tab-servos .title {
+ margin-top: 0;
+ line-height: 30px;
+ text-align: center;
+ font-weight: bold;
+ border: 1px solid #e4e4e4;
+ 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: 0;
+ border-right: 0;
+ border-top: 0;
+}
+
+.tab-servos input[type="number"]::-webkit-inner-spin-button {
+ border: 0;
+}
+
+.tab-servos .directions .direction select {
+ height: 19px;
+ line-height: 19px;
+}
+
+.tab-servos table th {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ text-align: center;
+ border: 1px solid #e4e4e4;
+}
+
+.tab-servos table td {
+ border-bottom: 1px solid #e4e4e4;
+ padding: 6px 5px 7px 5px;
+ border-left: 1px solid #e4e4e4;
+ border-right: 1px solid #e4e4e4;
+}
+
+.tab-servos table tr:nth-child(even) {
+ background-color: #f9f9f9;
+}
+
+.tab-servos table .main {
+ font-weight: bold;
+ text-align: center;
+ background-color: #ececec;
+}
+
+.tab-servos table .channel {
+ width: 22px;
+ text-align: center;
+}
+
+.tab-servos table input {
+ border: 1px solid silver;
+ border-radius: 3px;
+}
+
+.tab-servos table select {
+ border: 1px solid silver;
+}
+
+.tab-servos table .channel input {
+ vertical-align: middle;
+}
+
+.tab-servos table input[type="number"] {
+ display: block;
+ width: 100%;
+ height: 20px;
+ line-height: 20px;
+ text-align: right;
+}
+
+.tab-servos .direction .name {
+ float: left;
+ display: block;
+ width: 60px;
+}
+
+.tab-servos .direction .alternate {
+ float: left;
+ display: block;
+ width: 60px;
+}
+
+.tab-servos .direction .first {
+ float: left;
+ margin: 2px 10px 0 20px;
+}
+
+.tab-servos .direction .second {
+ float: left;
+ margin: 2px 10px 0 0;
+}
+
+.tab-servos .direction .rate {
+ width: 110px;
+ height: 20px;
+ text-align: center;
+}
+
+.tab-servos .buttons {
+ width: calc(100% - 20px);
+ position: absolute;
+ bottom: 10px;
+}
+
+.tab-servos .live span {
+ margin-right: 10px;
+}
+
+.tab-servos .wide {
+ width: 120px;
+}
+
+.tab-servos .short {
+ width: 32px;
+} \ No newline at end of file