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

adding select2 styling overrides

parent 4754b993
No related branches found
No related tags found
No related merge requests found
.select2 {
.select2-container--default {
width: 100% !important;
.select2-selection--single {
height: 55px;
border: 1px solid $color--mid-grey;
border-radius: 0;
&.is-active {
font-weight: $weight--bold;
border-color: $color--primary;
}
.select2-selection__clear {
position: absolute;
right: 40px;
float: none;
}
.select2-selection__rendered {
padding-left: 15px;
line-height: 55px;
}
.select2-selection__arrow {
right: 15px;
height: 53px;
background: url('./../../images/dropdown.svg') #fff no-repeat 95% center;
background-size: 8px;
b[role='presentation'] {
display: none;
}
}
.select2-selection__placeholder {
color: $color--default;
}
}
}
}
.select2-container {
&--default {
.select2-results__option--highlighted[aria-selected] {
background-color: $color--dark-blue !important;
}
}
.select2-dropdown {
border: 1px solid $color--mid-grey;
border-radius: 0;
}
.select2-results__option {
padding: 0;
.wrap {
padding: 6px;
}
}
}
......@@ -15,6 +15,7 @@
@import 'components/form';
@import 'components/icon';
@import 'components/pagination';
@import 'components/select2';
@import 'components/table';
@import 'components/wrapper';
......
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