Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. // @flow
  2. import { ColorPalette, createStyleSheet } from '../../../base/styles';
  3. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  4. export const answerStyles = createStyleSheet({
  5. question: {
  6. fontSize: 24,
  7. fontWeight: 'bold',
  8. marginBottom: 6
  9. },
  10. answer: {
  11. flexDirection: 'row',
  12. alignItems: 'center',
  13. marginBottom: 3
  14. },
  15. option: {
  16. flexShrink: 1
  17. }
  18. });
  19. export const dialogStyles = createStyleSheet({
  20. question: {
  21. color: BaseTheme.palette.text01,
  22. fontSize: 16,
  23. fontWeight: 'bold',
  24. marginVertical: 4
  25. },
  26. optionContainer: {
  27. flexDirection: 'row'
  28. },
  29. field: {
  30. color: BaseTheme.palette.text01,
  31. borderBottomWidth: 1,
  32. borderColor: ColorPalette.blue,
  33. fontSize: 14,
  34. flexGrow: 1,
  35. paddingBottom: 0,
  36. flexShrink: 1
  37. },
  38. buttonContainer: {
  39. justifyContent: 'flex-end',
  40. alignItems: 'center'
  41. },
  42. icon: {
  43. color: ColorPalette.white,
  44. backgroundColor: ColorPalette.blue,
  45. borderRadius: 5,
  46. margin: 0
  47. },
  48. plusButton: {
  49. marginTop: 8
  50. }
  51. });
  52. export const resultsStyles = createStyleSheet({
  53. title: {
  54. fontSize: 24,
  55. fontWeight: 'bold'
  56. },
  57. barContainer: {
  58. backgroundColor: '#ccc',
  59. borderRadius: 3,
  60. width: '100%',
  61. height: 6,
  62. marginTop: 2
  63. },
  64. bar: {
  65. backgroundColor: ColorPalette.blue,
  66. borderRadius: 3,
  67. height: 6
  68. },
  69. voters: {
  70. borderRadius: 3,
  71. borderWidth: 1,
  72. borderColor: 'gray',
  73. padding: 2,
  74. marginHorizontal: 8,
  75. marginVertical: 4
  76. },
  77. voter: {
  78. color: BaseTheme.palette.text01
  79. },
  80. answerContainer: {
  81. marginVertical: 2,
  82. maxWidth: '100%'
  83. },
  84. answerHeader: {
  85. flexDirection: 'row',
  86. justifyContent: 'space-between'
  87. },
  88. answer: {
  89. color: BaseTheme.palette.text01,
  90. flexShrink: 1
  91. },
  92. answerVoteCount: {
  93. paddingLeft: 10
  94. },
  95. chatQuestion: {
  96. fontWeight: 'bold'
  97. }
  98. });
  99. export const chatStyles = createStyleSheet({
  100. messageFooter: {
  101. flex: 1,
  102. flexDirection: 'row',
  103. justifyContent: 'space-between',
  104. alignItems: 'center',
  105. fontSize: 11,
  106. marginTop: 6
  107. },
  108. showDetails: {
  109. fontWeight: 'bold'
  110. },
  111. noPollText: {
  112. flex: 1,
  113. color: BaseTheme.palette.text03,
  114. textAlign: 'center',
  115. paddingTop: '8%'
  116. },
  117. pollItemContainer: {
  118. borderRadius: 4,
  119. borderColor: '#2183ad',
  120. borderWidth: 2,
  121. padding: 16,
  122. marginBottom: 8
  123. },
  124. pollCreateContainer: {
  125. flex: 1,
  126. justifyContent: 'space-between'
  127. },
  128. pollCreateSubContainer: {
  129. flex: 1
  130. },
  131. pollCreateButtonsContainer: {
  132. paddingVertical: BaseTheme.spacing[2]
  133. },
  134. pollCreateButton: {
  135. flex: 1,
  136. marginHorizontal: 8
  137. },
  138. pollSendLabel: {
  139. color: BaseTheme.palette.text01
  140. },
  141. pollSendDisabledLabel: {
  142. color: BaseTheme.palette.text03
  143. },
  144. buttonRow: {
  145. flexDirection: 'row'
  146. },
  147. answerContent: {
  148. paddingBottom: 8
  149. },
  150. switchRow: {
  151. alignItems: 'center',
  152. flexDirection: 'row',
  153. padding: 6
  154. },
  155. switchLabel: {
  156. color: BaseTheme.palette.text01,
  157. marginLeft: BaseTheme.spacing[2]
  158. },
  159. pollCreateAddButton: {
  160. margin: BaseTheme.spacing[2]
  161. },
  162. toggleText: {
  163. color: ColorPalette.blue,
  164. paddingTop: BaseTheme.spacing[3]
  165. },
  166. createPollButton: {
  167. padding: 8,
  168. margin: BaseTheme.spacing[2]
  169. },
  170. PollPane: {
  171. flex: 1,
  172. padding: 8
  173. },
  174. PollPaneContainer: {
  175. backgroundColor: BaseTheme.palette.ui01,
  176. flex: 1
  177. },
  178. PollPaneContent: {
  179. justifyContent: 'space-between',
  180. padding: BaseTheme.spacing[3],
  181. flex: 1
  182. },
  183. bottomLinks: {
  184. flexDirection: 'row',
  185. justifyContent: 'space-between'
  186. }
  187. });