summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/AccountStyles.tsx
blob: 015e7a447874e0dbc6b0c4cb422563377d290f1f (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import styled from 'styled-components';
import { colors } from '../../config.json';
import * as AppButton from './AppButton';
import { Container } from './Layout';
import { RedeemVoucherButton } from './RedeemVoucher';

export const StyledContainer = styled(Container)({
  backgroundColor: colors.darkBlue,
  flexDirection: 'column',
});

export const AccountContainer = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
  paddingBottom: '22px',
});

export const AccountRows = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
});

export const AccountRow = styled.div({
  padding: '0 22px',
  marginBottom: '20px',
});

const AccountRowText = styled.span({
  display: 'block',
  fontFamily: 'Open Sans',
});

export const AccountRowLabel = styled(AccountRowText)({
  fontSize: '13px',
  fontWeight: 600,
  lineHeight: '20px',
  marginBottom: '9px',
  color: colors.white60,
});

export const AccountRowValue = styled(AccountRowText)({
  fontSize: '16px',
  lineHeight: '19px',
  fontWeight: 800,
  color: colors.white,
});

export const AccountOutOfTime = styled(AccountRowValue)({
  color: colors.red,
});

export const AccountFooter = styled.div({
  display: 'flex',
  flexDirection: 'column',
  padding: '0 22px',
});

const buttonStyle = {
  marginBottom: '18px',
};

export const StyledRedeemVoucherButton = styled(RedeemVoucherButton)(buttonStyle);
export const StyledBuyCreditButton = styled(AppButton.GreenButton)(buttonStyle);