<commit_before>@import "../../xMatter/bloom-xmatter-common.less";

@XMatterPackName: "Kyrgyz";
@HeaderHeight: 3.5cm;
@bleed: 3mm;

// When we convert the pdf to cmyk, white and even #fefefe come out seemingly transparent,
// which is wrong since there is a background color
//@white: #fdfdfd;
@white: white;

div.bloom-page.outsideFrontCover,
div.bloom-page.outsideBackCover {
    background-color: #193970 !important;
}

.outsideFrontCover .marginBox {
    top: 0;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}

.outsideBackCover .marginBox {
    top: 0;
    height: calc(100% - 15mm) !important;
    // width: calc(100% - 15mm) !important;

    [data-book="outside-back-cover-branding-bottom-html"] {
        display: none;
    }
}

.frontCover .placeholder,
.frontCover .bloom-imageContainer {
    margin-left: 1cm;

    margin-right: 1cm;
    display: flex;
}

.outsideFrontCover .marginBox img,
.outsideBackCover .marginBox img {
    margin-left: auto;
    margin-right: auto;
}

.frontCover .bottomBlock {
    margin-left: 1cm;
    margin-right: 1cm;
    margin-bottom: 1cm;
}

// don't show second language on cover
.frontCover
    .bloom-translationGroup.bookTitle
    .bloom-editable.bloom-contentNational1:not(.bloom-content1) {
    display: none;
}

.frontCover .bloom-translationGroup.bookTitle {
    color: black;
    background-color: @white;
    height: calc(
        @HeaderHeight - @bleed
            // if you touch this make sure the header is the same height one front and back covers!
    );
    /*flex-basis: content;*/
    flex-direction: unset;
    align-items: center;

    // padding here instead of margin so that it's still white in these areas instead of blue
    padding-top: @bleed;
    padding-left: 1cm;
    padding-right: 1cm;
}

.frontCover .creditsRow:after {
    content: "◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇";
    color: #97c955;
    font-size: 7px;<commit_msg>Fine tune KyrGyz2020 front cover title position (BL-8981)<commit_after>@import "../../xMatter/bloom-xmatter-common.less";
@import (reference) "../../../bookLayout/basePage.less";

@XMatterPackName: "Kyrgyz";
@HeaderHeight: 3.5cm;
@bleed: 3mm;

// When we convert the pdf to cmyk, white and even #fefefe come out seemingly transparent,
// which is wrong since there is a background color
//@white: #fdfdfd;
@white: white;

div.bloom-page.outsideFrontCover,
div.bloom-page.outsideBackCover {
    background-color: #193970 !important;
}

.outsideFrontCover .marginBox {
    top: 0;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}

.outsideBackCover .marginBox {
    top: 0;
    height: calc(100% - 15mm) !important;
    // width: calc(100% - 15mm) !important;

    [data-book="outside-back-cover-branding-bottom-html"] {
        display: none;
    }
}

.frontCover .placeholder,
.frontCover .bloom-imageContainer {
    margin-left: 1cm;

    margin-right: 1cm;
    display: flex;
}

.outsideFrontCover .marginBox img,
.outsideBackCover .marginBox img {
    margin-left: auto;
    margin-right: auto;
}

.frontCover .bottomBlock {
    margin-left: 1cm;
    margin-right: 1cm;
    margin-bottom: 1cm;
}

// don't show second language on cover
.frontCover
    .bloom-translationGroup.bookTitle
    .bloom-editable.bloom-contentNational1:not(.bloom-content1) {
    display: none;
}

.frontCover .bloom-translationGroup.bookTitle {
    color: black;
    background-color: @white;
    // if you touch this make sure the header is the same height on front and back covers!;
    height: @HeaderHeight;
    box-sizing: border-box; // padding doesn't affect height.
    /*flex-basis: content;*/
    flex-direction: column;
    justify-content: center;

    // padding here instead of margin so that it's still white in these areas instead of blue
    padding-top: @bleed; // center it calculating the height below the bleed
    padding-left: 1cm;
    padding-right: 1cm;

    // repeat to make more specific than other rules
    .bloom-editable.bloom-editable.bloom-content1 {
        margin-bottom: 0; // don't want this to mess with vertical centering
        flex-grow: 0; // center it, don't grow it
    }
}

// This much of the translation group will be trimmed off if the printer
// achieves the ideal trim cut: the bleed area plus the amount of the original
// A5 page that is cut off when we scale the width to RA4 which makes the height
// a bit more than RA5. And similarly for other sizes.
.frontCover.A5Portrait .bloom-translationGroup.bookTitle {
    padding-top: @bleed + @A5Portrait-Height-Excess / 2;
}
.frontCover.USComicPortrait .bloom-translationGroup.bookTitle {
    padding-top: @bleed + @USComicPortrait-Height-Excess / 2;
}

.frontCover .creditsRow:after {
    content: "◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇◇";
    color: #97c955;
    font-size: 7px;
{'fraction_non_alphanumeric': 0.16143228645729146, 'fraction_numerical': 0.02080416083216643, 'mean_word_length': 3.332755632582322, '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': '1921912', 'n_tokens_mistral': 2412, 'n_tokens_neox': 2024, 'n_words': 455}