2018-01-28 09:36:50 +00:00
|
|
|
/* load the Orbitron font */
|
|
|
|
@font-face {
|
|
|
|
font-family: Orbitron;
|
|
|
|
src: url(fonts/orbitron-medium-webfont.woff);
|
|
|
|
}
|
|
|
|
|
2017-09-25 09:37:41 +00:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
2018-01-28 09:36:50 +00:00
|
|
|
font-family: Orbitron !important;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
|
|
|
body {
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* the whole interface is in the table */
|
|
|
|
table.blockly-table {
|
2017-12-20 00:35:50 +00:00
|
|
|
height: 95%;
|
2017-09-25 09:37:41 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-01-20 21:41:08 +00:00
|
|
|
td, tr {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2018-01-17 20:17:05 +00:00
|
|
|
/* robot ID label error */
|
2017-09-25 09:37:41 +00:00
|
|
|
span.has-error {
|
|
|
|
color: #a94442 !important;
|
|
|
|
border-color: #a94442 !important;
|
|
|
|
background-color: #f2dede !important;
|
|
|
|
}
|
2018-01-17 20:17:05 +00:00
|
|
|
/* robot ID input error */
|
2018-01-04 23:09:08 +00:00
|
|
|
input.has-error {
|
|
|
|
border-color: #a94442 !important;
|
2017-12-20 00:35:50 +00:00
|
|
|
}
|
2018-01-17 19:41:55 +00:00
|
|
|
/* robot connect button */
|
|
|
|
a.btn-robot-go, a.btn-robot-go:hover {
|
|
|
|
color: #3768d8;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
2018-01-17 19:41:55 +00:00
|
|
|
/* start code button */
|
|
|
|
a.btn-start {
|
2017-09-25 09:37:41 +00:00
|
|
|
border-width: 3px !important;
|
2018-01-16 21:12:59 +00:00
|
|
|
border-color: #4cae4c !important;
|
2017-09-25 09:37:41 +00:00
|
|
|
background-color: #44CC00 !important;
|
|
|
|
}
|
2018-01-17 19:41:55 +00:00
|
|
|
/* stop code button */
|
|
|
|
a.btn-stop {
|
2017-09-25 09:37:41 +00:00
|
|
|
border-width: 3px !important;
|
2018-01-16 21:12:59 +00:00
|
|
|
border-color: #d43f3a !important;
|
2017-09-25 09:37:41 +00:00
|
|
|
background-color: #b80000 !important;
|
|
|
|
}
|
|
|
|
.btn:hover, .btn.hover {
|
|
|
|
border-width: 3px;
|
|
|
|
border-color: #fc3 !important;
|
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* google blockly modifications */
|
|
|
|
.goog-menuitem-content {
|
|
|
|
font-size: 2em !important;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* start and stop button group */
|
|
|
|
div.btn-group-control {
|
2018-01-17 19:41:55 +00:00
|
|
|
width: 100%;
|
2018-01-16 21:12:59 +00:00
|
|
|
z-index: 35;
|
2018-01-04 23:09:08 +00:00
|
|
|
bottom: 0px;
|
|
|
|
position: fixed !important;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
2018-01-27 14:43:31 +00:00
|
|
|
/* coockie button */
|
|
|
|
a.cc-btn:hover {
|
|
|
|
background-color: #ffd500ff !important;
|
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* the battery div */
|
|
|
|
div#battery {
|
2018-01-16 21:12:59 +00:00
|
|
|
z-index: 35;
|
2018-01-04 23:09:08 +00:00
|
|
|
right: 0.5vw;
|
2017-10-22 19:12:02 +00:00
|
|
|
font-size: 2vw;
|
|
|
|
color: #ee4d4d;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* the battery div connected status */
|
|
|
|
div#battery.connected {
|
2017-10-22 19:12:02 +00:00
|
|
|
color: #44CC00;
|
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* the control panel */
|
2017-12-20 00:35:50 +00:00
|
|
|
div#panel {
|
2018-01-16 21:12:59 +00:00
|
|
|
z-index: 36;
|
2017-09-25 09:37:41 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
|
|
}
|
2018-01-04 23:09:08 +00:00
|
|
|
/* the live stream div */
|
2017-12-20 00:35:50 +00:00
|
|
|
div#stream {
|
2017-10-15 22:41:00 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: none;
|
|
|
|
}
|
2018-01-20 21:41:08 +00:00
|
|
|
/* Blockly workspace */
|
|
|
|
div#blocklyArea {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
/* ace editor */
|
|
|
|
div#blocklyCode {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: none;
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
/* read only ace editor */
|
|
|
|
div#readOnlyBlocklyCode {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
2018-01-28 09:36:50 +00:00
|
|
|
|
2018-01-17 20:17:05 +00:00
|
|
|
/* for desktop screen */
|
|
|
|
@media screen and (min-width: 1000px) {
|
2018-01-17 19:41:55 +00:00
|
|
|
/* logo object */
|
2018-01-17 20:57:00 +00:00
|
|
|
img.logo {
|
|
|
|
width: 25%;
|
|
|
|
padding: 1vw;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-19 12:02:17 +00:00
|
|
|
/* robot ID input container */
|
2018-01-17 19:41:55 +00:00
|
|
|
div.input-group {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 35%;
|
2018-01-17 19:41:55 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2018-01-19 12:02:17 +00:00
|
|
|
/* robot ID label */
|
2018-01-17 19:41:55 +00:00
|
|
|
span.input-group-addon {
|
2018-01-17 20:17:05 +00:00
|
|
|
font-size: 2vw;
|
2018-01-19 12:02:17 +00:00
|
|
|
font-weight: bold;
|
|
|
|
padding: 0.5vw 1vw !important;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-19 12:02:17 +00:00
|
|
|
/* robot ID input field */
|
2018-01-17 19:41:55 +00:00
|
|
|
input.form-control {
|
2018-01-17 20:17:05 +00:00
|
|
|
font-size: 2vw;
|
2018-01-19 12:02:17 +00:00
|
|
|
padding: 0.5vw 1vw !important;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-17 20:17:05 +00:00
|
|
|
/* robot connect button container */
|
2018-01-17 19:41:55 +00:00
|
|
|
div.btn-group-robot {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 35%;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-17 20:17:05 +00:00
|
|
|
/* robot connect button */
|
2018-01-17 19:41:55 +00:00
|
|
|
a.btn-robot-go {
|
|
|
|
width: 100%;
|
2018-01-17 20:17:05 +00:00
|
|
|
font-size: 10vw !important;
|
2018-01-17 19:41:55 +00:00
|
|
|
border: 3px solid rgba(0, 0, 0, 0.1) !important;
|
|
|
|
}
|
2018-01-20 21:41:08 +00:00
|
|
|
/* left table cell */
|
|
|
|
td#leftCell {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 60%;
|
2017-12-20 00:35:50 +00:00
|
|
|
height: 100%;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
2018-01-20 21:41:08 +00:00
|
|
|
/* right table cell */
|
|
|
|
td#rightCell {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 40%;
|
|
|
|
height: 100%;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
|
|
|
}
|
2018-01-28 09:36:50 +00:00
|
|
|
|
2018-01-17 20:17:05 +00:00
|
|
|
/* for mobile and tablet screen */
|
|
|
|
@media screen and (max-width: 1000px) {
|
2018-01-17 19:41:55 +00:00
|
|
|
/* logo object */
|
2018-01-17 20:57:00 +00:00
|
|
|
img.logo {
|
|
|
|
width: 25%;
|
|
|
|
padding: 1vw;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-19 12:02:17 +00:00
|
|
|
/* robot ID input container */
|
2018-01-17 19:41:55 +00:00
|
|
|
div.input-group {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 100%;
|
2018-01-17 19:41:55 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2018-01-19 12:02:17 +00:00
|
|
|
/* robot ID label */
|
2018-01-17 19:41:55 +00:00
|
|
|
span.input-group-addon {
|
2018-01-17 20:17:05 +00:00
|
|
|
font-size: 4.5vw;
|
2018-01-19 12:02:17 +00:00
|
|
|
font-weight: bold;
|
|
|
|
padding: 0.5vw 1vw !important;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-19 12:02:17 +00:00
|
|
|
/* robot ID input field */
|
2018-01-17 19:41:55 +00:00
|
|
|
input.form-control {
|
2018-01-17 20:17:05 +00:00
|
|
|
font-size: 4.5vw;
|
2018-01-19 12:02:17 +00:00
|
|
|
padding: 0.5vw 1vw !important;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-17 20:17:05 +00:00
|
|
|
/* robot connect button container */
|
2018-01-17 19:41:55 +00:00
|
|
|
div.btn-group-robot {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 100%;
|
2018-01-17 19:41:55 +00:00
|
|
|
}
|
2018-01-17 20:17:05 +00:00
|
|
|
/* robot connect button */
|
2018-01-17 19:41:55 +00:00
|
|
|
a.btn-robot-go {
|
|
|
|
width: 100%;
|
2018-01-17 21:23:37 +00:00
|
|
|
font-size: 10vw !important;
|
2018-01-17 19:41:55 +00:00
|
|
|
border: 3px solid rgba(0, 0, 0, 0.1) !important;
|
|
|
|
}
|
2018-01-20 21:41:08 +00:00
|
|
|
/* left table cell */
|
|
|
|
td#leftCell {
|
2018-01-17 20:17:05 +00:00
|
|
|
width: 100%;
|
2017-12-20 00:35:50 +00:00
|
|
|
height: 100%;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
2018-01-20 21:41:08 +00:00
|
|
|
/* right table cell */
|
|
|
|
td#rightCell {
|
2018-01-17 20:17:05 +00:00
|
|
|
display: none;
|
2017-09-25 09:37:41 +00:00
|
|
|
}
|
|
|
|
}
|