]>
git.saurik.com Git - cydia.git/blob - Cydia.app/menes/style.css
223c975e310214bb3e13ab9e3134a854b07addd9
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
;
76 border: 1px solid
#999999;
80 font-family: Helvetica
;
81 -webkit-text-size-adjust: none
;
82 -webkit-user-select: none
;
86 background: #c7ced5 url
(pinstripes.png);
102 text-decoration: none
;
103 text-underline-style: dotted
;
115 font-family: monospace
;
119 letter-spacing: -2px;
128 background: url
(toolbar.png) #6d84a2 repeat-x
;
129 border-bottom: 1px solid
#2d3642;
134 dialog
> toolbar
> h1
{
139 margin: 1px auto
0 auto
;
140 text-shadow: rgba
(0, 0, 0, 0.4) 0px -1px 0;
145 /* (back|forward)-button {{{ */
146 dialog
> toolbar
> a
.back-button
,
147 dialog
> toolbar
> a
.forward-button
{
155 text-decoration: none
;
156 text-shadow: rgba
(0, 0, 0, 0.6) 0px -1px 0;
160 dialog
> toolbar
> a
.back-button
{
161 -webkit-border-image: url
(backButton.png) 0 8 0 14;
162 border-width: 0 8px 0 14px;
166 dialog
> toolbar
> a
.forward-button
{
167 -webkit-border-image: url
(toolButton.png) 0 5 0 5;
173 dialog
> panel
> block
{
174 background-color: #c7ced5;
175 border-bottom: 1px solid
#999999;
176 border-top: 1px solid
#999999;
183 dialog
> panel
> block
> hr
{
184 border-width: 1px 0 0 0;
187 dialog
> panel
> fieldset
{
188 background-color: #ffffff;
189 border: 1px solid
#999999;
190 -webkit-border-radius: 10px;
195 dialog
> panel
> input
[type
="submit"] {
196 /*-webkit-border-image: url(whiteButton.png) 0 12 0 12;
197 -webkit-border-radius: 0;
198 border-width: 0px 12px;*/
211 dialog
> panel
> label
{
213 margin: 13px 0 -4px 27px;
218 text-shadow: rgba
(255, 255, 255, 0.75) 1px 1px 0;
223 fieldset
> textarea
{
224 border-top: 1px solid
#999999;
226 padding: 12px 17px 11px 17px;
229 fieldset
> a:first-child
,
230 fieldset
> div:first-child
{
234 fieldset
> a img
.icon
,
235 fieldset
> div img
.icon
{
237 margin: -13px 5px -10px -10px;
249 fieldset
> div
> ul
{
253 fieldset
> div
> p:first-child
,
254 fieldset
> div
> ul:first-child
{
258 fieldset
> div
> p:last-child
,
259 fieldset
> div
> ul:last-child
{
269 fieldset
> div
> input
,
270 fieldset
> div
> select
{
272 -webkit-box-shadow: none
;
273 -webkit-appearance: none
;
277 fieldset
> div
> select
{
278 background: no-repeat url
(chevron.png);
279 background-position-y: 13px;
282 dialog
> fieldset
> a
{
283 background-position-x: 295px;
286 dialog
> panel
> fieldset
> a
{
287 background-position-x: 275px;
290 dialog
> fieldset
> div
> select
{
291 background-position-x: 192px;
294 dialog
> panel
> fieldset
> div
> select
{
295 background-position-x: 172px;
299 fieldset
> div
> input
,
300 fieldset
> div
> select
,
301 fieldset
> a
> label
+ div
,
302 fieldset
> div
> label
+ div
{
307 fieldset
> div
> input
,
308 fieldset
> div
> select
{
312 fieldset
> div
> select
,
313 fieldset
> div
> input
{
316 margin: -13px -17px -13px 86px;
319 dialog
> panel
> fieldset
> div
> select
,
320 dialog
> panel
> fieldset
> div
> input
{
324 dialog
> fieldset
> div
> select
,
325 dialog
> fieldset
> div
> input
{
329 fieldset
> div
> input
{
333 fieldset
> textarea
{
338 fieldset
> a
> label
,
339 fieldset
> div
> label
{
345 fieldset
> a
> label
+ div
{
349 dialog
> fieldset
> a
> label
+ div
,
350 dialog
> fieldset
> div
> label
+ div
{
354 dialog
> panel
> fieldset
> a
> label
+ div
,
355 dialog
> panel
> fieldset
> div
> label
+ div
{
360 dialog
> panel
> img
{
362 margin: 9px auto
4px auto
;