Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

styles.ts 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. import BaseTheme from '../../../../base/ui/components/BaseTheme.native';
  2. /**
  3. * The size of the microphone icon.
  4. */
  5. const MICROPHONE_SIZE = 180;
  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 native components of Carmode.
  17. */
  18. export default {
  19. bottomContainer: {
  20. display: 'flex',
  21. flexDirection: 'column',
  22. alignItems: 'center',
  23. bottom: BaseTheme.spacing[8]
  24. },
  25. /**
  26. * {@code Conference} Style.
  27. */
  28. conference: {
  29. backgroundColor: BaseTheme.palette.uiBackground,
  30. flex: 1,
  31. justifyContent: 'center'
  32. },
  33. microphoneStyles: {
  34. container: {
  35. borderRadius: MICROPHONE_SIZE / 2,
  36. height: MICROPHONE_SIZE,
  37. maxHeight: MICROPHONE_SIZE,
  38. justifyContent: 'center',
  39. overflow: 'hidden',
  40. width: MICROPHONE_SIZE,
  41. maxWidth: MICROPHONE_SIZE,
  42. flex: 1,
  43. zIndex: 1,
  44. elevation: 1
  45. },
  46. icon: {
  47. color: BaseTheme.palette.text01,
  48. fontSize: MICROPHONE_SIZE * 0.45,
  49. fontWeight: '100'
  50. },
  51. iconContainer: {
  52. alignItems: 'center',
  53. alignSelf: 'stretch',
  54. flex: 1,
  55. justifyContent: 'center',
  56. backgroundColor: BaseTheme.palette.ui03
  57. },
  58. unmuted: {
  59. borderWidth: 4,
  60. borderColor: BaseTheme.palette.success01
  61. }
  62. },
  63. qualityLabelContainer: {
  64. borderRadius: BaseTheme.shape.borderRadius,
  65. flexShrink: 1,
  66. paddingHorizontal: 2,
  67. justifyContent: 'center',
  68. marginTop: BaseTheme.spacing[2]
  69. },
  70. roomTimer: {
  71. ...BaseTheme.typography.bodyShortBold,
  72. color: BaseTheme.palette.text01,
  73. textAlign: 'center'
  74. },
  75. titleView: {
  76. width: 152,
  77. height: 28,
  78. backgroundColor: BaseTheme.palette.ui02,
  79. borderRadius: 12,
  80. alignSelf: 'center'
  81. },
  82. title: {
  83. margin: 'auto',
  84. textAlign: 'center',
  85. paddingVertical: BaseTheme.spacing[1],
  86. paddingHorizontal: BaseTheme.spacing[3],
  87. color: BaseTheme.palette.text02
  88. },
  89. soundDeviceButton: {
  90. marginBottom: BaseTheme.spacing[3],
  91. width: 240
  92. },
  93. endMeetingButton: {
  94. width: 240
  95. },
  96. headerLabels: {
  97. borderBottomLeftRadius: 3,
  98. borderTopLeftRadius: 3,
  99. flexShrink: 1,
  100. paddingHorizontal: 2,
  101. justifyContent: 'center'
  102. },
  103. titleBarSafeViewColor: {
  104. ...titleBarSafeView,
  105. backgroundColor: BaseTheme.palette.uiBackground
  106. },
  107. microphoneContainer: {
  108. flex: 1,
  109. alignItems: 'center',
  110. justifyContent: 'center'
  111. },
  112. titleBarWrapper: {
  113. alignItems: 'center',
  114. flex: 1,
  115. flexDirection: 'row',
  116. justifyContent: 'center'
  117. },
  118. roomNameWrapper: {
  119. flexDirection: 'row',
  120. marginRight: BaseTheme.spacing[2],
  121. flexShrink: 1,
  122. flexGrow: 1
  123. },
  124. roomNameView: {
  125. backgroundColor: 'rgba(0,0,0,0.6)',
  126. flexShrink: 1,
  127. justifyContent: 'center',
  128. paddingHorizontal: BaseTheme.spacing[2]
  129. },
  130. roomName: {
  131. color: BaseTheme.palette.text01,
  132. ...BaseTheme.typography.bodyShortBold
  133. },
  134. titleBar: {
  135. alignSelf: 'center',
  136. marginTop: BaseTheme.spacing[1]
  137. },
  138. videoStoppedLabel: {
  139. ...BaseTheme.typography.bodyShortRegularLarge,
  140. color: BaseTheme.palette.text01,
  141. marginBottom: BaseTheme.spacing[3],
  142. textAlign: 'center',
  143. width: '100%'
  144. },
  145. connectionIndicatorIcon: {
  146. fontSize: 20
  147. }
  148. };