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.

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