~knitzsche/+junk/tabtest

« back to all changes in this revision

Viewing changes to fix-page-tab-issue/0.1/ambiance/js/yuidoc-theme/assets/css/main.css

  • Committer: Kyle Nitzsche
  • Date: 2014-02-28 21:45:04 UTC
  • Revision ID: kyle.nitzsche@canonical.com-20140228214504-nzkax4md3v35r6p2
working test

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Font sizes for all selectors other than the body are given in percentages,
 
3
with 100% equal to 13px. To calculate a font size percentage, multiply the
 
4
desired size in pixels by 7.6923076923.
 
5
 
 
6
Here's a quick lookup table:
 
7
 
 
8
10px - 76.923%
 
9
11px - 84.615%
 
10
12px - 92.308%
 
11
13px - 100%
 
12
14px - 107.692%
 
13
15px - 115.385%
 
14
16px - 123.077%
 
15
17px - 130.769%
 
16
18px - 138.462%
 
17
19px - 146.154%
 
18
20px - 153.846%
 
19
*/
 
20
 
 
21
html {
 
22
    background: #fff;
 
23
    color: #333;
 
24
    overflow-y: scroll;
 
25
}
 
26
 
 
27
body {
 
28
    font: 13px/1.4 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', 'Bitstream Vera Sans', 'Helvetica', 'Arial', sans-serif;
 
29
    margin: 0;
 
30
    padding: 0;
 
31
}
 
32
 
 
33
/* -- Links ----------------------------------------------------------------- */
 
34
a {
 
35
    color: #DD4814;
 
36
    text-decoration: none;
 
37
}
 
38
 
 
39
a:hover { text-decoration: underline; }
 
40
 
 
41
/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from
 
42
   sight until it's focused. */
 
43
.jump {
 
44
    position: absolute;
 
45
    padding: 3px 6px;
 
46
    left: -99999px;
 
47
    top: 0;
 
48
}
 
49
 
 
50
.jump:focus { left: 40%; }
 
51
 
 
52
/* -- Paragraphs ------------------------------------------------------------ */
 
53
p { margin: 1.3em 0; }
 
54
dd p, td p { margin-bottom: 0; }
 
55
dd p:first-child, td p:first-child { margin-top: 0; }
 
56
 
 
57
/* -- Headings -------------------------------------------------------------- */
 
58
h1, h2, h3, h4, h5, h6 {
 
59
    color: #DD4814
 
60
    font-family: 'Ubuntu', sans-serif;
 
61
    font-weight: bold;
 
62
    line-height: 1.1;
 
63
    margin: 1.1em 0 0.5em;
 
64
}
 
65
 
 
66
h1 {
 
67
    font-size: 184.6%;
 
68
    color: #30418C;
 
69
    margin: 0.75em 0 0.5em;
 
70
}
 
71
 
 
72
h2 {
 
73
    font-size: 153.846%;
 
74
    color: #E48A2B;
 
75
}
 
76
 
 
77
h3 { font-size: 138.462%; }
 
78
 
 
79
h4 {
 
80
    border-bottom: 1px solid #DBDFEA;
 
81
    color: #E48A2B;
 
82
    font-size: 115.385%;
 
83
    font-weight: normal;
 
84
    padding-bottom: 2px;
 
85
}
 
86
 
 
87
h5, h6 { font-size: 107.692%; }
 
88
 
 
89
/* -- Code and examples ----------------------------------------------------- */
 
90
code, kbd, pre, samp {
 
91
    font-family: Menlo, Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
 
92
    font-size: 92.308%;
 
93
    line-height: 1.35;
 
94
}
 
95
 
 
96
p code, p kbd, p samp {
 
97
    background: #FCFBFA;
 
98
    border: 1px solid #EFEEED;
 
99
    padding: 0 3px;
 
100
}
 
101
 
 
102
a code, a kbd, a samp,
 
103
pre code, pre kbd, pre samp,
 
104
table code, table kbd, table samp,
 
105
.intro code, .intro kbd, .intro samp,
 
106
.toc code, .toc kbd, .toc samp {
 
107
    background: none;
 
108
    border: none;
 
109
    padding: 0;
 
110
}
 
111
 
 
112
pre.code, pre.terminal, pre.cmd {
 
113
    overflow-x: auto;
 
114
    *overflow-x: scroll;
 
115
    padding: 0.3em 0.6em;
 
116
}
 
117
 
 
118
pre.code {
 
119
    background: #FCFBFA;
 
120
    border: 1px solid #EFEEED;
 
121
    border-left-width: 5px;
 
122
}
 
123
 
 
124
pre.terminal, pre.cmd {
 
125
    background: #F0EFFC;
 
126
    border: 1px solid #D0CBFB;
 
127
    border-left: 5px solid #D0CBFB;
 
128
}
 
129
 
 
130
/* Don't reduce the font size of <code>/<kbd>/<samp> elements inside <pre>
 
131
   blocks. */
 
132
pre code, pre kbd, pre samp { font-size: 100%; }
 
133
 
 
134
/* Used to denote text that shouldn't be selectable, such as line numbers or
 
135
   shell prompts. Guess which browser this doesn't work in. */
 
136
.noselect {
 
137
    -moz-user-select: -moz-none;
 
138
    -khtml-user-select: none;
 
139
    -webkit-user-select: none;
 
140
    -o-user-select: none;
 
141
    user-select: none;
 
142
}
 
143
 
 
144
/* -- Lists ----------------------------------------------------------------- */
 
145
dd { margin: 0.2em 0 0.7em 1em; }
 
146
dl { margin: 1em 0; }
 
147
dt { font-weight: bold; }
 
148
 
 
149
/* -- Tables ---------------------------------------------------------------- */
 
150
caption, th { text-align: left; }
 
151
 
 
152
table {
 
153
    border-collapse: collapse;
 
154
    width: 100%;
 
155
}
 
156
 
 
157
td, th {
 
158
    border: 1px solid #fff;
 
159
    padding: 5px 12px;
 
160
    vertical-align: top;
 
161
}
 
162
 
 
163
td { background: #E6E9F5; }
 
164
td dl { margin: 0; }
 
165
td dl dl { margin: 1em 0; }
 
166
td pre:first-child { margin-top: 0; }
 
167
 
 
168
th {
 
169
    background: #D2D7E6;/*#97A0BF*/
 
170
    border-bottom: none;
 
171
    border-top: none;
 
172
    color: #000;/*#FFF1D5*/
 
173
    font-family: 'Trebuchet MS', sans-serif;
 
174
    font-weight: bold;
 
175
    line-height: 1.3;
 
176
    white-space: nowrap;
 
177
}
 
178
 
 
179
 
 
180
/* -- Layout and Content ---------------------------------------------------- */
 
181
#doc {
 
182
    margin: auto;
 
183
    min-width: 1024px;
 
184
}
 
185
 
 
186
#main { width: 754px; }
 
187
#sidebar { width: 270px; margin: 0 15px; }
 
188
 
 
189
.content { padding: 0 20px 0 25px; }
 
190
 
 
191
/* -- Sidebar --------------------------------------------------------------- */
 
192
.sidebox {
 
193
    background: #F9F9FC;/*E6E9F5*/
 
194
    border: 1px solid #D4D8EB;
 
195
 
 
196
    -moz-border-radius: 4px;
 
197
    -webkit-border-radius: 4px;
 
198
    border-radius: 4px;
 
199
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
 
200
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
 
201
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
 
202
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'Helvetica', 'Arial', sans-serif;
 
203
    margin: 0 0 15px 0;
 
204
    padding-bottom: 1px;
 
205
}
 
206
 
 
207
.sidebox h2 {
 
208
    background: #E5E6F1;
 
209
    -moz-border-radius: 4px 4px 0 0;
 
210
    -webkit-border-radius: 4px 4px 0 0;
 
211
    border-radius: 4px 4px 0 0;
 
212
    color: #5E6BA4;
 
213
    font-weight: bold;
 
214
    font-size: 107.692%;
 
215
    margin: 0;
 
216
    padding: 4px 7px 5px;
 
217
}
 
218
 
 
219
.sidebox .bd {
 
220
    font-size: 84.615%;
 
221
    padding: 0 5px 0 8px;
 
222
}
 
223
 
 
224
.sidebox li { list-style-type: disc; color:#D4D5E3; }
 
225
 
 
226
.sidebox ol, .sidebox ul {
 
227
    margin-left: 0;
 
228
    padding-left: 16px;
 
229
}
 
230
 
 
231
.sidebox ol ol, .sidebox ol ul,
 
232
.sidebox ul ol, .sidebox ul ul {
 
233
    margin: 0;
 
234
    padding-left: 16px;
 
235
}
 
236
 
 
237
/* -- Table of Contents ----------------------------------------------------- */
 
238
 
 
239
/* The #toc id refers to the single global table of contents, while the .toc
 
240
   class refers to generic TOC lists that could be used throughout the page. */
 
241
 
 
242
.toc code, .toc kbd, .toc samp { font-size: 100%; }
 
243
.toc li { font-weight: bold; }
 
244
.toc li li { font-weight: normal; }
 
245
 
 
246
/* -- Intro and Example Boxes ----------------------------------------------- */
 
247
.intro, .example { margin-bottom: 2em; }
 
248
 
 
249
.example {
 
250
    -moz-border-radius: 4px;
 
251
    -webkit-border-radius: 4px;
 
252
    border-radius: 4px;
 
253
    -moz-box-shadow: 0 0 5px #bfbfbf;
 
254
    -webkit-box-shadow: 0 0 5px #bfbfbf;
 
255
    box-shadow: 0 0 5px #bfbfbf;
 
256
    padding: 1em;
 
257
}
 
258
 
 
259
.intro {
 
260
    background: none repeat scroll 0 0 #F0F1F8; border: 1px solid #D4D8EB; padding: 0 1em;
 
261
}
 
262
 
 
263
/* -- Other Styles ---------------------------------------------------------- */
 
264
 
 
265
/* These are probably YUI-specific, and should be moved out of Selleck's default
 
266
   theme. */
 
267
 
 
268
.button {
 
269
    border: 1px solid #dadada;
 
270
    -moz-border-radius: 3px;
 
271
    -webkit-border-radius: 3px;
 
272
    border-radius: 3px;
 
273
    color: #444;
 
274
    display: inline-block;
 
275
    font-family: Helvetica, Arial, sans-serif;
 
276
    font-size: 92.308%;
 
277
    font-weight: bold;
 
278
    padding: 4px 13px 3px;
 
279
    -moz-text-shadow: 1px 1px 0 #fff;
 
280
    -webkit-text-shadow: 1px 1px 0 #fff;
 
281
    text-shadow: 1px 1px 0 #fff;
 
282
    white-space: nowrap;
 
283
 
 
284
    background: #EFEFEF; /* old browsers */
 
285
    background: -moz-linear-gradient(top, #f5f5f5 0%, #efefef 50%, #e5e5e5 51%, #dfdfdf 100%); /* firefox */
 
286
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(50%,#efefef), color-stop(51%,#e5e5e5), color-stop(100%,#dfdfdf)); /* webkit */
 
287
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dfdfdf',GradientType=0 ); /* ie */
 
288
}
 
289
 
 
290
.button:hover {
 
291
    border-color: #466899;
 
292
    color: #fff;
 
293
    text-decoration: none;
 
294
    -moz-text-shadow: 1px 1px 0 #222;
 
295
    -webkit-text-shadow: 1px 1px 0 #222;
 
296
    text-shadow: 1px 1px 0 #222;
 
297
 
 
298
    background: #6396D8; /* old browsers */
 
299
    background: -moz-linear-gradient(top, #6396D8 0%, #5A83BC 50%, #547AB7 51%, #466899 100%); /* firefox */
 
300
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6396D8), color-stop(50%,#5A83BC), color-stop(51%,#547AB7), color-stop(100%,#466899)); /* webkit */
 
301
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6396D8', endColorstr='#466899',GradientType=0 ); /* ie */
 
302
}
 
303
 
 
304
.newwindow { text-align: center; }
 
305
 
 
306
.header .version em {
 
307
    display: block;
 
308
    text-align: right;
 
309
}
 
310
 
 
311
.yui3-skin-sam #classdocs .yui3-tabview-panel {
 
312
    background-color: transparent;
 
313
}
 
314
 
 
315
.yui3-skin-sam #classdocs .yui3-tabview-panel {
 
316
    border: none;
 
317
}
 
318
 
 
319
.yui3-skin-sam .yui3-tabview .yui3-tab,
 
320
.yui3-skin-sam .yui3-tabview .yui3-tab-selected,
 
321
.yui3-skin-sam .yui3-tabview .yui3-tab-hover {
 
322
    background: -moz-linear-gradient(center top , #F4F0EC 0%, #D6D2CE 100%) repeat scroll 0 0 transparent;
 
323
    border-bottom: 1px solid #DEDCD9;
 
324
    border-right: 1px solid #CDCBC8;
 
325
    border-left: 1px solid #CDCBC8;
 
326
    border-top: 1px solid #DADADA;
 
327
    color: #333333;
 
328
    text-decoration: none;
 
329
}
 
330
.yui3-skin-sam .yui3-tabview .yui3-tab-label,
 
331
.yui3-skin-sam .yui3-tabview .yui3-tab-selected .yui3-tab-label {
 
332
    border: none;
 
333
    background: none;
 
334
    font-size: 100%;
 
335
    color: #000;
 
336
}
 
337
 
 
338
.yui3-skin-sam .yui3-tabview .yui3-tab-selected,
 
339
.yui3-skin-sam .yui3-tabview .yui3-tab-hover {
 
340
    background: none;
 
341
    background-color: #fff;
 
342
    border-bottom-color: #FFFFFF;
 
343
    border-top: 2px solid #8193C9;
 
344
    font-weight: bold;
 
345
    color: #000;
 
346
 
 
347
}
 
348
 
 
349
.yui3-skin-sam .yui3-tabview-list {
 
350
    border-color: #DFDFDF;
 
351
    border-width: 0 0 1px; 
 
352
}
 
353
 
 
354
 
 
355
a.external {
 
356
    background-image: url(external-small.png);
 
357
    background-repeat: no-repeat;
 
358
    background-position: 0 0;
 
359
    padding-left: 16px;
 
360
}
 
361
 
 
362
#classdocs .item {
 
363
    border-bottom: 1px solid #466899;
 
364
    margin: 1em 0;
 
365
    padding: 1.5em;
 
366
}
 
367
 
 
368
#classdocs .item .params p,
 
369
    #classdocs .item .returns p,{
 
370
    display: inline;
 
371
}
 
372
 
 
373
#classdocs .item em code, #classdocs .item em.comment {
 
374
    color: green;
 
375
}
 
376
 
 
377
#classdocs .item em.comment a {
 
378
    color: green;
 
379
    text-decoration: underline;
 
380
}
 
381
 
 
382
#classdocs .foundat {
 
383
    font-size: 11px;
 
384
    font-style: normal;
 
385
}
 
386
 
 
387
.attrs .emits {
 
388
    margin-left: 2em;
 
389
    padding: .5em;
 
390
    border-left: 1px dashed #ccc;
 
391
}
 
392
 
 
393
abbr {
 
394
    border-bottom: 1px dashed #ccc;
 
395
    font-size: 80%;
 
396
    cursor: help;
 
397
}
 
398
 
 
399
.prettyprint li.L0, 
 
400
.prettyprint li.L1, 
 
401
.prettyprint li.L2, 
 
402
.prettyprint li.L3, 
 
403
.prettyprint li.L5, 
 
404
.prettyprint li.L6, 
 
405
.prettyprint li.L7, 
 
406
.prettyprint li.L8 {
 
407
    list-style: decimal;
 
408
}
 
409
 
 
410
ul li p {
 
411
    margin-top: 0;
 
412
}
 
413
 
 
414
.method .name {
 
415
    font-size: 110%;
 
416
}
 
417
 
 
418
#hd {
 
419
    background: -moz-linear-gradient(center top , #DCDBD9 0%, #F6F5F3 100%) repeat scroll 0 0 transparent;
 
420
    border-bottom: 1px solid #DFDFDF;
 
421
    padding: 0 15px 1px 20px;
 
422
    margin-bottom: 15px;
 
423
}
 
424
 
 
425
#hd img {
 
426
    margin-right: 10px;
 
427
    vertical-align: middle;
 
428
}
 
429