Sha256: f4006242d752ae44d91ec557bea9741c554a7287021fb7ec7ce7bafa99e5b6ed

Contents?: true

Size: 965 Bytes

Versions: 7

Compression:

Stored size: 965 Bytes

Contents

// Clearfix
//
// For modern browsers
// 1. The space content is one way to avoid an Opera bug when the
//    contenteditable attribute is included anywhere else in the document.
//    Otherwise it causes space to appear at the top and bottom of elements
//    that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
//    `:before` to contain the top-margins of child elements.
//
// Source: http://nicolasgallagher.com/micro-clearfix-hack/

@mixin mui-clearfix() {
  &:before,
  &:after {
    content: " ";  // 1
    display: table;  // 2
  }
  &:after {
    clear: both;
  }
}

@mixin mui-container-fixed($gutter: $mui-grid-gutter-width) {
  @include mui-clearfix();

  margin-right: auto;
  margin-left: auto;
  padding-left:  ($gutter / 2);
  padding-right: ($gutter / 2);
}

@mixin mui-tab-focus() {
  // Default
  outline: thin dotted;

  // WebKit
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mui-sass-0.9.8 vendor/assets/stylesheets/mui/mixins/_util.scss
mui-sass-0.9.6 vendor/assets/stylesheets/mui/mixins/_util.scss
mui-sass-0.9.5 vendor/assets/stylesheets/mui/mixins/_util.scss
mui-sass-0.9.4 vendor/assets/stylesheets/mui/mixins/_util.scss
mui-sass-0.9.3 vendor/assets/stylesheets/mui/mixins/_util.scss
mui-sass-0.9.2 vendor/assets/stylesheets/mui/mixins/_util.scss
mui-sass-0.9.1 vendor/assets/stylesheets/mui/mixins/_util.scss