New Component Toggleswitch not visible
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
- undermensch
- Posts: 140
- Joined: 08 Jul 2010, 14:37
- Location: Florida, United States
Toggleswitch does not seem to be currently supported by the premium themes. Correct?
PrimeFaces-11.0.6 / Wildfly 24
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
@huseyinT, could you please check this issue with PF6.2.8 jar?
Github Profile: https://github.com/mertsincan
You could apply this sass code :
Code: Select all
.ui-toggleswitch-slider {
-webkit-transition: background-color .3s, box-shadow .2s;
transition: background-color .3s, box-shadow .2s;
background: #cccccc;
&:before {
background-color: #ffffff;
}
}
.ui-toggleswitch-focus .ui-toggleswitch-slider {
-moz-box-shadow: 0px 0px 5px #c0c0c0;
-webkit-box-shadow: 0px 0px 5px #c0c0c0;
box-shadow: 0px 0px 5px #c0c0c0;
}
.ui-toggleswitch {
&:not(.ui-state-disabled):hover .ui-toggleswitch-slider {
background-color: #b7b7b7;
}
&.ui-toggleswitch-checked {
.ui-toggleswitch-slider {
background-color: #628292;
}
&:not(.ui-state-disabled):hover .ui-toggleswitch-slider {
background-color: #2d5265;
}
}
}
- undermensch
- Posts: 140
- Joined: 08 Jul 2010, 14:37
- Location: Florida, United States
This seems to still not be fixed in the latest release 1.0.4. No ui-toggleswitch classes appear in the _forms.scss, nothing in the generated css. Thanks.
PrimeFaces-11.0.6 / Wildfly 24
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Sorry for the delayed response. Please try the new version(1.0.5).
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests