Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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.text02,
  8. paddingBottom: BaseTheme.spacing[3],
  9. paddingTop: BaseTheme.spacing[3],
  10. position: 'relative',
  11. width: '55%'
  12. };
  13. /**
  14. * The style for content.
  15. */
  16. const flexContent = {
  17. alignItems: 'center',
  18. color: BaseTheme.palette.icon01,
  19. display: 'flex',
  20. flex: 1
  21. };
  22. /**
  23. * The style of the participants pane buttons.
  24. */
  25. export const button = {
  26. alignItems: 'center',
  27. backgroundColor: BaseTheme.palette.action02,
  28. borderRadius: BaseTheme.shape.borderRadius,
  29. display: 'flex',
  30. justifyContent: 'center',
  31. marginLeft: 'auto'
  32. };
  33. /**
  34. * Small buttons.
  35. */
  36. const smallButton = {
  37. ...button
  38. };
  39. /**
  40. * The style of the participants pane buttons description.
  41. */
  42. const buttonContent = {
  43. ...BaseTheme.typography.labelButton,
  44. color: BaseTheme.palette.text01,
  45. justifyContent: 'center'
  46. };
  47. /**
  48. * The style of the context menu pane items.
  49. */
  50. const contextMenuItem = {
  51. flexDirection: 'row',
  52. paddingBottom: 16,
  53. paddingTop: 16
  54. };
  55. /**
  56. * The styles of the native components of the feature {@code participants}.
  57. */
  58. export default {
  59. participantActionsButtonAdmit: {
  60. backgroundColor: BaseTheme.palette.action01,
  61. borderRadius: BaseTheme.shape.borderRadius,
  62. flexDirection: 'row',
  63. height: BaseTheme.spacing[6],
  64. marginRight: BaseTheme.spacing[3],
  65. position: 'absolute',
  66. right: 0,
  67. zIndex: 1
  68. },
  69. participantActionsButtonContent: {
  70. alignItems: 'center',
  71. display: 'flex',
  72. height: BaseTheme.spacing[5],
  73. top: BaseTheme.spacing[1]
  74. },
  75. participantActionsButtonText: {
  76. color: BaseTheme.palette.text01,
  77. textTransform: 'capitalize'
  78. },
  79. admitAllParticipantsActionButtonLabel: {
  80. ...BaseTheme.typography.heading6,
  81. color: BaseTheme.palette.link01,
  82. textTransform: 'capitalize'
  83. },
  84. admitAllParticipantsActionButton: {
  85. marginLeft: 'auto'
  86. },
  87. participantContainer: {
  88. alignItems: 'center',
  89. borderBottomColor: BaseTheme.palette.field01Hover,
  90. borderBottomWidth: 2,
  91. display: 'flex',
  92. flexDirection: 'row',
  93. height: BaseTheme.spacing[9],
  94. paddingLeft: BaseTheme.spacing[3],
  95. paddingRight: BaseTheme.spacing[3],
  96. width: '100%'
  97. },
  98. participantContent: {
  99. alignItems: 'center',
  100. display: 'flex',
  101. flexDirection: 'row',
  102. height: '100%',
  103. overflow: 'hidden',
  104. width: '100%'
  105. },
  106. participantNameContainer: {
  107. display: 'flex',
  108. flexDirection: 'row',
  109. overflow: 'hidden',
  110. paddingLeft: BaseTheme.spacing[2],
  111. width: '63%'
  112. },
  113. participantName: {
  114. overflow: 'hidden',
  115. color: BaseTheme.palette.text01
  116. },
  117. isLocal: {
  118. alignSelf: 'center',
  119. color: BaseTheme.palette.text01,
  120. marginLeft: 4
  121. },
  122. participantsPane: {
  123. backgroundColor: BaseTheme.palette.ui01
  124. },
  125. participantStatesContainer: {
  126. display: 'flex',
  127. flexDirection: 'row',
  128. marginLeft: 'auto',
  129. width: '15%'
  130. },
  131. participantStateVideo: {
  132. paddingRight: BaseTheme.spacing[3]
  133. },
  134. raisedHandIndicator: {
  135. backgroundColor: BaseTheme.palette.warning02,
  136. borderRadius: BaseTheme.shape.borderRadius / 2,
  137. height: BaseTheme.spacing[4],
  138. marginLeft: BaseTheme.spacing[1],
  139. width: BaseTheme.spacing[4]
  140. },
  141. raisedHandIcon: {
  142. ...flexContent,
  143. top: BaseTheme.spacing[1]
  144. },
  145. lobbyList: {
  146. position: 'relative'
  147. },
  148. meetingList: {
  149. position: 'relative',
  150. marginTop: BaseTheme.spacing[3]
  151. },
  152. lobbyListDetails: {
  153. alignItems: 'center',
  154. display: 'flex',
  155. flexDirection: 'row',
  156. justifyContent: 'space-between',
  157. overflow: 'hidden',
  158. paddingLeft: BaseTheme.spacing[3],
  159. position: 'relative',
  160. width: '100%'
  161. },
  162. lobbyListDescription: {
  163. ...participantListDescription
  164. },
  165. meetingListDescription: {
  166. ...participantListDescription,
  167. marginLeft: BaseTheme.spacing[3]
  168. },
  169. header: {
  170. alignItems: 'center',
  171. backgroundColor: BaseTheme.palette.ui01,
  172. top: BaseTheme.spacing[0],
  173. display: 'flex',
  174. flexDirection: 'row',
  175. height: BaseTheme.spacing[10],
  176. paddingRight: BaseTheme.spacing[3],
  177. position: 'relative',
  178. right: BaseTheme.spacing[0],
  179. left: BaseTheme.spacing[0]
  180. },
  181. footer: {
  182. alignItems: 'center',
  183. backgroundColor: BaseTheme.palette.ui01,
  184. bottom: BaseTheme.spacing[0],
  185. display: 'flex',
  186. flexDirection: 'row',
  187. height: BaseTheme.spacing[10],
  188. paddingRight: BaseTheme.spacing[3],
  189. position: 'relative',
  190. right: BaseTheme.spacing[0],
  191. left: BaseTheme.spacing[0]
  192. },
  193. closeButton: {
  194. ...smallButton,
  195. width: BaseTheme.spacing[8]
  196. },
  197. closeIcon: {
  198. ...buttonContent,
  199. height: BaseTheme.spacing[8],
  200. left: BaseTheme.spacing[2]
  201. },
  202. inviteButton: {
  203. backgroundColor: BaseTheme.palette.action01,
  204. marginTop: BaseTheme.spacing[2],
  205. marginLeft: BaseTheme.spacing[3],
  206. marginRight: BaseTheme.spacing[3]
  207. },
  208. inviteLabel: {
  209. ...BaseTheme.typography.labelButtonLarge,
  210. textTransform: 'capitalize'
  211. },
  212. moreButton: {
  213. ...smallButton,
  214. width: BaseTheme.spacing[8]
  215. },
  216. moreIcon: {
  217. ...buttonContent,
  218. height: BaseTheme.spacing[8],
  219. left: BaseTheme.spacing[2]
  220. },
  221. contextMenuMore: {
  222. backgroundColor: BaseTheme.palette.action02,
  223. borderRadius: BaseTheme.shape.borderRadius
  224. },
  225. muteAllButton: {
  226. ...button,
  227. left: BaseTheme.spacing[10] + BaseTheme.spacing[2]
  228. },
  229. muteAllContent: {
  230. ...buttonContent,
  231. height: BaseTheme.spacing[8]
  232. },
  233. muteAllLabel: {
  234. ...BaseTheme.typography.labelButtonLarge,
  235. color: BaseTheme.palette.text01,
  236. textTransform: 'capitalize'
  237. },
  238. contextMenuItem: {
  239. ...contextMenuItem
  240. },
  241. contextMenuItemSection: {
  242. ...contextMenuItem
  243. },
  244. contextMenuItemText: {
  245. ...BaseTheme.typography.bodyShortRegularLarge,
  246. color: BaseTheme.palette.text01,
  247. marginLeft: BaseTheme.spacing[3]
  248. },
  249. contextMenuItemIcon: {
  250. marginLeft: BaseTheme.spacing[1]
  251. },
  252. contextMenuItemName: {
  253. ...BaseTheme.typography.bodyShortRegularLarge,
  254. color: BaseTheme.palette.text01
  255. },
  256. contextMenuIcon: {
  257. color: BaseTheme.palette.actionDanger
  258. },
  259. divider: {
  260. backgroundColor: BaseTheme.palette.section01
  261. }
  262. };