mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
CSS fixes
This commit is contained in:
parent
dcc037c549
commit
4d6fae7fb1
6 changed files with 25 additions and 20 deletions
25
main.css
25
main.css
|
@ -879,8 +879,8 @@ li.active .ic_mission {
|
|||
|
||||
#content {
|
||||
margin-top: 0px; /* 31 */
|
||||
padding: 20px; /* 10 */
|
||||
height:calc(100% - 190px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
|
||||
padding: 0px; /* 10 */
|
||||
height:calc(100% - 150px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
|
||||
background-color: white;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
@ -890,10 +890,10 @@ li.active .ic_mission {
|
|||
|
||||
}
|
||||
|
||||
#content.active {
|
||||
#content.logopen {
|
||||
margin-top: 0px; /* 31 */
|
||||
padding: 20px; /* 10 */
|
||||
height:calc(100% - 274px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
|
||||
padding: 0px; /* 10 */
|
||||
height:calc(100% - 234px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
|
||||
background-color: white;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
@ -1121,7 +1121,7 @@ dialog {
|
|||
/* Fixed area at the Bottom */
|
||||
|
||||
.fixed_band {
|
||||
position: absolute;
|
||||
position: ;
|
||||
height: 50px;
|
||||
background-color:#e4e4e4;
|
||||
width:100%;
|
||||
|
@ -1129,8 +1129,8 @@ dialog {
|
|||
box-shadow:rgba(0,0,0,0.20) 0 -3px 8px ;
|
||||
z-index:1000;
|
||||
float:left;
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
margin-top:0px;
|
||||
margin-bottom:0px;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1154,6 +1154,11 @@ dialog {
|
|||
display:block;
|
||||
cursor:pointer;
|
||||
transition: all ease 0.2s;
|
||||
padding:5px;
|
||||
padding-left:9px;
|
||||
padding-right:9px;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -1388,10 +1393,8 @@ background-color:#e60000;
|
|||
/* fixing padding for all Tabs*/
|
||||
|
||||
.tab-setup, .tab-landing, .tab-adjustments, .tab-auxiliary, .tab-cli, .tab-configuration, .tab-dataflash, .tab-firmware_flasher, .tab-gps, .tab-help, .tab-led-strip, .tab-logging, .tab-modes, .tab-motors, .tab-pid_tuning, .tab-ports, .tab-receiver, .tab-sensors, .tab-servos {
|
||||
padding:0px;
|
||||
padding:20px;
|
||||
float:left;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
|
||||
|
|
4
main.js
4
main.js
|
@ -378,7 +378,7 @@ $("#showlog").on('click', function() {
|
|||
if ( state ) {
|
||||
$("#log").animate({height: 27}, 800);
|
||||
$("#log").removeClass('active');
|
||||
$("#content").removeClass('active');
|
||||
$("#content").removeClass('logopen');
|
||||
|
||||
$("#scrollicon").removeClass('active');
|
||||
|
||||
|
@ -386,7 +386,7 @@ $("#showlog").on('click', function() {
|
|||
}else{
|
||||
$("#log").animate({height: 111}, 800);
|
||||
$("#log").addClass('active');
|
||||
$("#content").addClass('active');
|
||||
$("#content").addClass('logopen');
|
||||
$("#scrollicon").addClass('active');
|
||||
|
||||
state = true;
|
||||
|
|
|
@ -325,13 +325,13 @@
|
|||
|
||||
|
||||
|
||||
<div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a>
|
||||
</div></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a>
|
||||
</div></div>
|
||||
|
||||
|
||||
|
|
|
@ -28,9 +28,13 @@
|
|||
<div class="note require-upgrade" i18n="portsFirmwareUpgradeRequired">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a>
|
||||
</div></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="tab-ports-templates">
|
||||
<table class="ports">
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
background-color:#f5f5f5;
|
||||
border-radius: 5px;
|
||||
border:1px solid #e4e4e4;
|
||||
margin-bottom:20px;
|
||||
margin-bottom:10px;
|
||||
min-height:404px;
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div class="tab_setup"> <!-- should be the first DIV on each tab -->
|
||||
<div class="tab-setup"> <!-- should be the first DIV on each tab -->
|
||||
|
||||
<div class="cf_column full" style="margin-bottom:10px;">
|
||||
<div class="tab_title">Setup
|
||||
|
@ -129,5 +129,3 @@
|
|||
</div></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue