Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

styles.js 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. // @flow
  2. import { BoxModel, ColorPalette } from '../../../../base/styles';
  3. export const AVATAR_SIZE = 40;
  4. export const DARK_GREY = 'rgb(28, 32, 37)';
  5. export const LIGHT_GREY = 'rgb(209, 219, 232)';
  6. export const ICON_SIZE = 15;
  7. const FIELD_COLOR = 'rgb(240, 243, 247)';
  8. export default {
  9. avatar: {
  10. backgroundColor: LIGHT_GREY
  11. },
  12. avatarText: {
  13. color: DARK_GREY,
  14. fontSize: 12
  15. },
  16. avoidingView: {
  17. flex: 1
  18. },
  19. clearButton: {
  20. alignItems: 'center',
  21. justifyContent: 'center',
  22. marginLeft: 5
  23. },
  24. clearIcon: {
  25. color: DARK_GREY,
  26. fontSize: 18,
  27. textAlign: 'center'
  28. },
  29. clearIconContainer: {
  30. alignItems: 'center',
  31. backgroundColor: FIELD_COLOR,
  32. borderRadius: 12,
  33. justifyContent: 'center',
  34. height: 24,
  35. width: 24
  36. },
  37. dialogWrapper: {
  38. alignItems: 'stretch',
  39. backgroundColor: ColorPalette.white,
  40. flex: 1,
  41. flexDirection: 'column',
  42. justifyContent: 'flex-start'
  43. },
  44. invitedList: {
  45. padding: 3
  46. },
  47. itemLinesStyle: {
  48. color: 'rgb(118, 136, 152)',
  49. fontSize: 13
  50. },
  51. itemText: {
  52. color: DARK_GREY,
  53. fontSize: 14,
  54. fontWeight: 'normal'
  55. },
  56. itemWrapper: {
  57. alignItems: 'center',
  58. flexDirection: 'row',
  59. paddingLeft: 5
  60. },
  61. resultList: {
  62. flex: 1,
  63. padding: 5
  64. },
  65. searchField: {
  66. backgroundColor: FIELD_COLOR,
  67. borderBottomRightRadius: 10,
  68. borderTopRightRadius: 10,
  69. color: DARK_GREY,
  70. flex: 1,
  71. fontSize: 17,
  72. paddingVertical: 7
  73. },
  74. selectedIcon: {
  75. color: DARK_GREY,
  76. fontSize: 20,
  77. marginRight: BoxModel.margin,
  78. padding: 2
  79. },
  80. separator: {
  81. borderBottomColor: LIGHT_GREY,
  82. borderBottomWidth: 1,
  83. marginLeft: 85
  84. },
  85. searchFieldWrapper: {
  86. alignItems: 'stretch',
  87. flexDirection: 'row',
  88. height: 52,
  89. paddingHorizontal: 15,
  90. paddingVertical: 8
  91. },
  92. searchIcon: {
  93. color: DARK_GREY,
  94. fontSize: ICON_SIZE
  95. },
  96. searchIconWrapper: {
  97. alignItems: 'center',
  98. backgroundColor: FIELD_COLOR,
  99. borderBottomLeftRadius: 10,
  100. borderTopLeftRadius: 10,
  101. flexDirection: 'row',
  102. justifyContent: 'center',
  103. width: ICON_SIZE + 16
  104. },
  105. unselectIcon: {
  106. color: LIGHT_GREY,
  107. fontSize: 16,
  108. left: AVATAR_SIZE / -3,
  109. position: 'relative',
  110. top: AVATAR_SIZE / -3
  111. }
  112. };