new icon for check

pull/3094/head
LianaHus 6 years ago
parent 99c79a83f1
commit 1095db22dd
  1. 7
      src/app/components/vertical-icons-component.js

@ -101,7 +101,7 @@ class VerticalIconComponent {
let classes = css.status let classes = css.status
switch (key) { switch (key) {
case 'check': case 'check':
classes += ' badge badge-pill badge-' + type + ' text-' + type classes += ' fas fa-check-circle text-' + type + ' ' + css.statusCheck
break break
case 'code': case 'code':
classes += ' fas fa-sync text-' + type classes += ' fas fa-sync text-' + type
@ -115,7 +115,7 @@ class VerticalIconComponent {
class="${classes}" class="${classes}"
aria-hidden="true" aria-hidden="true"
> >
${key === 'code' ? '' : key === 'check' ? 'o' : key} ${key === 'code' || key === 'check' ? '' : key}
</span>`) </span>`)
// el.classList = "" doesn't work on all browser use instead // el.classList = "" doesn't work on all browser use instead
@ -285,6 +285,9 @@ const css = csjs`
bottom: 0; bottom: 0;
right: 0; right: 0;
} }
.statusCheck {
font-size: 1.2em;
}
.statusWithBG .statusWithBG
border-radius: 8px; border-radius: 8px;
background-color: var(--danger); background-color: var(--danger);

Loading…
Cancel
Save