Sha256: 2b7a3599dce60a52ddd720b543f1508f60976695b3be817824b7e8b42f0885f9

Contents?: true

Size: 1.7 KB

Versions: 9

Compression:

Stored size: 1.7 KB

Contents

// ~~ ** ~~
// Utilities
// Syntax: u-<utilityName>

.u-pullLeft {
  float: left;
}

.u-pullRight {
  float: right;
}

.u-clearfix {
  &:before,
  &:after {
    display: table;
    content: " ";
  }

  &:after {
    clear: both;
  }
}

.u-textCenter {
  text-align: center;
}

.u-table {
  display: table;
}

.u-tableCell {
  display: table-cell;
}

.u-verticalAlignMiddle {
  vertical-align: middle !important;
}

.u-hideOnTablet {
  @media (max-width: 850px) {
    display: none !important;
  }
}

.u-overflowHidden {
  overflow: hidden;
}

// Floats
// -------------------------

.clearfix {
  @include clearfix;
}
.center-block {
  @include center-block;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}


// Toggling content
// -------------------------

.show {
  display: block !important;
}
.invisible {
  visibility: hidden;
}
.text-hide {
  @include text-hide;
}


// Hide from screenreaders and browsers
//
// Credit: HTML5 Boilerplate

.hidden {
  display: none !important;
}


// For Affix plugin
// -------------------------

.affix {
  position: fixed;
}


// Only display content to screen readers
//
// See: http://a11yproject.com/posts/how-to-hide-content/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

// Use in conjunction with .sr-only to only display content when it's focused.
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
// Credit: HTML5 Boilerplate

.sr-only-focusable {
  &:active,
  &:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
beetstrap-0.0.10 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.9 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.8 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.7 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.6 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.5 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.4 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.3 assets/stylesheets/beetstrap/_utils.scss
beetstrap-0.0.2 assets/stylesheets/beetstrap/_utils.scss