/*
 * The executions grid.
 *
 * Only what has no core equivalent: a progress bar inside a cell, and two counter colours. Every
 * icon in the grid is a core class, which is why this file is short.
 */

.pdn_excel_import_progress {
    position: relative;
    height: 16px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.pdn_excel_import_progress_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #28a050;
    transition: width 0.3s ease;
}

.pdn_excel_import_progress_label {
    position: relative;
    display: block;
    text-align: center;
    line-height: 16px;
    font-size: 11px;
}

/* A failed row is red; a row with warnings is amber. Zeroes render blank rather than coloured, so a
   column of noughts cannot hide the one entry that is not. */
.pdn_excel_import_count_failed {
    color: #c0392b;
    font-weight: bold;
}

.pdn_excel_import_count_warning {
    color: #b9770e;
    font-weight: bold;
}

/* The whole row, for the one thing that should not need reading a column to notice. */
.pdn_excel_import_row_attention .x-grid-cell {
    background-color: rgba(192, 57, 43, 0.06);
}
