<commit_before>/* Import all components */

@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';
@import 'fieldeditors';
@import 'spriteeditor.less';

/*******************************
        Blockly SVG
*******************************/

svg.blocklySvg {
    background-color: @blocklySvgColor !important;
}

#maineditor, #blocksEditor > div.loading {
    background: @blocklySvgColor;
}

#blocksEditor {
    position: absolute;
    .injectionDiv svg {
        overflow: visible;
    }
    > div.loading {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        opacity: 0.7;
    }
}

.blocklyMainBackground {
    stroke: none !important;
}

.rtl text.blocklyText {
    text-align: right;
}

body.blocklyMinimalBody {
    min-width: initial;
    overflow: initial;
}

@supports (-ms-accelerator:true) {
    .rtl .blocklyPreview {
        right: 50%;
        left: auto;
    }
}

/*******************************
        Blockly Text
*******************************/

text.blocklyText, input.blocklyHtmlInput, .blocklyDropDownDiv .goog-menuitem, textarea.blocklyCommentTextarea {
    font-family: @blocklyFont !important;
    font-weight: normal;
}

text.blocklyFlyoutLabelText, .blocklyFlyoutButton text.blocklyText {
    font-family: @pageFont !important;
}

text.blocklyText.blocklyBoldText {
    font-weight: bold;
}

text.blocklyText.blocklyItalicizedText {
    font-style: italic;
}

text.blocklyText.blocklyBoldItalicizedText {
    font-weight: bold;
    font-style: italic;
}


/* Used by custom field in grey expression blocks */

.blocklyGreyExpressionBlockText {
    color: white;
}


/*******************************
        Blockly Flyout
*******************************/

.blocklyFlyoutButton {
    fill: none !important;
}

.blocklyFlyoutButton:hover {
    fill: @blocklyFlyoutButtonColor !important;
}

.blocklyFlyoutButtonBackground {
    stroke: @blocklyFlyoutButtonColor !important;
    stroke-width: 3px !important;
}

.blocklyFlyoutButton .blocklyText {
    fill: white !important;
}

.blocklyFlyoutButtonShadow {
    fill: none !important;
}

.blocklyFlyoutLabelText {
    fill: @flyoutLabelColor !important;
    font-size: 1rem;
}
<commit_msg>Fix button click issue on IE when the blocklyFlyoutButton has a background:none (#5005)<commit_after>/* Import all components */

@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';
@import 'fieldeditors';
@import 'spriteeditor.less';

/*******************************
        Blockly SVG
*******************************/

svg.blocklySvg {
    background-color: @blocklySvgColor !important;
}

#maineditor, #blocksEditor > div.loading {
    background: @blocklySvgColor;
}

#blocksEditor {
    position: absolute;
    .injectionDiv svg {
        overflow: visible;
    }
    > div.loading {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        opacity: 0.7;
    }
}

.blocklyMainBackground {
    stroke: none !important;
}

.rtl text.blocklyText {
    text-align: right;
}

body.blocklyMinimalBody {
    min-width: initial;
    overflow: initial;
}

@supports (-ms-accelerator:true) {
    .rtl .blocklyPreview {
        right: 50%;
        left: auto;
    }
}

/*******************************
        Blockly Text
*******************************/

text.blocklyText, input.blocklyHtmlInput, .blocklyDropDownDiv .goog-menuitem, textarea.blocklyCommentTextarea {
    font-family: @blocklyFont !important;
    font-weight: normal;
}

text.blocklyFlyoutLabelText, .blocklyFlyoutButton text.blocklyText {
    font-family: @pageFont !important;
}

text.blocklyText.blocklyBoldText {
    font-weight: bold;
}

text.blocklyText.blocklyItalicizedText {
    font-style: italic;
}

text.blocklyText.blocklyBoldItalicizedText {
    font-weight: bold;
    font-style: italic;
}


/* Used by custom field in grey expression blocks */

.blocklyGreyExpressionBlockText {
    color: white;
}


/*******************************
        Blockly Flyout
*******************************/

.blocklyFlyoutButton {
    fill: transparent !important;
}

.blocklyFlyoutButton:hover {
    fill: @blocklyFlyoutButtonColor !important;
}

.blocklyFlyoutButtonBackground {
    stroke: @blocklyFlyoutButtonColor !important;
    stroke-width: 3px !important;
}

.blocklyFlyoutButton .blocklyText {
    fill: white !important;
}

.blocklyFlyoutButtonShadow {
    fill: none !important;
}

.blocklyFlyoutLabelText {
    fill: @flyoutLabelColor !important;
    font-size: 1rem;
}

{'fraction_non_alphanumeric': 0.1826030649687028, 'fraction_numerical': 0.005611914526224908, 'mean_word_length': 3.5121713729308666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6239485', 'n_tokens_mistral': 1540, 'n_tokens_neox': 1484, 'n_words': 288}