Skip to content

Commit

Permalink
Enhanced Rate Us Option
Browse files Browse the repository at this point in the history
  • Loading branch information
sailaja-adapa committed Jun 13, 2024
1 parent e48a172 commit 83063d8
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion frontend/src/style/Rateus.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
border: 1px solid #210202;
border-radius: 5px;
background-color: black;
transition: box-shadow 0.3s, transform 0.3s;
}

.rate-us-container:hover {
box-shadow: 0 0 20px #7c1de2;
transform: scale(1.05);
}

.rate-us-heading {
Expand All @@ -21,16 +27,34 @@

.star-rating {
margin-bottom: 20px;
display: flex;
justify-content: center;
}

.star {
font-size: 24px;
color: #f0fafd;
cursor: pointer;
transition: color 0.3s;
position: relative;
}

.star:before {
content: '★';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
color: transparent;
transition: text-shadow 0.3s, transform 0.3s;
}

.filled {
.star:hover:before,
.star.filled:before {
color: #f7b731;
text-shadow: 0 0 20px #f7b731;
transform: scale(1.2);
}

.feedback-textarea {
Expand Down

0 comments on commit 83063d8

Please sign in to comment.