Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat(lsg): adjust tab-navigation styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpeschel authored and lkuechler committed Dec 11, 2017
1 parent 872d910 commit 1778f79
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/lsg/patterns/tab-navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,24 @@ export interface TabNavigationItemProps {
const StyledTabNavigation = styled.div`
display: flex;
flex-wrap: wrap;
width: 100%;
border: 1px solid ${colors.grey70.toString()};
border-radius: 3px;
`;

const StyledTabNavigationItem = styled.div`
margin-right: ${getSpace(Size.L)}px;
flex-grow: 1;
padding: ${getSpace(Size.XS)}px ${getSpace(Size.M)}px;
${(props: TabNavigationItemProps) => props.active
? `color: ${colors.blue.toString()};`
: `color: ${colors.grey90.toString()};`
? `background: ${colors.grey70.toString()};
color: ${colors.white.toString()};`
: `background: ${colors.white.toString()};
color: ${colors.grey70.toString()};`
}
font-family: ${fonts().NORMAL_FONT};
font-size: 12px;
text-align: center;
cursor: pointer;
&:last-child {
margin-right: 0;
}
`;

export const TabNavigationItem: React.StatelessComponent<TabNavigationItemProps> = (props): JSX.Element => (
Expand Down

0 comments on commit 1778f79

Please sign in to comment.