style.css 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443
  1. #editor {
  2. position: absolute;
  3. top: 0;
  4. right: 0;
  5. bottom: 0;
  6. left: 0;
  7. background: #000000;
  8. font-size: 22px;
  9. }
  10. #blockly {
  11. display: none;
  12. min-width: 270px;
  13. /* overflow: auto; */
  14. /* resize: horizontal; */
  15. padding-right: 10px;
  16. position: relative;
  17. }
  18. .blocklyResize{
  19. border-top: 0.5em solid transparent;
  20. border-left: 0.5em solid transparent;
  21. border-right: 0.5em solid #888;
  22. border-bottom: 0.5em solid #888;
  23. position: absolute;
  24. right: 10px;
  25. bottom: 0;
  26. content: '';
  27. cursor: ew-resize;
  28. z-index:9999;
  29. }
  30. .editorResize{
  31. background-color: white;
  32. margin-left: 58px;
  33. width: 100%;
  34. height: 4px;
  35. cursor: s-resize;
  36. }
  37. /* Re-usable, generic rules */
  38. .hidden {
  39. display: none !important;
  40. }
  41. .vbox {
  42. display: flex;
  43. display: -webkit-flex;
  44. display: -ms-flexbox;
  45. flex-direction: column;
  46. -webkit-flex-direction: column;
  47. -ms-flex-direction: column;
  48. }
  49. .hbox {
  50. display: flex;
  51. display: -webkit-flex;
  52. display: -ms-flexbox;
  53. }
  54. .flex1 {
  55. flex: 1;
  56. -webkit-flex: 1;
  57. -ms-flex: 1;
  58. }
  59. .flex3 {
  60. flex: 2;
  61. -webkit-flex: 2;
  62. -ms-flex: 2;
  63. }
  64. /* Whole page layout */
  65. body {
  66. margin: 0;
  67. padding: 0;
  68. overflow: hidden;
  69. }
  70. body, input {
  71. font-family: "Segoe UI Light", "Segoe UI", "Segoe WP Light", "Segoe WP",
  72. "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
  73. font-size: 1rem;
  74. }
  75. #main {
  76. margin: 0;
  77. position: absolute;
  78. top: 0;
  79. bottom: 0;
  80. left: 0;
  81. right: 0;
  82. overflow: hidden;
  83. background: #F2F2F2;
  84. }
  85. #editor {
  86. position: relative;
  87. margin: 0;
  88. }
  89. /* Script info box */
  90. #script-box {
  91. margin-right: 0.5rem;
  92. margin-left: 0.5rem;
  93. text-align: center;
  94. min-width: 140px;
  95. }
  96. #entryBox{
  97. min-width:80px;
  98. height:100%;
  99. position: absolute;
  100. right: 10px;
  101. }
  102. #userInfor{
  103. min-width:80px;
  104. height:100%;
  105. position: absolute;
  106. right: 10px;
  107. display: none;
  108. }
  109. #headerPhone{
  110. width:4rem;
  111. height:4rem;
  112. position: absolute;
  113. margin: auto;
  114. left:0;
  115. right:0;
  116. top:5px;
  117. }
  118. #userName{
  119. width:100%;
  120. height:4rem;
  121. position: absolute;
  122. margin: auto;
  123. left:0;
  124. right:0;
  125. top:5px;
  126. text-align: right;
  127. line-height: 4rem;
  128. }
  129. #eOr{
  130. width: 100%;
  131. text-align: center;
  132. position: absolute;
  133. bottom:0;
  134. left:0;
  135. line-height: 0px;
  136. }
  137. #entryOut{
  138. width: 100%;
  139. text-align: right;
  140. position: absolute;
  141. bottom:0;
  142. left:0;
  143. }
  144. #script-name {
  145. font-size: 2rem;
  146. color: #1a354c;
  147. overflow: hidden;
  148. max-height: 90px;
  149. }
  150. #script-description {
  151. color: #336699;
  152. padding-bottom: 0.2rem;
  153. overflow: hidden;
  154. max-height: 22px;
  155. }
  156. #script-icons > *:not(:first-child) {
  157. display: inline-block;
  158. cursor: pointer;
  159. }
  160. .zoomer,
  161. .saved-state {
  162. cursor: pointer !important;
  163. }
  164. #script-icons {
  165. width: 3rem;
  166. min-width: 3rem;
  167. }
  168. #script-icons .status-icon {
  169. width: 1.3rem;
  170. height: 1.3rem;
  171. border: 6px solid #FFCC33;
  172. border-radius: 50%;
  173. margin: .4rem;
  174. text-align: center;
  175. font-size: 1rem;
  176. line-height: 1.3rem;
  177. padding: .1em;
  178. font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
  179. color: #336699;
  180. background: #FFFFFF;
  181. }
  182. #script-icons .holder {
  183. width: 3rem;
  184. display: -webkit-flex;
  185. display: -ms-flexbox;
  186. display: flex;
  187. -webkit-flex-direction: column;
  188. -ms-flex-direction: column;
  189. flex-direction: column;
  190. color: #336699;
  191. text-decoration: none;
  192. background-image: url("../img/triangle.svg");
  193. background-size: 100%;
  194. background-repeat: no-repeat;
  195. text-align: center;
  196. padding: 0px;
  197. }
  198. #script-icons .holder:focus, #script-icons #holder:active {
  199. background-image: url("../img/triangle2.svg");
  200. }
  201. #command-help{
  202. position: relative;
  203. }
  204. #command-help:hover .hShow{
  205. display: block;
  206. }
  207. #command-flash{
  208. position: relative;
  209. }
  210. #command-flash:hover .hShow{
  211. display: block;
  212. }
  213. #command-flash.disabled .hShow{
  214. display: none;
  215. }
  216. #command-flash.codemode .hShow p:first-child {
  217. display: none;
  218. }
  219. .hShow{
  220. width:auto;
  221. height:auto;
  222. background: #F2F2F2;
  223. -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  224. -moz-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  225. box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  226. -webkit-border-radius:5px;
  227. -moz-border-radius:5px;
  228. border-radius:5px;
  229. position: absolute;
  230. left:0;
  231. top:100%;
  232. z-index: 6;
  233. display: none;
  234. }
  235. /*.hShow:after{*/
  236. /*content: '';*/
  237. /*background-color: #336699;*/
  238. /*width:0;*/
  239. /*height:0;*/
  240. /*border-left: 5px solid #F2F2F2;*/
  241. /*border-top: 5px solid #F2F2F2;*/
  242. /*border-right: 5px solid #F2F2F2;*/
  243. /*border-bottom: 5px solid #336699;*/
  244. /*position: absolute;*/
  245. /*margin: auto;*/
  246. /*left:0;*/
  247. /*right:0;*/
  248. /*top:-10px;*/
  249. /*}*/
  250. .hShow p{
  251. padding-left: 15px;
  252. padding-right: 15px;
  253. white-space:nowrap;
  254. text-align: left;
  255. line-height: 49px;
  256. cursor: pointer;
  257. margin:0;
  258. }
  259. .hShow p:hover{
  260. text-decoration: underline;
  261. }
  262. #suggestBtn{
  263. width:500px;
  264. height:500px;
  265. background-color: #e3e3e3;
  266. border: 1px solid #4d4d4d;
  267. -webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  268. -moz-box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  269. box-shadow:0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  270. z-index: 105;
  271. display: none;
  272. }
  273. .suggest{
  274. width:100%;
  275. height: 50px;
  276. line-height: 50px;
  277. text-align: center;
  278. cursor: pointer;
  279. }
  280. .mpSelect{
  281. background-color: #FFFFFF;
  282. }
  283. .tabBox{
  284. width:500px;
  285. height: 100%;
  286. position: relative;
  287. }
  288. .tabs{
  289. width:100%;
  290. height:100%;
  291. background-color: #e3e3e3;
  292. position: absolute;
  293. left:0;
  294. top:0;
  295. display: none;
  296. }
  297. .tabs:nth-of-type(1){
  298. display: block;
  299. }
  300. .tabs div{
  301. width:100%;
  302. height:auto;
  303. margin-bottom: 10px;
  304. }
  305. .upAdd{
  306. position: relative;
  307. }
  308. #file_upload{
  309. position: absolute;
  310. left: 150px;
  311. top: -20px;
  312. background-color: WHITE;
  313. -webkit-border-radius:5px;
  314. -moz-border-radius:5px;
  315. border-radius:5px;
  316. }
  317. #file_upload-button{
  318. margin-top: 0;
  319. text-align: center;
  320. }
  321. .tabs div:nth-of-type(1){
  322. margin-top: 20px;
  323. }
  324. .tabs div:nth-of-type(4){
  325. height: 92px;
  326. }
  327. .tabs div label{
  328. display: inline-block;
  329. width:150px;
  330. text-align: right;
  331. line-height: 20px;
  332. }
  333. .tabs div:nth-of-type(5) input{
  334. width:auto;
  335. max-width: 296px;
  336. overflow: hidden;
  337. text-overflow: ellipsis;
  338. white-space: nowrap;
  339. padding-left: 0px;
  340. padding-right: 15px;
  341. background: none;
  342. height:30px;
  343. }
  344. .tabs div:nth-of-type(6){
  345. margin-bottom: 0px;
  346. }
  347. .tabs div:nth-of-type(6) input{
  348. width:auto;
  349. padding-left: 35px;
  350. padding-right: 35px;
  351. background-color: #d4d4d4;
  352. height:40px;
  353. color: #fff;
  354. text-align: center;
  355. }
  356. .tabs div:nth-of-type(7){
  357. position: relative;
  358. }
  359. .tabs div:nth-of-type(7) input{
  360. width:200px;
  361. padding-left: 35px;
  362. padding-right: 35px;
  363. height:40px;
  364. background-color: #336699;
  365. color: #fff;
  366. margin-top: -85px;
  367. margin-left: 150px;
  368. cursor: pointer;
  369. }
  370. @keyframes inupload{
  371. from{
  372. transform: rotate(0);
  373. }
  374. to{
  375. transform: rotate(360deg);
  376. }
  377. }
  378. @-moz-keyframes inupload{
  379. from{
  380. transform: rotate(0);
  381. }
  382. to{
  383. transform: rotate(360deg);
  384. }
  385. }
  386. @-ms-keyframes inupload{
  387. from{
  388. transform: rotate(0);
  389. }
  390. to{
  391. transform: rotate(360deg);
  392. }
  393. }
  394. @-o-keyframes inupload{
  395. from{
  396. transform: rotate(0);
  397. }
  398. to{
  399. transform: rotate(360deg);
  400. }
  401. }
  402. @-webkit-keyframes inupload{
  403. from{
  404. transform: rotate(0);
  405. }
  406. to{
  407. transform: rotate(360deg);
  408. }
  409. }
  410. .uploadTips{
  411. display: inline-block;
  412. width: 32px;
  413. height:32px;
  414. background-image: url("../img/jsq.png");
  415. background-position: center center;
  416. background-size: 100% 100%;
  417. background-repeat: no-repeat;
  418. position: absolute;
  419. bottom:4px;
  420. left:360px;
  421. animation: inupload 3s infinite;
  422. display: none;
  423. }
  424. .tabs div input{
  425. width:300px;
  426. height: 35px;
  427. margin-top: 5px;
  428. -webkit-border-radius:3px;
  429. -moz-border-radius:3px;
  430. border-radius:3px;
  431. outline:none;
  432. border:none;
  433. background-color: white;
  434. padding-left: 10px;
  435. -webkit-box-sizing: border-box;
  436. -moz-box-sizing: border-box;
  437. box-sizing: border-box;
  438. }
  439. .tabs div textarea{
  440. width:296px;
  441. height:80px;
  442. resize: none;
  443. border:none;
  444. font-size: 15px;
  445. -webkit-border-radius:3px;
  446. -moz-border-radius:3px;
  447. border-radius:3px;
  448. float: right;
  449. margin-top: 5px;
  450. margin-right: 50px;
  451. }
  452. /* Popups */
  453. .popup {
  454. width: 500px;
  455. border: 5px solid #666;
  456. position: relative;
  457. background-color: white;
  458. z-index: 999;
  459. }
  460. .popup::after {
  461. content: "";
  462. display: block;
  463. width: 0;
  464. position: absolute;
  465. top: -20px;
  466. right: 10px;
  467. border-style: solid;
  468. border-width: 0 20px 20px;
  469. border-color: #666 transparent;
  470. }
  471. .popup-inner {
  472. padding: 1rem;
  473. }
  474. #popup-edit input {
  475. border: 0;
  476. }
  477. /* Toolbox and commands */
  478. #merge-commands {
  479. margin-left: 3em;
  480. }
  481. #merge-commands > * {
  482. cursor: pointer;
  483. }
  484. #merge-commands > .label {
  485. color: #a40000;
  486. font-weight: bold;
  487. }
  488. #commands {
  489. min-width: 840px;
  490. }
  491. #commands a {
  492. text-align: center;
  493. padding-left: 0px;
  494. padding-right: 0px;
  495. }
  496. #toolbox {
  497. position: relative;
  498. min-width: 1080px;
  499. width: 100%;
  500. }
  501. #log {
  502. overflow: auto;
  503. width: 500px;
  504. max-height: 500px;
  505. }
  506. .status {
  507. white-space: pre-wrap;
  508. }
  509. .status:first-letter {
  510. font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
  511. }
  512. .status:not(:first-letter) {
  513. font-weight: bold;
  514. }
  515. .status.error {
  516. color: #a40000;
  517. }
  518. .status:not(.error) {
  519. color: #4e9a06;
  520. }
  521. /* Buttons */
  522. .roundbutton {
  523. display: -webkit-flex;
  524. display: -ms-flexbox;
  525. display: flex;
  526. -webkit-flex-direction: column;
  527. -ms-flex-direction: column;
  528. flex-direction: column;
  529. color: #336699;
  530. text-decoration: none;
  531. background-image: url("../img/triangle.svg");
  532. background-size: 100%;
  533. background-repeat: no-repeat;
  534. /*min-width: 90px;*/
  535. }
  536. .entryButton {
  537. display: -webkit-flex;
  538. display: -ms-flexbox;
  539. display: flex;
  540. -webkit-flex-direction: column;
  541. -ms-flex-direction: column;
  542. flex-direction: column;
  543. color: #336699;
  544. text-decoration: none;
  545. background-size: 100%;
  546. background-repeat: no-repeat;
  547. min-width: 90px;
  548. }
  549. .disabled div.roundsymbol {
  550. border-color: #AAA;
  551. }
  552. .disabled i {
  553. color: #AAA;
  554. }
  555. .disabled div.roundlabel {
  556. color: #AAA;
  557. }
  558. .roundsymbol {
  559. width: 2.5rem;
  560. height: 2.5rem;
  561. border: 6px solid #FFCC33;
  562. /*border-radius: 50%;*/
  563. -webkit-border-radius:50%;
  564. -moz-border-radius:50%;
  565. border-radius:50%;
  566. margin: .2rem;
  567. margin-bottom: 0;
  568. text-align: center;
  569. font-size: 1.6rem;
  570. line-height: 2.5rem;
  571. padding: .1em;
  572. font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
  573. color: #336699;
  574. background: #FFFFFF;
  575. }
  576. .roundbutton:focus, .roundbutton:active {
  577. background-image: url("../img/triangle2.svg");
  578. }
  579. .roundlabel {
  580. padding-top: .3rem;
  581. padding-bottom: .3rem;
  582. font-size: 80%;
  583. text-align: center;
  584. line-height: 11px;
  585. color: #336699;
  586. }
  587. body:not(.hasFota) .fota {
  588. display: none;
  589. }
  590. body.hasFota .notfota {
  591. display: none;
  592. }
  593. /* Misc */
  594. a.command, a.command:visited {
  595. color: black;
  596. font-weight: bold;
  597. text-decoration: none;
  598. }
  599. a.command:hover {
  600. text-decoration: underline;
  601. }
  602. /* Some overrides for narrow displays */
  603. @media (max-width: 890px) {
  604. .roundbutton {
  605. display: inline;
  606. padding: 5px;
  607. min-width: 48px;
  608. }
  609. #script-icons {
  610. display: none;
  611. }
  612. .roundsymbol {
  613. width: 2rem;
  614. height: 2rem;
  615. line-height: 2.05rem;
  616. font-size: 1.3rem;
  617. margin: 0;
  618. }
  619. .roundlabel {
  620. padding-top: 0;
  621. display: none;
  622. }
  623. .roundbutton > * {
  624. /*display: inline-block;*/
  625. }
  626. #script-name {
  627. font-size: 1.2rem;
  628. font-weight: bold;
  629. max-height: 50px;
  630. }
  631. .blocklyTreeRow {
  632. padding-right: .3em !important;
  633. }
  634. .blocklyTreeIcon {
  635. width: 6px !important;
  636. }
  637. .blocklyTreeLabel {
  638. font-size: 12px !important;
  639. }
  640. #commands {
  641. min-width: 425px;
  642. }
  643. }
  644. @media (max-width: 480px) {
  645. #toolbox {
  646. flex-direction: column;
  647. -ms-flex-direction: column;
  648. }
  649. #script-box {
  650. margin-right: 1rem;
  651. margin-left: 1rem;
  652. text-align: left;
  653. width: 100%;
  654. }
  655. }
  656. .snippet-selection:hover {
  657. background: #FFCC33;
  658. cursor: pointer;
  659. }
  660. .snippet-table {
  661. width: 100%;
  662. }
  663. .snippet-table th {
  664. text-align: left;
  665. padding-right: 48px;
  666. }
  667. .snippet-table td {
  668. border-bottom: 1px dotted #CCC;
  669. }
  670. .snippet-name {
  671. display: none;
  672. }
  673. .share-label {
  674. display: inline-block;
  675. width: 200px;
  676. }
  677. #share-link {
  678. display: none;
  679. }
  680. .blocklySvg {
  681. background-image: url('../img/experimental.png');
  682. background-repeat: repeat;
  683. }
  684. #messagebar {
  685. display: none;
  686. background-color: #ffcc33;
  687. padding: 0.75em;
  688. font-family: "Segoe UI Light", "Segoe UI", "Segoe WP Light", "Segoe WP", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
  689. }
  690. #messagebar a, #messagebar a.visited {
  691. color: #336699;
  692. font-weight: bold;
  693. }
  694. .load-form {
  695. display: none;
  696. }
  697. div.load-drag-target {
  698. height: 200px;
  699. background: #ddd;
  700. border: 1px solid #aaa;
  701. border-radius: 15px;
  702. }
  703. div.load-form {
  704. padding-top: 20px;
  705. height: 200px;
  706. }
  707. .load-form input {
  708. margin-bottom: 20px;
  709. }
  710. .load-drag-target p {
  711. text-align: center;
  712. position: absolute;
  713. top: 50%;
  714. left: 50%;
  715. transform: translate(-50%, -50%);
  716. }
  717. #load-alt a, #load-alt a.visited {
  718. color: #336699;
  719. font-weight: bold;
  720. }
  721. .is-dragover {
  722. background: #ccc !important;
  723. }
  724. .cc{
  725. position: absolute;
  726. margin: auto;
  727. left:0;
  728. right:0;
  729. top:0;
  730. bottom:0;
  731. }
  732. .ud{
  733. position: absolute;
  734. margin: auto;
  735. top:0;
  736. bottom:0;
  737. }
  738. .entryTitle{
  739. right:350px;
  740. line-height: 70px;
  741. }
  742. .lr{
  743. position: absolute;
  744. margin: auto;
  745. top: 0;
  746. bottom: 0;
  747. }
  748. .entryInput{
  749. width:250px;
  750. height:40px;
  751. border:none;
  752. outline: none;
  753. border-radius: 5px;
  754. padding-left: 10px;
  755. box-sizing: border-box;
  756. right:80px;
  757. }
  758. .eOrBtn{
  759. width:200px;
  760. height: 40px;
  761. background-color: #336699;
  762. color: white;
  763. font-weight: bold;
  764. border:none;
  765. outline: none;
  766. border-radius: 5px;
  767. }
  768. #mask{
  769. width:100%;
  770. height:100%;
  771. background-color: rgba(220,220,220,0.7);
  772. position: absolute;
  773. top:0;
  774. left:0;
  775. z-index: 100;
  776. display: none;
  777. }
  778. .closeBtn{
  779. width:25px;
  780. height:25px;
  781. background-color: grey;
  782. /*border-radius: 50%;*/
  783. position: absolute;
  784. top:0px;
  785. right:0px;
  786. z-index: 2;
  787. }
  788. .closeBtn::before{
  789. content: "";
  790. width:20px;
  791. height:5px;
  792. background-color: white;
  793. position: absolute;
  794. margin: auto;
  795. left:0;
  796. right:0;
  797. top:0;
  798. bottom: 0;
  799. -webkit-transform: rotateZ(45deg);
  800. -moz-transform: rotateZ(45deg);
  801. -ms-transform: rotateZ(45deg);
  802. -o-transform: rotateZ(45deg);
  803. transform: rotateZ(45deg);
  804. }
  805. .closeBtn::after{
  806. content: "";
  807. width:20px;
  808. height:5px;
  809. background-color: white;
  810. position: absolute;
  811. margin: auto;
  812. left:0;
  813. right:0;
  814. top:0;
  815. bottom: 0;
  816. -webkit-transform: rotateZ(-45deg);
  817. -moz-transform: rotateZ(-45deg);
  818. -ms-transform: rotateZ(-45deg);
  819. -o-transform: rotateZ(-45deg);
  820. transform: rotateZ(-45deg);
  821. }
  822. #entryInputBox{
  823. width:500px;
  824. height:500px;
  825. }
  826. .eOrBox{
  827. background-color: #F2F2F2;
  828. }
  829. #entryPhoto{
  830. width:100%;
  831. height:140px;
  832. background-color: ghostwhite;
  833. position: relative;
  834. }
  835. #entryPhoto img{
  836. width: 100px;
  837. }
  838. #goRegister{
  839. color: #ffcc33;
  840. }
  841. .goOther:hover{
  842. cursor: pointer;
  843. }
  844. .inputLine{
  845. width:100%;
  846. height:70px;
  847. /*background-color: #1ce8c3;*/
  848. /*margin-bottom: 10px;*/
  849. position: relative;
  850. text-align: center;
  851. }
  852. .tips{
  853. width:250px;
  854. height:40px;
  855. border-radius: 10px;
  856. background-color: red;
  857. margin:20px auto;
  858. color: white;
  859. text-align: center;
  860. line-height: 40px;
  861. display: none;
  862. }
  863. #goWebStation{
  864. position: absolute;
  865. left:20px;
  866. bottom:20px;
  867. }
  868. #goWebStation a{
  869. text-decoration: none;
  870. color: #336699;
  871. }
  872. #goWebStation a:hover{
  873. text-decoration: underline;
  874. }
  875. #registerInputBox{
  876. width:500px;
  877. height:500px;
  878. display: none;
  879. }
  880. #registerHead{
  881. width:100%;
  882. height: 70px;
  883. background-color: ghostwhite;
  884. position: relative;
  885. }
  886. .textLine{
  887. width:100%;
  888. height:40px;
  889. position: relative;
  890. }
  891. .textLine:first-child{
  892. margin-top: 20px;
  893. }
  894. .textLine span{
  895. color: #ffcc33;
  896. }
  897. .textTitle{
  898. line-height: 40px;
  899. right:350px;
  900. }
  901. .textTitle span{
  902. color: orangered;
  903. }
  904. .textInput{
  905. width:250px;
  906. height:30px;
  907. right:80px;
  908. border: none;
  909. outline: none;
  910. }
  911. .regTips{
  912. width:100%;
  913. font-size: 10px;
  914. color: #CDB5CD;
  915. text-align: center;
  916. line-height: 0;
  917. }
  918. .numInput{
  919. width:150px;
  920. height:30px;
  921. right:180px;
  922. border: none;
  923. outline: none;
  924. }
  925. .sendCode{
  926. width:100px;
  927. height:30px;
  928. right: 80px;
  929. border: none;
  930. outline: none;
  931. font-weight: bold;
  932. }
  933. .textInput,.numInput{
  934. padding-left: 10px;
  935. box-sizing: border-box;
  936. background-position: right bottom;
  937. background-size: auto 100%;
  938. background-repeat: no-repeat;
  939. }
  940. /*#registerBtn{*/
  941. /*width:250px;*/
  942. /*height:40px;*/
  943. /*background-color: #ffcc33;*/
  944. /*border-radius: 5px;*/
  945. /*border:none;*/
  946. /*outline:none;*/
  947. /*font-weight: bold;*/
  948. /*color: white;*/
  949. /*}*/
  950. .goEntry{
  951. width:100%;
  952. height:50px;
  953. text-align: center;
  954. line-height: 50px;
  955. }
  956. #tips6{
  957. width:250px;
  958. height:40px;
  959. background-color: red;
  960. color: #FFF;
  961. text-align: center;
  962. line-height: 40px;
  963. /*font-size: 25px;*/
  964. border-radius: 5px;
  965. margin: auto;
  966. display: none;
  967. }
  968. #cloudFile{
  969. width:100%;
  970. height:100%;
  971. background-color: rgba(220,220,220,0.7);
  972. position: absolute;
  973. top:0;
  974. left:0;
  975. z-index: 100;
  976. display: none;
  977. }
  978. #cloudListBox{
  979. width:657px;
  980. height:500px;
  981. background-color: #F2F2F2;
  982. }
  983. #programList {
  984. width: 617px;
  985. height: 420px;
  986. background-color: white;
  987. list-style: none;
  988. overflow-y: scroll;
  989. position: absolute;
  990. bottom: 0px;
  991. }
  992. #fileTitle{
  993. background-color: #F2F2F2;
  994. margin-left: 0px;
  995. width:617px;
  996. }
  997. .files {
  998. width: 100%;
  999. height: 80px;
  1000. background-color: white;
  1001. margin-top: 2px;
  1002. margin-left: -40px;
  1003. font-size: 20px;
  1004. border-bottom: 1px solid #F2F2F2;
  1005. }
  1006. .fileStates{
  1007. width:150px;
  1008. height:80px;
  1009. float: left;
  1010. line-height: 80px;
  1011. text-align: center;
  1012. }
  1013. .fileName{
  1014. width:200px;
  1015. height:80px;
  1016. white-space:nowrap;
  1017. overflow:hidden;
  1018. text-overflow:ellipsis;
  1019. line-height: 80px;
  1020. float: left;
  1021. }
  1022. .upTime{
  1023. width:200px;
  1024. height:80px;
  1025. float: left;
  1026. line-height: 80px;
  1027. /*font-family: Courier New;*/
  1028. text-align: center;
  1029. }
  1030. .fShare{
  1031. background-image: url("../img/noshare.png");
  1032. background-size: auto 90%;
  1033. background-position: center;
  1034. background-repeat: no-repeat;
  1035. }
  1036. .tShare{
  1037. background-image: url("../img/haveshare.png");
  1038. background-size: auto 90%;
  1039. background-position: center;
  1040. background-repeat: no-repeat;
  1041. }
  1042. .tDraft{
  1043. color: red;
  1044. }
  1045. .fDraft{
  1046. color: black;
  1047. }
  1048. .deleteBox{
  1049. width:50px;
  1050. height:80px;
  1051. float: left;
  1052. position: relative;
  1053. }
  1054. .deleteBtn{
  1055. width:30px;
  1056. height:30px;
  1057. background-color: grey;
  1058. border-radius: 50%;
  1059. display: none;
  1060. }
  1061. .deleteBtn::before{
  1062. content: "";
  1063. width:20px;
  1064. height:5px;
  1065. background-color: white;
  1066. position: absolute;
  1067. margin: auto;
  1068. left:0;
  1069. right:0;
  1070. top:0;
  1071. bottom: 0;
  1072. -webkit-transform: rotateZ(45deg);
  1073. -moz-transform: rotateZ(45deg);
  1074. -ms-transform: rotateZ(45deg);
  1075. -o-transform: rotateZ(45deg);
  1076. transform: rotateZ(45deg);
  1077. }
  1078. .deleteBtn::after{
  1079. content: "";
  1080. width:20px;
  1081. height:5px;
  1082. background-color: white;
  1083. position: absolute;
  1084. margin: auto;
  1085. left:0;
  1086. right:0;
  1087. top:0;
  1088. bottom: 0;
  1089. -webkit-transform: rotateZ(-45deg);
  1090. -moz-transform: rotateZ(-45deg);
  1091. -ms-transform: rotateZ(-45deg);
  1092. -o-transform: rotateZ(-45deg);
  1093. transform: rotateZ(-45deg);
  1094. }
  1095. .files:hover .deleteBtn{
  1096. display: block;
  1097. }
  1098. #noFileBgI{
  1099. width:400px;
  1100. height:400px;
  1101. background-image: url("../img/noFindFile.png");
  1102. margin: 20px auto;
  1103. display: none;
  1104. }
  1105. .ynUpdate{
  1106. width:100%;
  1107. height:100% !important;
  1108. position: absolute;
  1109. left:0;
  1110. top:0;
  1111. display: none;
  1112. }
  1113. #link_Control{
  1114. width: 300px;
  1115. height: 30px;
  1116. position: absolute;
  1117. right: 20px;
  1118. bottom: 268px;
  1119. z-index: 11;
  1120. display: none;
  1121. }
  1122. #select_Link_Obj{
  1123. width: 80px;
  1124. max-width: 105px;
  1125. height: 30px;
  1126. position:absolute;
  1127. top: 0px;
  1128. right: 125px;
  1129. border: none;
  1130. }
  1131. #link_Control .watch_btn{
  1132. width: 50px;
  1133. height: 30px;
  1134. background-position: center center;
  1135. background-size: auto 80%;
  1136. background-repeat: no-repeat;
  1137. /*outline: none;*/
  1138. position: absolute;
  1139. top: 0;
  1140. }
  1141. #link_Control .watch_btn:nth-of-type(1){
  1142. background-image: url(../img/link.png);
  1143. right: 65px;
  1144. }
  1145. #link_Control .watch_btn:nth-of-type(2){
  1146. background-image: url(../img/upload.png);
  1147. right: 5px;
  1148. }
  1149. #monitor{
  1150. width: 300px;
  1151. height: 236px;
  1152. /*background-image: url(../../microbit_sim/lib/skulpt/microbit/mb.png);*/
  1153. background-size: 100% 100%;
  1154. background-position: center center;
  1155. background-repeat: no-repeat;
  1156. position: absolute;
  1157. bottom: 32px;
  1158. right: 32px;
  1159. z-index: 10;
  1160. display: none;
  1161. }
  1162. #monitor .lighting{
  1163. width: 22px;
  1164. height: 22px;
  1165. background-color: red;
  1166. -webkit-border-radius: 50%;
  1167. -moz-border-radius: 50%;
  1168. border-radius: 50%;
  1169. position: absolute;
  1170. top: 101px;
  1171. display: none;
  1172. }
  1173. #monitor .light_a{
  1174. left: 24px;
  1175. }
  1176. #monitor .light_b{
  1177. right: 21px;
  1178. }
  1179. #monitor .pin_Val{
  1180. width: 32px;
  1181. height: 17px;
  1182. color: white;
  1183. position: absolute;
  1184. bottom: 56px;
  1185. text-align: center;
  1186. line-height: 17px;
  1187. font-size: 12px;
  1188. }
  1189. #monitor .pin_0{
  1190. left: 12px;
  1191. }
  1192. #monitor .pin_1{
  1193. left: 70px;
  1194. }
  1195. #monitor .pin_2{
  1196. left: 136px;
  1197. }
  1198. #monitor .acceleration{
  1199. width: 100px;
  1200. height: 48px;
  1201. /*background-color: #2E6DA4;*/
  1202. position: absolute;
  1203. top: 10px;
  1204. right: 10px;
  1205. color: white;
  1206. font-size: 12px;
  1207. line-height: 16px;
  1208. }
  1209. #monitor .close{
  1210. width: 30px;
  1211. height: 30px;
  1212. background-color:white ;
  1213. -webkit-border-radius: 50%;
  1214. -moz-border-radius: 50%;
  1215. border-radius: 50%;
  1216. position: absolute;
  1217. left: -10px;
  1218. top: -7px;
  1219. cursor: pointer;
  1220. display: none;
  1221. }
  1222. #monitor .close:after{
  1223. content: '';
  1224. width: 5px;
  1225. height: 20px;
  1226. background-color: black;
  1227. position: absolute;
  1228. left: 0;
  1229. top: 0;
  1230. right: 0;
  1231. bottom: 0;
  1232. margin: auto;
  1233. -webkit-transform: rotate(45deg);
  1234. -moz-transform: rotate(45deg);
  1235. -ms-transform: rotate(45deg);
  1236. -o-transform: rotate(45deg);
  1237. transform: rotate(45deg);
  1238. }
  1239. #monitor .close:before{
  1240. content: '';
  1241. width: 5px;
  1242. height: 20px;
  1243. background-color: black;
  1244. position: absolute;
  1245. left: 0;
  1246. top: 0;
  1247. right: 0;
  1248. bottom: 0;
  1249. margin: auto;
  1250. -webkit-transform: rotate(-45deg);
  1251. -moz-transform: rotate(-45deg);
  1252. -ms-transform: rotate(-45deg);
  1253. -o-transform: rotate(-45deg);
  1254. transform: rotate(-45deg);
  1255. }
  1256. #monitor:hover .close{
  1257. display: block;
  1258. }
  1259. .terminal {
  1260. float: left;
  1261. border: #000 solid 5px;
  1262. font-family: "Courier New", "DejaVu Sans Mono", "Liberation Mono", monospace;
  1263. font-size: 11px;
  1264. color: #f0f0f0;
  1265. background: #000;
  1266. }
  1267. .terminal-cursor {
  1268. color: #000;
  1269. background: #f0f0f0;
  1270. }
  1271. .terminal div {
  1272. white-space: nowrap;
  1273. height: 12px;
  1274. }
  1275. #update-link {
  1276. color: #0B6691;
  1277. text-decoration: none;
  1278. }
  1279. #update-link:hover {
  1280. color: #0B6691;
  1281. text-decoration: underline;
  1282. }
  1283. #connect-box {
  1284. padding-top: 8px;
  1285. padding-left: 7px
  1286. }
  1287. #connect-state {
  1288. margin-left: 16px;
  1289. width: 48px;
  1290. height: 13px;
  1291. background-image: url(../img/disconnect.png)
  1292. }
  1293. #connect-state.connect {
  1294. background-image: url(../img/connect.png)
  1295. }
  1296. #device_lists {
  1297. width: 88px;
  1298. font-size: 13px;
  1299. background-color: buttonface
  1300. }
  1301. #serial_lists {
  1302. width: 88px;
  1303. margin-top: 4px;
  1304. }
  1305. #serial_lists.connect {
  1306. background-color: lightgreen
  1307. }
  1308. #language-select {
  1309. font-size: 13px;
  1310. }
  1311. #connect-control {
  1312. width: 86px;
  1313. text-align: center
  1314. }
  1315. #connect-span {
  1316. font-size: 12px;
  1317. color: #336699;
  1318. cursor: pointer
  1319. }
  1320. #login-area {
  1321. font-size: 13px;
  1322. color: #336699;
  1323. }
  1324. #command-login {
  1325. color: #336699;
  1326. text-decoration: none
  1327. }
  1328. #command-login:hover {
  1329. color: #336699;
  1330. text-decoration: underline
  1331. }
  1332. #term-toolbar {
  1333. position: absolute;
  1334. x: 0;
  1335. y: 0
  1336. }
  1337. #term-toolbar button {
  1338. font-size: 12px;
  1339. color: #336699;
  1340. }
  1341. #term-toolbar button.disabled {
  1342. color: #999999;
  1343. }
  1344. #chart-operate {
  1345. cursor: pointer
  1346. }