forked from brentvatne/stargrave-0
/
Style.js
46 lines (43 loc) · 804 Bytes
/
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
'use strict';
var StyleSheet = require('react-native').StyleSheet;
module.exports = StyleSheet.create({
container: {
position: 'absolute',
top: 0,
bottom: 0,
left: 0,
right: 0,
backgroundColor: 'transparent',
justifyContent: 'center',
},
backdrop: {
position: 'absolute',
top: 0,
bottom: 0,
left: 0,
right: 0,
backgroundColor: '#000000',
opacity: 0.5,
},
closeButton: {
position: 'absolute',
borderColor: '#ffffff',
borderRadius: 2,
borderWidth: 1,
right: 20,
top: 20,
paddingLeft: 10,
paddingRight: 10,
paddingTop: 5,
paddingBottom: 5,
},
closeButtonText: {
color: '#ffffff',
},
modal: {
margin: 20,
backgroundColor: '#ffffff',
borderRadius: 3,
padding: 20,
}
});