jiti-meet/react/features/authentication/components/styles.js

56 lines
1.2 KiB
JavaScript
Raw Normal View History

2017-09-18 07:09:43 +00:00
import { BoxModel, createStyleSheet } from '../../base/styles';
/**
* The style common to <tt>LoginDialog</tt> and <tt>WaitForOwnerDialog</tt>.
*/
const dialog = {
marginBottom: BoxModel.margin,
marginTop: BoxModel.margin
};
/**
* The style common to <tt>Text</tt> rendered by <tt>LoginDialog</tt> and
* <tt>WaitForOwnerDialog</tt>.
*/
const text = {
};
2017-09-08 13:36:42 +00:00
/**
* The styles of the authentication feature.
*/
export default createStyleSheet({
2017-09-18 07:09:43 +00:00
/**
* The style of <tt>LoginDialog</tt>.
*/
loginDialog: {
...dialog,
flex: 0,
flexDirection: 'column'
2017-09-08 13:36:42 +00:00
},
2017-09-18 07:09:43 +00:00
/**
* The style of <tt>Text</tt> rendered by <tt>LoginDialog</tt>.
*/
loginDialogText: {
...text
2017-09-08 13:36:42 +00:00
},
2017-09-18 07:09:43 +00:00
/**
* The style of <tt>TextInput</tt> rendered by <tt>LoginDialog</tt>.
*/
loginDialogTextInput: {
// XXX Matches react-native-prompt's dialogInput because base/dialog's
// Dialog is implemented using react-native-prompt.
fontSize: 18,
height: 50
},
/**
* The style of <tt>WaitForOwnerDialog</tt>.
*/
waitForOwnerDialog: {
...dialog,
...text
2017-09-08 13:36:42 +00:00
}
});