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