2018-08-24 12:10:30 +02:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
import Colors from './colors';
|
|
|
|
|
|
|
|
const floatingButtonStyle = StyleSheet.create({
|
2019-03-11 09:47:14 +01:00
|
|
|
view: {
|
2018-08-24 12:10:30 +02:00
|
|
|
position: 'absolute',
|
2019-03-11 09:47:14 +01:00
|
|
|
zIndex: 100,
|
|
|
|
borderRadius: 24,
|
|
|
|
padding: 14,
|
|
|
|
justifyContent: 'flex-end',
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
container: {
|
2018-08-24 12:10:30 +02:00
|
|
|
zIndex: 100,
|
|
|
|
borderRadius: 24,
|
|
|
|
padding: 14,
|
|
|
|
paddingLeft: 20,
|
|
|
|
paddingRight: 20,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
2019-03-11 09:47:14 +01:00
|
|
|
backgroundColor: Colors.LbryGreen,
|
2018-08-24 12:10:30 +02:00
|
|
|
shadowColor: 'black',
|
|
|
|
shadowOpacity: 0.1,
|
|
|
|
shadowRadius: StyleSheet.hairlineWidth,
|
|
|
|
shadowOffset: {
|
|
|
|
height: StyleSheet.hairlineWidth,
|
|
|
|
},
|
|
|
|
elevation: 4
|
|
|
|
},
|
2019-03-11 09:47:14 +01:00
|
|
|
pendingContainer: {
|
|
|
|
borderRadius: 24,
|
|
|
|
padding: 14,
|
|
|
|
paddingLeft: 70,
|
|
|
|
paddingRight: 20,
|
|
|
|
marginLeft: -60,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
backgroundColor: Colors.BrighterLbryGreen,
|
|
|
|
elevation: 3
|
|
|
|
},
|
2018-08-24 12:10:30 +02:00
|
|
|
text: {
|
|
|
|
color: Colors.White,
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Bold',
|
2018-08-24 12:10:30 +02:00
|
|
|
fontSize: 18,
|
|
|
|
},
|
|
|
|
bottomRight: {
|
|
|
|
right: 10,
|
2019-03-01 19:25:16 +01:00
|
|
|
bottom: 10
|
2018-08-24 12:10:30 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default floatingButtonStyle;
|