您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.js 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. import {
  2. BoxModel,
  3. ColorPalette,
  4. createStyleSheet,
  5. fixAndroidViewClipping
  6. } from '../../base/styles';
  7. export const PLACEHOLDER_TEXT_COLOR = 'rgba(255, 255, 255, 0.3)';
  8. /**
  9. * The default color of text on the WelcomePage.
  10. */
  11. const TEXT_COLOR = ColorPalette.white;
  12. /**
  13. * The styles of the React {@code Components} of the feature welcome including
  14. * {@code WelcomePage} and {@code BlankPage}.
  15. */
  16. export default createStyleSheet({
  17. /**
  18. * The style of the top-level container of {@code BlankPage}.
  19. */
  20. blankPage: {
  21. },
  22. /**
  23. * Join button style.
  24. */
  25. button: {
  26. backgroundColor: ColorPalette.white,
  27. borderColor: ColorPalette.white,
  28. borderRadius: 8,
  29. borderWidth: 1,
  30. height: 45,
  31. justifyContent: 'center',
  32. marginBottom: BoxModel.margin,
  33. marginTop: BoxModel.margin
  34. },
  35. /**
  36. * Join button text style.
  37. */
  38. buttonText: {
  39. alignSelf: 'center',
  40. color: ColorPalette.blue,
  41. fontSize: 18
  42. },
  43. /**
  44. * The style of the legal-related content such as (hyper)links to Privacy
  45. * Policy and Terms of Service displayed on the WelcomePage.
  46. */
  47. legaleseContainer: {
  48. alignItems: 'center',
  49. flex: 0,
  50. flexDirection: 'row',
  51. justifyContent: 'center'
  52. },
  53. /**
  54. * The style of a piece of legal-related content such as a (hyper)link to
  55. * Privacy Policy or Terms of Service displayed on the WelcomePage.
  56. */
  57. legaleseItem: {
  58. color: TEXT_COLOR,
  59. fontSize: 12,
  60. margin: BoxModel.margin
  61. },
  62. /**
  63. * The style of the top-level container/{@code View} of
  64. * {@code LocalVideoTrackUnderlay}.
  65. */
  66. localVideoTrackUnderlay: fixAndroidViewClipping({
  67. alignSelf: 'stretch',
  68. backgroundColor: 'transparent',
  69. flex: 1
  70. }),
  71. /**
  72. * Container for room name input box and 'join' button.
  73. */
  74. roomContainer: {
  75. alignSelf: 'stretch',
  76. flex: 1,
  77. flexDirection: 'column',
  78. justifyContent: 'center',
  79. margin: 3 * BoxModel.margin,
  80. marginBottom: BoxModel.margin
  81. },
  82. /**
  83. * Room input style.
  84. */
  85. textInput: {
  86. backgroundColor: 'transparent',
  87. borderColor: ColorPalette.white,
  88. borderRadius: 8,
  89. borderWidth: 1,
  90. color: TEXT_COLOR,
  91. fontSize: 23,
  92. height: 50,
  93. padding: 4,
  94. textAlign: 'center'
  95. },
  96. /**
  97. * Application title style.
  98. */
  99. title: {
  100. color: TEXT_COLOR,
  101. fontSize: 25,
  102. marginBottom: 2 * BoxModel.margin,
  103. textAlign: 'center'
  104. },
  105. /**
  106. * The style of the top-level container of {@code WelcomePage}.
  107. */
  108. welcomePage: {
  109. backgroundColor: ColorPalette.blue
  110. }
  111. });