fontello add icon for file
This commit is contained in:
parent
227e906145
commit
646ef3927f
10 changed files with 42 additions and 39 deletions
36
src/css/fontello.css
vendored
36
src/css/fontello.css
vendored
|
|
@ -1,11 +1,11 @@
|
|||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?81100904');
|
||||
src: url('../font/fontello.eot?81100904#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?81100904') format('woff2'),
|
||||
url('../font/fontello.woff?81100904') format('woff'),
|
||||
url('../font/fontello.ttf?81100904') format('truetype'),
|
||||
url('../font/fontello.svg?81100904#fontello') format('svg');
|
||||
src: url('../font/fontello.eot?52032071');
|
||||
src: url('../font/fontello.eot?52032071#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?52032071') format('woff2'),
|
||||
url('../font/fontello.woff?52032071') format('woff'),
|
||||
url('../font/fontello.ttf?52032071') format('truetype'),
|
||||
url('../font/fontello.svg?52032071#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
@ -15,47 +15,47 @@
|
|||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?35911474#fontello') format('svg');
|
||||
src: url('../font/fontello.svg?52032071#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
font-family: "fontello";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: never;
|
||||
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
|
||||
/* Animation center compensation - margins should be symmetric */
|
||||
/* remove if not needed */
|
||||
margin-left: .2em;
|
||||
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
|
||||
/* Font smoothing. That was taken from TWBS */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
|
||||
.icon-cancel:before { content: '\e800'; } /* '' */
|
||||
.icon-clock:before { content: '\e804'; } /* '' */
|
||||
.icon-download-cloud:before { content: '\f0ed'; } /* '' */
|
||||
.icon-ok-squared:before { content: '\f14a'; } /* '' */
|
||||
.icon-ok-squared:before { content: '\f14a'; } /* '' */
|
||||
.icon-doc-text-inv:before { content: '\f15c'; } /* '' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue