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.ts 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  2. export const preJoinStyles = {
  3. joinButton: {
  4. marginTop: BaseTheme.spacing[3],
  5. width: 352
  6. },
  7. buttonStylesBorderless: {
  8. iconStyle: {
  9. color: BaseTheme.palette.icon01,
  10. fontSize: 24
  11. },
  12. style: {
  13. flexDirection: 'row',
  14. justifyContent: 'center',
  15. margin: BaseTheme.spacing[3],
  16. height: 24,
  17. width: 24
  18. },
  19. underlayColor: 'transparent'
  20. },
  21. contentWrapper: {
  22. flex: 1,
  23. flexDirection: 'row'
  24. },
  25. contentWrapperWide: {
  26. flex: 1,
  27. flexDirection: 'row'
  28. },
  29. largeVideoContainer: {
  30. height: '60%'
  31. },
  32. largeVideoContainerWide: {
  33. height: '100%',
  34. marginRight: 'auto',
  35. position: 'absolute',
  36. width: '50%'
  37. },
  38. contentContainer: {
  39. alignItems: 'center',
  40. backgroundColor: BaseTheme.palette.uiBackground,
  41. bottom: 0,
  42. display: 'flex',
  43. height: 280,
  44. justifyContent: 'center',
  45. position: 'absolute',
  46. width: '100%',
  47. zIndex: 1
  48. },
  49. contentContainerWide: {
  50. alignItems: 'center',
  51. height: '100%',
  52. justifyContent: 'center',
  53. left: '50%',
  54. padding: BaseTheme.spacing[3],
  55. position: 'absolute',
  56. width: '50%'
  57. },
  58. toolboxContainer: {
  59. alignItems: 'center',
  60. backgroundColor: BaseTheme.palette.ui01,
  61. borderRadius: BaseTheme.shape.borderRadius,
  62. display: 'flex',
  63. flexDirection: 'row',
  64. height: 60,
  65. justifyContent: 'space-between',
  66. marginBottom: BaseTheme.spacing[3],
  67. paddingHorizontal: BaseTheme.spacing[2],
  68. width: 148
  69. },
  70. customInput: {
  71. textAlign: 'center',
  72. width: 352
  73. },
  74. errorContainer: {
  75. backgroundColor: BaseTheme.palette.actionDanger,
  76. borderBottomRightRadius: BaseTheme.shape.borderRadius,
  77. borderBottomLeftRadius: BaseTheme.shape.borderRadius,
  78. boxSizing: 'border-box',
  79. marginTop: -BaseTheme.spacing[2],
  80. overflow: 'visible',
  81. wordBreak: 'normal',
  82. width: 352
  83. },
  84. error: {
  85. padding: BaseTheme.spacing[1],
  86. color: BaseTheme.palette.text01,
  87. textAlign: 'center'
  88. },
  89. preJoinRoomName: {
  90. ...BaseTheme.typography.heading5,
  91. color: BaseTheme.palette.text01,
  92. textAlign: 'center'
  93. },
  94. conferenceInfo: {
  95. alignSelf: 'center',
  96. marginTop: BaseTheme.spacing[3],
  97. paddingHorizontal: BaseTheme.spacing[3],
  98. paddingVertical: BaseTheme.spacing[1],
  99. position: 'absolute',
  100. maxWidth: 273,
  101. zIndex: 1
  102. },
  103. displayRoomNameBackdrop: {
  104. backgroundColor: BaseTheme.palette.uiBackground,
  105. borderRadius: BaseTheme.shape.borderRadius,
  106. opacity: 0.7,
  107. paddingHorizontal: BaseTheme.spacing[3],
  108. paddingVertical: BaseTheme.spacing[1]
  109. },
  110. recordingWarning: {
  111. display: 'flex',
  112. justifyContent: 'center',
  113. lineHeight: 22,
  114. marginBottom: BaseTheme.spacing[2],
  115. marginTop: BaseTheme.spacing[1],
  116. width: 'auto'
  117. },
  118. recordingWarningText: {
  119. color: BaseTheme.palette.text03
  120. },
  121. unsafeRoomWarningContainer: {
  122. height: '100%',
  123. width: '100%',
  124. backgroundColor: BaseTheme.palette.ui01,
  125. display: 'flex',
  126. alignItems: 'center',
  127. justifyContent: 'center',
  128. color: 'white'
  129. },
  130. unsafeRoomContentContainer: {
  131. justifySelf: 'center',
  132. height: '100%',
  133. display: 'flex',
  134. alignItems: 'center',
  135. justifyContent: 'center',
  136. paddingHorizontal: BaseTheme.spacing[4]
  137. },
  138. unsafeRoomContentContainerWide: {
  139. alignItems: 'center',
  140. justifySelf: 'center',
  141. height: '100%',
  142. display: 'flex',
  143. justifyContent: 'center',
  144. marginLeft: BaseTheme.spacing[7],
  145. paddingHorizontal: BaseTheme.spacing[6]
  146. },
  147. warningText: {
  148. ...BaseTheme.typography.bodyLongRegularLarge,
  149. color: BaseTheme.palette.text01,
  150. textAlign: 'center',
  151. marginBottom: BaseTheme.spacing[4]
  152. },
  153. warningIconWrapper: {
  154. backgroundColor: BaseTheme.palette.warning01,
  155. borderRadius: BaseTheme.shape.circleRadius,
  156. padding: BaseTheme.spacing[4],
  157. marginBottom: BaseTheme.spacing[4],
  158. zIndex: 0
  159. },
  160. warningIcon: {
  161. color: BaseTheme.palette.ui01,
  162. fontSize: 40
  163. }
  164. };