You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.js 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import {
  2. BoxModel,
  3. ColorPalette,
  4. createStyleSheet,
  5. fixAndroidViewClipping
  6. } from '../../base/styles';
  7. /**
  8. * The styles of the feature conference.
  9. */
  10. export default createStyleSheet({
  11. /**
  12. * {@code Conference} style.
  13. */
  14. conference: fixAndroidViewClipping({
  15. alignSelf: 'stretch',
  16. backgroundColor: ColorPalette.appBackground,
  17. flex: 1
  18. }),
  19. /**
  20. * The style of the View rendered while the conference is being connected
  21. * (i.e. the XMPP connection is being established and the MUC is being
  22. * joined).
  23. */
  24. connectingIndicator: {
  25. alignItems: 'center',
  26. bottom: 0,
  27. justifyContent: 'center',
  28. left: 0,
  29. position: 'absolute',
  30. right: 0,
  31. top: 0,
  32. // Because the background of LargeVideo varies wildly (e.g. the
  33. // participant's video or avatar), the LoadingIndicator may be difficult
  34. // to see. Reduce the variance of the background of LargeVideo and,
  35. // thus, increase the visibility of LoadingIndicator by introducing
  36. // contrast and translucency.
  37. backgroundColor: ColorPalette.appBackground,
  38. opacity: 0.5
  39. },
  40. /**
  41. * The style of the {@link View} which expands over the whole
  42. * {@link Conference} area and splits it between the {@link Filmstrip} and
  43. * the {@link Toolbox}.
  44. */
  45. toolboxAndFilmstripContainer: {
  46. bottom: BoxModel.margin,
  47. flexDirection: 'column',
  48. justifyContent: 'flex-end',
  49. left: BoxModel.margin,
  50. position: 'absolute',
  51. right: BoxModel.margin,
  52. // Both on Android and iOS there is the status bar which may be visible.
  53. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  54. // not enough.
  55. top: BoxModel.margin * 3
  56. }
  57. });