/* Compact row spacing for admin listing grids. */
body.admin .dataTables_wrapper table.dataTable > tbody > tr > td {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    vertical-align: middle;
}

body.admin .dataTables_wrapper table.dataTable > tbody > tr,
body.admin .dataTables_wrapper table.dataTable > tbody > tr > td {
    min-height: 32px;
}

/* Explorer grids, including Expenses-style List and Detail views. */
html body.admin .expenses-grid-page .explorer-grid > tbody > tr,
html body.admin .expenses-grid-page .explorer-grid > tbody > tr > td {
    height: 32px !important;
    max-height: 32px !important;
}

/* Always show the active row/cell, even if the grid plugin omits its optional highlight class. */
html body.admin .expenses-grid-page .explorer-grid > tbody > tr.grid-row-active > td {
    background: #fff9df !important;
    box-shadow: inset 0 1px 0 #f0c85f, inset 0 -1px 0 #f0c85f !important;
}

html body.admin .expenses-grid-page .explorer-grid > tbody > tr.grid-row-active > td.grid-cell-active {
    background: #fff9df !important;
    box-shadow: inset 0 0 0 2px #f0ad4e !important;
}

html body.admin .expenses-grid-page .explorer-grid .explorer-grid-input,
html body.admin .expenses-grid-page .explorer-grid .explorer-grid-textarea {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding-top: 0;
    padding-bottom: 0;
}

body.admin .expenses-grid-row-actions {
    height: 24px;
    padding-top: 0;
    padding-bottom: 0;
}
