Sha256: 8ce34ad5948117457989de467a5fd22a807c0b9bbbb9c784f039c742d0b70864

Contents?: true

Size: 689 Bytes

Versions: 24

Compression:

Stored size: 689 Bytes

Contents

// Card variants

@mixin card-variant($background, $border) {
  background-color: $background;
  border-color: $border;
}

@mixin card-outline-variant($color) {
  background-color: transparent;
  border-color: $color;
}

//
// Inverse text within a card for use with dark backgrounds
//

@mixin card-inverse {
  .card-header,
  .card-footer {
    border-bottom: $card-border-width solid rgba(255,255,255,.2);
  }
  .card-header,
  .card-footer,
  .card-title,
  .card-blockquote {
    color: #fff;
  }
  .card-link,
  .card-text,
  .card-blockquote > footer {
    color: rgba(255,255,255,.65);
  }
  .card-link {
    @include hover-focus {
      color: $card-link-hover-color;
    }
  }
}

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
solidus_backend-2.1.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.0.3 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.4.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.3.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.0.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.1.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.1.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.0.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.1.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
on-standards-rails-2.0.0.pre.alpha.1 vendor/assets/stylesheets/on-standards/mixins/_cards.scss
on-standards-rails-2.0.0.pre.alpha vendor/assets/stylesheets/on-standards/mixins/_cards.scss
solidus_backend-2.0.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.0.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.4.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-2.0.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.4.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.3.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
solidus_backend-1.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss