2017-09-11 02:57:34 +08:00
|
|
|
.dropdown-select-box.dropdown-select-box {
|
2017-09-09 02:47:39 +08:00
|
|
|
display: inline-flex;
|
|
|
|
height: 30px;
|
|
|
|
min-width: auto;
|
|
|
|
|
2017-09-06 22:58:00 +08:00
|
|
|
&.is-expanded {
|
2017-09-09 02:47:39 +08:00
|
|
|
.collection,
|
|
|
|
.select-box-collection,
|
|
|
|
.select-box-body {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2017-09-06 22:58:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.select-box-body {
|
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2017-09-09 02:47:39 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
|
|
|
|
max-width: 300px;
|
2017-09-12 01:14:22 +08:00
|
|
|
width: 300px;
|
2017-09-06 22:58:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.select-box-row {
|
|
|
|
margin: 0;
|
2017-09-09 07:53:10 +08:00
|
|
|
padding: 10px 5px;
|
2017-09-06 22:58:00 +08:00
|
|
|
|
2017-09-09 02:47:39 +08:00
|
|
|
.icons {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
2017-09-12 01:14:22 +08:00
|
|
|
justify-content: center;
|
|
|
|
align-self: flex-start;
|
2017-09-09 02:47:39 +08:00
|
|
|
margin-right: 10px;
|
2017-09-09 07:53:10 +08:00
|
|
|
margin-top: 2px;
|
2017-09-12 01:14:22 +08:00
|
|
|
width: 30px;
|
2017-09-09 02:47:39 +08:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
font-size: 1.286em;
|
|
|
|
align-self: center;
|
|
|
|
margin-right: 0;
|
|
|
|
opacity: 1;
|
2017-09-12 01:14:22 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%));
|
2017-09-09 02:47:39 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
|
|
|
line-height: 18px;
|
|
|
|
flex: 1;
|
|
|
|
align-items: flex-start;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
flex: 1;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
font-size: 1em;
|
|
|
|
color: $primary;
|
2017-09-13 16:00:10 +08:00
|
|
|
padding: 0;
|
2017-09-09 02:47:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.desc {
|
|
|
|
flex: 1;
|
|
|
|
font-size: 0.857em;
|
|
|
|
font-weight: normal;
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-06 22:58:00 +08:00
|
|
|
&.is-highlighted {
|
2017-09-09 07:53:10 +08:00
|
|
|
background: $tertiary-low;
|
2017-09-06 22:58:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $highlight-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-09 02:47:39 +08:00
|
|
|
.select-box-collection {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-06 22:58:00 +08:00
|
|
|
.dropdown-header {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
justify-content: flex-start;
|
|
|
|
background: none;
|
|
|
|
|
2017-09-09 02:47:39 +08:00
|
|
|
.d-icon + .d-icon {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2017-09-06 22:58:00 +08:00
|
|
|
.btn {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: row;
|
|
|
|
display: inline-flex;
|
|
|
|
height: 100%;
|
2017-09-09 02:47:39 +08:00
|
|
|
margin: 0;
|
2017-09-06 22:58:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|