Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. import {
  2. BoxModel,
  3. ColorPalette,
  4. createStyleSheet,
  5. fixAndroidViewClipping
  6. } from '../../../base/styles';
  7. import { FILMSTRIP_SIZE } from '../../../filmstrip';
  8. export const NAVBAR_GRADIENT_COLORS = [ 'black', '#00000000' ];
  9. /**
  10. * The styles of the feature conference.
  11. */
  12. export default createStyleSheet({
  13. /**
  14. * {@code Conference} style.
  15. */
  16. conference: fixAndroidViewClipping({
  17. alignSelf: 'stretch',
  18. backgroundColor: ColorPalette.appBackground,
  19. flex: 1
  20. }),
  21. gradient: {
  22. position: 'absolute',
  23. top: 0,
  24. left: 0,
  25. right: 0,
  26. flex: 1
  27. },
  28. gradientStretch: {
  29. height: 116
  30. },
  31. /**
  32. * View that contains the indicators.
  33. */
  34. indicatorContainer: {
  35. flex: 1,
  36. flexDirection: 'row',
  37. justifyContent: 'flex-end',
  38. margin: BoxModel.margin
  39. },
  40. /**
  41. * Indicator container for wide aspect ratio.
  42. */
  43. indicatorContainerWide: {
  44. marginRight: FILMSTRIP_SIZE + BoxModel.margin
  45. },
  46. labelWrapper: {
  47. flexDirection: 'column',
  48. position: 'absolute',
  49. right: 0,
  50. top: 0
  51. },
  52. navBarButton: {
  53. iconStyle: {
  54. color: ColorPalette.white,
  55. fontSize: 24
  56. },
  57. underlayColor: 'transparent'
  58. },
  59. navBarContainer: {
  60. flexDirection: 'column',
  61. left: 0,
  62. position: 'absolute',
  63. right: 0,
  64. top: 0
  65. },
  66. navBarSafeView: {
  67. left: 0,
  68. position: 'absolute',
  69. right: 0,
  70. top: 0
  71. },
  72. navBarWrapper: {
  73. alignItems: 'center',
  74. flex: 1,
  75. flexDirection: 'row',
  76. height: 44,
  77. justifyContent: 'space-between',
  78. paddingHorizontal: 14
  79. },
  80. roomName: {
  81. color: ColorPalette.white,
  82. fontSize: 17,
  83. fontWeight: '400'
  84. },
  85. roomNameWrapper: {
  86. flexDirection: 'row',
  87. justifyContent: 'center',
  88. left: 0,
  89. paddingHorizontal: 48,
  90. position: 'absolute',
  91. right: 0
  92. },
  93. /**
  94. * The style of the {@link View} which expands over the whole
  95. * {@link Conference} area and splits it between the {@link Filmstrip} and
  96. * the {@link Toolbox}.
  97. */
  98. toolboxAndFilmstripContainer: {
  99. bottom: BoxModel.margin,
  100. flexDirection: 'column',
  101. justifyContent: 'flex-end',
  102. left: 0,
  103. position: 'absolute',
  104. right: 0,
  105. // Both on Android and iOS there is the status bar which may be visible.
  106. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  107. // not enough.
  108. top: BoxModel.margin * 3
  109. }
  110. });