﻿/* Styles for grid
-----------------------------------------------------------*/

.kbgrid {
    border-collapse : collapse;
    margin-bottom: 0px;
}

.kbgrid-selection {
    width: 30px;
}

.kbgrid td {
    vertical-align: top;
    padding-bottom: 2px;
}

.kbgrid td, .kbgrid-header th {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
}

.kbgrid-header {
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.kbgrid-header th {
    text-align: left;
    padding-bottom: 4px;
}

.kbgrid-header-link {
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.kbgrid-header-link .fas {
    padding-left: 2px;
}


.kbgrid-highlight, .kbgrid-highlight a {
    font-weight: bold;
}

.kbgrid-actions-col,
.kbgrid-header th.kbgrid-actions-header {
    text-align: center;
} 

.kbgrid-actions-col .dropdown-toggle::after {
    /* Hide du caret du menu des actions */
    display: none;
}

.kbgrid-actions-item {
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.kbgrid-actions-item .dropdown-item .fas,
.kbgrid-actions-item .dropdown-item .far, 
.kbgrid-actions-item .dropdown-item .icon {
    margin-right: 5px;
}


.kbgrid-selectedcount .fas {
    width: 1rem !important;
}