2016-04-19 18:50:01 +03:00
|
|
|
@import '../../styles/variables';
|
|
|
|
|
|
|
|
:host {
|
|
|
|
.dk-select {
|
|
|
|
max-width: 100%;
|
2016-04-25 22:41:08 +03:00
|
|
|
font-family: $headers-font, $headers-font-family;
|
|
|
|
font-size: .929em;
|
|
|
|
min-width: 100px;
|
|
|
|
width: auto;
|
2016-04-19 18:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dk-selected:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// button
|
|
|
|
.dk-selected {
|
2016-04-25 22:41:08 +03:00
|
|
|
color: $secondary-color;
|
|
|
|
border-color: rgba($secondary-color, .5);
|
|
|
|
padding: 0.15em 0.6em 0.2em 0.5em;
|
|
|
|
border-radius: $border-radius;
|
2016-04-19 18:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dk-select-open-down .dk-selected, .dk-selected:focus, .dk-selected:hover {
|
|
|
|
border-color: $primary-color;
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// tick
|
|
|
|
.dk-selected:before {
|
2016-04-25 22:41:08 +03:00
|
|
|
border-top-color: $secondary-color;
|
2016-04-19 18:50:01 +03:00
|
|
|
border-width: .35em .35em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dk-select-open-down .dk-selected:before,
|
|
|
|
.dk-select-open-up .dk-selected:before {
|
|
|
|
border-bottom-color: $primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// items
|
|
|
|
.dk-select-multi:focus .dk-select-options,
|
|
|
|
.dk-select-open-down .dk-select-options,
|
|
|
|
.dk-select-open-up .dk-select-options {
|
2016-04-25 22:41:08 +03:00
|
|
|
border-color: rgba($secondary-color, .2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dk-select-options .dk-option-highlight {
|
|
|
|
background: #ffffff;
|
2016-04-19 18:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dk-select-options {
|
|
|
|
margin-top: 0.2em;
|
2016-04-25 22:41:08 +03:00
|
|
|
padding: 0;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08) !important
|
2016-04-19 18:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dk-option {
|
2016-04-25 22:41:08 +03:00
|
|
|
color: $secondary-color;
|
|
|
|
padding: 0.16em 0.6em 0.2em 0.5em;
|
2016-04-19 18:50:01 +03:00
|
|
|
&:hover {
|
2016-04-25 22:41:08 +03:00
|
|
|
background-color: rgba($secondary-color, .12);
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba($secondary-color, .12);
|
2016-04-19 18:50:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dk-option-selected {
|
2016-04-25 22:41:08 +03:00
|
|
|
background-color: rgba(0, 0, 0, 0.05)!important;
|
2016-04-19 18:50:01 +03:00
|
|
|
}
|
|
|
|
}
|