.label
{
&.label--rocket
{
.m-labelVariation(white, #e20000);
font-size: 0;
&::before
{
.m-faBase();
.m-faContent(@fa-var-rocket);
font-size: @xf-fontSizeNormal;
padding: @xf-paddingMedium;
}
}
}
.m-labelVariation
sets the label style to be white text on a red background, .m-faBase
sets up the Font Awesome bits and .m-faContent
accepts an icon name (rocket
is the icon name you will see on the FA website)..label
{
&.label--rocket
{
.m-labelVariation(white, #e20000);
.label:not(.menuPrefix)&
{
font-size: 0;
}
&::before
{
.m-faBase();
content: @fa-var-rocket " ";
.label:not(.menuPrefix)&
{
font-size: @xf-fontSizeNormal;
margin: @xf-paddingLarge;
}
}
}
}
.menuPrefix
element.{{include('nawcc.less')}}
We use essential cookies to make this site work, and optional cookies to enhance your experience.