Sha256: ca767590895216af631f9623df26a5fd0ff84ab499ab04c85c48096583bc81d3

Contents?: true

Size: 555 Bytes

Versions: 129

Compression:

Stored size: 555 Bytes

Contents

// Embeds responsive
//
// Credit: Nicolas Gallagher and SUIT CSS.

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;

  .embed-responsive-item,
  iframe,
  embed,
  object {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
  }

  // Modifier class for 16:9 aspect ratio
  &.embed-responsive-16by9 {
    padding-bottom: 56.25%;
  }

  // Modifier class for 4:3 aspect ratio
  &.embed-responsive-4by3 {
    padding-bottom: 75%;
  }
}

Version data entries

129 entries across 128 versions & 22 rubygems

Version Path
rails_admin-2.3.1 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.3.0 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-3.0.0.beta2 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-3.0.0.beta vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.2.1 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.2.0 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.1.1 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.1.0 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
adhoq-1.0.2 app/assets/stylesheets/adhoq/bootstrap/_responsive-embed.scss
adhoq-1.0.1 app/assets/stylesheets/adhoq/bootstrap/_responsive-embed.scss
rails_admin-2.0.2 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-1.4.3 app/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.0.1 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.0.0 vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.0.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
rails_admin-2.0.0.beta app/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
adhoq-1.0.0 app/assets/stylesheets/adhoq/bootstrap/_responsive-embed.scss
adhoq-0.5.0 app/assets/stylesheets/adhoq/bootstrap/_responsive-embed.scss
bootstrap-sass-3.2.0.4 assets/stylesheets/bootstrap/_responsive-embed.scss
rails_admin-1.4.2 app/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss