Merge pull request #1590 from urbanrotnik/ur-SCI-3209-circles-to-checkboxes

Add fontawesome checkmark before dropdown item [SCI-3209]
This commit is contained in:
Urban Rotnik 2019-03-26 13:49:19 +01:00 committed by GitHub
commit 738d6f0f8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 10 deletions

View file

@ -56,17 +56,13 @@
position: relative;
&::before {
background: $color-white;
border: 1px solid $color-emperor;
border-radius: 6px;
content: "";
height: 12px;
left: 0;
margin: 9px;
position: absolute;
top: 0;
transition: .3s;
width: 12px;
left: 0;
margin: 7px 0px 0px 12px;
font-family: "Font Awesome 5 Free";
content: "\f0c8";
font-weight: 400;
}
&.select2-results__option--highlighted {
@ -78,7 +74,8 @@
background: $color-concrete;
&::before {
background: $color-emperor;
content: "\f14a";
font-weight: 400;
}
}

View file

@ -2,3 +2,4 @@
@import "~@fortawesome/fontawesome-free/scss/fontawesome";
@import "~@fortawesome/fontawesome-free/scss/solid";
@import "~@fortawesome/fontawesome-free/scss/regular";