Issues (18)

src/css/styles.js (4 issues)

Severity
1
import React, {StyleSheet, Dimensions, PixelRatio} from "react-native";
0 ignored issues
show
The variable React seems to be never used. Consider removing it.
Loading history...
The variable PixelRatio seems to be never used. Consider removing it.
Loading history...
2
const {width, height, scale} = Dimensions.get("window"),
3
    vw = width / 100,
4
    vh = height / 100,
5
    vmin = Math.min(vw, vh),
0 ignored issues
show
The constant vmin seems to be never used. Consider removing it.
Loading history...
6
    vmax = Math.max(vw, vh);
0 ignored issues
show
The constant vmax seems to be never used. Consider removing it.
Loading history...
7
8
export default StyleSheet.create({
9
    "gt_container": {
10
        "marginTop": 0,
11
        "marginRight": "auto",
12
        "marginBottom": 0,
13
        "marginLeft": "auto",
14
        "font": "normal 14px Tahoma",
15
        "minWidth": 650
16
    },
17
    "tablegigatable": {
18
        "borderSpacing": 0,
19
        "font": "normal 12px Tahoma",
20
        "borderCollapse": "collapse",
21
        "marginTop": 0,
22
        "marginRight": "auto",
23
        "marginBottom": 0,
24
        "marginLeft": "auto",
25
        "tableLayout": "fixed",
26
        "minWidth": 550
27
    },
28
    "tbody": {
29
        "color": "#333"
30
    },
31
    "tbody tr": {
32
        "cursor": "default",
33
        "borderCollapse": "collapse",
34
        "borderTop": "1px solid #ddd"
35
    },
36
    ":global tbody tractive": {
37
        "backgroundColor": "#25adf1 !important"
38
    },
39
    ":global active": {
40
        "backgroundColor": "#25adf1 !important"
41
    },
42
    ":global tbody tractive:hover": {
43
        "backgroundColor": "#1098dc !important"
44
    },
45
    "tbody treven": {
46
        "backgroundColor": "#fff"
47
    },
48
    "tbody trodd": {
49
        "backgroundColor": "#f9f9f9"
50
    },
51
    ":global even": {
52
        "backgroundColor": "#fff"
53
    },
54
    ":global odd": {
55
        "backgroundColor": "#f9f9f9"
56
    },
57
    "td": {
58
        "wordWrap": "break-word",
59
        "minWidth": 50,
60
        "minHeight": 20,
61
        "cursor": "default",
62
        "boxSizing": "content-box"
63
    },
64
    "gt_head": {
65
        "border": 0,
66
        "fontSize": 14,
67
        "fontWeight": "bold"
68
    },
69
    "gt_head_tr": {
70
        "borderBottom": "1px solid #333"
71
    },
72
    "c_pointer": {
73
        "cursor": "pointer"
74
    },
75
    "c_default": {
76
        "cursor": "pointer"
77
    },
78
    "gt_th_box": {
79
        "paddingTop": 0,
80
        "paddingRight": 20,
81
        "paddingBottom": 0,
82
        "paddingLeft": 0
83
    },
84
    ":global gt_head_tools": {
85
        "marginTop": 15,
86
        "marginRight": 0,
87
        "marginBottom": 15,
88
        "marginLeft": 0
89
    },
90
    "gt_foot_tools": {
91
        "marginTop": 15,
92
        "marginRight": 0,
93
        "marginBottom": 15,
94
        "marginLeft": 0
95
    },
96
    "gt_body": {
97
        "border": "solid 1px #efefef",
98
        "fontSize": 12
99
    },
100
    "gt_foot": {
101
        "border": 0,
102
        "fontSize": 14,
103
        "fontWeight": "bold"
104
    },
105
    "gt_foot tr": {
106
        "borderTop": "1px solid #333"
107
    },
108
    "gt_loader": {
109
        "textAlign": "center"
110
    },
111
    "gt_body tr td": {
112
        "paddingTop": 8,
113
        "paddingRight": 10,
114
        "paddingBottom": 8,
115
        "paddingLeft": 10,
116
        "border": 0
117
    },
118
    "gt_body tr:hover": {
119
        "backgroundColor": "#f5f5f5"
120
    },
121
    "gt_body tr:focus": {
122
        "backgroundColor": "#08c"
123
    },
124
    "gt_main_search": {
125
        "float": "right"
126
    },
127
    "gt_main_search input": {
128
        "paddingTop": 3,
129
        "paddingRight": 5,
130
        "paddingBottom": 3,
131
        "paddingLeft": 5,
132
        "color": "#666"
133
    },
134
    "gt_rows_selector": {
135
        "float": "left"
136
    },
137
    "clear": {
138
        "clear": "both"
139
    },
140
    "gt_pagination": {
141
        "marginTop": 15,
142
        "marginRight": 0,
143
        "marginBottom": 15,
144
        "marginLeft": 0
145
    },
146
    "gt_pgn_ttl": {
147
        "float": "left",
148
        "marginTop": 8,
149
        "marginRight": 0,
150
        "marginBottom": 8,
151
        "marginLeft": 0
152
    },
153
    "gt_pgn_pages": {
154
        "float": "right",
155
        "MozUserSelect": "-moz-none",
156
        "KhtmlUserSelect": "none",
157
        "WebkitUserSelect": "none",
158
        "MsUserSelect": "none",
159
        "userSelect": "none"
160
    },
161
    ":global gt_page": {
162
        "cursor": "pointer",
163
        "backgroundColor": "#fff",
164
        "border": "1px solid #ddd",
165
        "color": "#337ab7",
166
        "float": "left",
167
        "lineHeight": 1.42857,
168
        "marginLeft": -1,
169
        "paddingTop": 6,
170
        "paddingRight": 12,
171
        "paddingBottom": 6,
172
        "paddingLeft": 12,
173
        "position": "relative",
174
        "textDecoration": "none"
175
    },
176
    ":global gt_page_dots": {
177
        "cursor": "not-allowed",
178
        "backgroundColor": "#fff",
179
        "border": "1px solid #ddd",
180
        "color": "#333",
181
        "float": "left",
182
        "lineHeight": 1.42857,
183
        "marginLeft": -1,
184
        "paddingTop": 6,
185
        "paddingRight": 12,
186
        "paddingBottom": 6,
187
        "paddingLeft": 12,
188
        "position": "relative",
189
        "textDecoration": "none"
190
    },
191
    ":global gt_page:hover": {
192
        "backgroundColor": "#eee",
193
        "borderColor": "#ddd",
194
        "color": "#23527c"
195
    },
196
    ":global gt_pageprev": {
197
        "borderRadius": "3px 0 0 3px"
198
    },
199
    ":global gt_pagenext": {
200
        "borderRadius": "0 3px 3px 0"
201
    },
202
    "gt_select": {
203
        "border": "1px solid #ddd",
204
        "borderRadius": 3,
205
        "fontSize": 12,
206
        "height": 25,
207
        "lineHeight": 1.5,
208
        "paddingTop": 5,
209
        "paddingRight": 10,
210
        "paddingBottom": 5,
211
        "paddingLeft": 10
212
    },
213
    "gt_select:focus": {
214
        "border": "1px solid #66afe9",
215
        "boxShadow": "0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6)",
216
        "outline": "0 none"
217
    },
218
    "gt_search": {
219
        "border": "1px solid #ddd",
220
        "borderRadius": 3,
221
        "fontSize": 12,
222
        "height": 20,
223
        "lineHeight": 1.5,
224
        "paddingTop": 5,
225
        "paddingRight": 10,
226
        "paddingBottom": 5,
227
        "paddingLeft": 10
228
    },
229
    "gt_search:focus": {
230
        "border": "1px solid #66afe9",
231
        "boxShadow": "0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6)",
232
        "outline": "0 none"
233
    },
234
    ":global selected": {
235
        "backgroundColor": "#337ab7",
236
        "color": "#fff"
237
    },
238
    ":global selected:hover": {
239
        "backgroundColor": "#337ab7",
240
        "color": "#fff"
241
    },
242
    ":global sorting": {
243
        "background": "url('../images/sort_both.png') right center no-repeat"
244
    },
245
    ":global sorting_asc": {
246
        "background": "url('../images/sort_asc.png') right top no-repeat"
247
    },
248
    ":global sorting_desc": {
249
        "background": "url('../images/sort_desc.png') right top no-repeat"
250
    },
251
    ":global unselectable": {
252
        "MozUserSelect": "none",
253
        "OUserSelect": "none",
254
        "KhtmlUserSelect": "none",
255
        "WebkitUserSelect": "none",
256
        "MsUserSelect": "none",
257
        "userSelect": "none"
258
    },
259
    ":global normal_checkbox": {
260
        "border": "1px solid black !important",
261
        "borderRadius": 3,
262
        "content": " ",
263
        "marginLeft": 12,
264
        "marginTop": -20,
265
        "textAlign": "center",
266
        "boxSizing": "border-box",
267
        "display": "block",
268
        "width": 13,
269
        "height": 12,
270
        "top": 1.2,
271
        "position": "relative"
272
    },
273
    ":global select_checkbox::after": {
274
        "content": "\\2713",
275
        "textShadow": "1px 1px #25adf1, -1px -1px #25adf1, 1px -1px #25adf1, -1px 1px #25adf1",
276
        "marginLeft": 1
277
    }
278
});