/*!
 * Waltz - Enterprise Architecture
 * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
 * See README.md for more information
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific
 *
 */


.waltz-grid-row-select .ui-grid-row:hover .ui-grid-cell {
    background-color: #e9e9e9 !important;
    cursor: pointer;
}

.waltz-grid {
    border: none;
    min-height: 250px;

    .ui-grid-top-panel {
        background: none;
    }

    .ui-grid-row:nth-child(odd) {
        background-color: #f9f9f9 !important;
    }

    .ui-grid-row:not(:first-child) .ui-grid-cell {
        border-top: 1px solid #d4d4d4;
    }

    .ui-grid-header-cell {
        border-right: none;
        border-bottom: 1px solid #d4d4d4;
    }

    .ui-grid-header {
        border-right: none;
        border-bottom: 0 !important;
    }

    .ui-grid-cell {
        border-right: none;
        text-align: left;
    }

    .ui-grid-viewport {
        overflow-x: auto;
        overflow-y: auto;
    }

    .waltz-grid-report-cell {
        margin-bottom: 2px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        white-space: nowrap;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
        border-right: 1px solid #ddd;
        height: 28px;

        .report-grid-cell-text {
            display: flex;
            justify-content: center;
            flex-direction: column;
            padding-left: 4px;
            height: 28px;
            background: none;
        }
    }
}