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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. import { fixAndroidViewClipping } from '../../../base/styles';
  2. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  3. export const INSECURE_ROOM_NAME_LABEL_COLOR = BaseTheme.palette.actionDanger;
  4. const TITLE_BAR_BUTTON_SIZE = 24;
  5. const HEADER_ACTION_BUTTON_SIZE = 17;
  6. /**
  7. * The styles of the safe area view that contains the title bar.
  8. */
  9. const titleBarSafeView = {
  10. left: 0,
  11. position: 'absolute',
  12. right: 0,
  13. top: 0
  14. };
  15. /**
  16. * The styles of the feature conference.
  17. */
  18. export default {
  19. /**
  20. * {@code Conference} Style.
  21. */
  22. conference: fixAndroidViewClipping({
  23. alignSelf: 'stretch',
  24. backgroundColor: BaseTheme.palette.uiBackground,
  25. flex: 1
  26. }),
  27. displayNameContainer: {
  28. margin: 10
  29. },
  30. headerNavigationButton: {
  31. height: BaseTheme.spacing[6],
  32. marginTop: 20,
  33. width: BaseTheme.spacing[6]
  34. },
  35. headerNavigationIcon: {
  36. marginLeft: 12
  37. },
  38. headerNavigationText: {
  39. color: BaseTheme.palette.text01,
  40. marginLeft: BaseTheme.spacing[3],
  41. fontSize: HEADER_ACTION_BUTTON_SIZE
  42. },
  43. headerNavigationTextBold: {
  44. ...BaseTheme.typography.labelButton,
  45. color: BaseTheme.palette.text01,
  46. marginRight: BaseTheme.spacing[3],
  47. fontSize: HEADER_ACTION_BUTTON_SIZE
  48. },
  49. /**
  50. * View that contains the indicators.
  51. */
  52. indicatorContainer: {
  53. flex: 1,
  54. flexDirection: 'row'
  55. },
  56. titleBarButtonContainer: {
  57. borderRadius: 3,
  58. height: BaseTheme.spacing[7],
  59. marginTop: BaseTheme.spacing[1],
  60. marginRight: BaseTheme.spacing[1],
  61. zIndex: 1,
  62. width: BaseTheme.spacing[7]
  63. },
  64. titleBarButton: {
  65. iconStyle: {
  66. color: BaseTheme.palette.icon01,
  67. padding: 12,
  68. fontSize: TITLE_BAR_BUTTON_SIZE
  69. },
  70. underlayColor: 'transparent'
  71. },
  72. lonelyButton: {
  73. borderRadius: BaseTheme.spacing[4]
  74. },
  75. lonelyMeetingContainer: {
  76. alignSelf: 'stretch',
  77. alignItems: 'center',
  78. padding: BaseTheme.spacing[3]
  79. },
  80. lonelyMessage: {
  81. color: BaseTheme.palette.text01,
  82. paddingVertical: BaseTheme.spacing[2]
  83. },
  84. pipButtonContainer: {
  85. '&:not(:empty)': {
  86. borderRadius: 3,
  87. height: BaseTheme.spacing[7],
  88. marginTop: BaseTheme.spacing[1],
  89. marginLeft: BaseTheme.spacing[1],
  90. zIndex: 1,
  91. width: BaseTheme.spacing[7]
  92. }
  93. },
  94. pipButton: {
  95. iconStyle: {
  96. color: BaseTheme.palette.icon01,
  97. padding: 12,
  98. fontSize: TITLE_BAR_BUTTON_SIZE
  99. },
  100. underlayColor: 'transparent'
  101. },
  102. titleBarSafeViewColor: {
  103. ...titleBarSafeView,
  104. backgroundColor: BaseTheme.palette.uiBackground
  105. },
  106. titleBarSafeViewTransparent: {
  107. ...titleBarSafeView
  108. },
  109. titleBarWrapper: {
  110. alignItems: 'center',
  111. flex: 1,
  112. flexDirection: 'row',
  113. height: BaseTheme.spacing[8],
  114. justifyContent: 'center'
  115. },
  116. alwaysOnTitleBar: {
  117. paddingRight: 0,
  118. borderRadius: 6,
  119. backgroundColor: 'rgba(0, 0, 0, .5)',
  120. marginLeft: BaseTheme.spacing[2],
  121. flexDirection: 'row',
  122. alignSelf: 'flex-start',
  123. alignItems: 'center',
  124. justifyContent: 'center',
  125. marginTop: BaseTheme.spacing[2],
  126. '&:not(:empty)': {
  127. padding: 4
  128. }
  129. },
  130. expandedLabelWrapper: {
  131. zIndex: 1
  132. },
  133. roomTimer: {
  134. color: BaseTheme.palette.text01,
  135. ...BaseTheme.typography.bodyShortBold,
  136. paddingHorizontal: 8,
  137. paddingVertical: 6,
  138. textAlign: 'center'
  139. },
  140. roomTimerView: {
  141. backgroundColor: BaseTheme.palette.ui03,
  142. borderRadius: 3,
  143. justifyContent: 'center',
  144. minWidth: 50
  145. },
  146. roomName: {
  147. color: BaseTheme.palette.text01,
  148. ...BaseTheme.typography.bodyShortBold,
  149. paddingVertical: 6
  150. },
  151. roomNameView: {
  152. backgroundColor: 'rgba(0,0,0,0.6)',
  153. borderBottomLeftRadius: 3,
  154. borderTopLeftRadius: 3,
  155. flexShrink: 1,
  156. justifyContent: 'center',
  157. paddingHorizontal: 10
  158. },
  159. roomNameWrapper: {
  160. flexDirection: 'row',
  161. marginRight: 10,
  162. marginLeft: 8,
  163. flexShrink: 1,
  164. flexGrow: 1
  165. },
  166. /**
  167. * The style of the {@link View} which expands over the whole
  168. * {@link Conference} area and splits it between the {@link Filmstrip} and
  169. * the {@link Toolbox}.
  170. */
  171. toolboxAndFilmstripContainer: {
  172. bottom: 0,
  173. flexDirection: 'column',
  174. justifyContent: 'flex-end',
  175. left: 0,
  176. position: 'absolute',
  177. right: 0,
  178. top: 0
  179. },
  180. insecureRoomNameLabel: {
  181. backgroundColor: INSECURE_ROOM_NAME_LABEL_COLOR
  182. },
  183. raisedHandsCountLabel: {
  184. backgroundColor: BaseTheme.palette.warning02,
  185. flexDirection: 'row',
  186. alignItems: 'center',
  187. marginLeft: BaseTheme.spacing[0],
  188. marginBottom: BaseTheme.spacing[0],
  189. marginRight: BaseTheme.spacing[1]
  190. },
  191. raisedHandsCountLabelText: {
  192. color: BaseTheme.palette.uiBackground,
  193. paddingLeft: BaseTheme.spacing[2]
  194. }
  195. };