Skip to content
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

Bug Fix popup notification #398

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 47 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1200,15 +1200,14 @@ justify-content: center;
.popup-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
padding: 30px;
border: 1px solid #888;
border-radius: 10px;
width: 100%;
max-width: 400px;
position: relative;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Close Button */
.close-btn {
position: absolute;
Expand All @@ -1234,6 +1233,52 @@ justify-content: center;
text-decoration: none;
}

.popup {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7); /* Background overlay */
display: flex;
justify-content: center;
align-items: center;
}

.popup-content {
position: relative;
background: white;
padding: 40px; /* Increased padding around content */
padding-top: 60px; /* Extra top padding to account for close button */
border-radius: 10px;
max-width: 500px;
text-align: center;
}

.close-btn {
position: absolute;
top: 15px;
right: 15px;
width: 30px;
height: 30px;
font-size: 2rem;
cursor: pointer;
background-color: #ff4c4c;
color: #fff;
border-radius: 50%;
border: none;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
}

.close-btn:hover {
background-color: #ff0000;
transform: scale(1.1);
}


/* Button to check deals */
.popup-content button {
background-color: #007bff;
Expand Down
Loading