summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/RedeemVoucherStyles.tsx
blob: cd7d0cc7ebd00e8e06192e63a8acc0c7f04cedcf (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
import styled from 'styled-components';
import { colors } from '../../config.json';
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.input({
  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',
});

export const StyledSuccessResponse = styled(StyledResponse)({
  fontWeight: 600,
  color: colors.green,
});

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

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

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