mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
polished sensor indicators
This commit is contained in:
parent
6049cf0ec4
commit
e2755ea179
4 changed files with 13 additions and 20 deletions
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
|
"options_title": {
|
||||||
|
"message": "Application Options"
|
||||||
|
},
|
||||||
"options_receive_app_notifications": {
|
"options_receive_app_notifications": {
|
||||||
"message": "Receive desktop <strong>notification</strong> when application updates"
|
"message": "Receive desktop <strong>notification</strong> when application updates"
|
||||||
},
|
},
|
||||||
"options_improve_configurator": {
|
"options_improve_configurator": {
|
||||||
"message": "Send anonymous usage data to the developer team"
|
"message": "Send anonymous usage data to the developer team"
|
||||||
},
|
},
|
||||||
"options_back": {
|
|
||||||
"message": "Leave Options"
|
|
||||||
},
|
|
||||||
|
|
||||||
"notifications_app_just_updated_to_version": {
|
"notifications_app_just_updated_to_version": {
|
||||||
"message": "Application just updated to version: $1"
|
"message": "Application just updated to version: $1"
|
||||||
|
|
13
main.css
13
main.css
|
@ -90,6 +90,8 @@ input[type="number"]::-webkit-inner-spin-button {
|
||||||
|
|
||||||
background-color: #be2222;
|
background-color: #be2222;
|
||||||
color: white;
|
color: white;
|
||||||
|
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
#port-picker a.connect:hover {
|
#port-picker a.connect:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -122,7 +124,6 @@ input[type="number"]::-webkit-inner-spin-button {
|
||||||
#sensor-status li {
|
#sensor-status li {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
margin-left: 10px;
|
|
||||||
padding: 0 12px 0 12px;
|
padding: 0 12px 0 12px;
|
||||||
|
|
||||||
height: 18px;
|
height: 18px;
|
||||||
|
@ -132,11 +133,15 @@ input[type="number"]::-webkit-inner-spin-button {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
border: 1px solid #c0c0c0;
|
border: 1px solid #c0c0c0;
|
||||||
border-radius: 8px;
|
border-right: 0;
|
||||||
background-color: #be2222;
|
|
||||||
|
background-color: #901515;
|
||||||
|
}
|
||||||
|
#sensor-status li:last-child {
|
||||||
|
border-right: 1px solid #c0c0c0;
|
||||||
}
|
}
|
||||||
#sensor-status .on {
|
#sensor-status .on {
|
||||||
background-color: #0d8b13;
|
background-color: #076b0c;
|
||||||
}
|
}
|
||||||
#options {
|
#options {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<a id="options" href="#" title="Options"></a>
|
<a id="options" href="#" i18n_title="options_title"></a>
|
||||||
<div id="sensor-status">
|
<div id="sensor-status">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="gyro" title="Gyroscope">Gyro</li>
|
<li class="gyro" title="Gyroscope">Gyro</li>
|
||||||
|
|
12
main.js
12
main.js
|
@ -167,18 +167,6 @@ $(document).ready(function() {
|
||||||
$(this).empty().remove();
|
$(this).empty().remove();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
chrome.app.window.create('./tabs/options.html', {
|
|
||||||
id: 'option-window',
|
|
||||||
frame: 'none',
|
|
||||||
resizable: false
|
|
||||||
}, function(createdWindow) {
|
|
||||||
// translate to user-selected language
|
|
||||||
localize();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// listen to all input change events and adjust the value within limits if necessary
|
// listen to all input change events and adjust the value within limits if necessary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue