@ape.swap/bonds-sdk 1.0.78-2.test.10 → 1.0.78-2.test.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BondMenu/BondMenu.d.ts +1 -0
- package/dist/components/BondMenu/BondMenu.js +1 -0
- package/dist/components/BondRows/BondRow.d.ts +1 -0
- package/dist/components/BondRows/BondRow.js +1 -0
- package/dist/components/BondRows/BondRowHeader.d.ts +1 -0
- package/dist/components/BondRows/BondRowHeader.js +1 -0
- package/dist/components/BondRows/BondRowsByChain.d.ts +1 -0
- package/dist/components/BondRows/BondRowsByChain.js +1 -0
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +1 -0
- package/dist/components/BondRows/BondRowsWithTitle.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +1 -0
- package/dist/components/ProgressBar/ProgressBar.js +1 -0
- package/dist/components/TokenInfoAndName/index.d.ts +1 -0
- package/dist/components/TokenInfoAndName/index.js +5 -26
- package/dist/scss/BondMenu.scss +29 -0
- package/dist/scss/BondModal.scss +409 -0
- package/dist/scss/BondRow.scss +98 -0
- package/dist/scss/BondRowHeader.scss +124 -0
- package/dist/scss/BondRowsByChain.scss +5 -0
- package/dist/scss/BondRowsWithTitle.scss +4 -0
- package/dist/scss/Bonds.scss +17 -0
- package/dist/scss/ProgressBar.scss +13 -0
- package/dist/scss/TokenInfoName.scss +45 -0
- package/dist/scss/YourBonds.scss +198 -0
- package/dist/scss/YourBondsModal.scss +314 -0
- package/dist/views/BondModal/BondModal.d.ts +1 -0
- package/dist/views/BondModal/BondModal.js +1 -0
- package/dist/views/Bonds/Bonds.d.ts +1 -0
- package/dist/views/Bonds/Bonds.js +3 -2
- package/dist/views/YourBonds/YourBonds.d.ts +1 -0
- package/dist/views/YourBonds/YourBonds.js +1 -0
- package/dist/views/YourBondsModal/YourBondsModal.d.ts +1 -0
- package/dist/views/YourBondsModal/YourBondsModal.js +1 -0
- package/package.json +4 -5
|
@@ -3,6 +3,7 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import { Flex, IconButton } from '../uikit-sdk';
|
|
4
4
|
import RecommendationSelector from '../MenuSelect/RecommendationSelector';
|
|
5
5
|
import MenuSelect from '../MenuSelect/MenuSelect';
|
|
6
|
+
import '../../scss/BondMenu.scss';
|
|
6
7
|
import NetworkFilter from '../NetworkFilter';
|
|
7
8
|
var BondMenu = function (_a) {
|
|
8
9
|
var setChainFilterOption = _a.setChainFilterOption, chainFilterOption = _a.chainFilterOption, filterOptions = _a.filterOptions, filterOption = _a.filterOption, setFilterOption = _a.setFilterOption, onHandleQueryChange = _a.onHandleQueryChange;
|
|
@@ -10,6 +10,7 @@ import { formatDollar, formatValue } from "../../utils/formatNumbers";
|
|
|
10
10
|
import getTimePeriods from "../../utils/getTimePeriods";
|
|
11
11
|
import { BLOCK_EXPLORER } from "../../config/constants/chains";
|
|
12
12
|
import { useEffect, useState } from "react";
|
|
13
|
+
import '../../scss/BondRow.scss';
|
|
13
14
|
import { Flex } from "theme-ui";
|
|
14
15
|
var BondRow = function (_a) {
|
|
15
16
|
var _b, _c, _d;
|
|
@@ -3,6 +3,7 @@ import { Flex } from 'theme-ui';
|
|
|
3
3
|
import { Input } from '../uikit-sdk/Input';
|
|
4
4
|
import { Svg, TooltipBubble } from '../uikit-sdk';
|
|
5
5
|
import { TooltipText } from '../../enum/tooltips';
|
|
6
|
+
import '../../scss/BondRowHeader.scss';
|
|
6
7
|
import BondMenu from '../BondMenu/BondMenu';
|
|
7
8
|
var BondRowHeader = function (_a) {
|
|
8
9
|
var inputValue = _a.inputValue, setChainFilterOption = _a.setChainFilterOption, chainFilterOption = _a.chainFilterOption, filterOptions = _a.filterOptions, filterOption = _a.filterOption, setFilterOption = _a.setFilterOption, onInputChange = _a.onInputChange, onHandleQueryChange = _a.onHandleQueryChange, onSort = _a.onSort;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "theme-ui/jsx-runtime";
|
|
2
2
|
import BondRowsWithTitle from './BondRowsWithTitle';
|
|
3
3
|
import { MAINNET_CHAINS } from '../../config/constants/chains';
|
|
4
|
+
import '../../scss/BondRowsByChain.scss';
|
|
4
5
|
import { Flex } from 'theme-ui';
|
|
5
6
|
var BondRowsByChain = function (_a) {
|
|
6
7
|
var bonds = _a.bonds, hotBonds = _a.hotBonds, hideTitles = _a.hideTitles, chains = _a.chains;
|
|
@@ -3,6 +3,7 @@ import { AnimatePresence, motion } from "framer-motion";
|
|
|
3
3
|
import ChainTitle from "./ChainTitle";
|
|
4
4
|
import BondRow from "./BondRow";
|
|
5
5
|
import { useState } from "react";
|
|
6
|
+
import '../../scss/BondRowsWithTitle.scss';
|
|
6
7
|
import { Flex } from "theme-ui";
|
|
7
8
|
var BondRowsWithTitle = function (_a) {
|
|
8
9
|
var chain = _a.chain, bonds = _a.bonds, hotBonds = _a.hotBonds, hideTitles = _a.hideTitles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "theme-ui/jsx-runtime";
|
|
2
2
|
import { Box, Flex } from 'theme-ui';
|
|
3
|
+
import '../../scss/ProgressBar.scss';
|
|
3
4
|
var ProgressBar = function (_a) {
|
|
4
5
|
var value = _a.value, _b = _a.color, color = _b === void 0 ? 'text' : _b;
|
|
5
6
|
return (_jsx(Flex, { sx: { width: ['100px', '100px', '100px', '100%'], alignItems: 'center', flexDirection: 'row', mt: '5px' }, children: _jsx(Box, { className: "progressbar-background", children: _jsx(Box, { className: "progressbar-completed", style: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BondsDataResponse } from '../../types/bonds';
|
|
3
|
+
import '../../scss/TokenInfoName.scss';
|
|
3
4
|
export declare const NETWORK_COLORS: Partial<Record<number, string>>;
|
|
4
5
|
declare const TokenInfoAndName: ({ bill, vestEnds }: {
|
|
5
6
|
bill: BondsDataResponse;
|
|
@@ -6,6 +6,7 @@ import { ChainId } from '../../enum/apeswaplists';
|
|
|
6
6
|
import Index from '../uikit-sdk/TokenImage';
|
|
7
7
|
// import { CleanedBondsState } from 'state/bills/types'
|
|
8
8
|
// import FavComponent from '../../../components/FavComponent'
|
|
9
|
+
import '../../scss/TokenInfoName.scss';
|
|
9
10
|
export var NETWORK_COLORS = (_a = {},
|
|
10
11
|
_a[ChainId.BSC] = '#F3BA2F',
|
|
11
12
|
_a[ChainId.MAINNET] = '#627eea',
|
|
@@ -19,32 +20,10 @@ export var NETWORK_COLORS = (_a = {},
|
|
|
19
20
|
var TokenInfoAndName = function (_a) {
|
|
20
21
|
var _b, _c, _d, _e, _f, _g, _h;
|
|
21
22
|
var bill = _a.bill, vestEnds = _a.vestEnds;
|
|
22
|
-
return (_jsxs(Flex, { sx: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
mr: ['10px', '10px', '10px', '0px'],
|
|
27
|
-
height: '100%',
|
|
28
|
-
alignItems: 'center',
|
|
29
|
-
ml: '-20px',
|
|
30
|
-
pl: '20px',
|
|
31
|
-
overflow: 'hidden',
|
|
32
|
-
borderRadius: '10px'
|
|
33
|
-
}, children: [_jsx(Flex, { sx: {
|
|
34
|
-
position: 'absolute',
|
|
35
|
-
left: '0px',
|
|
36
|
-
top: '0px',
|
|
37
|
-
overflow: 'hidden',
|
|
38
|
-
borderRadius: '10px 0px 8px 0px',
|
|
39
|
-
zIndex: 5,
|
|
40
|
-
}, children: _jsx(Svg, { width: 18, height: 18, icon: (_b = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[bill === null || bill === void 0 ? void 0 : bill.chainId]) !== null && _b !== void 0 ? _b : 'question' }) }), _jsx(Flex, { sx: {
|
|
41
|
-
position: 'absolute',
|
|
42
|
-
zIndex: 0,
|
|
43
|
-
left: '0px',
|
|
44
|
-
width: '30px',
|
|
45
|
-
height: '100%',
|
|
46
|
-
background: NETWORK_COLORS[bill.chainId],
|
|
47
|
-
filter: 'blur(35px)',
|
|
23
|
+
return (_jsxs(Flex, { className: "tokeninfoname-border", children: [_jsx(Flex, { className: "tokeninfoname-chain", sx: {
|
|
24
|
+
background: NETWORK_COLORS[bill.chainId]
|
|
25
|
+
}, children: _jsx(Svg, { width: 18, height: 18, icon: (_b = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[bill === null || bill === void 0 ? void 0 : bill.chainId]) !== null && _b !== void 0 ? _b : 'question' }) }), _jsx(Flex, { className: "tokeninfoname-bordergradient", sx: {
|
|
26
|
+
background: NETWORK_COLORS[bill.chainId]
|
|
48
27
|
} }), _jsxs(Flex, { sx: { pl: '6px', width: '100%', maxWidth: '170px', alignItems: 'center' }, children: [_jsx(Index, { symbol: (_c = bill.showcaseTokenName) !== null && _c !== void 0 ? _c : bill.earnToken.symbol, size: 33 }), _jsxs(Flex, { sx: {
|
|
49
28
|
ml: '10px',
|
|
50
29
|
fontSize: '16px',
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.menu-container.filters {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.filters.network {
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.filters.desktop-rec {
|
|
14
|
+
display: flex;
|
|
15
|
+
width: 100%;
|
|
16
|
+
justify-content: end;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.filters.mobile-rec {
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100%;
|
|
22
|
+
justify-content: end;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.filters.clear-all {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
width: 13%;
|
|
29
|
+
}
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
.modal-backdrop {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background-color: rgba(66, 66, 66, 0.5);
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
z-index: 100;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.modal-content {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
border-radius: 10px;
|
|
18
|
+
background-color: var(--theme-ui-colors-white2);
|
|
19
|
+
padding: 10px;
|
|
20
|
+
border-radius: 10px;
|
|
21
|
+
z-index: 1001;
|
|
22
|
+
max-width: 700px;
|
|
23
|
+
min-width: 700px;
|
|
24
|
+
height: auto;
|
|
25
|
+
max-height: 80vh;
|
|
26
|
+
overflow-y: auto;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.modal-header {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: end;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 5px;
|
|
34
|
+
|
|
35
|
+
.svg-close {
|
|
36
|
+
height: 12px;
|
|
37
|
+
width: 12px;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.modaltable-container {
|
|
43
|
+
width: 100%;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
padding-left: 10px;
|
|
47
|
+
padding-right: 10px;
|
|
48
|
+
padding-bottom: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.modaltable-container.title-container {
|
|
52
|
+
font-weight: bold;
|
|
53
|
+
font-size: 1.5rem;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: row;
|
|
56
|
+
align-items: center;
|
|
57
|
+
padding-top: 5px;
|
|
58
|
+
padding-bottom: 5px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.title-container.bondicon {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
64
|
+
align-items: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.icon-container {
|
|
68
|
+
position: relative;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.icon-container svg {
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: -8px;
|
|
75
|
+
right: -5px;
|
|
76
|
+
z-index: 1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.icon-container img {
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.icon-container-small {
|
|
84
|
+
position: relative;
|
|
85
|
+
display: inline-block;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.icon-container-small svg {
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: -5px;
|
|
91
|
+
right: -4px;
|
|
92
|
+
z-index: 1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.icon-container-small img {
|
|
96
|
+
display: block;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.title-container.bondname {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: row;
|
|
102
|
+
align-items: center;
|
|
103
|
+
padding-left: 20px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.title-container.bondname-small {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: row;
|
|
109
|
+
align-items: center;
|
|
110
|
+
padding-left: 10px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.title-container.price-container {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
padding-left: 10px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
.price-container.price {
|
|
121
|
+
font-size: 14px;
|
|
122
|
+
color: var(--theme-ui-colors-gray);
|
|
123
|
+
text-decoration: line-through;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.price-container.discounted {
|
|
127
|
+
display: flex;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.title-container.tokentags {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
padding-left: 10px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.modaltable-container.description-container {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: start;
|
|
139
|
+
padding-top: 10px;
|
|
140
|
+
padding-bottom: 10px;
|
|
141
|
+
font-weight: normal;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.modaltable-container.blocks-container {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
align-items: center;
|
|
148
|
+
width: 100%;
|
|
149
|
+
justify-content: space-around;
|
|
150
|
+
margin-top: 5px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.modal-block {
|
|
154
|
+
min-width: 0px;
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
align-items: center;
|
|
158
|
+
background: var(--theme-ui-colors-white3);
|
|
159
|
+
font-weight: 900;
|
|
160
|
+
font-size: 16px;
|
|
161
|
+
border-radius: 10px;
|
|
162
|
+
height: 90%;
|
|
163
|
+
padding: 10px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.block-header {
|
|
167
|
+
color: white;
|
|
168
|
+
font-weight: bold;
|
|
169
|
+
font-size: 12px;
|
|
170
|
+
padding-bottom: 10px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.header-icon {
|
|
174
|
+
padding-left: 5px;
|
|
175
|
+
align-items: start;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.block-content {
|
|
180
|
+
align-items: center;
|
|
181
|
+
padding-bottom: 10px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.modal-block.block-discount {
|
|
185
|
+
margin: 0px 10px 0px 0px;
|
|
186
|
+
width: 350px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.discount-positive {
|
|
190
|
+
color: #38A611;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.discount-negative {
|
|
194
|
+
color: #DF4141;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.modal-block.block-arr {
|
|
198
|
+
margin: 0px 10px 0px 0px;
|
|
199
|
+
width: 350px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.modal-block.block-term {
|
|
203
|
+
margin: 0px 10px 0px 0px;
|
|
204
|
+
width: 350px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.modal-block.block-maxbuy {
|
|
208
|
+
width: 350px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.modaltable-container.text-container {
|
|
212
|
+
display: flex;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
justify-content: center;
|
|
215
|
+
font-size: 12px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.text-container.row {
|
|
219
|
+
padding-top: 2px;
|
|
220
|
+
padding-bottom: 2px;
|
|
221
|
+
display: flex;
|
|
222
|
+
flex-direction: row;
|
|
223
|
+
justify-content: space-between;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.row-container {
|
|
227
|
+
display: flex;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.row-container.spend {
|
|
231
|
+
display: flex;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.row-container.spend-val {
|
|
235
|
+
display: flex;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.row-container.premium {
|
|
239
|
+
display: flex;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.row-container.premium-icon {
|
|
243
|
+
padding-left: 5px;
|
|
244
|
+
align-items: start;
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.row-container.premium-val {
|
|
249
|
+
display: flex;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.premium-positive {
|
|
253
|
+
color: #38A611;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.premium-negative {
|
|
257
|
+
color: #DF4141;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.row-container.get {
|
|
261
|
+
display: flex;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.row-container.get-val {
|
|
265
|
+
display: flex;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.modaltable-container.buy-container {
|
|
269
|
+
display: flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
background-color: transparent;
|
|
272
|
+
border-radius: 10px;
|
|
273
|
+
min-height: 100px;
|
|
274
|
+
padding: 10px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.input-container.inputrow {
|
|
278
|
+
flex-direction: row;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.input-container.balancerow {
|
|
282
|
+
flex-direction: row;
|
|
283
|
+
align-items: center;
|
|
284
|
+
justify-content: end;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.balancerow.text {
|
|
288
|
+
opacity: 0.8;
|
|
289
|
+
align-items: center;
|
|
290
|
+
font-size: 12px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.balancerow.max {
|
|
294
|
+
align-items: center;
|
|
295
|
+
cursor: pointer;
|
|
296
|
+
|
|
297
|
+
.max-button {
|
|
298
|
+
background: var(--theme-ui-colors-primaryButton);
|
|
299
|
+
height: 22px;
|
|
300
|
+
padding-left: 8px;
|
|
301
|
+
padding-right: 8px;
|
|
302
|
+
cursor: 'pointer';
|
|
303
|
+
font-size: 12px;
|
|
304
|
+
font-weight: 600;
|
|
305
|
+
border-radius: small;
|
|
306
|
+
margin-left: 10px;
|
|
307
|
+
transition: 'all .3s linear';
|
|
308
|
+
display: flex;
|
|
309
|
+
align-items: center;
|
|
310
|
+
justify-content: center;
|
|
311
|
+
|
|
312
|
+
&:active {
|
|
313
|
+
transform: scale(0.9);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.input-container.input {
|
|
319
|
+
background-color: transparent;
|
|
320
|
+
border-radius: 10px;
|
|
321
|
+
border: medium;
|
|
322
|
+
padding-right: 10px;
|
|
323
|
+
width: 80%;
|
|
324
|
+
height: 50px;
|
|
325
|
+
font-size: 22px;
|
|
326
|
+
|
|
327
|
+
Input {
|
|
328
|
+
border: none;
|
|
329
|
+
display: inline-block;
|
|
330
|
+
|
|
331
|
+
&:focus {
|
|
332
|
+
outline: none;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.input-container.token {
|
|
338
|
+
display: flex;
|
|
339
|
+
align-items: center;
|
|
340
|
+
font-size: 12px;
|
|
341
|
+
font-weight: bold;
|
|
342
|
+
background-color: transparent;
|
|
343
|
+
border-radius: 10px;
|
|
344
|
+
position: relative;
|
|
345
|
+
width: 190px;
|
|
346
|
+
height: 40px;
|
|
347
|
+
justify-content: end;
|
|
348
|
+
cursor: unset;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.modaltable-container.button-container {
|
|
352
|
+
width: 100%;
|
|
353
|
+
padding-top: 10px;
|
|
354
|
+
display: flex;
|
|
355
|
+
flex-direction: row;
|
|
356
|
+
justify-content: space-between;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.button-container.get {
|
|
360
|
+
justify-content: center;
|
|
361
|
+
align-items: center;
|
|
362
|
+
cursor: pointer;
|
|
363
|
+
|
|
364
|
+
.action-button {
|
|
365
|
+
width: 275px;
|
|
366
|
+
margin-right: 10px;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.button-container.buy {
|
|
371
|
+
justify-content: center;
|
|
372
|
+
align-items: center;
|
|
373
|
+
cursor: pointer;
|
|
374
|
+
|
|
375
|
+
.action-button {
|
|
376
|
+
width: 375px;
|
|
377
|
+
margin-left: 10px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.switch-button {
|
|
381
|
+
width: 375px;
|
|
382
|
+
margin-left: 10px;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.toast {
|
|
387
|
+
position: fixed;
|
|
388
|
+
top: 50px;
|
|
389
|
+
right: 20px;
|
|
390
|
+
background-color: var(--theme-ui-colors-white2);
|
|
391
|
+
color: white;
|
|
392
|
+
font-size: 24px;
|
|
393
|
+
padding: 10px 20px;
|
|
394
|
+
border-radius: 5px;
|
|
395
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
396
|
+
z-index: 9999;
|
|
397
|
+
animation: fadein 0.5s, fadeout 0.5s 4.5s;
|
|
398
|
+
cursor: pointer;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
@keyframes fadein {
|
|
402
|
+
from { top: 0; opacity: 0; }
|
|
403
|
+
to { top: 50px; opacity: 1; }
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@keyframes fadeout {
|
|
407
|
+
from { top: 50px; opacity: 1; }
|
|
408
|
+
to { top: 0; opacity: 0; }
|
|
409
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.bonds-container.bondrow-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 70px;
|
|
6
|
+
justify-content: space-around;
|
|
7
|
+
background-color: var(--theme-ui-colors-white2);
|
|
8
|
+
margin-bottom: 5px;
|
|
9
|
+
border-radius: 10px;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
background-color: var(--theme-ui-colors-white3);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.column.column-tokens {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: start;
|
|
21
|
+
width: 40%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.column.column-tokeninfoname {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
justify-content: start;
|
|
29
|
+
align-items: center;
|
|
30
|
+
padding-left: 0px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.column.column-tokenname {
|
|
34
|
+
width: 100%;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
justify-content: start;
|
|
37
|
+
align-items: center;
|
|
38
|
+
padding-left: 20px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.column.column-tokenicons {
|
|
42
|
+
width: 20%;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.column.column-bondinfo {
|
|
49
|
+
flex-direction: row;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: end;
|
|
52
|
+
width: 70%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.column.column-discount {
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
align-items: center;
|
|
59
|
+
width: 20%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.discount-positive {
|
|
63
|
+
color: #38A611;
|
|
64
|
+
width: 20%;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.discount-negative {
|
|
68
|
+
color: #DF4141;
|
|
69
|
+
width: 20%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.column.column-arr {
|
|
73
|
+
flex-direction: row;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
align-items: center;
|
|
76
|
+
width: 20%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.column.column-terms {
|
|
80
|
+
flex-direction: row;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
align-items: center;
|
|
83
|
+
width: 20%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.column.column-tokensremaining {
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
align-items: center;
|
|
90
|
+
width: 30%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.column.column-hotbond {
|
|
94
|
+
flex-direction: row;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
align-items: center;
|
|
97
|
+
width: 10%;
|
|
98
|
+
}
|