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.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. import { BoxModel, ColorPalette } from '../../base/styles';
  2. /**
  3. * Filmstrip related styles common to both Web and native.
  4. */
  5. export const styles = {
  6. /**
  7. * Dominant speaker indicator style.
  8. */
  9. dominantSpeakerIndicator: {
  10. color: ColorPalette.white,
  11. fontSize: 15
  12. },
  13. /**
  14. * Dominant speaker indicator background style.
  15. */
  16. dominantSpeakerIndicatorBackground: {
  17. backgroundColor: ColorPalette.blue,
  18. borderRadius: 15,
  19. left: 4,
  20. padding: 5,
  21. position: 'absolute',
  22. top: 4
  23. },
  24. /**
  25. * The style of the Container which represents the very filmstrip.
  26. */
  27. filmstrip: {
  28. alignItems: 'flex-end',
  29. alignSelf: 'stretch',
  30. bottom: BoxModel.margin,
  31. flex: 1,
  32. flexDirection: 'column',
  33. left: 0,
  34. position: 'absolute',
  35. right: 0
  36. },
  37. /**
  38. * The style of the content container of the ScrollView which is placed
  39. * inside filmstrip and which contains the participants' thumbnails in order
  40. * to allow scrolling through them if they do not fit within the display.
  41. */
  42. filmstripScrollViewContentContainer: {
  43. paddingHorizontal: BoxModel.padding
  44. },
  45. /**
  46. * Moderator indicator style.
  47. */
  48. moderatorIndicator: {
  49. backgroundColor: 'transparent',
  50. bottom: 4,
  51. color: ColorPalette.white,
  52. position: 'absolute',
  53. right: 4
  54. },
  55. /**
  56. * Video thumbnail style.
  57. */
  58. thumbnail: {
  59. alignItems: 'stretch',
  60. backgroundColor: ColorPalette.appBackground,
  61. borderColor: '#424242',
  62. borderRadius: 3,
  63. borderStyle: 'solid',
  64. borderWidth: 1,
  65. flex: 1,
  66. justifyContent: 'center',
  67. marginLeft: 2,
  68. marginRight: 2,
  69. overflow: 'hidden',
  70. position: 'relative'
  71. },
  72. /**
  73. * The thumbnail audio and video muted indicator style.
  74. */
  75. thumbnailIndicator: {
  76. backgroundColor: 'transparent',
  77. color: ColorPalette.white,
  78. paddingLeft: 1,
  79. paddingRight: 1,
  80. position: 'relative'
  81. },
  82. /**
  83. * The thumbnails indicator container.
  84. */
  85. thumbnailIndicatorContainer: {
  86. alignSelf: 'stretch',
  87. bottom: 4,
  88. flex: 1,
  89. flexDirection: 'row',
  90. left: 4,
  91. position: 'absolute'
  92. },
  93. /**
  94. * Pinned video thumbnail style.
  95. */
  96. thumbnailPinned: {
  97. borderColor: ColorPalette.blue,
  98. shadowColor: ColorPalette.black,
  99. shadowOffset: {
  100. height: 5,
  101. width: 5
  102. },
  103. shadowRadius: 5
  104. }
  105. };