diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 02c857fd..045e18c7 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -988,7 +988,7 @@ "message": "Maximum YAW rotation rate that MagHold controller can request from UAV. Used only when MagHold mode is enabled, during RTH and WAYPOINT navigation. Values below 30dps gives nice \"cinematic\" turns" }, "pidTuningTPA": { - "message": "TPA" + "message": "Thrust PID Attenuation (TPA)" }, "pidTuningTPABreakPoint": { "message": "TPA Breakpoint" diff --git a/main.css b/main.css index 17ba4d3e..bfeda581 100644 --- a/main.css +++ b/main.css @@ -1050,6 +1050,15 @@ dialog { margin-bottom: 15px; } +.tab_subtitle { + border-bottom: 1px solid #37a8db; + font-size: 1.5em; + line-height: 1.5em; + height: 25px; + font-family: 'open_sanslight', Arial, serif; + margin-bottom: 8px; +} + /* Note */ .note { background-color: #fff7cd; @@ -2099,15 +2108,17 @@ select { .subtab__header_label { display: inline-block; padding: 0 1em; - background-color: #ccc; + background-color: #eee; min-width: 7em; height: 1.5em; line-height: 1.5em; cursor: pointer; + font-size: 18px; } .subtab__header_label--current { font-weight: bold; + background-color: #ccc; } .subtab__header_label:hover { diff --git a/src/css/tabs/pid_tuning.css b/src/css/tabs/pid_tuning.css index 2123ed54..9cb31bd6 100644 --- a/src/css/tabs/pid_tuning.css +++ b/src/css/tabs/pid_tuning.css @@ -12,7 +12,7 @@ .rate-tpa.rate-tpa--inav td, .rate-tpa.rate-tpa--filtering td, .rate-tpa.rate-tpa--misc td { - background-color: #DEDEDE; + background-color: #f3f3f3; width: auto; border-bottom: 1px solid #ccc; } @@ -376,3 +376,7 @@ top: 10px; position: relative; } + +.rate-tpa tbody { + /* background: #D6D6D6 linear-gradient(-45deg, rgba(255, 255, 255, .2) 10%, transparent 10%, transparent 20%, rgba(255, 255, 255, .2) 20%, rgba(255, 255, 255, .2) 30%, transparent 30%, transparent 40%, rgba(255, 255, 255, .2) 40%, rgba(255, 255, 255, .2) 50%, transparent 50%, transparent 60%, rgba(255, 255, 255, .2) 60%, rgba(255, 255, 255, .2) 70%, transparent 70%, transparent 80%, rgba(255, 255, 255, .2) 80%, rgba(255, 255, 255, .2) 90%, transparent 90%, transparent 100%, rgba(255, 255, 255, .2) 100%, transparent); */ +} diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 5b282ec7..8d96ac2d 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -3,193 +3,223 @@