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;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect.disabled {
|
.firmware_b a.flash.disabled {
|
||||||
background-color: #808080;
|
background-color: #808080;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect {
|
.firmware_b a.flash {
|
||||||
background-color: #ffbb00;
|
background-color: #ffbb00;
|
||||||
border: 1px solid #dba718;
|
border: 1px solid #dba718;
|
||||||
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
||||||
|
@ -1547,29 +1547,29 @@ dialog {
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect:hover {
|
.firmware_b a.flash:hover {
|
||||||
background-color: #ffcc3f;
|
background-color: #ffcc3f;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect.active {
|
.firmware_b a.flash.active {
|
||||||
background-color: #e60000;
|
background-color: #e60000;
|
||||||
border: 1px solid #fe0000;
|
border: 1px solid #fe0000;
|
||||||
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect.active:hover {
|
.firmware_b a.active.flash:hover {
|
||||||
background-color: #f21212;
|
background-color: #f21212;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect.active {
|
.firmware_b a.flash.active {
|
||||||
background-color: #e60000;
|
background-color: #e60000;
|
||||||
border: 1px solid #fe0000;
|
border: 1px solid #fe0000;
|
||||||
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
background-image: url(../images/icons/cf_icon_flasher_white.svg);
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firmware_b a.connect.active:hover {
|
.firmware_b a.flash.active:hover {
|
||||||
background-color: #f21212;
|
background-color: #f21212;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ function setupAnalytics(result) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.connect_b a.connect').removeClass('disabled');
|
$('.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
|
//Process to execute to real start the app
|
||||||
|
|
|
@ -125,13 +125,13 @@
|
||||||
<div id="port-picker">
|
<div id="port-picker">
|
||||||
<div class="connect_controls" id="connectbutton">
|
<div class="connect_controls" id="connectbutton">
|
||||||
<div class="connect_b">
|
<div class="connect_b">
|
||||||
<a class="connect disabled" href="#"></a>
|
<a class="connect disabled" href="#"></a> <!-- Note: a.connect points to connect disabled-->
|
||||||
</div>
|
</div>
|
||||||
<a class="connect_state" i18n="connect"></a>
|
<a class="connect_state" i18n="connect"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="open_firmware_flasher">
|
<div class="open_firmware_flasher" id="flashbutton">
|
||||||
<div class="firmware_b">
|
<div class="firmware_b">
|
||||||
<a class="connect disabled" href="#"></a>
|
<a class="flash disabled" href="#"></a>
|
||||||
</div>
|
</div>
|
||||||
<a class="flash_state" i18n="flashTab"></a>
|
<a class="flash_state" i18n="flashTab"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue