2018-02-05 12:25:39 -05:00
|
|
|
.select-kit {
|
2017-11-21 05:53:09 -05:00
|
|
|
&.multi-select {
|
2017-11-09 13:57:53 -05:00
|
|
|
width: 300px;
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--secondary);
|
2017-11-09 13:57:53 -05:00
|
|
|
border-radius: 0;
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-row {
|
2017-11-09 13:57:53 -05:00
|
|
|
margin: 5px;
|
|
|
|
min-height: 1px;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-filter {
|
2017-11-09 13:57:53 -05:00
|
|
|
border: 0;
|
2019-01-21 13:40:55 -05:00
|
|
|
flex: 1 0 0px;
|
2018-09-19 08:37:04 -04:00
|
|
|
margin: 1px;
|
2017-11-09 13:57:53 -05:00
|
|
|
}
|
|
|
|
|
2017-11-21 05:53:09 -05:00
|
|
|
.multi-select-header {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-medium);
|
2017-11-09 13:57:53 -05:00
|
|
|
|
|
|
|
&.is-focused {
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-11-09 13:57:53 -05:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
2017-11-21 05:53:09 -05:00
|
|
|
.multi-select-header {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--primary-low);
|
|
|
|
border-color: var(--primary-low-mid);
|
|
|
|
color: var(--primary-medium);
|
2019-10-22 16:32:24 -04:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2019-10-22 16:32:24 -04:00
|
|
|
}
|
2017-11-09 13:57:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded {
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-wrapper {
|
2017-11-09 13:57:53 -05:00
|
|
|
display: block;
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--tertiary);
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-11-09 13:57:53 -05:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-21 05:53:09 -05:00
|
|
|
.multi-select-header {
|
2017-11-09 13:57:53 -05:00
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
2020-04-22 07:02:20 -04:00
|
|
|
outline: none;
|
2017-11-09 13:57:53 -05:00
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-body {
|
2017-11-09 13:57:53 -05:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.choices {
|
2020-02-03 08:22:14 -05:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 2px 0;
|
2017-11-09 13:57:53 -05:00
|
|
|
box-sizing: border-box;
|
2020-02-03 08:22:14 -05:00
|
|
|
display: block;
|
2018-09-20 16:12:08 -04:00
|
|
|
width: 100%;
|
2017-11-09 13:57:53 -05:00
|
|
|
|
2017-11-21 05:53:09 -05:00
|
|
|
.choice {
|
2017-11-09 13:57:53 -05:00
|
|
|
display: inline-flex;
|
|
|
|
box-sizing: border-box;
|
2017-11-21 05:53:09 -05:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2020-02-03 08:22:14 -05:00
|
|
|
margin: 2px 0 0px 3px;
|
|
|
|
padding: 0;
|
|
|
|
float: left;
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
&.input-wrapper {
|
|
|
|
min-width: 120px;
|
|
|
|
}
|
2017-11-09 13:57:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
white-space: nowrap;
|
|
|
|
min-width: 50px;
|
|
|
|
padding: 0;
|
2017-11-21 05:53:09 -05:00
|
|
|
outline: none;
|
2020-02-03 08:22:14 -05:00
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
2017-11-09 13:57:53 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.filter-input,
|
|
|
|
.filter-input:focus {
|
2017-11-09 13:57:53 -05:00
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
outline: none;
|
|
|
|
min-width: auto;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
outline: 0;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0;
|
2018-09-19 08:37:04 -04:00
|
|
|
min-height: unset; // overrides input defaults
|
2017-11-21 05:53:09 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-color {
|
|
|
|
.selected-color-wrapper {
|
|
|
|
display: flex;
|
2019-01-21 13:40:55 -05:00
|
|
|
flex: 1 0 0px;
|
2017-11-21 05:53:09 -05:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-preview {
|
|
|
|
height: 5px;
|
2018-09-19 08:37:04 -04:00
|
|
|
margin: 0 2px 2px 0px;
|
2018-01-11 07:05:29 -05:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2017-11-09 13:57:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-26 05:42:57 -05:00
|
|
|
.selected-category {
|
2018-11-26 16:49:57 -05:00
|
|
|
.body {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-02-26 05:42:57 -05:00
|
|
|
.badge-wrapper {
|
|
|
|
&.bullet {
|
|
|
|
margin-right: 2.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
display: flex;
|
2019-01-21 13:40:55 -05:00
|
|
|
flex: 1 0 0px;
|
2018-02-26 05:42:57 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-09 13:57:53 -05:00
|
|
|
.selected-name {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--primary-low);
|
2020-02-03 08:22:14 -05:00
|
|
|
padding: 0.25em;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-01-11 07:05:29 -05:00
|
|
|
|
2018-11-26 16:49:57 -05:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-low-mid);
|
2018-11-26 16:49:57 -05:00
|
|
|
vertical-align: middle;
|
2020-02-03 08:22:14 -05:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
}
|
2019-04-05 17:43:14 -04:00
|
|
|
&:hover .d-icon:last-child {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--danger);
|
2018-01-12 17:27:38 -05:00
|
|
|
}
|
2018-02-26 05:42:57 -05:00
|
|
|
|
|
|
|
&.is-highlighted {
|
2020-08-03 22:57:10 -04:00
|
|
|
box-shadow: 0 0 2px var(--danger), 0 1px 0 rgba(0, 0, 0, 0.05);
|
2018-02-26 05:42:57 -05:00
|
|
|
}
|
2017-11-09 13:57:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|