@font-face {
  font-family: "iconfont";
  src: url('../fonts/iconfont.eot');
  src: url('../fonts/iconfont.eot?#iefix') format('eot'),
    url('../fonts/iconfont.woff2') format('woff2'),
    url('../fonts/iconfont.woff') format('woff'),
    url('../fonts/iconfont.ttf') format('truetype'),
    url('../fonts/iconfont.svg#iconfont') format('svg');
}

.owl-iconfont-base-pseudo {
  font-family: "iconfont";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  text-decoration: none;
  text-transform: none;
  vertical-align: middle;
}

.owl-iconfont-char(@filename) {
  @caution: "\E001";
  @close: "\E002";
  @eye-invisible: "\E003";
  @eye-visible: "\E004";
  @failure: "\E005";
  @github: "\E006";
  @success: "\E007";
  
  content: @@filename;
}

.owl-iconfont(@filename, @insert: before) {
  @pseudo-selector: ~":@{insert}";

  &@{pseudo-selector} {
    &:extend(.owl-iconfont-base-pseudo);
    .owl-iconfont-char(@filename);
  }
}

.owl-iconfont-caution {
  .owl-iconfont(caution);
}
.owl-iconfont-close {
  .owl-iconfont(close);
}
.owl-iconfont-eye-invisible {
  .owl-iconfont(eye-invisible);
}
.owl-iconfont-eye-visible {
  .owl-iconfont(eye-visible);
}
.owl-iconfont-failure {
  .owl-iconfont(failure);
}
.owl-iconfont-github {
  .owl-iconfont(github);
}
.owl-iconfont-success {
  .owl-iconfont(success);
}