72 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-09-16 19:18:35 +02:00
import styled from 'styled-components';
2019-09-16 19:18:35 +02:00
const Wrapper = styled.div`
min-height: 5.4rem;
-webkit-font-smoothing: antialiased;
2019-09-16 19:18:35 +02:00
`;
2019-09-16 19:18:35 +02:00
const Banner = styled.div`
display: flex;
justify-content: space-between;
padding: 0 43px 0 28px;
2019-09-16 19:18:35 +02:00
color: #787e8f;
2017-11-29 10:29:12 +01:00
cursor: pointer;
> div:first-child {
2017-11-23 16:27:41 +01:00
display: flex;
line-height: 5.3rem;
width: 100%;
}
2019-09-16 19:18:35 +02:00
`;
2019-09-16 19:18:35 +02:00
const Chevron = styled.div`
2017-11-29 10:29:12 +01:00
margin: auto;
margin-left: auto;
padding-left: 5px;
2017-11-29 10:29:12 +01:00
margin-right: 0;
2019-09-16 19:18:35 +02:00
color: #787e8f;
font-family: 'FontAwesome';
font-size: 10px;
`;
2019-09-16 19:18:35 +02:00
const ControllerWrapper = styled.div`
> div:not(:first-child) {
padding-top: 2.3rem;
}
2017-12-04 15:03:53 +01:00
> div:last-child {
padding-bottom: 1.8rem;
}
2019-09-16 19:18:35 +02:00
`;
2017-11-23 16:27:41 +01:00
2019-09-16 19:18:35 +02:00
const Description = styled.div`
2017-12-04 15:03:53 +01:00
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2019-09-16 19:18:35 +02:00
color: #8b91a0;
2017-11-23 16:27:41 +01:00
font-size: 12px;
font-weight: 400;
2019-09-16 19:18:35 +02:00
`;
2017-11-23 16:27:41 +01:00
2019-09-16 19:18:35 +02:00
const Icon = styled.div`
2017-11-23 16:27:41 +01:00
height: 36px;
width: 70px;
min-width: 70px;
margin: auto 0;
2017-11-23 16:27:41 +01:00
margin-right: 14px;
2017-11-28 16:40:55 +01:00
color: #333740;
2019-09-16 19:18:35 +02:00
border: 1px solid rgba(28, 93, 231, 0.1);
2017-11-23 16:27:41 +01:00
border-radius: 3px;
line-height: 36px;
text-align: center;
2019-09-16 19:18:35 +02:00
`;
2017-11-23 16:27:41 +01:00
2019-09-16 19:18:35 +02:00
const Name = styled.div`
2017-11-28 16:40:55 +01:00
font-size: 12px;
line-height: 18px;
2017-11-23 16:27:41 +01:00
font-weight: 600;
text-transform: uppercase;
margin: auto 0;
2019-09-16 19:18:35 +02:00
`;
export { Banner, Chevron, ControllerWrapper, Description, Icon, Name, Wrapper };