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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. bottomBar: {
  20. alignItems: 'center',
  21. flexDirection: 'row',
  22. justifyContent: 'space-around'
  23. },
  24. clearButton: {
  25. alignItems: 'center',
  26. justifyContent: 'center',
  27. marginLeft: 5
  28. },
  29. clearIcon: {
  30. color: DARK_GREY,
  31. fontSize: 18,
  32. textAlign: 'center'
  33. },
  34. clearIconContainer: {
  35. alignItems: 'center',
  36. backgroundColor: FIELD_COLOR,
  37. borderRadius: 12,
  38. justifyContent: 'center',
  39. height: 24,
  40. width: 24
  41. },
  42. dialogWrapper: {
  43. alignItems: 'stretch',
  44. backgroundColor: ColorPalette.white,
  45. flex: 1,
  46. flexDirection: 'column',
  47. justifyContent: 'flex-start'
  48. },
  49. /**
  50. * A special padding to avoid issues on some devices (such as Android devices with custom suggestions bar).
  51. */
  52. extraBarPadding: {
  53. paddingBottom: 30
  54. },
  55. invitedList: {
  56. padding: 3
  57. },
  58. itemLinesStyle: {
  59. color: 'rgb(118, 136, 152)',
  60. fontSize: 13
  61. },
  62. itemText: {
  63. color: DARK_GREY,
  64. fontSize: 14,
  65. fontWeight: 'normal'
  66. },
  67. itemWrapper: {
  68. alignItems: 'center',
  69. flexDirection: 'row',
  70. paddingLeft: 5
  71. },
  72. resultList: {
  73. flex: 1,
  74. padding: 5
  75. },
  76. searchField: {
  77. backgroundColor: FIELD_COLOR,
  78. borderBottomRightRadius: 10,
  79. borderTopRightRadius: 10,
  80. color: DARK_GREY,
  81. flex: 1,
  82. fontSize: 17,
  83. paddingVertical: 7
  84. },
  85. selectedIcon: {
  86. color: DARK_GREY,
  87. fontSize: 20,
  88. marginRight: BoxModel.margin,
  89. padding: 2
  90. },
  91. separator: {
  92. borderBottomColor: LIGHT_GREY,
  93. borderBottomWidth: 1,
  94. marginLeft: 85
  95. },
  96. searchFieldWrapper: {
  97. alignItems: 'stretch',
  98. flexDirection: 'row',
  99. height: 52,
  100. paddingHorizontal: 15,
  101. paddingVertical: 8
  102. },
  103. searchIcon: {
  104. color: DARK_GREY,
  105. fontSize: ICON_SIZE
  106. },
  107. searchIconWrapper: {
  108. alignItems: 'center',
  109. backgroundColor: FIELD_COLOR,
  110. borderBottomLeftRadius: 10,
  111. borderTopLeftRadius: 10,
  112. flexDirection: 'row',
  113. justifyContent: 'center',
  114. width: ICON_SIZE + 16
  115. },
  116. shareIcon: {
  117. fontSize: 42
  118. },
  119. unselectIcon: {
  120. color: LIGHT_GREY,
  121. fontSize: 16,
  122. left: AVATAR_SIZE / -3,
  123. position: 'relative',
  124. top: AVATAR_SIZE / -3
  125. }
  126. };