Upgraded font icon with new modifiers

This commit is contained in:
xavijam 2016-01-21 18:38:59 +01:00
parent c26cd362a2
commit b39ec115dc
5 changed files with 14 additions and 0 deletions

View File

@ -1,6 +1,8 @@
// Icon font elements
// ----------------------------------------------
@import "cdb-variables/sizes";
@font-face {
font-family: 'CartoIcon';
src: url('../fonts/cartoIcon.eot');

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,8 @@
// Icon font elements
// ----------------------------------------------
@import "cdb-variables/sizes";
@font-face {
font-family: 'CartoIcon';
src: url('../fonts/cartoIcon.eot');
@ -22,6 +24,16 @@
line-height: 1;
}
.CDB-IconFont--center {
vertical-align: middle;
}
.CDB-IconFont--top {
vertical-align: top;
}
.CDB-IconFont--small {
font-size: $sFontSize-small + 1;
}
/* SG
# Typography/Icon font
All available icons in CartoDB.