pxt-ev3/theme/blockly.less

66 lines
1.3 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
.blocklyFlyoutLabel:not(.blocklyFlyoutHeading) .blocklyFlyoutLabelIcon {
fill: white;
font-size: 1.7rem;
}
2018-01-02 22:01:28 +01:00
.blocklyFlyoutLabel .blocklyFlyoutLabelIcon {
2018-01-10 18:55:58 +01:00
font-family: 'legoIcons' !important;
2018-01-02 22:01:28 +01:00
}
/* Square shaped corners */
.blocklyDropDownDiv {
border-radius: 0px !important;
}
.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;
}
/* Music field editor */
.blocklyMusicFieldOptions .blocklyDropdownText, .blocklyMusicFieldCategories .blocklyDropdownText {
display: flex;
justify-content: center;
line-height: 1.5rem;
color: #fff;
font-size: 13px;
}
.blocklyMusicFieldCategories {
position: absolute;
text-align: center;
left: 0;
right: 0;
top: 0;
width: 100%;
font-size: 13px;
}
.blocklyMusicFieldOptions {
margin-top: 80px;
}
.blocklyDropdownTag {
padding: 2px;
font-weight: bold;
margin: 4px;
border-radius: 0;
outline: none;
border: 1px solid;
transition: box-shadow .1s;
cursor: pointer;
}