您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.js 3.1KB

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