Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

styles.js 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. * View that contains the indicators.
  21. */
  22. indicatorContainer: {
  23. flex: 1,
  24. flexDirection: 'row',
  25. margin: BoxModel.margin,
  26. position: 'absolute',
  27. right: 0,
  28. top: 0
  29. },
  30. /**
  31. * Indicator container for wide aspect ratio.
  32. */
  33. indicatorContainerWide: {
  34. right: 80
  35. },
  36. /**
  37. * The style of the {@link View} which expands over the whole
  38. * {@link Conference} area and splits it between the {@link Filmstrip} and
  39. * the {@link Toolbox}.
  40. */
  41. toolboxAndFilmstripContainer: {
  42. bottom: BoxModel.margin,
  43. flexDirection: 'column',
  44. justifyContent: 'flex-end',
  45. left: 0,
  46. position: 'absolute',
  47. right: 0,
  48. // Both on Android and iOS there is the status bar which may be visible.
  49. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  50. // not enough.
  51. top: BoxModel.margin * 3
  52. }
  53. });