2019-09-17 16:20:45 +02:00
|
|
|
import styled from 'styled-components';
|
|
|
|
|
2020-04-22 15:49:51 +02:00
|
|
|
/* stylelint-disable */
|
|
|
|
|
2019-09-17 16:20:45 +02:00
|
|
|
const Wrapper = styled.div`
|
|
|
|
min-width: 200px;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
height: 3.4rem;
|
|
|
|
margin-top: 0.9rem;
|
|
|
|
padding-left: 1rem;
|
|
|
|
background-size: 0 !important;
|
|
|
|
border: 1px solid #e3e9f3;
|
|
|
|
border-left: 0;
|
|
|
|
border-bottom: 0px;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
line-height: 3.4rem;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-family: 'Lato' !important;
|
|
|
|
box-shadow: 0px 2px 1px rgba(104, 118, 142, 0.05);
|
|
|
|
&:focus {
|
|
|
|
border-color: #78caff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Addon = styled.div`
|
2017-11-07 16:33:15 +01:00
|
|
|
width: 3.2rem;
|
|
|
|
height: 3.4rem;
|
2019-09-17 15:24:22 +02:00
|
|
|
margin-top: 0.9rem;
|
2017-11-07 16:33:15 +01:00
|
|
|
background-color: rgba(16, 22, 34, 0.02);
|
2019-09-17 15:24:22 +02:00
|
|
|
border: 1px solid #e3e9f3;
|
2018-02-06 18:42:42 +01:00
|
|
|
border-right: 0;
|
2017-12-05 14:44:32 +01:00
|
|
|
border-bottom: 0px;
|
2017-11-07 16:33:15 +01:00
|
|
|
border-radius: 0.25rem;
|
2019-09-17 15:24:22 +02:00
|
|
|
border-bottom-left-radius: 0 !important;
|
|
|
|
border-bottom-right-radius: 0 !important;
|
|
|
|
color: #b3b5b9;
|
2017-11-07 16:33:15 +01:00
|
|
|
line-height: 3.2rem;
|
|
|
|
font-size: 1.3rem;
|
2018-10-09 12:31:16 +02:00
|
|
|
font-family: 'Lato';
|
2019-09-17 15:24:22 +02:00
|
|
|
font-weight: 600 !important;
|
2017-11-07 16:33:15 +01:00
|
|
|
text-transform: capitalize;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
2017-12-04 15:03:53 +01:00
|
|
|
box-shadow: 0px 2px 1px rgba(104, 118, 142, 0.05);
|
2019-11-19 16:17:15 +01:00
|
|
|
i,
|
|
|
|
svg {
|
2017-11-29 17:18:08 +01:00
|
|
|
margin-left: 2px;
|
2019-09-17 15:24:22 +02:00
|
|
|
color: #b3b5b9;
|
2017-12-04 17:32:45 +01:00
|
|
|
font-weight: 900;
|
2017-11-29 17:18:08 +01:00
|
|
|
font-size: 14px;
|
2017-11-07 16:33:15 +01:00
|
|
|
font-family: 'FontAwesome';
|
2019-09-17 16:20:45 +02:00
|
|
|
font-style: initial;
|
2017-11-14 10:59:57 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2017-11-07 16:33:15 +01:00
|
|
|
}
|
2019-09-17 16:20:45 +02:00
|
|
|
&.focus {
|
|
|
|
border-color: #78caff;
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
`;
|
2017-11-07 18:16:42 +01:00
|
|
|
|
2019-09-17 16:20:45 +02:00
|
|
|
const List = styled.div`
|
2017-11-07 18:16:42 +01:00
|
|
|
height: 16.3rem;
|
2019-10-08 10:38:08 +02:00
|
|
|
overflow-y: auto;
|
2019-09-17 15:24:22 +02:00
|
|
|
border: 1px solid #e3e9f3;
|
|
|
|
border-top-left-radius: 0 !important;
|
|
|
|
border-top-right-radius: 0 !important;
|
2017-11-07 18:16:42 +01:00
|
|
|
border-top: none;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
> ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 1px 0;
|
|
|
|
}
|
2019-09-17 16:20:45 +02:00
|
|
|
&.focused {
|
|
|
|
border-color: #78caff;
|
|
|
|
}
|
|
|
|
`;
|
2018-02-06 18:42:42 +01:00
|
|
|
|
2019-09-17 16:20:45 +02:00
|
|
|
export { Addon, List, Wrapper };
|