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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. margin: BoxModel.margin
  28. },
  29. /**
  30. * Indicator container for wide aspect ratio.
  31. */
  32. indicatorContainerWide: {
  33. marginRight: FILMSTRIP_SIZE + BoxModel.margin
  34. },
  35. labelWrapper: {
  36. flexDirection: 'column',
  37. position: 'absolute',
  38. right: 0,
  39. top: 0
  40. },
  41. lonelyButton: {
  42. alignItems: 'center',
  43. borderRadius: 24,
  44. flexDirection: 'row',
  45. height: 48,
  46. justifyContent: 'space-around',
  47. paddingHorizontal: 12
  48. },
  49. lonelyButtonComponents: {
  50. marginHorizontal: 6
  51. },
  52. lonelyMeetingContainer: {
  53. alignSelf: 'stretch',
  54. alignItems: 'center',
  55. padding: BoxModel.padding * 2
  56. },
  57. lonelyMessage: {
  58. paddingVertical: 12
  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. roomTimer: {
  89. color: ColorPalette.white,
  90. fontSize: 15,
  91. opacity: 0.6
  92. },
  93. roomName: {
  94. color: ColorPalette.white,
  95. fontSize: 17,
  96. fontWeight: '400'
  97. },
  98. roomNameWrapper: {
  99. flexDirection: 'column',
  100. alignItems: 'center',
  101. left: 0,
  102. paddingHorizontal: 48,
  103. position: 'absolute',
  104. right: 0
  105. },
  106. /**
  107. * The style of the {@link View} which expands over the whole
  108. * {@link Conference} area and splits it between the {@link Filmstrip} and
  109. * the {@link Toolbox}.
  110. */
  111. toolboxAndFilmstripContainer: {
  112. bottom: 0,
  113. flexDirection: 'column',
  114. justifyContent: 'flex-end',
  115. left: 0,
  116. position: 'absolute',
  117. right: 0,
  118. top: 0
  119. },
  120. insecureRoomNameLabel: {
  121. backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR
  122. }
  123. };
  124. ColorSchemeRegistry.register('Conference', {
  125. lonelyButton: {
  126. backgroundColor: schemeColor('inviteButtonBackground')
  127. },
  128. lonelyMessage: {
  129. color: schemeColor('onVideoText')
  130. }
  131. });