mirror of
https://github.com/balzack/databag.git
synced 2025-02-18 22:19:20 +00:00
196 lines
3.6 KiB
JavaScript
196 lines
3.6 KiB
JavaScript
import { StyleSheet } from 'react-native';
|
|
import { Colors } from 'constants/Colors';
|
|
|
|
export const styles = StyleSheet.create({
|
|
container: {
|
|
width: '100%',
|
|
height: '100%',
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
},
|
|
title: {
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
},
|
|
topbar: {
|
|
borderTopWidth: 1,
|
|
borderBottomWidth: 1,
|
|
borderColor: Colors.divider,
|
|
paddingTop: 6,
|
|
paddingBottom: 6,
|
|
paddingLeft: 16,
|
|
paddingRight: 16,
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
},
|
|
searchbar: {
|
|
paddingRight: 8,
|
|
borderBottomWidth: 1,
|
|
borderColor: Colors.divider,
|
|
paddingBottom: 8,
|
|
},
|
|
inputwrapper: {
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
borderRadius: 4,
|
|
backgroundColor: Colors.white,
|
|
alignItems: 'center',
|
|
flexGrow: 1,
|
|
flexShrink: 1,
|
|
paddingTop: 4,
|
|
paddingBottom: 4,
|
|
},
|
|
inputfield: {
|
|
flex: 1,
|
|
textAlign: 'center',
|
|
padding: 4,
|
|
color: Colors.text,
|
|
fontSize: 14,
|
|
},
|
|
icon: {
|
|
paddingLeft: 8,
|
|
},
|
|
content: {
|
|
flexGrow: 1,
|
|
flexShrink: 1,
|
|
},
|
|
notfound: {
|
|
flexShrink: 1,
|
|
flexGrow: 1,
|
|
width: '100%',
|
|
paddingLeft: 16,
|
|
paddingRight: 16,
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
},
|
|
notfoundtext: {
|
|
fontSize: 20,
|
|
color: Colors.grey,
|
|
},
|
|
channels: {
|
|
flexShrink: 1,
|
|
flexGrow: 1,
|
|
width: '100%',
|
|
paddingLeft: 16,
|
|
paddingRight: 16,
|
|
},
|
|
addbottom: {
|
|
backgroundColor: Colors.primary,
|
|
marginRight: 8,
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
padding: 8,
|
|
borderRadius: 4,
|
|
},
|
|
add: {
|
|
backgroundColor: Colors.primary,
|
|
marginLeft: 16,
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
padding: 8,
|
|
borderRadius: 4,
|
|
},
|
|
newtext: {
|
|
paddingLeft: 8,
|
|
color: Colors.white,
|
|
},
|
|
bottomArea: {
|
|
paddingTop: 8,
|
|
borderTopWidth: 1,
|
|
borderColor: Colors.divider,
|
|
},
|
|
cancel: {
|
|
borderWidth: 1,
|
|
borderColor: Colors.lightgrey,
|
|
borderRadius: 4,
|
|
padding: 4,
|
|
marginRight: 8,
|
|
width: 72,
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
},
|
|
save: {
|
|
backgroundColor: Colors.primary,
|
|
borderRadius: 4,
|
|
padding: 4,
|
|
marginRight: 8,
|
|
width: 72,
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
},
|
|
saveText: {
|
|
color: Colors.white,
|
|
},
|
|
addControls: {
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
justifyContent: 'flex-end',
|
|
},
|
|
addWrapper: {
|
|
display: 'flex',
|
|
width: '100%',
|
|
height: '100%',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
backgroundColor: 'rgba(52, 52, 52, 0.8)'
|
|
},
|
|
addContainer: {
|
|
backgroundColor: Colors.formBackground,
|
|
padding: 16,
|
|
width: '80%',
|
|
maxWidth: 400,
|
|
},
|
|
addHeader: {
|
|
fontSize: 18,
|
|
paddingBottom: 16,
|
|
},
|
|
addMembers: {
|
|
width: '100%',
|
|
borderWidth: 1,
|
|
borderColor: Colors.lightgrey,
|
|
borderRadius: 4,
|
|
marginBottom: 8,
|
|
height: 200,
|
|
},
|
|
emptyMembers: {
|
|
width: '100%',
|
|
borderWidth: 1,
|
|
borderColor: Colors.lightgrey,
|
|
borderRadius: 4,
|
|
marginBottom: 8,
|
|
height: 200,
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
},
|
|
inputField: {
|
|
width: '100%',
|
|
borderWidth: 1,
|
|
borderColor: Colors.lightgrey,
|
|
borderRadius: 4,
|
|
padding: 8,
|
|
marginBottom: 8,
|
|
maxHeight: 92,
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
},
|
|
input: {
|
|
fontSize: 14,
|
|
flexGrow: 1,
|
|
},
|
|
empty: {
|
|
fontSize: 14,
|
|
color: Colors.grey,
|
|
},
|
|
label: {
|
|
fontSize: 12,
|
|
color: Colors.grey,
|
|
},
|
|
})
|
|
|