Sha256: dd33ae52053803bdc0620a4f32a5ec63e836262c0f96e772b3b2b8626ca3e3f4

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

// ============================================
//             Legacy IE Support
//          Last Updated:2013-8-16
// ============================================


$container-width: 1200px !default;

@import "settings";
@import "core/all-core";



html {
  &.lt-ie9 {
    min-width: $container-width !important;
    body {
      width: auto !important;
    }
    .container {
      width: auto !important;
    }
    // forms
    input, select, textarea {
      &:focus {
        border-color: $button-active;
      }
    }
    // custom select box
    span.select {
      &:after {
        display: none;
      }
      select {
        padding: 0;
        height: 2.1em;
        vertical-align: top;
        &:focus {
          border: 1px solid $button-active;
        }
      }
    }
  }
  &.lt-ie8 {
    // font awesome for IE7
    @import "icons/font-awesome-ie7";
    // typography
    h1, h2, h3, h4, h5, h6 {
      line-height: 1.5;
    }
    ul, ul.list, 
    ol, ol.list {
      margin-left: 0;
      padding-left: 25px;
    }
    ul {
      &.list {
        list-style: disc;
      }
    }
    ol {
      &.list {
        list-style: decimal;
        li {
          padding: 0;
        }
      }
    }
    // buttons
    ul, ol {
      &.button-list {
        margin: 0;
        padding: 0;
      }
    }
    button, .button, a.button {
      &.dropdown {
        ul {
          top: 2em;
        }
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
groundworkcss-2.3.1 app/assets/stylesheets/groundworkcss/groundwork-ie.scss
groundworkcss-2.2.1 app/assets/stylesheets/groundworkcss/groundwork-ie.scss