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-2.1.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.0.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.4.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.3.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.0.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.1.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.1.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.0.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
on-standards-rails-2.0.0.pre.alpha.2 vendor/assets/stylesheets/on-standards/_media.scss
solidus_backend-2.1.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
on-standards-rails-2.0.0.pre.alpha.1 vendor/assets/stylesheets/on-standards/_media.scss
on-standards-rails-2.0.0.pre.alpha vendor/assets/stylesheets/on-standards/_media.scss
solidus_backend-2.0.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.0.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.4.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-2.0.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.4.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss
solidus_backend-1.3.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss