-
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.
- Loading branch information
Showing
20 changed files
with
902 additions
and
159 deletions.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,97 @@ | ||
.modal { | ||
display: none; /* Hidden by default */ | ||
position: fixed; | ||
z-index: 1000; /* Above other content */ | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100%; | ||
overflow: auto; | ||
background-color: rgba(0,0,0,0.4); /* Black background with opacity */ | ||
} | ||
|
||
.modal-content { | ||
background-color: #fff; | ||
margin: 10% auto; /* Center the modal */ | ||
padding: 20px 30px; | ||
border: 1px solid #888; | ||
width: 30%; | ||
border-radius: 10px; | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); | ||
} | ||
|
||
.modal-input-group { | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
} | ||
|
||
.settings-modal-form-group label { | ||
flex: 2; | ||
text-align: right; /* Align label text to the right */ | ||
font-size: 1rem; | ||
margin-right: 10px; /* Add space between the label and dropdown */ | ||
} | ||
|
||
.modal-select { | ||
flex: 3; | ||
padding: 8px 10px; | ||
font-size: 0.9rem; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
} | ||
|
||
.close { | ||
color: #aaa; | ||
float: right; | ||
font-size: 28px; | ||
font-weight: bold; | ||
} | ||
|
||
.close:hover, | ||
.close:focus { | ||
color: black; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
|
||
.modal-footer { | ||
display: flex; | ||
justify-content: flex-end; /* Aligns items to the right */ | ||
margin-top: 15px; | ||
} | ||
|
||
/* General button styling */ | ||
.button { | ||
margin-top: 15px; | ||
background-color: #4CAF50; /* Green background */ | ||
color: white; /* White text */ | ||
border: none; /* Remove borders */ | ||
padding: 10px 20px; /* Add padding for a comfortable size */ | ||
font-size: 1em; /* Match general font size */ | ||
border-radius: 5px; /* Rounded corners */ | ||
cursor: pointer; /* Pointer cursor on hover */ | ||
transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */ | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for a modern look */ | ||
float: right; | ||
} | ||
|
||
/* Hover effect */ | ||
.button:hover { | ||
background-color: #45a049; /* Slightly darker green */ | ||
transform: translateY(-2px); /* Subtle lift effect */ | ||
} | ||
|
||
/* Active (clicked) effect */ | ||
.button:active { | ||
background-color: #3e8e41; /* Even darker green */ | ||
transform: translateY(0); /* Return to original position */ | ||
} | ||
|
||
/* Disabled state */ | ||
.button:disabled { | ||
background-color: #ccc; /* Gray background */ | ||
color: #666; /* Muted text color */ | ||
cursor: not-allowed; /* Indicate it's not clickable */ | ||
box-shadow: none; /* Remove shadow for disabled state */ | ||
} |
File renamed without changes.
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,7 @@ | ||
{ | ||
"diabetes": "diabetes", | ||
"constipation": "constipation", | ||
"swelling": "swelling", | ||
"liver-failure": "liver failure", | ||
"malnutrition": "malnutrition" | ||
} |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.