diff --git a/eventPage.js b/eventPage.js index 1b708f05..5a994e64 100755 --- a/eventPage.js +++ b/eventPage.js @@ -10,8 +10,8 @@ function startApplication() { id: 'main-window', frame: 'chrome', innerBounds: { - minWidth: 1150, // changed from 960 - minHeight: 700 // changed from 625 + minWidth: 960, + minHeight: 625 } }, function (createdWindow) { createdWindow.contentWindow.addEventListener('load', function () { diff --git a/images/CF_settings_black.svg b/images/CF_settings_black.svg new file mode 100644 index 00000000..8b7f9291 --- /dev/null +++ b/images/CF_settings_black.svg @@ -0,0 +1,24 @@ + + + +CF_Settings_Icon + + + + + + + diff --git a/images/CF_settings_white.svg b/images/CF_settings_white.svg new file mode 100644 index 00000000..58d66d1d --- /dev/null +++ b/images/CF_settings_white.svg @@ -0,0 +1,22 @@ + + + +CF_Settings_Icon + + + + + + + diff --git a/images/icons/cf_icon_welcome_grey.svg b/images/icons/cf_icon_welcome_grey.svg index af3cc352..0051c183 100644 --- a/images/icons/cf_icon_welcome_grey.svg +++ b/images/icons/cf_icon_welcome_grey.svg @@ -2,8 +2,12 @@ - + + + + diff --git a/images/icons/cf_icon_welcome_white.svg b/images/icons/cf_icon_welcome_white.svg index 9d62af88..879f963d 100644 --- a/images/icons/cf_icon_welcome_white.svg +++ b/images/icons/cf_icon_welcome_white.svg @@ -2,8 +2,12 @@ - + + + + diff --git a/main.css b/main.css index e25b6571..8b2f6be5 100755 --- a/main.css +++ b/main.css @@ -122,7 +122,6 @@ input[type="number"]::-webkit-inner-spin-button { #logo { position: relative; float:left; - width: 260px; height:70px; z-index: 0; background-image: url("images/light-wide-2.svg"); @@ -205,33 +204,54 @@ input[type="number"]::-webkit-inner-spin-button { */ +#header_dataflash { + display:none; } + + #sensor-status { + margin-top:20px; float: right; margin-right: 10px; - height: 22px; - line-height: 22px; -} + line-height: 2px; + height:67px; + border-radius:3px; + border:1px solid #272727; + box-shadow: 0px 2px 0px rgba(92,92,92,0.5); + background-color: #434343; + background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.55)); -#header_dataflash { - display:none; } +} #sensor-status li { float: left; padding: 0 12px 0 12px; - height: 18px; + height:67px; + width:45px; line-height: 18px; color: white; text-align: center; - border: 1px solid #c0c0c0; - border-right: 0; - background-color: #e32424; + border-top:1px solid #373737; + border-bottom:1px solid #1a1a1a; + border-left:1px solid #373737; + border-right:1px solid #222222; + + } #sensor-status li:last-child { - border-right: 1px solid #c0c0c0; + border-right: 0px solid #c0c0c0; + border-top-right-radius:3px; + border-bottom-right-radius:3px; +} + +#sensor-status li:first-child { + border-left: 0px solid #c0c0c0; + border-top-left-radius:3px; + border-bottom-left-radius:3px; } #sensor-status .on { background-color: #b8cf02; + background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.55)); } @@ -259,32 +279,34 @@ input[type="number"]::-webkit-inner-spin-button { */ #options { float: right; - width: 20px; - height: 20px; - background-image: url('./images/ic_settings_24px.svg'); + width: 25px; + height: 25px; + margin-top:10px; + margin-right:10px; + background-image: url('./images/CF_settings_white.svg'); background-position: -1px -1px; background-repeat: no-repeat; - - opacity: 0.6; + opacity: 0.4; } #options:hover { - opacity: 0.7; + opacity: 0.65; } #options.active { - opacity: 0.7; + opacity: 0.65; } #options.active:hover { - opacity: 0.85; + opacity: 0.75; } #options-window { display: none; position: fixed; - right: 30px; - top: 15px; + right: 35px; + top: 25px; padding: 5px; line-height: 20px; border: 1px solid silver; background-color: white; + border-radius:5px; } #options-window input { float: left; @@ -382,7 +404,7 @@ margin-right:20px; .tab_container { float:left; - height:100%; + height:calc(100% - 20px); width:210px; border-right: 4px solid #59aa29; } @@ -392,6 +414,7 @@ margin-right:20px; position: relative; float: left; width:100%; + height:calc(100% - 20px); padding-top: 0px; padding-bottom: 0px; margin-top:0px; @@ -401,6 +424,8 @@ margin-right:20px; } #tabs ul { + height:100%; + float:left; margin-top:0px; overflow: hidden; /* Cause the height to expand to contain its floated contents */ @@ -483,7 +508,6 @@ margin-right:20px; li.active .ic_setup { background-image:url(images/icons/cf_icon_setup_white.svg); - color: #fff; } .ic_ports { background-image:url(images/icons/cf_icon_ports_grey.svg); @@ -491,7 +515,6 @@ li.active .ic_setup { li.active .ic_ports { background-image:url(images/icons/cf_icon_ports_white.svg); - color: #fff; } .ic_config { background-image:url(images/icons/cf_icon_config_grey.svg); @@ -499,7 +522,6 @@ li.active .ic_ports { li.active .ic_config { background-image:url(images/icons/cf_icon_config_white.svg); - color: #fff; } .ic_pid { background-image:url(images/icons/cf_icon_pid_grey.svg); @@ -507,7 +529,6 @@ li.active .ic_config { li.active .ic_pid { background-image:url(images/icons/cf_icon_pid_white.svg); - color: #fff; } .ic_rx { background-image:url(images/icons/cf_icon_rx_grey.svg); @@ -515,7 +536,6 @@ li.active .ic_pid { li.active .ic_rx { background-image:url(images/icons/cf_icon_rx_white.svg); - color: #fff; } .ic_modes { background-image:url(images/icons/cf_icon_modes_grey.svg); @@ -523,7 +543,6 @@ li.active .ic_rx { li.active .ic_modes { background-image:url(images/icons/cf_icon_modes_white.svg); - color: #fff; } .ic_adjust { background-image:url(images/icons/cf_icon_adjust_grey.svg); @@ -531,7 +550,6 @@ li.active .ic_modes { li.active .ic_adjust { background-image:url(images/icons/cf_icon_adjust_white.svg); - color: #fff; } .ic_servo { background-image:url(images/icons/cf_icon_servo_grey.svg); @@ -539,7 +557,6 @@ li.active .ic_adjust { li.active .ic_servo { background-image:url(images/icons/cf_icon_servo_white.svg); - color: #fff; } .ic_gps{ background-image:url(images/icons/cf_icon_gps_grey.svg); @@ -547,7 +564,6 @@ li.active .ic_servo { li.active .ic_gps{ background-image:url(images/icons/cf_icon_gps_white.svg); - color: #fff; } .ic_led{ @@ -556,7 +572,6 @@ li.active .ic_gps{ li.active .ic_led { background-image:url(images/icons/cf_icon_led_white.svg); - color: #fff; } .ic_sensors { @@ -565,7 +580,6 @@ li.active .ic_led { li.active .ic_sensors { background-image:url(images/icons/cf_icon_sensors_white.svg); - color: #fff; } .ic_log { background-image:url(images/icons/cf_icon_sensors_grey.svg); @@ -573,7 +587,6 @@ li.active .ic_sensors { li.active .ic_log { background-image:url(images/icons/cf_icon_log_white.svg); - color: #fff; } .ic_data { @@ -582,7 +595,6 @@ li.active .ic_log { li.active .ic_data{ background-image:url(images/icons/cf_icon_log_white.svg); - color: #fff; } .ic_cli { background-image:url(images/icons/cf_icon_cli_grey.svg); @@ -590,7 +602,6 @@ li.active .ic_data{ li.active .ic_cli { background-image:url(images/icons/cf_icon_cli_white.svg); - color: #fff; } .ic_motor { @@ -599,7 +610,6 @@ li.active .ic_cli { li.active .ic_motor { background-image:url(images/icons/cf_icon_motor_white.svg); - color: #fff; } @@ -609,7 +619,6 @@ li.active .ic_motor { li.active .ic_welcome { background-image:url(images/icons/cf_icon_welcome_white.svg); - color: #fff; } .ic_help { @@ -618,7 +627,6 @@ li.active .ic_welcome { li.active .ic_help { background-image:url(images/icons/cf_icon_help_white.svg); - color: #fff; } @@ -628,7 +636,6 @@ li.active .ic_help { li.active .ic_flasher { background-image:url(images/icons/cf_icon_flasher_white.svg); - color: #fff; } @@ -644,7 +651,6 @@ li.active .ic_flasher { li.active .ic_backup { background-image:url(images/icons/cf_icon_backup_white.svg); - color: #fff; } .ic_wizzard { background-image:url(images/icons/cf_icon_wizard_grey.svg); @@ -652,7 +658,6 @@ li.active .ic_backup { li.active .ic_wizard { background-image:url(images/icons/cf_icon_wizard_white.svg); - color: #fff; } .ic_advanced { background-image:url(images/icons/cf_icon_advanced_grey.svg); @@ -660,7 +665,6 @@ li.active .ic_wizard { li.active .ic_advanced { background-image:url(images/icons/cf_icon_advanced_white.svg); - color: #fff; } .ic_mission { background-image:url(images/icons/cf_icon_mission_grey.svg); @@ -668,7 +672,6 @@ li.active .ic_advanced { li.active .ic_mission { background-image:url(images/icons/cf_icon_mission_white.svg); - color: #fff; } diff --git a/main.html b/main.html index b9515f25..c19b0311 100755 --- a/main.html +++ b/main.html @@ -4,7 +4,9 @@ - + + + @@ -83,7 +85,7 @@ - + @@ -143,7 +145,7 @@ -
+ +
+
+ + + +
+ +
+
\ No newline at end of file