summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/RedeemVoucherStyles.tsx
blob: bbf20067b3f1de6511466e5038799234c37a7fa6 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import styled from 'styled-components';
import { colors } from '../../config.json';
import FormattableTextInput from './FormattableTextInput';
import ImageView from './ImageView';

export const StyledLabel = styled.span({
  fontFamily: 'Open Sans',
  fontSize: '13px',
  fontWeight: 600,
  lineHeight: '20px',
  color: colors.white,
  marginBottom: '9px',
});

export const StyledInput = styled(FormattableTextInput)({
  flex: 1,
  overflow: 'hidden',
  padding: '14px',
  fontFamily: 'Open Sans',
  fontSize: '13px',
  fontWeight: 600,
  lineHeight: '26px',
  color: colors.blue,
  backgroundColor: colors.white,
  border: 'none',
  borderRadius: '4px',
  '::placeholder': {
    color: colors.blue40,
  },
});

export const StyledResponse = styled.span({
  marginTop: '8px',
  fontFamily: 'Open Sans',
  fontSize: '13px',
  lineHeight: '20px',
  fontWeight: 800,
  color: colors.white,
});

export const StyledProgressWrapper = styled.div({
  display: 'flex',
  alignItems: 'center',
  marginTop: '8px',
});

export const StyledProgressResponse = styled(StyledResponse)({
  marginTop: 0,
});

export const StyledErrorResponse = styled(StyledResponse)({
  color: colors.red,
});

export const StyledEmptyResponse = styled.span({
  height: '20px',
  marginTop: '8px',
});

export const StyledSpinner = styled(ImageView)({
  marginRight: '8px',
});

export const StyledStatusIcon = styled.div({
  alignSelf: 'center',
  width: '60px',
  height: '60px',
  marginBottom: '18px',
  marginTop: '25px',
});

export const StyledTitle = styled.span({
  fontFamily: 'Open Sans',
  fontSize: '16px',
  lineHeight: '22px',
  fontWeight: 800,
  color: colors.white,
  marginBottom: '5px',
});