[ 
https://issues.apache.org/jira/browse/TOBAGO-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236706#comment-13236706
 ] 

Udo Schnurpfeil commented on TOBAGO-1101:
-----------------------------------------

When I got your example correctly, this works as designed (and defined by CSS).

When an element has 2 classes e.g. <button class="tobago-button-default 
tobago-button-disabled">, and you have a property set multiple times for both 
classes, then the order in the HTML document is relevant to "who wins".

In your case: The definition of your personal .tobago-button-default {color: 
#004994;} is later than that from the tobago theme (so you can override it)

Result: If you overrite a tobago-button-default property which is also defined 
in tobago-button-disabled, you also have to define it in your personal style 
file. Same is for tobago-button-error etc. 
                
> Firefox 11.0; Button disabled-css-Style fails
> ---------------------------------------------
>
>                 Key: TOBAGO-1101
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1101
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.39
>         Environment: Firefox 11.0
>            Reporter: BG RCI
>
> Button element:
> The private css-definition ".tobago-button-default" (e.g.: color: rgb( 0, 73, 
> 148) ) is not overridden by the Tobago-css-definition 
> ".tobago-button-disabled".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to