-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.js
48 lines (47 loc) · 1.2 KB
/
style.js
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
import React, {StyleSheet, Dimensions, PixelRatio} from "react-native";
const {width, height, scale} = Dimensions.get("window"),
vw = width / 100,
vh = height / 100,
vmin = Math.min(vw, vh),
vmax = Math.max(vw, vh);
export default StyleSheet.create({
"containerLocation": {
"marginTop": 50,
"marginLeft": 50
},
"container": {
"width": 300,
"height": 30
},
"inputField": {
"height": "100%",
"width": "100%",
"marginRight": -45,
"paddingLeft": 35,
"display": "inline-block"
},
"inputFieldFont": {
"fontSize": 16
},
"leftIcon": {
"display": "inline-block",
"position": "absolute",
"marginTop": 4,
"height": 30,
"width": 30,
"marginLeft": 3,
"backgroundImage": "url(user.svg)",
"backgroundRepeat": "no-repeat",
"backgroundColor": "white"
},
"rightIcon": {
"display": "inline-block",
"position": "absolute",
"marginTop": 4,
"height": 30,
"width": 30,
"backgroundImage": "url(view.svg)",
"backgroundRepeat": "no-repeat",
"backgroundColor": "white"
}
});