]>
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: 10px;
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 27px;
225 text-shadow: rgba
(255, 255, 255, 0.75) 1px 1px 0;
230 fieldset
> textarea
{
231 border-top: 1px solid
#999999;
233 padding: 12px 17px 11px 17px;
236 fieldset
> a:first-child
,
237 fieldset
> div:first-child
{
241 fieldset
> a img
.icon
,
242 fieldset
> div img
.icon
{
244 margin: -13px 5px -10px -10px;
252 fieldset
> div
> ul
{
256 fieldset
> div
> ul
{
265 fieldset
> div
> p:first-child
,
266 fieldset
> div
> ul:first-child
{
270 fieldset
> div
> p:last-child
,
271 fieldset
> div
> ul:last-child
{
281 fieldset
> div
> input
,
282 fieldset
> div
> select
{
284 -webkit-box-shadow: none
;
285 -webkit-appearance: none
;
289 fieldset
> div
> select
{
290 background: no-repeat url
(chevron.png);
291 background-position-y: 13px;
294 dialog
> fieldset
> a
{
295 background-position-x: 295px;
298 dialog
> panel
> fieldset
> a
{
299 background-position-x: 275px;
302 dialog
> fieldset
> div
> select
{
303 background-position-x: 192px;
306 dialog
> panel
> fieldset
> div
> select
{
307 background-position-x: 172px;
311 fieldset
> div
> input
,
312 fieldset
> div
> select
,
313 fieldset
> a
> label
+ div
,
314 fieldset
> div
> label
+ div
{
319 fieldset
> div
> input
,
320 fieldset
> div
> select
{
324 fieldset
> div
> select
,
325 fieldset
> div
> input
{
328 margin: -13px -17px -13px 86px;
331 dialog
> panel
> fieldset
> div
> select
,
332 dialog
> panel
> fieldset
> div
> input
{
336 dialog
> fieldset
> div
> select
,
337 dialog
> fieldset
> div
> input
{
341 fieldset
> div
> input
{
345 fieldset
> textarea
{
350 fieldset
> a
> label
,
351 fieldset
> div
> label
{
356 fieldset
> a
> label
+ div
{
360 dialog
> fieldset
> a
> label
+ div
,
361 dialog
> fieldset
> div
> label
+ div
{
365 dialog
> panel
> fieldset
> a
> label
+ div
,
366 dialog
> panel
> fieldset
> div
> label
+ div
{
371 dialog
> panel
> img
{
373 margin: 9px auto
4px auto
;