-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added light and dark mode. Update Navbar with search field and other … #11
Open
srushtisalke
wants to merge
2
commits into
main
Choose a base branch
from
srushti/timeoff_app
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
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,24 @@ | ||
.create-member { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.create-member .create-button-member { | ||
background-color: #078d14; /* Button background color */ | ||
padding: 10px; | ||
margin: 20px; | ||
color: #fff; | ||
border: none; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
text-align: center; | ||
font-size: 15px; | ||
width: 90%; | ||
align-items: center; | ||
} | ||
|
||
/* Style for the buttons on hover */ | ||
.create-member .create-button-member:hover { | ||
background-color: #055837; | ||
color: white; | ||
} |
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,18 @@ | ||
.create-button-team { | ||
background-color: #890aad; /* Button background color */ | ||
padding: 10px; | ||
margin: 20px; | ||
color: #fff; | ||
border: none; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
text-align: center; | ||
font-size: 15px; | ||
width: 35%; | ||
align-items: center; | ||
} | ||
|
||
/* Style for the buttons on hover */ | ||
.create-button-team:hover { | ||
background-color: #4c095d; | ||
} |
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,50 @@ | ||
.submitTeam-container { | ||
display: flex; | ||
/* justify-content: center; */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove this |
||
padding: 10px 0px; | ||
margin: 10px 0px; | ||
} | ||
|
||
/* Style for the label */ | ||
.submitTeam-container label { | ||
font-size: 20px; | ||
font-weight: bold; | ||
text-align: center; | ||
padding-right: 10px; | ||
padding-top: 2px; | ||
text-shadow: none; | ||
} | ||
|
||
/* Style for the input field */ | ||
.submitTeam-container input[type="text"] { | ||
box-sizing: border-box; | ||
width: 45%; | ||
border: 2px solid ; | ||
border-radius: 15px; | ||
border-color: #007bff; | ||
text-align: center; | ||
font-size: 15px; | ||
} | ||
|
||
/* Style for the buttons */ | ||
.submitTeam-container button { | ||
background-color: #007bff; /* Button background color */ | ||
padding: 10px; | ||
margin-left: 10px; | ||
color: #fff; | ||
border: none; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
text-align: center; | ||
font-size: 15px; | ||
width: 20%; | ||
} | ||
|
||
/* Style for the buttons on hover */ | ||
.submitTeam-container button:hover { | ||
background-color: #04376d; /* Darker background color on hover */ | ||
} | ||
|
||
.dark .submitTeam-container label { | ||
color: cornsilk;; | ||
} |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,6 +1,6 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom/client'; | ||
import './index.css'; | ||
// import './index.css'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove it |
||
import App from './App'; | ||
import reportWebVitals from './reportWebVitals'; | ||
|
||
|
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,68 @@ | ||
/* Style for the h2 heading */ | ||
.mainSection { | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
} | ||
|
||
.top-Header { | ||
padding: 2rem; | ||
width: 40%; | ||
} | ||
|
||
.top-Header h2 { | ||
font-family: 'EB Garamond', serif; | ||
font-size: 40px; | ||
font-weight: bold; | ||
color: #0f0b0b; | ||
text-align:left; | ||
text-shadow: 5px 5px 5px #808080; | ||
margin: 0px; | ||
padding-left: 10rem; | ||
} | ||
|
||
.top-Header p { | ||
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif, 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; | ||
font-size: 1.2rem; | ||
margin: 1rem 0; | ||
} | ||
|
||
.top-Header .create-container{ | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.imgContainer { | ||
width: 50%; | ||
} | ||
|
||
.imgContainer img{ | ||
width: 90%; | ||
display: block; | ||
padding: 2.5rem; | ||
|
||
} | ||
|
||
.dark .top-Header h2{ | ||
color: #f7f3cc; | ||
text-shadow: 2px 2px 2px #eff192; | ||
|
||
} | ||
|
||
.dark .top-Header p { | ||
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif, 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; | ||
font-size: 1.2rem; | ||
margin: 1rem 0; | ||
color: cornsilk; | ||
} | ||
|
||
|
||
.dark .imgContainer img{ | ||
width: 90%; | ||
margin: 0 0; | ||
display: block; | ||
padding: 2.5rem; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using percentages for layout widths can lead to unpredictable behavior on different devices. Please be aware of this or consider using a more stable approach like flexbox.