[jira] [Commented] (FLEX-35171) CSS color RGB not set in component

2016-12-11 Thread Carlos Rovira (JIRA)

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

Carlos Rovira commented on FLEX-35171:
--

Hi Alex,

this case gives error:

.demo-card-event > .mdl-card__title > h4 {
  margin-top: 0;
}


outputs

[INFO] Executing MXMLC in tool group FlexJS with args: 
[-load-config=/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/compile-app-javascript-config.xml,
 -compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css, 
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml]
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml(118):
 col: 38 'h4' is not defined.
[INFO] 
[INFO] BUILD FAILURE
[INFO] 

> 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 ok).
> If I put in inline style, this is working ok.
> If you want to see the code is in MDLExample, App.mxml line 117:
> .<-- 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
(v6.3.4#6332)


[jira] [Commented] (FLEX-35171) CSS color RGB not set in component

2016-11-24 Thread Carlos Rovira (JIRA)

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

Carlos Rovira commented on FLEX-35171:
--

Hi Alex,
just saw you started fixing the descendant selector. I commit a test in 
MDLExample to help the fixing.
There's two Cards with CSS descendant selector. Right now only one is appearing 
but the other not (or sometimes change the image from one to another. 

Hope that helps to find the right fix

> 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
>
> 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 ok).
> If I put in inline style, this is working ok.
> If you want to see the code is in MDLExample, App.mxml line 117:
> .<-- 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
(v6.3.4#6332)


[jira] [Commented] (FLEX-35171) CSS color RGB not set in component

2016-11-22 Thread Carlos Rovira (JIRA)

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

Carlos Rovira commented on FLEX-35171:
--

Hi Alex,

this is from example in this page: 
https://getmdl.io/components/index.html#cards-section

in the example from the web:

.demo-card-wide > .mdl-card__title {
  color: #fff;
  height: 176px;
  background: url('../assets/demos/welcome_card.jpg') center / cover;
}


Welcome
  

mdl-card__title is a basic MDL selector for title, and in the example the black 
color is overwrited by the custom color white.

So if I try to write css like in the example FlexJS return this:

.demo-card-wide .mdl-card__title>CHILD {
color : #fff ;
background : url('assets/welcome_card.jpg') center / cover ;
height : 176px ;
}

I think that output states clearly a bug, although maybe the original 
explanation was not the real problem

> 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
>
> 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 ok).
> If I put in inline style, this is working ok.
> If you want to see the code is in MDLExample, App.mxml line 117:
> .<-- 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
(v6.3.4#6332)