...
For styling we use the "akcustomstate" attribute and search if it contains the desired value. Note: the name of the custom state should match the CSS definition (case-sensitive)
Code Block | ||
---|---|---|
| ||
div[akcustomstate*="alertAlert"] { display: inline-flex; .custom-icon { display: inline-block; margin-left: 10px; padding-left: 20px; position: relative; i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); &::before { content: "\f071"; font-family: 'Font Awesome 5 Pro'; font-weight: 900; font-style: normal; } } } } div[akcustomstate*="bg"] { background-color: gray !important; } |
...