On modena theme, the rating cancel icon is rendered as a thumbs down icon. This can confuse users...
Could you please replace it with a cancel icon?
Regular theme rating: https://www.primefaces.org/showcase/ui/ ... ting.xhtml
Modena rating: https://www.primefaces.org/eos/modena/forms.xhtml
Rating cancel icon
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I think you can override cancel icon. Please try;
Code: Select all
.ui-rating-cancel a {
background-image: ...
}
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
<style type="text/css">
body .ui-rating-cancel a {
background-image: none !important;
font-family: 'Modena';
text-indent: initial;
speak: none;
font-size: 20px !important;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
width: 20px !important;
height: 20px !important;
color: #E53935;
}
body .ui-rating-cancel-hover a {
opacity: .7;
}
body .ui-rating-cancel a:before {
content: "\e287"; /* You can use icon codes in "Modena Material Font Icons" section at https://www.primefaces.org/eos/modena/font-icons.xhtml */
}
</style>
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest