Sha256: 1d8ed05a40bae75f0b958fbc6d26d2000a64b48b071e10be6977e51a16566980
Contents?: true
Size: 935 Bytes
Versions: 1
Compression:
Stored size: 935 Bytes
Contents
// IE Hacks // IE7 inline-block // ---------------- @mixin ie7-inline-block() { *display: inline; /* IE7 inline-block hack */ *zoom: 1; } // IE7 likes to collapse whitespace on either side of the inline-block elements. // Ems because we're attempting to match the width of a space character. Left // version is for form buttons, which typically come after other elements, and // right version is for icons, which come before. Applying both is ok, but it will // mean that space between those elements will be .6em (~2 space characters) in IE7, // instead of the 1 space in other browsers. @mixin ie7-restore-left-whitespace() { *margin-left: .3em; &:first-child { *margin-left: 0; } } @mixin ie7-restore-right-whitespace() { *margin-right: .3em; &:last-child { *margin-left: 0; } } // Reset filters for IE @mixin reset-filter() { filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
app_sleuth-0.0.1.pre | lib/app_sleuth/server/assets/sass/mixins/hacks/_ie.scss |