]>
git.saurik.com Git - cydia.git/blob - Cydia.app/menes/style.css
1 /* iPhone.css - iPhone Interface Cascading Style Sheet
2 * Copyright (C) 2007-2008 Jay Freeman (saurik)
6 * Redistribution and use in source and binary
7 * forms, with or without modification, are permitted
8 * provided that the following conditions are met:
10 * 1. Redistributions of source code must retain the
11 * above copyright notice, this list of conditions
12 * and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the
14 * above copyright notice, this list of conditions
15 * and the following disclaimer in the documentation
16 * and/or other materials provided with the
18 * 3. The name of the author may not be used to endorse
19 * or promote products derived from this software
20 * without specific prior written permission.
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS''
23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
24 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
25 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
29 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
33 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
35 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
55 -webkit-border-radius: 0;
56 box-sizing: border-box
;
57 -moz-box-sizing: border-box
;
58 -ms-box-sizing: border-box
;
59 -webkit-box-sizing: border-box
;
67 text-decoration: none
;
68 vertical-align: baseline
;
83 border: 1px solid
#999999;
87 font-family: Helvetica
;
88 -webkit-text-size-adjust: none
;
89 -webkit-user-select: none
;
93 background: #c7ced5 url
(cydia://uikit-image
/UIPinstripe
.png
);
109 text-underline-style: dotted
;
117 font-family: monospace
;
121 letter-spacing: -2px;
134 background: url
(toolbar.png) #6d84a2 repeat-x
;
135 border-bottom: 1px solid
#2d3642;
140 dialog
> toolbar
> h1
{
145 margin: 1px auto
0 auto
;
146 text-shadow: rgba
(0, 0, 0, 0.4) 0px -1px 0;
151 /* (back|forward)-button {{{ */
152 dialog
> toolbar
> a
.back-button
,
153 dialog
> toolbar
> a
.forward-button
{
161 text-decoration: none
;
162 text-shadow: rgba
(0, 0, 0, 0.6) 0px -1px 0;
166 dialog
> toolbar
> a
.back-button
{
167 -webkit-border-image: url
(backButton.png) 0 8 0 14;
168 border-width: 0 8px 0 14px;
172 dialog
> toolbar
> a
.forward-button
{
173 -webkit-border-image: url
(toolButton.png) 0 5 0 5;
179 dialog
> panel
> block
{
180 background-color: #c7ced5;
181 border-bottom: 1px solid
#999999;
182 border-top: 1px solid
#999999;
189 dialog
> panel
> fieldset
> div
> hr
,
190 dialog
> panel
> block
> hr
{
191 border-top: 1px dashed
#999999;
194 dialog
> panel
> fieldset
{
195 background-color: #ffffff;
196 border: 1px solid
#999999;
197 -webkit-border-radius: 9px;
202 dialog
> panel
> input
[type
="submit"] {
203 /*-webkit-border-image: url(whiteButton.png) 0 12 0 12;
204 -webkit-border-radius: 0;
205 border-width: 0px 12px;*/
218 dialog
> panel
> label
{
220 margin: 13px 0 -4px 24px;
225 text-shadow: rgba
(255, 255, 255, 0.75) 1px 1px 0;
230 fieldset
> textarea
{
231 border-top: 1px solid
#999999;
233 /* XXX: small differences due to font bugs */
234 padding: 13px 14px 11px 14px;
237 fieldset
> a:first-child
,
238 fieldset
> div:first-child
{
242 fieldset
> a img
.icon
,
243 fieldset
> div img
.icon
{
245 /* XXX: small differences due to font bugs */
246 margin: -7px 6px -9px -8px;
254 fieldset
> div
> ul
{
258 fieldset
> div
> ul
{
267 fieldset
> div
> p:first-child
,
268 fieldset
> div
> ul:first-child
{
272 fieldset
> div
> p:last-child
,
273 fieldset
> div
> ul:last-child
{
283 fieldset
> div
> input
,
284 fieldset
> div
> select
{
286 -webkit-box-shadow: none
;
287 -webkit-appearance: none
;
291 fieldset
> div
> select
{
292 background: no-repeat url
(chevron.png);
296 background-position-y: 13px;
299 fieldset
> div
> select
{
300 background-position-y: 11px;
303 dialog
> fieldset
> a
{
304 background-position-x: 295px;
307 dialog
> panel
> fieldset
> a
{
308 background-position-x: 275px;
311 dialog
> fieldset
> div
> select
{
312 background-position-x: 192px;
315 dialog
> panel
> fieldset
> div
> select
{
316 background-position-x: 163px;
320 fieldset
> div
> input
,
321 fieldset
> div
> select
,
322 fieldset
> a
> div
> label
+ div
,
323 fieldset
> div
> div
> label
+ div
{
328 fieldset
> div
> input
,
329 fieldset
> div
> select
{
333 fieldset
> div
> input
{
338 fieldset
> div
> select
,
339 fieldset
> div
> input
{
343 margin: -11px -13px -11px -14px;
346 dialog
> panel
> fieldset
> div
> select
,
347 dialog
> panel
> fieldset
> div
> input
{
351 dialog
> fieldset
> div
> select
,
352 dialog
> fieldset
> div
> input
{
356 fieldset
> textarea
{
361 fieldset
> div
> div
,
363 display: inline-block
;
366 fieldset
> div
> div
{
374 fieldset
> div
> img
.icon
+ div
{
378 fieldset
> a
> img
.icon
+ div
{
382 fieldset
> a
> label
,
383 fieldset
> a
> div
> label
,
384 fieldset
> div
> label
,
385 fieldset
> div
> div
> label
{
389 dialog
> fieldset
> a
> div
> label
+ div
,
390 dialog
> fieldset
> div
> div
> label
+ div
{
394 dialog
> panel
> fieldset
> a
> div
> label
+ div
,
395 dialog
> panel
> fieldset
> div
> div
> label
+ div
{
400 dialog
> panel
> img
{
402 margin: 9px auto
4px auto
;