src/doc/api: add links to renderer code
[nit.git] / share / nitdoc / css / Nitdoc.ModalBox.css
1 /* This file is part of NIT ( http://www.nitlanguage.org ).
2
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14
15 Documentation generator for the nit language.
16 Generate API documentation in HTML format from nit source code.
17 */
18
19 /*
20 * Nitdoc ModalBox style
21 */
22
23 .nitdoc-dialog-fade {
24 background: #000;
25 position: fixed; left: 0; top: 0;
26 width: 100%; height: 100%;
27 opacity: .80;
28 filter: alpha(opacity=80);
29 z-index: 9999;
30 }
31
32 .nitdoc-dialog {
33 background: #fff;
34 border: 1px solid #ddd;
35 float: left;
36 position: fixed;
37 z-index: 99999;
38 -webkit-box-shadow: 0px 0px 20px #000;
39 -moz-box-shadow: 0px 0px 20px #000;
40 box-shadow: 0px 0px 20px #000;
41 -webkit-border-radius: 2px;
42 -moz-border-radius: 2px;
43 border-radius: 2px;
44 text-align: left;
45 min-width: 300px;
46 }
47
48 .nitdoc-dialog-header {
49 padding: 10px 10px 10px 20px;
50 background: #f1f1f1;
51 border-bottom: 1px solid #ddd;
52 }
53
54 .nitdoc-dialog-error .nitdoc-dialog-header {
55 background: #C92020;
56 }
57 .nitdoc-dialog-error .nitdoc-dialog-header h3 {
58 color: white;
59 }
60
61 .nitdoc-dialog h3 {
62 display: inline;
63 margin: 0;
64 }
65
66 .nitdoc-dialog-content {
67 max-height: 450px;
68 overflow-y: scroll;
69 padding: 10px;
70 }
71
72 .nitdoc-dialog-buttons {
73 text-align: right;
74 padding: 5px;
75 border-top: 1px solid #ddd;
76 }
77
78 .nitdoc-dialog textarea {
79 min-width: 300px;
80 width: 100%;
81 }
82
83 .nitdoc-dialog button {
84 cursor: pointer;
85 border-radius: 2px;
86 -moz-border-radius: 2px;
87 -webkit-border-radius: 2px;
88 font-size: 14px;
89 padding: 5px 7px 5px 7px;
90 text-align: center;
91 background: #eee;
92 color: #333;
93 border: 1px solid #ddd;
94 font-weight: bold;
95 }
96
97 .nitdoc-dialog button:hover {
98 background: #0D8921;
99 color: #fff;
100 border: 1px solid #1d7900;
101 }
102
103 .nitdoc-dialog-close {
104 float: right;
105 padding: 5px;
106 margin: 0px;
107 line-height: 10px;
108 text-transform: lowercase;
109 }
110