2018-05-16 12:44:36 +03:00
|
|
|
import * as React from 'react';
|
|
|
|
import styled, { media, ResolvedThemeInterface, StyledComponentClass } from '../styled-components';
|
2017-10-12 00:01:37 +03:00
|
|
|
|
|
|
|
export const MiddlePanel = styled.div`
|
2018-03-16 18:02:31 +03:00
|
|
|
width: calc(100% - ${props => props.theme.rightPanel.width});
|
2017-10-12 00:01:37 +03:00
|
|
|
padding: ${props => props.theme.spacingUnit * 2}px;
|
2018-01-30 16:35:18 +03:00
|
|
|
|
|
|
|
${media.lessThan('medium')`
|
|
|
|
width: 100%;
|
|
|
|
`};
|
2017-10-12 00:01:37 +03:00
|
|
|
`;
|
|
|
|
|
|
|
|
export const RightPanel = styled.div`
|
2018-03-16 18:02:31 +03:00
|
|
|
width: ${props => props.theme.rightPanel.width};
|
2017-10-12 00:01:37 +03:00
|
|
|
color: #fafbfc;
|
2018-03-16 18:02:31 +03:00
|
|
|
background-color: ${props => props.theme.rightPanel.backgroundColor};
|
2017-10-12 00:01:37 +03:00
|
|
|
padding: ${props => props.theme.spacingUnit * 2}px;
|
2018-01-30 16:35:18 +03:00
|
|
|
|
|
|
|
${media.lessThan('medium')`
|
|
|
|
width: 100%;
|
|
|
|
`};
|
2017-10-12 00:01:37 +03:00
|
|
|
`;
|
2017-11-14 18:46:50 +03:00
|
|
|
|
2018-03-18 12:13:08 +03:00
|
|
|
export const DarkRightPanel = RightPanel.extend`
|
2017-11-14 18:46:50 +03:00
|
|
|
background-color: ${props => props.theme.rightPanel.backgroundColor};
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const Row = styled.div`
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2018-01-30 16:35:18 +03:00
|
|
|
|
|
|
|
${media.lessThan('medium')`
|
|
|
|
flex-direction: column;
|
|
|
|
`};
|
2017-11-14 18:46:50 +03:00
|
|
|
`;
|