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 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  2. /**
  3. * The style for content.
  4. */
  5. const flexContent = {
  6. alignItems: 'center',
  7. color: BaseTheme.palette.icon01,
  8. display: 'flex',
  9. flex: 1
  10. };
  11. /**
  12. * The style of the participants pane buttons.
  13. */
  14. const container = {
  15. alignItems: 'center',
  16. display: 'flex',
  17. flexDirection: 'row',
  18. height: 64,
  19. justifyContent: 'center',
  20. paddingRight: 8,
  21. width: '100%'
  22. };
  23. /**
  24. * The style of the participants pane buttons.
  25. */
  26. const button = {
  27. alignItems: 'center',
  28. backgroundColor: BaseTheme.palette.action02,
  29. borderRadius: BaseTheme.shape.borderRadius,
  30. display: 'flex',
  31. height: 48,
  32. marginLeft: 'auto'
  33. };
  34. /**
  35. * Small buttons.
  36. */
  37. const smallButton = {
  38. ...button,
  39. width: 48
  40. };
  41. /**
  42. * The style of the participants pane buttons description.
  43. */
  44. const buttonContent = {
  45. ...BaseTheme.typography.labelButtonLarge,
  46. ...flexContent,
  47. justifyContent: 'center'
  48. };
  49. /**
  50. * The styles of the native components of the feature {@code participants}.
  51. */
  52. export default {
  53. participantActionButton: {
  54. backgroundColor: BaseTheme.palette.action01,
  55. borderRadius: BaseTheme.shape.borderRadius,
  56. height: 40,
  57. paddingTop: 8,
  58. paddingBottom: 8,
  59. paddingLeft: 16,
  60. paddingRight: 16,
  61. width: 73
  62. },
  63. participantContainer: {
  64. alignItems: 'center',
  65. color: BaseTheme.palette.text01,
  66. display: 'flex',
  67. fontSize: 13,
  68. height: 64,
  69. margin: BaseTheme.spacing[4],
  70. position: 'relative',
  71. width: 375
  72. },
  73. participantContent: {
  74. ...flexContent,
  75. boxShadow: BaseTheme.shape.boxShadow,
  76. height: '100%',
  77. overflow: 'hidden',
  78. paddingRight: BaseTheme.spacing[4]
  79. },
  80. participantNameContainer: {
  81. display: 'flex',
  82. flex: 1,
  83. marginRight: BaseTheme.spacing[3],
  84. overflow: 'hidden'
  85. },
  86. participantName: {
  87. overflow: 'hidden',
  88. textOverflow: 'ellipsis',
  89. whiteSpace: 'nowrap'
  90. },
  91. participantsPane: {
  92. backgroundColor: BaseTheme.palette.ui01
  93. },
  94. participantStates: {
  95. display: 'flex',
  96. justifyContent: 'flex-end'
  97. },
  98. raisedHandIndicator: {
  99. backgroundColor: BaseTheme.palette.warning02,
  100. borderRadius: BaseTheme.shape.borderRadius / 2,
  101. height: 24,
  102. width: 24
  103. },
  104. lobbyListContainer: {
  105. ...container
  106. },
  107. header: {
  108. ...container,
  109. backgroundColor: 'red'
  110. },
  111. footer: {
  112. ...container,
  113. backgroundColor: 'green',
  114. marginTop: 'auto'
  115. },
  116. closeButton: {
  117. ...smallButton
  118. },
  119. closeIcon: {
  120. ...buttonContent
  121. },
  122. moreButton: {
  123. ...smallButton
  124. },
  125. moreIcon: {
  126. ...buttonContent
  127. },
  128. muteAllButton: {
  129. ...button,
  130. paddingBottom: 12,
  131. paddingLeft: 16,
  132. paddingRight: 16,
  133. paddingTop: 12,
  134. width: 94
  135. },
  136. muteAllContent: {
  137. ...buttonContent
  138. }
  139. };