cocoblockly.css 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689
  1. @font-face {
  2. font-family: 'Material Icons';
  3. font-style: normal;
  4. font-weight: 400;
  5. src: url(MaterialIcons-Regular.eot);
  6. /* For IE6-8 */
  7. src: local('Material Icons'), local('MaterialIcons-Regular'), url(./font/material-design-icons/MaterialIcons-Regular.woff2) format('woff2'), url(./font/material-design-icons/MaterialIcons-Regular.woff) format('woff'), url(./font/material-design-icons/MaterialIcons-Regular.ttf) format('truetype');
  8. }
  9. /* labs二层弹框 */
  10. .setting_left_all {
  11. width: 48%;
  12. background: #fff;
  13. padding: 15px;
  14. box-shadow: 1px 2px 3px #eeeeee;
  15. border-radius: 5px;
  16. }
  17. .setting_right_all {
  18. width: 48%;
  19. position: relative;
  20. padding: 0 15px 15px 15px;
  21. }
  22. .setting_border {
  23. background: #fff;
  24. border: 1px solid rgb(249, 249, 249);
  25. padding: 5px;
  26. box-shadow: 1px 2px 3px #eeeeee
  27. }
  28. .setting_border p {
  29. margin: 0;
  30. padding: 0;
  31. }
  32. .material-icons {
  33. display: none;
  34. font-family: 'Material Icons';
  35. font-weight: normal;
  36. font-style: normal;
  37. font-size: 24px;
  38. /* Preferred icon size */
  39. display: inline-block;
  40. line-height: 1;
  41. text-transform: none;
  42. letter-spacing: normal;
  43. word-wrap: normal;
  44. white-space: nowrap;
  45. direction: ltr;
  46. /* Support for all WebKit browsers. */
  47. -webkit-font-smoothing: antialiased;
  48. /* Support for Safari and Chrome. */
  49. text-rendering: optimizeLegibility;
  50. /* Support for Firefox. */
  51. -moz-osx-font-smoothing: grayscale;
  52. /* Support for IE. */
  53. font-feature-settings: 'liga';
  54. }
  55. /* toolbox indicator */
  56. #:l {
  57. border-left: 10px solid #4c97ff;
  58. display: inline-block;
  59. }
  60. /* -------- styles of shadowbox -------- */
  61. .shadowbox {
  62. background-color: rgba(0, 0, 0, 0.6);
  63. position: fixed;
  64. width: 100%;
  65. height: 100%;
  66. }
  67. .nav-fixed>.shadowbox {
  68. z-index: 2;
  69. }
  70. body>.shadowbox {
  71. top: 0px;
  72. z-index: 1000;
  73. }
  74. .collapsible-body>.shadowbox {
  75. position: absolute;
  76. z-index: 2;
  77. }
  78. .collapsible-body>.blue-dark {
  79. background-color: rgba(14, 6, 65, 0.8);
  80. }
  81. /* -------- tour card --------- */
  82. .tourCards {
  83. position: fixed;
  84. z-index: 1002;
  85. transition: all 0.5s ease-in-out;
  86. overflow: hidden;
  87. }
  88. .tourCards>* {
  89. width: 390px;
  90. }
  91. .item_highlight {
  92. position: relative;
  93. z-index: 1001;
  94. }
  95. /* -------- styles of card display or hide-------- */
  96. .step_hide {
  97. visibility: hidden;
  98. opacity: 0;
  99. width: 200px;
  100. }
  101. .step_show {
  102. visibility: visible;
  103. opacity: 1;
  104. width: 390px;
  105. }
  106. /* -------- styles of uploader --------- */
  107. .code-header {
  108. height: 45px;
  109. padding: 0px 6px;
  110. border-bottom: 1px solid #ddd;
  111. }
  112. .code-header>span.card-title {
  113. line-height: 3rem;
  114. font-size: 18px;
  115. font-weight: 200;
  116. }
  117. .select-wrapper input.select-dropdown {
  118. margin-bottom: 8px;
  119. border-bottom: 1.5px solid rgba(158, 158, 158, 0);
  120. height: 50px;
  121. width: 140px;
  122. white-space:nowrap;
  123. overflow:hidden;
  124. text-overflow:ellipsis;
  125. }
  126. .select-wrapper:hover input.select-dropdown:hover {
  127. border-bottom: 1.5px solid rgba(158, 158, 158, 0.8);
  128. }
  129. .header-link {
  130. float: right;
  131. line-height: 3rem;
  132. margin: 0 10px;
  133. }
  134. .header-link>img {
  135. width: 22px;
  136. height: 22px;
  137. transform: translateY(5px);
  138. }
  139. /* -------- styles of footer --------- */
  140. footer.page-footer {
  141. padding: 0;
  142. transition: background-color 0.5s;
  143. }
  144. /* -------- color change --------- */
  145. #nav_ {
  146. transition: background-color 0.5s;
  147. }
  148. .card-icon-area {
  149. transition: border-color 0.5s;
  150. }
  151. #icon-tool>li.active {
  152. transition: background-color 0.5s, border-color 0.5s;
  153. }
  154. /* -------- styles of error button --------- */
  155. #error-btn {
  156. width: 20px;
  157. height: 20px;
  158. float: right;
  159. cursor: pointer;
  160. margin-right: 8px;
  161. display: none;
  162. }
  163. #err-msg:focus {
  164. outline: none;
  165. background-color: rgba(86, 86, 86, 0.8);
  166. }
  167. /* -------- styles of tooltip & tooltip's icon --------- */
  168. .plugin_options {
  169. position: absolute;
  170. bottom: 200px;
  171. right: 24px;
  172. overflow: hidden;
  173. transition: all 0.5s ease-in-out;
  174. z-index: 2;
  175. }
  176. .options_hide {
  177. visibility: hidden;
  178. opacity: 0;
  179. height: 0;
  180. }
  181. .options_active {
  182. visibility: visible;
  183. opacity: 1;
  184. height: 49px;
  185. }
  186. .plugin_options a {
  187. color: rgb(150, 150, 150);
  188. font-size: 18px;
  189. font-weight: bold;
  190. margin-right: 10px;
  191. }
  192. .plugin_options .card-content {
  193. padding: 8px 12px;
  194. }
  195. .plugin_options .card-content>div {
  196. transform: translateY(-3px);
  197. }
  198. .plugin_options img {
  199. width: 25px;
  200. height: 25px;
  201. margin-right: 5px;
  202. transform: translateY(5px);
  203. }
  204. #Ardunio-main, #Serial-monitor {
  205. overflow: hidden;
  206. }
  207. #main_content>div>div:nth-child(2) {
  208. overflow: hidden;
  209. height: -moz-calc(100vh - 175px);
  210. /* Firefox */
  211. height: -webkit-calc(100vh - 175px);
  212. /* WebKit */
  213. height: -o-calc(100vh - 175px);
  214. /* Opera */
  215. height: calc(100vh - 175px);
  216. /* Standard */
  217. }
  218. /* -------- styles of uploader's buttons --------- */
  219. #uploader-btns a {
  220. padding: 0 0.5rem;
  221. }
  222. #uploader .row {
  223. margin-bottom: 2px;
  224. max-height: 43px;
  225. }
  226. #uploader input {
  227. margin-bottom: 2px;
  228. }
  229. /* -------- styles of Serial Monitor --------- */
  230. #Serial-monitor .card-content>div.row {
  231. padding: 0;
  232. margin-bottom: 2px;
  233. }
  234. #Serial-monitor a.btn {
  235. min-width: 60px;
  236. }
  237. .card-serialMonitor .select-wrapper input.select-dropdown {
  238. margin-bottom: 2px;
  239. border-bottom: 1.5px solid rgba(158, 158, 158, 0);
  240. /* height: 2rem;
  241. line-height: 2rem; */
  242. }
  243. #commsBox {
  244. height: -moz-calc(100vh - 400px);
  245. height: -webkit-calc(100vh - 400px);
  246. height: -o-calc(100vh - 400px);
  247. height: calc(100vh - 400px);
  248. background-color: rgba(248, 248, 250, 0.966);
  249. font-family: Consolas;
  250. padding: 6px;
  251. margin: 0px 0 10px 0;
  252. border: none;
  253. overflow-y: auto;
  254. resize: none;
  255. width: 100%;
  256. }
  257. #commsBox:focus {
  258. outline: none;
  259. }
  260. #commsBoxs {
  261. height: -moz-calc(100vh - 710px);
  262. height: -webkit-calc(100vh - 710px);
  263. height: -o-calc(100vh - 710px);
  264. height: calc(100vh - 710px);
  265. background-color: rgba(248, 248, 250, 0.966);
  266. font-family: Consolas;
  267. padding: 6px;
  268. margin: 8px 0 6px 0;
  269. border: none;
  270. overflow-y: auto;
  271. resize: none;
  272. width: 100%;
  273. }
  274. #commsBoxs:focus {
  275. outline: none;
  276. }
  277. /* -------- styles of Serial Monitor --------- */
  278. #icon-tool {
  279. margin-top: 6px;
  280. position: fixed;
  281. right: 6px;
  282. transform: translate(80%);
  283. transition: all 0.3s linear;
  284. }
  285. #icon-tool.hover {
  286. transform: translate(0);
  287. }
  288. #icon-tool>li {
  289. cursor: pointer;
  290. }
  291. #icon-tool>li:hover {
  292. background-color: rgba(0, 0, 0, 0.1);
  293. }
  294. #icon-tool>li.active {
  295. background-color: #3258cd;
  296. border-color: #3258cd;
  297. color: #fff;
  298. }
  299. #icon-tool>li:nth-child(4).active {
  300. background-color: rgba(0, 0, 0, 0.1);
  301. border-color: inherit;
  302. border-bottom-color: rgb(221, 221, 221);
  303. color: inherit;
  304. }
  305. #icon-tool>li:nth-child(6).active {
  306. background-color: rgba(0, 0, 0, 0.1);
  307. border-color: inherit;
  308. border-bottom-color: rgb(221, 221, 221);
  309. color: inherit;
  310. }
  311. #icon-tool>li:nth-child(7).active {
  312. background-color: rgba(0, 0, 0, 0.1);
  313. border-color: inherit;
  314. border-bottom-color: rgb(221, 221, 221);
  315. color: inherit;
  316. }
  317. #icon-tool>li.active.color-red {
  318. background-color: #e03021;
  319. border-color: #e03021;
  320. }
  321. #icon-tool>li:nth-child(4).active.color-red {
  322. background-color: rgba(0, 0, 0, 0.1);
  323. border-color: inherit;
  324. border-bottom-color: rgb(221, 221, 221);
  325. color: inherit;
  326. }
  327. #icon-tool>li:nth-child(6).active.color-red {
  328. background-color: rgba(0, 0, 0, 0.1);
  329. border-color: inherit;
  330. border-bottom-color: rgb(221, 221, 221);
  331. color: inherit;
  332. }
  333. #icon-tool>li:nth-child(7).active.color-red {
  334. background-color: rgba(0, 0, 0, 0.1);
  335. border-color: inherit;
  336. border-bottom-color: rgb(221, 221, 221);
  337. color: inherit;
  338. }
  339. #icon-tool>li>i {
  340. position: relative;
  341. left: 50%;
  342. top: 50%;
  343. transform: translate(-50%, -50%);
  344. }
  345. #side-lang-trigger {
  346. visibility: hidden;
  347. opacity: 0;
  348. position: fixed;
  349. top: 226px;
  350. right: 192px;
  351. }
  352. #side-storage-trigger {
  353. visibility: hidden;
  354. opacity: 0;
  355. position: fixed;
  356. top: 256px;
  357. right: 192px;
  358. }
  359. @media only screen and (min-width: 993px) {
  360. .row .col.l0 {
  361. width: 0%;
  362. margin-left: auto;
  363. left: auto;
  364. right: auto;
  365. display: none;
  366. }
  367. }
  368. @media only screen and (max-width: 993px) {
  369. #commsBox {
  370. height: -moz-calc(100vh - 260px);
  371. height: -webkit-calc(100vh - 260px);
  372. height: -o-calc(100vh - 260px);
  373. height: calc(100vh - 260px);
  374. }
  375. #commsBox {
  376. height: -moz-calc(100vh - 575px);
  377. height: -webkit-calc(100vh - 575px);
  378. height: -o-calc(100vh - 575px);
  379. height: calc(100vh - 575px);
  380. }
  381. }
  382. /* -------- styles of login modal --------- */
  383. #login_modal.modal {
  384. width: 350px;
  385. position: fixed;
  386. right: 50px;
  387. top: 62px;
  388. left: auto;
  389. background-color: #fafafa;
  390. padding: 0;
  391. max-height: 70%;
  392. margin: auto;
  393. overflow-y: auto;
  394. border-radius: 2px;
  395. will-change: top, opacity;
  396. }
  397. #login_modal .row {
  398. margin-left: auto;
  399. margin-right: auto;
  400. margin-bottom: 2px;
  401. }
  402. /* -------- styles of cloud file panel --------- */
  403. #cloud_storage_modal {
  404. width: 820px;
  405. height: 80%;
  406. max-height: 560px;
  407. overflow-y: hidden;
  408. }
  409. #cloud_fileListArea {
  410. min-height: 450px;
  411. height: 70%;
  412. max-height: 400px;
  413. overflow-y: auto;
  414. border: 1px solid #e8e8e9;
  415. background-color: rgba(255, 255, 255, 0);
  416. }
  417. #cloud_askLogin {
  418. padding-top: 15px;
  419. width: 350px;
  420. margin: auto;
  421. }
  422. .cloud-file {
  423. background-color: rgba(255, 255, 255, 0);
  424. }
  425. .cloud-file-selected {
  426. background-color: rgba(66, 165, 245, 0.3);
  427. border-color: #0e0e0f;
  428. border: 3px;
  429. height: 110px !important;
  430. padding: 10px;
  431. margin: 1px;
  432. }
  433. #new_create .card-content>div:nth-child(1) {
  434. height: 115px;
  435. }
  436. #new_create .cloud-new {
  437. left: 12%;
  438. top: -20px;
  439. font-size: 135px !important;
  440. color: #757575;
  441. cursor: pointer;
  442. position: relative;
  443. }
  444. #new_create span.cloud-new {
  445. position: absolute;
  446. top: 120px;
  447. left: 35%;
  448. font-size: 14px !important;
  449. }
  450. #new_create .cloud-new.disabled {
  451. pointer-events: none;
  452. -webkit-box-shadow: none;
  453. box-shadow: none;
  454. color: #CCC !important;
  455. cursor: default;
  456. }
  457. #new_create.active>div>div:nth-child(1) {
  458. display: none;
  459. }
  460. #new_create.active>div>div:nth-child(2) {
  461. display: block;
  462. }
  463. #new_create>div>div:nth-child(1) {
  464. display: block;
  465. }
  466. #new_create>div>div:nth-child(2) {
  467. display: none;
  468. }
  469. .cloud-btnPanel {
  470. position: relative;
  471. height: 30px;
  472. }
  473. .cloud-btn {
  474. font-size: 1.2rem;
  475. outline: 0;
  476. text-decoration: none;
  477. color: #fff;
  478. background-color: #64B5F6;
  479. text-align: center;
  480. letter-spacing: .5px;
  481. height: 30px;
  482. line-height: 30px;
  483. padding: 0 0.3rem;
  484. text-transform: uppercase;
  485. float: right;
  486. margin-right: 7px;
  487. border-radius: 5px;
  488. }
  489. #cloud_fileListArea .card {
  490. border-radius: 5px;
  491. }
  492. #cloud_fileListArea .card-image {
  493. border-radius: 5px;
  494. height: 50px;
  495. background: #454fb5;
  496. }
  497. #cloud_fileListArea .card-content {
  498. min-height: 100px
  499. }
  500. /* #cloud_fileListArea .card ul {
  501. display: none;
  502. }
  503. #cloud_fileListArea.cloud-file .card:hover ul {
  504. display: block;
  505. } */
  506. #cloud_fileListArea.locked .card ul {
  507. display: none;
  508. }
  509. #cloud_fileListArea .card:hover li {
  510. animation: btnmove 0.4s
  511. }
  512. #cloud_fileListArea ul {
  513. text-align: right;
  514. right: 10px;
  515. top: 30px;
  516. -webkit-transform: translateY(-50%);
  517. transform: translateY(-50%);
  518. height: 50px;
  519. width: 200px;
  520. position: absolute;
  521. z-index: 999;
  522. }
  523. #cloud_fileListArea li {
  524. display: inline-block;
  525. margin: 5px 5px 0 0;
  526. }
  527. #cloud_fileListArea li i {
  528. color: #fff;
  529. cursor: pointer;
  530. }
  531. #cloud_fileListArea .unblock {
  532. display: none
  533. }
  534. #cloud_fileListArea .cloud_file_state {
  535. position: absolute;
  536. bottom: -8px;
  537. right: -4px;
  538. z-index: 999;
  539. }
  540. #cloud_fileListArea .cloud_file_state>i {
  541. display: none;
  542. }
  543. #cloud_fileListArea .selected .card {
  544. /* border: 2px solid #ff8711; */
  545. border: 1px solid #ffc107;
  546. }
  547. #cloud_fileListArea .selected .cloud_file_state>i:nth-child(1) {
  548. display: block;
  549. color: #ffc107;
  550. font-size: 42px;
  551. }
  552. #cloud_fileListArea .selected .cloud-btnPanel>li:nth-child(2) {
  553. display: inline-block;
  554. }
  555. #cloud_fileListArea.locked .cloud_file_state>i:nth-child(1) {
  556. display: none
  557. }
  558. #cloud_fileListArea.locked .card {
  559. border: 0;
  560. }
  561. #cloud_fileListArea .cloudInfoPanel>span {
  562. margin-bottom: 4px;
  563. overflow: hidden;
  564. text-overflow: ellipsis;
  565. white-space: nowrap"
  566. }
  567. #cloud_fileListArea .cloudInfoPanel>p {
  568. font-size: 14px;
  569. font-weight: 300;
  570. margin-bottom: 8px;
  571. }
  572. /* -------- styles of cloud storage sketch_name --------- */
  573. #cloud_fileListArea .cloud_sketch_name {
  574. max-width: 400px;
  575. line-height: 64px;
  576. height: 3rem !important;
  577. font-size: 1.2rem !important;
  578. border-bottom: 1px solid #9e9e9e;
  579. font-style: italic;
  580. }
  581. .translatable_rename {
  582. font-size: 20px;
  583. position: absolute;
  584. top: 28%;
  585. }
  586. #cloud_fileListArea .cloud_sketch_name {
  587. margin: 8px 0 12px 0 !important;
  588. }
  589. /* -------- styles of nav tootip --------- */
  590. .nav_tooltip span {
  591. display: none;
  592. }
  593. .nav_tooltip:hover span, .nav_tooltip:focus span {
  594. display: block;
  595. position: absolute;
  596. top: 68px;
  597. left: 2px;
  598. border: 1px solid #2b2b2a;
  599. background-color: rgba(41, 41, 41, 0.87);
  600. color: rgb(255, 248, 248);
  601. width: 8em !important;
  602. line-height: 36px;
  603. height: 36px;
  604. padding: 0;
  605. margin: 0;
  606. }
  607. /* ------- Vertical Separator Line -------- */
  608. .vertical-separator {
  609. padding: 8px 6px 8px 6px;
  610. margin-left: 6px;
  611. border-left: 1px solid rgba(228, 228, 228, 0.87);
  612. font-size: 16px;
  613. }
  614. /* ------- iframe for login -------*/
  615. .iframe-login {
  616. position: fixed;
  617. width: 499px;
  618. height: 600px;
  619. left: 500px;
  620. top: 100px;
  621. z-index: 999;
  622. }
  623. /* ----preloader for login modal---- */
  624. #login_modal_preload.progress, #cloud_modal_preload.progress {
  625. position: relative;
  626. height: 4px;
  627. display: block;
  628. width: 100%;
  629. background-color: #acece6;
  630. border-radius: 2px;
  631. margin: 0.2rem 0 0.1rem 0;
  632. overflow: hidden;
  633. }
  634. #cloud_modal_preload {
  635. position: fixed;
  636. top: 0;
  637. left: 0;
  638. z-index: 1003;
  639. width: 100%;
  640. height: 100%;
  641. background-color: rgba(238, 238, 238, 0.8);
  642. }
  643. #cloud_modal_preload .preloader-wrapper {
  644. position: absolute;
  645. top: 30%;
  646. left: 45%;
  647. z-index: 1001;
  648. width: 100px;
  649. height: 100px;
  650. }
  651. /* ----nav help dropdown---- */
  652. .dropdown-content.active {
  653. background-color: #fff;
  654. margin: 0;
  655. display: none;
  656. min-width: 137px;
  657. max-height: 650px;
  658. overflow-y: auto;
  659. opacity: 0;
  660. position: absolute;
  661. z-index: 9999;
  662. /* will-change: width, height; */
  663. }
  664. /*-----gif tour section ----*/
  665. .slide-section {
  666. display: block;
  667. background: #eee;
  668. width: 850px;
  669. top: 15%;
  670. height: 540px;
  671. overflow: unset;
  672. max-height: 81%;
  673. /* border: 0.12rem solid #0f6eb1; */
  674. }
  675. .slide-content {
  676. width: 790px;
  677. height: 320px;
  678. position: relative;
  679. }
  680. .slide-element {
  681. max-width: 100%;
  682. max-height: 100%;
  683. margin: auto;
  684. position: absolute;
  685. top: 50%;
  686. left: 50%;
  687. transform: translate(-50%, -50%);
  688. }
  689. .slide-text {
  690. text-align: center;
  691. font-size: 20px;
  692. width: 770px;
  693. }
  694. .slick-prev:before, .slick-next:before {
  695. color: #8f8f92;
  696. font-size: 40px;
  697. }
  698. .slick-dots {
  699. bottom: 2px;
  700. }
  701. .slick-list {
  702. height: 100%;
  703. overflow-y: auto;
  704. }
  705. /* uploader reminder modal*/
  706. .modale {
  707. position: fixed;
  708. left: 0;
  709. right: 0;
  710. background-color: #fafafa;
  711. padding: 0;
  712. max-height: 70%;
  713. width: 510px !important;
  714. margin: auto;
  715. overflow-y: auto;
  716. border-radius: 5px;
  717. will-change: top, opacity;
  718. border-radius: 5px;
  719. }
  720. .modale .modal-content {
  721. padding: 24px;
  722. }
  723. .modale .modal-footer {
  724. border-radius: 0 0 2px 2px;
  725. background-color: #fafafa;
  726. padding: 4px 6px;
  727. width: 100%;
  728. text-align: right;
  729. margin-bottom: 10px;
  730. }
  731. .modale .h1, .modale .h2, .modale .h3, .modale .h4 {
  732. margin-top: 0;
  733. }
  734. nav ul a {
  735. font-size: 14px;
  736. padding: 0 10px;
  737. }
  738. .nav-icon {
  739. height: 30px;
  740. margin-top: 17px;
  741. margin-right: 5px;
  742. }
  743. .nav-icon2 {
  744. height: 27px;
  745. margin-top: 17px;
  746. margin-right: 5px;
  747. }
  748. .bar-icon {
  749. height: 20px;
  750. position: relative;
  751. left: 50%;
  752. top: 50%;
  753. transform: translate(-50%, -50%);
  754. }
  755. /* user modal */
  756. #account_alias {
  757. display: none;
  758. }
  759. #userProfile_alias {
  760. width: 250px;
  761. overflow: hidden;
  762. text-overflow: ellipsis;
  763. white-space: nowrap;
  764. }
  765. #userProfile_apikey .select-wrapper {
  766. display: inline-block;
  767. max-width: 150px;
  768. height: 30px;
  769. }
  770. #userProfile_apikey .caret {
  771. top: 10px;
  772. }
  773. #update_Coevent, #update_Coevent_web, #update_Coevent_voice {
  774. color: #2c4fcd;
  775. cursor: pointer;
  776. font-size: 18px;
  777. position: relative;
  778. top: 5px;
  779. }
  780. #before_login {
  781. overflow: hidden;
  782. }
  783. #after_login {
  784. padding: 24px 24px 6px 24px;
  785. /* overflow: hidden; */
  786. display: none;
  787. }
  788. #after_login>div {
  789. padding-bottom: 5px
  790. }
  791. #after_login>#userProfile_alias {
  792. font-size: 20px;
  793. font-weight: bold;
  794. padding-bottom: 10px;
  795. }
  796. #userProfile_apikey>div:nth-child(2)>a {
  797. color: #2c4fcd;
  798. cursor: pointer;
  799. float: right;
  800. }
  801. #userProfile_apikey>div:nth-child(2)>textarea {
  802. overflow: visible;
  803. resize: none;
  804. border-color: rgb(169, 169, 169);
  805. border-radius: 5px;
  806. height: auto;
  807. }
  808. #login_modal>.modal-footer {
  809. display: none;
  810. }
  811. #modal_cococloud_btn {
  812. float: left;
  813. margin-left: 15px;
  814. }
  815. #modal_logout_btn {
  816. float: right;
  817. margin-right: 15px;
  818. }
  819. #login_modal>.modal-footer>a>span {
  820. font-size: 15px;
  821. color: #fff;
  822. }
  823. /* Warning Modal */
  824. #gen_warn_image {
  825. display: block;
  826. height: 128px;
  827. position: relative;
  828. left: 50%;
  829. transform: translateX(-50%);
  830. }
  831. #gen_warn_title, #gen_warn_body {
  832. text-align: center;
  833. }
  834. #gen_warn_title {
  835. margin-bottom: 2rem;
  836. }
  837. #browserLink {
  838. display: inline-block;
  839. position: relative;
  840. left: 50%;
  841. transform: translateX(-50%);
  842. }
  843. #browserLink>a>img {
  844. height: 64px;
  845. }
  846. #gen_warn>.modal-footer {
  847. text-align: center;
  848. padding: 0 24px 24px 24px;
  849. }
  850. /* import-div */
  851. .shadow_container {
  852. position: relative;
  853. top: 10%;
  854. height: -moz-calc(100vh - 145px);
  855. /* Firefox */
  856. height: -webkit-calc(100vh - 145px);
  857. /* WebKit */
  858. height: -o-calc(100vh - 145px);
  859. /* Opera */
  860. height: calc(100vh - 145px);
  861. /* Standard */
  862. }
  863. .shadow_top {
  864. position: relative;
  865. transform: translate(-50%, -50%);
  866. width: 40%;
  867. max-width: 490px;
  868. border: dashed #fff;
  869. top: 50%;
  870. left: 50%;
  871. pointer-events: none;
  872. }
  873. .shadow_top>img {
  874. position: relative;
  875. width: 150px;
  876. transform: translateX(-50%);
  877. left: 50%;
  878. }
  879. .shadow_top>p {
  880. position: relative;
  881. margin: auto;
  882. font-size: 2rem;
  883. text-align: center;
  884. color: ghostwhite;
  885. padding-bottom: 20px;
  886. }
  887. /**
  888. * change toast color
  889. */
  890. /* .toast {
  891. background: #ec521c;
  892. color: #ffffff;
  893. font-size: 1.3rem;
  894. } */
  895. /* App Center */
  896. #app_center_modal {
  897. border-radius: 5px;
  898. width: 820px;
  899. height: 100%;
  900. max-height: 500px;
  901. overflow: hidden
  902. }
  903. #center_categories {
  904. border: 1px solid #dddddd;
  905. }
  906. #center_categories>a {
  907. font-weight: bold;
  908. }
  909. #center_categories>a.active {
  910. background-color: #2196F3 !important;
  911. color: white !important;
  912. border-radius: 2px;
  913. }
  914. #app_center_modal .card {
  915. border-radius: 10px;
  916. /* box-shadow: 4px 1px 10px #888888 */
  917. }
  918. #app_center_modal .card-image {
  919. border-radius: 10px 10px 4px 4px;
  920. }
  921. #app_center_modal .card .card-content {
  922. padding: 20px;
  923. }
  924. /* Env Detect Modal */
  925. #env_detect {
  926. border-radius: 0.8rem;
  927. max-height: 80%;
  928. max-width: 960px;
  929. }
  930. #detect_result>div {
  931. display: grid;
  932. grid-template-columns: 15% 30% 15% 40%;
  933. }
  934. #detect_before>div:first-child {
  935. position: relative;
  936. width: 270px;
  937. left: 53%;
  938. transform: translateX(-50%);
  939. }
  940. #detect_result>div>h5 {
  941. font-size: 1.45rem;
  942. color: #818181;
  943. place-self: center;
  944. margin: 0.82rem 0;
  945. text-align: center;
  946. }
  947. #detect_result>div>div {
  948. font-size: 1.2rem;
  949. place-self: center;
  950. margin: 0.656rem 0;
  951. padding: 0 0.3rem;
  952. text-align: center;
  953. }
  954. #detect_result .detect-icons {
  955. line-height: 0;
  956. }
  957. #env_detect .modal-footer {
  958. display: grid;
  959. grid-template-columns: repeat(3, calc(100%/3));
  960. grid-template-areas: '. detect .';
  961. margin: 12px 0;
  962. }
  963. #detect-btn {
  964. grid-area: detect;
  965. height: 88%;
  966. margin: 0;
  967. display: grid;
  968. }
  969. #detect-btn>span {
  970. font-size: 1.1rem;
  971. font-weight: 500;
  972. place-self: center;
  973. }
  974. #detect_preload {
  975. position: fixed;
  976. top: 0;
  977. left: 0;
  978. z-index: 999;
  979. width: 100%;
  980. height: 100%;
  981. background-color: rgba(238, 238, 238, 0.8);
  982. }
  983. .preloader-wrapper.big {
  984. width: 128px;
  985. height: 128px;
  986. }
  987. .spinner-blue, .spinner-blue-only {
  988. border-color: #0080e6;
  989. }
  990. .circle-clipper .circle {
  991. border-width: 8px;
  992. }
  993. /**
  994. * Teachable Machine modal
  995. */
  996. .TM_class {
  997. width: 95%;
  998. height: 80%;
  999. max-height: 100%;
  1000. overflow: hidden;
  1001. /* background:rgb(237, 237, 238); */
  1002. background: #fff;
  1003. }
  1004. .modal_custom.open {
  1005. top: 40% !important
  1006. }
  1007. .modal_custom {
  1008. top: -30% !important;
  1009. display: none
  1010. }
  1011. .AI_card_content {
  1012. border: 1.5px solid #4994ec;
  1013. border-radius: 5px;
  1014. color: #4994ec;
  1015. font-weight: 600;
  1016. font-size: 8px;
  1017. padding: 3px 7px;
  1018. margin-bottom: 10px;
  1019. }
  1020. .ac-card-title {
  1021. /* margin-top:10px */
  1022. }
  1023. .Img-filter {
  1024. filter: invert(100%);
  1025. }
  1026. #app_center_modal .tabs {
  1027. background-color: #fafafa
  1028. }
  1029. #app_center_modal .tabs-content {
  1030. width: 300px;
  1031. }
  1032. .tabs {
  1033. height: 30px;
  1034. margin-bottom: 20px
  1035. }
  1036. .tabs .tab {
  1037. line-height: 24px;
  1038. height: 24px;
  1039. }
  1040. .tabs .tab a, .tabs .tab a:hover, .tabs .tab a.active {
  1041. padding: 0 8px;
  1042. font-size: 13px;
  1043. background-color: transparent;
  1044. color: black;
  1045. }
  1046. .tabs .indicator {
  1047. background-color: #039be5;
  1048. height: 4px
  1049. }
  1050. #webcam_capture_modal {
  1051. width: 820px;
  1052. height: 100%;
  1053. max-height: 500px;
  1054. z-index: 9999;
  1055. }
  1056. #webCamPlaceholder {
  1057. border: 1px solid rgba(0, 0, 0, .075);
  1058. font-weight: regular;
  1059. color: rgba(0, 0, 0, .3);
  1060. height: 240px;
  1061. width: 320px;
  1062. text-align: center;
  1063. padding-top: 100px;
  1064. background-color: rgba(0, 0, 0, .02);
  1065. }
  1066. #SnapshotPlaceholder {
  1067. border: 1px solid rgba(0, 0, 0, .075);
  1068. font-weight: regular;
  1069. color: rgba(0, 0, 0, .3);
  1070. height: 240px;
  1071. width: 100%;
  1072. text-align: center;
  1073. padding-top: 100px;
  1074. background-color: rgba(0, 0, 0, .02);
  1075. }
  1076. #emotionResultsAll {
  1077. margin-left: 1.5%;
  1078. width: 97%;
  1079. margin-right: 1.5%;
  1080. text-align: left;
  1081. border-radius: 6px;
  1082. border: 1px solid rgba(0, 0, 0, .075);
  1083. padding: 15px;
  1084. background-color: rgba(0, 0, 0, .02);
  1085. margin-bottom: 15px;
  1086. margin-top: 10px;
  1087. }
  1088. #emotionResultsAll_property {
  1089. margin: 0;
  1090. padding: 1px 0;
  1091. }
  1092. .emotionResultsAll_single {
  1093. padding-left: 2px;
  1094. font-weight: 200;
  1095. color: rgba(0, 0, 0, .4);
  1096. }
  1097. #emotionOutput {
  1098. margin-top: -30px;
  1099. }
  1100. /* gesture modal css */
  1101. #webCameraGestureFrame {}
  1102. #webCameraGesture {}
  1103. .webCameraGestureStyling {
  1104. border: 1px solid #dddddd;
  1105. border-radius: 10px;
  1106. }
  1107. .webCameraGestureCapturedStyling {
  1108. border: 10px solid rgba(51, 95, 196, 1);
  1109. border-radius: 10px;
  1110. background-position: center;
  1111. text-align: center;
  1112. }
  1113. .webCameraGestureCapturedRestoreStyling {
  1114. border: 1px solid #dddddd;
  1115. border-radius: 10px;
  1116. }
  1117. #gestureAnalyzeButton {
  1118. margin-top: 15px;
  1119. }
  1120. #gestureResultAreaFrame {
  1121. margin-top: 25px;
  1122. }
  1123. .gestureResultAreaTitle {
  1124. font-size: 21px;
  1125. }
  1126. #gestureResultAreaContent {
  1127. border: 1px solid rgba(0, 0, 0, .1);
  1128. background-color: rgba(0, 0, 0, .025);
  1129. border-radius: 4px;
  1130. padding: 10px 14px;
  1131. font-size: 15px;
  1132. font-weight: 200;
  1133. font-style: italic;
  1134. color: rgba(0, 0, 0, 1);
  1135. }
  1136. #gesture_recog_modal {
  1137. width: 820px;
  1138. height: 100%;
  1139. max-height: 500px;
  1140. }
  1141. #gesture_webCamPlaceholder {
  1142. border: 1px solid rgba(0, 0, 0, .075);
  1143. font-weight: regular;
  1144. color: rgba(0, 0, 0, .3);
  1145. height: 240px;
  1146. width: 280px;
  1147. text-align: center;
  1148. padding-top: 100px;
  1149. background-color: rgba(0, 0, 0, .02);
  1150. border-radius: 10px;
  1151. }
  1152. /* end of gesture modal css */
  1153. #learn_board.dropdown-content.active {
  1154. width: 160px !important
  1155. }
  1156. #local_saveOrOpen.dropdown-content.fileEnglish.active {
  1157. width: 185px !important;
  1158. }
  1159. #local_connect_select.dropdown-content.fileEnglish.active {
  1160. width: 206px !important;
  1161. }
  1162. #voice_input_modal {
  1163. width: 820px;
  1164. height: 100%;
  1165. max-height: 500px;
  1166. }
  1167. #voice_input_modal textarea.disabled {
  1168. color: gray
  1169. }
  1170. #voice_input_modal .speech_language .select-wrapper {
  1171. border: 0.2px solid #ccc;
  1172. height: 42px;
  1173. }
  1174. #voice_input_modal .speech_language .caret {
  1175. padding-right: 5px;
  1176. }
  1177. #voice_input_modal .speech_language input.select-dropdown {
  1178. padding-left: 10px;
  1179. }
  1180. #speech_textarea {
  1181. margin-left: 1.5%;
  1182. max-width: 97%;
  1183. margin-right: 1.5%;
  1184. border: 1px solid rgba(0, 0, 0, .2);
  1185. cursor: default;
  1186. -webkit-user-select: none;
  1187. -webkit-touch-callout: none;
  1188. -khtml-user-select: none;
  1189. -moz-user-select: none;
  1190. -ms-user-select: none;
  1191. -o-user-select: none;
  1192. }
  1193. #speech_textarea:focus {
  1194. outline: none;
  1195. }
  1196. .object_modal {
  1197. position: absolute;
  1198. width: 100%;
  1199. height: 100%;
  1200. top: 0;
  1201. color: #fff;
  1202. background-color: rgba(0, 0, 0, .5);
  1203. text-align: center;
  1204. }
  1205. /* echarts 图表 */
  1206. .echartsMain {
  1207. width: 100%;
  1208. height: 100%;
  1209. margin: 0 auto;
  1210. }
  1211. #echartsMains {
  1212. position: absolute;
  1213. width: 100%;
  1214. height: 100%;
  1215. background: #ccc;
  1216. font-size: 20px;
  1217. top: 0;
  1218. }
  1219. #echartsMainSpan {
  1220. position: absolute;
  1221. top: 48%;
  1222. left: calc(50% - 80px);
  1223. }
  1224. /* 切换编辑按钮 */
  1225. .edit {
  1226. position: absolute;
  1227. width: 100%;
  1228. height: 99%;
  1229. background-color: rgba(0, 0, 0, 0);
  1230. top: 1px;
  1231. z-index: 980;
  1232. }
  1233. .editDiv {
  1234. margin: -5px 10px;
  1235. padding: 5px 0 0 5px;
  1236. background-color: #f1f1f1;
  1237. }
  1238. .editDiv span {
  1239. padding: 5px 10px;
  1240. line-height: 30px;
  1241. border-top-left-radius: 8px;
  1242. border-top-right-radius: 8px;
  1243. cursor: pointer;
  1244. }
  1245. /* 打印 可视化 */
  1246. .serial-active {
  1247. background-color: #fff;
  1248. }
  1249. #toggle-button {
  1250. display: none;
  1251. }
  1252. .button-label {
  1253. position: relative;
  1254. display: inline-block;
  1255. width: 40px;
  1256. height: 20px !important;
  1257. background-color: #ccc;
  1258. border: 1px solid #ccc;
  1259. border-radius: 30px;
  1260. cursor: pointer;
  1261. }
  1262. .circle {
  1263. position: absolute;
  1264. top: 0;
  1265. left: 0;
  1266. width: 18px;
  1267. height: 18px;
  1268. border-radius: 50%;
  1269. background-color: #fff;
  1270. }
  1271. .button-label .text {
  1272. line-height: 20px;
  1273. font-size: 12px;
  1274. /*
  1275. 用来阻止页面文字被选中,出现蓝色
  1276. 可以将下面两行代码注释掉来查看区别
  1277. */
  1278. -webkit-user-select: none;
  1279. user-select: none;
  1280. }
  1281. .on {
  1282. color: #fff;
  1283. display: none;
  1284. text-indent: 5px;
  1285. }
  1286. .off {
  1287. color: #fff;
  1288. display: inline-block;
  1289. text-indent: 23px;
  1290. }
  1291. .button-label .circle {
  1292. left: 0;
  1293. transition: all 0.3s;
  1294. /*transition过度,时间为0.3秒*/
  1295. }
  1296. /*
  1297. 以下是checked被选中后,紧跟checked标签后面label的样式。
  1298. 例如:div+p 选择所有紧接着<div>元素之后的<p>元素
  1299. */
  1300. #toggle-button:checked+label.button-label .circle {
  1301. left: 19px;
  1302. }
  1303. #toggle-button:checked+label.button-label .on {
  1304. display: inline-block;
  1305. }
  1306. #toggle-button:checked+label.button-label .off {
  1307. display: none;
  1308. }
  1309. #toggle-button:checked+label.button-label {
  1310. background-color: #2c4fcd;
  1311. }
  1312. .button-label::after {
  1313. display: none;
  1314. }
  1315. .button-label::before {
  1316. display: none;
  1317. }
  1318. /* labs 选择发送方式 */
  1319. .select_send_way span {
  1320. padding: 3px 6px;
  1321. border-radius: 10px;
  1322. cursor: pointer;
  1323. }
  1324. .select_send_way span.select_send_way_color {
  1325. background-color: #0080e6;
  1326. color: #fff
  1327. }
  1328. /* label */
  1329. .blocklyFlyoutLabelText {
  1330. font-size: 20px !important;
  1331. fill: rgb(0, 0, 0) !important;
  1332. }
  1333. .modal_close{
  1334. position: absolute;
  1335. top: 0;
  1336. right: 0;
  1337. cursor: pointer;
  1338. z-index: 10;
  1339. }
  1340. nav ul li {
  1341. -webkit-transition: none;
  1342. transition: none;
  1343. float: left;
  1344. padding: 0;
  1345. font-size: 14px;
  1346. }
  1347. #button_load span,#button_import_cloud span,#button_save span,#button_save_cloud span{
  1348. color: #222222;
  1349. font-family: "微软雅黑";
  1350. font-size: 14px;
  1351. }
  1352. #button_load:hover span,#button_import_cloud:hover span,#button_save:hover span,#button_save_cloud:hover span{
  1353. background-color: #fff;
  1354. color: #4A6AFF;
  1355. font-family: "微软雅黑";
  1356. font-size: 14px;
  1357. }
  1358. #plugin_download span,#button_upgrade_firmware span,#button_connection_type span{
  1359. color: #222222;
  1360. font-family: "微软雅黑";
  1361. font-size: 14px;
  1362. }
  1363. #local_help_ai span,#local_help_extends span,#local_help_error span {
  1364. color: #222222;
  1365. font-family: "微软雅黑";
  1366. font-size: 14px;
  1367. }
  1368. #plugin_download:hover span,#button_upgrade_firmware:hover span,#button_connection_type:hover span{
  1369. background-color: #fff;
  1370. color: #4A6AFF;
  1371. font-family: "微软雅黑";
  1372. font-size: 14px;
  1373. }
  1374. #local_help_ai:hover span,#local_help_extends:hover span,#local_help_error:hover span {
  1375. background-color: #fff;
  1376. color: #4A6AFF;
  1377. font-family: "微软雅黑";
  1378. font-size: 14px;
  1379. }
  1380. .sketch_name::-webkit-input-placeholder{
  1381. color:#CACACA;
  1382. }
  1383. .sketch_name::-moz-placeholder{ /* Mozilla Firefox 19+ */
  1384. color:#CACACA;
  1385. }
  1386. .sketch_name:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
  1387. color:#CACACA;
  1388. }
  1389. .sketch_name:-ms-input-placeholder{ /* Internet Explorer 10-11 */
  1390. color:#CACACA;
  1391. }
  1392. #EN span,#TC span,#CN span{
  1393. color: #222222;
  1394. font-family: "微软雅黑";
  1395. font-size: 14px;
  1396. }
  1397. #EN:hover span,#TC:hover span,#CN:hover span{
  1398. background-color: #fff;
  1399. color: #4A6AFF;
  1400. font-family: "微软雅黑";
  1401. font-size: 14px;
  1402. }