Sha256: 41502513f5d3e29f36cc9d0906f21c30cd8dd5bba0ad43c42a613ff8cadfadd4

Contents?: true

Size: 1.08 KB

Versions: 391

Compression:

Stored size: 1.08 KB

Contents

// scss-docs-start table-variant
@mixin table-variant($state, $background) {
  .table-#{$state} {
    $color: color-contrast(opaque($body-bg, $background));
    $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
    $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
    $active-bg: mix($color, $background, percentage($table-active-bg-factor));
    $table-border-color: mix($color, $background, percentage($table-border-factor));

    --#{$prefix}table-color: #{$color};
    --#{$prefix}table-bg: #{$background};
    --#{$prefix}table-border-color: #{$table-border-color};
    --#{$prefix}table-striped-bg: #{$striped-bg};
    --#{$prefix}table-striped-color: #{color-contrast($striped-bg)};
    --#{$prefix}table-active-bg: #{$active-bg};
    --#{$prefix}table-active-color: #{color-contrast($active-bg)};
    --#{$prefix}table-hover-bg: #{$hover-bg};
    --#{$prefix}table-hover-color: #{color-contrast($hover-bg)};

    color: var(--#{$prefix}table-color);
    border-color: var(--#{$prefix}table-border-color);
  }
}
// scss-docs-end table-variant

Version data entries

391 entries across 390 versions & 16 rubygems

Version Path
jekyll-theme-centos-2.3.0.beta.73 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.72 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.71 _sass/bootstrap/mixins/_table-variants.scss
bootstrap-5.3.0.alpha3 assets/stylesheets/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.70 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.69 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.68 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.67 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.66 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.65 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.64 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.49 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.46 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.44 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.43 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.42 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.41 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.40 _sass/bootstrap/mixins/_table-variants.scss
jekyll-theme-centos-2.3.0.beta.39 _sass/bootstrap/mixins/_table-variants.scss
jekyll-rubin-collab-theme-0.1.1 _third_party/mdb-ui-kit/src/scss/bootstrap/mixins/_table-variants.scss