///Theme for component table.
///
///@author Federico Gambardella<fedega86@libero.it>
///@param $section
///@param $map
@mixin component-table($section, $map) {
    @if($section == 'table') {
        .fk-table {
  
            thead tr {
                border-bottom: map-get($map,header-row-border);
                background: map-get($map,header-row-bg)!important;
                color:map-get($map,header-row-color)!important;
                border-left:none;
                border-right: none;
            }
        
            tbody tr {
        
                &:hover {
                    color: map-get($map,header-row-color-hover);
                }
            }
        }
        
        
        .fk-table-bordered {
        
            tbody tr {
        
                td {
                    border-top: map-get($map,bordered-body-column-border-top);
                }
            }
        
        }
        
        .fk-table-full-bordered {
        
            tbody tr {
        
                td {
                    border: map-get($map,full-bordered-header-border);
                }
            }
        
            th {
                border:map-get($map,full-bordered-header-border);
            }
        
        }
        
        
        .fk-table-container {
            
            th {
               background-color: map-get($map,header-row-bg);
            }
        }
        
        
        .fk-table-stripped {
        
            tbody tr {
        
                &:nth-child(even){background-color: map-get($map, body-row-stripped-bg)}
        
            }
        }
           
        .fk-header-sticky { 
            
            thead  th {
                box-shadow: inset 0 2px 0 map-get($map, header-sticky-color),
                        inset 0 -2px 0 map-get($map, header-sticky-color);
        
            }
        
         
        }             
       
        .fk-sort-icon {
            color: map-get($map,  sort-icon-color);
        }
    }
  }

