Sha256: 8700f78b023a319707a3cfa8cbf2570b4337771aa2515fa3010e48080080eaec

Contents?: true

Size: 677 Bytes

Versions: 23

Compression:

Stored size: 677 Bytes

Contents

@import "shared";

// Set `$inline-block-alignment` to `none` or `false` to disable the output
// of a vertical-align property in the inline-block mixin.
// Or set it to a legal value for `vertical-align` to change the default.
$inline-block-alignment: middle !default;

// Provides a cross-browser method to implement `display: inline-block;`
@mixin inline-block($alignment: $inline-block-alignment) {
  @if $legacy-support-for-mozilla {
    display: -moz-inline-stack;
  }
  display: inline-block;
  @if $alignment and $alignment != none {
    vertical-align: $alignment;
  }
  @if $legacy-support-for-ie {
    *vertical-align: auto;
    zoom: 1;
    *display: inline;
  }
}

Version data entries

23 entries across 22 versions & 7 rubygems

Version Path
comixins-0.1.2 vendor/assets/stylesheets/compass/css3/_inline-block.scss
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/css3/_inline-block.scss
ghost-manager-1.0.0 magneto/source/assets/bower_components/compass-mixins/lib/compass/css3/_inline-block.scss
compass-0.12.7 frameworks/compass/stylesheets/compass/css3/_inline-block.scss
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/css3/_inline-block.scss
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/css3/_inline-block.scss
compass-0.12.6 frameworks/compass/stylesheets/compass/css3/_inline-block.scss
compass-0.12.5 frameworks/compass/stylesheets/compass/css3/_inline-block.scss
compass-0.12.4 frameworks/compass/stylesheets/compass/css3/_inline-block.scss
compass-0.12.3 frameworks/compass/stylesheets/compass/css3/_inline-block.scss
compass-sourcemaps-0.12.4.sourcemaps.a4836f1 frameworks/compass/stylesheets/compass/css3/_inline-block.scss