...
Code Block | ||
---|---|---|
| ||
div[akcustomstate*="Alert"] { 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; } |
Info |
---|
We are using Font Awesome 5 Pro. Using icons from another version of Font Awesome might not work. |
For CLAPI example, in sStammDetailOverviewForm EventAfterDisplay attribute we set "$ akioma.osiv.StammDetailOverviewFormAfterDisplay(self)";
...