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
|
import styled from 'styled-components';
import { colors } from '../../config.json';
import { hugeText, measurements, smallText } from './common-styles';
export const StyledContentContainer = styled.div({
display: 'flex',
flexDirection: 'column',
flex: 1,
});
export const StyledContent = styled.div({
display: 'flex',
flex: 1,
flexDirection: 'column',
justifyContent: 'space-between',
});
export const StyledForm = styled.div({
display: 'flex',
flex: 1,
flexDirection: 'column',
margin: `0 ${measurements.viewMargin}`,
});
export const StyledFormEmailRow = styled.div({
marginBottom: '12px',
display: 'flex',
});
export const StyledFormMessageRow = styled.div({
display: 'flex',
flex: 1,
});
const input = {
flex: 1,
borderRadius: '4px',
padding: '14px',
color: colors.blue,
backgroundColor: colors.white,
border: 'none',
};
export const StyledEmailInput = styled.input.attrs({ type: 'email' })(smallText, input, {
lineHeight: '26px',
fontWeight: 400,
});
export const StyledMessageInput = styled.textarea(smallText, input, {
resize: 'none',
fontWeight: 400,
});
export const StyledStatusIcon = styled.div({
display: 'flex',
justifyContent: 'center',
marginBottom: '32px',
});
export const StyledSentMessage = styled.span(smallText, {
overflow: 'visible',
color: colors.white60,
});
export const StyledThanks = styled.span({
color: colors.green,
});
export const StyledEmail = styled.span({
fontWeight: 900,
color: colors.white,
});
export const StyledSendStatus = styled.span(hugeText, {
marginBottom: '4px',
});
|