nitdoc: Change refinements organization in class page.
[nit.git] / share / nitdoc / styles / main.css
1 /* General */
2
3 body {
4 margin: 0;
5 font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
6 }
7
8 a {
9 color: #333;
10 text-decoration: none;
11 }
12
13 a:hover {
14 color: #0D8921;
15 }
16
17 ul {
18 list-style-type: square;
19 }
20
21 pre, code {
22 white-space: pre;
23 font-family: monospace;
24 font-size: 1em;
25 }
26
27 pre {
28 background: #EEE;
29 padding: 5px;
30 color: black;
31 overflow: auto;
32 }
33
34 hr {
35 background-color: #DDD;
36 height: 1px;
37 border: 0;
38 }
39
40 div.clear {
41 clear: both;
42 }
43
44 /* Titles */
45
46 h1, h2, h3, h4, h5 {
47 font-family: Verdana, Geneva, sans-serif;
48 color: #6C6C6C;
49 font-weight: normal;
50 }
51
52 h1 {
53 font-size: 300%;
54 margin: 0 0 10px 0;
55 }
56
57 h3 {
58 font-weight: bold;
59 }
60
61 /* Page display */
62
63 body {
64 overflow: hidden;
65 height: 100%;
66 }
67
68 header {
69 }
70
71 .page {
72 width: 937px;
73 margin: auto;
74 }
75
76 .menu {
77 position: fixed;
78 top: 50px;
79 bottom: 2em;
80 width: 250px;
81 overflow-y: scroll;
82 }
83
84 .content {
85 position: fixed;
86 top: 50px;
87 bottom: 2em;
88 margin-left: 265px;
89 width: 667px;
90 overflow-y: scroll;
91 padding-right: 10px;
92 }
93
94 .content.fullpage {
95 margin-left: 20px;
96 width: 910px;
97 }
98
99 footer {
100 position: fixed;
101 bottom: 0;
102 width: 100%;
103 }
104
105 /* Webkit scroll bars */
106
107 .menu {
108 overflow-y: hidden;
109 }
110
111 .menu:hover {
112 overflow-y: scroll;
113 }
114
115 .menu::-webkit-scrollbar, .content::-webkit-scrollbar {
116 width: 10px;
117 }
118
119 .menu::-webkit-scrollbar-thumb, .content::-webkit-scrollbar-thumb {
120 background: #CCC;
121 -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.10),inset 0 -1px 0 rgba(0,0,0,0.07);
122 }
123
124 .menu::-webkit-scrollbar-thumb:hover, .content::-webkit-scrollbar-thumb:hover {
125 background: #999;
126 }
127
128 .menu::-webkit-scrollbar-corner, .content::-webkit-scrollbar-corner {
129 background: transparent;
130 }
131
132 .menu::-webkit-scrollbar-button, .content::-webkit-scrollbar-button {
133 width: 0;
134 height: 0;
135 display: none;
136 }
137
138 /* Header, Footer */
139
140 header nav ul {
141 padding: 0;
142 list-style-type: none;
143 width: 900px;
144 margin: auto;
145 }
146
147 header nav ul li {
148 display: inline;
149 padding: 3px 6px;
150 margin: auto 5px;
151 color: #999;
152 }
153
154 header nav ul li a {
155 color: black;
156 }
157
158 header nav ul li a:hover {
159 color: #0D8921;
160 }
161
162 footer {
163 text-align: center;
164 padding-bottom: 10px;
165 color: #CCC;
166 }
167
168 /* Main menu */
169
170 header nav.main {
171 background: #E0E0E0 url(../resources/top_back.gif) repeat-x top left;
172 padding: 7px 0;
173 }
174
175 header nav.main ul li.current {
176 background: #0D8921;
177 color: white;
178 }
179
180 /* Latteral Menu */
181
182 .menu nav {
183 margin: 20px;
184 width: 208px;
185 border: 1px solid #CCC;
186 }
187
188 .menu nav:first-child {
189 margin-top: 0;
190 }
191
192 .menu nav h3 {
193 margin: 0;
194 padding: 5px;
195 background: #CCC;
196 font-size: 1em;
197 }
198
199 .menu nav h4 {
200 font-weight: bold;
201 color: #555555;
202 margin: 10px 0 0 10px;
203 font-size: 12px;
204 }
205
206 .menu nav h4:last-child {
207 margin-bottom: 5px;
208 }
209
210 .menu nav ul {
211 margin: 10px;
212 padding: 0;
213 list-style-type: none;
214 }
215
216 .menu nav ul li {
217 overflow: hidden;
218 color: #CCC;
219 }
220
221 /* Content */
222
223 .content section {
224 margin: 20px 0;
225 }
226
227 .content article {
228 color: #6C6C6C;
229 background-repeat: no-repeat;
230 background-position: left 7px;
231 margin: 20px 0;
232 padding: 5px 20px;
233 }
234
235 .content article h3 {
236 margin: 0;
237 font-weight: normal;
238 color: #333;
239 }
240
241 .content article.graph {
242 text-align: center;
243 }
244
245 .content article.modules,
246 .content article.classes,
247 .content article.properties {
248 float: left;
249 width: 250px;
250 overflow: hidden;
251 }
252
253 .content article.overview ul,
254 .content article.modules ul,
255 .content article.classes ul,
256 .content article.properties ul {
257 list-style-type: none;
258 padding: 0;
259 }
260
261 .content article.properties ul ul {
262 padding-left: 10px;
263 }
264
265 nav ul li span,
266 .content article ul li span {
267 color: #CCC;
268 text-align: center;
269 font-family: monospace;
270 margin-right: 5px;
271 }
272
273 .content article.modules ul code,
274 .content article.classes ul code,
275 .content article.properties ul code {
276 font-weight: normal;
277 }
278
279 .content section.summary h2, .content section.summary article{
280 color: #000000;
281 }
282
283 .content section.summary article h3{
284 font-weight: bold;
285 color: #555;
286 }
287
288 .content article.highlighted {
289 background-color: #FFF3C2;
290 color: black;
291 }
292
293 .content .subtitle {
294 color: #6C6C6C;
295 }
296
297 .content a:hover {
298 color: #333;
299 }
300
301 .content a {
302 color: #0D8921;
303 }
304
305 article .info .code {
306 float: right;
307 }
308
309 .content .concern-doc {
310 border-top: 3px dotted #CCC;
311 padding: 5px 0;
312 color: #999;
313 }
314
315 .content section.concerns {
316 padding: 10px;
317 background: #EEE;
318 }
319
320 .content section.concerns h2 {
321 margin-top: 0;
322 }
323
324 .content section.concerns ul {
325 list-style-type: none;
326 padding-left: 0;
327 margin: 0;
328 }
329
330 .content section.concerns li {
331 margin-top: 20px;
332 }
333
334 .content section.concerns ul ul {
335 padding-left: 20px;
336 }
337
338 .content section.concerns li li {
339 margin-top: 0;
340 }
341
342 .content section.methods h3.concern-toplevel {
343 border-top: 3px dotted #CCC;
344 padding-top: 0.83em;
345 color: #999;
346 }
347
348 .show-code {
349 margin: 0;
350 }
351
352 /* JS facilities */
353
354 input[type=text] {
355 width: 150px;
356 border: 1px solid #CCC;
357 margin-right: 5px;
358 padding: 1px 2px;
359 }
360
361 input[type=text].notUsed {
362 color: #999;
363 font-style: italic;
364 }
365
366 nav .filter {
367 text-align: center;
368 padding: 5px;
369 }
370
371 nav.main input[type=text] {
372 margin: -2px 10px;
373 color: black;
374 font-style: normal;
375 }
376
377 nav.main form {
378 float: right;
379 }
380
381 .filter a {
382 color: #0D8921;
383 cursor: pointer;
384 font-family: monospace;
385 margin-right: 5px;
386 font-weight: bold;
387 }
388
389 .filter a.hidden {
390 color: #999;
391 font-weight: normal;
392 }
393
394 .filter a:hover {
395 text-decoration: underline;
396 }
397
398 nav h3 a.fold {
399 margin: 0 5px;
400 color: #999;
401 font-family: monospace;
402 font-weight: bold;
403 font-size: 120%;
404 cursor: pointer;
405 }
406
407 .hide {
408 overflow-y: hidden;
409 height: 0;
410 }
411
412 /* Icons */
413 .vtype.public { background-image: url('../resources/icons/vtype_public.png')}
414 .vtype.protected { background-image: url('../resources/icons/vtype_protected.png')}
415 .vtype.private { background-image: url('../resources/icons/vtype_private.png')}
416 .init.public { background-image: url('../resources/icons/const_public.png')}
417 .init.protected { background-image: url('../resources/icons/const_protected.png')}
418 .init.private { background-image: url('../resources/icons/const_private.png')}
419 .fun.public { background-image: url('../resources/icons/meth_public.png')}
420 .fun.protected { background-image: url('../resources/icons/meth_protected.png')}
421 .fun.private { background-image: url('../resources/icons/meth_private.png')}
422
423 /* Quick Search */
424
425 #search {
426 width: 300px;
427 }
428
429 #searchTable {
430 background-color: #FFFFFF;
431 border: 1px solid #E0E0E0;
432 border-spacing: 0px;
433 }
434
435 #searchTable .activeSearchResult {
436 cursor: pointer;
437 background: #EEE;
438 }
439
440 #searchTable td {
441 white-space: nowrap;
442 overflow: hidden;
443 line-height: 22px;
444 padding: 2px;
445 width: 25%;
446 }
447
448 #searchTable td.entryInfo {
449 color: #0D8921;
450 font-size: small;
451 width: 75%;
452 text-align: right;
453 }