-
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
6 changed files
with
106 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
<div class="modal-overlay"> | ||
<div class="modalBack"> | ||
<div class="modal-header"> | ||
<h2>Nice Job!</h2> | ||
</div> | ||
<div class="modal-body"> | ||
<!-- Modal content goes here --> | ||
<p>Dude, you're crushing it!</p> | ||
</div> | ||
<a href="/Table"><button class="continue-but">Next Step</button></a> | ||
|
||
</div> | ||
|
||
</div> | ||
} | ||
|
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 @@ | ||
/* MyModalComponent.razor.css */ | ||
|
||
.modal-overlay { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(56, 55, 5, 0.5); /* Semi-transparent background */ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 500; | ||
|
||
} | ||
|
||
.modalBack { | ||
background-image: linear-gradient(140deg, #a2b780, #5e8d61); | ||
padding: 20px; | ||
border-radius: 12px; | ||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Increased shadow */ | ||
border: 2px solid #5e8d61; /* Solid border */ | ||
z-index: 1000; | ||
margin: 5px; | ||
max-width: 600px; /* Limit width to improve readability */ | ||
} | ||
|
||
.modal-header { | ||
display: flex; | ||
justify-content: center; /* Center align header */ | ||
align-items: center; | ||
margin-bottom: 20px; /* Add spacing below header */ | ||
} | ||
|
||
.modal-header h2 { | ||
font-size: 24px; | ||
color: #f4d35d; /* White text color */ | ||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow */ | ||
} | ||
|
||
.modal-body { | ||
margin-top: 10px; | ||
color: #f4d35d; /* White text color */ | ||
font-size: 16px; | ||
line-height: 1.5; | ||
} | ||
|
||
.continue-but { | ||
display: block; | ||
margin: auto; | ||
padding: 10px 20px; | ||
background-color: #f4d35d; | ||
color: #5e8d61; | ||
border: none; | ||
border-radius: 6px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; /* Smooth background color transition */ | ||
} | ||
|
||
.continue-but:hover { | ||
background-color: #d28752; /* Darker color on hover */ | ||
} |
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
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 |
---|---|---|
|
@@ -47,4 +47,9 @@ input[type="text"] { | |
.outText { | ||
margin:2px; | ||
margin-left: 5px; | ||
} | ||
|
||
.prompt { | ||
text-align: center; | ||
color: #f4d35d; | ||
} |