Skip to content

Commit c152e72

Browse files
authored
2097: New TruBudget background (#2099)
1 parent 16a90ab commit c152e72

File tree

7 files changed

+16
-17
lines changed

7 files changed

+16
-17
lines changed
783 KB
Loading

frontend/public/app.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,19 @@ body {
1212
font-size: 1rem;
1313
line-height: 1.5;
1414
letter-spacing: 0.00938em;
15+
background-image: url(/Gradient-Background.png);
16+
background-size: cover;
17+
background-repeat: no-repeat;
18+
background-position: center;
19+
background-attachment: fixed;
1520
}
1621

1722
.noFocus {
1823
outline: 0;
1924
}
25+
26+
html,
27+
body {
28+
margin: 0;
29+
height: 100%;
30+
}

frontend/public/welcome.jpg

-37.3 KB
Binary file not shown.

frontend/src/pages/ForgotPassword/ForgotPassword.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.forgot-password-page-container {
2-
background-image: url(../../../public/welcome.jpg);
2+
background-image: url(../../../public/Gradient-Background.png);
33
background-size: cover;
44
width: 100%;
55
height: 100vh;

frontend/src/pages/Login/LoginPage.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "../../mixins.scss";
22

33
.login-page-container {
4-
background-image: url(../../../public/welcome.jpg);
4+
background-image: url(../../../public/Gradient-Background.png);
55
background-size: cover;
66
width: 100%;
77
height: 100vh;

frontend/src/pages/Main/Main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ const Main = ({ refreshToken, window }) => {
5656

5757
return (
5858
<div className="main">
59-
<div className="main-image" />
6059
<div className="main-nav">
6160
<NavbarContainer />
6261
</div>

frontend/src/pages/Main/Main.scss

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,9 @@
55
flex: 1;
66
flex-direction: column;
77
align-items: center;
8-
background-image: linear-gradient(135deg, #5a9bbe 0%, #1b618c 100%);
9-
min-height: 100vh;
10-
}
11-
12-
.main-image {
13-
background-image: url(../../../public/navbar_back5edit.jpeg);
14-
background-size: cover;
15-
position: absolute;
8+
position: relative;
9+
z-index: 1;
1610
height: auto;
17-
width: 100%;
18-
top: 0;
19-
left: 0;
20-
min-height: 100%;
21-
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
2211
}
2312

2413
.main-nav {
@@ -27,7 +16,7 @@
2716

2817
.main-container {
2918
flex: 1;
30-
width: 74%;
19+
width: 80%;
3120
margin-top: 3rem;
3221
margin-bottom: 3rem;
3322
@include tablet {

0 commit comments

Comments
 (0)