|
| 1 | +import styled, { css } from 'styled-components'; |
| 2 | +import { BaseCard } from '@app/components/common/BaseCard/BaseCard'; |
| 3 | +import { BaseButton } from '@app/components/common/BaseButton/BaseButton'; |
| 4 | +import { BaseRow } from '@app/components/common/BaseRow/BaseRow'; |
| 5 | +export const ContentWrapper = styled.div` |
| 6 | + display: row; |
| 7 | + flex-direction: row; |
| 8 | + gap: 2rem; |
| 9 | +`; |
| 10 | +export const TextRow = styled.div` |
| 11 | + display: flex; |
| 12 | + flex-direction: row; |
| 13 | + gap: 1rem; |
| 14 | +`; |
| 15 | + |
| 16 | +export const SubCard = styled(BaseCard)<{ $isMobile?: boolean }>` |
| 17 | + width: 30%; |
| 18 | + ${(props) => |
| 19 | + props.$isMobile && |
| 20 | + css` |
| 21 | + width: 100%; |
| 22 | + `} |
| 23 | + background-color: var(--additional-background-color); |
| 24 | + cursor: pointer; |
| 25 | + box-shadow: 0px 0px 10px 0px var(--shadow-color); |
| 26 | + .ant-card-body { |
| 27 | + padding: 1rem 2rem; |
| 28 | + } |
| 29 | +`; |
| 30 | +export const SendBody = styled(BaseRow)` |
| 31 | + padding-bottom: 1rem; |
| 32 | +`; |
| 33 | +export const FormSpacer = styled.div` |
| 34 | + display: flex; |
| 35 | + flex-direction: column; |
| 36 | + gap: 1rem; |
| 37 | +`; |
| 38 | +export const FormHeader = styled.span` |
| 39 | + display: flex; |
| 40 | + font-size: 2rem; |
| 41 | + align-items: center; |
| 42 | + text-align: center; |
| 43 | + justify-content: center; |
| 44 | + width: 100%; |
| 45 | + padding-bottom: 1rem; |
| 46 | +`; |
| 47 | + |
| 48 | +export const SubCardHeader = styled.span` |
| 49 | + font-size: 1.5rem; |
| 50 | +`; |
| 51 | + |
| 52 | +export const InputHeader = styled.span` |
| 53 | + font-size: 1.5rem; |
| 54 | +`; |
| 55 | + |
| 56 | +export const SubCardAmount = styled.span` |
| 57 | + font-size: 1.5rem; |
| 58 | +`; |
| 59 | +export const SubCardContent = styled.div` |
| 60 | + font-size: 1.3rem; |
| 61 | + height: 100%; |
| 62 | + display: flex; |
| 63 | + justify-content: space-around; |
| 64 | + flex-direction: column; |
| 65 | + align-items: center; |
| 66 | + text-align: center; |
| 67 | + gap: 3rem; |
| 68 | + padding-top: 1rem; |
| 69 | + padding-bottom: 1rem; |
| 70 | +`; |
| 71 | + |
| 72 | +export const InputWrapper = styled.div` |
| 73 | + display: flex; |
| 74 | + min-width: 25vw; |
| 75 | + flex-direction: column; |
| 76 | + gap: 0.5rem; |
| 77 | +`; |
| 78 | +export const TiersRow = styled.div` |
| 79 | + display: flex; |
| 80 | + flex-direction: row; |
| 81 | + gap: 1rem; |
| 82 | + justify-content: space-around; |
| 83 | +`; |
| 84 | + |
| 85 | +export const TiersCol = styled.div` |
| 86 | + display: flex; |
| 87 | + flex-direction: column; |
| 88 | + gap: 1rem; |
| 89 | + justify-content: space-around; |
| 90 | +`; |
| 91 | +export const SendFormButton = styled(BaseButton)` |
| 92 | + width: 100%; |
| 93 | +`; |
| 94 | +export const TiersContainer = styled.div` |
| 95 | + display: flex; |
| 96 | + flex-direction: column; |
| 97 | + gap: 1rem; |
| 98 | + transition: all 0.5s ease; |
| 99 | + padding: 1rem; |
| 100 | + .tier-hover:hover { |
| 101 | + background-color: var(--primary-color); |
| 102 | + } |
| 103 | + .selected { |
| 104 | + border: 1px solid var(--primary-color); |
| 105 | + } |
| 106 | + .invalidAmount { |
| 107 | + border: 1px solid var(--error-color); |
| 108 | + } |
| 109 | +`; |
| 110 | +export const BalanceInfo = styled.small` |
| 111 | + color: var(--subtext-color); |
| 112 | +`; |
| 113 | + |
| 114 | +export const Recipient = styled.span` |
| 115 | + color: var(--subtext-color); |
| 116 | + word-break: break-all; |
| 117 | +`; |
| 118 | +export const ErrorText = styled.small` |
| 119 | + color: var(--error-color); |
| 120 | + display: flex; |
| 121 | + flex-direction: row; |
| 122 | + align-items: center; |
| 123 | +`; |
| 124 | +export const AddressText = styled.span` |
| 125 | + text-decoration: underline; |
| 126 | + color: var(--text-main-color); |
| 127 | +`; |
| 128 | + |
| 129 | +export const RateValueWrapper = styled.div` |
| 130 | + display: flex; |
| 131 | + flex-direction: column; |
| 132 | + gap: 1rem; |
| 133 | +`; |
| 134 | +export const RateValue = styled.span` |
| 135 | + color: green; |
| 136 | +`; |
| 137 | +export const RBFWrapper = styled.div` |
| 138 | + display: flex; |
| 139 | + flex-direction: row; |
| 140 | + gap: 1rem; |
| 141 | + align-items: center; |
| 142 | + justify-content: center; |
| 143 | +`; |
0 commit comments