I have a message-status class that allows users to differentiate a message status using different background color CSS rules. I'm looking to only change the colour of the icon in the message, which is placed using <i class="glyphicon glyphicon-ok">
for example.
The CSS currently looks like this:
.message-status {
padding:18px 24px;
margin:0 0 24px;
border-radius:4px;
color:#fff;
h2 { margin-top:0; }
&.status1 { background:#35c671; }
&.status2 { background:#565a5c; }
&.status3 { background:#565a5c; }
&.status4 { background:#565a5c; }
&.status5 { background:#565a5c; }
}
So just looking to change the icon colour within the message-status div, whereas it currently changes the background colour.
Thank you for your time.