You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2016/11/14 18:22:51 UTC

[5/7] git commit: [flex-asjs] [refs/heads/develop] - Fix styles in App

Fix styles in App


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

Branch: refs/heads/develop
Commit: 7046285e659d0b10f5f5fc1f7299336a5c42ff74
Parents: 8a2610f
Author: Carlos Rovira <ca...@apache.org>
Authored: Mon Nov 14 18:29:35 2016 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Mon Nov 14 18:29:35 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7046285e/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 f68673a..c163e95 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -131,7 +131,7 @@ limitations under the License.
                     <mdl:Slider minimum="0" maximum="10" value="2" stepSize="2" width="200"/>
 
                     <mdl:Card width="320" height="320" shadow="2" style="margin:10;">
-                        <mdl:CardTitle className="dogTitle" style="color: #fff;">
+                        <mdl:CardTitle className="dogTitle">
                             <js:H2 text="Update" className="mdl-card__title-text"/>
                         </mdl:CardTitle>
                         <mdl:CardSupportingText>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7046285e/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 5d5fae4..af58dd8 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -42,20 +42,14 @@ Image
 
 .cardTitle
 {
-	color: #ffffff;
+	color: #fff;
 	height: 176px;
-	background-image:url('assets/Unknown.jpg'); /*center / cover;*/
-	background-size: cover;
-	background-position: 50% 50%;
-	background-repeat: initial initial;
+	background: url('assets/Unknown.jpg') center / cover;
 }
 
 .dogTitle
 {
 	color: #fff;
 	height: 176px;
-	background-image: url('assets/dog.png'); /*bottom right 15% no-repeat #46B6AC*/
-	background-position: right 15% bottom 0%; 
-	background-repeat: no-repeat no-repeat;
-	background-color: rgb(70, 182, 172); 
+	background: url('assets/dog.png') bottom right 15% no-repeat #46B6AC;
 }
\ No newline at end of file