Skip to content

Commit

Permalink
Merge pull request #351 from agiledev-students-fall2023/sprint/4/task…
Browse files Browse the repository at this point in the history
…/notification-styling

Finalized notification styling
  • Loading branch information
hasiburratul authored Dec 6, 2023
2 parents 94e97b3 + 6570f9c commit 54eb221
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions front-end/src/components/student/StudentNavbar/StudentNavbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,13 @@
margin-right: 15px;
}

/* .notification-overlay {
position: absolute;
top: 50px;
right: 10px;
width: 200px;
background-color: var(--secondary);
border: 1px solid #ccc;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
border-radius: 5px;
padding: 10px;
} */

.notification-overlay {
position: absolute;
top: 50px;
right: 10px;
width: 200px;
width: 300px;
background-color: var(--secondary);
font-style: var(--secondary-font);
border: 1px solid #676767; /* Dark gray border: softer than black */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Softer shadow for subtlety */
z-index: 1000;
Expand All @@ -92,9 +80,15 @@
}

.notification-overlay .scrollable-content {
width: 100%; /* Adjust width as needed */
max-height: 450px; /* Adjust height to leave space for the button */
overflow-y: auto; /* Enable vertical scrolling */
width: 100%;
max-height: 450px;
overflow-y: auto;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: flex-start;
align-items: stretch;
}

.notification-overlay .load-more-button{
Expand All @@ -110,6 +104,12 @@

.notification-overlay .issue-button{
padding: 7px;
margin-bottom: 2%;
background-color: rgb(131 84 219 / 18%);
border: outset;
border-radius: 10px;
cursor: pointer;
font-family: var(--primary-font);
}


Expand Down

0 comments on commit 54eb221

Please sign in to comment.