Export 0.1.45
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / docs / _assets / css / jqm-docs.css
1 /* jqm docs css
2
3 Beware: lots of last-minute CSS going on in here 
4 cobblers, shoes, 
5 */
6
7 body { background: #dddddd; }
8 .ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
9 .ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center;  margin: 0 auto; }
10 .ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
11 .ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
12 .ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: -11px; right: 0; }
13 .ui-mobile .jqm-themeswitcher { margin: 10px 25px 10px 10px;  }
14
15 h2 { margin:1.2em 0 .4em 0; }
16 p code { font-size:1.2em; font-weight:bold; } 
17 h4 code {font-size:1.2em; font-weight:bold; }
18
19 dt { font-weight: bold; margin: 2em 0 .5em; }
20 dt code, dd code { font-size:1.3em; line-height:150%; }
21 pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
22
23 #jqm-homeheader img { width: 235px; }
24 img { max-width: 100%; }
25
26 /* fluid images moved from jquery.mobile.core.css*/
27 .ui-mobile img {
28         max-width: 100%;
29 }
30
31 .ui-header .jqm-home { top: 0; }
32 nav { margin: 0; }
33
34
35
36 p.intro {
37         font-size: .96em;
38         line-height: 1.3;
39                 border-top: 1px solid #75ae18;
40                 border-bottom: 0;
41                 background: none;
42                 margin: 1.5em 0;
43                 padding: 1.5em 15px 0;
44
45 }
46 p.intro strong {
47         color:  #558e08;
48 }
49 .footer-docs {
50         padding: 5px 0;
51 }
52 .footer-docs p {
53         margin-left:15px;
54         font-weight: normal;
55         font-size: .9em;
56 }
57
58 .type-interior .content-secondary {
59         border-right: 0;
60         border-left: 0;
61         margin: 10px -15px 0;
62         background: #fff;
63         border-top: 1px solid #ccc;
64 }
65 .type-home .ui-content {
66         margin-top: 5px;
67 }
68 .type-interior .ui-content {
69         padding-bottom: 0;
70 }
71 .content-secondary .ui-collapsible {
72         padding: 0 15px 10px;
73
74 }
75 .content-secondary .ui-collapsible-content {
76         padding: 0;
77         background: none;
78         border-bottom: none;
79 }
80 .content-secondary .ui-listview {
81         margin: 0;
82 }
83 /* new API additions */
84
85 dt {  
86         margin: 35px 0 15px 0; 
87         background-color:#ddd; 
88         font-weight:normal;
89 }
90 dt code { 
91         display:inline-block; 
92         font-weight:bold;
93         color:#56A00E; 
94         padding:3px 7px; 
95         margin-right:10px; 
96         background-color:#fff; 
97 }
98 dd { 
99         margin-bottom:10px; 
100 }
101 dd .default { font-weight:bold; }
102 dd pre { 
103         margin:0 0 0 0; 
104 }
105 dd code { font-weight: normal; }
106 dd pre code { 
107         margin:0; 
108         border:none; 
109         font-weight:normal; 
110         font-size:100%; 
111         background-color:transparent; 
112 }
113 dd h4 { margin:15px 0 0 0; }
114                 
115 .localnav {
116         margin:0 0 20px 0;
117         overflow:hidden;
118 }
119 .localnav li {
120         float:left;
121 }
122 .localnav .ui-btn-inner { 
123         padding: .6em 10px; 
124         font-size:80%; 
125 }
126
127 /* custom dialog for the photos sharing */
128 .ui-dialog.dialog-actionsheet .ui-dialog-contain {
129         margin-top: 0;
130 }
131
132
133
134 /* F bar theme - just for the docs overview headers */
135 .ui-bar-f {
136         border: 1px solid #56A00E;
137         background:                     #74b042;
138         color:                                  #fff;
139         font-weight: bold;
140         text-shadow: 0 1px 1px #335413; 
141         background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */
142         background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */
143         background-image:    -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */
144         background-image:     -ms-linear-gradient(#74b042, #56A00E); /* IE10 */
145         background-image:      -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */
146         background-image:         linear-gradient(#74b042, #56A00E);            
147 }
148 .ui-bar-f, 
149 .ui-bar-f input, 
150 .ui-bar-f select, 
151 .ui-bar-f textarea, 
152 .ui-bar-f button {
153         font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
154 }
155
156 .ui-bar-f,
157 .ui-bar-f .ui-link-inherit {
158         color:                                  #fff;
159 }
160 .ui-bar-f .ui-link {
161         color:                                  #fff;
162         font-weight: bold;
163 }
164 .ui-btn-up-f {
165         border: 1px solid               #3B6F07;
166         background:                     #56A00E;
167         font-weight: bold;
168         color:                                  #fff;
169         text-shadow: 0 1px 1px #234403;
170         background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */
171         background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */
172         background-image:    -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */
173         background-image:     -ms-linear-gradient(#74b042, #56A00E); /* IE10 */
174         background-image:      -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */
175         background-image:         linear-gradient(#74b042, #56A00E);
176 }
177 .ui-btn-up-f a.ui-link-inherit {
178         color:                                  #fff;
179 }
180 .ui-btn-hover-f {
181         border: 1px solid               #3B6F07;
182         background:                     #6EBC1F;
183         font-weight: bold;
184         color:                                  #fff;
185         text-shadow: 0 1px 1px #234403;
186         background-image: -webkit-gradient(linear, left top, left bottom, from(#8FC963), to(#6EBC1F)); /* Saf4+, Chrome */
187         background-image: -webkit-linear-gradient(#8FC963, #6EBC1F); /* Chrome 10+, Saf5.1+ */
188         background-image:    -moz-linear-gradient(#8FC963, #6EBC1F); /* FF3.6 */
189         background-image:     -ms-linear-gradient(#8FC963, #6EBC1F); /* IE10 */
190         background-image:      -o-linear-gradient(#8FC963, #6EBC1F); /* Opera 11.10+ */
191         background-image:         linear-gradient(#8FC963, #6EBC1F);
192 }
193 .ui-btn-hover-f a.ui-link-inherit {
194         color:                                  #fff;
195 }
196 .ui-btn-down-f {
197         border: 1px solid               #3B6F07;
198         background:                     #3d3d3d;
199         font-weight: bold;
200         color:                                  #fff;
201         text-shadow: 0 1px 1px #234403;
202         background-image: -webkit-gradient(linear, left top, left bottom, from(#56A00E), to(#64A234)); /* Saf4+, Chrome */
203         background-image: -webkit-linear-gradient(#56A00E, #64A234); /* Chrome 10+, Saf5.1+ */
204         background-image:    -moz-linear-gradient(#56A00E, #64A234); /* FF3.6 */
205         background-image:     -ms-linear-gradient(#56A00E, #64A234); /* IE10 */
206         background-image:      -o-linear-gradient(#56A00E, #64A234); /* Opera 11.10+ */
207         background-image:         linear-gradient(#56A00E, #64A234);
208 }
209 .ui-btn-down-f a.ui-link-inherit {
210         color:                                  #fff;
211 }
212 .ui-btn-up-f,
213 .ui-btn-hover-f,
214 .ui-btn-down-f {
215         font-family: Helvetica, Arial, sans-serif;
216         text-decoration: none;
217 }
218
219
220
221
222 /* docs site layout */
223
224 @media all and (min-width: 650px){
225         
226
227         .type-home .ui-content {
228                 margin-top: 5px;
229         }
230         .ui-mobile #jqm-homeheader {
231                 max-width: 340px;
232         }
233         .ui-mobile .jqm-themeswitcher {
234                 float: right;
235         }
236         p.intro {
237                 margin: 2em 0;
238         }
239         .type-home .ui-content,
240         .type-interior .ui-content {
241                 padding: 0;
242                 background: url(../images/px-ccc.gif) 50% 0 repeat-y;
243         }
244         .type-interior .ui-content {
245                 background-position: 45%;
246                 overflow: hidden;
247         }
248         .content-secondary {
249                 text-align: left;
250                 float: left;
251                 width: 45%;
252                 background: none;
253         }
254         .content-secondary,
255         .type-interior .content-secondary {
256                 margin: 30px 0 20px 2%;
257                 padding: 20px 4% 0 0;
258                         background: none;
259                                         border-top: none;
260         }
261         .type-index .content-secondary {
262                 padding: 0;
263         }
264         .content-secondary .ui-collapsible {
265                 margin: 0;
266                 padding: 0;
267         }
268         .content-secondary .ui-collapsible-content {
269                 border: none;
270         }
271         .type-index .content-secondary .ui-listview {
272                 margin: 0;
273         }
274
275         .ui-mobile #jqm-homeheader {
276                 padding: 0;
277         }
278         .content-primary {
279                 width: 45%;
280                 float: right;
281                 margin-top: 30px;
282                 margin-right: 1%;
283                 padding-right: 1%;
284         }
285         .content-primary ul:first-child {
286                 margin-top: 0;
287         }
288         .content-secondary h2 {
289                 position: absolute;
290                 left: -9999px;
291         }
292         .type-interior .content-primary {
293                 padding: 1.5em 6% 3em 0;
294                 margin: 0;
295         }
296         /* fix up the collapsibles - expanded on desktop */
297         .content-secondary .ui-collapsible-heading {
298                 display: none;
299         }
300         .content-secondary .ui-collapsible-contain {
301                 margin:0;
302         }
303         .content-secondary .ui-collapsible-content {
304                 display: block;
305                 margin: 0;
306                 padding: 0;
307         }
308         .type-interior  .content-secondary .ui-li-divider {
309                 padding-top: 1em;
310                 padding-bottom: 1em;
311         }
312         .type-interior .content-secondary {
313                 margin: 0;
314                 padding: 0;
315         }
316         
317 }
318 @media all and (min-width: 750px){
319         .type-home .ui-content,
320         .type-interior .ui-content {
321                 background-position: 39%;
322         }
323         .content-secondary {
324                 width: 34%;
325         }
326         .content-primary {
327                 width: 56%;
328                 padding-right: 1%;
329         }       
330         .type-interior .ui-content {
331                 background-position: 34%;
332         }
333 }
334
335 @media all and (min-width: 1200px){
336         .type-home .ui-content{
337                 background-position: 38.5%;
338         }
339         .type-interior .ui-content {
340                 background-position: 30%;
341         }
342         .content-secondary {
343                 width: 30%;
344                 padding-right:6%;
345                 margin: 30px 0 20px 5%;
346         }
347         .type-interior .content-secondary {
348                 margin: 0;
349                 padding: 0;
350         }
351         .content-primary {
352                 width: 50%;
353                 margin-right: 5%;
354                 padding-right: 3%;
355         }
356         .type-interior .content-primary {
357                 width: 60%;
358         }
359 }