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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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 top-level container/{@code View} of
  63. * {@code LocalVideoTrackUnderlay}.
  64. */
  65. localVideoTrackUnderlay: fixAndroidViewClipping({
  66. alignSelf: 'stretch',
  67. backgroundColor: 'transparent',
  68. flex: 1
  69. }),
  70. /**
  71. * Container for room name input box and 'join' button.
  72. */
  73. roomContainer: {
  74. alignSelf: 'stretch',
  75. flex: 1,
  76. flexDirection: 'column',
  77. justifyContent: 'center',
  78. margin: 3 * BoxModel.margin
  79. },
  80. /**
  81. * Room input style.
  82. */
  83. textInput: {
  84. backgroundColor: 'transparent',
  85. borderColor: ColorPalette.white,
  86. borderRadius: 8,
  87. borderWidth: 1,
  88. color: TEXT_COLOR,
  89. fontSize: 23,
  90. height: 50,
  91. padding: 4,
  92. textAlign: 'center'
  93. },
  94. /**
  95. * Application title style.
  96. */
  97. title: {
  98. color: TEXT_COLOR,
  99. fontSize: 25,
  100. marginBottom: 2 * BoxModel.margin,
  101. textAlign: 'center'
  102. },
  103. /**
  104. * The style of the top-level container of {@code WelcomePage}.
  105. */
  106. welcomePage: {
  107. backgroundColor: ColorPalette.blue
  108. }
  109. });