let info-badge inherit text-color

This commit is contained in:
Felix Niklas 2016-03-23 16:24:33 +01:00
parent 99f1c38d05
commit bd95378ebe

View file

@ -761,12 +761,32 @@ pre code.hljs {
}
}
.status-badge {
display: inline-block;
}
.info-badge {
border-radius: 100%;
fill: rgba(0,0,0,.24);
border: 1px solid rgba(0,0,0,.13);
padding: 2px 5px 0px;
fill: currentColor;
padding: 3px 6px 1px;
line-height: 12px;
opacity: 0.5;
position: relative;
/*
border in its own layer to make it more
translucend but still depend on the currentColor
*/
&:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
border: 1px solid currentColor;
opacity: 0.5;
border-radius: 100%;
}
}
@keyframes pulsate {