Skip to content

Commit dbca3b3

Browse files
committed
style changes
1 parent 8a02502 commit dbca3b3

File tree

8 files changed

+40
-20
lines changed

8 files changed

+40
-20
lines changed

dapp-oeth/src/components/MissionControl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const MissionControl = ({}) => {
1616
1717
@media (max-width: 767px) {
1818
.swap-contain {
19-
padding: 0 8px;
19+
padding: 0 12px;
2020
}
2121
}
2222
`}</style>

dapp-oeth/src/components/Nav.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ const DappLinks = ({ page }) => {
6666
.link-contain {
6767
font-size: 16px;
6868
border-radius: 56px;
69-
margin-right: 8px;
7069
}
7170
7271
.link-contain.last {
@@ -888,7 +887,7 @@ const Nav = ({ isMobile, locale, onLocale, page }) => {
888887
889888
@media (max-width: 799px) {
890889
.navbar .nav-container {
891-
padding: 0 8px;
890+
padding: 0 12px;
892891
}
893892
}
894893
`}</style>

dapp-oeth/src/components/buySell/BalanceHeader.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,18 @@ const BalanceHeader = ({
205205
justify-content: space-between;
206206
align-items: center;
207207
border-bottom: 0;
208-
border-top: 1px solid black;
208+
}
209+
210+
.containBig {
211+
border-radius: 4px 4px 0 0;
212+
}
213+
214+
.containSmall {
215+
border-top: 1px solid #101113;
216+
}
217+
218+
.containSmallTop {
219+
border-radius: 0 0 4px 4px;
209220
}
210221
211222
.containBig .title {
@@ -245,7 +256,7 @@ const BalanceHeader = ({
245256
}
246257
247258
.stat .big {
248-
font-size: 20px;
259+
font-size: 24px;
249260
}
250261
251262
.stat .small {
@@ -380,7 +391,7 @@ const BalanceHeader = ({
380391
);
381392
-webkit-background-clip: text;
382393
-webkit-text-fill-color: transparent;
383-
font-size: 20px;
394+
font-size: 24px;
384395
margin-bottom: 0;
385396
}
386397
}
@@ -621,7 +632,7 @@ const BalanceHeader = ({
621632
.balance-header {
622633
align-items: center;
623634
text-align: center;
624-
padding: 0px 8px;
635+
padding: 0px 12px;
625636
min-height: 80px;
626637
}
627638

dapp-oeth/src/components/buySell/ContractsTable.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,10 @@ const ContractsTable = () => {
792792
.contracts-main {
793793
padding-bottom: 16px;
794794
}
795+
796+
.contracts-wrapper {
797+
border-radius: 4px;
798+
}
795799
}
796800
`}</style>
797801
</div>

dapp-oeth/src/components/buySell/SettingsDropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ const SettingsDropdown = ({ setPriceToleranceValue, priceToleranceValue }) => {
125125
}
126126
127127
.settings-icon {
128-
width: 22px;
129-
height: 22px;
128+
width: 16px;
129+
height: 16px;
130130
cursor: pointer;
131131
}
132132

dapp-oeth/src/components/buySell/SwapCurrencyPill.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ const CoinImage = ({ small, coin }) => {
8181
8282
@media (max-width: 799px) {
8383
.coin-image {
84+
width: 24px;
85+
height: 24px;
8486
margin-right: 8px;
8587
}
8688
}
@@ -353,9 +355,10 @@ const CoinSelect = ({
353355
354356
@media (max-width: 799px) {
355357
.coin-select {
358+
font-size: 16px;
356359
width: fit-content;
357360
min-height: 32px;
358-
padding: 4px;
361+
padding: 6px 4px;
359362
margin-top: 16px;
360363
}
361364
}
@@ -399,7 +402,7 @@ const CoinSelect = ({
399402
.coin-select {
400403
padding: 4px;
401404
border-radius: 30px;
402-
border: solid 1px #141519;
405+
border: solid 0px;
403406
color: #fafbfb;
404407
background-color: rgba(255, 255, 255, 0.1);
405408
cursor: pointer;
@@ -436,15 +439,17 @@ const CoinSelect = ({
436439
437440
@media (max-width: 799px) {
438441
.coin-select {
442+
font-size: 16px;
439443
width: fit-content;
440444
min-height: 32px;
441-
padding: 4px;
445+
padding: 6px 4px;
442446
margin-top: 16px;
443447
}
444448
445449
.coin {
446450
color: #fafbfb;
447451
margin-right: 8px;
452+
font-size: 16px;
448453
}
449454
}
450455
`}</style>
@@ -814,6 +819,7 @@ const SwapCurrencyPill = ({
814819
font-size: 32px;
815820
color: #fafbfb;
816821
background-color: transparent;
822+
padding: 0;
817823
}
818824
819825
.expected-value {

dapp-oeth/src/components/buySell/_PillArrow.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ const PillArrow = ({ swapMode, setSwapMode }) => {
4848
<img
4949
src={assetRootPath('/images/splitarrow.svg')}
5050
alt="swap arrow"
51-
style={{ height: 25, width: 14 }}
51+
style={{ height: 23, width: 12 }}
5252
/>
5353
</div>
5454
</div>
5555
<style jsx>{`
5656
.pill-arrow {
57-
width: 46px;
58-
height: 46px;
57+
width: 32px;
58+
height: 32px;
5959
border: 1px solid #141519;
6060
background-color: #1e1f25;
6161
border-radius: 50px;
@@ -66,13 +66,13 @@ const PillArrow = ({ swapMode, setSwapMode }) => {
6666
.border-divider {
6767
height: 10px;
6868
background-color: #1e1f25;
69-
width: 40px;
69+
width: 24px;
7070
z-index: 1;
7171
}
7272
7373
.caret-background {
74-
width: 46px;
75-
height: 46px;
74+
width: 32px;
75+
height: 32px;
7676
border: solid 1px #141519;
7777
background-color: transparent;
7878
z-index: 2;

dapp-oeth/src/components/wrap/BalanceHeaderWrapped.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const BalanceHeaderWrapped = ({
186186
}
187187
188188
.stat .big {
189-
font-size: 20px;
189+
font-size: 24px;
190190
}
191191
192192
.stat .small {
@@ -321,7 +321,7 @@ const BalanceHeaderWrapped = ({
321321
);
322322
-webkit-background-clip: text;
323323
-webkit-text-fill-color: transparent;
324-
font-size: 20px;
324+
font-size: 24px;
325325
margin-bottom: 0;
326326
}
327327
}

0 commit comments

Comments
 (0)