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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // @flow
  2. import { BoxModel, createStyleSheet, ColorPalette } from '../../base/styles';
  3. /**
  4. * The styles of the React {@code Components} of the feature notifications.
  5. */
  6. export default createStyleSheet({
  7. /**
  8. * The content (left) column of the notification.
  9. */
  10. contentColumn: {
  11. justifyContent: 'center',
  12. flex: 1,
  13. flexDirection: 'column',
  14. paddingLeft: 1.5 * BoxModel.padding
  15. },
  16. /**
  17. * Test style of the notification.
  18. */
  19. contentText: {
  20. alignSelf: 'flex-start',
  21. color: ColorPalette.white
  22. },
  23. /**
  24. * Dismiss icon style.
  25. */
  26. dismissIcon: {
  27. color: ColorPalette.white,
  28. fontSize: 20,
  29. padding: 1.5 * BoxModel.padding
  30. },
  31. /**
  32. * Outermost view of a single notification.
  33. */
  34. notification: {
  35. backgroundColor: '#768898',
  36. flexDirection: 'row',
  37. height: 48,
  38. marginTop: 0.5 * BoxModel.margin
  39. },
  40. /**
  41. * Outermost container of a list of notifications.
  42. */
  43. notificationContainer: {
  44. flexGrow: 0,
  45. justifyContent: 'flex-end'
  46. },
  47. /**
  48. * Wrapper for the message.
  49. */
  50. notificationContent: {
  51. flexDirection: 'column'
  52. }
  53. });