Skip to content

Commit

Permalink
fix: Remove background image from individual pages and clean up unuse…
Browse files Browse the repository at this point in the history
…d images
  • Loading branch information
BigBen-7 committed Dec 21, 2024
1 parent d071129 commit 40ff6e8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 40 deletions.
Binary file removed frontend/public/Form-bg.png
Binary file not shown.
Binary file removed frontend/public/Windowbackground Vault.png
Binary file not shown.
10 changes: 5 additions & 5 deletions frontend/src/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
--light-dark-background: #130713;
--text-gray: #798795;
--modal-border: #170f2e;
--warning-colour:#BDC000;
--warning-colour-alt: #272A0A;
--warning-text-colour: #F0F0F0;
--warning-colour: #bdc000;
--warning-colour-alt: #272a0a;
--warning-text-colour: #f0f0f0;
}

body {
Expand Down Expand Up @@ -102,7 +102,7 @@ a.svelte-1mtuslq.svelte-1mtuslq {
.App {
background: url('../public/desktop-background.png') no-repeat;
background-size: cover;
min-height: 100vh;
min-height: 100vh;
box-sizing: border-box;
}

Expand All @@ -113,4 +113,4 @@ a.svelte-1mtuslq.svelte-1mtuslq {
background-position: 50% 40%;
height: 100%;
}
}
}
6 changes: 0 additions & 6 deletions frontend/src/pages/dashboard/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ body {

.dashboard-wrapper {
position: relative;
background: url('../../../public/Form-bg.png') no-repeat;
background-size: cover;
background-position: center left;
min-height: 100vh;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -342,9 +339,6 @@ body {

@media (max-width: 550px) {
.dashboard-wrapper {
background: url('../../../public/mobile-background.png') no-repeat;
background-size: cover;
background-position: 50% 40%;
height: 100%;
}
.dashboard-title {
Expand Down
46 changes: 17 additions & 29 deletions frontend/src/pages/withdraw/withdraw.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ body {
align-items: flex-start;
padding: 1rem;
padding-top: 24px;
transition: all 0.2s ease-in-out

transition: all 0.2s ease-in-out;
}

.withdraw-container {
Expand All @@ -23,7 +22,7 @@ body {
justify-content: center;
gap: 24px;
margin-left: 200px;
transition: all 0.3s ease-in-out
transition: all 0.3s ease-in-out;
}

.withdrawal-title {
Expand Down Expand Up @@ -108,7 +107,7 @@ body {
margin-bottom: 5px;
}

.withdraw-input{
.withdraw-input {
width: 100%;
height: 60px;
background: transparent;
Expand All @@ -133,7 +132,7 @@ body {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 0px 12px 0px ;
padding: 6px 0px 12px 0px;
}

.fee-title {
Expand Down Expand Up @@ -166,7 +165,7 @@ body {
display: inline-block;
font-weight: 600;
/* width: 642px; */
width: 100%;
width: 100%;
height: 60px;
background: none;
color: var(--primary);
Expand Down Expand Up @@ -204,7 +203,6 @@ body {
display: none;
}


@media (max-width: 1024px) {
.withdraw-container {
width: 642px;
Expand Down Expand Up @@ -233,9 +231,8 @@ body {
}
}

@media (max-width: 680px){
@media (max-width: 680px) {
.withdraw-container {

/* margin-top: -120px;
margin-left: 0px; */
}
Expand All @@ -247,8 +244,8 @@ body {
.withdrawal-title {
margin: 0;
}
.top-cards-withdraw{

.top-cards-withdraw {
width: 500px;
margin: 0px;
/* gap: 6px; */
Expand All @@ -260,8 +257,7 @@ body {
padding-top: 0px;
}


.main-card-withdraw{
.main-card-withdraw {
width: 500px;
margin: auto;
}
Expand All @@ -271,8 +267,6 @@ body {
}
}



@media (max-width: 480px) {
.withdraw-container {
gap: 20px;
Expand Down Expand Up @@ -325,7 +319,7 @@ body {
display: none;
}

.mobile-screen-btns{
.mobile-screen-btns {
display: flex;
flex-direction: row-reverse;
justify-content: center;
Expand All @@ -337,17 +331,16 @@ body {

.btn {
width: 50%;

}

.withdraw-button {
height: 70px;
font-size: 14px;
padding: 28px 0px;
line-height: 19px;
margin-right: 10px;
margin-right: 10px;
}

.cancel-button {
display: block;
background: none;
Expand All @@ -360,7 +353,6 @@ body {
line-height: 19px;
font-weight: 600;
}

}

@media (max-width: 425px) {
Expand All @@ -375,7 +367,7 @@ body {
}

.amount-stack-card {
padding: .8rem;
padding: 0.8rem;
width: 340px;
margin: auto;
}
Expand Down Expand Up @@ -404,13 +396,11 @@ body {
margin: auto;
}

.mobile-screen-btns{
.mobile-screen-btns {
width: 340px;
}

}


@media (max-width: 380px) {
.top-cards-withdraw {
width: 330px;
Expand Down Expand Up @@ -441,12 +431,11 @@ body {
margin: auto 26px;
}

.mobile-screen-btns{
.mobile-screen-btns {
width: 320px;
}
}


@media (max-width: 375px) {
.top-cards-withdraw {
width: 280px;
Expand All @@ -455,8 +444,7 @@ body {
.main-card {
min-height: 200px;
width: 280px;
margin:auto;

margin: auto;
}

.amount-stack-card {
Expand All @@ -483,7 +471,7 @@ body {
margin: auto 50px;
}

.mobile-screen-btns{
.mobile-screen-btns {
width: 280px;
}
}

0 comments on commit 40ff6e8

Please sign in to comment.