diff --git a/src/css/tabs/adjustments.css b/src/css/tabs/adjustments.css index 444fbb72..0717d80a 100644 --- a/src/css/tabs/adjustments.css +++ b/src/css/tabs/adjustments.css @@ -21,6 +21,7 @@ .tab-adjustments .adjustments { width: 100%; border-spacing: 0px; + background-color: #e4e4e4; } .tab-adjustments td { @@ -56,10 +57,6 @@ background-color: #f4f4f4; } -.tab-adjustments .adjustments { - background-color: #e4e4e4; -} - .tab-adjustments .adjustment select { /* outline: 1px solid silver; */ border-radius: 3px; diff --git a/src/css/tabs/cli.css b/src/css/tabs/cli.css index 2e8b9325..ce64304c 100644 --- a/src/css/tabs/cli.css +++ b/src/css/tabs/cli.css @@ -97,6 +97,9 @@ border-radius: 5px; max-height: 50%; overflow: auto; + list-style: none; + padding: 0; + margin: 0; } .cli-textcomplete-dropdown::-webkit-scrollbar { @@ -121,12 +124,6 @@ background-color: rgb(255, 187, 0); } -.cli-textcomplete-dropdown { - list-style: none; - padding: 0; - margin: 0; -} - .cli-textcomplete-dropdown a:hover { cursor: pointer; } diff --git a/src/css/tabs/configuration.css b/src/css/tabs/configuration.css index d3951814..0731c57d 100644 --- a/src/css/tabs/configuration.css +++ b/src/css/tabs/configuration.css @@ -17,7 +17,7 @@ } .tab-configuration table td { - padding-left: 5px; + padding: 5px 3px; border-bottom: 1px solid var(--subtleAccent); } @@ -26,10 +26,6 @@ width: 55px; } -.tab-configuration table td { - padding: 5px 3px; -} - .tab-configuration table thead tr:first-child { background-color: #ececec; } diff --git a/src/css/tabs/failsafe.css b/src/css/tabs/failsafe.css index 05af4664..5c47660b 100644 --- a/src/css/tabs/failsafe.css +++ b/src/css/tabs/failsafe.css @@ -16,6 +16,16 @@ .tab-failsafe .number { margin-bottom: 5px; clear: left; + padding-bottom: 5px; + border-bottom: 1px solid var(--subtleAccent); + width: 100%; + float: left; +} + +.tab-failsafe .number:last-child { + border-bottom: none; + padding-bottom: 0; + margin-bottom: 0; } .tab-failsafe .number input { @@ -149,19 +159,6 @@ width: calc(100% - 20px); } -.tab-failsafe .number { - padding-bottom: 5px; - border-bottom: 1px solid var(--subtleAccent); - width: 100%; - float: left; -} - -.tab-failsafe .number:last-child { - border-bottom: none; - padding-bottom: 0; - margin-bottom: 0; -} - .tab-failsafe .gui_box_titlebar { margin-bottom: 0; } @@ -293,6 +290,3 @@ min-width: 80px; } -@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) { - -} diff --git a/src/css/tabs/firmware_flasher.css b/src/css/tabs/firmware_flasher.css index 5e2dcb34..7c3b8f4e 100644 --- a/src/css/tabs/firmware_flasher.css +++ b/src/css/tabs/firmware_flasher.css @@ -1,6 +1,7 @@ .tab-firmware_flasher .info { padding: 2px 18px; position: relative; + flex-grow: 100; } .tab-firmware_flasher .info .progressLabel { @@ -22,10 +23,6 @@ float: none; } -.tab-firmware_flasher .info { - flex-grow: 100; -} - .tab-firmware_flasher .info .progressLabel a { color: white; } @@ -54,9 +51,6 @@ height: 26px; border-radius: 5px; border: 1px solid var(--subtleAccent); -} - -.tab-firmware_flasher .info .progress { -webkit-appearance: none; } diff --git a/src/css/tabs/receiver.css b/src/css/tabs/receiver.css index 3a428e78..26ec3c15 100644 --- a/src/css/tabs/receiver.css +++ b/src/css/tabs/receiver.css @@ -191,6 +191,7 @@ .tab-receiver .tunings table td { border-right: 1px solid var(--subtleAccent); + padding: 1px; } .tab-receiver .tunings table td:first-child { @@ -202,10 +203,6 @@ border-right: 0px; } -.tab-receiver .tunings table td { - padding: 1px; -} - .tab-receiver .tunings table input { width: calc(100% - 8px); border: 1px solid var(--subtleAccent); diff --git a/src/js/ConfigInserter.js b/src/js/ConfigInserter.js index d6431347..bb679a2b 100644 --- a/src/js/ConfigInserter.js +++ b/src/js/ConfigInserter.js @@ -43,8 +43,6 @@ function getCustomDefaultsArea(firmware) { return; } - var result = {}; - result.startAddress = readUint32(firmware, index); result.endAddress = readUint32(firmware, index); diff --git a/src/js/localization.js b/src/js/localization.js index 354d7345..c3737264 100644 --- a/src/js/localization.js +++ b/src/js/localization.js @@ -39,9 +39,6 @@ i18n.init = function(cb) { }); // This function should do the same things that the i18n.localizePage function below does. i18next.on('languageChanged', function (newLang) { - var translate = function(messageID) { - return i18n.getMessage(messageID); - }; i18n.localizePage(true); updateStatusBarVersion(); });