Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/monitor/data/scss/bootstrap/mixins/_table-variants.scss is written in an unsupported language. File is not indexed.

0001 // scss-docs-start table-variant
0002 @mixin table-variant($state, $background) {
0003   .table-#{$state} {
0004     $color: color-contrast(opaque($body-bg, $background));
0005     $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
0006     $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
0007     $active-bg: mix($color, $background, percentage($table-active-bg-factor));
0008 
0009     --#{$variable-prefix}table-bg: #{$background};
0010     --#{$variable-prefix}table-striped-bg: #{$striped-bg};
0011     --#{$variable-prefix}table-striped-color: #{color-contrast($striped-bg)};
0012     --#{$variable-prefix}table-active-bg: #{$active-bg};
0013     --#{$variable-prefix}table-active-color: #{color-contrast($active-bg)};
0014     --#{$variable-prefix}table-hover-bg: #{$hover-bg};
0015     --#{$variable-prefix}table-hover-color: #{color-contrast($hover-bg)};
0016 
0017     color: $color;
0018     border-color: mix($color, $background, percentage($table-border-factor));
0019   }
0020 }
0021 // scss-docs-end table-variant