Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. import { fixAndroidViewClipping } from '../../../base/styles';
  2. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  3. export const INSECURE_ROOM_NAME_LABEL_COLOR = BaseTheme.palette.actionDanger;
  4. const TITLE_BAR_BUTTON_SIZE = 24;
  5. /**
  6. * The styles of the safe area view that contains the title bar.
  7. */
  8. const titleBarSafeView = {
  9. left: 0,
  10. position: 'absolute',
  11. right: 0,
  12. top: 0
  13. };
  14. /**
  15. * The styles of the feature conference.
  16. */
  17. export default {
  18. /**
  19. * {@code Conference} Style.
  20. */
  21. conference: fixAndroidViewClipping({
  22. alignSelf: 'stretch',
  23. backgroundColor: BaseTheme.palette.uiBackground,
  24. flex: 1
  25. }),
  26. displayNameContainer: {
  27. margin: 10
  28. },
  29. /**
  30. * View that contains the indicators.
  31. */
  32. indicatorContainer: {
  33. flex: 1,
  34. flexDirection: 'row'
  35. },
  36. titleBarButtonContainer: {
  37. borderRadius: 3,
  38. height: BaseTheme.spacing[7],
  39. marginTop: BaseTheme.spacing[1],
  40. marginRight: BaseTheme.spacing[1],
  41. zIndex: 1,
  42. width: BaseTheme.spacing[7]
  43. },
  44. titleBarButton: {
  45. iconStyle: {
  46. color: BaseTheme.palette.icon01,
  47. padding: 12,
  48. fontSize: TITLE_BAR_BUTTON_SIZE
  49. },
  50. underlayColor: 'transparent'
  51. },
  52. lonelyMeetingContainer: {
  53. alignSelf: 'stretch',
  54. alignItems: 'center',
  55. padding: BaseTheme.spacing[3]
  56. },
  57. lonelyMessage: {
  58. color: BaseTheme.palette.text01,
  59. paddingVertical: BaseTheme.spacing[2]
  60. },
  61. pipButtonContainer: {
  62. '&:not(:empty)': {
  63. borderRadius: 3,
  64. height: BaseTheme.spacing[7],
  65. marginTop: BaseTheme.spacing[1],
  66. marginLeft: BaseTheme.spacing[1],
  67. zIndex: 1,
  68. width: BaseTheme.spacing[7]
  69. }
  70. },
  71. pipButton: {
  72. iconStyle: {
  73. color: BaseTheme.palette.icon01,
  74. padding: 12,
  75. fontSize: TITLE_BAR_BUTTON_SIZE
  76. },
  77. underlayColor: 'transparent'
  78. },
  79. titleBarSafeViewColor: {
  80. ...titleBarSafeView,
  81. backgroundColor: BaseTheme.palette.uiBackground
  82. },
  83. titleBarSafeViewTransparent: {
  84. ...titleBarSafeView
  85. },
  86. titleBarWrapper: {
  87. alignItems: 'center',
  88. flex: 1,
  89. flexDirection: 'row',
  90. height: BaseTheme.spacing[8],
  91. justifyContent: 'center'
  92. },
  93. alwaysOnTitleBar: {
  94. paddingRight: 0,
  95. borderRadius: 6,
  96. backgroundColor: 'rgba(0, 0, 0, .5)',
  97. marginLeft: BaseTheme.spacing[2],
  98. flexDirection: 'row',
  99. alignSelf: 'flex-start',
  100. alignItems: 'center',
  101. justifyContent: 'center',
  102. marginTop: BaseTheme.spacing[2],
  103. '&:not(:empty)': {
  104. padding: 4
  105. }
  106. },
  107. expandedLabelWrapper: {
  108. zIndex: 1
  109. },
  110. roomTimer: {
  111. ...BaseTheme.typography.bodyShortBold,
  112. color: BaseTheme.palette.text01,
  113. textAlign: 'center'
  114. },
  115. roomTimerView: {
  116. backgroundColor: BaseTheme.palette.ui03,
  117. borderRadius: BaseTheme.shape.borderRadius,
  118. height: 32,
  119. justifyContent: 'center',
  120. paddingHorizontal: BaseTheme.spacing[2],
  121. paddingVertical: BaseTheme.spacing[1],
  122. minWidth: 50
  123. },
  124. roomName: {
  125. color: BaseTheme.palette.text01,
  126. ...BaseTheme.typography.bodyShortBold,
  127. paddingVertical: 6
  128. },
  129. roomNameView: {
  130. backgroundColor: 'rgba(0,0,0,0.6)',
  131. borderBottomLeftRadius: 3,
  132. borderTopLeftRadius: 3,
  133. flexShrink: 1,
  134. justifyContent: 'center',
  135. paddingHorizontal: 10
  136. },
  137. roomNameWrapper: {
  138. flexDirection: 'row',
  139. marginRight: 10,
  140. marginLeft: 8,
  141. flexShrink: 1,
  142. flexGrow: 1
  143. },
  144. /**
  145. * The style of the {@link View} which expands over the whole
  146. * {@link Conference} area and splits it between the {@link Filmstrip} and
  147. * the {@link Toolbox}.
  148. */
  149. toolboxAndFilmstripContainer: {
  150. bottom: 0,
  151. flexDirection: 'column',
  152. justifyContent: 'flex-end',
  153. left: 0,
  154. position: 'absolute',
  155. right: 0,
  156. top: 0
  157. },
  158. insecureRoomNameLabel: {
  159. backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR,
  160. borderRadius: BaseTheme.shape.borderRadius,
  161. height: 32
  162. },
  163. raisedHandsCountLabel: {
  164. alignItems: 'center',
  165. backgroundColor: BaseTheme.palette.warning02,
  166. borderRadius: BaseTheme.shape.borderRadius,
  167. flexDirection: 'row',
  168. marginLeft: BaseTheme.spacing[0],
  169. marginBottom: BaseTheme.spacing[0]
  170. },
  171. raisedHandsCountLabelText: {
  172. color: BaseTheme.palette.uiBackground,
  173. paddingLeft: BaseTheme.spacing[2]
  174. }
  175. };