]>
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
;
65 vertical-align: baseline
;
69 border: 1px solid
#999999;
73 font-family: Helvetica
;
74 -webkit-text-size-adjust: none
;
75 -webkit-user-select: none
;
79 background: #c7ced5 url
(pinstripes.png);
95 text-decoration: none
;
96 text-underline-style: dotted
;
108 font-family: monospace
;
112 letter-spacing: -2px;
117 background: url
(toolbar.png) #6d84a2 repeat-x
;
118 border-bottom: 1px solid
#2d3642;
123 dialog
> toolbar
> h1
{
128 margin: 1px auto
0 auto
;
129 text-shadow: rgba
(0, 0, 0, 0.4) 0px -1px 0;
134 /* (back|forward)-button {{{ */
135 dialog
> toolbar
> a
.back-button
,
136 dialog
> toolbar
> a
.forward-button
{
144 text-decoration: none
;
145 text-shadow: rgba
(0, 0, 0, 0.6) 0px -1px 0;
149 dialog
> toolbar
> a
.back-button
{
150 -webkit-border-image: url
(backButton.png) 0 8 0 14;
151 border-width: 0 8px 0 14px;
155 dialog
> toolbar
> a
.forward-button
{
156 -webkit-border-image: url
(toolButton.png) 0 5 0 5;
162 dialog
> panel
> block
{
163 background-color: #c7ced5;
164 border-bottom: 1px solid
#999999;
165 border-top: 1px solid
#999999;
172 dialog
> panel
> block
> hr
{
173 border-width: 1px 0 0 0;
176 dialog
> panel
> fieldset
{
177 background-color: #ffffff;
178 border: 1px solid
#999999;
179 -webkit-border-radius: 10px;
184 dialog
> panel
> label
{
186 margin: 13px 0 -4px 27px;
191 text-shadow: rgba
(255, 255, 255, 0.75) 1px 1px 0;
196 fieldset
> textarea
{
197 border-top: 1px solid
#999999;
199 padding: 12px 17px 11px 17px;
202 fieldset
> a:first-child
,
203 fieldset
> div:first-child
{
207 fieldset
> a img
.icon
,
208 fieldset
> div img
.icon
{
210 margin: -13px 5px -10px -10px;
222 fieldset
> div
> ul
{
226 fieldset
> div
> p:first-child
,
227 fieldset
> div
> ul:first-child
{
231 fieldset
> div
> p:last-child
,
232 fieldset
> div
> ul:last-child
{
236 dialog
> fieldset
> a
{
237 background: 295px 13px no-repeat url
(listArrow.png);
240 dialog
> panel
> fieldset
> a
{
241 background: 275px 13px no-repeat url
(listArrow.png);
249 dialog
> fieldset
> div
> select
{
251 margin: -13px -17px -13px 86px;
258 dialog
> panel
> fieldset
> div
> select
{
259 margin: -5px -10px -5px 86px;
260 -webkit-border-radius: 5px;
265 fieldset
> div
> input
{
270 fieldset
> div
> input
,
271 fieldset
> div
> select
,
272 fieldset
> a
> label
+ div
,
273 fieldset
> div
> label
+ div
{
278 fieldset
> div
> input
,
279 fieldset
> div
> select
{
283 fieldset
> div
> input
{
287 padding: 13px 10px 0 111px;
290 fieldset
> textarea
{
295 dialog
> panel
> fieldset
> div
> input
{
299 dialog
> fieldset
> div
> input
{
303 fieldset
> div
> input
[type
="submit"] {
304 border-width: 0 12px;
311 -webkit-border-image: url
(whiteButton.png) 0 12 0 12;
314 fieldset
> a
> label
,
315 fieldset
> div
> label
{
321 fieldset
> a
> label
+ div
{
325 dialog
> fieldset
> a
> label
+ div
,
326 dialog
> fieldset
> div
> label
+ div
{
330 dialog
> panel
> fieldset
> a
> label
+ div
,
331 dialog
> panel
> fieldset
> div
> label
+ div
{
336 dialog
> panel
> img
{
338 margin: 9px auto
4px auto
;