Sha256: 5df7ceadb37a2d223cf929e72e442a0dee7981fc5526923bc2f1164beacc83b4

Contents?: true

Size: 1.4 KB

Versions: 15

Compression:

Stored size: 1.4 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 0px -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
  fieldset
    :padding-top 0

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chriseppstein-compass-0.5.9 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.0 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.1 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.10 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.11 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.12 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.13 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.14 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.15 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.2 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.3 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.4 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.5 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.6 frameworks/blueprint/stylesheets/blueprint/_ie.sass
chriseppstein-compass-0.6.7 frameworks/blueprint/stylesheets/blueprint/_ie.sass