You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/04/25 02:59:18 UTC
[09/10] git commit: [flex-sdk] - Added support for 480dpi
Added support for 480dpi
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1f25eb67
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1f25eb67
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1f25eb67
Branch: refs/heads/480dpi
Commit: 1f25eb67643cecba7442eca84510a152fd3ab113
Parents: 478f0a5
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Apr 25 10:17:34 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Apr 25 10:17:34 2013 +1000
----------------------------------------------------------------------
frameworks/projects/mobiletheme/defaults.css | 99 +++++++++++++++++++++
1 files changed, 99 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1f25eb67/frameworks/projects/mobiletheme/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/defaults.css b/frameworks/projects/mobiletheme/defaults.css
index ab4e913..3a11622 100644
--- a/frameworks/projects/mobiletheme/defaults.css
+++ b/frameworks/projects/mobiletheme/defaults.css
@@ -614,6 +614,105 @@ global
}
}
+@media (application-dpi: 480)
+{
+ ActionBar
+ {
+ paddingBottom: 4;
+ paddingLeft: 0;
+ paddingRight: 0;
+ paddingTop: 4;
+ }
+
+ ActionBar.beveled
+ {
+ paddingLeft: 15;
+ paddingRight: 15;
+ }
+
+ ActionBar #titleDisplay
+ {
+ fontSize: 54;
+ }
+
+ ActionBar.beveled Group#navigationGroup Button
+ {
+ fontSize: 36;
+ }
+
+ ActionBar.beveled Group#actionGroup Button
+ {
+ fontSize: 36;
+ }
+
+ Callout
+ {
+ gap: 24;
+ }
+
+ IconItemRenderer
+ {
+ paddingBottom: 24;
+ paddingTop: 24;
+ horizontalGap: 24;
+ verticalGap: 18;
+ }
+
+ .iconItemRendererMessageStyle
+ {
+ fontSize: 42;
+ }
+
+ LabelItemRenderer
+ {
+ paddingBottom: 48;
+ paddingLeft: 30;
+ paddingRight: 30;
+ paddingTop: 48;
+ }
+
+ SpinnerListItemRenderer
+ {
+ paddingTop : 36;
+ paddingBottom : 36;
+ paddingLeft : 24;
+ paddingRight : 24;
+ }
+
+ TextArea
+ {
+ paddingBottom: 18;
+ paddingLeft: 18;
+ paddingRight: 18;
+ paddingTop: 18;
+ }
+
+ TextInput
+ {
+ paddingBottom: 18;
+ paddingLeft: 18;
+ paddingRight: 18;
+ paddingTop: 18;
+ }
+
+ TabbedViewNavigator #tabBar
+ {
+ fontSize: 42;
+ }
+
+ ToggleSwitch
+ {
+ fontSize: 54;
+ }
+
+ global
+ {
+ fontSize: 48;
+ focusThickness: 6;
+ }
+}
+
+
@media (application-dpi: 160) AND (os-platform:"IOS")
{
TextArea