Skip to content

Commit

Permalink
added a shadow in the background
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushswirlon committed Jul 8, 2024
1 parent 26fbb4a commit ca90523
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,27 +99,27 @@
margin: 10px 20px;
}
.tour-overlay {
position: relative;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
z-index: 1000;
display: none;
}

.tour-popup {
position: fixed;
background-color: white;
border-radius: 5px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
max-width: 300px;
z-index: 1001;
max-height: calc(100vh - 40px); /* Ensure it doesn't exceed viewport height */
overflow-y: auto; /* Allow scrolling if content is too long */
}
position: fixed;
background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
border-radius: 5px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
max-width: 300px;
z-index: 1001;
max-height: calc(100vh - 40px); /* Ensure it doesn't exceed viewport height */
overflow-y: auto; /* Allow scrolling if content is too long */
}
.tour-popup h3 {
margin-top: 0;
color: #333;
Expand Down

0 comments on commit ca90523

Please sign in to comment.