您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.js 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. import {
  2. BoxModel,
  3. ColorPalette,
  4. createStyleSheet,
  5. fixAndroidViewClipping
  6. } from '../../../base/styles';
  7. import { FILMSTRIP_SIZE } from '../../../filmstrip';
  8. /**
  9. * The styles of the feature conference.
  10. */
  11. export default createStyleSheet({
  12. /**
  13. * {@code Conference} style.
  14. */
  15. conference: fixAndroidViewClipping({
  16. alignSelf: 'stretch',
  17. backgroundColor: ColorPalette.appBackground,
  18. flex: 1
  19. }),
  20. displayNameBackdrop: {
  21. alignSelf: 'center',
  22. backgroundColor: 'rgba(28, 32, 37, 0.6)',
  23. borderRadius: 4,
  24. margin: 16,
  25. paddingHorizontal: 16,
  26. paddingVertical: 4
  27. },
  28. displayNameText: {
  29. color: ColorPalette.white,
  30. fontSize: 14
  31. },
  32. /**
  33. * View that contains the indicators.
  34. */
  35. indicatorContainer: {
  36. flex: 1,
  37. flexDirection: 'row',
  38. justifyContent: 'flex-end',
  39. margin: BoxModel.margin
  40. },
  41. /**
  42. * Indicator container for wide aspect ratio.
  43. */
  44. indicatorContainerWide: {
  45. marginRight: FILMSTRIP_SIZE + BoxModel.margin
  46. },
  47. labelWrapper: {
  48. flexDirection: 'column',
  49. position: 'absolute',
  50. right: 0,
  51. top: 0
  52. },
  53. /**
  54. * The style of the {@link View} which expands over the whole
  55. * {@link Conference} area and splits it between the {@link Filmstrip} and
  56. * the {@link Toolbox}.
  57. */
  58. toolboxAndFilmstripContainer: {
  59. bottom: BoxModel.margin,
  60. flexDirection: 'column',
  61. justifyContent: 'flex-end',
  62. left: 0,
  63. position: 'absolute',
  64. right: 0,
  65. // Both on Android and iOS there is the status bar which may be visible.
  66. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  67. // not enough.
  68. top: BoxModel.margin * 3
  69. }
  70. });