75 lines
1.2 KiB
JavaScript
Raw Normal View History

2019-09-13 15:17:24 +02:00
import styled from 'styled-components';
2017-11-06 18:15:53 +01:00
2019-09-13 15:17:24 +02:00
const Container = styled.div`
margin: 0 3.2rem 0 1.9rem;
2017-11-06 18:15:53 +01:00
padding: 0 1.4rem 0 0rem;
2019-09-13 15:17:24 +02:00
border-bottom: 1px solid rgba(14, 22, 34, 0.04);
2017-11-06 18:15:53 +01:00
color: #333740;
font-size: 1.3rem;
> div {
padding: 0;
align-self: center;
}
2019-09-13 15:17:24 +02:00
> div:first-child {
2017-11-06 18:15:53 +01:00
padding-left: 1.4rem;
}
> div:last-child {
text-align: right;
}
2019-09-13 15:17:24 +02:00
`;
2017-11-06 18:15:53 +01:00
2019-09-13 15:17:24 +02:00
const Flex = styled.div`
2017-11-06 18:15:53 +01:00
display: flex;
padding-left: 7px;
2017-11-14 10:31:18 +01:00
font-weight: 600;
> div:first-child {
width: 17px;
padding-top: 2px;
2019-11-19 16:17:15 +01:00
> i,
> svg {
2019-11-25 17:08:30 +01:00
font-size: 12px;
vertical-align: inherit;
}
}
2017-11-06 18:15:53 +01:00
> div:last-child {
width: 80%;
margin-left: 54px;
2017-11-14 10:31:18 +01:00
padding-left: 7px;
2017-11-06 18:15:53 +01:00
text-align: left;
font-weight: 500 !important;
2017-11-06 18:15:53 +01:00
}
2019-09-13 15:17:24 +02:00
`;
2017-11-06 18:15:53 +01:00
2019-09-13 15:17:24 +02:00
const Row = styled.div`
margin-top: 0 !important;
2017-11-06 18:15:53 +01:00
position: relative;
height: 5.4rem;
line-height: 5.4rem;
cursor: pointer;
&:hover {
2019-09-13 15:17:24 +02:00
background-color: #f7f8f8;
2017-11-06 18:15:53 +01:00
}
2018-03-19 10:25:21 +01:00
div {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2019-09-13 15:17:24 +02:00
`;
2017-11-06 18:15:53 +01:00
2019-09-13 15:17:24 +02:00
const Wrapper = styled.div`
2017-11-06 18:15:53 +01:00
> div:first-child {
text-align: left;
}
> div:nth-of-type(2) {
text-align: center;
}
2017-11-28 16:24:28 +01:00
strong {
2017-11-14 10:31:18 +01:00
font-weight: 600;
}
2017-11-28 16:24:28 +01:00
b {
font-weight: 500;
}
2019-09-13 15:17:24 +02:00
`;
export { Container, Flex, Row, Wrapper };