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

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