Sha256: 7a7a6ee5e1343bfca3083240eb49e209051ae5b1226154c1e9e1a113eeb331f6

Contents?: true

Size: 1.38 KB

Versions: 25

Compression:

Stored size: 1.38 KB

Contents

// The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included
// into IE like so:
// <!--[if IE]><link rel="stylesheet" href="ie.css"
//                   type="text/css" media="screen, projection"><![endif]-->

// The +blueprint-ie mixin must be mixed into the top level of your stylesheet.
// However, you can customize the body selector if you wish to control the scope
// of this mixin. Examples:
// Apply to any page including the stylesheet:
//   +blueprint-ie
// Scoped by a single presentational body class:
//   +blueprint-ie("body.blueprint")
// Semantically:
//   +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type")
//   Alternatively, you can use the +blueprint-ie-body and +blueprint-ie-defaults
//   mixins to construct your own semantic style rules.

=blueprint-ie(!body_selector = "body")
  #{!body_selector}
    +blueprint-ie-body
    @if !body_selector != "body"
      +blueprint-ie-defaults
  @if !body_selector == "body"
    +blueprint-ie-defaults

=blueprint-ie-body
  :text-align center
  +blueprint-ie-hacks
  
=blueprint-ie-hacks
  * html &
    legend
      :margin -18px -8px 16px 0
      :padding 0
  html>&
    p code
      :*white-space normal

=blueprint-ie-defaults
  .container
    :text-align left
  ol
    :margin-left 2em
  sup
    :vertical-align text-top
  sub
    :vertical-align text-bottom
  hr
    :margin -8px auto 11px

Version data entries

25 entries across 25 versions & 6 rubygems

Version Path
arnebrasseur-compass-0.3.5.1 frameworks/blueprint/stylesheets/blueprint/_ie.sass
arnebrasseur-compass-0.3.5 frameworks/blueprint/stylesheets/blueprint/_ie.sass
bsherman-compass-0.5.2 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.0 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.1 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.2 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.3 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.4 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.6 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.7 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.8 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.3.9 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.4.0 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.4.1 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.4.2 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.5.0 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.5.1 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.5.2 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.5.3 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.5.4 frameworks/blueprint/stylesheets/blueprint/_ie.sass