2017-09-20 12:30:53 +03:00
|
|
|
import is from 'styled-is';
|
|
|
|
import remcalc from 'remcalc';
|
|
|
|
import styled from 'styled-components';
|
|
|
|
|
2017-11-23 14:18:38 +02:00
|
|
|
export const List = styled.ul`
|
2017-09-26 19:07:45 +03:00
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
`;
|
2017-09-20 12:30:53 +03:00
|
|
|
|
2017-11-23 14:18:38 +02:00
|
|
|
export const Icon = styled.div`
|
2017-12-15 16:09:09 +02:00
|
|
|
width: ${remcalc(165)};
|
|
|
|
height: ${remcalc(165)};
|
2017-11-23 14:18:38 +02:00
|
|
|
border: ${remcalc(2)} solid ${props => props.theme.grey};
|
2017-09-26 19:07:45 +03:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: ${remcalc(18)};
|
|
|
|
|
|
|
|
${is('dark')`
|
2017-11-23 14:18:38 +02:00
|
|
|
background: ${props => props.theme.secondary};
|
2017-09-20 12:30:53 +03:00
|
|
|
`};
|
2017-09-26 19:07:45 +03:00
|
|
|
`;
|
|
|
|
|
2017-11-23 14:18:38 +02:00
|
|
|
export const ListItem = styled.li`
|
2017-09-26 19:07:45 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin: ${remcalc(8)};
|
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: ${remcalc(53)};
|
|
|
|
`;
|