]> Shamusworld >> Repos - ardour-manual-diverged/blob - source/css/app.css
Documenting the Transport Bar and modifying the CSS for prettier checkboxes
[ardour-manual-diverged] / source / css / app.css
1 #tree {
2   background-color: #212A30;
3   height: 100%;
4   overflow: scroll;
5   position: fixed;
6   top: 0;
7   bottom: 0;
8   left: 0;
9   width: 300px;
10 }
11
12 #tree-inner {
13   padding: 15px 20px 30px 30px;  
14 }
15
16 #tree h1.title {
17   font-size: 28px;
18   margin-bottom: 20px;
19   font-weight: normal;
20 }
21
22 #tree h1.title a:hover {
23   border-bottom: none;
24 }
25
26 #tree a {
27   font-size: 14px; 
28   line-height: 28px;
29 }
30
31 #tree dd.other {
32   display: none;
33 }
34
35 #tree .level-1,
36 #tree .parent,
37 #tree .child,
38 #tree .parent *,
39 #tree .child * {
40   display: inherit; 
41   color: inherit;
42 }
43
44 #tree dd.child-1,
45 #tree .child-2,
46 #tree .child-3,
47 #tree .child-4 {
48   display: none; 
49 }
50
51
52 #search {
53   height: 70px;
54 }
55
56 #content {
57     padding: 10px 30px 30px 350px;
58     margin-left: 0;
59 }
60
61 #content-main {
62   padding-top: 10px;
63   padding-left: 10px;
64 }
65
66 #content p,
67 #content li,
68 #content dt,
69 #content dd {
70   font-size: 16px;
71   line-height: 28px; 
72 }
73
74
75 #tree a {
76     display: inline !important;
77     font-weight: normal; 
78     color: #E4E4E4;
79     border-bottom: 1px solid transparent;
80     padding-bottom: 2px;
81 }
82
83 #tree a:hover {
84     text-decoration: none;
85     border-bottom: 1px solid #aaa;
86 }
87
88 #tree .active > a {
89     display: inline;
90     color: #da0808;
91     border-bottom: 1px solid #FFF;
92
93 }
94
95 #content,
96 #tree {
97   font-family: Junge;
98 }
99
100 #content h1,
101 #content h2,
102 #content h3,
103 #content h4 {
104     font-weight: normal;
105 }
106
107 #content h1.title {
108  border-bottom: 2px solid #ccc;
109   padding-bottom: 10px;
110   margin-bottom: 40px;
111 }
112
113 #content h2 {
114   margin: 30px 0 20px 0;
115   padding-bottom: 5px;
116   font-size: 22px;
117   border-bottom: 2px solid #ddd;
118 }
119
120 #content h3 {
121  margin: 20px 0 10px 0; 
122   padding-bottom: 5px;
123   font-size: 20px;
124   border-bottom: 1px solid #eee;
125 }
126
127
128 #content h4 {
129   font-size: 18px;
130  margin: 20px 0 10px 0; 
131   padding-bottom: 10px;
132   border-bottom: 1px solid #eee;
133 }
134
135 #content code {
136   font-size: 14px;
137   color: #555;
138 }
139
140 #content dl
141 {
142     float:none;
143     clear:both;
144     width:100%;
145     margin: 1em 0;
146     padding: 0;
147 }
148
149 #content dl:after {
150     content:' ';
151     display:block;
152     clear:both;
153 }
154     
155 #content dt
156 {
157     clear: left;
158     float: left;
159     width: 25%;
160     margin: 0;
161     padding: 5px;
162     font-weight: normal;
163 }
164     
165 #content dd
166 {
167     float: left;
168     width: 65%;
169     margin: 0;
170     padding: 5px;
171     font-weight: normal;
172 }
173
174 /* Keyboard binding layout */
175 #content dl.bindings
176 {
177     float: left;
178     width: 100%;
179     margin: 1em 0;
180     padding: 0;
181 }
182     
183 #content .bindings dt
184 {
185     clear: left;
186     float: left;
187     width: 65%;
188     margin: 0;
189     padding: 0px;
190     font-size: 100%;
191     font-family: "Trebuchet MS", "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif;
192     font-weight: normal;
193 }
194     
195 #content .bindings dd
196 {
197     float: left;
198     width: 30%;
199     margin: 0;
200     padding: 0px;
201     font-size: 110%;
202     font-family: "Bitstream Vera Sans Mono", "Courier New", monospace;
203     font-weight: normal;
204 }
205
206
207 #content dl.wide-table
208 {
209     float: left;
210     width: 100%;
211     margin: 1em 0;
212     padding: 0;
213 }
214     
215 #content .wide-table dt
216 {
217         font-weight: normal;
218     clear: left;
219     float: left;
220     width: 30%;
221     margin: 0;
222     padding: 5px;
223 }
224
225 #content dt,
226 #content dd {
227     border-top: 2px solid #eee;
228 }
229
230 #content dt:first-child,
231 #content dd:nth-child(2) {
232     border-top: none;
233 }
234     
235 #content .wide-table dd
236 {
237     float: left;
238     width: 60%;
239     margin: 0;
240     padding: 5px;
241 }
242
243 #content dl.narrower-table
244 {
245     float: left;
246     width: 100%;
247     margin: 1em 0;
248     padding: 0;
249 }
250     
251 #content .narrower-table dt
252 {
253     clear: left;
254     float: left;
255     width: 20%;
256     margin: 0;
257     padding: 5px;
258 }
259     
260 #content .narrower-table dd
261 {
262     float: left;
263     width: 70%;
264     margin: 0;
265     padding: 5px;
266 }
267
268 kbd {
269     -moz-background-clip:border;
270     -moz-background-inline-policy:continuous;
271     -moz-background-origin:padding;
272     background:#EEEEEE none repeat scroll 0 0;
273     border-color:#CCCCCC #AAAAAA #888888 #BBBBBB;
274     border-style:solid;
275     border-width:2px 2px 4px 4px;
276     color:#000000;
277     padding:1px 2px;
278     white-space:nowrap;
279     text-transform:capitalize;
280 }
281
282 kbd.input,kbd.cmd,kbd.osc {
283     font-family:mono;
284     border-width:0;
285     text-transform:none;
286
287 }
288
289 kbd.cmd {
290     display:block;
291     width:100%;
292     margin-bottom:1ex;
293     text-transform:none;
294 }
295
296 kbd.cmd.lin:before {
297     content: 'user@linux:~ ';
298     color:#999999;
299 }
300
301 kbd.cmd.mac:before {
302     content: 'MacBook:~/Desktop User\$ ';
303     color:#999999;
304 }
305
306 kbd.cmd.win:before {
307     content: 'C:\\Users\\myAccount> ';
308     color:#999999;
309 }
310
311 kbd.mouse {
312     -moz-border-radius:10px;
313     border-radius:10px;
314 }
315
316 /*
317 .mouse:after {
318     position:relative;
319     top:-1em;
320     left:-1em;
321     content:url('/images/mouse-tail.png');
322 }
323 */
324
325 kbd.optoff, kbd.option {
326     border:none;
327     background-color:transparent;  
328 }
329
330 kbd.optoff:after {
331     content:url('/images/checkbox-unchecked.png');  
332 }
333
334 kbd.option:after {
335     content:url('/images/checkbox-checked.png');
336 }
337
338 kbd.menu {
339     border:none;
340     background-color:transparent;
341     font-weight:bold;
342     font-stretch:extra-condensed;
343     white-space:normal;
344 }
345
346
347 kbd.osc {
348 }
349
350
351
352 kbd.fader, kbd.knob, kbd.button {
353     border-color:#ccccff #aaaadd #8888bb #bbbbee;
354     background-color:#ddddff;
355     color:#000044;
356 }
357
358 kbd.fader {
359     border-width: 1px 1px 9px 9px;
360 }
361
362 kbd.knob {
363     -moz-border-radius:12px;
364     border-radius:12px; 
365     border-width: 1px 1px 9px 9px;
366 }
367
368 kbd.button {
369     -moz-border-radius:8px;
370     border-radius:8px;
371     border-width: 1px 1px 3px 3px;
372 }
373
374 samp {
375     font-family:mono;
376     font-style:italic;
377     color:#333333;
378     background-color:transparent;
379     margin-left: 1ex;
380     margin-right: 1ex;
381 }
382
383 samp:before {
384     content:"\BB";
385 }
386
387 samp:after {
388     content:"\AB";
389 }
390
391 #content td {
392     padding: 0 1em 0 1em;
393 }
394
395 #content .small {
396     width:150px;
397 }
398
399 #subtopics ul {
400     font-size:20px;
401     font-weight:bold;
402 }
403
404 #content dfn {
405     font-weight: bold;
406     font-style: normal;
407 }
408
409 #content img.right {
410     margin: 0 0 1em 1em;
411     float:right;
412     clear:right;
413 }
414
415 #content img.left {
416     margin:0 1em 1em 0;
417     float:left;
418     clear:left;
419 }
420
421 #content p.center {
422         text-align:center;
423 }
424
425 #content .note,.warning,.fixme {
426     min-height: 20px;
427     padding: 19px;
428     margin-bottom: 20px;
429     border-style: solid;
430     border-width: 1px 1px 1px 8px; 
431     -webkit-border-radius: 4px;
432        -moz-border-radius: 4px;
433             border-radius: 4px;
434     -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
435        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
436             box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
437
438 }
439
440 #content .note {
441     border-color: #e3e3e3;
442     background-color: #f5f5f5;
443 }
444
445 #content .warning {
446     border-color: #995555;
447     background-color: #ffeeee;
448 }
449
450 #content .fixme {
451     border-color: #999944;
452     background-color: #f0f0e0;
453     font-weight:bold;
454 }
455
456 .fixme:before {
457     content:'FIXME: ';
458     font-style: italic;
459     font-size:200%;
460 }
461
462
463
464
465 .mod1:before {
466     content: "Ctrl ";
467 }
468 .mod2:before {
469     content: "Alt ";
470 }
471 .mod3:before {
472     content: "Shift ";
473 }
474 .mod4:before {
475     content: "Win ";
476 }
477 .mod12:before {
478     content: "Ctrl Alt ";
479 }
480 .mod13:before {
481     content: "Ctrl Shift ";
482 }
483 .mod14:before {
484     content: "Ctrl Win ";
485 }
486 .mod23:before {
487     content: "Alt Shift ";
488 }
489 .kp:before {
490     content: "Keypad ";
491 }
492
493 .mac .mod1:before {
494     content: "Cmd ";
495 }
496 .mac .mod2:before {
497     content: "Ctrl ";
498 }
499 .mac .mod3:before {
500     content: "Shift ";
501 }
502 .mac .mod4:before {
503     content: "Opt ";
504 }
505 .mac .mod12:before {
506     content: "Cmd Ctrl ";
507 }
508 .mac .mod13:before {
509     content: "Cmd Shift ";
510 }
511 .mac .mod14:before {
512     content: "Cmd Opt ";
513 }
514 .mac .mod23:before {
515     content: "Ctrl Shift ";
516 }
517
518 #gs_tti0 {
519
520   padding-top: 2px;
521   padding-bottom: 0;
522
523 }
524
525 @media (max-width: 800px) {
526   #tree {
527     position: relative;
528     height: 250px;
529     width: 100%;
530     margin-top: 20px;
531   }
532   #content {
533     padding-left: 20px;
534     margin-top: 0px;
535   }
536 }
537
538
539