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 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. displayNameBackdrop: {
  22. alignSelf: 'center',
  23. backgroundColor: 'rgba(28, 32, 37, 0.6)',
  24. borderRadius: 4,
  25. margin: 16,
  26. paddingHorizontal: 16,
  27. paddingVertical: 4
  28. },
  29. displayNameText: {
  30. color: ColorPalette.white,
  31. fontSize: 14
  32. },
  33. gradient: {
  34. flex: 1
  35. },
  36. gradientStretch: {
  37. height: 116
  38. },
  39. /**
  40. * View that contains the indicators.
  41. */
  42. indicatorContainer: {
  43. flex: 1,
  44. flexDirection: 'row',
  45. justifyContent: 'flex-end',
  46. margin: BoxModel.margin
  47. },
  48. /**
  49. * Indicator container for wide aspect ratio.
  50. */
  51. indicatorContainerWide: {
  52. marginRight: FILMSTRIP_SIZE + BoxModel.margin
  53. },
  54. labelWrapper: {
  55. flexDirection: 'column',
  56. position: 'absolute',
  57. right: 0,
  58. top: 0
  59. },
  60. navBarButton: {
  61. iconStyle: {
  62. color: ColorPalette.white,
  63. fontSize: 24
  64. },
  65. underlayColor: 'transparent'
  66. },
  67. navBarContainer: {
  68. flexDirection: 'column',
  69. left: 0,
  70. position: 'absolute',
  71. right: 0,
  72. top: 0
  73. },
  74. navBarSafeView: {
  75. left: 0,
  76. position: 'absolute',
  77. right: 0,
  78. top: 0
  79. },
  80. navBarWrapper: {
  81. alignItems: 'center',
  82. flex: 1,
  83. flexDirection: 'row',
  84. height: 44,
  85. justifyContent: 'space-between',
  86. paddingHorizontal: 14
  87. },
  88. roomName: {
  89. color: ColorPalette.white,
  90. fontSize: 17,
  91. fontWeight: '400'
  92. },
  93. roomNameWrapper: {
  94. flexDirection: 'row',
  95. justifyContent: 'center',
  96. left: 0,
  97. paddingHorizontal: 48,
  98. position: 'absolute',
  99. right: 0
  100. },
  101. /**
  102. * The style of the {@link View} which expands over the whole
  103. * {@link Conference} area and splits it between the {@link Filmstrip} and
  104. * the {@link Toolbox}.
  105. */
  106. toolboxAndFilmstripContainer: {
  107. bottom: BoxModel.margin,
  108. flexDirection: 'column',
  109. justifyContent: 'flex-end',
  110. left: 0,
  111. position: 'absolute',
  112. right: 0,
  113. // Both on Android and iOS there is the status bar which may be visible.
  114. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  115. // not enough.
  116. top: BoxModel.margin * 3
  117. }
  118. });