1 /* This file is part of NIT ( http://www.nitlanguage.org ).
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
7 http://www.apache.org/licenses/LICENSE-2.0
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.
15 Documentation generator for the nit language.
16 Generate API documentation in HTML format from nit source code.
20 * Nitdoc Github Login Box
26 margin: -2px 15px 5px 5px;
29 #nitdoc-github-li.current
{
33 #nitdoc-github-li .nitdoc-github-li-img
{
38 #nitdoc-github-loginbox {
48 background-color: #ffffff;
49 border: 1px solid
#ccc;
50 border: 1px solid rgba
(0, 0, 0, 0.2);
51 -webkit-border-radius: 2px;
52 -moz-border-radius: 2px;
54 -webkit-box-shadow: 0 2px 5px rgba
(0, 0, 0, 0.2);
55 -moz-box-shadow: 0 2px 5px rgba
(0, 0, 0, 0.2);
56 box-shadow: 0 2px 5px rgba
(0, 0, 0, 0.2);
57 -webkit-background-clip: padding-box
;
58 -moz-background-clip: padding
;
59 background-clip: padding-box
;
62 #nitdoc-github-loginbox .nitdoc-github-loginbox-arrow
{
67 border-color: transparent
;
73 border-bottom-color: #999;
74 border-bottom-color: rgba
(0, 0, 0, 0.25);
78 #nitdoc-github-loginbox .nitdoc-github-loginbox-arrow:after
{
83 border-color: transparent
;
89 border-bottom-color: #ffffff;
93 #nitdoc-github-loginbox h3 {
97 #nitdoc-github-loginbox input {
101 margin: 5px 0px 5px 0px;
105 border: 1px solid
#CCC;
108 #nitdoc-github-loginbox button {
114 #nitdoc-github-loginbox h4 {
124 * Nitdoc Github buttons
127 button.nitdoc-github-button
{
128 display: inline-block
;
130 background-color: #92C929;
131 background-image: -webkit-gradient
(linear
, left top
, left bottom
, from
(#92C929), to
(#1d7900)); /* Saf4+, Chrome */
132 background-image: -webkit-linear-gradient
(top
, #92C929, #1d7900); /* Chrome 10+, Saf5.1+ */
133 background-image: -moz-linear-gradient
(top
, #92C929, #1d7900); /* FF3.6 */
134 background-image: -ms-linear-gradient
(top
, #92C929, #1d7900); /* IE10 */
135 background-image: -o-linear-gradient
(top
, #92C929, #1d7900); /* Opera 11.10+ */
136 background-image: linear-gradient
(top
, #92C929, #1d7900);
137 filter: progid:DXImageTransform
.Microsoft
.gradient
(startColorStr
='#92C929', EndColorStr
='#1d7900'); /* IE6–IE9 */
139 -moz-border-radius: 2px;
140 -webkit-border-radius: 2px;
141 -moz-background-clip: padding
; -webkit-background-clip: padding-box
; background-clip: padding-box
;
142 box-shadow: 0px 2px 4px rgba
(0,0,0, .2);
143 -moz-box-shadow: 0px 2px 4px rgba
(0,0,0, .2);
144 -webkit-box-shadow: 0px 2px 4px rgba
(0,0,0, .2);
145 text-shadow: 0px -1px 0px rgba
(0, 0, 0, 0.2);
146 -moz-text-shadow: 0px -1px 0px rgba
(0, 0, 0, 0.2);
147 -webkit-text-shadow: 0px -1px 0px rgba
(0, 0, 0, 0.2);
148 border: 1px solid
#1d7900;
151 padding: 5px 7px 5px 7px;
155 button.nitdoc-github-button
[disabled
=disabled
] {
156 background-color: #999999;
157 background-image: -webkit-gradient
(linear
, left top
, left bottom
, from
(#999999), to
(#333333)); /* Saf4+, Chrome */
158 background-image: -webkit-linear-gradient
(top
, #999999, #333333); /* Chrome 10+, Saf5.1+ */
159 background-image: -moz-linear-gradient
(top
, #999999, #333333); /* FF3.6 */
160 background-image: -ms-linear-gradient
(top
, #999999, #333333); /* IE10 */
161 background-image: -o-linear-gradient
(top
, #999999, #333333); /* Opera 11.10+ */
162 background-image: linear-gradient
(top
, #999999, #333333);
163 filter: progid:DXImageTransform
.Microsoft
.gradient
(startColorStr
='#999999', EndColorStr
='#333333'); /* IE6–IE9 */
164 border: 1px solid
#333333;
167 button.nitdoc-github-button
img {
178 .nitdoc-github-fade {
180 position: fixed
; left: 0; top: 0;
181 width: 100%; height: 100%;
183 filter: alpha
(opacity
=80);
187 .nitdoc-github-modal {
190 border: 1px solid
#ddd;
194 /* fix Box Shadow CSS3 */
195 -webkit-box-shadow: 0px 0px 20px #000;
196 -moz-box-shadow: 0px 0px 20px #000;
197 box-shadow: 0px 0px 20px #000;
198 /* round corners CSS3 */
199 -webkit-border-radius: 2px;
200 -moz-border-radius: 2px;
205 .nitdoc-github-buttons, .nitdoc-github-modal h3 {
209 .nitdoc-github-modal.nitdoc-github-error h3 {
213 .nitdoc-github-modal textarea {
218 .nitdoc-github-modal button {
225 .nitdoc-github-close {
227 margin: -22px -17px 0 0;
231 text-transform: lowercase
;
234 /* Comment editing */
236 .nitdoc-github-commentbox {
240 .nitdoc-github-commentbox textarea {
241 font-family: monospace
;
248 border: 1px solid
#CCC;
251 .nitdoc-github-preview {
256 .nitdoc-github-button.nitdoc-github-cancel {
257 background-color: #b33630;
258 background-image: -webkit-gradient
(linear
, left top
, left bottom
, from
(#E97A74), to
(#9f312c)); /* Saf4+, Chrome */
259 background-image: -webkit-linear-gradient
(top
, #E97A74, #9f312c); /* Chrome 10+, Saf5.1+ */
260 background-image: -moz-linear-gradient
(top
, #E97A74, #9f312c); /* FF3.6 */
261 background-image: -ms-linear-gradient
(top
, #E97A74, #9f312c); /* IE10 */
262 background-image: -o-linear-gradient
(top
, #E97A74, #9f312c); /* Opera 11.10+ */
263 background-image: linear-gradient
(top
, #E97A74, #9f312c);
264 filter: progid:DXImageTransform
.Microsoft
.gradient
(startColorStr
='#E97A74', EndColorStr
='#9f312c'); /* IE6–IE9 */
265 border: 1px solid
#9f312c;
275 a.nitdoc-github-cancel
{
280 a.nitdoc-github-update
{