mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
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:
commit
738d6f0f8c
2 changed files with 8 additions and 10 deletions
|
@ -56,17 +56,13 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background: $color-white;
|
|
||||||
border: 1px solid $color-emperor;
|
|
||||||
border-radius: 6px;
|
|
||||||
content: "";
|
|
||||||
height: 12px;
|
|
||||||
left: 0;
|
|
||||||
margin: 9px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
transition: .3s;
|
left: 0;
|
||||||
width: 12px;
|
margin: 7px 0px 0px 12px;
|
||||||
|
font-family: "Font Awesome 5 Free";
|
||||||
|
content: "\f0c8";
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.select2-results__option--highlighted {
|
&.select2-results__option--highlighted {
|
||||||
|
@ -78,7 +74,8 @@
|
||||||
background: $color-concrete;
|
background: $color-concrete;
|
||||||
|
|
||||||
&::before {
|
&::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/fontawesome";
|
||||||
@import "~@fortawesome/fontawesome-free/scss/solid";
|
@import "~@fortawesome/fontawesome-free/scss/solid";
|
||||||
|
@import "~@fortawesome/fontawesome-free/scss/regular";
|
||||||
|
|
Loading…
Reference in a new issue