Add fontello icons.

Remove this when we have octicons for audio and video
This commit is contained in:
Ben Ogle
2013-07-26 16:54:35 -07:00
parent 121ee10f5a
commit 86d1990894
4 changed files with 30 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
@import "bootstrap/less/variables.less";
@import "octicon-mixins.less";
@import "fontello-mixins.less";
@video-padding: 5px;
@large-width: 160px;
@@ -141,11 +142,11 @@
.toggle-video{
margin-left: 5px;
.mini-icon(arr-right);
.fontello-icon(fontello-video);
}
.toggle-audio{
margin-left: 5px;
.mini-icon(arr-up);
.fontello-icon(fontello-audio);
}
}

View File

@@ -0,0 +1,20 @@
@fontello-video: "\e800";
@fontello-audio: "\e801";
.fontello-icon(@name, @size: 16px) {
&:before {
font-family: 'fontello';
font-weight: normal;
font-style: normal;
display: inline-block;
line-height: 1;
-webkit-font-smoothing: antialiased;
text-decoration: none;
font-size: @size;
width: @size;
height: @size;
content: @@name
}
}

BIN
static/fontello.woff Normal file

Binary file not shown.

View File

@@ -72,3 +72,10 @@ html, body {
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'fontello';
src: url("fontello.woff") format("woff");
font-weight: normal;
font-style: normal;
}