2020-03-31 03:13:16 -04:00
|
|
|
.widget-dropdown {
|
|
|
|
display: inline-flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
&.closed {
|
|
|
|
.widget-dropdown-body {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-dropdown-body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0.25em;
|
|
|
|
background: $secondary;
|
|
|
|
z-index: z("dropdown");
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
max-height: 250px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-dropdown-item {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0.25em;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: $primary-medium;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.separator {
|
|
|
|
padding: 0;
|
|
|
|
background: $primary-low;
|
|
|
|
margin: 0.25em 0;
|
2020-04-29 13:42:50 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $primary-low;
|
|
|
|
}
|
2020-03-31 03:13:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $tertiary-low;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-dropdown-header {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|