cocoblockly.css 29 KB

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