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 { |
.RatingButtons { |
||||
display: flex; |
display: flex; |
||||
gap: 1rem; |
|
||||
justify-content: center; |
justify-content: center; |
||||
|
gap: 1.5rem; |
||||
margin-top: 1rem; |
margin-top: 1rem; |
||||
} |
} |
||||
|
|
||||
#RatingContainer button { |
#RatingContainer button { |
||||
background: none; |
background-color: transparent; |
||||
border: none; |
border: none; |
||||
cursor: pointer; |
cursor: pointer; |
||||
font-size: 2rem; |
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 { |
#RatingContainer button:hover { |
||||
transform: scale(1.2); |
transform: scale(1.3); |
||||
} |
background-color: #f0f0f0; |
||||
#ThumbUp { |
|
||||
color: green; |
|
||||
} |
} |
||||
#ThumbDown { |
|
||||
color: red; |
#RatingContainer button.active { |
||||
|
transform: scale(1.3); |
||||
|
color: #0073e6; |
||||
|
background-color: #e0f7ff; |
||||
} |
} |
||||
|
|
||||
.Counts { |
.Counts { |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
gap: 1rem; |
||||
margin-top: 1rem; |
margin-top: 1rem; |
||||
font-size: 1.2rem; |
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