Initial commit
This commit is contained in:
30
public/theme/extensions/_rating.scss
Normal file
30
public/theme/extensions/_rating.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
.p-rating {
|
||||
gap: 0;
|
||||
|
||||
.p-rating-item {
|
||||
border-radius: 50%;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
justify-content: center;
|
||||
|
||||
&.p-focus {
|
||||
background: rgba($primaryColor, .12);
|
||||
|
||||
&.p-rating-cancel-item {
|
||||
background: rgba($ratingCancelIconColor, .12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.p-disabled):not(.p-readonly) {
|
||||
.p-rating-item {
|
||||
&:hover {
|
||||
background-color: rgba(0,0,0,.04);
|
||||
|
||||
&.p-rating-cancel-item {
|
||||
background: rgba($ratingCancelIconColor, .04);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user