]>
git.saurik.com Git - cydia.git/blob - Cydia.app/menes/style.css
0397b5e290e6e1519e311fb13399181b6f12166f
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;
130 background: url
(toolbar.png) #6d84a2 repeat-x
;
131 border-bottom: 1px solid
#2d3642;
136 dialog
> toolbar
> h1
{
141 margin: 1px auto
0 auto
;
142 text-shadow: rgba
(0, 0, 0, 0.4) 0px -1px 0;
147 /* (back|forward)-button {{{ */
148 dialog
> toolbar
> a
.back-button
,
149 dialog
> toolbar
> a
.forward-button
{
157 text-decoration: none
;
158 text-shadow: rgba
(0, 0, 0, 0.6) 0px -1px 0;
162 dialog
> toolbar
> a
.back-button
{
163 -webkit-border-image: url
(backButton.png) 0 8 0 14;
164 border-width: 0 8px 0 14px;
168 dialog
> toolbar
> a
.forward-button
{
169 -webkit-border-image: url
(toolButton.png) 0 5 0 5;
175 dialog
> panel
> block
{
176 background-color: #c7ced5;
177 border-bottom: 1px solid
#999999;
178 border-top: 1px solid
#999999;
185 dialog
> panel
> block
> hr
{
186 border-width: 1px 0 0 0;
189 dialog
> panel
> fieldset
{
190 background-color: #ffffff;
191 border: 1px solid
#999999;
192 -webkit-border-radius: 10px;
197 dialog
> panel
> input
[type
="submit"] {
198 /*-webkit-border-image: url(whiteButton.png) 0 12 0 12;
199 -webkit-border-radius: 0;
200 border-width: 0px 12px;*/
213 dialog
> panel
> label
{
215 margin: 13px 0 -4px 27px;
220 text-shadow: rgba
(255, 255, 255, 0.75) 1px 1px 0;
225 fieldset
> textarea
{
226 border-top: 1px solid
#999999;
228 padding: 12px 17px 11px 17px;
231 fieldset
> a:first-child
,
232 fieldset
> div:first-child
{
236 fieldset
> a img
.icon
,
237 fieldset
> div img
.icon
{
239 margin: -13px 5px -10px -10px;
247 fieldset
> div
> ul
{
251 fieldset
> div
> ul
{
260 fieldset
> div
> p:first-child
,
261 fieldset
> div
> ul:first-child
{
265 fieldset
> div
> p:last-child
,
266 fieldset
> div
> ul:last-child
{
276 fieldset
> div
> input
,
277 fieldset
> div
> select
{
279 -webkit-box-shadow: none
;
280 -webkit-appearance: none
;
284 fieldset
> div
> select
{
285 background: no-repeat url
(chevron.png);
286 background-position-y: 13px;
289 dialog
> fieldset
> a
{
290 background-position-x: 295px;
293 dialog
> panel
> fieldset
> a
{
294 background-position-x: 275px;
297 dialog
> fieldset
> div
> select
{
298 background-position-x: 192px;
301 dialog
> panel
> fieldset
> div
> select
{
302 background-position-x: 172px;
306 fieldset
> div
> input
,
307 fieldset
> div
> select
,
308 fieldset
> a
> label
+ div
,
309 fieldset
> div
> label
+ div
{
314 fieldset
> div
> input
,
315 fieldset
> div
> select
{
319 fieldset
> div
> select
,
320 fieldset
> div
> input
{
323 margin: -13px -17px -13px 86px;
326 dialog
> panel
> fieldset
> div
> select
,
327 dialog
> panel
> fieldset
> div
> input
{
331 dialog
> fieldset
> div
> select
,
332 dialog
> fieldset
> div
> input
{
336 fieldset
> div
> input
{
340 fieldset
> textarea
{
345 fieldset
> a
> label
,
346 fieldset
> div
> label
{
352 fieldset
> a
> label
+ div
{
356 dialog
> fieldset
> a
> label
+ div
,
357 dialog
> fieldset
> div
> label
+ div
{
361 dialog
> panel
> fieldset
> a
> label
+ div
,
362 dialog
> panel
> fieldset
> div
> label
+ div
{
367 dialog
> panel
> img
{
369 margin: 9px auto
4px auto
;