Sha256: ed239f47f02d6d1921f981bd891c24a6a36e81584fb40f947f839405c9cca63e

Contents?: true

Size: 1.33 KB

Versions: 17

Compression:

Stored size: 1.33 KB

Contents

@media (max-width: 767px) {

  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .container-fluid {
    padding: 0;
  }

  .container {
    width: auto;
  }

  .row-fluid {
    width: 100%;
  }

  .row {
    margin-left: 0;
  }

  // Make all grid-sized elements block level again
  [class*="span"],
  .uneditable-input[class*="span"], // Makes uneditable inputs full-width when using grid sizing
  .row-fluid [class*="span"] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    @include box-sizing(border-box);
  }

  .span12,
  .row-fluid .span12 {
    width: 100%;
    @include box-sizing(border-box);
  }

  .row-fluid [class*="offset"]:first-child {
    margin-left: 0;
  }
  
  // Make span* classes full width
  .input-large,
  .input-xlarge,
  .input-xxlarge,
  input[class*="span"],
  select[class*="span"],
  textarea[class*="span"],
  .uneditable-input {
    @include input-block-level();
  }

  // But don't let it screw up prepend/append inputs
  .input-prepend input,
  .input-append input,
  .input-prepend input[class*="span"],
  .input-append input[class*="span"] {
    display: inline-block; // redeclare so they don't wrap to new lines
    width: auto;
  }
}

@media (max-width: 480px) {

  // Update checkboxes for iOS
  input[type="checkbox"],
  input[type="radio"] {
    border: 1px solid #ccc;
  }

}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
atlas_assets-0.2.0 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.15 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.14 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.13 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.12 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.11 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.10 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.9 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.8 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.7 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.6 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.5 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.4 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.3 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.2 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.1 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.1.0 lib/assets/stylesheets/atlas_assets/_responsive-767.scss