-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve styling, add background, fix primary color and notifica…
…tions issue #66
- Loading branch information
Showing
8 changed files
with
168 additions
and
45 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
//$theme-colors: ( | ||
// 'info': tomato, | ||
// 'danger': teal, | ||
// 'primary': green, | ||
//); | ||
$theme-colors: ( | ||
'info': tomato, | ||
'danger': teal, | ||
'primary': #61cd8d, | ||
); | ||
|
||
@import '~bootstrap/scss/bootstrap'; | ||
|
||
.bg-body-secondary { | ||
background-color: red; | ||
$primary-color: #61cd8d; | ||
$light-bg: #f8f9fa; | ||
$dark-text: #343a40; | ||
|
||
body { | ||
background-color: $light-bg; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,62 @@ | ||
body { | ||
background-color: #ccc; | ||
$primary-color: #61cd8d; | ||
$light-bg: #f8f9fa; | ||
$dark-text: #343a40; | ||
|
||
.landing-page { | ||
position: relative; | ||
text-align: center; | ||
color: $dark-text; | ||
background: url('../../assets/landing-bg.jpg') no-repeat center center; | ||
background-size: cover; // Ensures the image covers the whole background | ||
|
||
&::before { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(255, 255, 255, 0.85); // Slight white overlay for text readability | ||
z-index: 1; | ||
} | ||
|
||
div { | ||
position: relative; | ||
z-index: 2; // Ensures the content is above the background and overlay | ||
} | ||
|
||
h1 { | ||
font-size: 2.5rem; | ||
font-weight: 700; | ||
margin-bottom: 1rem; | ||
color: $dark-text; | ||
} | ||
|
||
p { | ||
font-size: 1.25rem; | ||
margin-bottom: 2rem; | ||
color: $dark-text; | ||
} | ||
|
||
.btn-lg { | ||
font-size: 1rem; | ||
padding: 0.75rem 1.5rem; | ||
} | ||
|
||
.btn-primary { | ||
background-color: $primary-color; | ||
border-color: $primary-color; | ||
&:hover { | ||
background-color: darken($primary-color, 10%); | ||
} | ||
} | ||
|
||
.btn-outline-primary { | ||
color: $primary-color; | ||
border-color: $primary-color; | ||
&:hover { | ||
background-color: $primary-color; | ||
color: #fff; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
$primary-color: #61cd8d; | ||
$light-bg: #f8f9fa; | ||
$dark-text: #343a40; | ||
|
||
.login-page { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background: url('../../assets/landing-bg.jpg') no-repeat center center; | ||
background-size: cover; | ||
|
||
&::before { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(255, 255, 255, 0.85); // White overlay for readability | ||
z-index: 1; | ||
} | ||
|
||
.card { | ||
position: relative; | ||
z-index: 2; | ||
border: none; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
h2 { | ||
font-size: 1.75rem; | ||
font-weight: 600; | ||
margin-bottom: 1.5rem; | ||
color: $dark-text; | ||
} | ||
|
||
.form-control { | ||
border-radius: 5px; | ||
} | ||
|
||
.btn-primary { | ||
background-color: $primary-color; | ||
border-color: $primary-color; | ||
&:hover { | ||
background-color: darken($primary-color, 10%); | ||
} | ||
} | ||
|
||
.text-center a { | ||
color: $primary-color; | ||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
.alert-danger { | ||
background-color: rgba(255, 0, 0, 0.1); | ||
border-color: rgba(255, 0, 0, 0.3); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters