<commit_before>/* This file is part of Indico.
 * Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
 *
 * Indico is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 3 of the
 * License, or (at your option) any later version.
 *
 * Indico 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Indico; if not, see <http://www.gnu.org/licenses/>.
 */

@import "base";
@import "compass";
@import "partials/icons";

.static-sites {
    width: 650px;
    .i-table-widget {
        border: 0;
        // date
        th:nth-child(2),
        td:nth-child(2),
        // download
        th:nth-child(4),
        td:nth-child(4) {
            text-align: center;
        }
        // date
        td:nth-child(2) {
            color: $dark-gray;
        }
        // status
        th:nth-child(3),
        td:nth-child(3) {
            text-align: center;
            .i-label {
                width: 100%;
            }
        }
    }
}

.reminders {
    width: 650px;
}


// ============================================================================
// Log tables
// ============================================================================

.log-table.i-table {
    tr.log-realm-emails td.log-icon i.log-realm { @include icon-before('icon-mail'); }
    tr.log-realm-event td.log-icon i.log-realm { @include icon-before('icon-time'); }
    tr.log-realm-reviewing td.log-icon i.log-realm { @include icon-before('icon-user-reading'); }
    tr.log-realm-participants td.log-icon i.log-realm { @include icon-before('icon-users'); }
    tr.log-realm-management td.log-icon i.log-realm { @include icon-before('icon-medal'); }

    tr.log-kind-positive td.log-icon i.log-kind { color: $green; }
    tr.log-kind-negative td.log-icon i.log-kind { color: $red; }
    tr.log-kind-change td.log-icon i.log-kind { color: $blue; }
    tr.log-kind-other td.log-icon i.log-kind { display: none; }

    td.log-icon {
        color: $dark-gray;
        font-size: 1.2em;
        position: relative;
        width: 30px;

        i.log-kind {
            color: $blue;
            font-size: 0.7em;
            position: absolute;
            right: 3px;
            top: 1px;
        }
    }


    td.log-caption {
        width: 175px;
    }

    td.log-module {
        font-weight: bold;
        width: 150px;
    }

    td.log-subject {
        width: auto;
    }

    td.log-stamp {
        text-align: right;
        text-overflow: clip;
        width: 230px;

        span.user-name {
           display: inline-block;
           max-width: 120px;
           overflow: hidden;
           text-overflow: ellipsis;
           vertical-align: bottom;
        }
    }
}


.menu-entries {
    width: 340px;
    padding: 5px 10px 5px 5px;

    list-style: none;
    > li {
        margin-top: 5px;
        &:first-child {
            margin-top: 0;
        }
        > .menu-entry {
            &.with-children > .i-label {
                @include border-bottom-radius(0);
            }
            > .i-label {
                width: 100%;

                text-align: left;
                > .actions {
                    margin-right: -10px;
                    > * {
                        padding: 0 5px;
                        &:hover {
                            color: $blue
                        }
                    }
                    > .drag-handle {
                        @include icon-before('icon-menu-arrows');
                        cursor: move;
                    }
                    > .edit-entry {
                        @include icon-before('icon-edit');
                    }
                }
                &.highlight > .actions > *:hover {
                    color: $pastel-gray;
                }
                &.entry-internal_link,
                &.entry-user_link,
                &.entry-plugin_link {
                    @include icon-before('icon-link');
                }
                &.entry-page {
                    @include icon-before('icon-file');
                }
                &.entry-separator {
                    // TODO: find icon
                }
            }
        }
        &.menu-entry-placeholder {
            height: 2em;
            margin: 5px -5px 5px 5px;

            border: 2px dashed $gray;
        }
    }
}

// sub list of entries
.menu-entry > .menu-entries {
    @include border-all(darken($pastel-gray, $light-color-variation));
    @include border-bottom-radius();

    width: 303px;
    margin: 0 5px;
    padding-left: 25px;

    border-top: 0;
    background-color: $light-gray;
}


<commit_msg>Style improvements for menu entry visibility icon<commit_after>/* This file is part of Indico.
 * Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
 *
 * Indico is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 3 of the
 * License, or (at your option) any later version.
 *
 * Indico 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Indico; if not, see <http://www.gnu.org/licenses/>.
 */

@import "base";
@import "compass";
@import "partials/icons";

.static-sites {
    width: 650px;
    .i-table-widget {
        border: 0;
        // date
        th:nth-child(2),
        td:nth-child(2),
        // download
        th:nth-child(4),
        td:nth-child(4) {
            text-align: center;
        }
        // date
        td:nth-child(2) {
            color: $dark-gray;
        }
        // status
        th:nth-child(3),
        td:nth-child(3) {
            text-align: center;
            .i-label {
                width: 100%;
            }
        }
    }
}

.reminders {
    width: 650px;
}


// ============================================================================
// Log tables
// ============================================================================

.log-table.i-table {
    tr.log-realm-emails td.log-icon i.log-realm { @include icon-before('icon-mail'); }
    tr.log-realm-event td.log-icon i.log-realm { @include icon-before('icon-time'); }
    tr.log-realm-reviewing td.log-icon i.log-realm { @include icon-before('icon-user-reading'); }
    tr.log-realm-participants td.log-icon i.log-realm { @include icon-before('icon-users'); }
    tr.log-realm-management td.log-icon i.log-realm { @include icon-before('icon-medal'); }

    tr.log-kind-positive td.log-icon i.log-kind { color: $green; }
    tr.log-kind-negative td.log-icon i.log-kind { color: $red; }
    tr.log-kind-change td.log-icon i.log-kind { color: $blue; }
    tr.log-kind-other td.log-icon i.log-kind { display: none; }

    td.log-icon {
        color: $dark-gray;
        font-size: 1.2em;
        position: relative;
        width: 30px;

        i.log-kind {
            color: $blue;
            font-size: 0.7em;
            position: absolute;
            right: 3px;
            top: 1px;
        }
    }


    td.log-caption {
        width: 175px;
    }

    td.log-module {
        font-weight: bold;
        width: 150px;
    }

    td.log-subject {
        width: auto;
    }

    td.log-stamp {
        text-align: right;
        text-overflow: clip;
        width: 230px;

        span.user-name {
           display: inline-block;
           max-width: 120px;
           overflow: hidden;
           text-overflow: ellipsis;
           vertical-align: bottom;
        }
    }
}

%visible-action {
     @include icon-before('icon-eye');
}

%not-visible-action {
    @include icon-before('icon-eye-blocked');
    color: $red;
}

.menu-entries {
    width: 340px;
    padding: 5px 10px 5px 5px;

    list-style: none;
    > li {
        margin-top: 5px;
        &:first-child {
            margin-top: 0;
        }
        > .menu-entry {
            &.with-children > .i-label {
                @include border-bottom-radius(0);
            }
            > .i-label {
                width: 100%;

                text-align: left;
                > .actions {
                    margin-right: -10px;
                    > * {
                        padding: 0 5px;
                        color: $dark-gray;
                        &:hover {
                            color: $blue
                        }
                    }
                    > .visible {
                        @extend %visible-action;
                        &:hover {
                            @extend %not-visible-action;
                        }
                    }
                    > .not-visible {
                        @extend %not-visible-action;
                        &:hover {
                            @extend %visible-action;
                        }
                    }
                    > .drag-handle {
                        @include icon-before('icon-grid2');
                        cursor: move;
                    }
                    > .edit-entry {
                        @include icon-before('icon-edit');
                    }
                }
                &.highlight > .actions > *:hover {
                    color: $pastel-gray;
                }
                &.entry-internal_link,
                &.entry-user_link,
                &.entry-plugin_link {
                    @include icon-before('icon-link');
                }
                &.entry-page {
                    @include icon-before('icon-file');
                }
                &.entry-separator {
                    @include icon-before('icon-arrows-vert')
                }
            }
        }
        &.menu-entry-placeholder {
            height: 2em;
            margin: 5px -5px 5px 5px;

            border: 2px dashed $gray;
        }
    }
}

// sub list of entries
.menu-entry > .menu-entries {
    @include border-all(darken($pastel-gray, $light-color-variation));
    @include border-bottom-radius();

    width: 303px;
    margin: 0 5px;
    padding-left: 25px;

    border-top: 0;
    background-color: $light-gray;
}



{'fraction_non_alphanumeric': 0.1456383377012355, 'fraction_numerical': 0.014694870834893299, 'mean_word_length': 1.3581990730523064, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6881988', 'n_tokens_mistral': 3330, 'n_tokens_neox': 3040, 'n_words': 705}