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.ts 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  2. export default {
  3. salesforceDialogContainer: {
  4. position: 'relative',
  5. flexDirection: 'column',
  6. flex: 1,
  7. display: 'flex',
  8. backgroundColor: BaseTheme.palette.ui01
  9. },
  10. recordsSearchContainer: {
  11. alignSelf: 'stretch',
  12. backgroundColor: BaseTheme.palette.ui01,
  13. paddingHorizontal: BaseTheme.spacing[3],
  14. paddingTop: BaseTheme.spacing[2],
  15. position: 'relative'
  16. },
  17. searchIcon: {
  18. color: BaseTheme.palette.text03,
  19. fontSize: 30,
  20. left: 22,
  21. position: 'absolute',
  22. top: 22,
  23. zIndex: 2
  24. },
  25. resultLabel: {
  26. backgroundColor: BaseTheme.palette.ui01,
  27. color: BaseTheme.palette.text03,
  28. fontSize: 15,
  29. margin: 0,
  30. paddingBottom: 8,
  31. paddingTop: 16
  32. },
  33. recordsSpinner: {
  34. alignItems: 'center',
  35. display: 'flex',
  36. justifyContent: 'center',
  37. width: '100%'
  38. },
  39. noRecords: {
  40. alignItems: 'center',
  41. backgroundColor: BaseTheme.palette.ui01,
  42. display: 'flex',
  43. flexDirection: 'column',
  44. justifyContent: 'center',
  45. padding: BaseTheme.spacing[3]
  46. },
  47. noRecordsText: {
  48. color: BaseTheme.palette.text03
  49. },
  50. recordsError: {
  51. alignItems: 'center',
  52. display: 'flex',
  53. flexDirection: 'column',
  54. justifyContent: 'center',
  55. paddingBottom: 30
  56. },
  57. recordsErrorText: {
  58. color: BaseTheme.palette.text03
  59. },
  60. recordList: {
  61. alignSelf: 'stretch',
  62. display: 'flex',
  63. listStyle: 'none',
  64. paddingVertical: BaseTheme.spacing[3],
  65. position: 'relative'
  66. },
  67. selectedRecord: {
  68. alignSelf: 'stretch',
  69. display: 'flex',
  70. paddingTop: BaseTheme.spacing[3],
  71. position: 'relative'
  72. },
  73. recordInfo: {
  74. backgroundColor: BaseTheme.palette.ui03,
  75. borderRadius: BaseTheme.shape.borderRadius,
  76. display: 'flex',
  77. margin: BaseTheme.spacing[3],
  78. position: 'relative'
  79. },
  80. detailsError: {
  81. color: BaseTheme.palette.text03,
  82. padding: BaseTheme.spacing[3]
  83. },
  84. addNote: {
  85. color: BaseTheme.palette.text01,
  86. margin: BaseTheme.spacing[3]
  87. },
  88. notes: {
  89. alignItems: 'flex-start',
  90. backgroundColor: BaseTheme.palette.field01,
  91. borderColor: BaseTheme.palette.ui05,
  92. borderRadius: BaseTheme.shape.borderRadius,
  93. borderWidth: 1,
  94. color: BaseTheme.palette.text01,
  95. lineHeight: 18,
  96. marginHorizontal: BaseTheme.spacing[3],
  97. marginVertical: BaseTheme.spacing[2],
  98. overflow: 'hidden',
  99. padding: BaseTheme.spacing[2],
  100. textAlignVertical: 'top'
  101. },
  102. cancelButton: {
  103. margin: BaseTheme.spacing[2]
  104. },
  105. linkButton: {
  106. marginBottom: BaseTheme.spacing[2],
  107. marginHorizontal: BaseTheme.spacing[2]
  108. },
  109. recordItem: {
  110. alignItems: 'center',
  111. display: 'flex',
  112. flex: 1,
  113. flexDirection: 'row',
  114. paddingHorizontal: BaseTheme.spacing[3]
  115. },
  116. recordTypeIcon: {
  117. alignItems: 'center',
  118. borderRadius: BaseTheme.shape.borderRadius,
  119. display: 'flex',
  120. height: 40,
  121. justifyContent: 'center',
  122. marginRight: BaseTheme.spacing[3],
  123. width: 40
  124. },
  125. recordIcon: {
  126. alignItems: 'center',
  127. display: 'flex',
  128. justifyContent: 'center'
  129. },
  130. recordDetails: {
  131. display: 'flex',
  132. flex: 1,
  133. flexDirection: 'column',
  134. justifyContent: 'space-around',
  135. overflow: 'hidden',
  136. paddingVertical: BaseTheme.spacing[3]
  137. },
  138. recordName: {
  139. color: BaseTheme.palette.text01,
  140. fontSize: 15,
  141. overflow: 'hidden'
  142. },
  143. recordType: {
  144. color: BaseTheme.palette.text01,
  145. fontSize: 13
  146. }
  147. };