summaryrefslogtreecommitdiffhomepage
path: root/app/components/SupportStyles.js
blob: ea1f26651d17d88e89076f93810797da8cb6caec (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
import { createViewStyles, createTextStyles } from '../lib/styles';
import { colors } from '../config';

export default Object.assign(
  createViewStyles({
    support: {
      backgroundColor: colors.darkBlue,
      flex: 1,
    },
    support__container: {
      display: 'flex',
      flexDirection: 'column',
      flex: 1,
    },
    support__header: {
      flex: 0,
      paddingTop: 12,
      paddingBottom: 12,
      paddingLeft: 24,
      paddingRight: 24,
    },
    support__close: {
      paddingLeft: 12,
      paddingTop: 24,
      flexDirection: 'row',
      alignItems: 'center',
      justifyContent: 'flex-start',
    },
    support__close_icon: {
      flex: 0,
      opacity: 0.6,
      marginRight: 8,
    },
    support__content: {
      flex: 1,
      display: 'flex',
      flexDirection: 'column',
      justifyContent: 'space-between',
    },
    support__form: {
      display: 'flex',
      flex: 1,
      flexDirection: 'column',
    },
    support__form_row: {
      paddingTop: 0,
      paddingBottom: 8,
      paddingLeft: 22,
      paddingRight: 22,
    },
    support__form_row_message: {
      flex: 1,
      paddingTop: 0,
      paddingBottom: 8,
      paddingLeft: 22,
      paddingRight: 22,
    },
    support__form_message_scroll_wrap: {
      flex: 1,
      display: 'flex',
      borderRadius: 4,
      overflow: 'hidden',
    },
    support__footer: {
      paddingTop: 0,
      paddingBottom: 16,
      display: 'flex',
      flexDirection: 'column',
      flex: 0,
    },
    support__status_icon: {
      textAlign: 'center',
      marginBottom: 32,
    },
  }),
  createTextStyles({
    support__close_title: {
      fontFamily: 'Open Sans',
      fontSize: 13,
      fontWeight: '600',
      color: colors.white60,
    },
    support__title: {
      fontFamily: 'DINPro',
      fontSize: 32,
      fontWeight: '900',
      lineHeight: 40,
      color: colors.white,
      marginBottom: 16,
    },
    support__subtitle: {
      fontFamily: 'Open Sans',
      fontSize: 13,
      fontWeight: '600',
      overflow: 'visible',
      color: colors.white80,
      lineHeight: 20,
      letterSpacing: -0.2,
    },
    support__form_email: {
      flex: 1,
      borderRadius: 4,
      overflow: 'hidden',
      paddingTop: 14,
      paddingLeft: 14,
      paddingRight: 14,
      paddingBottom: 14,
      fontFamily: 'Open Sans',
      fontSize: 13,
      fontWeight: '600',
      lineHeight: 26,
      color: colors.blue,
      backgroundColor: colors.white,
    },
    support__form_message: {
      paddingTop: 14,
      paddingLeft: 14,
      paddingRight: 14,
      paddingBottom: 14,
      fontFamily: 'Open Sans',
      fontSize: 13,
      fontWeight: '600',
      color: colors.blue,
      backgroundColor: colors.white,
      flex: 1,
    },
    support__sent_email: {
      fontWeight: '900',
      color: colors.white,
    },
    support__status_security__secure: {
      fontFamily: 'Open Sans',
      fontSize: 16,
      fontWeight: '800',
      lineHeight: 22,
      marginBottom: 4,
      color: colors.green,
    },
    support__send_status: {
      fontFamily: 'DINPro',
      fontSize: 38,
      fontWeight: '900',
      maxHeight: 'calc(1.16em * 2)',
      overflow: 'visible',
      letterSpacing: -0.9,
      color: colors.white,
      marginBottom: 4,
    },
    support__no_email_warning: {
      fontFamily: 'Open Sans',
      fontSize: 13,
      lineHeight: 16,
      color: colors.white80,
      paddingTop: 8,
      paddingLeft: 24,
      paddingRight: 24,
      paddingBottom: 8,
    },
  }),
);