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

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