2018-02-05 12:25:39 -05:00
|
|
|
.select-kit {
|
2017-10-19 15:51:08 -04:00
|
|
|
&.combo-box {
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-body {
|
2017-10-19 15:51:08 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-row {
|
2018-03-22 12:17:28 -04:00
|
|
|
margin: 4px;
|
2017-10-19 15:51:08 -04:00
|
|
|
min-height: 1px;
|
2018-03-22 12:17:28 -04:00
|
|
|
padding: 4px;
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-filter {
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-medium;
|
2018-03-22 12:17:28 -04:00
|
|
|
padding: 5px 6px;
|
2017-10-19 15:51:08 -04:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
|
2017-11-21 05:53:09 -05:00
|
|
|
.filter-input {
|
2017-10-19 15:51:08 -04:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
background: $secondary;
|
2017-11-27 15:23:18 -05:00
|
|
|
border: 1px solid $primary-medium;
|
2018-03-22 12:17:28 -04:00
|
|
|
padding: 4px;
|
2017-10-19 15:51:08 -04:00
|
|
|
font-weight: 500;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2018-01-31 11:44:51 -05:00
|
|
|
line-height: $line-height-large;
|
2017-10-19 15:51:08 -04:00
|
|
|
|
|
|
|
&.is-focused {
|
|
|
|
border: 1px solid $tertiary;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
background: #e9e9e9;
|
|
|
|
border-color: #ddd;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-highlighted {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
border: 1px solid $tertiary;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-wrapper {
|
2017-10-19 15:51:08 -04:00
|
|
|
display: block;
|
|
|
|
border: 1px solid $tertiary;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
border-color: transparent;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: none;
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-body {
|
2017-11-26 11:21:39 -05:00
|
|
|
border-radius: 0 0 3px 3px ;
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded.is-above {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
}
|
2017-11-26 11:21:39 -05:00
|
|
|
|
|
|
|
.select-kit-body {
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|