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

styles.js 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. flex: 0,
  45. flexDirection: 'row',
  46. justifyContent: 'center'
  47. },
  48. /**
  49. * The style of a piece of legal-related content such as a (hyper)link to
  50. * Privacy Policy or Terms of Service displayed on the WelcomePage.
  51. */
  52. legaleseItem: {
  53. color: TEXT_COLOR,
  54. margin: BoxModel.margin
  55. },
  56. /**
  57. * The style of the View displayed over the local video. The latter is
  58. * thought of as the background (content) of WelcomePage. The former is
  59. * thought of as the foreground (content) of WelcomePage.
  60. */
  61. localVideoOverlay: {
  62. bottom: 0,
  63. flex: 1,
  64. flexDirection: 'column',
  65. left: 0,
  66. position: 'absolute',
  67. right: 0,
  68. top: 0
  69. },
  70. /**
  71. * Container for room name input box and 'join' button.
  72. */
  73. roomContainer: {
  74. flex: 1,
  75. flexDirection: 'column',
  76. justifyContent: 'center',
  77. margin: 3 * BoxModel.margin
  78. },
  79. /**
  80. * Room input style.
  81. */
  82. textInput: {
  83. backgroundColor: 'transparent',
  84. borderColor: ColorPalette.white,
  85. borderRadius: 8,
  86. borderStyle: 'solid',
  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. });