Started to mess around with things…

pull/3/head
skaman82 9 years ago
parent 8e7097c33e
commit 10f7cdd1b0

@ -10,8 +10,8 @@ function startApplication() {
id: 'main-window', id: 'main-window',
frame: 'chrome', frame: 'chrome',
innerBounds: { innerBounds: {
minWidth: 960, minWidth: 1200, // changed from 960
minHeight: 625 minHeight: 700 // changed from 625
} }
}, function (createdWindow) { }, function (createdWindow) {
createdWindow.contentWindow.addEventListener('load', function () { createdWindow.contentWindow.addEventListener('load', function () {

@ -35,7 +35,7 @@ input[type="number"]::-webkit-inner-spin-button {
float: right; float: right;
} }
#main-wrapper { #main-wrapper {
padding: 5px 5px 0 5px; padding: 0px 0px 0 0px; /* padding: 5px 5px 0 5px; */
height: calc(100% - 5px); height: calc(100% - 5px);
} }
@ -185,6 +185,7 @@ input[type="number"]::-webkit-inner-spin-button {
margin-right: 10px; margin-right: 10px;
} }
/*
#button-documentation { #button-documentation {
float: left; float: left;
@ -199,6 +200,7 @@ input[type="number"]::-webkit-inner-spin-button {
border: solid 1px #c0c0c0; border: solid 1px #c0c0c0;
display: none; display: none;
} }
*/
#options { #options {
float: right; float: right;
@ -236,23 +238,21 @@ input[type="number"]::-webkit-inner-spin-button {
} }
#options-window input { #options-window input {
float: left; float: left;
margin-top: 3px;
margin-top: 3px;
margin-right: 5px; margin-right: 5px;
} }
#log { #log {
margin-bottom: 4px; margin-bottom: 0px;
height: 25px; /* was 65*/
height: 65px; border: 0px solid silver; /* was 1px*/
background-color: rgba(0, 0, 0, 1.0);
border: 1px solid silver; overflow-y: hidden; /* scroll*/
background-color: rgba(255, 255, 255, 0.5); color:#fff;
line-height: 20px;
overflow-y: scroll;
} }
#log .wrapper { #log .wrapper {
padding: 5px; padding: 5px; /* was 5*/
padding-left:10px;
-webkit-user-select: text; -webkit-user-select: text;
} }
#log a { #log a {
@ -262,12 +262,16 @@ input[type="number"]::-webkit-inner-spin-button {
text-decoration: underline; text-decoration: underline;
} }
#tabs { #tabs {
position: absolute; position: relative;
margin-top: 1px; float: left;
width:100%;
padding-top: 5px;
padding-bottom: 5px;
margin-top: 0px;
z-index: 10; z-index: 10;
font-weight: bold; font-weight: regular;
} }
#tabs ul { #tabs ul {
@ -279,14 +283,17 @@ input[type="number"]::-webkit-inner-spin-button {
} }
#tabs li { #tabs li {
width:100%;
float: left; float: left;
margin-right: 4px; margin-right: 4px;
border: 1px solid #848484; border: 1px solid #848484;
border-bottom: 0; border-bottom: 0;
} }
#tabs li a { #tabs li a {
width:100%;
display: block; display: block;
height: 15px; height: 15px;
@ -311,17 +318,17 @@ input[type="number"]::-webkit-inner-spin-button {
background-color: white; background-color: white;
} }
#content { #content {
margin-top: 31px; margin-top: 0px; /* 31 */
padding: 10px; padding: 0px; /* 10 */
height: calc(100% - 171px); /* - (port picker, log, tab, status bar) */ height:100%; /* (port picker, log, tab, status bar) was calc(100% - 171px) */
background-color: white; background-color: white;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
border: 1px solid #848484; border: 0px solid #848484; /* 1px solid #848484; */
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */ -webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
} }

@ -134,10 +134,10 @@
</div> </div>
<div class="clear-both"></div> <div class="clear-both"></div>
<div id="log"> <div id="log">
<div id="watermark"></div>
<div class="wrapper"> <div class="wrapper">
</div> </div>
</div> </div>
<div style="float:left; height:100%; width:200px; border-right: 4px solid green;">
<div id="tabs"> <div id="tabs">
<ul class="mode-disconnected"> <ul class="mode-disconnected">
<li class="tab_landing"><a href="#" i18n="tabLanding"></a></li> <li class="tab_landing"><a href="#" i18n="tabLanding"></a></li>
@ -164,6 +164,7 @@
</ul> </ul>
<div class="clear-both"></div> <div class="clear-both"></div>
</div> </div>
</div>
<div id="content"> <div id="content">
</div> </div>
</div> </div>

@ -3,8 +3,8 @@
"minimum_chrome_version": "38", "minimum_chrome_version": "38",
"version": "0.65.0", "version": "0.65.0",
"author": "Hydra", "author": "Hydra",
"name": "Cleanflight - Configurator", "name": "cleanflight - Configurator Redesign",
"short_name": "cleanflight", "short_name": "cleanflightRed",
"description": "Crossplatform configuration tool for Cleanflight flight control system", "description": "Crossplatform configuration tool for Cleanflight flight control system",
"offline_enabled": true, "offline_enabled": true,

@ -0,0 +1,3 @@
<div class="tab-adjustments" style="width:100%; height:100%; background-color:#000000;">
</div>
Loading…
Cancel
Save