print_bsf_styles()
Print BSF styles.
Description
Source
File: admin/bsf-core/index.php
function print_bsf_styles() {
$path = bsf_core_url( '/assets/fonts' );
echo "<style>
@font-face {
font-family: 'brainstorm';
src:url('" . esc_url( $path ) . "/brainstorm.eot');
src:url('" . esc_url( $path ) . "/brainstorm.eot') format('embedded-opentype'),
url('" . esc_url( $path ) . "/brainstorm.woff') format('woff'),
url('" . esc_url( $path ) . "/brainstorm.ttf') format('truetype'),
url('" . esc_url( $path ) . "/brainstorm.svg') format('svg');
font-weight: normal;
font-style: normal;
}
.toplevel_page_bsf-registration > div.wp-menu-image:before {
content: \"\\e603\" !important;
font-family: 'brainstorm' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>";
}
Expand full source code Collapse full source code View on Trac