简体   繁体   中英

How do I identify PrimeFaces tooltip backgrouond color?

I'm using PrimeFaces6.1 and my primefaces.THEME is afternoon. I would like to make my panel overlay look the same as the tooltips. Therefore, I need to figure out what the tooltip background color is. It's obvious the font color is white.

I have found information on how to override the tooltip colors and I guess I could do that, but I really like the theme color. Anyone have an idea on this?

You could find out the back-ground color for p:tooltip used in Primefaces 6.1 in components.css

Path: primefaces-6.1.jar\\META-INF\\resources\\primefaces

open the components.css and search ui-tooltip-text{padding:3px 10px;background-color:#4c4c4c;color:#fff}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM