forked from marva/sumorobot-web
refactoring
This commit is contained in:
7
assets/css/bootstrap.min.css
vendored
Normal file
7
assets/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
assets/css/cookieconsent.min.css
vendored
Normal file
6
assets/css/cookieconsent.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}
|
||||
.cc-link,.cc-revoke:hover{text-decoration:underline}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-banner .cc-btn:last-child{min-width:140px}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}
|
||||
.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-banner{-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{-ms-flex:1;flex:1}.cc-compliance{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-compliance>.cc-btn{-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}
|
||||
@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-ms-flex-align:unset;align-items:unset}}
|
||||
.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}
|
||||
.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}
|
BIN
assets/css/fonts/orbitron-medium-webfont.woff
Normal file
BIN
assets/css/fonts/orbitron-medium-webfont.woff
Normal file
Binary file not shown.
203
assets/css/styles.css
Executable file
203
assets/css/styles.css
Executable file
@@ -0,0 +1,203 @@
|
||||
/* load the Orbitron font */
|
||||
@font-face {
|
||||
font-family: Orbitron;
|
||||
src: url(fonts/orbitron-medium-webfont.woff);
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
font-family: Orbitron !important;
|
||||
}
|
||||
body {
|
||||
overflow: hidden;
|
||||
background-color: #fff;
|
||||
}
|
||||
/* the whole interface is in the table */
|
||||
table.blockly-table {
|
||||
height: 95%;
|
||||
width: 100%;
|
||||
}
|
||||
td, tr {
|
||||
padding: 0px;
|
||||
}
|
||||
/* robot ID label error */
|
||||
span.has-error {
|
||||
color: #a94442 !important;
|
||||
border-color: #a94442 !important;
|
||||
background-color: #f2dede !important;
|
||||
}
|
||||
/* robot ID input error */
|
||||
input.has-error {
|
||||
border-color: #a94442 !important;
|
||||
}
|
||||
/* robot connect button */
|
||||
a.btn-robot-go, a.btn-robot-go:hover {
|
||||
color: #3768d8;
|
||||
}
|
||||
/* start code button */
|
||||
a.btn-start {
|
||||
border-width: 3px !important;
|
||||
border-color: #4cae4c !important;
|
||||
background-color: #44CC00 !important;
|
||||
}
|
||||
/* stop code button */
|
||||
a.btn-stop {
|
||||
border-width: 3px !important;
|
||||
border-color: #d43f3a !important;
|
||||
background-color: #b80000 !important;
|
||||
}
|
||||
.btn:hover, .btn.hover {
|
||||
border-width: 3px;
|
||||
border-color: #fc3 !important;
|
||||
}
|
||||
/* google blockly modifications */
|
||||
.goog-menuitem-content {
|
||||
font-size: 2em !important;
|
||||
}
|
||||
/* start and stop button group */
|
||||
div.btn-group-control {
|
||||
width: 100%;
|
||||
z-index: 35;
|
||||
bottom: 0px;
|
||||
position: fixed !important;
|
||||
}
|
||||
/* coockie button */
|
||||
a.cc-btn:hover {
|
||||
background-color: #ffd500ff !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;
|
||||
}
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/* for desktop screen */
|
||||
@media screen and (min-width: 1000px) {
|
||||
/* logo object */
|
||||
img.logo {
|
||||
width: 25%;
|
||||
padding: 1vw;
|
||||
}
|
||||
/* robot ID input container */
|
||||
div.input-group {
|
||||
width: 35%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/* robot ID label */
|
||||
span.input-group-addon {
|
||||
font-size: 2vw;
|
||||
font-weight: bold;
|
||||
padding: 0.5vw 1vw !important;
|
||||
}
|
||||
/* robot ID input field */
|
||||
input.form-control {
|
||||
font-size: 2vw;
|
||||
padding: 0.5vw 1vw !important;
|
||||
}
|
||||
/* robot connect button container */
|
||||
div.btn-group-robot {
|
||||
width: 35%;
|
||||
}
|
||||
/* robot connect button */
|
||||
a.btn-robot-go {
|
||||
width: 100%;
|
||||
font-size: 10vw !important;
|
||||
border: 3px solid rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
/* left table cell */
|
||||
td#leftCell {
|
||||
width: 60%;
|
||||
height: 100%;
|
||||
}
|
||||
/* right table cell */
|
||||
td#rightCell {
|
||||
width: 40%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* for mobile and tablet screen */
|
||||
@media screen and (max-width: 1000px) {
|
||||
/* logo object */
|
||||
img.logo {
|
||||
width: 25%;
|
||||
padding: 1vw;
|
||||
}
|
||||
/* robot ID input container */
|
||||
div.input-group {
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/* robot ID label */
|
||||
span.input-group-addon {
|
||||
font-size: 4.5vw;
|
||||
font-weight: bold;
|
||||
padding: 0.5vw 1vw !important;
|
||||
}
|
||||
/* robot ID input field */
|
||||
input.form-control {
|
||||
font-size: 4.5vw;
|
||||
padding: 0.5vw 1vw !important;
|
||||
}
|
||||
/* robot connect button container */
|
||||
div.btn-group-robot {
|
||||
width: 100%;
|
||||
}
|
||||
/* robot connect button */
|
||||
a.btn-robot-go {
|
||||
width: 100%;
|
||||
font-size: 10vw !important;
|
||||
border: 3px solid rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
/* left table cell */
|
||||
td#leftCell {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
/* right table cell */
|
||||
td#rightCell {
|
||||
display: none;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user