您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.js 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. // @flow
  2. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  3. const SECONDARY_COLOR = BaseTheme.palette.border04;
  4. export default {
  5. button: {
  6. alignItems: 'center',
  7. borderRadius: BaseTheme.shape.borderRadius,
  8. padding: BaseTheme.spacing[2],
  9. height: BaseTheme.spacing[7],
  10. width: '100%'
  11. },
  12. buttonStylesBorderless: {
  13. iconStyle: {
  14. backgroundColor: 'transparent',
  15. color: BaseTheme.palette.icon01,
  16. fontSize: 24
  17. },
  18. style: {
  19. backgroundColor: 'transparent',
  20. flexDirection: 'row',
  21. justifyContent: 'center',
  22. marginHorizontal: BaseTheme.spacing[3],
  23. height: 24,
  24. width: 24
  25. }
  26. },
  27. lobbyChatWrapper: {
  28. backgroundColor: BaseTheme.palette.ui01,
  29. alignItems: 'stretch',
  30. flexDirection: 'column',
  31. justifyItems: 'center',
  32. height: '100%'
  33. },
  34. lobbyChatHeader: {
  35. flexDirection: 'row',
  36. padding: 20
  37. },
  38. lobbyChatTitle: {
  39. color: BaseTheme.palette.text01,
  40. fontSize: 20,
  41. fontWeight: 'bold',
  42. flexShrink: 1
  43. },
  44. lobbyChatCloseButton: {
  45. fontSize: 24,
  46. marginLeft: BaseTheme.spacing[3],
  47. marginTop: BaseTheme.spacing[1],
  48. color: BaseTheme.palette.icon01
  49. },
  50. contentWrapper: {
  51. flex: 1
  52. },
  53. contentWrapperWide: {
  54. flex: 1,
  55. flexDirection: 'row'
  56. },
  57. largeVideoContainer: {
  58. minHeight: '50%'
  59. },
  60. largeVideoContainerWide: {
  61. position: 'absolute',
  62. marginRight: 'auto',
  63. height: '100%',
  64. width: '50%'
  65. },
  66. contentContainer: {
  67. display: 'flex',
  68. alignItems: 'center',
  69. justifyContent: 'center',
  70. minHeight: '50%'
  71. },
  72. contentContainerWide: {
  73. justifyContent: 'center',
  74. marginHorizontal: BaseTheme.spacing[6],
  75. marginVertical: BaseTheme.spacing[3],
  76. height: '100%',
  77. left: '50%',
  78. position: 'absolute',
  79. width: '50%'
  80. },
  81. toolboxContainer: {
  82. alignItems: 'center',
  83. display: 'flex',
  84. flexDirection: 'row',
  85. justifyContent: 'center',
  86. marginTop: BaseTheme.spacing[3]
  87. },
  88. toolboxContainerWide: {
  89. flexDirection: 'row',
  90. justifyContent: 'center',
  91. marginTop: BaseTheme.spacing[3]
  92. },
  93. displayNameText: {
  94. fontWeight: 'bold',
  95. marginVertical: 10
  96. },
  97. editButton: {
  98. alignSelf: 'flex-end',
  99. paddingHorizontal: 10
  100. },
  101. editIcon: {
  102. color: 'black',
  103. fontSize: 16
  104. },
  105. formWrapper: {
  106. alignSelf: 'stretch',
  107. marginTop: 45
  108. },
  109. field: {
  110. alignSelf: 'stretch',
  111. backgroundColor: BaseTheme.palette.field02,
  112. borderColor: SECONDARY_COLOR,
  113. borderRadius: BaseTheme.shape.borderRadius,
  114. borderWidth: 2,
  115. height: BaseTheme.spacing[7],
  116. marginHorizontal: BaseTheme.spacing[3],
  117. padding: BaseTheme.spacing[2],
  118. textAlign: 'center'
  119. },
  120. fieldError: {
  121. color: BaseTheme.palette.warning03,
  122. marginLeft: BaseTheme.spacing[3],
  123. fontSize: 16
  124. },
  125. fieldLabel: {
  126. ...BaseTheme.typography.heading6,
  127. color: BaseTheme.palette.text01,
  128. textAlign: 'center'
  129. },
  130. standardButtonWrapper: {
  131. alignSelf: 'stretch',
  132. marginHorizontal: 12
  133. },
  134. joiningMessage: {
  135. color: BaseTheme.palette.text01,
  136. marginHorizontal: BaseTheme.spacing[3],
  137. textAlign: 'center'
  138. },
  139. passwordJoinButtonsWrapper: {
  140. alignItems: 'stretch',
  141. alignSelf: 'stretch',
  142. marginHorizontal: BaseTheme.spacing[3]
  143. },
  144. loadingIndicator: {
  145. marginBottom: BaseTheme.spacing[4]
  146. },
  147. participantBox: {
  148. alignItems: 'center',
  149. alignSelf: 'stretch',
  150. borderColor: SECONDARY_COLOR,
  151. borderRadius: 4,
  152. borderWidth: 1,
  153. marginVertical: 18,
  154. paddingVertical: 12
  155. },
  156. primaryButton: {
  157. backgroundColor: BaseTheme.palette.action01,
  158. marginTop: BaseTheme.spacing[4]
  159. },
  160. primaryButtonDisabled: {
  161. backgroundColor: BaseTheme.palette.action03Disabled,
  162. marginTop: BaseTheme.spacing[4]
  163. },
  164. primaryButtonText: {
  165. ...BaseTheme.typography.labelButtonLarge,
  166. color: BaseTheme.palette.text01,
  167. lineHeight: 30
  168. },
  169. primaryText: {
  170. color: BaseTheme.palette.text01,
  171. margin: 'auto',
  172. textAlign: 'center'
  173. },
  174. // KnockingParticipantList
  175. knockingParticipantList: {
  176. alignSelf: 'stretch',
  177. backgroundColor: 'rgba(22, 38, 55, 0.8)',
  178. flexDirection: 'column'
  179. },
  180. knockingParticipantListButton: {
  181. borderRadius: 4,
  182. marginHorizontal: 3,
  183. paddingHorizontal: 10,
  184. paddingVertical: 5
  185. },
  186. knockingParticipantListDetails: {
  187. flex: 1,
  188. marginLeft: 10
  189. },
  190. knockingParticipantListEntry: {
  191. alignItems: 'center',
  192. flexDirection: 'row',
  193. padding: 10
  194. },
  195. knockingParticipantListPrimaryButton: {
  196. backgroundColor: 'rgb(3, 118, 218)'
  197. },
  198. knockingParticipantListSecondaryButton: {
  199. backgroundColor: 'transparent'
  200. },
  201. knockingParticipantListText: {
  202. color: 'white'
  203. },
  204. lobbySwitchContainer: {
  205. flexDirection: 'column',
  206. marginTop: BaseTheme.spacing[2]
  207. },
  208. lobbySwitchIcon: {
  209. alignSelf: 'flex-end'
  210. }
  211. };