bsl
Version:
基于React的框架和UI组件
29 lines (27 loc) • 594 B
text/typescript
import { StyleSheet } from 'aphrodite/no-important';
import device from '../../utils/device';
const styles = StyleSheet.create({
root: {
position: 'fixed',
width: '100%',
height: device.system === 'ios' ? window.innerHeight + 75 : '100vh',
zIndex: 10,
bottom: 0,
left: 0
},
content: {
position: 'absolute',
outline: 0,
zIndex: 2
},
bg: {
width: '100%',
height: '100%',
position: 'absolute',
top: 0,
left: 0,
zIndex: 1,
backgroundColor: 'rgba(55, 55, 55, 0.6)'
}
});
export default styles;