summaryrefslogtreecommitdiffhomepage
path: root/app/components/SelectLocationStyles.js
blob: a0aec306d4ef58d609160f64dff8c05ed5dac0f1 (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
// @flow
import { createViewStyles, createTextStyles } from '../lib/styles';
import { colors } from '../config';

export default {
  ...createViewStyles({
    select_location: {
      backgroundColor: colors.darkBlue,
      flex: 1,
    },
    container: {
      flexDirection: 'column',
      flex: 1,
    },
    header: {
      flex: 0,
      marginBottom: 16,
    },
    close: {
      marginLeft: 12,
      marginTop: 24,
      cursor: 'default',
    },
    close_icon: {
      width: 24,
      height: 24,
      flex: 0,
      opacity: 0.6,
    },
    relay_status: {
      width: 16,
      height: 16,
      borderRadius: 8,
      marginLeft: 4,
      marginRight: 4,
      marginTop: 19.5,
      marginBottom: 19.5,
    },
    relay_status__inactive: {
      backgroundColor: colors.red95,
    },
    relay_status__active: {
      backgroundColor: colors.green90,
    },
    tick_icon: {
      color: colors.white,
      marginLeft: 0,
      marginRight: 0,
      marginTop: 15.5,
      marginBottom: 15.5,
    },
    country: {
      flexDirection: 'column',
      flex: 0,
    },
    collapse_button: {
      flex: 0,
      alignSelf: 'stretch',
      justifyContent: 'center',
      paddingRight: 16,
      paddingLeft: 16,
    },
    cell: {
      paddingTop: 0,
      paddingBottom: 0,
      paddingLeft: 20,
      paddingRight: 0,
    },
    sub_cell: {
      paddingTop: 0,
      paddingBottom: 0,
      paddingRight: 0,
      paddingLeft: 40,
      backgroundColor: colors.blue40,
    },
    sub_cell__selected: {
      paddingTop: 0,
      paddingBottom: 0,
      paddingRight: 0,
      paddingLeft: 40,
      backgroundColor: colors.green,
    },
    cell_selected: {
      paddingTop: 0,
      paddingBottom: 0,
      paddingLeft: 20,
      paddingRight: 0,
      backgroundColor: colors.green,
    },
    expand_chevron_hover: {
      color: colors.white,
    },
  }),
  ...createTextStyles({
    title: {
      fontFamily: 'DINPro',
      fontSize: 32,
      fontWeight: '900',
      lineHeight: 40,
      color: colors.white,
      paddingTop: 16,
      paddingLeft: 24,
      paddingRight: 24,
    },
    subtitle: {
      fontFamily: 'Open Sans',
      fontSize: 13,
      fontWeight: '600',
      lineHeight: 20,
      color: colors.white60,
      letterSpacing: -0.2,
      paddingTop: 0,
      paddingLeft: 24,
      paddingRight: 24,
      paddingBottom: 24,
      flex: 0,
    },
  }),
};