Sha256: a72ef4eb80236f5257fc7a7cc0373257bd751e6d5855d244e1670a942199bf71

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

// -------------------------
// These are default, handy extends that can be used anywhere to minimise
// repetition and keep everything compartmentalised in CSS
// -------------------------

%float-left {
  float: left;
}

%float-right {
  float: right;
}

%reset-box-model {
  padding: 0;
  margin: 0;
}

// Clearfix - micro clearfix

%clearfix {
  @include clearfix;
}

// A bordered box used for all news/guide/seemore/block items

%bordered-box {
  border: 1px solid $c-bordergrey;
  border-radius: em(5px);

  &:hover {
    border-color: $c-typecyan;
  }
}

// Triangle used across all buttons/link lists

%link-triangle {
  position: relative;
  left: 0;
  display: inline;
  margin: 0 0 0 .5em;
  font-size: .5em;
  line-height: 0;
  vertical-align: middle;
  content: "\25b6";
  transition: left 200ms;
}

// Vertical alignment helpers

%vertical-align-parent {
  transform-style: preserve-3d;
}

%vertical-align-child {
  top: 50%;
  transform: translateY(-50%);
}

// Backface visibility
%backface-visibility--hidden {
  backface-visibility: hidden;
}

// Normalise Firefox mobile inputs - https://bugzilla.mozilla.org/show_bug.cgi?id=763671
%input-background--normalise {
  background-image: none;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ustyle-1.8.1 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.8.0 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.7.0 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.6.1 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.5.8 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.4.1 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.4.0 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.3.12 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.3.6 vendor/assets/stylesheets/ustyle/basics/_extends.scss