[英]How change background color tooltip primefaces extension?
Hi community I have a problem trying to change the color of tooltip extension, it happens that I'm using PrimeFaces 5.1 and extension 3.0, using the thema of grinders pepper, but does not perform the change in white, I leave my code. 嗨,社区,我在尝试更改工具提示扩展名时遇到问题,碰巧我正在使用PrimeFaces 5.1和扩展名3.0,并使用了grinders pepper的主题,但没有进行白色更改,我留下了代码。
<pe:tooltip global="true" />
.ui-tooltip,.ui-tooltip .ui-widget-content {
border: 1px solid #9d9d9d;
color: #000000;
background-color: #ffffff;
}
Hope you can help me, thanks. 希望你能帮助我,谢谢。
In the PF-ext showcase, there also is a background image. 在PF-ext展示柜中,也有背景图片。 That overrides the color (per css standards).
这会覆盖颜色(根据CSS标准)。 When I tried setting the background image to 'none'
当我尝试将背景图片设置为“无”时
.ui-tooltip, .ui-tooltip-content.ui-widget-content {
background-color: yellow;
background-image: none;
}
in the PF-ext showcase, it worked. 在PF-ext展示柜中,它起作用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.