<div class="acl-label"><span class="acl-label__text">Draft</span></div>
<br />
<div class="acl-label acl-label--blue"><span class="acl-label__text">Published</span></div>
<div class="acl-label"><span class="acl-label__text">Draft</span></div>
<br/>
<div class="acl-label acl-label--blue"><span class="acl-label__text">Published</span></div>
/* No context defined. */
.acl-label {
border-radius: 6px;
padding: 5px 25px;
background-color: rgba(177, 183, 205, 0.15); // Candidate for style guide
color: #8892b4;
font-family: 'Open Sans';
font-size: 10px;
letter-spacing: 0;
width: max-content;
line-height: 17px;
margin: 0 2.5px;
text-align: center;
display: flex;
align-items: center;
text-overflow: ellipsis;
user-select: none;
&--blue {
background-color: rgba(40, 136, 214, 0.15);
color: #2888d6;
}
&--icon-left {
i {
font-size: 17px;
margin: 1px 3px 1px -5px;
}
}
&--icon-right {
i {
font-size: 17px;
margin: 1px -5px 1px 3px;
}
}
&__text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
No notes defined.