Sha256: 1d44eeeb608a9cee3f71362610d83125edbb03f69ebd8fdd8ce5740889283ef3

Contents?: true

Size: 1.35 KB

Versions: 61

Compression:

Stored size: 1.35 KB

Contents

@media (max-width: 767px) {

  .container, .container-fluid {
    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

61 entries across 61 versions & 1 rubygems

Version Path
atlas_assets-0.5.0 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.10 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.9 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.8 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.7 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.6 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.5 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.4 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.3 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.2 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.1 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.4.0 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.3.4 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.3.3 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.3.2 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.3.1 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.3.0 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.2.4 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.2.3 lib/assets/stylesheets/atlas_assets/_responsive-767.scss
atlas_assets-0.2.2 lib/assets/stylesheets/atlas_assets/_responsive-767.scss