You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.js 5.0KB

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