Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

styles.js 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. navBarButton: {
  46. iconStyle: {
  47. color: ColorPalette.white,
  48. fontSize: 24
  49. },
  50. underlayColor: 'transparent'
  51. },
  52. navBarSafeView: {
  53. left: 0,
  54. position: 'absolute',
  55. right: 0,
  56. top: 0
  57. },
  58. navBarWrapper: {
  59. alignItems: 'center',
  60. flex: 1,
  61. flexDirection: 'row',
  62. height: 44,
  63. justifyContent: 'center',
  64. paddingHorizontal: 14
  65. },
  66. roomTimer: {
  67. color: ColorPalette.white,
  68. fontSize: 12,
  69. fontWeight: '400',
  70. paddingHorizontal: 8
  71. },
  72. roomTimerView: {
  73. backgroundColor: 'rgba(0,0,0,0.8)',
  74. borderBottomRightRadius: 3,
  75. borderTopRightRadius: 3,
  76. height: 28,
  77. justifyContent: 'center',
  78. minWidth: 50
  79. },
  80. roomName: {
  81. color: ColorPalette.white,
  82. fontSize: 14,
  83. fontWeight: '400'
  84. },
  85. roomNameView: {
  86. backgroundColor: 'rgba(0,0,0,0.6)',
  87. borderBottomLeftRadius: 3,
  88. borderTopLeftRadius: 3,
  89. flexShrink: 1,
  90. height: 28,
  91. justifyContent: 'center',
  92. paddingHorizontal: 10
  93. },
  94. roomNameWrapper: {
  95. flexDirection: 'row'
  96. },
  97. /**
  98. * The style of the {@link View} which expands over the whole
  99. * {@link Conference} area and splits it between the {@link Filmstrip} and
  100. * the {@link Toolbox}.
  101. */
  102. toolboxAndFilmstripContainer: {
  103. bottom: 0,
  104. flexDirection: 'column',
  105. justifyContent: 'flex-end',
  106. left: 0,
  107. position: 'absolute',
  108. right: 0,
  109. top: 0
  110. },
  111. insecureRoomNameLabel: {
  112. backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR
  113. }
  114. };
  115. ColorSchemeRegistry.register('Conference', {
  116. lonelyButton: {
  117. backgroundColor: schemeColor('inviteButtonBackground')
  118. },
  119. lonelyMessage: {
  120. color: schemeColor('onVideoText')
  121. }
  122. });