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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // @flow
  2. import { PlatformColor } from 'react-native';
  3. import {
  4. MD_FONT_SIZE,
  5. MD_ITEM_HEIGHT,
  6. MD_ITEM_MARGIN_PADDING
  7. } from '../../../base/dialog';
  8. import { ColorPalette, createStyleSheet } from '../../../base/styles';
  9. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  10. export default createStyleSheet({
  11. participantNameContainer: {
  12. alignItems: 'center',
  13. borderBottomColor: BaseTheme.palette.dividerColor,
  14. borderBottomWidth: 0.4,
  15. borderTopLeftRadius: 16,
  16. borderTopRightRadius: 16,
  17. flexDirection: 'row',
  18. height: MD_ITEM_HEIGHT,
  19. paddingLeft: MD_ITEM_MARGIN_PADDING
  20. },
  21. participantNameLabel: {
  22. color: ColorPalette.lightGrey,
  23. flexShrink: 1,
  24. fontSize: MD_FONT_SIZE,
  25. marginLeft: MD_ITEM_MARGIN_PADDING,
  26. opacity: 0.90
  27. },
  28. statsTitleText: {
  29. color: BaseTheme.palette.text01,
  30. fontSize: 16,
  31. fontWeight: 'bold',
  32. marginRight: 3
  33. },
  34. statsInfoText: {
  35. color: BaseTheme.palette.text01,
  36. fontSize: 16,
  37. marginRight: 2,
  38. marginLeft: 2
  39. },
  40. statsInfoCell: {
  41. alignItems: 'center',
  42. flexDirection: 'row',
  43. height: 30,
  44. justifyContent: 'flex-start'
  45. },
  46. statsWrapper: {
  47. margin: BaseTheme.spacing[3]
  48. },
  49. volumeSliderContainer: {
  50. alignItems: 'center',
  51. flexDirection: 'row',
  52. marginHorizontal: BaseTheme.spacing[3],
  53. marginVertical: BaseTheme.spacing[2]
  54. },
  55. sliderContainer: {
  56. marginLeft: BaseTheme.spacing[3],
  57. minWidth: '80%'
  58. },
  59. divider: {
  60. backgroundColor: BaseTheme.palette.dividerColor
  61. },
  62. dividerDialog: {
  63. // eslint-disable-next-line new-cap
  64. backgroundColor: PlatformColor('separator'),
  65. marginBottom: BaseTheme.spacing[3]
  66. },
  67. contextMenuItem: {
  68. alignItems: 'center',
  69. display: 'flex',
  70. flexDirection: 'row',
  71. height: BaseTheme.spacing[7],
  72. marginLeft: BaseTheme.spacing[3]
  73. },
  74. contextMenuItemText: {
  75. ...BaseTheme.typography.bodyShortRegularLarge,
  76. color: BaseTheme.palette.text01,
  77. marginLeft: BaseTheme.spacing[4]
  78. }
  79. });