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 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. // @flow
  2. import { ColorPalette } from '../../../base/styles';
  3. const SECONDARY_COLOR = '#B8C7E0';
  4. export const ENABLED_THUMB_COLOR = ColorPalette.blueHighlight;
  5. export const ENABLED_TRACK_COLOR = ColorPalette.blue;
  6. export const DISABLED_THUMB_COLOR = ColorPalette.darkGrey;
  7. export default {
  8. button: {
  9. alignItems: 'center',
  10. borderRadius: 4,
  11. marginVertical: 4,
  12. paddingVertical: 8
  13. },
  14. contentWrapper: {
  15. alignItems: 'center',
  16. display: 'flex',
  17. flexDirection: 'column',
  18. justifyItems: 'center',
  19. height: '100%'
  20. },
  21. closeIcon: {
  22. color: 'red',
  23. fontSize: 20
  24. },
  25. dialogTitle: {
  26. fontSize: 18,
  27. fontWeight: 'bold',
  28. margin: 'auto',
  29. marginVertical: 24,
  30. textAlign: 'center'
  31. },
  32. displayNameText: {
  33. fontWeight: 'bold',
  34. marginVertical: 10
  35. },
  36. editButton: {
  37. alignSelf: 'flex-end',
  38. paddingHorizontal: 10
  39. },
  40. editIcon: {
  41. color: 'black',
  42. fontSize: 16
  43. },
  44. field: {
  45. borderColor: SECONDARY_COLOR,
  46. borderRadius: 4,
  47. borderWidth: 1,
  48. marginVertical: 8,
  49. padding: 8
  50. },
  51. fieldError: {
  52. color: ColorPalette.warning,
  53. fontSize: 10
  54. },
  55. fieldRow: {
  56. paddingTop: 16
  57. },
  58. fieldLabel: {
  59. textAlign: 'center'
  60. },
  61. formWrapper: {
  62. alignItems: 'stretch',
  63. alignSelf: 'stretch',
  64. paddingVertical: 16
  65. },
  66. joiningMessage: {
  67. color: 'rgba(0, 0, 0, .7)',
  68. paddingBottom: 36,
  69. textAlign: 'center'
  70. },
  71. loadingIndicator: {
  72. marginVertical: 36
  73. },
  74. participantBox: {
  75. alignItems: 'center',
  76. alignSelf: 'stretch',
  77. borderColor: SECONDARY_COLOR,
  78. borderRadius: 4,
  79. borderWidth: 1,
  80. marginVertical: 18,
  81. paddingVertical: 12
  82. },
  83. primaryButton: {
  84. alignSelf: 'stretch',
  85. backgroundColor: 'rgb(3, 118, 218)'
  86. },
  87. primaryButtonText: {
  88. color: 'white'
  89. },
  90. secondaryButton: {
  91. alignSelf: 'stretch',
  92. backgroundColor: 'transparent'
  93. },
  94. secondaryText: {
  95. color: 'rgba(0, 0, 0, .7)',
  96. margin: 'auto',
  97. textAlign: 'center'
  98. },
  99. cancelButton: {
  100. alignItems: 'center',
  101. backgroundColor: 'transparent',
  102. marginVertical: 4
  103. },
  104. // KnockingParticipantList
  105. knockingParticipantList: {
  106. alignSelf: 'stretch',
  107. backgroundColor: 'rgba(22, 38, 55, 0.8)',
  108. flexDirection: 'column'
  109. },
  110. knockingParticipantListButton: {
  111. borderRadius: 4,
  112. marginHorizontal: 3,
  113. paddingHorizontal: 10,
  114. paddingVertical: 5
  115. },
  116. knockingParticipantListDetails: {
  117. flex: 1,
  118. marginLeft: 10
  119. },
  120. knockingParticipantListEntry: {
  121. alignItems: 'center',
  122. flexDirection: 'row',
  123. padding: 10
  124. },
  125. knockingParticipantListPrimaryButton: {
  126. backgroundColor: 'rgb(3, 118, 218)'
  127. },
  128. knockingParticipantListSecondaryButton: {
  129. backgroundColor: 'transparent'
  130. },
  131. knockingParticipantListText: {
  132. color: 'white'
  133. },
  134. lobbySwitchContainer: {
  135. flexDirection: 'column',
  136. marginTop: 16
  137. },
  138. lobbySwitchIcon: {
  139. alignSelf: 'flex-end'
  140. }
  141. };