cocoblockly.css 30 KB

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