From 10f7cdd1b083354a426fa37a37392bb5ad4e617a Mon Sep 17 00:00:00 2001 From: skaman82 Date: Thu, 22 Oct 2015 15:26:49 +0200 Subject: [PATCH] =?UTF-8?q?Started=20to=20mess=20around=20with=20things?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eventPage.js | 4 ++-- main.css | 49 ++++++++++++++++++++++++++++--------------------- main.html | 3 ++- manifest.json | 4 ++-- tabs/blank.html | 3 +++ 5 files changed, 37 insertions(+), 26 deletions(-) create mode 100644 tabs/blank.html diff --git a/eventPage.js b/eventPage.js index 5a994e64..6082f6bc 100755 --- a/eventPage.js +++ b/eventPage.js @@ -10,8 +10,8 @@ function startApplication() { id: 'main-window', frame: 'chrome', innerBounds: { - minWidth: 960, - minHeight: 625 + minWidth: 1200, // changed from 960 + minHeight: 700 // changed from 625 } }, function (createdWindow) { createdWindow.contentWindow.addEventListener('load', function () { diff --git a/main.css b/main.css index 76247e42..a842e5a9 100755 --- a/main.css +++ b/main.css @@ -35,7 +35,7 @@ input[type="number"]::-webkit-inner-spin-button { float: right; } #main-wrapper { - padding: 5px 5px 0 5px; + padding: 0px 0px 0 0px; /* padding: 5px 5px 0 5px; */ height: calc(100% - 5px); } @@ -185,6 +185,7 @@ input[type="number"]::-webkit-inner-spin-button { margin-right: 10px; } +/* #button-documentation { float: left; @@ -199,6 +200,7 @@ input[type="number"]::-webkit-inner-spin-button { border: solid 1px #c0c0c0; display: none; } +*/ #options { float: right; @@ -236,23 +238,21 @@ input[type="number"]::-webkit-inner-spin-button { } #options-window input { float: left; - - margin-top: 3px; + margin-top: 3px; margin-right: 5px; } #log { - margin-bottom: 4px; - - height: 65px; - - border: 1px solid silver; - background-color: rgba(255, 255, 255, 0.5); - - overflow-y: scroll; + margin-bottom: 0px; + height: 25px; /* was 65*/ + border: 0px solid silver; /* was 1px*/ + background-color: rgba(0, 0, 0, 1.0); + overflow-y: hidden; /* scroll*/ + color:#fff; + line-height: 20px; } #log .wrapper { - padding: 5px; - + padding: 5px; /* was 5*/ + padding-left:10px; -webkit-user-select: text; } #log a { @@ -262,12 +262,16 @@ input[type="number"]::-webkit-inner-spin-button { text-decoration: underline; } #tabs { - position: absolute; - margin-top: 1px; + position: relative; + float: left; + width:100%; + padding-top: 5px; + padding-bottom: 5px; + margin-top: 0px; z-index: 10; - font-weight: bold; + font-weight: regular; } #tabs ul { @@ -279,14 +283,17 @@ input[type="number"]::-webkit-inner-spin-button { } #tabs li { + width:100%; + float: left; - margin-right: 4px; + margin-right: 4px; border: 1px solid #848484; border-bottom: 0; } #tabs li a { + width:100%; display: block; height: 15px; @@ -311,17 +318,17 @@ input[type="number"]::-webkit-inner-spin-button { background-color: white; } #content { - margin-top: 31px; - padding: 10px; + margin-top: 0px; /* 31 */ + 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; overflow-x: hidden; 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 */ } diff --git a/main.html b/main.html index dd4c446e..3586acc5 100755 --- a/main.html +++ b/main.html @@ -134,10 +134,10 @@
-
+
  • @@ -164,6 +164,7 @@
+
diff --git a/manifest.json b/manifest.json index 6dfac358..1b40fbcc 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "minimum_chrome_version": "38", "version": "0.65.0", "author": "Hydra", - "name": "Cleanflight - Configurator", - "short_name": "cleanflight", + "name": "cleanflight - Configurator Redesign", + "short_name": "cleanflightRed", "description": "Crossplatform configuration tool for Cleanflight flight control system", "offline_enabled": true, diff --git a/tabs/blank.html b/tabs/blank.html new file mode 100644 index 00000000..9dace27f --- /dev/null +++ b/tabs/blank.html @@ -0,0 +1,3 @@ +
+ +