2019-01-10 01:54:28 +00:00
|
|
|
.ember-power-select-trigger,
|
|
|
|
.dropdown-trigger {
|
|
|
|
position: relative;
|
2019-11-12 01:02:13 +00:00
|
|
|
display: flex;
|
2019-11-06 07:11:52 +00:00
|
|
|
align-items: center;
|
|
|
|
padding: 0.375em 16px 0.375em 0.3em;
|
|
|
|
line-height: 1;
|
2018-08-03 17:11:47 +00:00
|
|
|
border-radius: $radius;
|
|
|
|
box-shadow: $button-box-shadow-standard;
|
2018-08-06 21:23:33 +00:00
|
|
|
background: $white-bis;
|
2019-01-10 01:54:28 +00:00
|
|
|
border: 1px solid $grey-light;
|
2019-11-06 07:11:52 +00:00
|
|
|
height: 2.25em;
|
|
|
|
font-size: 1rem;
|
2019-01-15 01:59:41 +00:00
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: $button-box-shadow-standard, inset 0 0 0 2px $grey-lighter;
|
|
|
|
}
|
2018-08-03 17:11:47 +00:00
|
|
|
|
|
|
|
&.is-outlined {
|
|
|
|
border-color: rgba($white, 0.5);
|
|
|
|
color: $white;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: $button-box-shadow-standard, 0 0 2px 2px rgba($black, 0.1);
|
|
|
|
|
|
|
|
.ember-power-select-status-icon {
|
|
|
|
border-top-color: rgba($white, 0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-prefix {
|
|
|
|
color: rgba($white, 0.75);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-12 00:40:28 +00:00
|
|
|
.button-bar {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
box-shadow: $button-box-shadow-standard;
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& + .dropdown {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-trigger,
|
|
|
|
.dropdown-trigger {
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
2019-01-15 01:59:41 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px $grey-lighter;
|
|
|
|
}
|
2019-01-12 00:40:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown:first-child {
|
|
|
|
.ember-power-select-trigger,
|
|
|
|
.dropdown-trigger {
|
|
|
|
border-top-left-radius: $radius;
|
|
|
|
border-bottom-left-radius: $radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown:last-child {
|
|
|
|
.ember-power-select-trigger,
|
|
|
|
.dropdown-trigger {
|
|
|
|
border-top-right-radius: $radius;
|
|
|
|
border-bottom-right-radius: $radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-31 04:14:44 +00:00
|
|
|
.ember-power-select-selected-item,
|
2019-01-10 01:54:28 +00:00
|
|
|
.dropdown-trigger-label {
|
|
|
|
margin-left: 8px;
|
2019-01-11 23:41:56 +00:00
|
|
|
margin-right: 8px;
|
2019-03-07 04:56:13 +00:00
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
2019-01-10 01:54:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-selected-item,
|
|
|
|
.dropdown-item {
|
2018-08-03 17:11:47 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-01-10 01:54:28 +00:00
|
|
|
.ember-power-select-prefix,
|
|
|
|
.dropdown-prefix {
|
2018-08-03 17:11:47 +00:00
|
|
|
color: $grey;
|
|
|
|
}
|
|
|
|
|
2019-01-10 01:54:28 +00:00
|
|
|
.ember-power-select-option,
|
|
|
|
.dropdown-option {
|
|
|
|
.ember-power-select-prefix,
|
|
|
|
.dropdown-prefix {
|
2018-08-03 17:11:47 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-01-10 01:54:28 +00:00
|
|
|
|
2019-01-19 01:23:03 +00:00
|
|
|
.dropdown-options,
|
|
|
|
.ember-power-select-options {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Bulma override
|
|
|
|
.menu-list li ul.ember-power-select-options {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-01-10 01:54:28 +00:00
|
|
|
.dropdown-options {
|
|
|
|
border: 1px solid $grey-light;
|
|
|
|
margin-top: -1px;
|
2019-01-12 00:40:28 +00:00
|
|
|
max-height: 400px;
|
|
|
|
overflow: auto;
|
2019-01-10 01:54:28 +00:00
|
|
|
|
|
|
|
& > ul {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-option {
|
2019-01-19 01:23:03 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
white-space: nowrap;
|
2019-01-10 01:54:28 +00:00
|
|
|
line-height: 1.75;
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 8px;
|
2019-03-07 04:56:13 +00:00
|
|
|
min-width: 100px;
|
2019-01-10 01:54:28 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + .dropdown-option {
|
|
|
|
border-top: 1px solid $grey-lighter;
|
|
|
|
}
|
|
|
|
|
2019-01-15 01:59:41 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2019-01-10 01:54:28 +00:00
|
|
|
background: $white-bis;
|
2019-01-15 01:59:41 +00:00
|
|
|
outline: none;
|
|
|
|
border-left: 2px solid $blue;
|
|
|
|
label {
|
|
|
|
padding-left: 6px;
|
2019-03-07 04:56:13 +00:00
|
|
|
min-width: 98px;
|
2019-01-15 01:59:41 +00:00
|
|
|
}
|
2019-01-10 01:54:28 +00:00
|
|
|
}
|
|
|
|
}
|
2019-01-23 00:29:09 +00:00
|
|
|
|
|
|
|
.dropdown-empty {
|
|
|
|
display: block;
|
|
|
|
padding: 8px 12px;
|
|
|
|
color: $grey-light;
|
|
|
|
}
|
2019-01-10 01:54:28 +00:00
|
|
|
}
|