onion/sass/ascribe-fonts/ascribe-fonts.scss

82 lines
2.1 KiB
SCSS
Raw Normal View History

2015-11-20 15:40:58 +01:00
/*
These glyphs are generated using: https://icomoon.io
Even though it seems radically complicated, check out the site,
its fairly straight forward.
If someone wants you to add a new glyph go to the site,
drop in the regular ascribe-font font and select all icons.
2015-11-20 15:40:58 +01:00
Then also add the new glyph, name and address it correctly and download
the font again.
Once you replace all the fonts they gave you, you're done.
*/
2015-10-08 11:12:15 +02:00
@font-face {
2015-12-07 17:04:32 +01:00
font-family: 'ascribe-font';
src:url('#{$BASE_URL}static/fonts/ascribe-font.eot?q6qoae');
src:url('#{$BASE_URL}static/fonts/ascribe-font.eot?q6qoae#iefix') format('embedded-opentype'),
url('#{$BASE_URL}static/fonts/ascribe-font.ttf?q6qoae') format('truetype'),
url('#{$BASE_URL}static/fonts/ascribe-font.woff?q6qoae') format('woff'),
url('#{$BASE_URL}static/fonts/ascribe-font.svg?q6qoae#ascribe-font') format('svg');
2015-11-20 15:40:58 +01:00
font-weight: normal;
font-style: normal;
2015-10-08 11:12:15 +02:00
}
2015-10-09 13:14:29 +02:00
[class^="icon-ascribe-"], [class*=" icon-ascribe-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'ascribe-font' !important;
2015-11-20 15:40:58 +01:00
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
2015-10-08 11:12:15 +02:00
2015-11-20 15:40:58 +01:00
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2015-10-08 11:12:15 +02:00
}
.icon-ascribe-add:before {
2015-11-20 15:40:58 +01:00
content: "\e800";
2015-10-08 11:12:15 +02:00
}
.icon-ascribe-sort:before {
2015-11-20 15:40:58 +01:00
content: "\e801";
2015-10-09 13:14:29 +02:00
}
.icon-ascribe-search:before {
2015-11-20 15:40:58 +01:00
content: "\e802";
2015-10-09 13:14:29 +02:00
}
.icon-ascribe-filter:before {
2015-11-20 15:40:58 +01:00
content: "\e803";
2015-10-09 13:14:29 +02:00
}
.icon-ascribe-add-white:before {
2015-11-20 15:40:58 +01:00
content: "\e804";
}
.icon-ascribe-add-blue .path1:before {
2015-11-20 15:40:58 +01:00
content: "\e805";
color: rgb(0, 60, 106);
}
.icon-ascribe-add-blue .path2:before {
2015-11-20 15:40:58 +01:00
content: "\e806";
margin-left: -1em;
color: rgb(255, 255, 255);
}
.icon-ascribe-icon:before {
2015-11-20 15:40:58 +01:00
content: "\e807";
2015-10-09 13:14:29 +02:00
}
.icon-ascribe-logo:before {
2015-11-20 15:40:58 +01:00
content: "\e808";
2015-10-08 11:12:15 +02:00
}
2015-11-20 15:40:58 +01:00
.icon-ascribe-ok:before {
content: "\e809";
font-size: .7em;
2015-10-08 11:12:15 +02:00
}
.icon-ascribe-thin-cross:before {
content: "\e810";
}
2015-10-08 11:12:15 +02:00
.btn-glyph-ascribe {
2015-11-20 15:40:58 +01:00
font-size: 18px;
padding: 4px 12px 0 10px
}