<commit_before>/*
 * Copyright (C) 2012-2020  Online-Go.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


.Clock {
    & {
        flex: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;

        .main-time {
            flex-grow: 1;
            display: inline-block;
        }

        &.paused {
            animation-name: pulsate-paused-clock;
            animation-duration: 1s;
            animation-timing-function: step-end;
            animation-iteration-count: infinite
        }

        .overtime-container {
            flex-grow: 1;
            display: inline-block;
        }
        .periods-container {
            display: flex;
            justify-content: center;
            align-items: stretch;
            align-content: stretch;

            div {
                //margin: auto;
                margin-left: 0.5em;
                margin-right: 0.5em;
            }
        }

        .period-moves {
            display: inline-block;
            font-size: 10pt;
        }
        .period-time {
            display: inline-block;
            font-size: 10pt;
        }
        .byo-yomi-periods {
            display: inline-block;
            font-size: 10pt;
            margin-left: 0.5rem;

            &.sudden-death {
                color: red;
            }
        }
        .overtime {
            font-size: 6pt;
            text-align: center;
        }

        .pause-text {
            width: 100%;
            text-align: right;
            font-size: font-size-small;
            display: block;
        }

        .boxed {
            text-align: right;
        }
    }

    &.start-mode {
        &.black {
            color: #63A7FF !important;
        }
        &.white {
            color: #147AFF !important;
        }
    }

    &.in-overtime {
        .overtime {
            font-weight: bold;
            color: #a55 !important;
        }
        .boxed {
            border-color: #a55 !important;
        }

        .periods, .period-time, .byo-yomi-periods {
            font-size: font-size-mid;
        }
    }

    &.mini-goban {
        float: right;
        flex: auto;
        flex-shrink: 0;
        flex-grow: 1;
        flex-basis: auto;

        &.paused {
            color: #888;
        }
        &.in-overtime {
            .periods, .period-time, .byo-yomi-periods {
                font-size: font-size-small;
            }
        }
    }
}



<commit_msg>Don't change clock font sizes except on a game page<commit_after>/*
 * Copyright (C) 2012-2020  Online-Go.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


.Clock {
    & {
        flex: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;

        .main-time {
            flex-grow: 1;
            display: inline-block;
        }

        &.paused {
            animation-name: pulsate-paused-clock;
            animation-duration: 1s;
            animation-timing-function: step-end;
            animation-iteration-count: infinite
        }

        .overtime-container {
            flex-grow: 1;
            display: inline-block;
        }
        .periods-container {
            display: flex;
            justify-content: center;
            align-items: stretch;
            align-content: stretch;

            div {
                //margin: auto;
                margin-left: 0.5em;
                margin-right: 0.5em;
            }
        }

        .period-moves {
            display: inline-block;
        }
        .period-time {
            display: inline-block;
        }
        .byo-yomi-periods {
            display: inline-block;
            margin-left: 0.5rem;

            &.sudden-death {
                color: red;
            }
        }
        .overtime {
            font-size: 6pt;
            text-align: center;
        }

        .pause-text {
            width: 100%;
            text-align: right;
            font-size: font-size-small;
            display: block;
        }

        .boxed {
            text-align: right;
        }
    }

    &.start-mode {
        &.black {
            color: #63A7FF !important;
        }
        &.white {
            color: #147AFF !important;
        }
    }

    &.in-overtime {
        .overtime {
            font-weight: bold;
            color: #a55 !important;
        }
        .boxed {
            border-color: #a55 !important;
        }

    }

    &.mini-goban {
        float: right;
        flex: auto;
        flex-shrink: 0;
        flex-grow: 1;
        flex-basis: auto;

        &.paused {
            color: #888;
        }
        &.in-overtime {
            .periods, .period-time, .byo-yomi-periods {
                font-size: font-size-small;
            }
        }
    }
}



.MainGobanView {
    .period-moves {
        font-size: 10pt;
    }
    .period-time {
        font-size: 10pt;
    }
    .byo-yomi-periods {
        font-size: 10pt;
    }

    .periods, .period-time, .byo-yomi-periods {
        font-size: font-size-mid;
    }
}

{'fraction_non_alphanumeric': 0.10178710178710179, 'fraction_numerical': 0.013675213675213675, 'mean_word_length': 1.281460475008862, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4988441', 'n_tokens_mistral': 1977, 'n_tokens_neox': 1852, 'n_words': 487}