2017-12-12 21:55:00 +03:00
|
|
|
@import 'themes/default/globals/site.variables';
|
|
|
|
@import 'themes/pxt/globals/site.variables';
|
|
|
|
@import 'site/globals/site.variables';
|
|
|
|
|
|
|
|
@import 'blockly-core';
|
|
|
|
|
|
|
|
/* Reference import */
|
|
|
|
@import (reference) "semantic.less";
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Blockly
|
|
|
|
*******************************/
|
|
|
|
|
2017-12-14 22:21:55 +03:00
|
|
|
.blocklyToolboxDiv {
|
|
|
|
padding:7px;
|
|
|
|
}
|
|
|
|
|
2017-12-12 21:55:00 +03:00
|
|
|
div.blocklyTreeRow {
|
2017-12-14 22:21:55 +03:00
|
|
|
border-radius:8px;
|
2017-12-12 21:55:00 +03:00
|
|
|
box-shadow: inset 0 -1px 0 0 #ecf0f1;
|
|
|
|
|
|
|
|
-webkit-transition-property: background-color; /* Safari */
|
|
|
|
-webkit-transition-duration: 1s; /* Safari */
|
|
|
|
transition-property: background-color;
|
|
|
|
transition-duration: 1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly toolbox font size same as the page font */
|
|
|
|
span.blocklyTreeLabel {
|
|
|
|
font-family: @pageFont !important;
|
|
|
|
font-weight: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
|
|
|
border-left: 1px solid #ecf0f1 !important;
|
|
|
|
box-shadow: 4px 0px 2px -4px rgba(0,0,0,0.12), 4px 0px 2px -4px rgba(0,0,0,0.24);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove shadow around blockly blocks */
|
|
|
|
.blocklyPathDark, .blocklyPathLight {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly Field: Grid picker */
|
|
|
|
.blocklyGridPickerTooltip {
|
|
|
|
padding: 3px 5px;
|
|
|
|
background-color: #fefefe;
|
|
|
|
border: black solid 3px;
|
|
|
|
color: black;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
|
2017-12-15 00:30:47 +03:00
|
|
|
.blocklyFlyoutBackground {
|
|
|
|
fill: #42495F !important;
|
|
|
|
}
|
|
|
|
|
2017-12-12 21:55:00 +03:00
|
|
|
/* Mobile */
|
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
|
|
|
border-left: 0 !important;
|
|
|
|
}
|
|
|
|
div.blocklyTreeRoot {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tablet */
|
|
|
|
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
|
|
|
border-left: 0 !important;
|
|
|
|
}
|
|
|
|
div.blocklyTreeRoot {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|