blockpy.css 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015
  1. @font-face {
  2. font-family: "GT Walsheim Pro Trial";
  3. src: url("../fonts/gt/GT-Walsheim-Pro-Trial-Regular.otf") format("opentype");
  4. }
  5. @font-face {
  6. font-family: "GT Walsheim Pro Trial Bold";
  7. src: url("../fonts/gt/GT-Walsheim-Pro-Trial-Bold.otf") format("opentype");
  8. }
  9. @font-face {
  10. font-family: 'Material Icons';
  11. font-style: normal;
  12. font-weight: 400;
  13. src: url(MaterialIcons-Regular.eot);
  14. src: local('Material Icons'), local('MaterialIcons-Regular'), url(../fonts/material-design-icons/MaterialIcons-Regular.woff2) format('woff2'),
  15. url(../fonts/material-design-icons/MaterialIcons-Regular.woff) format('woff'),
  16. url(../fonts/material-design-icons/MaterialIcons-Regular.ttf) format('truetype');
  17. }
  18. .material-icons {
  19. font-family: 'Material Icons';
  20. font-weight: normal;
  21. font-style: normal;
  22. font-size: 24px;
  23. /* Preferred icon size */
  24. display: inline-block;
  25. line-height: 1;
  26. text-transform: none;
  27. letter-spacing: normal;
  28. word-wrap: normal;
  29. white-space: nowrap;
  30. direction: ltr;
  31. /* Support for all WebKit browsers. */
  32. -webkit-font-smoothing: antialiased;
  33. /* Support for Safari and Chrome. */
  34. text-rendering: optimizeLegibility;
  35. /* Support for Firefox. */
  36. -moz-osx-font-smoothing: grayscale;
  37. /* Support for IE. */
  38. font-feature-settings: 'liga';
  39. }
  40. @media only screen and (min-width: 1380px) {
  41. #blockpy-container,
  42. #header > div,
  43. #footer > div,
  44. #blockpy-div {
  45. width: 100%;
  46. /*padding: 0 1.5rem;*/
  47. }
  48. #blockpy-content {
  49. display: grid;
  50. /*padding-top: 32px;*/
  51. grid-template-columns: 66.6667% 33.3333%;
  52. }
  53. #blockpy-content > div:first-child {
  54. }
  55. #blockpy-content > div:last-child {
  56. }
  57. }
  58. @media only screen and (min-width: 1075px) and (max-width: 1379px) {
  59. #blockpy-container,
  60. #header > div,
  61. #footer > div,
  62. #blockpy-div {
  63. width: 100%;
  64. }
  65. #blockpy-content {
  66. display: grid;
  67. grid-template-columns: 66.6667% 33.3333%;
  68. }
  69. #blockpy-content > div:first-child {
  70. }
  71. #blockpy-content > div:last-child {
  72. }
  73. }
  74. @media only screen and (min-width: 601px) and (max-width: 1074px) {
  75. #blockpy-container,
  76. #header > div,
  77. #footer > div,
  78. #blockpy-div {
  79. width: 100%;
  80. }
  81. #blockpy-content {
  82. display: grid;
  83. /*grid-template-columns: 100%;*/
  84. grid-template-columns: 66.6667% 33.3333%;
  85. grid-template-rows: auto;
  86. }
  87. #blockpy-content > div:first-child {
  88. }
  89. #blockpy-content > div:last-child {
  90. }
  91. #main_content{
  92. width: 100%;
  93. }
  94. }
  95. @media only screen and (min-width: 0px) and (max-width: 992px) {
  96. #header > div {
  97. grid-template-columns: max-content !important;
  98. justify-content: center;
  99. }
  100. #nav {
  101. display: none;
  102. }
  103. }
  104. @media only screen and (min-width: 0px) and (max-width: 600px) {
  105. #blockpy-container,
  106. #header > div,
  107. #footer > div,
  108. #blockpy-div {
  109. width: 100%;
  110. }
  111. #blockpy-content {
  112. display: grid;
  113. padding-bottom: 12px;
  114. grid-template-columns: 100%;
  115. grid-template-rows: auto;
  116. }
  117. #blockpy-content > div:first-child {
  118. padding-bottom: 0.25rem;
  119. }
  120. #blockpy-content > div:last-child {
  121. }
  122. #logo > span:first-child {
  123. display: none;
  124. }
  125. #footer > div {
  126. grid-template-columns: max-content !important;
  127. justify-content: center;
  128. }
  129. #footer > div > div:last-child {
  130. display: none;
  131. }
  132. }
  133. html {
  134. font-family: Nunito, sans-serif;
  135. font-weight: normal;
  136. color: rgba(0, 0, 0, 0.87);
  137. min-width: 370px;
  138. }
  139. html.fullscreenMode {
  140. overflow: hidden;
  141. }
  142. body {
  143. margin: 0;
  144. background-color: #eeeeee;
  145. }
  146. .hidden {
  147. display: none;
  148. }
  149. #white-box {
  150. position: fixed;
  151. top: 0;
  152. left: 0;
  153. height: 100vh;
  154. width: 100vw;
  155. background-color: #fff;
  156. z-index: 1000;
  157. }
  158. #preloader {
  159. width: max-content;
  160. margin: auto;
  161. position: relative;
  162. top: 50%;
  163. transform: translateY(-50%);
  164. }
  165. #container {
  166. width: 100%;
  167. height: 100%;
  168. display: grid;
  169. grid-template-rows: 64px auto;
  170. }
  171. #container,
  172. #container * {
  173. box-sizing: border-box;
  174. }
  175. #header {
  176. background-color: #2c4fcd;
  177. color: #ffffff;
  178. }
  179. #header > div {
  180. margin: 0 auto;
  181. height: 100%;
  182. display: grid;
  183. grid-template-columns: max-content auto;
  184. }
  185. #logo {
  186. align-self: center;
  187. }
  188. #logo > i {
  189. display: inline;
  190. }
  191. #logo > span:first-child {
  192. font-size: 28px;
  193. font-weight: 400;
  194. font-family: 'GT Walsheim Pro Trial Bold';
  195. }
  196. #delete-all, #screenshot {
  197. cursor: pointer;
  198. }
  199. .vertical-separator {
  200. padding: 8px 3px 8px 3px;
  201. margin-left: 6px;
  202. border-left: 1px solid rgba(228, 228, 228, 0.87);
  203. font-size: 16px;
  204. }
  205. #nav {
  206. align-self: center;
  207. }
  208. /*
  209. .nav-icon {
  210. display: block;
  211. height: 30px;
  212. transform: translateY(50%);
  213. margin-right: 5px;
  214. }
  215. */
  216. .arduino_teal {
  217. background-color: #2c4fcd;
  218. }
  219. #sketch_name {
  220. width: auto;
  221. height: auto;
  222. line-height: 32px;
  223. font-size: 1.2rem;
  224. border-bottom: 0px solid #EEE;
  225. color: #fff;
  226. font-style: italic;
  227. margin-left: 30px;
  228. margin-bottom: 0;
  229. }
  230. #sketch_name:focus {
  231. border: none;
  232. border-bottom: 1px solid #eee;
  233. }
  234. #footer {
  235. background-color: #2c4fcd;
  236. }
  237. #footer > div {
  238. margin: 0 auto;
  239. height: 100%;
  240. display: grid;
  241. grid-template-columns: max-content auto;
  242. color: #fff;
  243. }
  244. #footer > div > div {
  245. align-self: center;
  246. }
  247. #footer > div > div:first-child {
  248. justify-self: start;
  249. }
  250. #footer > div > div:last-child {
  251. justify-self: end;
  252. }
  253. #blockpy-div {
  254. margin: 0 auto;
  255. }
  256. #blockpy-div > div:first-child {
  257. height:100%;
  258. }
  259. #blockpy-content > div {
  260. height: calc(100vh - 64px);
  261. }
  262. #blockpy-content > div:first-child {
  263. /*margin-top: 0.5rem;*/
  264. }
  265. #blockpy-content > div:last-child {
  266. display: grid;
  267. grid-template-rows: 40% 60%;
  268. }
  269. #blockpy-content > div:last-child > div {
  270. display: grid;
  271. grid-template-rows: 45px 1fr;
  272. }
  273. #blockpy-content > div:last-child > div:first-child {
  274. }
  275. #blockpy-content .card-panel {
  276. margin: 0;
  277. padding: 0;
  278. }
  279. #blockpy-content > div:first-child > div:first-child {
  280. position: relative;
  281. }
  282. .fullscreen {
  283. position: fixed !important;
  284. /* top: 75px; */
  285. left: 0;
  286. margin: 0 !important;
  287. padding: 0 !important;
  288. height: calc(100vh - 75px) !important;
  289. width: 100% !important;
  290. z-index: 1000;
  291. }
  292. img.fullscreenIcon {
  293. z-index: 1;
  294. width: 36px;
  295. cursor: pointer;
  296. }
  297. #blockpy-content > .blockpy-editor img.fullscreenIcon {
  298. position: absolute;
  299. top: 6px;
  300. right: 6px;
  301. }
  302. .card-header {
  303. padding: 0px 6px;
  304. border-bottom: 1px solid #ddd;
  305. }
  306. .card-header > img.fullscreenIcon {
  307. float: right;
  308. height: 100%;
  309. }
  310. @media screen and (max-width: 1025px) {
  311. .card-header span.header-text {
  312. margin-left: 0 !important;
  313. }
  314. }
  315. .card-header > span.header-icon {
  316. width: 3rem;
  317. font-size: 1.6rem;
  318. line-height: 3rem;
  319. font-weight: bold;
  320. float: left;
  321. text-align: center;
  322. margin-right: 1rem;
  323. }
  324. .card-header > span.header-text {
  325. font-size: 15px;
  326. line-height: 40px;
  327. /* font-weight: 200; */
  328. }
  329. .card-content {
  330. overflow-y: auto;
  331. }
  332. #icon-tool {
  333. position: fixed;
  334. top: 110px;
  335. right: 6px;
  336. transform: translate(80%);
  337. transition: all 0.3s linear;
  338. border-right: 1px solid #ddd;
  339. border-left: 6px solid #3258cd;
  340. background-color: #fff;
  341. margin: 0;
  342. width: 45px;
  343. z-index: 999;
  344. overflow: hidden;
  345. }
  346. #icon-tool:hover {
  347. transform: translate(0);
  348. }
  349. #icon-tool > li {
  350. cursor: pointer;
  351. width: 40px;
  352. height: 40px;
  353. }
  354. #icon-tool > li:hover {
  355. background-color: rgba(0, 0, 0, 0.1);
  356. }
  357. #icon-tool > li.active {
  358. transition: background-color 0.5s, border-color 0.5s;
  359. background-color: #3258cd;
  360. border-color: #3258cd;
  361. color: #fff;
  362. }
  363. #icon-tool > li > * {
  364. position: relative;
  365. transform: translate(-50%, -50%);
  366. }
  367. #side-lang-trigger {
  368. position: fixed;
  369. top: 200px;
  370. right: 170px;
  371. z-index: 999;
  372. }
  373. #side-file-trigger {
  374. position: fixed;
  375. top: 160px;
  376. right: 170px;
  377. z-index: 999;
  378. }
  379. .blocklyWidgetDiv .goog-menu {
  380. position: fixed !important;
  381. }
  382. .blocklyToolboxDiv {
  383. border-color: #fcfcfc !important;
  384. border-width: 0px 1px 0px 0px !important;
  385. -webkit-border-radius: 0px 4px 4px 0px !important;
  386. -moz-border-radius: 4px 4px 0px 0px !important;
  387. border-radius: 0px 4px 4px 0px !important;
  388. border: none !important;
  389. margin: 0px !important;
  390. padding: 0px 0px 0px 0px !important;
  391. background: rgba(236, 241, 247, 0.8) !important;
  392. }
  393. .blocklyFlyoutBackground {
  394. fill: #d0f0ffbf !important;
  395. fill-opacity: 0.9 !important;
  396. -webkit-border-radius: 0px 4px 4px 0px !important;
  397. -moz-border-radius: 0px 4px 4px 0px !important;
  398. border-radius: 0px 4px 4px 0px !important;
  399. }
  400. .blocklyHtmlInput {
  401. border: none !important;
  402. border-radius: 4px !important;
  403. font-family: sans-serif !important;
  404. height: 100% !important;
  405. margin: 0 !important;
  406. outline: none !important;
  407. padding: 0 1px !important;
  408. width: 100% !important;
  409. background-color: white !important;
  410. }
  411. .blocklyTreeRoot > div:nth-child(2) > div {
  412. border-bottom: 1px solid #eaeaea;
  413. }
  414. .blocklyTreeRoot > div:nth-child(2) > div > div:nth-child(1) {
  415. height: 40px;
  416. line-height: 40px;
  417. margin-bottom: 0px;
  418. }
  419. .blocklyTreeRoot {
  420. background: none !important;
  421. border: none !important;
  422. /*margin: 36px 0px 0px 0px !important;*/
  423. margin: 0px 0px 0px 0px !important;
  424. padding: 0px 1px !important;
  425. height: 100%;
  426. /* Standard */
  427. overflow-x: hidden;
  428. overflow-y: auto;
  429. }
  430. .blocklyTreeRow{
  431. height: 40px;
  432. line-height: 40px;
  433. }
  434. /* ----------------------------- */
  435. .blockpy-explorer {
  436. height: 100%;
  437. }
  438. .blockpy-explorer table {
  439. width: 100%;
  440. text-align: center;
  441. }
  442. .blockpy-explorer-errors {
  443. text-align: left;
  444. }
  445. .blockpy-upload {
  446. border: 1px solid lightgray;
  447. }
  448. .blockpy-printer {
  449. height: 265px;
  450. overflow: auto;
  451. resize: vertical;
  452. }
  453. .blockpy-printer-default {
  454. background-color: white;
  455. }
  456. .blockpy-printer-inverse {
  457. background-color: black;
  458. border: 1px solid darkgray;
  459. color: white;
  460. }
  461. .blockpy-printer .blockpy-printer-output {
  462. display: block;
  463. padding-left: 10px;
  464. border-bottom: 1px dashed lightgray;
  465. }
  466. .blockpy-printer .blockpy-printer-output samp {
  467. white-space: pre;
  468. }
  469. .blockpy-bottom {
  470. height: 25%;
  471. }
  472. .blockpy-header {
  473. height: 25%;
  474. }
  475. .editor-active-line {
  476. background: #c4fbc4 !important;
  477. color: #8a1f11 !important;
  478. }
  479. .CodeMirror-gutters {
  480. background-color: #ddd;
  481. border-left: 1px solid #bbb;
  482. }
  483. .editor-error-line {
  484. background: #fbc4c4 !important;
  485. color: #8a1f11 !important;
  486. }
  487. .note-editable {
  488. background-color: white;
  489. }
  490. .label-internal-error {
  491. background-color: black;
  492. }
  493. .label-syntax-error {
  494. background-color: darkred;
  495. }
  496. .label-runtime-error {
  497. background-color: #d9534f;
  498. }
  499. .label-semantic-error {
  500. background-color: orangered;
  501. }
  502. .label-feedback-error {
  503. background-color: #f0ad4e;
  504. }
  505. .label-problem-complete {
  506. background-color: #5cb85c;
  507. }
  508. .label-none {
  509. background-color: rgba(0, 0, 0, 0);
  510. }
  511. .label-no-errors {
  512. background-color: #5bc0de;
  513. }
  514. .blockpy-feedback-traces table {
  515. background: white;
  516. width: 100%;
  517. }
  518. .CodeMirror-code div pre {
  519. border-bottom: 1px dashed rgba(1, 1, 1, 0.1);
  520. }
  521. .blockpy-read-only .CodeMirror-scroll {
  522. background-color: #e5e5e5;
  523. }
  524. .blockpy-overlay {
  525. position: fixed;
  526. top: 0;
  527. left: 0;
  528. width: 100%;
  529. height: 100%;
  530. background-color: #000;
  531. filter: alpha(opacity=50);
  532. -moz-opacity: 0.5;
  533. -khtml-opacity: 0.5;
  534. opacity: 0.5;
  535. z-index: 10000;
  536. }
  537. .blockpy-feedback-original {
  538. white-space: pre-wrap;
  539. }
  540. @font-face {
  541. font-family: 'Material Icons';
  542. font-style: normal;
  543. font-weight: 400;
  544. src: url(MaterialIcons-Regular.eot);
  545. /* For IE6-8 */
  546. 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');
  547. }
  548. .material-icons {
  549. font-family: 'Material Icons';
  550. font-weight: normal;
  551. font-style: normal;
  552. font-size: 24px;
  553. /* Preferred icon size */
  554. display: inline-block;
  555. line-height: 1;
  556. text-transform: none;
  557. letter-spacing: normal;
  558. word-wrap: normal;
  559. white-space: nowrap;
  560. direction: ltr;
  561. /* Support for all WebKit browsers. */
  562. -webkit-font-smoothing: antialiased;
  563. /* Support for Safari and Chrome. */
  564. text-rendering: optimizeLegibility;
  565. /* Support for Firefox. */
  566. -moz-osx-font-smoothing: grayscale;
  567. /* Support for IE. */
  568. font-feature-settings: 'liga';
  569. }
  570. /* toolbox indicator */
  571. #:l {
  572. border-left: 10px solid #4c97ff;
  573. display: inline-block;
  574. }
  575. /* -------- styles of shadowbox -------- */
  576. .shadowbox {
  577. background-color: rgba(0, 0, 0, 0.6);
  578. position: fixed;
  579. width: 100%;
  580. height: 100%;
  581. }
  582. .nav-fixed>.shadowbox {
  583. z-index: 2;
  584. }
  585. body>.shadowbox {
  586. top: 0px;
  587. z-index: 1000;
  588. }
  589. .collapsible-body>.shadowbox {
  590. position: absolute;
  591. z-index: 2;
  592. }
  593. .collapsible-body>.blue-dark {
  594. background-color: rgba(14, 6, 65, 0.8);
  595. }
  596. /* -------- tour card --------- */
  597. .tourCards {
  598. position: fixed;
  599. z-index: 1002;
  600. transition: all 0.5s ease-in-out;
  601. overflow: hidden;
  602. }
  603. .tourCards>* {
  604. width: 390px;
  605. }
  606. .item_highlight {
  607. position: relative;
  608. z-index: 1001;
  609. }
  610. /* -------- styles of card display or hide-------- */
  611. .step_hide {
  612. visibility: hidden;
  613. opacity: 0;
  614. width: 200px;
  615. }
  616. .step_show {
  617. visibility: visible;
  618. opacity: 1;
  619. width: 390px;
  620. }
  621. /* -------- styles of uploader --------- */
  622. .code-header {
  623. height: 45px;
  624. padding: 0px 6px;
  625. border-bottom: 1px solid #ddd;
  626. }
  627. .code-header>span.card-title {
  628. line-height: 3rem;
  629. font-size: 18px;
  630. font-weight: 200;
  631. }
  632. .select-wrapper input.select-dropdown {
  633. margin-bottom: 8px;
  634. border-bottom: 1.5px solid rgba(158, 158, 158, 0);
  635. }
  636. .select-wrapper:hover input.select-dropdown:hover {
  637. border-bottom: 1.5px solid rgba(158, 158, 158, 0.8);
  638. }
  639. .header-link {
  640. float: right;
  641. /* line-height: 3rem; */
  642. margin: 0 10px;
  643. }
  644. .header-link>img {
  645. width: 22px;
  646. height: 22px;
  647. transform: translateY(5px);
  648. }
  649. /* -------- styles of footer --------- */
  650. footer.page-footer {
  651. padding: 0;
  652. transition: background-color 0.5s;
  653. }
  654. /* -------- color change --------- */
  655. #nav_ {
  656. transition: background-color 0.5s;
  657. }
  658. .card-icon-area {
  659. transition: border-color 0.5s;
  660. }
  661. #icon-tool>li.active {
  662. transition: background-color 0.5s, border-color 0.5s;
  663. }
  664. /* -------- styles of error button --------- */
  665. #error-btn {
  666. width: 20px;
  667. height: 20px;
  668. float: right;
  669. cursor: pointer;
  670. margin-right: 8px;
  671. display: none;
  672. }
  673. #err-msg:focus {
  674. outline: none;
  675. background-color: rgba(86, 86, 86, 0.8);
  676. }
  677. /* -------- styles of tooltip & tooltip's icon --------- */
  678. .plugin_options {
  679. position: absolute;
  680. bottom: 200px;
  681. right: 24px;
  682. overflow: hidden;
  683. transition: all 0.5s ease-in-out;
  684. z-index: 2;
  685. }
  686. .options_hide {
  687. visibility: hidden;
  688. opacity: 0;
  689. height: 0;
  690. }
  691. .options_active {
  692. visibility: visible;
  693. opacity: 1;
  694. height: 49px;
  695. }
  696. .plugin_options a {
  697. color: rgb(150, 150, 150);
  698. font-size: 18px;
  699. font-weight: bold;
  700. margin-right: 10px;
  701. }
  702. .plugin_options .card-content {
  703. padding: 8px 12px;
  704. }
  705. .plugin_options .card-content>div {
  706. transform: translateY(-3px);
  707. }
  708. .plugin_options img {
  709. width: 25px;
  710. height: 25px;
  711. margin-right: 5px;
  712. transform: translateY(5px);
  713. }
  714. #Ardunio-main,
  715. #Serial-monitor {
  716. overflow: hidden;
  717. }
  718. #main_content{
  719. /*overflow: hidden*/
  720. width: 100%;
  721. height: 100%;
  722. }
  723. #main_content>div>div:nth-child(2) {
  724. overflow: hidden;
  725. height: -moz-calc(100vh - 175px);
  726. /* Firefox */
  727. height: -webkit-calc(100vh - 175px);
  728. /* WebKit */
  729. height: -o-calc(100vh - 175px);
  730. /* Opera */
  731. height: calc(100vh - 175px);
  732. /* Standard */
  733. }
  734. /* -------- styles of uploader's buttons --------- */
  735. #uploader-btns a {
  736. padding: 0 0.25rem;
  737. }
  738. #uploader .row {
  739. margin-bottom: 2px;
  740. max-height: 43px;
  741. }
  742. #uploader input {
  743. margin-bottom: 2px;
  744. }
  745. /* -------- styles of Serial Monitor --------- */
  746. #Serial-monitor .card-content>div.row {
  747. padding: 0;
  748. margin-bottom: 2px;
  749. }
  750. #Serial-monitor a.btn {
  751. min-width: 60px;
  752. }
  753. .card-serialMonitor .select-wrapper input.select-dropdown {
  754. margin-bottom: 2px;
  755. border-bottom: 1.5px solid rgba(158, 158, 158, 0);
  756. height: 2rem;
  757. line-height: 2rem;
  758. }
  759. #commsBox {
  760. height: -moz-calc(100vh - 440px);
  761. height: -webkit-calc(100vh - 440px);
  762. height: -o-calc(100vh - 44px);
  763. height: calc(100vh - 440px);
  764. background-color: rgba(248, 248, 250, 0.966);
  765. font-family: Consolas;
  766. padding: 6px;
  767. margin: 8px 0 6px 0;
  768. border: none;
  769. overflow-y: auto;
  770. resize: none;
  771. width: 100%;
  772. }
  773. #commsBox:focus {
  774. outline: none;
  775. }
  776. /* -------- styles of Serial Monitor --------- */
  777. #icon-tool {
  778. margin-top: 6px;
  779. position: fixed;
  780. right: 6px;
  781. transform: translate(80%);
  782. transition: all 0.3s linear;
  783. /* display: none; */
  784. }
  785. #icon-tool.hover {
  786. transform: translate(0);
  787. }
  788. #icon-tool>li {
  789. cursor: pointer;
  790. }
  791. #icon-tool>li:hover {
  792. background-color: rgba(0, 0, 0, 0.1);
  793. }
  794. #icon-tool>li.active {
  795. background-color: #3258cd;
  796. border-color: #3258cd;
  797. color: #fff;
  798. }
  799. #icon-tool>li:nth-child(4).active {
  800. background-color: rgba(0, 0, 0, 0.1);
  801. border-color: inherit;
  802. border-bottom-color: rgb(221, 221, 221);
  803. color: inherit;
  804. }
  805. #icon-tool>li:nth-child(6).active {
  806. background-color: rgba(0, 0, 0, 0.1);
  807. border-color: inherit;
  808. border-bottom-color: rgb(221, 221, 221);
  809. color: inherit;
  810. }
  811. #icon-tool>li:nth-child(7).active {
  812. background-color: rgba(0, 0, 0, 0.1);
  813. border-color: inherit;
  814. border-bottom-color: rgb(221, 221, 221);
  815. color: inherit;
  816. }
  817. #icon-tool>li.active.color-red {
  818. background-color: #e03021;
  819. border-color: #e03021;
  820. }
  821. #icon-tool>li:nth-child(4).active.color-red {
  822. background-color: rgba(0, 0, 0, 0.1);
  823. border-color: inherit;
  824. border-bottom-color: rgb(221, 221, 221);
  825. color: inherit;
  826. }
  827. #icon-tool>li:nth-child(6).active.color-red {
  828. background-color: rgba(0, 0, 0, 0.1);
  829. border-color: inherit;
  830. border-bottom-color: rgb(221, 221, 221);
  831. color: inherit;
  832. }
  833. #icon-tool>li:nth-child(7).active.color-red {
  834. background-color: rgba(0, 0, 0, 0.1);
  835. border-color: inherit;
  836. border-bottom-color: rgb(221, 221, 221);
  837. color: inherit;
  838. }
  839. #icon-tool>li>i {
  840. position: relative;
  841. left: 50%;
  842. top: 50%;
  843. transform: translate(-50%, -50%);
  844. }
  845. #side-lang-trigger {
  846. visibility: hidden;
  847. opacity: 0;
  848. position: fixed;
  849. top: 150px;
  850. right: 192px;
  851. }
  852. #side-storage-trigger {
  853. visibility: hidden;
  854. opacity: 0;
  855. position: fixed;
  856. top: 200px;
  857. right: 192px;
  858. }
  859. @media only screen and (min-width: 993px) {
  860. .container {
  861. width: 100%;
  862. }
  863. .row .col.l0 {
  864. width: 0%;
  865. margin-left: auto;
  866. left: auto;
  867. right: auto;
  868. display: none;
  869. }
  870. }
  871. /* -------- styles of login modal --------- */
  872. #login_modal.modal {
  873. width: 350px;
  874. position: fixed;
  875. right: 50px;
  876. top: 62px;
  877. left: auto;
  878. background-color: #fafafa;
  879. padding: 0;
  880. max-height: 70%;
  881. margin: auto;
  882. overflow-y: auto;
  883. border-radius: 2px;
  884. will-change: top, opacity;
  885. }
  886. #login_modal .row {
  887. margin-left: auto;
  888. margin-right: auto;
  889. margin-bottom: 2px;
  890. }
  891. /* -------- styles of cloud file panel --------- */
  892. #cloud_storage_modal {
  893. width: 820px;
  894. height: 80%;
  895. max-height: 560px;
  896. overflow-y: hidden;
  897. }
  898. #cloud_fileListArea {
  899. min-height: 450px;
  900. height: 70%;
  901. max-height: 400px;
  902. overflow-y: auto;
  903. border: 1px solid #e8e8e9;
  904. background-color: rgba(255, 255, 255, 0);
  905. }
  906. #cloud_askLogin {
  907. padding-top: 15px;
  908. width: 350px;
  909. margin: auto;
  910. }
  911. .cloud-file {
  912. background-color: rgba(255, 255, 255, 0);
  913. }
  914. .cloud-file-selected {
  915. background-color: rgba(66, 165, 245, 0.3);
  916. border-color: #0e0e0f;
  917. border: 3px;
  918. height: 110px !important;
  919. padding: 10px;
  920. margin: 1px;
  921. }
  922. #new_create .card-content>div:nth-child(1) {
  923. height: 115px;
  924. }
  925. #new_create .cloud-new {
  926. left: 12%;
  927. top: -20px;
  928. font-size: 135px !important;
  929. color: #757575;
  930. cursor: pointer;
  931. position: relative;
  932. }
  933. #new_create span.cloud-new {
  934. position: absolute;
  935. top: 120px;
  936. left: 35%;
  937. font-size: 14px !important;
  938. }
  939. #new_create .cloud-new.disabled {
  940. pointer-events: none;
  941. -webkit-box-shadow: none;
  942. box-shadow: none;
  943. color: #CCC !important;
  944. cursor: default;
  945. }
  946. #new_create.active>div>div:nth-child(1) {
  947. display: none;
  948. }
  949. #new_create.active>div>div:nth-child(2) {
  950. display: block;
  951. }
  952. #new_create>div>div:nth-child(1) {
  953. display: block;
  954. }
  955. #new_create>div>div:nth-child(2) {
  956. display: none;
  957. }
  958. .cloud-btnPanel {
  959. position: relative;
  960. height: 30px;
  961. }
  962. .cloud-btn {
  963. font-size: 1.2rem;
  964. outline: 0;
  965. text-decoration: none;
  966. color: #fff;
  967. background-color: #64B5F6;
  968. text-align: center;
  969. letter-spacing: .5px;
  970. height: 30px;
  971. line-height: 30px;
  972. padding: 0 0.3rem;
  973. text-transform: uppercase;
  974. float: right;
  975. margin-right: 7px;
  976. border-radius: 5px;
  977. }
  978. #cloud_fileListArea .card {
  979. border-radius: 5px;
  980. }
  981. #cloud_fileListArea .card-image {
  982. border-radius: 5px;
  983. height: 50px;
  984. background: #454fb5;
  985. }
  986. #cloud_fileListArea .card-content {
  987. min-height: 100px
  988. }
  989. /* #cloud_fileListArea .card ul {
  990. display: none;
  991. }
  992. #cloud_fileListArea.cloud-file .card:hover ul {
  993. display: block;
  994. } */
  995. #cloud_fileListArea.locked .card ul {
  996. display: none;
  997. }
  998. #cloud_fileListArea .card:hover li {
  999. animation: btnmove 0.4s
  1000. }
  1001. #cloud_fileListArea ul {
  1002. text-align: right;
  1003. right: 10px;
  1004. top: 20px;
  1005. -webkit-transform: translateY(-50%);
  1006. transform: translateY(-50%);
  1007. height: 50px;
  1008. width: 200px;
  1009. position: absolute;
  1010. z-index: 999;
  1011. }
  1012. #cloud_fileListArea li {
  1013. display: inline-block;
  1014. margin: 5px 5px 0 0;
  1015. }
  1016. #cloud_fileListArea li i {
  1017. color: #fff;
  1018. cursor: pointer;
  1019. }
  1020. #cloud_fileListArea .unblock {
  1021. display: none
  1022. }
  1023. #cloud_fileListArea .cloud_file_state {
  1024. position: absolute;
  1025. bottom: -8px;
  1026. right: -4px;
  1027. z-index: 999;
  1028. }
  1029. #cloud_fileListArea .cloud_file_state>i {
  1030. display: none;
  1031. }
  1032. #cloud_fileListArea .selected .card {
  1033. /* border: 2px solid #ff8711; */
  1034. border: 1px solid #ffc107;
  1035. }
  1036. #cloud_fileListArea .selected .cloud_file_state>i:nth-child(1) {
  1037. display: block;
  1038. color: #ffc107;
  1039. font-size: 42px;
  1040. }
  1041. #cloud_fileListArea .selected .cloud-btnPanel>li:nth-child(2) {
  1042. display: inline-block;
  1043. }
  1044. #cloud_fileListArea.locked .cloud_file_state>i:nth-child(1) {
  1045. display: none
  1046. }
  1047. #cloud_fileListArea.locked .card {
  1048. border: 0;
  1049. }
  1050. #cloud_fileListArea .cloudInfoPanel>span {
  1051. margin-bottom: 4px;
  1052. overflow: hidden;
  1053. text-overflow: ellipsis;
  1054. white-space: nowrap"
  1055. }
  1056. #cloud_fileListArea .cloudInfoPanel>p {
  1057. font-size: 14px;
  1058. font-weight: 300;
  1059. margin-bottom: 8px;
  1060. }
  1061. /* -------- styles of cloud storage sketch_name --------- */
  1062. #cloud_fileListArea .cloud_sketch_name {
  1063. max-width: 400px;
  1064. line-height: 64px;
  1065. height: 3rem !important;
  1066. font-size: 1.2rem !important;
  1067. border-bottom: 1px solid #9e9e9e;
  1068. font-style: italic;
  1069. }
  1070. .translatable_rename {
  1071. font-size: 20px;
  1072. position: absolute;
  1073. top: 28%;
  1074. }
  1075. #cloud_fileListArea .cloud_sketch_name {
  1076. margin: 8px 0 12px 0 !important;
  1077. }
  1078. /* -------- styles of nav tootip --------- */
  1079. .nav_tooltip span {
  1080. display: none;
  1081. }
  1082. .nav_tooltip:hover span,
  1083. .nav_tooltip:focus span {
  1084. display: block;
  1085. position: absolute;
  1086. top: 68px;
  1087. left: 2px;
  1088. border: 1px solid #2b2b2a;
  1089. background-color: rgba(41, 41, 41, 0.87);
  1090. color: rgb(255, 248, 248);
  1091. width: 8em !important;
  1092. line-height: 36px;
  1093. height: 36px;
  1094. padding: 0;
  1095. margin: 0;
  1096. }
  1097. /* ------- Vertical Separator Line -------- */
  1098. .vertical-separator {
  1099. padding: 8px 6px 8px 6px;
  1100. margin-left: 6px;
  1101. border-left: 1px solid rgba(228, 228, 228, 0.87);
  1102. font-size: 16px;
  1103. }
  1104. /* ------- iframe for login -------*/
  1105. .iframe-login {
  1106. position: fixed;
  1107. width: 499px;
  1108. height: 600px;
  1109. left: 500px;
  1110. top: 100px;
  1111. z-index: 999;
  1112. }
  1113. /* ----preloader for login modal---- */
  1114. #login_modal_preload.progress,
  1115. #cloud_modal_preload.progress {
  1116. position: relative;
  1117. height: 4px;
  1118. display: block;
  1119. width: 100%;
  1120. background-color: #acece6;
  1121. border-radius: 2px;
  1122. margin: 0.2rem 0 0.1rem 0;
  1123. overflow: hidden;
  1124. }
  1125. #cloud_modal_preload {
  1126. position: fixed;
  1127. top: 0;
  1128. left: 0;
  1129. z-index: 1003;
  1130. width: 100%;
  1131. height: 100%;
  1132. background-color: rgba(238, 238, 238, 0.8);
  1133. }
  1134. #cloud_modal_preload .preloader-wrapper {
  1135. position: absolute;
  1136. top: 30%;
  1137. left: 45%;
  1138. z-index: 1001;
  1139. width: 100px;
  1140. height: 100px;
  1141. }
  1142. /* ----nav help dropdown---- */
  1143. .dropdown-content.active {
  1144. background-color: #fff;
  1145. margin: 0;
  1146. display: none;
  1147. min-width: 120px;
  1148. max-height: 650px;
  1149. overflow-y: auto;
  1150. opacity: 0;
  1151. position: absolute;
  1152. z-index: 999;
  1153. /* will-change: width, height; */
  1154. }
  1155. /*-----gif tour section ----*/
  1156. .slide-section {
  1157. display: block;
  1158. background: #eee;
  1159. width: 850px;
  1160. top: 15%;
  1161. height: 540px;
  1162. overflow: unset;
  1163. max-height: 81%;
  1164. /* border: 0.12rem solid #0f6eb1; */
  1165. }
  1166. .slide-content {
  1167. width: 790px;
  1168. height: 320px;
  1169. position: relative;
  1170. }
  1171. .slide-element {
  1172. max-width: 100%;
  1173. max-height: 100%;
  1174. margin: auto;
  1175. position: absolute;
  1176. top: 50%;
  1177. left: 50%;
  1178. transform: translate(-50%, -50%);
  1179. }
  1180. .slide-text {
  1181. text-align: center;
  1182. font-size: 20px;
  1183. width: 770px;
  1184. }
  1185. .slick-prev:before,
  1186. .slick-next:before {
  1187. color: #8f8f92;
  1188. font-size: 40px;
  1189. }
  1190. .slick-dots {
  1191. bottom: 2px;
  1192. }
  1193. .slick-list {
  1194. height: 100%;
  1195. overflow-y: auto;
  1196. }
  1197. /* uploader reminder modal*/
  1198. .modale {
  1199. position: fixed;
  1200. left: 0;
  1201. right: 0;
  1202. background-color: #fafafa;
  1203. padding: 0;
  1204. max-height: 70%;
  1205. width: 55%;
  1206. margin: auto;
  1207. overflow-y: auto;
  1208. border-radius: 5px;
  1209. will-change: top, opacity;
  1210. border-radius: 5px;
  1211. }
  1212. .modale .modal-content {
  1213. padding: 24px;
  1214. }
  1215. .modale .modal-footer {
  1216. border-radius: 0 0 2px 2px;
  1217. background-color: #fafafa;
  1218. padding: 4px 6px;
  1219. width: 100%;
  1220. text-align: right;
  1221. margin-bottom: 10px;
  1222. }
  1223. .modale .h1,
  1224. .modale .h2,
  1225. .modale .h3,
  1226. .modale .h4 {
  1227. margin-top: 0;
  1228. }
  1229. nav ul a {
  1230. font-size: 0.9rem;
  1231. padding: 0 10px;
  1232. }
  1233. .nav-icon {
  1234. height: 30px;
  1235. margin-top: 17px;
  1236. margin-right: 5px;
  1237. }
  1238. .nav-icon2 {
  1239. height: 27px;
  1240. margin-top: 17px;
  1241. margin-right: 5px;
  1242. }
  1243. .bar-icon {
  1244. height: 20px;
  1245. position: relative;
  1246. left: 50%;
  1247. top: 50%;
  1248. transform: translate(-150%, -150%);
  1249. }
  1250. /* user modal */
  1251. #account_alias {
  1252. display: none;
  1253. }
  1254. #userProfile_apikey .select-wrapper {
  1255. display: inline-block;
  1256. max-width: 150px;
  1257. height: 30px;
  1258. }
  1259. #userProfile_apikey .caret {
  1260. top: 10px;
  1261. }
  1262. #update_Coevent,
  1263. #update_Coevent_web,
  1264. #update_Coevent_voice {
  1265. color: #2c4fcd;
  1266. cursor: pointer;
  1267. font-size: 18px;
  1268. position: relative;
  1269. top: 5px;
  1270. }
  1271. #before_login {
  1272. overflow: hidden;
  1273. }
  1274. #after_login {
  1275. padding: 24px 24px 6px 24px;
  1276. /* overflow: hidden; */
  1277. display: none;
  1278. }
  1279. #after_login>div {
  1280. padding-bottom: 5px
  1281. }
  1282. #after_login>#userProfile_alias {
  1283. font-size: 20px;
  1284. font-weight: bold;
  1285. padding-bottom: 10px;
  1286. }
  1287. #userProfile_apikey>div:nth-child(2)>a {
  1288. color: #2c4fcd;
  1289. cursor: pointer;
  1290. float: right;
  1291. }
  1292. #userProfile_apikey>div:nth-child(2)>textarea {
  1293. overflow: visible;
  1294. resize: none;
  1295. border-color: rgb(169, 169, 169);
  1296. border-radius: 5px;
  1297. height: auto;
  1298. }
  1299. #login_modal>.modal-footer {
  1300. display: none;
  1301. }
  1302. #modal_cococloud_btn {
  1303. float: left;
  1304. margin-left: 15px;
  1305. }
  1306. #modal_logout_btn {
  1307. float: right;
  1308. margin-right: 15px;
  1309. }
  1310. #login_modal>.modal-footer>a>span {
  1311. font-size: 15px;
  1312. color: #fff;
  1313. }
  1314. /* Warning Modal */
  1315. #gen_warn_image {
  1316. display: block;
  1317. height: 128px;
  1318. position: relative;
  1319. left: 50%;
  1320. transform: translateX(-50%);
  1321. }
  1322. #gen_warn_title,
  1323. #gen_warn_body {
  1324. text-align: center;
  1325. }
  1326. #gen_warn_title {
  1327. margin-bottom: 2rem;
  1328. }
  1329. #browserLink {
  1330. display: inline-block;
  1331. position: relative;
  1332. left: 50%;
  1333. transform: translateX(-50%);
  1334. }
  1335. #browserLink>a>img {
  1336. height: 64px;
  1337. }
  1338. #gen_warn>.modal-footer {
  1339. text-align: center;
  1340. padding: 0 24px 24px 24px;
  1341. }
  1342. /* import-div */
  1343. .shadow_container {
  1344. position: relative;
  1345. top: 10%;
  1346. height: -moz-calc(100vh - 145px);
  1347. /* Firefox */
  1348. height: -webkit-calc(100vh - 145px);
  1349. /* WebKit */
  1350. height: -o-calc(100vh - 145px);
  1351. /* Opera */
  1352. height: calc(100vh - 145px);
  1353. /* Standard */
  1354. }
  1355. .shadow_top {
  1356. position: relative;
  1357. transform: translate(-50%, -50%);
  1358. width: 40%;
  1359. max-width: 490px;
  1360. border: dashed #fff;
  1361. top: 50%;
  1362. left: 50%;
  1363. pointer-events: none;
  1364. }
  1365. .shadow_top>img {
  1366. position: relative;
  1367. width: 150px;
  1368. transform: translateX(-50%);
  1369. left: 50%;
  1370. }
  1371. .shadow_top>p {
  1372. position: relative;
  1373. margin: auto;
  1374. font-size: 2rem;
  1375. text-align: center;
  1376. color: ghostwhite;
  1377. padding-bottom: 20px;
  1378. }
  1379. /**
  1380. * change toast color
  1381. */
  1382. /* .toast {
  1383. background: #ec521c;
  1384. color: #ffffff;
  1385. font-size: 1.3rem;
  1386. } */
  1387. /* App Center */
  1388. #app_center_modal {
  1389. border-radius: 5px;
  1390. width: 820px;
  1391. height: 100%;
  1392. max-height: 500px;
  1393. overflow: hidden
  1394. }
  1395. #center_categories {
  1396. border: 1px solid #dddddd;
  1397. }
  1398. #center_categories>a {
  1399. font-weight: bold;
  1400. }
  1401. #center_categories>a.active {
  1402. background-color: #2196F3 !important;
  1403. color: white !important;
  1404. border-radius: 2px;
  1405. }
  1406. #app_center_modal .card {
  1407. border-radius: 10px;
  1408. /* box-shadow: 4px 1px 10px #888888 */
  1409. }
  1410. #app_center_modal .card-image {
  1411. border-radius: 10px 10px 4px 4px;
  1412. }
  1413. #app_center_modal .card .card-content {
  1414. padding: 20px;
  1415. }
  1416. /* Env Detect Modal */
  1417. #env_detect {
  1418. border-radius: 0.8rem;
  1419. max-height: 80%;
  1420. max-width: 960px;
  1421. }
  1422. #detect_result>div {
  1423. display: grid;
  1424. grid-template-columns: 15% 30% 15% 40%;
  1425. }
  1426. #detect_before>div:first-child {
  1427. position: relative;
  1428. width: 270px;
  1429. left: 53%;
  1430. transform: translateX(-50%);
  1431. }
  1432. #detect_result>div>h5 {
  1433. font-size: 1.45rem;
  1434. color: #818181;
  1435. place-self: center;
  1436. margin: 0.82rem 0;
  1437. text-align: center;
  1438. }
  1439. #detect_result>div>div {
  1440. font-size: 1.2rem;
  1441. place-self: center;
  1442. margin: 0.656rem 0;
  1443. padding: 0 0.3rem;
  1444. text-align: center;
  1445. }
  1446. #detect_result .detect-icons {
  1447. line-height: 0;
  1448. }
  1449. #env_detect .modal-footer {
  1450. display: grid;
  1451. grid-template-columns: repeat(3, calc(100%/3));
  1452. grid-template-areas: '. detect .';
  1453. margin: 12px 0;
  1454. }
  1455. #detect-btn {
  1456. grid-area: detect;
  1457. height: 88%;
  1458. margin: 0;
  1459. display: grid;
  1460. }
  1461. #detect-btn>span {
  1462. font-size: 1.1rem;
  1463. font-weight: 500;
  1464. place-self: center;
  1465. }
  1466. #detect_preload {
  1467. position: fixed;
  1468. top: 0;
  1469. left: 0;
  1470. z-index: 999;
  1471. width: 100%;
  1472. height: 100%;
  1473. background-color: rgba(238, 238, 238, 0.8);
  1474. }
  1475. .preloader-wrapper.big {
  1476. width: 128px;
  1477. height: 128px;
  1478. }
  1479. .spinner-blue,
  1480. .spinner-blue-only {
  1481. border-color: #0080e6;
  1482. }
  1483. .circle-clipper .circle {
  1484. border-width: 8px;
  1485. }
  1486. /**
  1487. * Teachable Machine modal
  1488. */
  1489. .TM_class {
  1490. width: 95%;
  1491. height: 80%;
  1492. max-height: 100%;
  1493. overflow: hidden;
  1494. /* background:rgb(237, 237, 238); */
  1495. background: #fff;
  1496. }
  1497. .modal_custom.open {
  1498. top: 40% !important
  1499. }
  1500. .modal_custom {
  1501. top: -30% !important;
  1502. display: none
  1503. }
  1504. .AI_card_content {
  1505. border: 1.5px solid #4994ec;
  1506. border-radius: 5px;
  1507. color: #4994ec;
  1508. font-weight: 600;
  1509. font-size: 8px;
  1510. padding: 3px 7px;
  1511. margin-bottom: 10px;
  1512. }
  1513. .ac-card-title {
  1514. /* margin-top:10px */
  1515. }
  1516. .Img-filter {
  1517. filter: invert(100%);
  1518. }
  1519. #app_center_modal .tabs {
  1520. background-color: #fafafa
  1521. }
  1522. #app_center_modal .tabs-content {
  1523. width: 300px;
  1524. }
  1525. .tabs {
  1526. height: 30px;
  1527. margin-bottom: 20px
  1528. }
  1529. .tabs .tab {
  1530. line-height: 24px;
  1531. height: 24px;
  1532. }
  1533. .tabs .tab a,
  1534. .tabs .tab a:hover,
  1535. .tabs .tab a.active {
  1536. padding: 0 8px;
  1537. font-size: 13px;
  1538. background-color: transparent;
  1539. color: black;
  1540. }
  1541. .tabs .indicator {
  1542. background-color: #039be5;
  1543. height: 4px
  1544. }
  1545. #webcam_capture_modal {
  1546. width: 820px;
  1547. height: 100%;
  1548. max-height: 500px;
  1549. }
  1550. #webCamPlaceholder {
  1551. border: 1px solid rgba(0, 0, 0, .075);
  1552. font-weight: regular;
  1553. color: rgba(0, 0, 0, .3);
  1554. height: 240px;
  1555. width: 320px;
  1556. text-align: center;
  1557. padding-top: 100px;
  1558. background-color: rgba(0, 0, 0, .02);
  1559. }
  1560. #SnapshotPlaceholder {
  1561. border: 1px solid rgba(0, 0, 0, .075);
  1562. font-weight: regular;
  1563. color: rgba(0, 0, 0, .3);
  1564. height: 240px;
  1565. width: 100%;
  1566. text-align: center;
  1567. padding-top: 100px;
  1568. background-color: rgba(0, 0, 0, .02);
  1569. }
  1570. #emotionResultsAll {
  1571. margin-left: 1.5%;
  1572. width: 97%;
  1573. margin-right: 1.5%;
  1574. text-align: left;
  1575. border-radius: 6px;
  1576. border: 1px solid rgba(0, 0, 0, .075);
  1577. padding: 15px 15px 4px 15px;
  1578. background-color: rgba(0, 0, 0, .02);
  1579. margin-bottom: 15px;
  1580. margin-top: 10px;
  1581. }
  1582. #emotionResultsAll_property {
  1583. /* line-height: 12px; */
  1584. }
  1585. .emotionResultsAll_single {
  1586. padding-left: 2px;
  1587. font-weight: 200;
  1588. color:rgba(0,0,0,.4);
  1589. }
  1590. #emotionOutput {
  1591. margin-top: -30px;
  1592. }
  1593. #learn_board.dropdown-content.active {
  1594. width: 160px !important
  1595. }
  1596. #voice_input_modal {
  1597. width: 820px;
  1598. height: 100%;
  1599. max-height: 500px;
  1600. }
  1601. #voice_input_modal textarea.disabled {
  1602. color: gray
  1603. }
  1604. #voice_input_modal .speech_language .select-wrapper {
  1605. border: 0.2px solid #ccc;
  1606. height: 42px;
  1607. }
  1608. #voice_input_modal .speech_language .caret {
  1609. padding-right: 5px;
  1610. }
  1611. #voice_input_modal .speech_language input.select-dropdown {
  1612. padding-left: 10px;
  1613. }
  1614. #speech_textarea {
  1615. margin-left: 1.5%;
  1616. max-width: 97%;
  1617. margin-right: 1.5%;
  1618. border: 1px solid rgba(0, 0, 0, .2);
  1619. cursor: default;
  1620. -webkit-user-select: none;
  1621. -webkit-touch-callout: none;
  1622. -khtml-user-select: none;
  1623. -moz-user-select: none;
  1624. -ms-user-select: none;
  1625. -o-user-select: none;
  1626. }
  1627. #speech_textarea:focus {
  1628. outline: none;
  1629. }
  1630. .filled-in_nocheked{
  1631. color: red !important;
  1632. }
  1633. html, body { cursor:default; height: 100%; position: absolute; top: 0; left: 0; margin: 0; padding: 0; border: 0; width: 100%; }
  1634. input::-webkit-input-placeholder {
  1635. color: #000;
  1636. }
  1637. input::-moz-input-placeholder {
  1638. color: #000;
  1639. }
  1640. input::-ms-input-placeholder {
  1641. color: #000;
  1642. }