Skip to content

Commit 0465e7f

Browse files
committed
style: remove linear gradient backgrounds from various send transaction components for a cleaner UI
1 parent e21e137 commit 0465e7f

File tree

6 files changed

+1
-39
lines changed

6 files changed

+1
-39
lines changed

packages/extension/src/providers/common/ui/send-transaction/send-input-amount.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ const changeFocus = () => {
9494
9595
.send-input-amount {
9696
height: 96px;
97-
background: linear-gradient(
98-
135deg,
99-
rgba(98, 126, 234, 0.04) 0%,
100-
rgba(138, 100, 220, 0.02) 100%
101-
);
10297
margin: 4px 24px 8px 24px;
10398
box-sizing: border-box;
10499
border: 1.5px solid rgba(98, 126, 234, 0.15);

packages/extension/src/providers/ethereum/ui/send-transaction/components/send-address-input.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ const changeFocus = (val: FocusEvent) => {
119119
}
120120
121121
&__avatar {
122-
background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf5 100%);
123122
box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.08);
124123
width: 36px;
125124
height: 36px;

packages/extension/src/providers/ethereum/ui/send-transaction/components/send-alert.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ defineProps<IProps>();
2020
2121
.send-alert {
2222
margin: 4px 24px 8px 24px;
23-
background: linear-gradient(
24-
135deg,
25-
rgba(239, 68, 68, 0.08) 0%,
26-
rgba(220, 38, 38, 0.05) 100%
27-
);
2823
border: 1.5px solid rgba(239, 68, 68, 0.2);
2924
border-radius: 12px;
3025
padding: 12px 16px 12px 48px;

packages/extension/src/providers/ethereum/ui/send-transaction/components/send-token-select.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const balance = computed(() =>
7676
}
7777
7878
&__image {
79-
background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf5 100%);
8079
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
8180
width: 36px;
8281
height: 36px;

packages/extension/src/providers/ethereum/ui/send-transaction/index.vue

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,6 @@ const selectNFT = (item: NFTItemWithCollectionName) => {
864864
.container {
865865
width: 100%;
866866
height: 600px;
867-
background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, @white 100%);
868867
margin: 0;
869868
box-sizing: border-box;
870869
position: relative;
@@ -877,11 +876,6 @@ const selectNFT = (item: NFTItemWithCollectionName) => {
877876
left: 0;
878877
right: 0;
879878
height: 200px;
880-
background: linear-gradient(
881-
135deg,
882-
rgba(98, 126, 234, 0.06) 0%,
883-
rgba(138, 100, 220, 0.04) 100%
884-
);
885879
pointer-events: none;
886880
z-index: 0;
887881
}
@@ -935,12 +929,7 @@ const selectNFT = (item: NFTItemWithCollectionName) => {
935929
flex-direction: row;
936930
width: 100%;
937931
box-sizing: border-box;
938-
background: linear-gradient(
939-
180deg,
940-
rgba(255, 255, 255, 0) 0%,
941-
rgba(255, 255, 255, 0.9) 30%,
942-
@white 50%
943-
);
932+
944933
gap: 12px;
945934
z-index: 10;
946935
@@ -966,7 +955,6 @@ const selectNFT = (item: NFTItemWithCollectionName) => {
966955
min-width: 0;
967956
968957
:deep(.base-button) {
969-
background: linear-gradient(135deg, #627eea 0%, #8a64dc 100%);
970958
border-radius: 12px;
971959
font-weight: 600;
972960
box-shadow: 0 4px 12px rgba(98, 126, 234, 0.3);

packages/extension/src/providers/ethereum/ui/send-transaction/verify-transaction/index.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ const isHasScroll = () => {
283283
.container {
284284
width: 100%;
285285
height: 600px;
286-
background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, @white 100%);
287286
margin: 0;
288287
box-sizing: border-box;
289288
position: relative;
@@ -296,11 +295,6 @@ const isHasScroll = () => {
296295
left: 0;
297296
right: 0;
298297
height: 180px;
299-
background: linear-gradient(
300-
135deg,
301-
rgba(98, 126, 234, 0.06) 0%,
302-
rgba(138, 100, 220, 0.04) 100%
303-
);
304298
pointer-events: none;
305299
z-index: 0;
306300
}
@@ -345,7 +339,6 @@ const isHasScroll = () => {
345339
line-height: 28px;
346340
color: @primaryLabel;
347341
margin: 0;
348-
background: linear-gradient(135deg, #627eea 0%, #8a64dc 100%);
349342
-webkit-background-clip: text;
350343
-webkit-text-fill-color: transparent;
351344
background-clip: text;
@@ -426,12 +419,6 @@ const isHasScroll = () => {
426419
flex-direction: row;
427420
width: 100%;
428421
box-sizing: border-box;
429-
background: linear-gradient(
430-
180deg,
431-
rgba(255, 255, 255, 0) 0%,
432-
rgba(255, 255, 255, 0.9) 30%,
433-
@white 50%
434-
);
435422
gap: 12px;
436423
z-index: 10;
437424
@@ -470,7 +457,6 @@ const isHasScroll = () => {
470457
min-width: 0;
471458
472459
:deep(.base-button) {
473-
background: linear-gradient(135deg, #627eea 0%, #8a64dc 100%);
474460
border-radius: 12px;
475461
font-weight: 600;
476462
box-shadow: 0 4px 12px rgba(98, 126, 234, 0.3);

0 commit comments

Comments
 (0)