1
0
Fork 0
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:
skaman82 2015-10-28 13:15:59 +01:00
parent dcc037c549
commit 4d6fae7fb1
6 changed files with 25 additions and 20 deletions

View file

@ -879,8 +879,8 @@ li.active .ic_mission {
#content { #content {
margin-top: 0px; /* 31 */ margin-top: 0px; /* 31 */
padding: 20px; /* 10 */ padding: 0px; /* 10 */
height:calc(100% - 190px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/ height:calc(100% - 150px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
background-color: white; background-color: white;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
@ -890,10 +890,10 @@ li.active .ic_mission {
} }
#content.active { #content.logopen {
margin-top: 0px; /* 31 */ margin-top: 0px; /* 31 */
padding: 20px; /* 10 */ padding: 0px; /* 10 */
height:calc(100% - 274px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/ height:calc(100% - 234px); /* (port picker 105px, log 25px, tab 0px, status bar: 20px + padding) - was: calc(100% - 171px)*/
background-color: white; background-color: white;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
@ -1121,7 +1121,7 @@ dialog {
/* Fixed area at the Bottom */ /* Fixed area at the Bottom */
.fixed_band { .fixed_band {
position: absolute; position: ;
height: 50px; height: 50px;
background-color:#e4e4e4; background-color:#e4e4e4;
width:100%; width:100%;
@ -1129,8 +1129,8 @@ dialog {
box-shadow:rgba(0,0,0,0.20) 0 -3px 8px ; box-shadow:rgba(0,0,0,0.20) 0 -3px 8px ;
z-index:1000; z-index:1000;
float:left; float:left;
margin-top:10px; margin-top:0px;
margin-bottom:10px; margin-bottom:0px;
} }
@ -1154,6 +1154,11 @@ dialog {
display:block; display:block;
cursor:pointer; cursor:pointer;
transition: all ease 0.2s; 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*/ /* 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 { .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; float:left;
width:100%;
height:100%;
} }

View file

@ -378,7 +378,7 @@ $("#showlog").on('click', function() {
if ( state ) { if ( state ) {
$("#log").animate({height: 27}, 800); $("#log").animate({height: 27}, 800);
$("#log").removeClass('active'); $("#log").removeClass('active');
$("#content").removeClass('active'); $("#content").removeClass('logopen');
$("#scrollicon").removeClass('active'); $("#scrollicon").removeClass('active');
@ -386,7 +386,7 @@ $("#showlog").on('click', function() {
}else{ }else{
$("#log").animate({height: 111}, 800); $("#log").animate({height: 111}, 800);
$("#log").addClass('active'); $("#log").addClass('active');
$("#content").addClass('active'); $("#content").addClass('logopen');
$("#scrollicon").addClass('active'); $("#scrollicon").addClass('active');
state = true; state = true;

View file

@ -325,13 +325,13 @@
<div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a>
</div></div>
</div> </div>
<div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a>
</div></div>

View file

@ -28,9 +28,13 @@
<div class="note require-upgrade" i18n="portsFirmwareUpgradeRequired"> <div class="note require-upgrade" i18n="portsFirmwareUpgradeRequired">
</div> </div>
</div>
<div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a> <div class="fixed_band"><div class="save_btn"><a class="save" href="#" i18n="configurationButtonSave"></a>
</div></div> </div></div>
</div>
<div id="tab-ports-templates"> <div id="tab-ports-templates">
<table class="ports"> <table class="ports">

View file

@ -20,7 +20,7 @@
background-color:#f5f5f5; background-color:#f5f5f5;
border-radius: 5px; border-radius: 5px;
border:1px solid #e4e4e4; border:1px solid #e4e4e4;
margin-bottom:20px; margin-bottom:10px;
min-height:404px; min-height:404px;

View file

@ -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="cf_column full" style="margin-bottom:10px;">
<div class="tab_title">Setup <div class="tab_title">Setup
@ -129,5 +129,3 @@
</div></div> </div></div>
</div>