4 changed files with 72 additions and 13 deletions
@ -1,29 +1,49 @@ |
|||
|
|||
#RatingContainer { |
|||
text-align: center; |
|||
margin-top: 2rem; |
|||
font-family: Arial, sans-serif; |
|||
} |
|||
|
|||
.RatingButtons { |
|||
display: flex; |
|||
gap: 1rem; |
|||
justify-content: center; |
|||
gap: 1.5rem; |
|||
margin-top: 1rem; |
|||
} |
|||
|
|||
#RatingContainer button { |
|||
background: none; |
|||
background-color: transparent; |
|||
border: none; |
|||
cursor: pointer; |
|||
font-size: 2rem; |
|||
transition: transform 0.2s, color 0.2s; |
|||
padding: 0.5rem; |
|||
transition: transform 0.2s, color 0.2s, background-color 0.2s; |
|||
border-radius: 50%; |
|||
} |
|||
|
|||
#RatingContainer button:hover { |
|||
transform: scale(1.2); |
|||
} |
|||
#ThumbUp { |
|||
color: green; |
|||
transform: scale(1.3); |
|||
background-color: #f0f0f0; |
|||
} |
|||
#ThumbDown { |
|||
color: red; |
|||
|
|||
#RatingContainer button.active { |
|||
transform: scale(1.3); |
|||
color: #0073e6; |
|||
background-color: #e0f7ff; |
|||
} |
|||
|
|||
.Counts { |
|||
display: flex; |
|||
justify-content: center; |
|||
gap: 1rem; |
|||
margin-top: 1rem; |
|||
font-size: 1.2rem; |
|||
color: #555; |
|||
} |
|||
|
|||
.count-item { |
|||
display: inline-flex; |
|||
align-items: center; |
|||
gap: 0.3rem; |
|||
font-weight: bold; |
|||
} |
|||
|
Loading…
Reference in new issue