Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/input-fees-rounding

This commit is contained in:
fragosti
2018-10-24 12:56:11 -07:00
97 changed files with 1561 additions and 538 deletions

View File

@@ -27,6 +27,7 @@ export interface ContainerProps {
hasBoxShadow?: boolean;
zIndex?: number;
whiteSpace?: string;
opacity?: number;
}
export const Container = styled<ContainerProps, 'div'>('div')`
@@ -52,6 +53,7 @@ export const Container = styled<ContainerProps, 'div'>('div')`
${props => cssRuleIfExists(props, 'border-bottom')}
${props => cssRuleIfExists(props, 'z-index')}
${props => cssRuleIfExists(props, 'white-space')}
${props => cssRuleIfExists(props, 'opacity')}
${props => (props.hasBoxShadow ? `box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1)` : '')};
background-color: ${props => (props.backgroundColor ? props.theme[props.backgroundColor] : 'none')};
border-color: ${props => (props.borderColor ? props.theme[props.borderColor] : 'none')};