<commit_before>@import '~@angular/material/theming';

@mixin adf-login-theme($theme) {
    $primary: map-get($theme, primary);
    $accent: map-get($theme, accent);
    $warn: map-get($theme, warn);
    $background: map-get($theme, background);
    $foreground: map-get($theme, foreground);
    $text-color-primary: mat-color($foreground, text);

    .adf-login {
        @include flex-column;
    }

    .adf-login-content {
        background-size: cover;
        background-position: center;
        min-height: 100%;
        min-width: 320px;
        display: flex;
        justify-content: center;
        flex-direction: column;

        // IE11 vertical centering
        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
            & {
                display: table;
                width: 100%;
                height: 100%;
            }
        }

        .adf-ie11FixerParent {
            margin-top: 16px;
            min-width: 320px;

            // IE11 vertical centering
            @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
                display: table-cell;
                vertical-align: middle;
                width: 100%;
                padding-top: 16px;
            }
        }

        // IE11 vertical centering
        .adf-ie11FixerChild {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .adf-show {
            display: block !important;
        }

        .adf-hide {
            display: none !important;
        }

        .adf-icon-inline {
            position: absolute;
            display: block;
            top: 31%;
            left: 82%;
            width: 30px;
            overflow: hidden;
        }

        .adf-login-card-wide {
            border-radius: 8px;
            background-color: mat-color($background, dialog);
            box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
            width: 450px;
            min-width: 320px;
            padding: 21px 64px 34px;
            box-sizing: border-box;
        }

        @media (max-width: 482px) {
            .adf-login-card-wide {
                width: calc(100% - 32px);
            }
        }

        .adf-error-container {
            height: 45px;
        }

        .adf-error-message {
            display: flex;
            box-orient: horizontal;
            flex-direction: row;
            justify-content: flex-start;

            color: mat-color($warn);
            padding: 0;
            margin-bottom: 4px;
            font-size: 13px;
        }

        .adf-error-message .adf-error-icon {
            margin-right: 10px;
        }

        .mat-card-header-text {
            margin: 0 auto;
        }

        .adf-img-logo {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .adf-alfresco-logo {
            padding: 24px 16px;
        }

        .adf-alfresco-logo img {
            max-height: 58px;
        }

        .adf-login-button {
            width: 100%;
            height: 36px;
            line-height: 38px;
            box-shadow: none;
        }

        .adf-login-button-label {
            color: rgb(255, 255, 255);
        }

        .adf-login-button.adf-isChecking {
            background-color: #e0f7fa;
        }

        .adf-login-button.adf-isChecking .adf-login-button-label {
            color: #00bcd4;
        }

        .adf-login-button.adf-isWelcome {
            background-color: #00bcd4;
            color: #ffffff;
        }

        .adf-login-button.adf-isWelcome .adf-welcome-icon {
            margin: 5px 0 0 10px;
        }

        .adf-interactive-login-label {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;

            -webkit-box-orient: horizontal;
            -moz-box-orient: horizontal;
            box-orient: horizontal;<commit_msg>[ACA-2556] Change checking and welcome colors in login button (#5618)<commit_after>@import '~@angular/material/theming';

@mixin adf-login-theme($theme) {
    $primary: map-get($theme, primary);
    $accent: map-get($theme, accent);
    $warn: map-get($theme, warn);
    $background: map-get($theme, background);
    $foreground: map-get($theme, foreground);
    $text-color-primary: mat-color($foreground, text);

    .adf-login {
        @include flex-column;
    }

    .adf-login-content {
        background-size: cover;
        background-position: center;
        min-height: 100%;
        min-width: 320px;
        display: flex;
        justify-content: center;
        flex-direction: column;

        // IE11 vertical centering
        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
            & {
                display: table;
                width: 100%;
                height: 100%;
            }
        }

        .adf-ie11FixerParent {
            margin-top: 16px;
            min-width: 320px;

            // IE11 vertical centering
            @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
                display: table-cell;
                vertical-align: middle;
                width: 100%;
                padding-top: 16px;
            }
        }

        // IE11 vertical centering
        .adf-ie11FixerChild {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .adf-show {
            display: block !important;
        }

        .adf-hide {
            display: none !important;
        }

        .adf-icon-inline {
            position: absolute;
            display: block;
            top: 31%;
            left: 82%;
            width: 30px;
            overflow: hidden;
        }

        .adf-login-card-wide {
            border-radius: 8px;
            background-color: mat-color($background, dialog);
            box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
            width: 450px;
            min-width: 320px;
            padding: 21px 64px 34px;
            box-sizing: border-box;
        }

        @media (max-width: 482px) {
            .adf-login-card-wide {
                width: calc(100% - 32px);
            }
        }

        .adf-error-container {
            height: 45px;
        }

        .adf-error-message {
            display: flex;
            box-orient: horizontal;
            flex-direction: row;
            justify-content: flex-start;

            color: mat-color($warn);
            padding: 0;
            margin-bottom: 4px;
            font-size: 13px;
        }

        .adf-error-message .adf-error-icon {
            margin-right: 10px;
        }

        .mat-card-header-text {
            margin: 0 auto;
        }

        .adf-img-logo {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .adf-alfresco-logo {
            padding: 24px 16px;
        }

        .adf-alfresco-logo img {
            max-height: 58px;
        }

        .adf-login-button {
            width: 100%;
            height: 36px;
            line-height: 38px;
            box-shadow: none;
        }

        .adf-login-button-label {
            color: mat-contrast($accent, default);
        }

        .adf-login-button.adf-isChecking {
            background-color: #e0f7fa;
        }

        .adf-login-button.adf-isChecking .adf-login-button-label {
            color: mat-color($primary);
        }

        .adf-login-button.adf-isWelcome {
            background-color: mat-color($primary);
            color: mat-contrast($primary, default);
        }

        .adf-login-button.adf-isWelcome .adf-welcome-icon {
            margin: 5px 0 0 10px;
        }

        .adf-interactive-login-label {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;

            -webkit-box-orient: horizontal;
            -moz-box-orient: horizontal;
            box-orient: horizontal;
{'fraction_non_alphanumeric': 0.11820359281437126, 'fraction_numerical': 0.029341317365269463, 'mean_word_length': 1.2491246970105037, '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': '4930891', 'n_tokens_mistral': 2756, 'n_tokens_neox': 2444, 'n_words': 502}