2018-02-06 01:25:39 +08:00
|
|
|
.select-kit {
|
2017-10-20 03:51:08 +08:00
|
|
|
&.dropdown-select-box {
|
|
|
|
display: -webkit-inline-box;
|
|
|
|
display: -ms-inline-flexbox;
|
|
|
|
display: inline-flex;
|
|
|
|
min-width: auto;
|
2017-11-21 18:53:09 +08:00
|
|
|
border: none;
|
|
|
|
|
2017-10-20 03:51:08 +08:00
|
|
|
&.is-expanded {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-collection,
|
|
|
|
.select-kit-body {
|
2017-10-20 03:51:08 +08:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-body {
|
2019-01-03 06:54:22 +08:00
|
|
|
border: 1px solid $primary-low;
|
2017-10-20 03:51:08 +08:00
|
|
|
background-clip: padding-box;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("dropdown");
|
2017-10-20 03:51:08 +08:00
|
|
|
max-width: 300px;
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-row {
|
2017-10-20 03:51:08 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 10px 5px;
|
|
|
|
|
|
|
|
.icons {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
2018-10-27 00:55:26 +08:00
|
|
|
flex: 0 0 auto;
|
2017-10-20 03:51:08 +08:00
|
|
|
-webkit-box-align: start;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-align: start;
|
|
|
|
align-items: flex-start;
|
2017-10-20 03:51:08 +08:00
|
|
|
-webkit-box-pack: center;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-pack: center;
|
|
|
|
justify-content: center;
|
2017-10-20 03:51:08 +08:00
|
|
|
-ms-flex-item-align: start;
|
2018-06-08 17:49:31 +08:00
|
|
|
align-self: flex-start;
|
2018-10-24 04:37:36 +08:00
|
|
|
margin-right: 0.357em;
|
2017-10-20 03:51:08 +08:00
|
|
|
margin-top: 2px;
|
|
|
|
width: 30px;
|
|
|
|
|
|
|
|
.d-icon {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2017-10-20 03:51:08 +08:00
|
|
|
-ms-flex-item-align: center;
|
2018-06-08 17:49:31 +08:00
|
|
|
align-self: center;
|
2017-10-20 03:51:08 +08:00
|
|
|
margin-right: 0;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
2018-10-27 00:55:26 +08:00
|
|
|
width: 0; //IE11
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-large;
|
2017-10-20 03:51:08 +08:00
|
|
|
-webkit-box-flex: 1;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex: 1;
|
2018-11-13 01:21:54 +08:00
|
|
|
flex: 1 1 0%;
|
2017-10-20 03:51:08 +08:00
|
|
|
-webkit-box-align: start;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-align: start;
|
|
|
|
align-items: flex-start;
|
2017-10-20 03:51:08 +08:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-ms-flex-wrap: wrap;
|
2018-06-08 17:49:31 +08:00
|
|
|
flex-wrap: wrap;
|
2017-10-20 03:51:08 +08:00
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-direction: column;
|
|
|
|
flex-direction: column;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
.name {
|
|
|
|
-webkit-box-flex: 1;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex: 1;
|
2018-11-14 00:21:19 +08:00
|
|
|
flex: 1 1 auto;
|
2017-10-20 03:51:08 +08:00
|
|
|
font-weight: bold;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2017-10-20 03:51:08 +08:00
|
|
|
color: $primary;
|
|
|
|
padding: 0;
|
2018-04-12 17:39:45 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 100%;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.desc {
|
|
|
|
-webkit-box-flex: 1;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex: 1;
|
2018-11-14 00:21:19 +08:00
|
|
|
flex: 1 1 auto;
|
2018-10-27 00:55:26 +08:00
|
|
|
width: 100%; //IE11
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2017-10-20 03:51:08 +08:00
|
|
|
font-weight: normal;
|
2018-06-08 17:49:31 +08:00
|
|
|
color: dark-light-choose(
|
|
|
|
scale-color($primary, $lightness: 50%),
|
|
|
|
scale-color($secondary, $lightness: 40%)
|
|
|
|
);
|
2017-10-20 03:51:08 +08:00
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-collection {
|
2017-10-20 03:51:08 +08:00
|
|
|
padding: 0;
|
2018-02-02 01:08:55 +08:00
|
|
|
max-height: 100%;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-select-box-header {
|
|
|
|
-webkit-box-sizing: border-box;
|
2018-06-08 17:49:31 +08:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2017-10-20 03:51:08 +08:00
|
|
|
border: 0;
|
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
-webkit-box-align: center;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
2017-11-21 18:53:09 +08:00
|
|
|
-webkit-box-pack: justify;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-pack: justify;
|
|
|
|
justify-content: space-between;
|
2017-11-21 18:53:09 +08:00
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
-webkit-box-direction: normal;
|
2018-06-08 17:49:31 +08:00
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
2017-11-21 18:53:09 +08:00
|
|
|
display: -webkit-inline-box;
|
|
|
|
display: -ms-inline-flexbox;
|
|
|
|
display: inline-flex;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
.d-icon + .d-icon {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
&.is-focused {
|
|
|
|
outline-style: auto;
|
|
|
|
outline-color: $tertiary;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|