Sha256: aa3b9f7fbed58cf63ca4428185eaa4a107bb74d8ff64086af1aea41bdee131e2

Contents?: true

Size: 1.25 KB

Versions: 10

Compression:

Stored size: 1.25 KB

Contents

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

%small-font {
  font-size: em(14px);
  line-height: 1.15em;
}

%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\fe0e";
  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

10 entries across 10 versions & 1 rubygems

Version Path
ustyle-1.19.2 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.16.2 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.16.1 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.15.3 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.14.11 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.14.10 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.14.0 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.12.6 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.12.1 vendor/assets/stylesheets/ustyle/basics/_extends.scss
ustyle-1.12.0 vendor/assets/stylesheets/ustyle/basics/_extends.scss