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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  2. /**
  3. * The style for participant list description.
  4. */
  5. const participantListDescription = {
  6. ...BaseTheme.typography.heading6,
  7. color: BaseTheme.palette.text01,
  8. fontSize: 15,
  9. fontWeight: 'bold',
  10. marginLeft: BaseTheme.spacing[2],
  11. paddingVertical: BaseTheme.spacing[2],
  12. position: 'relative',
  13. width: '70%'
  14. };
  15. /**
  16. * The style for content.
  17. */
  18. const flexContent = {
  19. alignItems: 'center',
  20. color: BaseTheme.palette.icon01,
  21. display: 'flex',
  22. flex: 1
  23. };
  24. /**
  25. * The style for the context menu items text.
  26. */
  27. const contextMenuItemText = {
  28. ...BaseTheme.typography.bodyShortRegularLarge,
  29. color: BaseTheme.palette.text01
  30. };
  31. /**
  32. * The style of the participants pane buttons.
  33. */
  34. export const button = {
  35. display: 'flex',
  36. flexDirection: 'row',
  37. justifyContent: 'center'
  38. };
  39. /**
  40. * The style of the context menu pane items.
  41. */
  42. const contextMenuItem = {
  43. alignItems: 'center',
  44. display: 'flex',
  45. flexDirection: 'row',
  46. height: BaseTheme.spacing[7],
  47. marginLeft: BaseTheme.spacing[3]
  48. };
  49. const participantNameContainer = {
  50. display: 'flex',
  51. flexDirection: 'row',
  52. overflow: 'hidden',
  53. paddingLeft: BaseTheme.spacing[3]
  54. };
  55. /**
  56. * The styles of the native components of the feature {@code participants}.
  57. */
  58. export default {
  59. participantsBadge: {
  60. backgroundColor: BaseTheme.palette.ui03,
  61. borderRadius: BaseTheme.spacing[2],
  62. borderColor: 'white',
  63. overflow: 'hidden',
  64. height: BaseTheme.spacing[3],
  65. minWidth: BaseTheme.spacing[3],
  66. color: BaseTheme.palette.text01,
  67. ...BaseTheme.typography.labelBold,
  68. position: 'absolute',
  69. right: -3,
  70. top: -3,
  71. textAlign: 'center',
  72. paddingHorizontal: 2
  73. },
  74. participantsButtonBadge: {
  75. display: 'flex',
  76. position: 'relative'
  77. },
  78. participantContainer: {
  79. alignItems: 'center',
  80. display: 'flex',
  81. flexDirection: 'row',
  82. height: BaseTheme.spacing[9],
  83. paddingLeft: BaseTheme.spacing[3],
  84. paddingRight: BaseTheme.spacing[3],
  85. width: '100%'
  86. },
  87. participantContent: {
  88. alignItems: 'center',
  89. borderBottomColor: BaseTheme.palette.ui02,
  90. borderBottomWidth: 2.4,
  91. display: 'flex',
  92. flexDirection: 'row',
  93. height: '100%',
  94. overflow: 'hidden',
  95. width: '100%'
  96. },
  97. participantDetailsContainer: {
  98. display: 'flex',
  99. flexDirection: 'column',
  100. width: '73%'
  101. },
  102. participantDetailsContainerRaisedHand: {
  103. width: '65%'
  104. },
  105. participantNameContainer: {
  106. ...participantNameContainer,
  107. width: '100%'
  108. },
  109. lobbyParticipantNameContainer: {
  110. ...participantNameContainer,
  111. width: '40%'
  112. },
  113. participantName: {
  114. color: BaseTheme.palette.text01,
  115. overflow: 'hidden'
  116. },
  117. moderatorLabel: {
  118. color: BaseTheme.palette.text03,
  119. alignSelf: 'flex-start',
  120. paddingLeft: BaseTheme.spacing[3],
  121. paddingTop: BaseTheme.spacing[1]
  122. },
  123. participantStatesContainer: {
  124. display: 'flex',
  125. flexDirection: 'row',
  126. marginLeft: 'auto',
  127. width: '15%'
  128. },
  129. participantStateVideo: {
  130. paddingRight: BaseTheme.spacing[3]
  131. },
  132. raisedHandIndicator: {
  133. backgroundColor: BaseTheme.palette.warning02,
  134. borderRadius: BaseTheme.shape.borderRadius / 2,
  135. height: BaseTheme.spacing[4],
  136. width: BaseTheme.spacing[4],
  137. marginLeft: 'auto',
  138. marginRight: BaseTheme.spacing[2]
  139. },
  140. raisedHandIcon: {
  141. ...flexContent,
  142. top: BaseTheme.spacing[1],
  143. color: BaseTheme.palette.uiBackground
  144. },
  145. lobbyButtonAdmit: {
  146. position: 'absolute',
  147. right: 16
  148. },
  149. lobbyButtonReject: {
  150. position: 'absolute',
  151. right: 112
  152. },
  153. lobbyListDescription: {
  154. ...participantListDescription
  155. },
  156. lobbyListDetails: {
  157. alignItems: 'center',
  158. display: 'flex',
  159. flexDirection: 'row',
  160. justifyContent: 'space-between'
  161. },
  162. meetingListContainer: {
  163. paddingHorizontal: BaseTheme.spacing[3]
  164. },
  165. meetingListDescription: {
  166. ...participantListDescription
  167. },
  168. participantsPaneContainer: {
  169. backgroundColor: BaseTheme.palette.ui01,
  170. flex: 1,
  171. flexDirection: 'column',
  172. paddingVertical: BaseTheme.spacing[2]
  173. },
  174. participantsPaneFooterContainer: {
  175. alignItems: 'center',
  176. bottom: 0,
  177. height: 128,
  178. left: 0,
  179. paddingHorizontal: BaseTheme.spacing[4],
  180. right: 0
  181. },
  182. participantsPaneFooter: {
  183. display: 'flex',
  184. flexDirection: 'row',
  185. justifyContent: 'flex-end',
  186. paddingBottom: BaseTheme.spacing[3],
  187. width: '100%'
  188. },
  189. inviteButton: {
  190. marginLeft: BaseTheme.spacing[3],
  191. marginRight: BaseTheme.spacing[3],
  192. marginVertical: BaseTheme.spacing[2]
  193. },
  194. breakoutRoomsButton: {
  195. marginBottom: BaseTheme.spacing[2],
  196. width: '100%'
  197. },
  198. moreButton: {
  199. marginLeft: BaseTheme.spacing[2]
  200. },
  201. contextMenuItem: {
  202. ...contextMenuItem
  203. },
  204. contextMenuItemSection: {
  205. ...contextMenuItem
  206. },
  207. contextMenuItemSectionAvatar: {
  208. alignItems: 'center',
  209. backgroundColor: BaseTheme.palette.ui01,
  210. borderBottomColor: BaseTheme.palette.ui07,
  211. borderBottomWidth: 1,
  212. borderTopLeftRadius: BaseTheme.spacing[3],
  213. borderTopRightRadius: BaseTheme.spacing[3],
  214. flexDirection: 'row',
  215. height: BaseTheme.spacing[7],
  216. paddingLeft: BaseTheme.spacing[3]
  217. },
  218. contextMenuItemText: {
  219. ...contextMenuItemText,
  220. marginLeft: BaseTheme.spacing[3]
  221. },
  222. contextMenuItemTextNoIcon: {
  223. ...contextMenuItemText,
  224. marginLeft: BaseTheme.spacing[6]
  225. },
  226. contextMenuItemName: {
  227. color: BaseTheme.palette.text04,
  228. flexShrink: 1,
  229. fontSize: BaseTheme.spacing[3],
  230. marginLeft: BaseTheme.spacing[3],
  231. opacity: 0.90
  232. },
  233. divider: {
  234. backgroundColor: BaseTheme.palette.ui07
  235. },
  236. inputContainer: {
  237. marginLeft: BaseTheme.spacing[3],
  238. marginRight: BaseTheme.spacing[3],
  239. marginBottom: BaseTheme.spacing[4]
  240. },
  241. centerInput: {
  242. paddingRight: BaseTheme.spacing[3],
  243. textAlign: 'center'
  244. },
  245. visitorsLabel: {
  246. ...BaseTheme.typography.heading6,
  247. color: BaseTheme.palette.warning02,
  248. marginLeft: BaseTheme.spacing[3]
  249. }
  250. };