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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. import {
  2. BoxModel,
  3. ColorPalette,
  4. createStyleSheet,
  5. fixAndroidViewClipping
  6. } from '../../base/styles';
  7. /**
  8. * The default color of text on the WelcomePage.
  9. */
  10. const TEXT_COLOR = ColorPalette.white;
  11. /**
  12. * The styles of the React <tt>Components</tt> of the feature welcome including
  13. * <tt>WelcomePage</tt> and <tt>BlankPage</tt>.
  14. */
  15. export default createStyleSheet({
  16. /**
  17. * The style of <tt>BlankPage</tt>.
  18. */
  19. blankPage: {
  20. alignItems: 'center',
  21. backgroundColor: 'transparent',
  22. flex: 1,
  23. flexDirection: 'column',
  24. justifyContent: 'center'
  25. },
  26. /**
  27. * Join button style.
  28. */
  29. button: {
  30. backgroundColor: ColorPalette.white,
  31. borderColor: ColorPalette.white,
  32. borderRadius: 8,
  33. borderWidth: 1,
  34. height: 45,
  35. justifyContent: 'center',
  36. marginBottom: BoxModel.margin,
  37. marginTop: BoxModel.margin
  38. },
  39. /**
  40. * Join button text style.
  41. */
  42. buttonText: {
  43. alignSelf: 'center',
  44. color: '#00ccff',
  45. fontSize: 18
  46. },
  47. /**
  48. * The style of the top-level container of WelcomePage.
  49. */
  50. container: fixAndroidViewClipping({
  51. alignSelf: 'stretch',
  52. backgroundColor: ColorPalette.blue,
  53. flex: 1
  54. }),
  55. /**
  56. * The style of the legal-related content such as (hyper)links to Privacy
  57. * Policy and Terms of Service displayed on the WelcomePage.
  58. */
  59. legaleseContainer: {
  60. alignItems: 'center',
  61. flex: 0,
  62. flexDirection: 'row',
  63. justifyContent: 'center'
  64. },
  65. /**
  66. * The style of a piece of legal-related content such as a (hyper)link to
  67. * Privacy Policy or Terms of Service displayed on the WelcomePage.
  68. */
  69. legaleseItem: {
  70. color: TEXT_COLOR,
  71. fontSize: 12,
  72. margin: BoxModel.margin
  73. },
  74. /**
  75. * The style of the View displayed over the local video. The latter is
  76. * thought of as the background (content) of WelcomePage. The former is
  77. * thought of as the foreground (content) of WelcomePage.
  78. */
  79. localVideoOverlay: {
  80. // Since (1) the top-level container of WelcomePage is not transparent
  81. // and, more importantly, (2) this View is displayed over the local
  82. // video, this View would better not have a background color.
  83. // Otherwise, Views within this View will inherit its background color
  84. // and Text, for example, will display non-transparent rectangles over
  85. // the local video.
  86. backgroundColor: 'transparent',
  87. bottom: 0,
  88. flex: 1,
  89. flexDirection: 'column',
  90. left: 0,
  91. position: 'absolute',
  92. right: 0,
  93. top: 0
  94. },
  95. /**
  96. * Container for room name input box and 'join' button.
  97. */
  98. roomContainer: {
  99. flex: 1,
  100. flexDirection: 'column',
  101. justifyContent: 'center',
  102. margin: 3 * BoxModel.margin
  103. },
  104. /**
  105. * Room input style.
  106. */
  107. textInput: {
  108. backgroundColor: 'transparent',
  109. borderColor: ColorPalette.white,
  110. borderRadius: 8,
  111. borderWidth: 1,
  112. color: TEXT_COLOR,
  113. fontSize: 23,
  114. height: 50,
  115. padding: 4,
  116. textAlign: 'center'
  117. },
  118. /**
  119. * Application title style.
  120. */
  121. title: {
  122. color: TEXT_COLOR,
  123. fontSize: 25,
  124. marginBottom: 2 * BoxModel.margin,
  125. textAlign: 'center'
  126. }
  127. });