]> git.saurik.com Git - cydia.git/blame - Cydia.app/menes/style.css
Minor adjustments.
[cydia.git] / Cydia.app / menes / style.css
CommitLineData
e04c7a62
JF
1/* iPhone.css - iPhone Interface Cascading Style Sheet
2 * Copyright (C) 2007-2008 Jay Freeman (saurik)
3*/
4
5/*
6 * Redistribution and use in source and binary
7 * forms, with or without modification, are permitted
8 * provided that the following conditions are met:
9 *
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
17 * distribution.
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.
21 *
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.
36*/
37
6f1a15d9
JF
38/* .clearfix {{{ */
39.clearfix:after {
40 content: ".";
41 display: block;
42 clear: both;
43 visibility: hidden;
44 line-height: 0;
45 height: 0;
46}
47
48.clearfix {
49 display: inline-block;
50}
51
52html[xmlns] .clearfix {
53 display: block;
54}
55
56* html .clearfix {
57 height: 1%;
58}
59/* }}} */
60
61* {
62 box-sizing: border-box;
63 -moz-box-sizing: border-box;
64}
65
66body {
67 font-family: Helvetica;
68 margin: 0;
69 padding: 0;
70 -webkit-text-size-adjust: none;
71 -webkit-user-select: none;
72}
73
74#page {
75 position: relative;
76}
77
78.dialog {
79 position: absolute;
80 width: 100%;
81}
82
83hr {
7d2ac47f 84 margin: 0;
6f1a15d9
JF
85}
86
87.dialog > .panel {
affeffc7 88 background: #c7ced5 url(pinstripes.png);
6f1a15d9
JF
89 padding: 1px 0 1px 0;
90}
91
92p {
93 margin: 0px;
94 padding: 0px;
95}
96
97a {
98 text-decoration: none;
99 text-underline-style: dotted;
100}
101
102strong {
103 font-weight: bold
104}
105
affeffc7
JF
106pre {
107 letter-spacing: -2px;
108}
109
6f1a15d9
JF
110/* #toolbar {{{ */
111.dialog > .toolbar {
112 background: url(toolbar.png) #6d84a2 repeat-x;
113 border-bottom: 1px solid #2d3642;
114 height: 45px;
115 padding: 10px;
116}
117
118.dialog > .toolbar > h1 {
119 color: #ffffff;
120 font-size: 20px;
121 font-weight: bold;
122 height: 100%;
123 margin: 1px auto 0 auto;
124 text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
125 text-align: center;
126 white-space: nowrap;
127}
128/* }}} */
129/* (back|forward)-button {{{ */
130.dialog > .toolbar > a.back-button,
131.dialog > .toolbar > a.forward-button {
132 color: #ffffff;
133 font-size: 12px;
134 font-weight: bold;
135 height: 30px;
136 line-height: 30px;
137 margin-top: -28px;
138 padding: 0 3px;
139 text-decoration: none;
140 text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
141 white-space: nowrap;
142}
143
144.dialog > .toolbar > a.back-button {
145 -webkit-border-image: url(backButton.png) 0 8 0 14;
146 border-width: 0 8px 0 14px;
147 float: left;
148}
149
150.dialog > .toolbar > a.forward-button {
151 -webkit-border-image: url(toolButton.png) 0 5 0 5;
152 border-width: 0 5px;
153 float: right;
154}
155/* }}} */
156/* fieldset {{{ */
157.dialog > .panel > fieldset {
158 background: #ffffff;
159 border: 1px solid #999999;
160 -webkit-border-radius: 10px;
161 font-size: 16px;
162 margin: 9px;
163 padding: 0;
164}
165
166.dialog > .panel > label {
167 display: block;
168 margin: 13px 0 -4px 27px;
169 line-height: 24px;
170 font-size: inherit;
171 font-weight: bold;
172 color: #4d4d70;
173 text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0;
174}
175
176.dialog > .panel > fieldset > a,
177.dialog > .panel > fieldset > div {
178 border-top: 1px solid #999999;
179 min-height: 19px;
affeffc7 180 padding: 12px 17px 11px 17px;
6f1a15d9
JF
181}
182
183.dialog > .panel > fieldset > a:first-child,
184.dialog > .panel > fieldset > div:first-child {
185 border-top: none;
186}
187
188.dialog > .panel > fieldset > a img.icon,
189.dialog > .panel > fieldset > div img.icon {
190 height: auto;
191 margin: -13px 5px -10px -10px;
192 max-height: 30px;
193 min-width: 30px;
194 vertical-align: middle;
195 width: 30px;
196}
197
198.dialog > .panel > fieldset > div > p {
7d2ac47f 199 margin: 11px 0;
6f1a15d9
JF
200 text-align: center;
201}
202
affeffc7
JF
203.dialog > .panel > fieldset > div > ul {
204 margin-left: -20px;
205}
206
207.dialog > .panel > fieldset > div > p:first-child,
208.dialog > .panel > fieldset > div > ul:first-child {
6f1a15d9
JF
209 margin-top: 0;
210}
211
affeffc7
JF
212.dialog > .panel > fieldset > div > p:last-child,
213.dialog > .panel > fieldset > div > ul:last-child {
7d2ac47f
JF
214 margin-bottom: 0;
215}
216
6f1a15d9
JF
217.dialog > .panel > fieldset > a {
218 background: 275px 11px no-repeat url(listArrow.png);
219 color: inherit;
220 display: block;
221}
222
223.dialog > .panel > fieldset > div > select {
224 font-size: 16px;
affeffc7 225 margin: -5px -10px -5px 86px;
6f1a15d9
JF
226 width: 190px;
227}
228
229.dialog > .panel > fieldset > div > input {
230 background: none;
231 border: none;
232 color: #193250;
233 font-size: 16px;
234 height: 45px;
affeffc7
JF
235 margin: -13px -18px;
236 padding: 13px 10px 0 111px;
6f1a15d9
JF
237 width: 302px;
238}
239
240.dialog > .panel > fieldset > div > input[type="submit"] {
241 border-width: 0 12px;
242 color: #000000;
243 display: block;
244 font-size: 20px;
245 font-weight: bold;
246 padding: 10px;
247 text-align: center;
248 -webkit-border-image: url(whiteButton.png) 0 12 0 12;
249}
250
251.dialog > .panel > fieldset > a > label,
252.dialog > .panel > fieldset > div > label {
253 font-weight: bold;
affeffc7 254 padding: 1px 0 0 0;
6f1a15d9
JF
255 position: absolute;
256}
257
258.dialog > .panel > fieldset > a > label + div {
259 margin-right: 16px;
260}
261
262.dialog > .panel > fieldset > a > label + div,
263.dialog > .panel > fieldset > div > label + div {
264 color: #335588;
affeffc7 265 float: right;
6f1a15d9
JF
266 text-align: right;
267}
affeffc7
JF
268
269.dialog > .panel > img {
270 display: block;
271 margin: 9px auto 4px auto;
272 height: auto;
273 width: 300px;
274}
6f1a15d9 275/* }}} */