Skip to content

Ultima: Problem in <p:selectBooleanCheckbox /> CSS when used with itemLabel #1669

Closed Answered by melloware
roabol asked this question in PrimeFaces Templates
Discussion options

You must be logged in to vote

For anyone else coming here in the future the trick is to edit this file \src\main\webapp\resources\layout\styles\theme\extensions\_checkbox.scss

And comment out the following SCSS...

    &:has(:not(.ui-state-disabled).ui-state-hover) {
      // box-shadow: 0 0 1px 10px rgba($overlayColor, .04);
    }

    &:has(:not(.ui-state-disabled).ui-state-focus) {
      // box-shadow: 0 0 1px 10px rgba($overlayColor, .12);
    }

    &:has(.ui-state-active) {
      &:has(:not(.ui-state-disabled).ui-state-hover) {
        // box-shadow: 0 0 1px 10px rgba($checkboxActiveBg, .04);
      }
  
      &:has(:not(.ui-state-disabled).ui-state-focus) {
        // box-shadow: 0 0 1px 10px rgba($checkboxActive…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@jepsar
Comment options

@melloware
Comment options

Comment options

You must be logged in to vote
3 replies
@melloware
Comment options

@roabol
Comment options

@melloware
Comment options

Answer selected by melloware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants