Tooltip CSS not working with primefaces 6.0.X

Locked
soekris
Posts: 76
Joined: 29 Apr 2013, 16:54
Location: Barcelona

05 Oct 2016, 18:40

If I change primefaces 5.3.11 to primefaces 6.0.5 tooltips lose it's CSS (sentinel 2.1)



With primefaces 5.3.X

Image


With primefaces 6.0.X

Image


Same behaivour with last Santinel version, 2.1.1


/*Style For UI Tooltip --- -----------------------------------------------------------------------------------*/

.ui-tooltip{background-color:#FBFCFD; border: solid 1px #27AAE1; color:#27AAE1; border-top-left-radius: 0px; opacity:0.8; z-index:99999999 !important;}

Is presentg in theme.css

What am I doing wrong? any workaround?

Thanks!
Primefaces 5.3.X / 6.X
NetBeans 8.1
WildFly 10
Linux Mint & freeBSD

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

06 Oct 2016, 15:52

Fixed for next version; https://github.com/primefaces/layouts/issues/92

Please try;

Code: Select all

in theme.css
/*Style For UI Tooltip --------------------------------------------------------------------------------------*/

/* PLEASE REMOVE ALL OF OLD TOOLTIP STYLES AND ADD THE FOLLOWING STYLE */
.ui-tooltip{background-color: #4c4c4c; border: 1px solid #4c4c4c; border-top-left-radius: 0; color: #fff;}
.ui-tooltip-right, 
.ui-tooltip-left, 
.ui-tooltip-top, 
.ui-tooltip-bottom {background: none; border: 0 none;}


/*Style For UI CommandLink --------------------------------------------------------------------------------------*/

....

soekris
Posts: 76
Joined: 29 Apr 2013, 16:54
Location: Barcelona

07 Oct 2016, 12:16

Thanks Aragorn, it works!!
Primefaces 5.3.X / 6.X
NetBeans 8.1
WildFly 10
Linux Mint & freeBSD

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

07 Oct 2016, 16:20

You're welcome ;)

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests