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

BG RCI commented on TOBAGO-1101:
--------------------------------

We have created a bgrci.css file with item:

.tobago-button-default {
    color: #004994;
}
(Blue text) 

After this we created a tc:style-element in the overview.tag

<?xml…
<jsp:root…
<f:view…
<tc:page..
<tc:style style="style/bgrci.css" />

With the IE-Browser looks everything’s fine:

Default Button-Text:    Blue
Disable Button-Text:  Gray

With the Firefox 11.0 is the Text-Style as follows:

Default Butten-Text: Blue
Disable Button-Text: Blue

(Debugging with Firebug 1.9.1)
HTML:

<button class="tobago-button-default tobago-button-disabled" 
style="height:20px; width:75px; " 
onclick="" 
disabled="disabled" 
id="page:_idJsp117" 
name="page:_idJsp117" 
type="button">Vorschau</button>

Styles:

element.style {
    height: 20px;
    width: 75px;
}

.tobago-button-default {
    background-image: url("../image/button-bg.gif");
    color: #004994;
}                                                               bgrci.css 
(Zeile 252)

.tobago-button-disabled {
    color: graytext;
}

                
> 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