html, body { height: 100%; } body { overflow: hidden; background-color: #fff; font-family: sans-serif; } /* logo object */ object.logo { width: 45%; } /* the whole interface is in the table */ table.blockly-table { height: 95%; width: 100%; } /* non clickable input forms */ .non-clickable { pointer-events: none; } /* spans */ span.has-error { color: #a94442 !important; border-color: #a94442 !important; background-color: #f2dede !important; } span.addon-no-border { border-left: 0px !important; border-right: 0px !important; } span.input-group-addon { padding: 0.5vw 1vw !important; } /* form items */ label.btn-primary { border-width: 3px !important; } input.form-control { padding: 0.5vw 1vw !important; } input.has-error { border-color: #a94442 !important; } /* buttons */ a.btn-robot-nr, a.btn-robot-add { font-size: 10vw !important; border: 3px solid rgba(0, 0, 0, 0.1) !important; } a.btn-robot-add { opacity: 0.5; } a.btn-selected { border-color: #fc3 !important; } a.btn-success { border-width: 3px !important; border-color: #4cae4c !important; background-color: #44CC00 !important; } a.btn-danger { border-width: 3px !important; border-color: #d43f3a !important; background-color: #b80000 !important; } a.btn-danger.disabled { background-color: #ee4d4d !important; } .btn:hover, .btn.hover { border-width: 3px; border-color: #fc3 !important; } /* google blockly modifications */ .goog-menuitem-content { font-size: 2em !important; } /* remote control enabler container */ div.form-check-label { font-size: 5vw; } /* remote control enabler label container */ div.remote-label { font-size: 4vw; margin-top: 1vw; font-weight: bold; } /* start and stop button group */ div.btn-group-control { z-index: 35; bottom: 0px; position: fixed !important; } /* the battery div */ div#battery { z-index: 35; right: 0.5vw; font-size: 2vw; color: #ee4d4d; position: absolute; } /* the battery div connected status */ div#battery.connected { color: #44CC00; } /* the control panel */ div#panel { z-index: 36; width: 100%; height: 100%; position: absolute; text-align: center; background-color: rgba(255, 255, 255, 0.9); } /* the live stream div */ div#stream { width: 100%; height: 100%; display: none; } /* for mobile and tablet screen */ @media screen and (max-width: 1000px) { td#blocklyArea { width: 100%; height: 100%; } td#blocklyCodeArea { display: none; } textarea#blocklyCode { display: none; } } /* for desktop screen */ @media screen and (min-width: 768px) { td#blocklyArea { width: 60%; height: 100%; } td#blocklyCodeArea { width: 40%; height: 100%; } textarea#blocklyCode { border: none; width: 100%; height: 100%; font-size: 1.8em; } }