Quantcast
Channel: p:ribbon overrides spinner's button background - Stack Overflow
Viewing all articles
Browse latest Browse all 2

p:ribbon overrides spinner's button background

$
0
0

The new <p:ribbon> component in PrimeFaces 5.1 overrides the background attribute of spinner component buttons using the class .ui-ribbon.ui-button (ribbon.css), which makes the spinner look like this:

enter image description here

.ui-ribbon .ui-button {   background: none repeat scroll 0 0 rgba(0, 0, 0, 0);   box-shadow: none;   color: #333;}

When background rule is disabled in the browser, the spinner looks perfect

enter image description here

How can I write my CSS to make it ignore the background definition on .ui-ribbon.ui-button, so it can keep using the theme background definition?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images