選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

styles.js 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';
  2. import { BoxModel, ColorPalette, fixAndroidViewClipping } from '../../../base/styles';
  3. import { FILMSTRIP_SIZE } from '../../../filmstrip';
  4. export const INSECURE_ROOM_NAME_LABEL_COLOR = ColorPalette.warning;
  5. /**
  6. * The styles of the feature conference.
  7. */
  8. export default {
  9. /**
  10. * {@code Conference} style.
  11. */
  12. conference: fixAndroidViewClipping({
  13. alignSelf: 'stretch',
  14. backgroundColor: '#040404',
  15. flex: 1
  16. }),
  17. displayNameContainer: {
  18. margin: 10
  19. },
  20. /**
  21. * View that contains the indicators.
  22. */
  23. indicatorContainer: {
  24. flex: 1,
  25. flexDirection: 'row',
  26. justifyContent: 'flex-end'
  27. },
  28. /**
  29. * Indicator container for wide aspect ratio.
  30. */
  31. indicatorContainerWide: {
  32. marginRight: FILMSTRIP_SIZE + BoxModel.margin
  33. },
  34. labelWrapper: {
  35. flexDirection: 'column',
  36. position: 'absolute',
  37. right: 0,
  38. top: 0
  39. },
  40. lonelyButton: {
  41. alignItems: 'center',
  42. borderRadius: 24,
  43. flexDirection: 'row',
  44. height: 48,
  45. justifyContent: 'space-around',
  46. paddingHorizontal: 12
  47. },
  48. lonelyButtonComponents: {
  49. marginHorizontal: 6
  50. },
  51. lonelyMeetingContainer: {
  52. alignSelf: 'stretch',
  53. alignItems: 'center',
  54. padding: BoxModel.padding * 2
  55. },
  56. lonelyMessage: {
  57. paddingVertical: 12
  58. },
  59. navBarButton: {
  60. iconStyle: {
  61. color: ColorPalette.white,
  62. fontSize: 24
  63. },
  64. underlayColor: 'transparent'
  65. },
  66. navBarContainer: {
  67. flexDirection: 'column',
  68. left: 0,
  69. position: 'absolute',
  70. right: 0,
  71. top: 0
  72. },
  73. navBarSafeView: {
  74. left: 0,
  75. position: 'absolute',
  76. right: 0,
  77. top: 0
  78. },
  79. navBarWrapper: {
  80. alignItems: 'center',
  81. flex: 1,
  82. flexDirection: 'row',
  83. height: 44,
  84. justifyContent: 'space-between',
  85. paddingHorizontal: 14
  86. },
  87. roomTimer: {
  88. color: ColorPalette.white,
  89. fontSize: 12,
  90. fontWeight: '400'
  91. },
  92. roomTimerView: {
  93. backgroundColor: 'rgba(0,0,0,0.8)',
  94. borderBottomRightRadius: 3,
  95. borderTopRightRadius: 3,
  96. height: 28,
  97. justifyContent: 'center',
  98. paddingHorizontal: 10
  99. },
  100. roomName: {
  101. color: ColorPalette.white,
  102. fontSize: 14,
  103. fontWeight: '400'
  104. },
  105. roomNameView: {
  106. backgroundColor: 'rgba(0,0,0,0.6)',
  107. borderBottomLeftRadius: 3,
  108. borderTopLeftRadius: 3,
  109. height: 28,
  110. justifyContent: 'center',
  111. paddingHorizontal: 10
  112. },
  113. roomNameContainer: {
  114. alignItems: 'center',
  115. left: 0,
  116. paddingHorizontal: 48,
  117. position: 'absolute',
  118. right: 0
  119. },
  120. roomNameWrapper: {
  121. alignItems: 'center',
  122. flexDirection: 'row'
  123. },
  124. /**
  125. * The style of the {@link View} which expands over the whole
  126. * {@link Conference} area and splits it between the {@link Filmstrip} and
  127. * the {@link Toolbox}.
  128. */
  129. toolboxAndFilmstripContainer: {
  130. bottom: 0,
  131. flexDirection: 'column',
  132. justifyContent: 'flex-end',
  133. left: 0,
  134. position: 'absolute',
  135. right: 0,
  136. top: 0
  137. },
  138. insecureRoomNameLabel: {
  139. backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR
  140. }
  141. };
  142. ColorSchemeRegistry.register('Conference', {
  143. lonelyButton: {
  144. backgroundColor: schemeColor('inviteButtonBackground')
  145. },
  146. lonelyMessage: {
  147. color: schemeColor('onVideoText')
  148. }
  149. });