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

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