icon.css 1.32 KB
/*
LESS variables are information about icon's compiled state, stored under its original file name

.icon-home {
  width: @icon-home-width;
}

The large array-like variables contain all information about a single icon
@icon-home: x y offset_x offset_y width height total_width total_height image_path name;

At the bottom of this section, we provide information about the spritesheet itself
@spritesheet: width height image @spritesheet-sprites;
*/
/*
The provided classes are intended to be used with the array-like variables

.icon-home {
  .sprite-width(@icon-home);
}
.icon-email {
  .sprite(@icon-email);
}
*/
/*
The `.sprites` mixin generates identical output to the CSS template
  but can be overridden inside of LESS

This must be run when you have at least 2 sprites.
  If run with a single sprite, then there will be reference errors.

.sprites(@spritesheet-sprites);
*/
.m-icon {
  display: inline-block;
  vertical-align: middle;
}
.icon-back-to {
  background-image: url(../images/dist/sprite.png);
  background-position: 0px 0px;
  width: 22px;
  width: 11px;
  height: 38px;
  height: 19px;
  background-size: 25px;
}
.icon-back {
  background-image: url(../images/dist/sprite.png);
  background-position: -28px 0px;
  background-position: -14px 0px;
  width: 22px;
  width: 11px;
  height: 38px;
  height: 19px;
  background-size: 25px;
}