You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2014/11/24 22:12:58 UTC

[08/44] git commit: [flex-sdk] [refs/heads/develop] - Add iOS7+ ButtonSkin to Button style

Add iOS7+ ButtonSkin to Button style

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 6c303132a93e7327c379fa6cb0cb25a38be83396
Parents: aa682b4
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 2 14:04:37 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 2 14:04:37 2014 +0200

----------------------------------------------------------------------
 frameworks/projects/mobiletheme/defaults.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6c303132/frameworks/projects/mobiletheme/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/defaults.css b/frameworks/projects/mobiletheme/defaults.css
index 7de40e3..4172f6e 100644
--- a/frameworks/projects/mobiletheme/defaults.css
+++ b/frameworks/projects/mobiletheme/defaults.css
@@ -974,6 +974,18 @@ requires new os-version selector (cf FLEX-FLEX-33949)
 	}
 }
 
+/* ios 7+ new theme */
+
+@media (os-platform:"IOS") AND (min-os-version: 7)
+{
+	
+	Button
+	{
+		skinClass: ClassReference("spark.skins.ios7.ButtonSkin");
+	}
+	
+}
+
 
 /*
 Android 4.x specific Mobile Flex skins and styles. Defaults sizes are based on