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

styles.js 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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: ColorPalette.appBackground,
  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: 15,
  90. opacity: 0.6
  91. },
  92. roomName: {
  93. color: ColorPalette.white,
  94. fontSize: 17,
  95. fontWeight: '400'
  96. },
  97. roomNameWrapper: {
  98. flexDirection: 'column',
  99. alignItems: 'center',
  100. left: 0,
  101. paddingHorizontal: 48,
  102. position: 'absolute',
  103. right: 0
  104. },
  105. /**
  106. * The style of the {@link View} which expands over the whole
  107. * {@link Conference} area and splits it between the {@link Filmstrip} and
  108. * the {@link Toolbox}.
  109. */
  110. toolboxAndFilmstripContainer: {
  111. bottom: 0,
  112. flexDirection: 'column',
  113. justifyContent: 'flex-end',
  114. left: 0,
  115. position: 'absolute',
  116. right: 0,
  117. top: 0
  118. },
  119. insecureRoomNameLabel: {
  120. backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR
  121. }
  122. };
  123. ColorSchemeRegistry.register('Conference', {
  124. lonelyButton: {
  125. backgroundColor: schemeColor('inviteButtonBackground')
  126. },
  127. lonelyMessage: {
  128. color: schemeColor('onVideoText')
  129. }
  130. });