12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217 |
- /**
- * @license Licensed under the Apache License, Version 2.0 (the "License"):
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * @fileoverview CSS file for the Ardublockly application.
- *
- * There are a lot of '!important' tags in this file as a lot of the rules set
- * here go against the css rules from the Materialize framework.
- */
- /******************/
- /* Font sources */
- /******************/
- @font-face {
- font-family: "GT Walsheim Pro Trial";
- /*
- src: url("font/gt/GT-Walsheim-Pro-Trial-Regular.otf") format("opentype");
- */
- }
- @font-face {
- font-family: "GT Walsheim Pro Trial Bold";
- src: url("font/gt/GT-Walsheim-Pro-Trial-Bold.otf") format("opentype");
- }
- /**********/
- /* HTML */
- /**********/
- html, body {
- height: 100% !important;
- padding: 0;
- margin: 0;
- }
- body {
- background-color: #fff;
- -moz-user-select: -moz-none;
- -khtml-user-select: none;
- -webkit-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- /*********************/
- /* Arduino Colours */
- /*********************/
- .arduino_teal {
- background-color: #2c4fcd;
- }
- .arduino_teal_dark {
- background-color: #2c4fcd;
- /* background-color: #00878F; from community logo */
- }
- .arduino_teal_light {
- background-color: #2c4fcd;
- }
- .arduino_orange {
- background-color: #E47128;
- }
- .arduino_yellow {
- /* background-color: rgba(255, 204, 51, 1); */
- background-color: #f7c11e;
- /* background-color: #E5AD24; from community logo */
- }
- .arduino_brown {
- background-color: #8C7965;
- }
- .arduino_red {
- background-color: #e03021;
- }
- /********************/
- /* Navigation bar */
- /********************/
- .nav-fixed {
- border-radius: 0;
- position: inherit;
- margin-bottom: 30px;
- z-index: 997 !important;
- }
- @media only screen and (min-width: 993px) {
- body {
- padding-top: 64px;
- }
- .nav-fixed {
- position: fixed;
- right: 0;
- left: 0;
- top: 0;
- margin-bottom: 0px;
- z-index: 997;
- }
- }
- div.side-nav {
- background-color: #eeeeee;
- border-radius: 0px 0px 25px 0px;
- border-left: 4px solid #ffffff;
- border-bottom: 4px solid #dddddd;
- border-right: 4px solid #dddddd;
- border-bottom: 4px solid #dddddd;
- line-height: 25px;
- }
- /* Side nav Logo */
- ul.side-nav li.logo {
- text-align: center;
- margin: 0px !important;
- padding: 0px 0px !important;
- border: none !important;
- height: 145px;
- background-color: transparent;
- }
- ul.side-nav li.logo:hover {
- background-color: transparent;
- }
- ul.side-nav li.side-menu-end {
- background-color: #eeeeee;
- border-radius: 0px 0px 25px 0px;
- border-left: 4px solid #ffffff;
- border-bottom: 4px solid #dddddd;
- border-right: 4px solid #dddddd;
- border-bottom: 4px solid #dddddd;
- line-height: 25px;
- }
- /************************************/
- /* Blocks, Arduino, and XML areas */
- /************************************/
- .content {
- margin: 0;
- padding: 0;
- width: 100%;
- background-color: #ffffff;
- }
- .height_transition {
- transition: height 0.2s ease-out;
- -ms-transition: height 0.2s ease-out;
- -moz-transition: height 0.2s ease-out;
- -webkit-transition: height 0.2s ease-out;
- }
- #blocks_panel {
- padding: 0px;
- position: relative !important;
- min-height: 480px;
- }
- .blocks_panel_large {
- height: -moz-calc(100vh - 111px);
- /* Firefox */
- height: -webkit-calc(100vh - 111px);
- /* WebKit */
- height: -o-calc(100vh - 111px);
- /* Opera */
- height: calc(100vh - 111px);
- /* Standard */
- }
- .blocks_panel_small {
- height: -moz-calc(100vh - 350px);
- /* Firefox */
- height: -webkit-calc(100vh - 350px);
- /* WebKit */
- height: -o-calc(100vh - 350px);
- /* Opera */
- height: calc(100vh - 350px);
- /* Standard */
- }
- #content_blocks {
- margin: 0;
- padding: 0;
- min-height: 480px;
- height: -moz-calc(100vh - 111px);
- /* Firefox */
- height: -webkit-calc(100vh - 111px);
- /* WebKit */
- height: -o-calc(100vh - 111px);
- /* Opera */
- height: calc(100vh - 111px);
- /* Standard */
- }
- #content_xml {
- resize: none;
- outline: none;
- border: none;
- padding: 0px 0px;
- font-family: monospace;
- font-size: smaller;
- overflow: hidden;
- font-style: 0.2em !important;
- min-height: 384px;
- overflow: auto;
- }
- .content_xml_large {
- height: -moz-calc(100vh - 286px);
- /* Firefox */
- height: -webkit-calc(100vh - 286px);
- /* WebKit */
- height: -o-calc(100vh - 286px);
- /* Opera */
- height: calc(100vh - 286px);
- /* Standard */
- }
- .content_xml_small {
- height: -moz-calc(100vh - 446px);
- /* Firefox */
- height: -webkit-calc(100vh - 446px);
- /* WebKit */
- height: -o-calc(100vh - 446px);
- /* Opera */
- height: calc(100vh - 446px);
- /* Standard */
- }
- /* The materialize framework changes height of the div to show or hide */
- /* the collapsible elements. */
- #content_arduino {
- resize: none;
- outline: none;
- border: none;
- padding: 8px 8px;
- font-size: 0.9rem;
- font-family: monospace;
- overflow: auto;
- -moz-user-select: text;
- -khtml-user-select: text;
- -webkit-user-select: text;
- -ms-user-select: text;
- user-select: text;
- }
- .content_arduino_large {
- height: -moz-calc(100vh - 280px);
- /* Firefox */
- height: -webkit-calc(100vh - 280px);
- /* WebKit */
- height: -o-calc(100vh - 280px);
- /* Opera */
- height: calc(100vh - 280px);
- /* Standard */
- }
- .content_arduino_small {
- height: -moz-calc(100vh - 443px);
- /* Firefox */
- height: -webkit-calc(100vh - 443px);
- /* WebKit */
- height: -o-calc(100vh - 443px);
- /* Opera */
- height: calc(100vh - 443px);
- /* Standard */
- }
- /* serial monitor card form */
- div.card-serialMonitor {
- height: 100%;
- width: auto;
- top: 0;
- right: 0;
- transition: 0.5s;
- padding-top: 0px;
- }
- .content_arduino_SMonitor {
- resize: none;
- outline: none;
- border: none;
- padding: 0px 0px;
- font-size: 0.9rem;
- font-family: Nunito, sans-serif;
- overflow: auto;
- -moz-user-select: text;
- -khtml-user-select: text;
- -webkit-user-select: text;
- -ms-user-select: text;
- user-select: text;
- }
- content_arduino_SMonitor textarea {
- height: -moz-calc(100vh - 595px);
- /* Firefox */
- height: -webkit-calc(100vh - 595px);
- /* WebKit */
- height: -o-calc(100vh - 595px);
- /* Opera */
- height: calc(100vh - 595px);
- }
- /************************/
- /* Modals and content */
- /************************/
- /* Large modal section blocks */
- .modal_section {
- margin: 24px 0px;
- width: 100%;
- }
- /* Blocks tick label as a title */
- .modal_label_title {
- font-size: 1.6rem !important;
- color: black;
- }
- /* Blocks modal divider */
- #blocks_menu_body .divider {
- margin-top: 4px;
- margin-bottom: 8px;
- }
- /* Footer buttons padding */
- .modal_right_button {
- margin: 0px 0px 0px 48px !important;
- }
- /* Small modal responsive design */
- .modal_small {
- height: auto !important;
- min-height: 200px;
- }
- .modal_small .modal-content {
- margin-top: 0;
- padding-top: 12px;
- margin-bottom: 0;
- padding-bottom: 0;
- }
- .modal_small input {
- width: 100%;
- }
- .modal_small form {
- height: auto !important;
- min-height: 150px;
- }
- @media only screen and (min-width: 0) {
- .modal_small {
- max-width: 75% !important;
- width: 75% !important;
- }
- }
- @media only screen and (min-width: 601px) {
- .modal_small {
- max-width: 55% !important;
- width: 55% !important;
- }
- }
- @media only screen and (min-width: 993px) {
- .modal_small {
- max-width: 35% !important;
- width: 35% !important;
- }
- }
- /*******************************/
- /* Modals for Serial Monitor */
- /*******************************/
- .modal_serialMonitor {
- height: auto !important;
- min-height: 200px;
- width: 500px;
- position: fixed;
- z-index: 1002;
- overflow: hidden;
- margin: 10px, 0, 10px, 0;
- }
- .modal_serialMonitor .modal-content {
- margin-top: 0;
- padding-top: 2px;
- margin-right: 0;
- padding-bottom: 1px;
- margin-bottom: 0;
- padding-bottom: 2px;
- margin-left: 0;
- padding-left: 1px;
- }
- .modal_serialMonitor .row {
- margin-top: 0;
- padding-top: 0;
- margin-right: 0;
- padding-bottom: 1px;
- margin-bottom: 0;
- padding-bottom: 0;
- margin-left: 0;
- padding-left: 1px;
- }
- .modal_serialMonitor input {
- width: 90%;
- }
- .modal_serialMonitor form {
- height: auto !important;
- min-height: 150px;
- }
- .modal_serialMonitor .btn, .btn-large, .btn-flat {
- border: none;
- border-radius: 1px;
- display: inline-block;
- height: 36px;
- line-height: 36px;
- padding: 0 1rem;
- text-transform: uppercase;
- vertical-align: middle;
- -webkit-tap-highlight-color: transparent;
- }
- /*******************************/
- /* Sidebar for Serial Monitor */
- /*******************************/
- .side-nav-serialMonitor .btn-title {
- border: none;
- border-radius: 0.2px;
- display: inline-block;
- background-color: #ffffff;
- height: 36px;
- line-height: 36px;
- padding: 0 1rem;
- text-transform: uppercase;
- vertical-align: middle;
- -webkit-tap-highlight-color: transparent;
- }
- .side-nav-serialMonitor .btn, .btn-flat {
- border: none;
- border-radius: 0.2px;
- display: inline-block;
- height: 36px;
- line-height: 36px;
- padding: 0 1rem;
- vertical-align: middle;
- -webkit-tap-highlight-color: transparent;
- }
- .side-nav-serialMonitor .row {
- margin-top: 0;
- padding-top: 0;
- margin-right: 0;
- padding-bottom: 1px;
- margin-bottom: 3px;
- padding-bottom: 0;
- margin-left: 0;
- padding-left: 2px;
- }
- .side-nav-serialMonitor [type="checkbox"].filled-in:checked+label:after {
- top: 0;
- width: 20px;
- height: 20px;
- border: 2px solid #64B5F6;
- background-color: #64B5F6;
- z-index: 0;
- }
- /*******************************/
- /* Card for sidebar icon */
- /*******************************/
- .card-icon-area {
- /* border-top: 1px solid #ddd; */
- border-right: 1px solid #ddd;
- border-left: 6px solid #3258cd;
- /* border-bottom: 1px solid #ddd; */
- background-color: #fff;
- margin: 0;
- width: 45px;
- height: auto !important;
- z-index: 995;
- overflow: hidden;
- }
- .card-icon {
- margin: 0;
- width: 40px;
- height: 40px;
- border-bottom: 1px solid #ddd;
- z-index: 9999;
- }
- /*******************************/
- /* Card for Serial Monitor */
- /*******************************/
- .card-serialMonitor .btn-title {
- border: none;
- border-radius: 0.2px;
- display: inline-block;
- background-color: #ffffff;
- height: 36px;
- line-height: 36px;
- padding: 0 1rem;
- vertical-align: middle;
- -webkit-tap-highlight-color: transparent;
- }
- .card-serialMonitor .btn, .btn-flat {
- border: none;
- border-radius: 2px;
- display: inline-block;
- height: 35px;
- line-height: 32px;
- padding: 0.25rem 0.5rem;
- vertical-align: middle;
- -webkit-tap-highlight-color: transparent;
- }
- .card-serialMonitor .input-field {
- position: relative;
- margin-top: 0;
- }
- .card-serialMonitor .code-header {
- height: 45px;
- padding: 0px 6px;
- border-bottom: 1px solid #ddd;
- }
- .card-serialMonitor .code-header {
- color: #000200;
- }
- .card-serialMonitor .code-header .code-header-logo {
- width: 3rem;
- font-size: 1.6rem;
- line-height: 2.5rem;
- font-weight: bold;
- display: block;
- float: left;
- text-align: center;
- margin-right: 1rem;
- }
- .card-serialMonitor [type="checkbox"].filled-in:checked+label:after {
- top: 0;
- width: 20px;
- height: 20px;
- border: 2px solid #64B5F6;
- background-color: #64B5F6;
- }
- /*****************/
- /* Sketch name */
- /*****************/
- .sketch_name_wrapper {
- display: inline-block;
- padding-left: 30px;
- }
- .sketch_name_icon {
- display: inline !important;
- font-size: 1.2rem !important;
- padding-top: 3px;
- margin-left: -5px;
- }
- .sketch_name {
- width: auto !important;
- max-width: 400px;
- line-height: 64px;
- height: 2rem !important;
- font-size: 1.2rem !important;
- border-bottom: 0px solid #EEE !important;
- font-style: italic;
- }
- .sketch_name:focus {
- border-bottom: 1px solid #EEE !important;
- }
- @media only screen and (min-width: 0px) and (max-width: 600px) {
- .sketch_name {
- max-width: 200px;
- }
- /* Remove the "Ardublockly title only leaving the sketch name */
- .app_title {
- display: none;
- }
- }
- @media only screen and (min-width: 600px) {
- .sketch_name {
- max-width: 275px;
- }
- }
- @media only screen and (min-width: 993px) {
- .sketch_name {
- max-width: 350px;
- }
- }
- /************/
- /* Others */
- /************/
- /* Edit logo for code and xml collapsibles */
- .collapsible_logo {
- width: 3rem;
- font-size: 1.6rem;
- line-height: 3rem;
- font-weight: bold;
- display: block;
- float: left;
- text-align: center;
- margin-right: 1rem;
- }
- /* Colours for the new and deleted code highlighting */
- .code_highlight_new {
- background-color: rgba(255, 204, 51, 0.5);
- /* Arduino yellow 50% */
- }
- .code_highlight_deleted {
- background-color: #FDBEBE;
- }
- /*****************************/
- /* Overwriting Blockly CSS */
- /*****************************/
- /* Blockly text for the following components: */
- .blocklyTreeLabel,
- /* Toolbox */
- .blocklyText,
- /* Block */
- .goog-menuitem-content {
- /* Drop down menu */
- font-family: "Nunito", sans-serif!important;
- }
- /* Entire Blockly area, Toolbox dranw on top */
- .blocklySvg {
- border-width: 0 !important;
- }
- /* Toolbox */
- .blocklyToolboxDiv {
- border-color: #fcfcfc !important;
- border-width: 0px 1px 0px 0px !important;
- -webkit-border-radius: 0px 4px 4px 0px !important;
- -moz-border-radius: 4px 4px 0px 0px !important;
- border-radius: 0px 4px 4px 0px !important;
- border: none !important;
- margin: 0px !important;
- padding: 0px 0px 0px 0px !important;
- background: rgba(236, 241, 247, 0.8) !important;
- /* background: rgba(47, 105, 202, .05) !important; */
- -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05), 0 2px 10px 0 rgba(0, 0, 0, 0.05);
- -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05), 0 2px 10px 0 rgba(0, 0, 0, 0.05);
- box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05), 0 2px 10px 0 rgba(0, 0, 0, 0.05);
- overflow: hidden !important;
- }
- .blocklyTreeRoot {
- background: none !important;
- border: none !important;
- /*margin: 36px 0px 0px 0px !important;*/
- margin: 0px 0px 0px 0px !important;
- padding: 0px 1px !important;
- height: 100%;
- /* Standard */
- overflow-x: hidden;
- overflow-y: auto;
- }
- .blocklyTreeRow {
- background: none !important;
- border: none !important;
- margin: 0px 0px !important;
- padding: 0px 16px 0px 0px !important;
- box-sizing: content-box !important;
- padding-left: 0px !important;
- }
- .blocklyTreeSelected {
- background-color: rgba(208, 240, 255, 0.75) !important;
- /* arduino orange */
- border: 5px #000 solid;
- }
- .blocklyTreeRow:not(.blocklyTreeSelected):hover, .blocklyTreeRowHover {
- background-color: rgba(208, 240, 255, 0.75) !important;
- /* arduino yellow */
- }
- .blocklyTreeSeparator {
- padding: 0px !important;
- margin: 0px !important;
- }
- /* Toolbox second column with blocks*/
- .blocklyFlyoutBackground {
- fill: #d0f0ffbf !important;
- fill-opacity: 0.9 !important;
- -webkit-border-radius: 0px 4px 4px 0px !important;
- -moz-border-radius: 0px 4px 4px 0px !important;
- border-radius: 0px 4px 4px 0px !important;
- }
- /* Blockly scrollbars */
- .blocklyScrollbarKnob {
- fill: #a1b2f0 !important;
- fill-opacity: 0.7 !important;
- }
- .blocklyScrollbarBackground {
- stroke-width: 0px !important;
- fill: none !important;
- }
- /*********************************/
- /* Overwriting Materialize CSS */
- /*********************************/
- /* Modify container to have a larger width in all resolutions */
- .container {
- width: 90%;
- max-width: initial !important;
- /*padding-left: 1.5rem;
- padding-right: 1.5rem;*/
- z-index: 997;
- }
- .navcontainer {
- width: 90%;
- max-width: initial !important;
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- z-index: 997;
- }
- @media only screen and (min-width: 601px) {
- .container {
- width: 95%;
- }
- }
- @media only screen and (min-width: 993px) {
- .container {
- width: 100%;
- }
- }
- @media only screen and (min-width: 1380px) {
- .container {
- width: 100%;
- }
- }
- /* Maximize horizontal space for mobile */
- @media only screen and (min-width: 0px) and (max-width: 600px) {
- body {
- padding-top: 0px;
- }
- /* Expand to all visible horizontal space */
- .container {
- width: 100% !important;
- padding: 0 !important;
- margin: 0 !important;
- }
- nav {
- margin: 0 !important;
- padding: 0px 12px !important;
- }
- /* remove space between cards and navigation bar */
- .col {
- margin-top: -8px;
- }
- }
- /* Increase the text size of the side menu */
- div.side-nav {
- padding: 0px !important;
- line-height: 100px !important;
- }
- ul.side-nav {
- padding: 0px !important;
- line-height: 64px !important;
- }
- ul.side-nav i {
- font-size: 1.8rem !important;
- }
- ul.side-nav .collapsible {
- margin: 0 !important;
- }
- /* Set the background effect in the side menu */
- ul.side-nav {
- background-color: transparent;
- box-shadow: none !important;
- }
- ul.side-nav li {
- background-color: #eeeeee;
- }
- ul.side-nav li {
- background-color: #eeeeee;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- border-right: 2px solid #dddddd;
- border-left: 2px solid #ffffff;
- }
- ul.side-nav li ul li ul {
- cursor: pointer;
- border: none !important;
- }
- ul.side-nav li ul li ul li {
- border: none !important;
- }
- /* Add extra margin to the side menu button*/
- .button-collapse {
- margin-right: 16px;
- }
- /* Increase the size of Materialize Modal in small resolutions */
- @media only screen and (max-width: 600px) {
- .modal {
- width: 80% !important;
- max-width: 80% !important;
- }
- }
- /* Why the hell does button large has a predefined background colour !! */
- .btn-large:hover {
- background-color: inherit;
- }
- /* Circle clipper (loading animation) thickness */
- .circle-clipper .circle {
- border-width: 4px;
- }
- /* Materialize messes with these, so reset them here */
- .blocklyHtmlInput {
- border: none !important;
- border-radius: 4px !important;
- font-family: sans-serif !important;
- height: 100% !important;
- margin: 0 !important;
- outline: none !important;
- padding: 0 1px !important;
- width: 100% !important;
- background-color: white !important;
- }
- /*set switch button color*/
- .switch {
- margin-right: 10px;
- }
- .switch label .lever:after {
- background-color: #4d8bed;
- }
- .switch label .lever {
- background-color: #D7D7D7;
- }
- .switch label input[type=checkbox]:checked+.lever {
- background-color: #26a69a;
- }
- .switch label input[type=checkbox]:checked+.lever:after {
- background-color: #26a69a;
- }
- /* add indicator to toolbox items */
- #\:1 {
- border-left: 10px solid #4c97ff;
- border-bottom: 1px solid #eaeaea;
- }
- /* list */
- #\:3 {
- border-left: 10px solid #9d64fd;
- border-bottom: 1px solid #eaeaea;
- }
- /* loops */
- #\:5 {
- border-left: 10px solid #5472ea;
- border-bottom: 1px solid #eaeaea;
- }
- /* math */
- #\:7 {
- border-left: 10px solid #ffab2f;
- border-bottom: 1px solid #eaeaea;
- }
- /* variables */
- #\:9 {
- border-left: 10px solid #33cc99;
- border-bottom: 1px solid #eaeaea;
- }
- /* text */
- #\:b {
- border-left: 10px solid #40bfe4;
- border-bottom: 1px solid #eaeaea;
- }
- /* lists */
- #\:d {
- border-left: 10px solid #ff6381;
- border-bottom: 1px solid #eaeaea;
- }
- /* functions */
- #\:f {
- border-left: 10px solid #ff8b2c;
- border-bottom: 1px solid #eaeaea;
- }
- /* i/o */
- #\:h {
- border-left: 10px solid #ffd62c;
- border-bottom: 1px solid #eaeaea;
- }
- /* time */
- #\:j {
- border-left: 10px solid #27c04f;
- border-bottom: 1px solid #eaeaea;
- }
- /* communication */
- #\:l {
- padding-top: 0px;
- border-left: #50ec7a
- }
- /*newly added*/
- /*
- .blocklyTreeSelected {
- background-color: #2c4fce !important;
- }*/
- #\:l>.blocklyTreeRow {
- background-color: #4d8bed !important;
- color: #ffffff;
- }
- /* add indicator to wifi_toolbox items */
- /* logic */
- #\:2a {
- border-left: 10px solid #4c97ff;
- border-bottom: 1px solid #eaeaea;
- }
- /* loops */
- #\:2c {
- border-left: 10px solid #9d64fd;
- border-bottom: 1px solid #eaeaea;
- }
- /* math */
- #\:2e {
- border-left: 10px solid #5472ea;
- border-bottom: 1px solid #eaeaea;
- }
- /* variables */
- #\:2g {
- border-left: 10px solid #ffab2f;
- border-bottom: 1px solid #eaeaea;
- }
- /* text */
- #\:2i {
- border-left: 10px solid #33cc99;
- border-bottom: 1px solid #eaeaea;
- }
- /* lists */
- #\:2k {
- border-left: 10px solid #40bfe4;
- border-bottom: 1px solid #eaeaea;
- }
- /* functions */
- #\:2m {
- border-left: 10px solid #ff6381;
- border-bottom: 1px solid #eaeaea;
- }
- /* time */
- #\:2o {
- border-left: 10px solid #ffd62c;
- border-bottom: 1px solid #eaeaea;
- }
- /* communication */
- #\:2q {
- border-left: 10px solid #27c04f;
- border-bottom: 1px solid #eaeaea;
- }
- #\:2s {
- padding-top: 0px;
- }
- #\:2s>.blocklyTreeRow {
- background-color: #e44c4c !important;
- color: #ffffff;
- }
- .switch_tooltip {
- top: -10px;
- background-color: black;
- color: white;
- border-radius: 5px;
- opacity: 0;
- position: absolute;
- -webkit-transition: opacity 0.5s;
- -moz-transition: opacity 0.5s;
- -ms-transition: opacity 0.5s;
- -o-transition: opacity 0.5s;
- transition: opacity 0.5s;
- }
- .switch:hover .tooltip {
- opacity: 1;
- }
- .add_margin {
- margin: 0 10px 0 10px;
- }
- .blocklyTreeRoot {
- height: 100%;
- }
- .resize {
- width: 90%;
- margin: 10px 5% 10px 5%;
- height: 30px;
- background-color: #5b8ae7;
- }
- .languages_logo {
- width: 36px;
- margin-top: 14px;
- }
- .lang_resize {
- height: 64px;
- }
- .status_detector {
- display: inline-block;
- margin-left: 50px;
- }
- .board_detector, .port_detector {
- display: inline-block;
- /*overwrite modal_section class*/
- margin: 0 10px;
- width: auto;
- }
- .board_detector {
- width: 250px;
- }
- .button_toggle_toolbox_on {
- position: absolute;
- margin: 0 !important;
- padding: 0 !important;
- left: 12px;
- top: 8px;
- text-align: center;
- font-size: 1.5rem !important;
- z-index: 5;
- border-color: #e0e0e0 !important;
- border-width: 1px !important;
- -webkit-border-radius: 4px 4px 4px 4px !important;
- -moz-border-radius: 4px 4px 4px 4px !important;
- border-radius: 4px 4px 4px 4px !important;
- background: rgba(98, 174, 178, .2) !important;
- /* Arduino Light Teal */
- -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
- -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
- transition: background 0.3s linear, box-shadow 0.3s linear, border-width 0.3s linear;
- -ms-transition: background 0.3s linear, box-shadow 0.3s linear, border-width 0.3s linear;
- -moz-transition: background 0.3s linear, -moz-box-shadow 0.3s linear, border-width 0.3s linear;
- -webkit-transition: background 0.3s linear, -webkit-box-shadow 0.3s linear, border-width 0.3s linear;
- }
- .button_toggle_toolbox_off {
- position: absolute;
- margin: 0 !important;
- padding: 0px !important;
- left: 12px;
- top: 8px;
- text-align: center;
- font-size: 1.5rem !important;
- z-index: 5;
- }
|