cocoblockly.css 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676
  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: 9999;
  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: 14px;
  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. font-size: 14px;
  1354. }
  1355. #local_help_ai span,#local_help_extends span,#local_help_error span {
  1356. color: #222222;
  1357. font-family: "微软雅黑";
  1358. }
  1359. #plugin_download:hover span,#button_upgrade_firmware:hover span,#button_connection_type:hover span{
  1360. background-color: #fff;
  1361. color: #4A6AFF;
  1362. font-family: "微软雅黑";
  1363. }
  1364. #local_help_ai:hover span,#local_help_extends:hover span,#local_help_error:hover span {
  1365. background-color: #fff;
  1366. color: #4A6AFF;
  1367. font-family: "微软雅黑";
  1368. }
  1369. .sketch_name::-webkit-input-placeholder{
  1370. color:#CACACA;
  1371. }
  1372. .sketch_name::-moz-placeholder{ /* Mozilla Firefox 19+ */
  1373. color:#CACACA;
  1374. }
  1375. .sketch_name:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
  1376. color:#CACACA;
  1377. }
  1378. .sketch_name:-ms-input-placeholder{ /* Internet Explorer 10-11 */
  1379. color:#CACACA;
  1380. }
  1381. #EN span,#TC span,#CN span{
  1382. color: #222222;
  1383. font-family: "微软雅黑";
  1384. }
  1385. #EN:hover span,#TC:hover span,#CN:hover span{
  1386. background-color: #fff;
  1387. color: #4A6AFF;
  1388. font-family: "微软雅黑";
  1389. }