summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/Layout.tsx
blob: b74cfd929f656ace7d7c53db66f0266e3deed2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import styled from 'styled-components';

import { colors } from '../../config.json';
import { measurements } from './common-styles';
import HeaderBar from './HeaderBar';

export const Header = styled(HeaderBar)({
  flex: 0,
});

export const Container = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
  backgroundColor: colors.blue,
  overflow: 'hidden',
});

export const SettingsContainer = styled(Container)({
  backgroundColor: colors.darkBlue,
});

export const Layout = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
  height: '100vh',
});

export const Footer = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 0,
  paddingTop: '18px',
  paddingLeft: measurements.viewMargin,
  paddingRight: measurements.viewMargin,
  paddingBottom: measurements.viewMargin,
});