2018-03-01 17:53:29 +00:00
|
|
|
@import 'common/sass/variables';
|
|
|
|
|
2018-01-24 00:33:11 +00:00
|
|
|
.Select {
|
2018-03-01 17:53:29 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid #e5ecf3;
|
|
|
|
border-radius: 2px;
|
|
|
|
font-weight: 400;
|
2018-01-24 00:33:11 +00:00
|
|
|
font-size: 1rem;
|
2018-03-01 17:53:29 +00:00
|
|
|
box-shadow: inset 0 1px 0 0 rgba(63, 63, 68, 0.05);
|
|
|
|
transition: border-color 120ms, box-shadow 120ms;
|
2018-03-22 18:30:51 +00:00
|
|
|
height: $input-height-base;
|
|
|
|
|
2018-03-01 17:53:29 +00:00
|
|
|
&-control {
|
|
|
|
min-width: 7.5rem;
|
|
|
|
height: inherit;
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
background-color: transparent !important;
|
|
|
|
border: none !important;
|
2018-01-24 00:33:11 +00:00
|
|
|
&:hover {
|
2018-03-01 17:53:29 +00:00
|
|
|
box-shadow: none;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
}
|
|
|
|
&-placeholder {
|
|
|
|
line-height: $line-height-base;
|
|
|
|
}
|
|
|
|
&-input {
|
|
|
|
position: absolute;
|
|
|
|
> input {
|
|
|
|
line-height: $line-height-base;
|
|
|
|
padding: 0;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&-placeholder,
|
|
|
|
&-input {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
padding: 0rem 1rem;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&-option {
|
|
|
|
padding: 0.75rem 1rem;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&-menu-outer {
|
|
|
|
z-index: 3;
|
|
|
|
width: calc(100% + 2px);
|
|
|
|
left: -1px;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: white;
|
|
|
|
border: none;
|
|
|
|
border-left: 2px solid #5694b8;
|
|
|
|
border-right: 2px solid #5694b8;
|
|
|
|
border-bottom: 2px solid #5694b8;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-left-radius: 2px;
|
|
|
|
border-bottom-right-radius: 2px;
|
|
|
|
border-color: inherit;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
2018-03-08 19:28:43 +00:00
|
|
|
&-menu {
|
2018-03-23 16:41:47 +00:00
|
|
|
max-height: 10.0625rem;
|
2018-03-08 19:28:43 +00:00
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&.invalid.has-blurred {
|
|
|
|
border-color: $brand-danger;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px $brand-danger;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
|
|
|
&.is-focused {
|
2018-03-01 17:53:29 +00:00
|
|
|
border-color: #4295bc;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px #4295bc;
|
|
|
|
&.valid {
|
|
|
|
border-color: #8dd17b;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px #8dd17b;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&-value {
|
|
|
|
line-height: $line-height-base !important;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding: 0.75rem 1rem !important;
|
|
|
|
height: inherit !important;
|
|
|
|
&-label {
|
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
display: block;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&-multi-value-wrapper {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
height: inherit;
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|
2018-03-14 20:10:14 +00:00
|
|
|
|
|
|
|
// Identicons need to fit into the select
|
|
|
|
.Identicon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 22px !important;
|
|
|
|
height: 22px !important;
|
|
|
|
top: -1px;
|
|
|
|
}
|
2018-01-24 00:33:11 +00:00
|
|
|
}
|