#editor { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #000000; font-size: 22px; } #blockly { display: none; min-width: 270px; /* overflow: auto; */ /* resize: horizontal; */ padding-right: 10px; position: relative; } .blocklyResize{ border-top: 0.5em solid transparent; border-left: 0.5em solid transparent; border-right: 0.5em solid #888; border-bottom: 0.5em solid #888; position: absolute; right: 10px; bottom: 0; content: ''; cursor: ew-resize; z-index:9999; } .editorResize{ background-color: white; margin-left: 58px; width: 100%; height: 4px; cursor: s-resize; } /* Re-usable, generic rules */ .hidden { display: none !important; } .vbox { display: flex; display: -webkit-flex; display: -ms-flexbox; flex-direction: column; -webkit-flex-direction: column; -ms-flex-direction: column; } .hbox { display: flex; display: -webkit-flex; display: -ms-flexbox; } .flex1 { flex: 1; -webkit-flex: 1; -ms-flex: 1; } .flex3 { flex: 2; -webkit-flex: 2; -ms-flex: 2; } /* Whole page layout */ body { margin: 0; padding: 0; overflow: hidden; } body, input { font-family: "Segoe UI Light", "Segoe UI", "Segoe WP Light", "Segoe WP", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; font-size: 1rem; } #main { margin: 0; position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden; background: #F2F2F2; } #editor { position: relative; margin: 0; } /* Script info box */ #script-box { margin-right: 0.5rem; margin-left: 0.5rem; text-align: center; min-width: 140px; } #entryBox{ min-width:80px; height:100%; position: absolute; right: 10px; } #userInfor{ min-width:80px; height:100%; position: absolute; right: 10px; display: none; } #headerPhone{ width:4rem; height:4rem; position: absolute; margin: auto; left:0; right:0; top:5px; } #userName{ width:100%; height:4rem; position: absolute; margin: auto; left:0; right:0; top:5px; text-align: right; line-height: 4rem; } #eOr{ width: 100%; text-align: center; position: absolute; bottom:0; left:0; line-height: 0px; } #entryOut{ width: 100%; text-align: right; position: absolute; bottom:0; left:0; } #script-name { font-size: 2rem; color: #1a354c; overflow: hidden; max-height: 90px; } #script-description { color: #336699; padding-bottom: 0.2rem; overflow: hidden; max-height: 22px; } #script-icons > *:not(:first-child) { display: inline-block; cursor: pointer; } .zoomer, .saved-state { cursor: pointer !important; } #script-icons { width: 3rem; min-width: 3rem; } #script-icons .status-icon { width: 1.3rem; height: 1.3rem; border: 6px solid #FFCC33; border-radius: 50%; margin: .4rem; text-align: center; font-size: 1rem; line-height: 1.3rem; padding: .1em; font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif; color: #336699; background: #FFFFFF; } #script-icons .holder { width: 3rem; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; color: #336699; text-decoration: none; background-image: url("../img/triangle.svg"); background-size: 100%; background-repeat: no-repeat; text-align: center; padding: 0px; } #script-icons .holder:focus, #script-icons #holder:active { background-image: url("../img/triangle2.svg"); } #command-help{ position: relative; } #command-help:hover .hShow{ display: block; } #command-flash{ position: relative; } #command-flash:hover .hShow{ display: block; } #command-flash.disabled .hShow{ display: none; } #command-flash.codemode .hShow p:first-child { display: none; } .hShow{ width:auto; height:auto; background: #F2F2F2; -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); -moz-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; position: absolute; left:0; top:100%; z-index: 6; display: none; } /*.hShow:after{*/ /*content: '';*/ /*background-color: #336699;*/ /*width:0;*/ /*height:0;*/ /*border-left: 5px solid #F2F2F2;*/ /*border-top: 5px solid #F2F2F2;*/ /*border-right: 5px solid #F2F2F2;*/ /*border-bottom: 5px solid #336699;*/ /*position: absolute;*/ /*margin: auto;*/ /*left:0;*/ /*right:0;*/ /*top:-10px;*/ /*}*/ .hShow p{ padding-left: 15px; padding-right: 15px; white-space:nowrap; text-align: left; line-height: 49px; cursor: pointer; margin:0; } .hShow p:hover{ text-decoration: underline; } #suggestBtn{ width:500px; height:500px; background-color: #e3e3e3; border: 1px solid #4d4d4d; -webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); -moz-box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); z-index: 105; display: none; } .suggest{ width:100%; height: 50px; line-height: 50px; text-align: center; cursor: pointer; } .mpSelect{ background-color: #FFFFFF; } .tabBox{ width:500px; height: 100%; position: relative; } .tabs{ width:100%; height:100%; background-color: #e3e3e3; position: absolute; left:0; top:0; display: none; } .tabs:nth-of-type(1){ display: block; } .tabs div{ width:100%; height:auto; margin-bottom: 10px; } .upAdd{ position: relative; } #file_upload{ position: absolute; left: 150px; top: -20px; background-color: WHITE; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; } #file_upload-button{ margin-top: 0; text-align: center; } .tabs div:nth-of-type(1){ margin-top: 20px; } .tabs div:nth-of-type(4){ height: 92px; } .tabs div label{ display: inline-block; width:150px; text-align: right; line-height: 20px; } .tabs div:nth-of-type(5) input{ width:auto; max-width: 296px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 0px; padding-right: 15px; background: none; height:30px; } .tabs div:nth-of-type(6){ margin-bottom: 0px; } .tabs div:nth-of-type(6) input{ width:auto; padding-left: 35px; padding-right: 35px; background-color: #d4d4d4; height:40px; color: #fff; text-align: center; } .tabs div:nth-of-type(7){ position: relative; } .tabs div:nth-of-type(7) input{ width:200px; padding-left: 35px; padding-right: 35px; height:40px; background-color: #336699; color: #fff; margin-top: -85px; margin-left: 150px; cursor: pointer; } @keyframes inupload{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } } @-moz-keyframes inupload{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } } @-ms-keyframes inupload{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } } @-o-keyframes inupload{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } } @-webkit-keyframes inupload{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } } .uploadTips{ display: inline-block; width: 32px; height:32px; background-image: url("../img/jsq.png"); background-position: center center; background-size: 100% 100%; background-repeat: no-repeat; position: absolute; bottom:4px; left:360px; animation: inupload 3s infinite; display: none; } .tabs div input{ width:300px; height: 35px; margin-top: 5px; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; outline:none; border:none; background-color: white; padding-left: 10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .tabs div textarea{ width:296px; height:80px; resize: none; border:none; font-size: 15px; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; float: right; margin-top: 5px; margin-right: 50px; } /* Popups */ .popup { width: 500px; border: 5px solid #666; position: relative; background-color: white; z-index: 999; } .popup::after { content: ""; display: block; width: 0; position: absolute; top: -20px; right: 10px; border-style: solid; border-width: 0 20px 20px; border-color: #666 transparent; } .popup-inner { padding: 1rem; } #popup-edit input { border: 0; } /* Toolbox and commands */ #merge-commands { margin-left: 3em; } #merge-commands > * { cursor: pointer; } #merge-commands > .label { color: #a40000; font-weight: bold; } #commands { min-width: 840px; } #commands a { text-align: center; padding-left: 0px; padding-right: 0px; } #toolbox { position: relative; min-width: 1080px; width: 100%; } #log { overflow: auto; width: 500px; max-height: 500px; } .status { white-space: pre-wrap; } .status:first-letter { font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif; } .status:not(:first-letter) { font-weight: bold; } .status.error { color: #a40000; } .status:not(.error) { color: #4e9a06; } /* Buttons */ .roundbutton { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; color: #336699; text-decoration: none; background-image: url("../img/triangle.svg"); background-size: 100%; background-repeat: no-repeat; /*min-width: 90px;*/ } .entryButton { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; color: #336699; text-decoration: none; background-size: 100%; background-repeat: no-repeat; min-width: 90px; } .disabled div.roundsymbol { border-color: #AAA; } .disabled i { color: #AAA; } .disabled div.roundlabel { color: #AAA; } .roundsymbol { width: 2.5rem; height: 2.5rem; border: 6px solid #FFCC33; /*border-radius: 50%;*/ -webkit-border-radius:50%; -moz-border-radius:50%; border-radius:50%; margin: .2rem; margin-bottom: 0; text-align: center; font-size: 1.6rem; line-height: 2.5rem; padding: .1em; font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif; color: #336699; background: #FFFFFF; } .roundbutton:focus, .roundbutton:active { background-image: url("../img/triangle2.svg"); } .roundlabel { padding-top: .3rem; padding-bottom: .3rem; font-size: 80%; text-align: center; line-height: 11px; color: #336699; } body:not(.hasFota) .fota { display: none; } body.hasFota .notfota { display: none; } /* Misc */ a.command, a.command:visited { color: black; font-weight: bold; text-decoration: none; } a.command:hover { text-decoration: underline; } /* Some overrides for narrow displays */ @media (max-width: 890px) { .roundbutton { display: inline; padding: 5px; min-width: 48px; } #script-icons { display: none; } .roundsymbol { width: 2rem; height: 2rem; line-height: 2.05rem; font-size: 1.3rem; margin: 0; } .roundlabel { padding-top: 0; display: none; } .roundbutton > * { /*display: inline-block;*/ } #script-name { font-size: 1.2rem; font-weight: bold; max-height: 50px; } .blocklyTreeRow { padding-right: .3em !important; } .blocklyTreeIcon { width: 6px !important; } .blocklyTreeLabel { font-size: 12px !important; } #commands { min-width: 425px; } } @media (max-width: 480px) { #toolbox { flex-direction: column; -ms-flex-direction: column; } #script-box { margin-right: 1rem; margin-left: 1rem; text-align: left; width: 100%; } } .snippet-selection:hover { background: #FFCC33; cursor: pointer; } .snippet-table { width: 100%; } .snippet-table th { text-align: left; padding-right: 48px; } .snippet-table td { border-bottom: 1px dotted #CCC; } .snippet-name { display: none; } .share-label { display: inline-block; width: 200px; } #share-link { display: none; } .blocklySvg { background-image: url('../img/experimental.png'); background-repeat: repeat; } #messagebar { display: none; background-color: #ffcc33; padding: 0.75em; font-family: "Segoe UI Light", "Segoe UI", "Segoe WP Light", "Segoe WP", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; } #messagebar a, #messagebar a.visited { color: #336699; font-weight: bold; } .load-form { display: none; } div.load-drag-target { height: 200px; background: #ddd; border: 1px solid #aaa; border-radius: 15px; } div.load-form { padding-top: 20px; height: 200px; } .load-form input { margin-bottom: 20px; } .load-drag-target p { text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } #load-alt a, #load-alt a.visited { color: #336699; font-weight: bold; } .is-dragover { background: #ccc !important; } .cc{ position: absolute; margin: auto; left:0; right:0; top:0; bottom:0; } .ud{ position: absolute; margin: auto; top:0; bottom:0; } .entryTitle{ right:350px; line-height: 70px; } .lr{ position: absolute; margin: auto; top: 0; bottom: 0; } .entryInput{ width:250px; height:40px; border:none; outline: none; border-radius: 5px; padding-left: 10px; box-sizing: border-box; right:80px; } .eOrBtn{ width:200px; height: 40px; background-color: #336699; color: white; font-weight: bold; border:none; outline: none; border-radius: 5px; } #mask{ width:100%; height:100%; background-color: rgba(220,220,220,0.7); position: absolute; top:0; left:0; z-index: 100; display: none; } .closeBtn{ width:25px; height:25px; background-color: grey; /*border-radius: 50%;*/ position: absolute; top:0px; right:0px; z-index: 2; } .closeBtn::before{ content: ""; width:20px; height:5px; background-color: white; position: absolute; margin: auto; left:0; right:0; top:0; bottom: 0; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -ms-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); transform: rotateZ(45deg); } .closeBtn::after{ content: ""; width:20px; height:5px; background-color: white; position: absolute; margin: auto; left:0; right:0; top:0; bottom: 0; -webkit-transform: rotateZ(-45deg); -moz-transform: rotateZ(-45deg); -ms-transform: rotateZ(-45deg); -o-transform: rotateZ(-45deg); transform: rotateZ(-45deg); } #entryInputBox{ width:500px; height:500px; } .eOrBox{ background-color: #F2F2F2; } #entryPhoto{ width:100%; height:140px; background-color: ghostwhite; position: relative; } #entryPhoto img{ width: 100px; } #goRegister{ color: #ffcc33; } .goOther:hover{ cursor: pointer; } .inputLine{ width:100%; height:70px; /*background-color: #1ce8c3;*/ /*margin-bottom: 10px;*/ position: relative; text-align: center; } .tips{ width:250px; height:40px; border-radius: 10px; background-color: red; margin:20px auto; color: white; text-align: center; line-height: 40px; display: none; } #goWebStation{ position: absolute; left:20px; bottom:20px; } #goWebStation a{ text-decoration: none; color: #336699; } #goWebStation a:hover{ text-decoration: underline; } #registerInputBox{ width:500px; height:500px; display: none; } #registerHead{ width:100%; height: 70px; background-color: ghostwhite; position: relative; } .textLine{ width:100%; height:40px; position: relative; } .textLine:first-child{ margin-top: 20px; } .textLine span{ color: #ffcc33; } .textTitle{ line-height: 40px; right:350px; } .textTitle span{ color: orangered; } .textInput{ width:250px; height:30px; right:80px; border: none; outline: none; } .regTips{ width:100%; font-size: 10px; color: #CDB5CD; text-align: center; line-height: 0; } .numInput{ width:150px; height:30px; right:180px; border: none; outline: none; } .sendCode{ width:100px; height:30px; right: 80px; border: none; outline: none; font-weight: bold; } .textInput,.numInput{ padding-left: 10px; box-sizing: border-box; background-position: right bottom; background-size: auto 100%; background-repeat: no-repeat; } /*#registerBtn{*/ /*width:250px;*/ /*height:40px;*/ /*background-color: #ffcc33;*/ /*border-radius: 5px;*/ /*border:none;*/ /*outline:none;*/ /*font-weight: bold;*/ /*color: white;*/ /*}*/ .goEntry{ width:100%; height:50px; text-align: center; line-height: 50px; } #tips6{ width:250px; height:40px; background-color: red; color: #FFF; text-align: center; line-height: 40px; /*font-size: 25px;*/ border-radius: 5px; margin: auto; display: none; } #cloudFile{ width:100%; height:100%; background-color: rgba(220,220,220,0.7); position: absolute; top:0; left:0; z-index: 100; display: none; } #cloudListBox{ width:657px; height:500px; background-color: #F2F2F2; } #programList { width: 617px; height: 420px; background-color: white; list-style: none; overflow-y: scroll; position: absolute; bottom: 0px; } #fileTitle{ background-color: #F2F2F2; margin-left: 0px; width:617px; } .files { width: 100%; height: 80px; background-color: white; margin-top: 2px; margin-left: -40px; font-size: 20px; border-bottom: 1px solid #F2F2F2; } .fileStates{ width:150px; height:80px; float: left; line-height: 80px; text-align: center; } .fileName{ width:200px; height:80px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height: 80px; float: left; } .upTime{ width:200px; height:80px; float: left; line-height: 80px; /*font-family: Courier New;*/ text-align: center; } .fShare{ background-image: url("../img/noshare.png"); background-size: auto 90%; background-position: center; background-repeat: no-repeat; } .tShare{ background-image: url("../img/haveshare.png"); background-size: auto 90%; background-position: center; background-repeat: no-repeat; } .tDraft{ color: red; } .fDraft{ color: black; } .deleteBox{ width:50px; height:80px; float: left; position: relative; } .deleteBtn{ width:30px; height:30px; background-color: grey; border-radius: 50%; display: none; } .deleteBtn::before{ content: ""; width:20px; height:5px; background-color: white; position: absolute; margin: auto; left:0; right:0; top:0; bottom: 0; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -ms-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); transform: rotateZ(45deg); } .deleteBtn::after{ content: ""; width:20px; height:5px; background-color: white; position: absolute; margin: auto; left:0; right:0; top:0; bottom: 0; -webkit-transform: rotateZ(-45deg); -moz-transform: rotateZ(-45deg); -ms-transform: rotateZ(-45deg); -o-transform: rotateZ(-45deg); transform: rotateZ(-45deg); } .files:hover .deleteBtn{ display: block; } #noFileBgI{ width:400px; height:400px; background-image: url("../img/noFindFile.png"); margin: 20px auto; display: none; } .ynUpdate{ width:100%; height:100% !important; position: absolute; left:0; top:0; display: none; } #link_Control{ width: 300px; height: 30px; position: absolute; right: 20px; bottom: 268px; z-index: 11; display: none; } #select_Link_Obj{ width: 80px; max-width: 105px; height: 30px; position:absolute; top: 0px; right: 125px; border: none; } #link_Control .watch_btn{ width: 50px; height: 30px; background-position: center center; background-size: auto 80%; background-repeat: no-repeat; /*outline: none;*/ position: absolute; top: 0; } #link_Control .watch_btn:nth-of-type(1){ background-image: url(../img/link.png); right: 65px; } #link_Control .watch_btn:nth-of-type(2){ background-image: url(../img/upload.png); right: 5px; } #monitor{ width: 300px; height: 236px; /*background-image: url(../../microbit_sim/lib/skulpt/microbit/mb.png);*/ background-size: 100% 100%; background-position: center center; background-repeat: no-repeat; position: absolute; bottom: 32px; right: 32px; z-index: 10; display: none; } #monitor .lighting{ width: 22px; height: 22px; background-color: red; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; position: absolute; top: 101px; display: none; } #monitor .light_a{ left: 24px; } #monitor .light_b{ right: 21px; } #monitor .pin_Val{ width: 32px; height: 17px; color: white; position: absolute; bottom: 56px; text-align: center; line-height: 17px; font-size: 12px; } #monitor .pin_0{ left: 12px; } #monitor .pin_1{ left: 70px; } #monitor .pin_2{ left: 136px; } #monitor .acceleration{ width: 100px; height: 48px; /*background-color: #2E6DA4;*/ position: absolute; top: 10px; right: 10px; color: white; font-size: 12px; line-height: 16px; } #monitor .close{ width: 30px; height: 30px; background-color:white ; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; position: absolute; left: -10px; top: -7px; cursor: pointer; display: none; } #monitor .close:after{ content: ''; width: 5px; height: 20px; background-color: black; position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } #monitor .close:before{ content: ''; width: 5px; height: 20px; background-color: black; position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } #monitor:hover .close{ display: block; } .terminal { float: left; border: #000 solid 5px; font-family: "Courier New", "DejaVu Sans Mono", "Liberation Mono", monospace; font-size: 11px; color: #f0f0f0; background: #000; } .terminal-cursor { color: #000; background: #f0f0f0; } .terminal div { white-space: nowrap; height: 12px; } #update-link { color: #0B6691; text-decoration: none; } #update-link:hover { color: #0B6691; text-decoration: underline; } #connect-box { padding-top: 8px; padding-left: 7px } #connect-state { margin-left: 16px; width: 48px; height: 13px; background-image: url(../img/disconnect.png) } #connect-state.connect { background-image: url(../img/connect.png) } #device_lists { width: 88px; font-size: 13px; background-color: buttonface } #serial_lists { width: 88px; margin-top: 4px; } #serial_lists.connect { background-color: lightgreen } #language-select { font-size: 13px; } #connect-control { width: 86px; text-align: center } #connect-span { font-size: 12px; color: #336699; cursor: pointer } #login-area { font-size: 13px; color: #336699; } #command-login { color: #336699; text-decoration: none } #command-login:hover { color: #336699; text-decoration: underline } #term-toolbar { position: absolute; x: 0; y: 0 } #term-toolbar button { font-size: 12px; color: #336699; } #term-toolbar button.disabled { color: #999999; } #chart-operate { cursor: pointer }