flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35171) CSS color RGB not set in component
Date Mon, 19 Dec 2016 01:52:58 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15759871#comment-15759871

Alex Harui commented on FLEX-35171:

That would be the right syntax.  What error did you get?

The current code may not support having a prefix.  Normally, all prefixed selectors are considered
type selectors and there must be an actual component in the SWC in that namespace otherwise
an error will be reported.  I put in a hack to not check for type selectors that had no prefix
but the file had a default namespace of XHTML.  I figured that would be the common case.

> CSS color RGB not set in component
> ----------------------------------
>                 Key: FLEX-35171
>                 URL: https://issues.apache.org/jira/browse/FLEX-35171
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.8.0
>         Environment: Mac OS X Sierra
>            Reporter: Carlos Rovira
>            Assignee: Alex Harui
>             Fix For: Apache FalconJX 0.8.0
> I want to set a color:#fff
> If I put in a css class external selector, this is not applied (but rest of rules works
> If I put in inline style, this is working ok.
> If you want to see the code is in MDLExample, App.mxml line 117:
> <mdl:CardTitle className="cardTitle" style="color: #fff;">.    <-- I need to
set the color here to get text inside this component white, if not it gets black
> The css style is mdl-styles.css
> .cardTitle
> {
> 	color: #fff;     <--- this rule is not working
> 	height: 176px;
> }

This message was sent by Atlassian JIRA

View raw message