<commit_before>@odoo-list-group-header-color: lighten(@odoo-list-grey, 10%);
.o_list_view {
    cursor: pointer;
    background-color: @odoo-view-background-color;
    margin-bottom: 0px;

    &.table {
        td, th {
           vertical-align: middle;
        }
    }

    thead {
        color: @odoo-main-text-color;
        background-color: #eee;
        border-bottom: 1px solid #cacaca;
        > tr > th {
            border-left: 1px solid #dfdfdf;
            &:not(.o_column_sortable):hover {
                cursor: default;
            }
        }
    }

    tfoot {
        cursor: default;
        color: @odoo-list-footer-color;
        background-color: @odoo-list-footer-bg-color;
        font-weight: @odoo-list-footer-font-weight;
        border-top: 2px solid #cacaca;
        border-bottom: 1px solid #cacaca;
    }

    .o_column_sortable {
        .user-select(none);  // Prevent unwanted selection while sorting

        &.o-sort-up:after {
            font-family: FontAwesome;
            margin-left: 5px;
            content: "\f0d7";
        }
        &.o-sort-down:after {
            font-family: FontAwesome;
            margin-left: 5px;
            content: "\f0d8";
        }
    }

    .o_list_record_selector {
        width: 1px;  // to prevent the column to expand
        > input {
            margin-left: 3px;
            .hidden-xs();
        }
    }

    .o_list_record_delete {
        width: 13px;
    }

    .o_handle_cell {
        width: 1px; // to prevent the column to expand
        .o_row_handle {
            cursor: ns-resize;
        }
    }

    // Decoration of the row
    .text-bf {
        font-weight: bold;
    }
    .text-it {
        font-style: italic;
    }
    .text-muted {
        color: lighten(@text-muted, 10%);
    }

    // Grouped list views
    tbody > tr.o_group_header {
        .o-vertical-gradient(#fcfcfc, #dedede);

        .o_group_name {
            white-space: nowrap;
        }
        .o_group_pager {
            cursor: text;
            .user-select(none);
            text-align: right;
            .o_pager_previous, .o_pager_next {
                background-color: @odoo-list-group-header-color;
                &:hover {
                    background-color: darken(@odoo-list-group-header-color, 10%);
                }
            }
        }
    }
    tbody + tbody {
        border-top: none;  // Override bootstrap for grouped list views
    }

    .o_list_number {
        text-align: right;
        white-space: nowrap;
    }
    .o_list_text {
        white-space: pre-wrap;
    }
}

.o_list_editable {
    position: relative;

    .o_temp_visible {
        opacity: 0;
        display: block!important;

        &.o_form_invisible {
            display: block!important;
        }
    }

    .o_list_view {
        .o_row_edition > td {
            visibility: hidden;  // Hide row's content during edition
            &.o_list_record_selector, &.o_list_record_delete, &.o_list_button {
                visibility: visible;
            }

            &.o_list_record_delete {
                opacity: 0.5;
                pointer-events: none;
            }

            &.o_readonly {
                visibility: visible;
                color: transparent;
            }
        }
    }

    .o_form_view.o_list_editable_form {
        padding: 0;
        > .o_form_field {
            padding: 0;
            position: absolute;
            white-space: nowrap;
            &.o_form_textarea {
                white-space: pre-wrap;
            }
            .o_form_field, .badge { // Many2Many tags
                display: block;
                float: left;
                white-space: normal;
                max-width: 100%; // Fix a chrome bug where badge would not break on multiple lines
            }

            &.o_readonly {
                background-color: transparent;
                padding: 5px;
            }
        }
        > .o_field_translate {
            position: absolute;
            width: 16px; // to have some space on the right
        }
        .o_form_input_dropdown {
            height: 100%;<commit_msg>[MERGE] forward port branch saas-11 up to b5971e417f3<commit_after>@odoo-list-group-header-color: lighten(@odoo-list-grey, 10%);
.o_list_view {
    cursor: pointer;
    background-color: @odoo-view-background-color;
    margin-bottom: 0px;

    &.table {
        td, th {
           vertical-align: middle;
        }
    }

    thead {
        color: @odoo-main-text-color;
        background-color: #eee;
        border-bottom: 1px solid #cacaca;
        > tr > th {
            border-left: 1px solid #dfdfdf;
            &:not(.o_column_sortable):hover {
                cursor: default;
            }
        }
    }

    tfoot {
        cursor: default;
        color: @odoo-list-footer-color;
        background-color: @odoo-list-footer-bg-color;
        font-weight: @odoo-list-footer-font-weight;
        border-top: 2px solid #cacaca;
        border-bottom: 1px solid #cacaca;
    }

    .o_column_sortable {
        .user-select(none);  // Prevent unwanted selection while sorting

        &.o-sort-up:after {
            font-family: FontAwesome;
            margin-left: 5px;
            content: "\f0d7";
        }
        &.o-sort-down:after {
            font-family: FontAwesome;
            margin-left: 5px;
            content: "\f0d8";
        }
    }

    .o_list_record_selector {
        width: 1px;  // to prevent the column to expand
        > input {
            margin-left: 3px;
            .hidden-xs();
        }
    }

    .o_list_record_delete {
        width: 13px;
    }

    .o_handle_cell {
        width: 1px; // to prevent the column to expand
        .o_row_handle {
            cursor: ns-resize;
        }
    }

    // Decoration of the row
    .text-bf {
        font-weight: bold;
    }
    .text-it {
        font-style: italic;
    }
    .text-muted {
        color: lighten(@text-muted, 10%);
    }

    // Grouped list views
    tbody > tr.o_group_header {
        .o-vertical-gradient(#fcfcfc, #dedede);

        .o_group_name {
            white-space: nowrap;
        }
        .o_group_pager {
            cursor: text;
            .user-select(none);
            text-align: right;
            .o_pager_previous, .o_pager_next {
                background-color: @odoo-list-group-header-color;
                &:hover {
                    background-color: darken(@odoo-list-group-header-color, 10%);
                }
            }
        }
    }
    tbody + tbody {
        border-top: none;  // Override bootstrap for grouped list views
    }

    .o_list_number {
        text-align: right;
        white-space: nowrap;
    }
    .o_list_text {
        white-space: pre-wrap;
    }
}

.o_list_editable {
    position: relative;

    .o_temp_visible {
        opacity: 0;
        display: block!important;

        &.o_form_invisible {
            display: block!important;
        }
    }

    .o_list_view {
        .o_row_edition > td {
            visibility: hidden;  // Hide row's content during edition
            &.o_list_record_selector, &.o_list_record_delete, &.o_list_button {
                visibility: visible;
            }

            &.o_list_record_delete {
                opacity: 0.5;
                pointer-events: none;
            }

            &.o_readonly {
                visibility: visible;
                color: transparent;

                > .o_checkbox {
                    visibility: hidden;
                }
            }
        }
    }

    .o_form_view.o_list_editable_form {
        padding: 0;
        > .o_form_field {
            padding: 0;
            position: absolute;
            white-space: nowrap;
            &.o_form_textarea {
                white-space: pre-wrap;
            }
            .o_form_field, .badge { // Many2Many tags
                display: block;
                float: left;
                white-space: normal;
                max-width: 100%; // Fix a chrome bug where badge would not break on multiple lines
            }

            &.o_readonly:not(.o_checkbox) {
                background-color: transparent;
                padding: 5px;
            }
        }
        > .o_field_translate {
            position: absolute;
            width: 16px; // to have some space on the right
        }
        .o_form_input_dropdown {
            height: 100%;
{'fraction_non_alphanumeric': 0.10460992907801418, 'fraction_numerical': 0.009929078014184398, 'mean_word_length': 1.3016866158868334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, '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': '4926531', 'n_tokens_mistral': 2741, 'n_tokens_neox': 2550, 'n_words': 505}