2 <meta name=
"viewport" content=
"width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
10 -moz-border-radius:
0;
11 -webkit-border-radius:
0;
12 box-sizing: border-box;
13 -moz-box-sizing: border-box;
14 -ms-box-sizing: border-box;
15 -webkit-box-sizing: border-box;
16 /*font-family: inherit;*/
23 text-decoration: none;
24 vertical-align: baseline;
28 -webkit-touch-callout: none;
29 -webkit-text-size-adjust: none;
30 -webkit-user-select: none;
43 font-family: "LockClock-Light";
44 padding:
0px
0px
0px
1px;
47 text-shadow: -
0.5px -
1px
1px black;
51 font-family: "Helvetica";
54 text-shadow: -
0.5px -
1px
1px black;
57 @media (fuck: landscape) {
58 footer { color: black; }
61 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) {
77 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: landscape) {
79 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD.png);
94 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: portrait) {
96 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD_T.png);
112 font-family: "Helvetica";
133 @media (-cydget-media-controls) {
139 @media (-cydget-notification-list) {
144 </style></head><body>
145 <script type=
"text/javascript">
146 if (kCFCoreFoundationVersionNumber
> 800)
147 document.write('
<div style=
"height: 60px"></div>');
149 document.write('
<style type=
"text/css"> #lcd { background: url(cydget://_UIImageWithName/UILCDBackground.png); }
</style>');
152 <script type=
"text/javascript">
153 document.write('
<h1 id=
"time">');
156 if (typeof Cycript != 'undefined')
159 var now = new Date();
160 var minutes = String(now.getMinutes());
161 if (minutes.length ==
1)
162 minutes = '
0' + minutes
163 time = now.getHours() + ':' + minutes;
166 document.write(time);
167 document.write('
</h1>');
170 <h2>Welcome to Cydget!
</h2>
174 <p>Cydget
<sup>tm
</sup> is a very simple SBAwayViewPlugin multiplexer, allowing both developers and web designers to extend the capabilities of the lock screen by tapping into the existing mechanism Apple had designed for VoiceRecorder and Nike+. The WebCycript Cydget framework is designed to be a powerful replacement for the Lock Widget feature from WinterBoard, which it hereby supersedes.
</p>
175 <p>You can switch between Cydgets (your original SpringBoard away view is next in the rotation) using the Home/Menu button, and you can re-order them using Settings under "Cydget".
</p>
178 <!-- XXX: extract this out to some kind of nifty Lock Cydget library -->
179 <script type=
"text/cycript">
180 var locale = CFLocaleCopyCurrent();
181 var now = CFDateCreate(NULL, CFAbsoluteTimeGetCurrent());
182 var formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle);
185 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat));
186 var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
187 document.getElementById("time").innerHTML = time;
190 CFRelease(formatter);