snipette-wripro-site/src/css/icon-lists.css
Badri Sunderarajan 6b6b689ebf Allow icon-lists (where each list bullet is an icon)
Currently implemented for check-circle and chevron, but more can
be added easily via icomoon ;)
2020-04-10 18:45:07 +05:30

33 lines
791 B
CSS

.icomoon {
/* copied from icomoon.css, because that's the best way we found of doing it
* without tampering with autogenerated icomoon code */
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-list-item {
@apply icomoon;
@apply mr-1;
@apply -ml-4;
}
.list-chevron li:before {
@apply icon-list-item;
content: "\f138";
}
.list-check-circle li:before {
@apply icon-list-item;
content: "\f058";
}