Sha256: 0ecfbc317595cf78753151dc5f9b87322c053569bb981942dc260822fb57195e

Contents?: true

Size: 1.06 KB

Versions: 27

Compression:

Stored size: 1.06 KB

Contents

@if $enable-flex {
  .media {
    display: flex;
    margin-bottom: $spacer;
  }
  .media-body {
    flex: 1;
  }
  .media-middle {
    align-self: center;
  }
  .media-bottom {
    align-self: flex-end;
  }
} @else {
  .media {
    margin-top: 15px;

    &:first-child {
      margin-top: 0;
    }
  }
  .media,
  .media-body {
    overflow: hidden;
    zoom: 1;
  }
  .media-body {
    width: 10000px;
  }
  .media-left,
  .media-right,
  .media-body {
    display: table-cell;
    vertical-align: top;
  }
  .media-middle {
    vertical-align: middle;
  }
  .media-bottom {
    vertical-align: bottom;
  }
}


//
// Images/elements as the media anchor
//

.media-object {
  display: block;

  // Fix collapse in webkit from max-width: 100% and display: table-cell.
  &.img-thumbnail {
    max-width: none;
  }
}


//
// Alignment
//

.media-right {
  padding-left: 10px;
}

.media-left {
  padding-right: 10px;
}


//
// Headings
//

.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}


//
// Media list variation
//

.media-list {
  padding-left: 0;
  list-style: none;
}

Version data entries

27 entries across 27 versions & 3 rubygems

Version Path
solidus_backend-1.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.3.0.rc2 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.3.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.3.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
bootstrap-4.0.0.alpha3 assets/stylesheets/bootstrap/_media.scss
bootstrap-4.0.0.alpha2 assets/stylesheets/bootstrap/_media.scss
bootstrap-4.0.0.alpha1 assets/stylesheets/bootstrap/_media.scss