<commit_before>// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

@import '../../../protocol/css/includes/lib';

//* -------------------------------------------------------------------------- */
// Up-to-date page header

.c-page-header {
    background-color: $color-white;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    position: relative;
    text-align: center;

    .c-page-header-up-to-date {
        @include text-display-xs;

        display: none;
        font-weight: normal;
        margin: 0;
        min-height: 30px;
        width: 100%;

        &:before {
            background-image: url('/media/img/firefox/whatsnew/icon-green-check.svg');
            background-position: center left;
            background-repeat: no-repeat;
            background-size: 25px 25px;
            content: '';
            display: inline-block;
            height: 25px;
            margin-right: 10px;
            vertical-align: middle;
            width: 25px;
        }
    }

    .c-page-header-logo-moz {
        display: none;
    }

    &.show-up-to-date-message .c-page-header-up-to-date {
        display: block;
    }

    @media #{$mq-md} {
        .c-page-header-inner {
            min-height: 30px;
            position: relative;
        }

        .c-page-header-logo-moz {
            display: block;
            left: 0;
            position: absolute;
            top: 2px;
        }
    }
}

//* -------------------------------------------------------------------------- */
// Page content

.lite-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    margin-top: $spacing-md;

    @media #{$mq-md} {
        min-height: 180px;
    }

    @media #{$mq-lg} {
        align-items: flex-start;
    }
}

.lite-heading {
    display: flex;
    align-items: center;

    h1 {
        @include font-firefox;

        @include text-display-md;

        font-weight: normal;
        text-align: start;
        margin-bottom: 0;
        strong {
            white-space: nowrap;
        }
    }

    img {
        margin-right: $spacing-md;
        width: 60px;

        @media #{$mq-md} {
            width: 100px;
        }

        @media #{$mq-xl} {
            width: 120px;
        }
    }

}

.lite-body {
    background: #42d3ec radial-gradient(50% 50% at 50% 50%, #9CF1D7 0%, rgba(255, 255, 255, 0) 100%) no-repeat top center;
    color: $color-gray-80;
    overflow: hidden;
    position: relative;

    @media #{$mq-lg} {
        background-image: url('/media/img/firefox/whatsnew/lite/background.jpg');
        background-size: 2000px auto;
    }

    @media #{$mq-xl} {
        background-size: 2400px auto;
    }
}

.lite-text {
    @include text-display-sm;

    font-weight: bold;
    margin: 0 auto $spacing-lg auto;
    padding: $spacing-xl 0 $spacing-lg;
    line-height: 1.2;
    max-width: $content-sm;

    @media #{$mq-lg} {
        padding-top: 80px;
        min-height: 150px;<commit_msg>Fix background position on Firefox Lite /whatsnew page (#7991) (#8012)<commit_after>// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

@import '../../../protocol/css/includes/lib';

//* -------------------------------------------------------------------------- */
// Up-to-date page header

.c-page-header {
    background-color: $color-white;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    position: relative;
    text-align: center;

    .c-page-header-up-to-date {
        @include text-display-xs;

        display: none;
        font-weight: normal;
        margin: 0;
        min-height: 30px;
        width: 100%;

        &:before {
            background-image: url('/media/img/firefox/whatsnew/icon-green-check.svg');
            background-position: center left;
            background-repeat: no-repeat;
            background-size: 25px 25px;
            content: '';
            display: inline-block;
            height: 25px;
            margin-right: 10px;
            vertical-align: middle;
            width: 25px;
        }
    }

    .c-page-header-logo-moz {
        display: none;
    }

    &.show-up-to-date-message .c-page-header-up-to-date {
        display: block;
    }

    @media #{$mq-md} {
        .c-page-header-inner {
            min-height: 30px;
            position: relative;
        }

        .c-page-header-logo-moz {
            display: block;
            left: 0;
            position: absolute;
            top: 2px;
        }
    }
}

//* -------------------------------------------------------------------------- */
// Page content

.lite-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    margin-top: $spacing-md;

    @media #{$mq-md} {
        min-height: 180px;
    }

    @media #{$mq-lg} {
        align-items: flex-start;
    }
}

.lite-heading {
    display: flex;
    align-items: center;

    h1 {
        @include font-firefox;

        @include text-display-md;

        font-weight: normal;
        text-align: start;
        margin-bottom: 0;
        strong {
            white-space: nowrap;
        }
    }

    img {
        margin-right: $spacing-md;
        width: 60px;

        @media #{$mq-md} {
            width: 100px;
        }

        @media #{$mq-xl} {
            width: 120px;
        }
    }

}

.lite-body {
    background: #42d3ec radial-gradient(50% 50% at 50% 50%, #9CF1D7 0%, rgba(255, 255, 255, 0) 100%) no-repeat top center;
    color: $color-gray-80;
    overflow: hidden;
    position: relative;

    @media #{$mq-lg} {
        background-image: url('/media/img/firefox/whatsnew/lite/background.jpg');
        background-size: 2000px auto;
    }

    @media #{$mq-xl} {
        background-size: 2400px auto;
        background-position: top -95px center;
    }
}

.lite-text {
    @include text-display-sm;

    font-weight: bold;
    margin: 0 auto $spacing-lg auto;
    padding: $spacing-xl 0 $spacing-lg;
    line-height: 1.2;
    max-width: $content-sm;

    @media #{$mq-lg} {
        padding-top: 80px;
        min-height: 150px;
{'fraction_non_alphanumeric': 0.18135593220338983, 'fraction_numerical': 0.03143297380585516, 'mean_word_length': 1.4784268804887362, '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': '2392858', 'n_tokens_mistral': 2292, 'n_tokens_neox': 2049, 'n_words': 478}