2017-11-16 12:47:32 +02:00
|
|
|
import React from 'react';
|
2017-11-09 13:27:32 +02:00
|
|
|
import styled from 'styled-components';
|
2017-11-16 12:47:32 +02:00
|
|
|
import remcalc from 'remcalc';
|
2017-10-30 13:52:53 +02:00
|
|
|
|
2017-11-16 12:47:32 +02:00
|
|
|
const UL = styled.ul`
|
2017-10-30 13:52:53 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
2017-11-16 12:47:32 +02:00
|
|
|
a {
|
|
|
|
padding: ${remcalc(15)};
|
|
|
|
line-height: ${remcalc(24)};
|
|
|
|
font-size: ${remcalc(15)};
|
|
|
|
color: ${props => props.theme.white};
|
|
|
|
text-decoration: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
transition: all 200ms ease;
|
|
|
|
max-height: ${remcalc(53)};
|
|
|
|
min-height: ${remcalc(53)};
|
|
|
|
box-sizing: border-box;
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
background: rgba(255, 255, 255, 0.15);
|
|
|
|
}
|
|
|
|
}
|
2017-11-02 17:18:25 +02:00
|
|
|
`;
|
2017-11-16 12:47:32 +02:00
|
|
|
|
|
|
|
export default ({ children, ...rest }) => <UL {...rest}>{children}</UL>;
|