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

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