Sha256: ed6ce3f21a38637fe1eb866e176e483d1ab6ad65b64d0f92c634e7ee9f804042

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 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-grey;

  &:hover {
    border-color: $c-uswitch-navy;
  }
}

// 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

5 entries across 5 versions & 1 rubygems

Version Path
reustyle-2.0.11 vendor/assets/stylesheets/reustyle/basics/_extends.scss
reustyle-2.0.10 vendor/assets/stylesheets/ustyle/basics/_extends.scss
reustyle-2.0.9 vendor/assets/stylesheets/ustyle/basics/_extends.scss
reustyle-2.0.8 vendor/assets/stylesheets/ustyle/basics/_extends.scss
reustyle-2.0.7 vendor/assets/stylesheets/ustyle/basics/_extends.scss