// Tables
//
// Customizes the `.table` component with basic values, each used across all table variations.

// scss-docs-start table-variables
$table-cell-padding-y:        0.75rem !default;
$table-cell-padding-x:        0.75rem !default;
$table-cell-padding-y-sm:     0.5rem !default;
$table-cell-padding-x-sm:     0.5rem !default;

$table-cell-vertical-align:   top !default;

$table-color:                 var(--#{$prefix}body-color) !default;
$table-bg:                    transparent !default;
$table-accent-bg:             transparent !default;

$table-th-font-weight:        null !default;

$table-striped-color:         $table-color !default;
$table-striped-bg-factor:     0.75 !default;
$table-striped-bg:            var(--table-striped-bg) !default;

$table-active-color:          $table-color !default;
$table-active-bg-factor:      0.1 !default;
$table-active-bg:             var(--#{$prefix}gray-100) !default;

$table-hover-color:           $table-color !default;
$table-hover-bg-factor:       0.075 !default;
$table-hover-bg:              var(--table-hover-bg) !default;

$table-border-factor:         0.2 !default;
$table-border-width:          var(--#{$prefix}border-width) !default;
$table-border-color:          var(--#{$prefix}border-color) !default;

$table-striped-order:         odd !default;
$table-striped-columns-order: even !default;

$table-group-separator-color: currentcolor !default;

$table-caption-color:         $text-muted !default;

$table-bg-scale:              -80% !default;
// scss-docs-end table-variables

$table-loading-message-box-shadow:          0px 0px 50px 0px rgb(82, 63, 105, 0.15) !default;
$table-loading-message-bg:                  var(--#{$prefix}body-bg) !default;
$table-loading-message-color:               var(--#{$prefix}gray-700) !default;

// scss-docs-start table-loop
$table-variants: (
  'primary':    shift-color($primary, $table-bg-scale),
  'secondary':  shift-color($secondary, $table-bg-scale),
  'success':    shift-color($success, $table-bg-scale),
  'info':       shift-color($info, $table-bg-scale),
  'warning':    shift-color($warning, $table-bg-scale),
  'danger':     shift-color($danger, $table-bg-scale),
  'light':      $light,
  'dark':       $dark,
) !default;
// scss-docs-end table-loop
