flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [48/53] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix Card example to support images
Date Thu, 10 Nov 2016 09:23:55 GMT
Fix Card example to support images


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9633ef5c
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9633ef5c
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9633ef5c

Branch: refs/heads/feature/mdl
Commit: 9633ef5c46cfeef4a253ff0255d6726682aebd88
Parents: 0c0dea7
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Thu Nov 10 00:30:30 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Thu Nov 10 00:30:30 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9633ef5c/examples/flexjs/MDLExample/src/main/flex/App.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index b77ec2c..48e2ec7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -114,12 +114,9 @@ limitations under the License.
                 </js:VContainer>
 
                 <mdl:Card width="512" shadow="2">
-                    <mdl:CardTitle style="color: #666;height: 176px; background:url('assets/Unknown.jpg')
center / cover;">
+                    <mdl:CardTitle style="color: #fff;height: 176px; background:url('assets/Unknown.jpg')
center / cover;">
                         <js:H2 text="Welcome" className="mdl-card__title-text"/>
                     </mdl:CardTitle>
-                    <mdl:CardMedia>
-                        <js:Image url="assets/Unknown.jpg"  height="176"/>
-                    </mdl:CardMedia>
                     <mdl:CardSupportingText>
                         <js:MultilineLabel text="Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Mauris sagittis pellentesque lacus eleifend lacinia..."/>
                     </mdl:CardSupportingText>
@@ -127,12 +124,17 @@ limitations under the License.
                         <mdl:Button text="Get Started" ripple="true" colored="true"/>
                     </mdl:CardActions>
                     <mdl:CardMenu>
-                        <mdl:Button icon="true" ripple="true">
+                        <mdl:Button icon="true" ripple="true" style="color: #fff;">
                             <i class="material-icons">share</i>
                         </mdl:Button>
                     </mdl:CardMenu>
                 </mdl:Card>
 
+
+                    <!--<mdl:CardMedia>
+                        <js:Image url="assets/Unknown.jpg"  height="176"/>
+                    </mdl:CardMedia>-->
+
             </js:Form>
 
         </js:View>


Mime
View raw message