From: Jay Freeman (saurik) Date: Wed, 30 Mar 2011 08:21:48 +0000 (+0000) Subject: Use new LCD bar background on iPad. X-Git-Tag: v0.9.4000~2 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/f2ad4cc0cf21e8002e0ea4899e8d626a14a6c4b9?ds=inline Use new LCD bar background on iPad. --- diff --git a/PhotoExample.cydget/index.html b/PhotoExample.cydget/index.html index fe772b5..a1e8711 100644 --- a/PhotoExample.cydget/index.html +++ b/PhotoExample.cydget/index.html @@ -32,7 +32,6 @@ #lcd { background: url(cydget://_UIImageWithName/UILCDBackground.png); - height: 96px; width: 100%; } @@ -52,6 +51,10 @@ } @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + #lcd { + height: 96px; + } + #lcd h1 { font-size: 65px; top: -6px; @@ -64,6 +67,11 @@ } @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { + #lcd { + background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD.png); + height: 96px; + } + #lcd h1 { font-size: 69px; top: -8px; @@ -77,6 +85,7 @@ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) { #lcd { + background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD_T.png); height: 107px; } diff --git a/Welcome.html b/Welcome.html index c6f947f..1df4b5a 100644 --- a/Welcome.html +++ b/Welcome.html @@ -32,7 +32,6 @@ #lcd { background: url(cydget://_UIImageWithName/UILCDBackground.png); - height: 96px; width: 100%; } @@ -52,6 +51,10 @@ } @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + #lcd { + height: 96px; + } + #lcd h1 { font-size: 65px; top: -6px; @@ -64,6 +67,11 @@ } @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { + #lcd { + background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD.png); + height: 96px; + } + #lcd h1 { font-size: 69px; top: -8px; @@ -77,6 +85,7 @@ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) { #lcd { + background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD_T.png); height: 107px; }