79e2d33799305a5e1228740527d266883026d6b5
[nit.git] / share / nitdoc / styles / 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 padding: 10px;
68 }
69
70 .nitdoc-dialog-buttons {
71 text-align: right;
72 padding: 5px;
73 border-top: 1px solid #ddd;
74 }
75
76 .nitdoc-dialog textarea {
77 min-width: 300px;
78 width: 100%;
79 }
80
81 .nitdoc-dialog button {
82 cursor: pointer;
83 border-radius: 2px;
84 -moz-border-radius: 2px;
85 -webkit-border-radius: 2px;
86 font-size: 14px;
87 padding: 5px 7px 5px 7px;
88 text-align: center;
89 background: #eee;
90 color: #333;
91 border: 1px solid #ddd;
92 font-weight: bold;
93 }
94
95 .nitdoc-dialog button:hover {
96 background: #0D8921;
97 color: #fff;
98 border: 1px solid #1d7900;
99 }
100
101 .nitdoc-dialog-close {
102 float: right;
103 padding: 5px;
104 margin: 0px;
105 line-height: 10px;
106 text-transform: lowercase;
107 }
108