Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

styles.js 5.2KB

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