]> git.saurik.com Git - cydia.git/blob - Cydia.app/menes/style.css
Fixed min-height on selection row thingees.
[cydia.git] / Cydia.app / menes / style.css
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
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: block;
50 }
51 /* }}} */
52
53 * {
54 border: 0;
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;
60 font-family: inherit;
61 font-size: 100%;
62 font-style: inherit;
63 font-weight: inherit;
64 margin: 0;
65 outline: 0;
66 padding: 0;
67 text-decoration: none;
68 vertical-align: baseline;
69 }
70
71 a {
72 color: inherit;
73 }
74
75 sup {
76 font-size: smaller;
77 margin-top: -6px;
78 position: relative;
79 top: -6px;
80 }
81
82 select {
83 border: 1px solid #999999;
84 }
85
86 body {
87 font-family: Helvetica;
88 -webkit-text-size-adjust: none;
89 -webkit-user-select: none;
90 }
91
92 body.pinstripe {
93 background: #c7ced5 url(cydia://uikit-image/UIPinstripe.png);
94 }
95
96 dialog {
97 display: block;
98 position: absolute;
99 width: 100%;
100 }
101
102 dialog > panel {
103 display: block;
104 padding: 1px 0;
105 }
106
107 a {
108 color: blue;
109 text-underline-style: dotted;
110 }
111
112 strong {
113 font-weight: bold
114 }
115
116 pre, tt {
117 font-family: monospace;
118 }
119
120 pre {
121 letter-spacing: -2px;
122 }
123
124 .default {
125 color: #aaaabb;
126 }
127
128 /* #toolbar {{{ */
129 dialog > toolbar {
130 background: url(toolbar.png) #6d84a2 repeat-x;
131 border-bottom: 1px solid #2d3642;
132 height: 45px;
133 padding: 10px;
134 }
135
136 dialog > toolbar > h1 {
137 color: #ffffff;
138 font-size: 20px;
139 font-weight: bold;
140 height: 100%;
141 margin: 1px auto 0 auto;
142 text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
143 text-align: center;
144 white-space: nowrap;
145 }
146 /* }}} */
147 /* (back|forward)-button {{{ */
148 dialog > toolbar > a.back-button,
149 dialog > toolbar > a.forward-button {
150 color: #ffffff;
151 font-size: 12px;
152 font-weight: bold;
153 height: 30px;
154 line-height: 30px;
155 margin-top: -28px;
156 padding: 0 3px;
157 text-decoration: none;
158 text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
159 white-space: nowrap;
160 }
161
162 dialog > toolbar > a.back-button {
163 -webkit-border-image: url(backButton.png) 0 8 0 14;
164 border-width: 0 8px 0 14px;
165 float: left;
166 }
167
168 dialog > toolbar > a.forward-button {
169 -webkit-border-image: url(toolButton.png) 0 5 0 5;
170 border-width: 0 5px;
171 float: right;
172 }
173 /* }}} */
174 /* fieldset {{{ */
175 dialog > panel > block {
176 background-color: #c7ced5;
177 border-bottom: 1px solid #999999;
178 border-top: 1px solid #999999;
179 display: block;
180 font-size: 16px;
181 margin: 9px 10px;
182 padding: 0 10px;
183 }
184
185 dialog > panel > block > hr {
186 border-width: 1px 0 0 0;
187 }
188
189 dialog > panel > fieldset {
190 background-color: #ffffff;
191 border: 1px solid #999999;
192 -webkit-border-radius: 10px;
193 font-size: 16px;
194 margin: 9px;
195 }
196
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;*/
201 border: none;
202 color: #000000;
203 display: block;
204 font-size: 20px;
205 font-weight: bold;
206 margin: 9px;
207 height: 44px;
208 padding: 10px;
209 text-align: center;
210 width: 302px;
211 }
212
213 dialog > panel > label {
214 display: block;
215 margin: 13px 0 -4px 27px;
216 line-height: 24px;
217 font-size: inherit;
218 font-weight: bold;
219 color: #4d4d70;
220 text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0;
221 }
222
223 fieldset > a,
224 fieldset > div,
225 fieldset > textarea {
226 border-top: 1px solid #999999;
227 min-height: 40px;
228 padding: 12px 17px 11px 17px;
229 }
230
231 fieldset > a:first-child,
232 fieldset > div:first-child {
233 border-top: none;
234 }
235
236 fieldset > a img.icon,
237 fieldset > div img.icon {
238 height: auto;
239 margin: -13px 5px -10px -10px;
240 max-height: 30px;
241 min-width: 30px;
242 width: 30px;
243 }
244
245 panel > block > p,
246 fieldset > div > p,
247 fieldset > div > ul {
248 margin: 11px 0;
249 }
250
251 fieldset > div > ul {
252 margin-left: 13px;
253 }
254
255 panel > block > p,
256 fieldset > div > p {
257 text-align: center;
258 }
259
260 fieldset > div > p:first-child,
261 fieldset > div > ul:first-child {
262 margin-top: 0;
263 }
264
265 fieldset > div > p:last-child,
266 fieldset > div > ul:last-child {
267 margin-bottom: 0;
268 }
269
270 fieldset > a {
271 color: inherit;
272 display: block;
273 }
274
275 fieldset > textarea,
276 fieldset > div > input,
277 fieldset > div > select {
278 background: none;
279 -webkit-box-shadow: none;
280 -webkit-appearance: none;
281 }
282
283 fieldset > a,
284 fieldset > div > select {
285 background: no-repeat url(chevron.png);
286 background-position-y: 13px;
287 }
288
289 dialog > fieldset > a {
290 background-position-x: 295px;
291 }
292
293 dialog > panel > fieldset > a {
294 background-position-x: 275px;
295 }
296
297 dialog > fieldset > div > select {
298 background-position-x: 192px;
299 }
300
301 dialog > panel > fieldset > div > select {
302 background-position-x: 172px;
303 }
304
305 fieldset > textarea,
306 fieldset > div > input,
307 fieldset > div > select,
308 fieldset > a > label + div,
309 fieldset > div > label + div {
310 color: #193250;
311 }
312
313 fieldset > textarea,
314 fieldset > div > input,
315 fieldset > div > select {
316 font-size: 16px;
317 }
318
319 fieldset > div > select,
320 fieldset > div > input {
321 border: none;
322 height: 44px;
323 margin: -13px -17px -13px 86px;
324 }
325
326 dialog > panel > fieldset > div > select,
327 dialog > panel > fieldset > div > input {
328 width: 187px;
329 }
330
331 dialog > fieldset > div > select,
332 dialog > fieldset > div > input {
333 width: 207px;
334 }
335
336 fieldset > div > input {
337 padding: 13px 7px;
338 }
339
340 fieldset > textarea {
341 padding: 10px;
342 width: 320px;
343 }
344
345 fieldset > a > label,
346 fieldset > div > label {
347 font-weight: bold;
348 padding: 1px 0 0 0;
349 position: absolute;
350 }
351
352 fieldset > a > label + div {
353 margin-right: 16px;
354 }
355
356 dialog > fieldset > a > label + div,
357 dialog > fieldset > div > label + div {
358 margin-left: 94px;
359 }
360
361 dialog > panel > fieldset > a > label + div,
362 dialog > panel > fieldset > div > label + div {
363 float: right;
364 text-align: right;
365 }
366
367 dialog > panel > img {
368 display: block;
369 margin: 9px auto 4px auto;
370 height: auto;
371 width: 300px;
372 }
373 /* }}} */