joyent-portal/packages/ui-toolkit/src/icons/icons.js

34 lines
717 B
JavaScript
Raw Normal View History

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-11-23 14:18:38 +02:00
export const Icon = styled.div`
2017-09-26 19:07:45 +03:00
width: ${remcalc(180)};
height: ${remcalc(180)};
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')`
background: ${props => props.theme.secondary};
`};
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)};
`;