Eulis

sendorderstyle

Apr 17th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. import styled from 'styled-components/native';
  2.  
  3. import Modal from 'react-native-modal';
  4. import { colors } from '~/styles/themes';
  5.  
  6. import Button from '~/components/Button';
  7. import { responsiveSize } from '~/styles/themes/responsive';
  8.  
  9. export const PaymentStatus = styled.View`
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. color: ${colors.primary};
  14. width: 100%;
  15. font-weight: 700;
  16. background-color: #18d95a;
  17. height: ${responsiveSize(44)}px;
  18. `;
  19. export const PaymentText = styled.Text`
  20. font-size: ${responsiveSize(16)}px;
  21. color: ${colors.primary};
  22. font-weight: 700;
  23. `;
  24. export const Container = styled.View`
  25. display: flex;
  26. flex: 1;
  27. align-items: center;
  28. padding-left: ${responsiveSize(15)}px;
  29. padding-right: ${responsiveSize(15)}px;
  30. `;
  31. export const StyledButton = styled(Button)`
  32. display: flex;
  33. width: 100%;
  34. background-color: ${props => (props.doc ? colors.obscure : colors.secondary)};
  35. `;
  36. export const SubmitButton = styled(Button)`
  37. display: flex;
  38. align-self: flex-end;
  39. width: 100%;
  40. background: ${props =>
  41. props.disable ? 'rgba(226, 34, 39, 0.4)' : colors.secondary};
  42. `;
  43. export const Title = styled.Text`
  44. margin-top: ${responsiveSize(30)}px;
  45. margin-bottom: ${responsiveSize(30)}px
  46. font-size: ${responsiveSize(22)}px;
  47. text-align: center;
  48. font-weight: 700;
  49. `;
  50. export const Library = styled(Modal)`
  51. display: flex;
  52. flex-direction: column;
  53. justify-content: flex-start;
  54. flex: 1;
  55. width: 90%;
  56. background-color: ${colors.secondary};
  57. padding: ${responsiveSize(20)}px;
  58. `;
  59. export const Option = styled.View`
  60. width: 100%;
  61. border-bottom-color: ${colors.primary};
  62. border-bottom-width: 2;
  63. margin-bottom: ${responsiveSize(20)}px;
  64. min-height: ${responsiveSize(40)}px;
  65. `;
  66. export const OptionTitle = styled.Text`
  67. font-size: ${responsiveSize(18)}px;
  68. color: ${colors.primary};
  69. `;
  70. export const LibraryTitle = styled.Text`
  71. font-weight: 700;
  72. font-size: ${responsiveSize(20)}px;
  73. margin-bottom: ${responsiveSize(25)}px;
  74. color: ${colors.primary};
  75. `;
  76.  
  77. export const Document = styled(Modal)`
  78. display: flex;
  79. flex-direction: column;
  80. justify-content: flex-start;
  81. align-items: center;
  82. flex: 1;
  83. width: 90%;
  84. background-color: ${colors.primary};
  85. padding: ${responsiveSize(20)}px;
  86. `;
  87.  
  88. export const CloseButton = styled.TouchableOpacity`
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. width: ${responsiveSize(35)}px;
  93. height: ${responsiveSize(35)}px;
  94. background-color: ${props => (props.lib ? colors.primary : colors.secondary)};
  95. align-self: flex-end;
  96. z-index: 3;
  97. `;
  98. export const ButtonText = styled.Text`
  99. color: ${props => (props.lib ? colors.secondary : colors.primary)};
  100. font-weight: 700;
  101. font-size: ${responsiveSize(18)}px;
  102. `;
Advertisement
Add Comment
Please, Sign In to add comment