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.

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