2018-02-05 12:25:39 -05:00
|
|
|
.select-kit {
|
2017-10-19 15:51:08 -04:00
|
|
|
&.combo-box {
|
2018-05-09 02:28:45 -04:00
|
|
|
min-width: auto;
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-body {
|
2017-10-19 15:51:08 -04:00
|
|
|
width: 100%;
|
2018-05-01 20:41:28 -04:00
|
|
|
min-width: 150px;
|
|
|
|
border-radius: 0;
|
2018-05-09 02:28:45 -04:00
|
|
|
box-shadow: shadow("dropdown");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-row {
|
2018-04-19 11:36:09 -04:00
|
|
|
margin: 0;
|
2017-10-19 15:51:08 -04:00
|
|
|
min-height: 1px;
|
2018-04-19 11:36:09 -04:00
|
|
|
padding: 6px 10px;
|
2018-05-01 20:41:28 -04:00
|
|
|
&.no-content {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
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-04-19 11:36:09 -04:00
|
|
|
padding: $input-padding;
|
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-05-09 02:28:45 -04:00
|
|
|
width: auto;
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
2018-05-09 02:28:45 -04:00
|
|
|
|
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-04-19 11:36:09 -04:00
|
|
|
padding: $input-padding;
|
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;
|
2018-05-09 17:48:34 -04:00
|
|
|
min-height: 2em; // when no content is available
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-01 20:41:28 -04:00
|
|
|
.select-kit-collection {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0;
|
|
|
|
min-width: 100px;
|
2018-05-02 12:23:37 -04:00
|
|
|
max-height: 200px;
|
2018-05-01 20:41:28 -04:00
|
|
|
max-width: 32em;
|
|
|
|
|
|
|
|
.collection-header {
|
|
|
|
a {
|
|
|
|
white-space: nowrap;
|
|
|
|
color: $primary;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
padding: 6px 10px;
|
|
|
|
color: $tertiary;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.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
|
|
|
}
|
2018-05-01 20:41:28 -04:00
|
|
|
|
|
|
|
&.tag-drop, &.group-dropdown {
|
|
|
|
min-width: auto;
|
|
|
|
.select-kit-row {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-05-03 11:08:14 -04:00
|
|
|
}
|
2018-05-01 20:41:28 -04:00
|
|
|
|
2018-05-03 11:08:14 -04:00
|
|
|
&.is-expanded .select-kit-wrapper, .select-kit-wrapper {
|
|
|
|
display: none;
|
2018-05-01 20:41:28 -04:00
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|