mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-08 06:04:35 +08:00
Add fontawesome checkmark before dropdown item
SCI-3209
This commit is contained in:
parent
cee3796f35
commit
96fa620c4c
2 changed files with 8 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
1
app/javascript/packs/fontawesome.scss
vendored
1
app/javascript/packs/fontawesome.scss
vendored
|
@ -2,3 +2,4 @@
|
|||
|
||||
@import "~@fortawesome/fontawesome-free/scss/fontawesome";
|
||||
@import "~@fortawesome/fontawesome-free/scss/solid";
|
||||
@import "~@fortawesome/fontawesome-free/scss/regular";
|
||||
|
|
Loading…
Add table
Reference in a new issue