cocoblockly.css 29 KB

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