<commit_before>@import "../bloomUI.less";
@MinTextBoxWidth: 30px;
@MinTextBoxHeight: 40px;
@DefaultTextBoxWidth: 140px;
@DefaultTextBoxHeight: @MinTextBoxHeight;
@DragHandleBackgroundColor: transparent;

// Don't show text over picture borders or resizing handles unless hovering over the image
.bloom-imageContainer:not(.hoverUp) .bloom-textOverPicture {
    .bloom-editable {
        border: none;
        // keeps text from jumping when switching between hover/nothover states
        padding-left: 1px;
        padding-top: 2px;
        &:after {
            content: "" !important;
        }
    }
    .bloom-textOverPicture {
        .ui-resizable-handle {
            display: none !important;
        }
        .bloom-dragHandleTOP {
            display: none;
        }
    }
}

.bloom-imageContainer {
    .bloom-textOverPicture {
        position: absolute;
        width: @DefaultTextBoxWidth;
        height: @DefaultTextBoxHeight;
        min-width: @MinTextBoxWidth;
        min-height: @MinTextBoxHeight;
        border-radius: 3px;
        border: none !important; // needed to override ui-draggable blue border
        z-index: @textOverPictureZIndex;
        .bloom-dragHandleTOP {
            position: absolute;
            background: url("img/dragHandleGrey.svg") no-repeat center;
            background-size: contain;
            background-color: @DragHandleBackgroundColor;
            width: 16px;
            height: 16px;
            left: -12px;
            top: -12px;
            cursor: move;
            z-index: @dragHandleZIndex; // keep above textbox
        }
        .bloom-translationGroup {
            background: transparent; // don't want to worry about what background the image has<commit_msg>Partial fix for BL-6196<commit_after>@import "../bloomUI.less";
@MinTextBoxWidth: 30px;
@MinTextBoxHeight: 40px;
@DefaultTextBoxWidth: 140px;
@DefaultTextBoxHeight: @MinTextBoxHeight;
@DragHandleBackgroundColor: transparent;

// Don't show text over picture borders or resizing handles unless hovering over the image
.bloom-imageContainer:not(.hoverUp) .bloom-textOverPicture {
    .bloom-editable {
        border: none;
        // keeps text from jumping when switching between hover/nothover states
        padding-left: 1px;
        padding-top: 2px;
        &:after {
            content: "" !important;
        }
    }
    .bloom-textOverPicture {
        .ui-resizable-handle {
            display: none !important;
        }
        .bloom-dragHandleTOP {
            display: none;
        }
    }
}

.bloom-imageContainer {
    .bloom-textOverPicture {
        position: absolute;
        width: @DefaultTextBoxWidth;
        height: @DefaultTextBoxHeight;
        min-width: @MinTextBoxWidth;
        min-height: @MinTextBoxHeight;
        border-radius: 3px;
        border: none !important; // needed to override ui-draggable blue border
        z-index: @textOverPictureZIndex;
        .bloom-dragHandleTOP {
            position: absolute;
            background: url("/bloom/bookEdit/img/dragHandleGrey.svg") no-repeat
                center;
            background-size: contain;
            background-color: @DragHandleBackgroundColor;
            width: 16px;
            height: 16px;
            left: -12px;
            top: -12px;
            cursor: move;
            z-index: @dragHandleZIndex; // keep above textbox
        }
        .bloom-translationGroup {
            background: transparent; // don't want to worry about what background the image has
{'fraction_non_alphanumeric': 0.09483248154457695, 'fraction_numerical': 0.011357183418512209, 'mean_word_length': 2.1287744227353462, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4663697', 'n_tokens_mistral': 1010, 'n_tokens_neox': 960, 'n_words': 240}