Skip to content
Snippets Groups Projects
Commit 9274eaa1 authored by Chris Lawton's avatar Chris Lawton
Browse files

prepending checkboxes to mulit-select options

parent cc633b00
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,8 @@
.select2-container {
&--default {
.select2-results__option--highlighted[aria-selected] {
background-color: $color--dark-blue !important;
color: $color--default !important;
background-color: transparentize($color--primary, 0.9) !important;
}
}
......@@ -56,8 +57,30 @@
.select2-results__option {
padding: 0;
&[aria-selected='true'] {
.wrap {
&::before {
background: url('./../../images/tick.svg') $color--dark-blue center no-repeat;
background-size: 12px;
border: 1px solid $color--dark-blue;
content: '';
}
}
}
.wrap {
display: flex;
align-items: center;
padding: 6px;
&::before {
width: 20px;
height: 20px;
margin-right: 10px;
background: $color--white;
border: 1px solid $color--mid-grey;
content: '';
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment