cocoblockly.css 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672
  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. }
  10. /* labs二层弹框 */
  11. .setting_left_all {
  12. width: 48%;
  13. background: #fff;
  14. padding: 15px;
  15. box-shadow: 1px 2px 3px #eeeeee;
  16. border-radius: 5px;
  17. }
  18. .setting_right_all {
  19. width: 48%;
  20. position: relative;
  21. padding: 0 15px 15px 15px;
  22. }
  23. .setting_border {
  24. background: #fff;
  25. border: 1px solid rgb(249, 249, 249);
  26. padding: 5px;
  27. box-shadow: 1px 2px 3px #eeeeee
  28. }
  29. .setting_border p {
  30. margin: 0;
  31. padding: 0;
  32. }
  33. .material-icons {
  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: -5px;
  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. width: 100px;
  562. }
  563. #cloud_fileListArea .cloudInfoPanel>p {
  564. font-size: 14px;
  565. font-weight: 300;
  566. margin-bottom: 8px;
  567. }
  568. /* -------- styles of cloud storage sketch_name --------- */
  569. #cloud_fileListArea .cloud_sketch_name {
  570. max-width: 400px;
  571. line-height: 64px;
  572. height: 3rem !important;
  573. font-size: 1.2rem !important;
  574. border-bottom: 1px solid #9e9e9e;
  575. font-style: italic;
  576. }
  577. .translatable_rename {
  578. font-size: 20px;
  579. position: absolute;
  580. top: 28%;
  581. }
  582. #cloud_fileListArea .cloud_sketch_name {
  583. margin: 8px 0 12px 0 !important;
  584. }
  585. /* -------- styles of nav tootip --------- */
  586. .nav_tooltip span {
  587. display: none;
  588. }
  589. .nav_tooltip:hover span, .nav_tooltip:focus span {
  590. display: block;
  591. position: absolute;
  592. top: 68px;
  593. left: 2px;
  594. border: 1px solid #2b2b2a;
  595. background-color: rgba(41, 41, 41, 0.87);
  596. color: rgb(255, 248, 248);
  597. width: 8em !important;
  598. line-height: 36px;
  599. height: 36px;
  600. padding: 0;
  601. margin: 0;
  602. }
  603. /* ------- Vertical Separator Line -------- */
  604. .vertical-separator {
  605. padding: 8px 6px 8px 6px;
  606. margin-left: 6px;
  607. border-left: 1px solid rgba(228, 228, 228, 0.87);
  608. font-size: 16px;
  609. }
  610. /* ------- iframe for login -------*/
  611. .iframe-login {
  612. position: fixed;
  613. width: 499px;
  614. height: 600px;
  615. left: 500px;
  616. top: 100px;
  617. z-index: 999;
  618. }
  619. /* ----preloader for login modal---- */
  620. #login_modal_preload.progress, #cloud_modal_preload.progress {
  621. position: relative;
  622. height: 4px;
  623. display: block;
  624. width: 100%;
  625. background-color: #acece6;
  626. border-radius: 2px;
  627. margin: 0.2rem 0 0.1rem 0;
  628. overflow: hidden;
  629. }
  630. #cloud_modal_preload {
  631. position: fixed;
  632. top: 0;
  633. left: 0;
  634. z-index: 1003;
  635. width: 100%;
  636. height: 100%;
  637. background-color: rgba(238, 238, 238, 0.8);
  638. }
  639. #cloud_modal_preload .preloader-wrapper {
  640. position: absolute;
  641. top: 30%;
  642. left: 45%;
  643. z-index: 1001;
  644. width: 100px;
  645. height: 100px;
  646. }
  647. /* ----nav help dropdown---- */
  648. .dropdown-content.active {
  649. background-color: #fff;
  650. margin: 0;
  651. display: none;
  652. min-width: 120px;
  653. max-height: 650px;
  654. overflow-y: auto;
  655. opacity: 0;
  656. position: absolute;
  657. z-index: 9999;
  658. /* will-change: width, height; */
  659. }
  660. /*-----gif tour section ----*/
  661. .slide-section {
  662. display: block;
  663. background: #eee;
  664. width: 850px;
  665. top: 15%;
  666. height: 540px;
  667. overflow: unset;
  668. max-height: 81%;
  669. /* border: 0.12rem solid #0f6eb1; */
  670. }
  671. .slide-content {
  672. width: 790px;
  673. height: 320px;
  674. position: relative;
  675. }
  676. .slide-element {
  677. max-width: 100%;
  678. max-height: 100%;
  679. margin: auto;
  680. position: absolute;
  681. top: 50%;
  682. left: 50%;
  683. transform: translate(-50%, -50%);
  684. }
  685. .slide-text {
  686. text-align: center;
  687. font-size: 20px;
  688. width: 770px;
  689. }
  690. .slick-prev:before, .slick-next:before {
  691. color: #8f8f92;
  692. font-size: 40px;
  693. }
  694. .slick-dots {
  695. bottom: 2px;
  696. }
  697. .slick-list {
  698. height: 100%;
  699. overflow-y: auto;
  700. }
  701. /* uploader reminder modal*/
  702. .modale {
  703. position: fixed;
  704. left: 0;
  705. right: 0;
  706. background-color: #fafafa;
  707. padding: 0;
  708. max-height: 70%;
  709. width: 510px !important;
  710. margin: auto;
  711. overflow-y: auto;
  712. border-radius: 5px;
  713. will-change: top, opacity;
  714. border-radius: 5px;
  715. }
  716. .modale .modal-content {
  717. padding: 24px;
  718. }
  719. .modale .modal-footer {
  720. border-radius: 0 0 2px 2px;
  721. background-color: #fafafa;
  722. padding: 4px 6px;
  723. width: 100%;
  724. text-align: right;
  725. margin-bottom: 10px;
  726. }
  727. .modale .h1, .modale .h2, .modale .h3, .modale .h4 {
  728. margin-top: 0;
  729. }
  730. nav ul a {
  731. font-size: 0.9rem;
  732. padding: 0 10px;
  733. }
  734. .nav-icon {
  735. height: 30px;
  736. margin-top: 17px;
  737. margin-right: 5px;
  738. }
  739. .nav-icon2 {
  740. height: 27px;
  741. margin-top: 17px;
  742. margin-right: 5px;
  743. }
  744. .bar-icon {
  745. height: 20px;
  746. position: relative;
  747. left: 50%;
  748. top: 50%;
  749. transform: translate(-50%, -50%);
  750. }
  751. /* user modal */
  752. #account_alias {
  753. display: none;
  754. }
  755. #userProfile_alias {
  756. width: 250px;
  757. overflow: hidden;
  758. text-overflow: ellipsis;
  759. white-space: nowrap;
  760. }
  761. #userProfile_apikey .select-wrapper {
  762. display: inline-block;
  763. max-width: 150px;
  764. height: 30px;
  765. }
  766. #userProfile_apikey .caret {
  767. top: 10px;
  768. }
  769. #update_Coevent, #update_Coevent_web, #update_Coevent_voice {
  770. color: #2c4fcd;
  771. cursor: pointer;
  772. font-size: 18px;
  773. position: relative;
  774. top: 5px;
  775. }
  776. #before_login {
  777. overflow: hidden;
  778. }
  779. #after_login {
  780. padding: 24px 24px 6px 24px;
  781. /* overflow: hidden; */
  782. display: none;
  783. }
  784. #after_login>div {
  785. padding-bottom: 5px
  786. }
  787. #after_login>#userProfile_alias {
  788. font-size: 20px;
  789. font-weight: bold;
  790. padding-bottom: 10px;
  791. }
  792. #userProfile_apikey>div:nth-child(2)>a {
  793. color: #2c4fcd;
  794. cursor: pointer;
  795. float: right;
  796. }
  797. #userProfile_apikey>div:nth-child(2)>textarea {
  798. overflow: visible;
  799. resize: none;
  800. border-color: rgb(169, 169, 169);
  801. border-radius: 5px;
  802. height: auto;
  803. }
  804. #login_modal>.modal-footer {
  805. display: none;
  806. }
  807. #modal_cococloud_btn {
  808. float: left;
  809. margin-left: 15px;
  810. }
  811. #modal_logout_btn {
  812. float: right;
  813. margin-right: 15px;
  814. }
  815. #login_modal>.modal-footer>a>span {
  816. font-size: 15px;
  817. color: #fff;
  818. }
  819. /* Warning Modal */
  820. #gen_warn_image {
  821. display: block;
  822. height: 128px;
  823. position: relative;
  824. left: 50%;
  825. transform: translateX(-50%);
  826. }
  827. #gen_warn_title, #gen_warn_body {
  828. text-align: center;
  829. }
  830. #gen_warn_title {
  831. margin-bottom: 2rem;
  832. }
  833. #browserLink {
  834. display: inline-block;
  835. position: relative;
  836. left: 50%;
  837. transform: translateX(-50%);
  838. }
  839. #browserLink>a>img {
  840. height: 64px;
  841. }
  842. #gen_warn>.modal-footer {
  843. text-align: center;
  844. padding: 0 24px 24px 24px;
  845. }
  846. /* import-div */
  847. .shadow_container {
  848. position: relative;
  849. top: 10%;
  850. height: -moz-calc(100vh - 145px);
  851. /* Firefox */
  852. height: -webkit-calc(100vh - 145px);
  853. /* WebKit */
  854. height: -o-calc(100vh - 145px);
  855. /* Opera */
  856. height: calc(100vh - 145px);
  857. /* Standard */
  858. }
  859. .shadow_top {
  860. position: relative;
  861. transform: translate(-50%, -50%);
  862. width: 40%;
  863. max-width: 490px;
  864. border: dashed #fff;
  865. top: 50%;
  866. left: 50%;
  867. pointer-events: none;
  868. }
  869. .shadow_top>img {
  870. position: relative;
  871. width: 150px;
  872. transform: translateX(-50%);
  873. left: 50%;
  874. }
  875. .shadow_top>p {
  876. position: relative;
  877. margin: auto;
  878. font-size: 2rem;
  879. text-align: center;
  880. color: ghostwhite;
  881. padding-bottom: 20px;
  882. }
  883. /**
  884. * change toast color
  885. */
  886. /* .toast {
  887. background: #ec521c;
  888. color: #ffffff;
  889. font-size: 1.3rem;
  890. } */
  891. /* App Center */
  892. #app_center_modal {
  893. border-radius: 5px;
  894. width: 820px;
  895. height: 100%;
  896. max-height: 500px;
  897. overflow: hidden
  898. }
  899. #center_categories {
  900. border: 1px solid #dddddd;
  901. }
  902. #center_categories>a {
  903. font-weight: bold;
  904. }
  905. #center_categories>a.active {
  906. background-color: #2196F3 !important;
  907. color: white !important;
  908. border-radius: 2px;
  909. }
  910. #app_center_modal .card {
  911. border-radius: 10px;
  912. /* box-shadow: 4px 1px 10px #888888 */
  913. }
  914. #app_center_modal .card-image {
  915. border-radius: 10px 10px 4px 4px;
  916. }
  917. #app_center_modal .card .card-content {
  918. padding: 20px;
  919. }
  920. /* Env Detect Modal */
  921. #env_detect {
  922. border-radius: 0.8rem;
  923. max-height: 80%;
  924. max-width: 960px;
  925. }
  926. #detect_result>div {
  927. display: grid;
  928. grid-template-columns: 15% 30% 15% 40%;
  929. }
  930. #detect_before>div:first-child {
  931. position: relative;
  932. width: 270px;
  933. left: 53%;
  934. transform: translateX(-50%);
  935. }
  936. #detect_result>div>h5 {
  937. font-size: 1.45rem;
  938. color: #818181;
  939. place-self: center;
  940. margin: 0.82rem 0;
  941. text-align: center;
  942. }
  943. #detect_result>div>div {
  944. font-size: 1.2rem;
  945. place-self: center;
  946. margin: 0.656rem 0;
  947. padding: 0 0.3rem;
  948. text-align: center;
  949. }
  950. #detect_result .detect-icons {
  951. line-height: 0;
  952. }
  953. #env_detect .modal-footer {
  954. display: grid;
  955. grid-template-columns: repeat(3, calc(100%/3));
  956. grid-template-areas: '. detect .';
  957. margin: 12px 0;
  958. }
  959. #detect-btn {
  960. grid-area: detect;
  961. height: 88%;
  962. margin: 0;
  963. display: grid;
  964. }
  965. #detect-btn>span {
  966. font-size: 1.1rem;
  967. font-weight: 500;
  968. place-self: center;
  969. }
  970. #detect_preload {
  971. position: fixed;
  972. top: 0;
  973. left: 0;
  974. z-index: 999;
  975. width: 100%;
  976. height: 100%;
  977. background-color: rgba(238, 238, 238, 0.8);
  978. }
  979. .preloader-wrapper.big {
  980. width: 128px;
  981. height: 128px;
  982. }
  983. .spinner-blue, .spinner-blue-only {
  984. border-color: #0080e6;
  985. }
  986. .circle-clipper .circle {
  987. border-width: 8px;
  988. }
  989. /**
  990. * Teachable Machine modal
  991. */
  992. .TM_class {
  993. width: 95%;
  994. height: 80%;
  995. max-height: 100%;
  996. overflow: hidden;
  997. /* background:rgb(237, 237, 238); */
  998. background: #fff;
  999. }
  1000. .TM_class1 {
  1001. width: 95%;
  1002. height: 75%;
  1003. max-height: 100%;
  1004. overflow: hidden;
  1005. /* background:rgb(237, 237, 238); */
  1006. background: #fff;
  1007. }
  1008. .modal_custom.open {
  1009. top: 40% !important
  1010. }
  1011. .modal_custom {
  1012. top: -30% !important;
  1013. display: none
  1014. }
  1015. .AI_card_content {
  1016. border: 1.5px solid #4994ec;
  1017. border-radius: 5px;
  1018. color: #4994ec;
  1019. font-weight: 600;
  1020. font-size: 8px;
  1021. padding: 3px 7px;
  1022. margin-bottom: 10px;
  1023. }
  1024. .ac-card-title {
  1025. /* margin-top:10px */
  1026. }
  1027. .Img-filter {
  1028. filter: invert(100%);
  1029. }
  1030. #app_center_modal .tabs {
  1031. background-color: #fafafa
  1032. }
  1033. #app_center_modal .tabs-content {
  1034. width: 300px;
  1035. }
  1036. .tabs {
  1037. height: 30px;
  1038. margin-bottom: 20px
  1039. }
  1040. .tabs .tab {
  1041. line-height: 24px;
  1042. height: 24px;
  1043. }
  1044. .tabs .tab a, .tabs .tab a:hover, .tabs .tab a.active {
  1045. padding: 0 8px;
  1046. font-size: 13px;
  1047. background-color: transparent;
  1048. color: black;
  1049. }
  1050. .tabs .indicator {
  1051. background-color: #039be5;
  1052. height: 4px
  1053. }
  1054. #webcam_capture_modal {
  1055. width: 820px;
  1056. height: 100%;
  1057. max-height: 650px;
  1058. z-index: 9999;
  1059. }
  1060. #webCamPlaceholder {
  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: 320px;
  1066. text-align: center;
  1067. padding-top: 100px;
  1068. background-color: rgba(0, 0, 0, .02);
  1069. }
  1070. #SnapshotPlaceholder {
  1071. border: 1px solid rgba(0, 0, 0, .075);
  1072. font-weight: regular;
  1073. color: rgba(0, 0, 0, .3);
  1074. height: 240px;
  1075. width: 100%;
  1076. text-align: center;
  1077. padding-top: 100px;
  1078. background-color: rgba(0, 0, 0, .02);
  1079. }
  1080. #emotionResultsAll {
  1081. margin-left: 1.5%;
  1082. width: 97%;
  1083. margin-right: 1.5%;
  1084. text-align: left;
  1085. border-radius: 6px;
  1086. border: 1px solid rgba(0, 0, 0, .075);
  1087. padding: 15px;
  1088. background-color: rgba(0, 0, 0, .02);
  1089. margin-bottom: 15px;
  1090. margin-top: 10px;
  1091. }
  1092. #emotionResultsAll_property {
  1093. margin: 0;
  1094. padding: 1px 0;
  1095. }
  1096. .emotionResultsAll_single {
  1097. padding-left: 2px;
  1098. font-weight: 200;
  1099. color: rgba(0, 0, 0, .4);
  1100. }
  1101. #emotionOutput {
  1102. margin-top: -30px;
  1103. }
  1104. /* gesture modal css */
  1105. #webCameraGestureFrame {}
  1106. #webCameraGesture {}
  1107. .webCameraGestureStyling {
  1108. border: 1px solid #dddddd;
  1109. border-radius: 10px;
  1110. }
  1111. .webCameraGestureCapturedStyling {
  1112. border: 10px solid rgba(51, 95, 196, 1);
  1113. border-radius: 10px;
  1114. background-position: center;
  1115. text-align: center;
  1116. }
  1117. .webCameraGestureCapturedRestoreStyling {
  1118. border: 1px solid #dddddd;
  1119. border-radius: 10px;
  1120. }
  1121. #gestureAnalyzeButton {
  1122. margin-top: 15px;
  1123. }
  1124. #gestureResultAreaFrame {
  1125. margin-top: 25px;
  1126. }
  1127. .gestureResultAreaTitle {
  1128. font-size: 21px;
  1129. }
  1130. #gestureResultAreaContent {
  1131. border: 1px solid rgba(0, 0, 0, .1);
  1132. background-color: rgba(0, 0, 0, .025);
  1133. border-radius: 4px;
  1134. padding: 10px 14px;
  1135. font-size: 15px;
  1136. font-weight: 200;
  1137. font-style: italic;
  1138. color: rgba(0, 0, 0, 1);
  1139. }
  1140. #gesture_recog_modal {
  1141. width: 820px;
  1142. height: 100%;
  1143. max-height: 595px;
  1144. }
  1145. #gesture_webCamPlaceholder {
  1146. border: 1px solid rgba(0, 0, 0, .075);
  1147. font-weight: regular;
  1148. color: rgba(0, 0, 0, .3);
  1149. height: 240px;
  1150. width: 280px;
  1151. text-align: center;
  1152. padding-top: 100px;
  1153. background-color: rgba(0, 0, 0, .02);
  1154. border-radius: 10px;
  1155. }
  1156. /* end of gesture modal css */
  1157. #learn_board.dropdown-content.active {
  1158. width: 160px !important
  1159. }
  1160. #voice_input_modal {
  1161. width: 820px;
  1162. height: 100%;
  1163. max-height: 595px;
  1164. }
  1165. #voice_input_modal textarea.disabled {
  1166. color: gray
  1167. }
  1168. #voice_input_modal .speech_language .select-wrapper {
  1169. border: 0.2px solid #ccc;
  1170. height: 42px;
  1171. }
  1172. #voice_input_modal .speech_language .caret {
  1173. padding-right: 5px;
  1174. }
  1175. #voice_input_modal .speech_language input.select-dropdown {
  1176. padding-left: 10px;
  1177. }
  1178. #speech_textarea {
  1179. margin-left: 1.5%;
  1180. max-width: 97%;
  1181. margin-right: 1.5%;
  1182. border: 1px solid rgba(0, 0, 0, .2);
  1183. cursor: default;
  1184. -webkit-user-select: none;
  1185. -webkit-touch-callout: none;
  1186. -khtml-user-select: none;
  1187. -moz-user-select: none;
  1188. -ms-user-select: none;
  1189. -o-user-select: none;
  1190. }
  1191. #speech_textarea:focus {
  1192. outline: none;
  1193. }
  1194. .object_modal {
  1195. position: absolute;
  1196. width: 100%;
  1197. height: 100%;
  1198. top: 0;
  1199. color: #fff;
  1200. background-color: rgba(0, 0, 0, .5);
  1201. text-align: center;
  1202. }
  1203. /* echarts 图表 */
  1204. .echartsMain {
  1205. width: 100%;
  1206. height: 100%;
  1207. margin: 0 auto;
  1208. }
  1209. #echartsMains {
  1210. position: absolute;
  1211. width: 100%;
  1212. height: 100%;
  1213. background: #ccc;
  1214. font-size: 20px;
  1215. top: 0;
  1216. }
  1217. #echartsMainSpan {
  1218. position: absolute;
  1219. top: 48%;
  1220. left: calc(50% - 80px);
  1221. }
  1222. /* 切换编辑按钮 */
  1223. .edit {
  1224. position: absolute;
  1225. width: 100%;
  1226. height: 99%;
  1227. background-color: rgba(0, 0, 0, 0);
  1228. top: 1px;
  1229. z-index: 2;
  1230. }
  1231. .editDiv {
  1232. /* margin: -5px 10px; */
  1233. /* padding: 5px 0 0 5px; */
  1234. background-color: #f1f1f1;
  1235. }
  1236. .editDiv span {
  1237. padding: 5px 10px;
  1238. line-height: 30px;
  1239. border-top-left-radius: 8px;
  1240. border-top-right-radius: 8px;
  1241. cursor: pointer;
  1242. }
  1243. /* 打印 可视化 */
  1244. .serial-active {
  1245. background-color: #fff;
  1246. }
  1247. #toggle-button {
  1248. display: none;
  1249. }
  1250. .button-label {
  1251. position: relative;
  1252. display: inline-block;
  1253. width: 40px;
  1254. height: 20px !important;
  1255. background-color: #ccc;
  1256. border: 1px solid #ccc;
  1257. border-radius: 30px;
  1258. cursor: pointer;
  1259. }
  1260. .circle {
  1261. position: absolute;
  1262. top: 0;
  1263. left: 0;
  1264. width: 18px;
  1265. height: 18px;
  1266. border-radius: 50%;
  1267. background-color: #fff;
  1268. }
  1269. .button-label .text {
  1270. line-height: 20px;
  1271. font-size: 12px;
  1272. /*
  1273. 用来阻止页面文字被选中,出现蓝色
  1274. 可以将下面两行代码注释掉来查看区别
  1275. */
  1276. -webkit-user-select: none;
  1277. user-select: none;
  1278. }
  1279. .on {
  1280. color: #fff;
  1281. display: none;
  1282. text-indent: 5px;
  1283. }
  1284. .off {
  1285. color: #fff;
  1286. display: inline-block;
  1287. text-indent: 23px;
  1288. }
  1289. .button-label .circle {
  1290. left: 0;
  1291. transition: all 0.3s;
  1292. /*transition过度,时间为0.3秒*/
  1293. }
  1294. /*
  1295. 以下是checked被选中后,紧跟checked标签后面label的样式。
  1296. 例如:div+p 选择所有紧接着<div>元素之后的<p>元素
  1297. */
  1298. #toggle-button:checked+label.button-label .circle {
  1299. left: 19px;
  1300. }
  1301. #toggle-button:checked+label.button-label .on {
  1302. display: inline-block;
  1303. }
  1304. #toggle-button:checked+label.button-label .off {
  1305. display: none;
  1306. }
  1307. #toggle-button:checked+label.button-label {
  1308. background-color: #2c4fcd;
  1309. }
  1310. #toggle-button1:checked+label.button-label .circle {
  1311. left: 19px;
  1312. }
  1313. #toggle-button1:checked+label.button-label .on {
  1314. display: inline-block;
  1315. }
  1316. #toggle-button1:checked+label.button-label .off {
  1317. display: none;
  1318. }
  1319. #toggle-button1:checked+label.button-label {
  1320. background-color: #2c4fcd;
  1321. }
  1322. .button-label::after {
  1323. display: none;
  1324. }
  1325. .button-label::before {
  1326. display: none;
  1327. }
  1328. /* labs 选择发送方式 */
  1329. .select_send_way span {
  1330. padding: 3px 6px;
  1331. border-radius: 10px;
  1332. cursor: pointer;
  1333. }
  1334. .select_send_way span.select_send_way_color {
  1335. background-color: #0080e6;
  1336. color: #fff
  1337. }
  1338. /* label */
  1339. .blocklyFlyoutLabelText {
  1340. font-size: 20px !important;
  1341. fill: rgb(0, 0, 0) !important;
  1342. }
  1343. .modal_close{
  1344. position: absolute;
  1345. top: 0;
  1346. right: 0;
  1347. cursor: pointer;
  1348. z-index: 10;
  1349. }
  1350. .loginbtn {
  1351. background-color: #2136f3;
  1352. border-radius: 10px;
  1353. color: white;
  1354. border: none;
  1355. height: 30px;
  1356. width: 102px;
  1357. }
  1358. .wetechUsername, .wetechPassword {
  1359. width: 30% !important;
  1360. line-height: 25px !important;
  1361. outline: none !important;
  1362. border: none !important;
  1363. border-bottom: 2px solid #000 !important;
  1364. padding-left: 8px !important;
  1365. }
  1366. .wetechUsername:active, .wetechPassword:active {
  1367. border: none !important;
  1368. border-bottom: 2px solid #000 !important;
  1369. padding-left: 8px !important;
  1370. }
  1371. .loginbtnDisabled {
  1372. background-color: #c8cbcf;
  1373. border-radius: 10px;
  1374. color: white;
  1375. border: none;
  1376. height: 30px;
  1377. width: 85px;
  1378. }
  1379. .WeTech_Modal {
  1380. width: 75%;
  1381. }
  1382. .border{
  1383. border: 1px solid #aaa;
  1384. border-radius: 10px;
  1385. padding: 0 10px;
  1386. }