-
Notifications
You must be signed in to change notification settings - Fork 7
/
styles.js
86 lines (82 loc) · 1.66 KB
/
styles.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
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
/**
* @file 手动解锁的格状视图样式
* @return {React.StyleSheet} 首页样式
*/
var React = require('react-native');
var {
StyleSheet,
Dimensions
} = React;
var screenWidth = Dimensions.get('window').width;
var colWidth = screenWidth / 3;
var styles = StyleSheet.create({
container: {
backgroundColor: '#3D3E48',
position: 'absolute',
top: 0,
bottom: 0,
left: 0,
right: 0
},
header: {
flex: 1,
marginTop: 80,
marginBottom: 20
},
title: {
textAlign: 'center',
fontSize: 15
},
normalTitle: {
color: '#FFFFFF'
},
okTitle: {
color: 'green'
},
errorTitle: {
color: 'red'
},
gridView: {
margin: 40,
marginBottom: 60
},
gridLine: {
flexDirection: 'row',
justifyContent: 'space-around',
alignItems: 'center',
height: colWidth - 25,
},
gridItem: {
width: 50,
height: 50,
borderRadius: 25,
borderWidth: 1,
borderColor: '#60AAFC'
},
defaultGridItem: {
},
crossedGridItem: {
borderColor: '#71BBFD',
backgroundColor: '#4E4D59'
},
startGridItem: {
borderColor: '#82CCFE',
backgroundColor: '#5F5E6A'
},
gridItemInner: {
width: 20,
height: 20,
borderRadius: 10,
borderColor: '#82CCFE',
borderWidth: 1,
margin: 14,
backgroundColor: '#60AAFC'
},
line: {
backgroundColor: '#60AAFC',
width: 10,
position: 'absolute',
opacity: 0.5
}
});
module.exports = styles;