pxt-ev3/theme/blockly.less

76 lines
1.7 KiB
Plaintext
Raw Normal View History

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';
src: data-uri("../docs/static/fonts/icons/iconfont.woff2");
}
.blocklyFlyoutLabel:not(.blocklyFlyoutHeading) .blocklyFlyoutLabelIcon {
font-family: 'legoIcons';
fill: white;
font-size: 1.7rem;
}
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;
margin-bottom: 7px;
/*-webkit-box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.2);
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;
text-transform: uppercase !important;
font-size:1rem !important;
font-weight: bold;
}
/* Search box */
#blocklySearchArea {
margin: 0.5rem;
margin-left: 1rem;
margin-right: 1rem;
margin-bottom: 0.8rem;
2017-08-11 02:10:08 +02:00
}
.blocklySearchInputField {
border-radius: 1rem !important;
}
/* Square shaped corners */
.blocklyDropDownDiv {
border-radius: 0px !important;
}
2017-08-11 02:10:08 +02:00
/* Mobile */
@media only screen and (max-width: @largestMobileScreen) {
#blocklyTrashIcon {
margin: 0.2rem;
}
}