mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
remove connect from css stylesheet
This commit is contained in:
parent
b4f5b46335
commit
c337fdc898
3 changed files with 11 additions and 11 deletions
|
@ -1531,13 +1531,13 @@ dialog {
|
|||
transition: none;
|
||||
}
|
||||
|
||||
.firmware_b a.connect.disabled {
|
||||
.firmware_b a.flash.disabled {
|
||||
background-color: #808080;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.firmware_b a.connect {
|
||||
.firmware_b a.flash {
|
||||
background-color: #ffbb00;
|
||||
border: 1px solid #dba718;
|
||||
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
||||
|
@ -1547,29 +1547,29 @@ dialog {
|
|||
transition: none;
|
||||
}
|
||||
|
||||
.firmware_b a.connect:hover {
|
||||
.firmware_b a.flash:hover {
|
||||
background-color: #ffcc3f;
|
||||
}
|
||||
|
||||
.firmware_b a.connect.active {
|
||||
.firmware_b a.flash.active {
|
||||
background-color: #e60000;
|
||||
border: 1px solid #fe0000;
|
||||
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.firmware_b a.connect.active:hover {
|
||||
.firmware_b a.active.flash:hover {
|
||||
background-color: #f21212;
|
||||
}
|
||||
|
||||
.firmware_b a.connect.active {
|
||||
.firmware_b a.flash.active {
|
||||
background-color: #e60000;
|
||||
border: 1px solid #fe0000;
|
||||
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.firmware_b a.connect.active:hover {
|
||||
.firmware_b a.flash.active:hover {
|
||||
background-color: #f21212;
|
||||
}
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ function setupAnalytics(result) {
|
|||
}
|
||||
|
||||
$('.connect_b a.connect').removeClass('disabled');
|
||||
$('.firmware_b a.connect').removeClass('disabled');
|
||||
$('.firmware_b a.flash').removeClass('disabled');
|
||||
}
|
||||
|
||||
//Process to execute to real start the app
|
||||
|
|
|
@ -125,13 +125,13 @@
|
|||
<div id="port-picker">
|
||||
<div class="connect_controls" id="connectbutton">
|
||||
<div class="connect_b">
|
||||
<a class="connect disabled" href="#"></a>
|
||||
<a class="connect disabled" href="#"></a> <!-- Note: a.connect points to connect disabled-->
|
||||
</div>
|
||||
<a class="connect_state" i18n="connect"></a>
|
||||
</div>
|
||||
<div class="open_firmware_flasher">
|
||||
<div class="open_firmware_flasher" id="flashbutton">
|
||||
<div class="firmware_b">
|
||||
<a class="connect disabled" href="#"></a>
|
||||
<a class="flash disabled" href="#"></a>
|
||||
</div>
|
||||
<a class="flash_state" i18n="flashTab"></a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue