flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fix style
Date Tue, 22 Nov 2016 22:26:38 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop b34796eea -> fb252f4ea


Fix style


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

Branch: refs/heads/develop
Commit: fb252f4eac17f6bcadf04de847bb341e15c2e6eb
Parents: b34796e
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Tue Nov 22 23:26:33 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Tue Nov 22 23:26:33 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/App.mxml            | 7 ++++---
 examples/flexjs/MDLExample/src/main/resources/mdl-styles.css | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb252f4e/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 ea433fe..cc7c3f4 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -34,7 +34,7 @@ limitations under the License.
             
             <mdl:Card width="320" height="320" shadow="2" style="margin:10;">
                 <mdl:CardTitle className="dogTitle" expand="true">
-                    <js:H2 text="Update" className="mdl-card__title-text"/>
+                    <mdl:CardTitleText text="Update"/>
                 </mdl:CardTitle>
                 <!--<mdl:CardMedia>
                     <js:Image url="assets/Unknown.jpg"  height="176"/>
@@ -45,7 +45,8 @@ limitations under the License.
                 <mdl:CardActions border="true">
                     <mdl:Button colored="true" ripple="true" text="View Updates"/>
                 </mdl:CardActions>
-            </mdl:Card> 
+            </mdl:Card>
+
             <mdl:Card width="256" height="256" shadow="2" style="margin:10;background:
url('assets/image_card.jpg') center / cover">
                 <mdl:CardTitle expand="true"/>
                 <mdl:CardActions style="height: 52px; padding: 16px; background: rgba(0,
0, 0, 0.2);">
@@ -187,7 +188,7 @@ limitations under the License.
                             </js:VContainer>
 
                             <mdl:Card width="512" shadow="2" style="margin:10;">
-                                <mdl:CardTitle>
+                                <mdl:CardTitle className="welcomeCard__title">
                                     <mdl:CardTitleText text="Welcome"/>
                                 </mdl:CardTitle>
                                 <mdl:CardSupportingText>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb252f4e/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 094d14f..7ff6479 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -40,7 +40,7 @@ Image
 	IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
 }
 
-.mdl-card__title {
+.welcomeCard__title {
   color: #fff;
   height: 176px;
   background: url('assets/welcome_card.jpg') center / cover;


Mime
View raw message