2017-08-11 02:10:08 +02:00
|
|
|
@import 'themes/default/globals/site.variables';
|
|
|
|
@import 'themes/pxt/globals/site.variables';
|
|
|
|
@import 'site/globals/site.variables';
|
|
|
|
|
|
|
|
@import 'blockly-core';
|
|
|
|
|
2017-12-18 22:04:17 +01:00
|
|
|
/* Toolbox icons */
|
|
|
|
|
|
|
|
/* Fonts for toolbox icons */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'legoIcons';
|
2018-01-04 20:39:20 +01:00
|
|
|
src: data-uri("../docs/static/fonts/icons/iconfont.woff");
|
2017-12-18 22:04:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyFlyoutLabel:not(.blocklyFlyoutHeading) .blocklyFlyoutLabelIcon {
|
|
|
|
fill: white;
|
|
|
|
font-size: 1.7rem;
|
|
|
|
}
|
|
|
|
|
2018-01-02 22:01:28 +01:00
|
|
|
.blocklyFlyoutLabel .blocklyFlyoutLabelIcon {
|
|
|
|
font-family: 'legoIcons';
|
|
|
|
}
|
|
|
|
|
2017-12-21 20:00:54 +01:00
|
|
|
span.blocklyTreeIcon {
|
|
|
|
font-family: 'legoIcons' !important;
|
|
|
|
}
|
|
|
|
|
2017-08-11 02:10:08 +02:00
|
|
|
/* Toolbox padding */
|
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
|
|
|
padding: 0.5rem;
|
2017-12-15 17:55:21 +01:00
|
|
|
/*box-shadow: inset 0px 0px 0px 2px #D3A805;
|
2017-08-11 02:10:08 +02:00
|
|
|
border-bottom-left-radius: 3px;
|
2017-12-15 17:55:21 +01:00
|
|
|
border-bottom-right-radius: 3px;*/
|
2017-08-11 02:10:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
div.blocklyTreeRow {
|
|
|
|
border-radius: 0px;
|
2017-12-19 23:20:35 +01:00
|
|
|
margin-bottom: 7px;
|
|
|
|
/*-webkit-box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.2);
|
2017-12-12 01:55:00 +01:00
|
|
|
-moz-box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.2);
|
2017-12-19 23:20:35 +01:00
|
|
|
box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.2);*/
|
|
|
|
}
|
|
|
|
|
|
|
|
div.blocklyTreeSeparator {
|
|
|
|
border-bottom: solid #CEA403 2px;
|
2017-08-11 02:10:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove shadow around blockly blocks */
|
|
|
|
.blocklyPathDark, .blocklyPathLight {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly Text */
|
|
|
|
span.blocklyTreeLabel {
|
|
|
|
font-family: @pageFont !important;
|
|
|
|
font-size:1rem !important;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Search box */
|
|
|
|
#blocklySearchArea {
|
|
|
|
margin: 0.5rem;
|
|
|
|
margin-left: 1rem;
|
|
|
|
margin-right: 1rem;
|
2017-12-19 23:20:35 +01:00
|
|
|
margin-bottom: 0.8rem;
|
2017-08-11 02:10:08 +02:00
|
|
|
}
|
|
|
|
.blocklySearchInputField {
|
|
|
|
border-radius: 1rem !important;
|
|
|
|
}
|
|
|
|
|
2018-01-02 22:32:07 +01:00
|
|
|
|
|
|
|
/* Square shaped corners */
|
|
|
|
.blocklyDropDownDiv {
|
|
|
|
border-radius: 0px !important;
|
|
|
|
}
|
|
|
|
|
2018-01-06 09:12:32 +01:00
|
|
|
.blocklyDropDownArrow.arrowTop {
|
|
|
|
border-top-left-radius: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyToggleRect {
|
|
|
|
rx: 0 !important;
|
|
|
|
ry: 0 !important;
|
|
|
|
}
|
|
|
|
|
2018-01-07 06:00:39 +01:00
|
|
|
.blocklyDropDownButton {
|
|
|
|
border-radius: 0px !important;
|
|
|
|
}
|
|
|
|
|
2017-08-11 02:10:08 +02:00
|
|
|
/* Mobile */
|
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
#blocklyTrashIcon {
|
|
|
|
margin: 0.2rem;
|
|
|
|
}
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIconloops::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f10b";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIconlogic::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f10a";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIconvariables::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f111";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIconmath::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f10c";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
2018-01-03 21:35:33 +01:00
|
|
|
span.blocklyTreeIcon.blocklyTreeIconfunctions {
|
|
|
|
font-family: 'legoIcons' !important;
|
|
|
|
}
|
2017-12-21 20:00:54 +01:00
|
|
|
span.blocklyTreeIcon.blocklyTreeIconfunctions::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f108";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIconarrays::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f109";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIcontext::before {
|
2018-01-02 21:49:25 +01:00
|
|
|
content: "\f110";
|
2017-12-21 20:00:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span.blocklyTreeIcon.blocklyTreeIconaddpackage::before {
|
|
|
|
content: "\f105";
|
2017-12-21 20:10:47 +01:00
|
|
|
}
|
|
|
|
|
2018-01-03 02:07:36 +01:00
|
|
|
span.blocklyTreeIcon.blocklyTreeIconadvancedcollapsed::before {
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f113";
|
2018-01-03 02:07:36 +01:00
|
|
|
}
|
|
|
|
|
2018-01-03 02:30:19 +01:00
|
|
|
span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before {
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f114";
|
2018-01-04 18:52:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.save-editortools-btn .icon.save:before {
|
|
|
|
font-family: 'legoIcons';
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f118";
|
2018-01-03 02:30:19 +01:00
|
|
|
}
|
|
|
|
|
2018-01-04 18:52:12 +01:00
|
|
|
.download-button .icon.download.icon-and-text:before {
|
2018-01-04 00:02:24 +01:00
|
|
|
font-family: 'legoIcons';
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f117";
|
2018-01-04 00:02:24 +01:00
|
|
|
}
|
|
|
|
|
2018-01-04 18:52:12 +01:00
|
|
|
.button.approve.positive i.icon.checkmark:before {
|
|
|
|
font-family: 'legoIcons';
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f116";
|
2017-12-21 20:10:47 +01:00
|
|
|
}
|
|
|
|
|
2018-01-04 18:52:12 +01:00
|
|
|
.button.approve.cancel i.icon.cancel:before {
|
|
|
|
font-family: 'legoIcons';
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f115";
|
2017-12-21 20:10:47 +01:00
|
|
|
}
|
|
|
|
|
2018-01-04 18:52:12 +01:00
|
|
|
.blocks-menuitem i.icon.blocks:before {
|
|
|
|
font-family: 'legoIcons' !important;
|
2018-01-05 19:38:26 +01:00
|
|
|
content: "\f119" !important;
|
2017-12-21 20:30:32 +01:00
|
|
|
}
|