-button {\r
- display: inline-block;\r
- cursor: pointer;\r
- background-color: #92C929;\r
- background-image: -webkit-gradient(linear, left top, left bottom, from(#92C929), to(#1d7900)); /* Saf4+, Chrome */\r
- background-image: -webkit-linear-gradient(top, #92C929, #1d7900); /* Chrome 10+, Saf5.1+ */\r
- background-image: -moz-linear-gradient(top, #92C929, #1d7900); /* FF3.6 */\r
- background-image: -ms-linear-gradient(top, #92C929, #1d7900); /* IE10 */\r
- background-image: -o-linear-gradient(top, #92C929, #1d7900); /* Opera 11.10+ */\r
- background-image: linear-gradient(top, #92C929, #1d7900);\r
- filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#92C929', EndColorStr='#1d7900'); /* IE6–IE9 */\r
- border-radius: 4px;\r
- -moz-border-radius: 4px;\r
- -webkit-border-radius: 4px;\r
- -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;\r
- box-shadow: 0px 2px 4px rgba(0,0,0, .2);\r
- -moz-box-shadow: 0px 2px 4px rgba(0,0,0, .2);\r
- -webkit-box-shadow: 0px 2px 4px rgba(0,0,0, .2);\r
- text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);\r
- -moz-text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);\r
- -webkit-text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);\r
- border: 1px solid #1d7900;\r
- color: #fff;\r
- font-weight: bold;\r
- font-size: 14px;\r
- padding: 5px 7px 5px 7px;\r
- text-align: center;\r
-}\r
+/* This file is part of NIT ( http://www.nitlanguage.org ).\r
\r
-button[disabled=disabled] {\r
- background-color: #999999;\r
- background-image: -webkit-gradient(linear, left top, left bottom, from(#999999), to(#333333)); /* Saf4+, Chrome */\r
- background-image: -webkit-linear-gradient(top, #999999, #333333); /* Chrome 10+, Saf5.1+ */\r
- background-image: -moz-linear-gradient(top, #999999, #333333); /* FF3.6 */\r
- background-image: -ms-linear-gradient(top, #999999, #333333); /* IE10 */\r
- background-image: -o-linear-gradient(top, #999999, #333333); /* Opera 11.10+ */\r
- background-image: linear-gradient(top, #999999, #333333);\r
- filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#999999', EndColorStr='#333333'); /* IE6–IE9 */\r
- border: 1px solid #333333;\r
-}\r
+ Licensed under the Apache License, Version 2.0 (the "License");\r
+ you may not use this file except in compliance with the License.\r
+ You may obtain a copy of the License at\r
\r
-button.github {\r
- width: 200px;\r
-}\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
\r
-button.github img {\r
- margin-right: 7px;\r
- margin-bottom: -3px;\r
- height: 16px;\r
- width: 16px;\r
-}\r
+ Unless required by applicable law or agreed to in writing, software\r
+ distributed under the License is distributed on an "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ See the License for the specific language governing permissions and\r
+ limitations under the License.\r
\r
-/* Menu items */\r
+ Documentation generator for the nit language.\r
+ Generate API documentation in HTML format from nit source code.\r
+*/\r
\r
-#liGitHub{\r
- float:right;\r
- margin-top:-4px;\r
- height: 20px;\r
- cursor: pointer;\r
+/* \r
+ * Nitdoc Github Login Box\r
+ */\r
+\r
+#nitdoc-github-li {\r
+ float: right;\r
+ padding: 0;\r
+ margin: -2px 15px 5px 5px;\r
}\r
\r
-#liGitHub.current {\r
+#nitdoc-github-li.current {\r
color: #999;\r
}\r
\r
-#imgGitHub {\r
+#nitdoc-github-li .nitdoc-github-li-img {\r
width: 20px;\r
-}\r
-\r
-/* Modal Box */\r
-\r
-#fade {\r
- display: none;\r
- background: #000;\r
- position: fixed; left: 0; top: 0;\r
- width: 100%; height: 100%;\r
- opacity: .80;\r
- filter: alpha(opacity=80);\r
- z-index: 9999;\r
-}\r
-\r
-#modal{\r
- display: none;\r
- background: #fff;\r
- padding: 20px;\r
- border: 3px solid #ddd;\r
- float: left;\r
- position: fixed;\r
- z-index: 99999;\r
- /* fix Box Shadow CSS3 */\r
- -webkit-box-shadow: 0px 0px 20px #000;\r
- -moz-box-shadow: 0px 0px 20px #000;\r
- box-shadow: 0px 0px 20px #000;\r
- /* round corners CSS3 */\r
- -webkit-border-radius: 10px;\r
- -moz-border-radius: 10px;\r
- border-radius: 10px;\r
- text-align: left;\r
-}\r
-\r
-#modal .buttonArea, #modal h3 {\r
- text-align: center;\r
-}\r
-\r
-#modal textarea {\r
- min-width: 300px;\r
- width: 100%;\r
-}\r
-\r
-#modal button {\r
- line-height: 20px;\r
- margin-bottom: 0;\r
- padding: 4px 12px;\r
- margin-top: 10px;\r
-}\r
-\r
-#modal .btnClose {\r
- float: right;\r
- margin: -35px -35px 0 0;\r
cursor: pointer;\r
}\r
\r
-#modal h3.error {\r
- color: red;\r
-}\r
-\r
-/* Login box */\r
-\r
-#loginBox {\r
+#nitdoc-github-loginbox {\r
cursor: default;\r
position: absolute;\r
width : 220px;\r
margin-top: 10px;\r
- margin-left: -194px;\r
- z-index: 1010;\r
+ margin-left: -215px;\r
display: block;\r
padding: 10px;\r
text-align: left;\r
background-clip: padding-box;\r
}\r
\r
-#loginBox .arrow {\r
+#nitdoc-github-loginbox .nitdoc-github-loginbox-arrow {\r
position: absolute;\r
display: block;\r
width: 0;\r
border-width: 11px;\r
top: -11px;\r
left: 50%;\r
- margin-left: 71px;\r
+ margin-left: 93px;\r
border-bottom-color: #999;\r
border-bottom-color: rgba(0, 0, 0, 0.25);\r
border-top-width: 0;\r
}\r
\r
-#loginBox .arrow:after {\r
+#nitdoc-github-loginbox .nitdoc-github-loginbox-arrow:after {\r
position: absolute;\r
display: block;\r
width: 0;\r
border-top-width: 0;\r
}\r
\r
-#loginBox h3 {\r
+#nitdoc-github-loginbox h3 {\r
text-align:center;\r
}\r
\r
-#loginBox input {\r
+#nitdoc-github-loginbox input {\r
width: 212px;\r
height: 20px;\r
padding: 3px;\r
border: 1px solid #CCC;\r
}\r
\r
-#loginBox button {\r
+#nitdoc-github-loginbox button {\r
+ margin-top: 15px;\r
width: 220px;\r
}\r
\r
-#loginBox #logginMessage {\r
+#nitdoc-github-loginbox h4 {\r
display: block;\r
width: 100%;\r
color: black;\r
margin-bottom: 20px;\r
}\r
\r
-#loginBox #logginBranches {\r
- margin-bottom: 20px;\r
+/* \r
+ * Nitdoc Github buttons\r
+ */\r
+\r
+button.nitdoc-github-button {\r
+ display: inline-block;\r
+ cursor: pointer;\r
+ background-color: #92C929;\r
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#92C929), to(#1d7900)); /* Saf4+, Chrome */\r
+ background-image: -webkit-linear-gradient(top, #92C929, #1d7900); /* Chrome 10+, Saf5.1+ */\r
+ background-image: -moz-linear-gradient(top, #92C929, #1d7900); /* FF3.6 */\r
+ background-image: -ms-linear-gradient(top, #92C929, #1d7900); /* IE10 */\r
+ background-image: -o-linear-gradient(top, #92C929, #1d7900); /* Opera 11.10+ */\r
+ background-image: linear-gradient(top, #92C929, #1d7900);\r
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#92C929', EndColorStr='#1d7900'); /* IE6–IE9 */\r
+ border-radius: 4px;\r
+ -moz-border-radius: 4px;\r
+ -webkit-border-radius: 4px;\r
+ -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;\r
+ box-shadow: 0px 2px 4px rgba(0,0,0, .2);\r
+ -moz-box-shadow: 0px 2px 4px rgba(0,0,0, .2);\r
+ -webkit-box-shadow: 0px 2px 4px rgba(0,0,0, .2);\r
+ text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);\r
+ -moz-text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);\r
+ -webkit-text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);\r
+ border: 1px solid #1d7900;\r
+ color: #fff;\r
+ font-weight: bold;\r
+ font-size: 14px;\r
+ padding: 5px 7px 5px 7px;\r
+ text-align: center;\r
+}\r
+\r
+button.nitdoc-github-button[disabled=disabled] {\r
+ background-color: #999999;\r
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#999999), to(#333333)); /* Saf4+, Chrome */\r
+ background-image: -webkit-linear-gradient(top, #999999, #333333); /* Chrome 10+, Saf5.1+ */\r
+ background-image: -moz-linear-gradient(top, #999999, #333333); /* FF3.6 */\r
+ background-image: -ms-linear-gradient(top, #999999, #333333); /* IE10 */\r
+ background-image: -o-linear-gradient(top, #999999, #333333); /* Opera 11.10+ */\r
+ background-image: linear-gradient(top, #999999, #333333);\r
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#999999', EndColorStr='#333333'); /* IE6–IE9 */\r
+ border: 1px solid #333333;\r
+}\r
+\r
+button.nitdoc-github-button img {\r
+ margin-right: 7px;\r
+ margin-bottom: -3px;\r
+ height: 16px;\r
+ width: 16px;\r
+}\r
+\r
+/*\r
+ * Modal Box\r
+ */\r
+\r
+.nitdoc-github-fade {\r
+ background: #000;\r
+ position: fixed; left: 0; top: 0;\r
+ width: 100%; height: 100%;\r
+ opacity: .80;\r
+ filter: alpha(opacity=80);\r
+ z-index: 9999;\r
+}\r
+\r
+.nitdoc-github-modal {\r
+ background: #fff;\r
+ padding: 20px;\r
+ border: 3px solid #ddd;\r
+ float: left;\r
+ position: fixed;\r
+ z-index: 99999;\r
+ /* fix Box Shadow CSS3 */\r
+ -webkit-box-shadow: 0px 0px 20px #000;\r
+ -moz-box-shadow: 0px 0px 20px #000;\r
+ box-shadow: 0px 0px 20px #000;\r
+ /* round corners CSS3 */\r
+ -webkit-border-radius: 10px;\r
+ -moz-border-radius: 10px;\r
+ border-radius: 10px;\r
+ text-align: left;\r
+}\r
+\r
+.nitdoc-github-buttons, .nitdoc-github-modal h3 {\r
+ text-align: center;\r
+}\r
+\r
+.nitdoc-github-modal.nitdoc-github-error h3 {\r
+ color: red;\r
}\r
\r
-#loginBox #dropBranches{\r
- margin-bottom: 10px;\r
- width: 169px;\r
+.nitdoc-github-modal textarea {\r
+ min-width: 300px;\r
+ width: 100%;\r
+}\r
+\r
+.nitdoc-github-modal button {\r
+ line-height: 20px;\r
+ margin-bottom: 0;\r
+ padding: 4px 12px;\r
+ margin-top: 20px;\r
+}\r
+\r
+.nitdoc-github-close {\r
+ float: right;\r
+ margin: -35px -35px 0 0;\r
+ cursor: pointer;\r
}\r
\r
/* Comment editing */\r
\r
-.commentBox {\r
+.nitdoc-github-commentbox {\r
text-align: right;\r
}\r
\r
-.commentBox textarea {\r
+.nitdoc-github-commentbox textarea {\r
font-family: monospace;\r
font-size: 1em;\r
width: 100%;\r
padding: 4px;\r
padding-left: 11px;\r
overflow-y: hidden;\r
+ border: 1px solid #CCC;\r
}\r
\r
-.commentBox .preview {\r
+.nitdoc-github-preview {\r
margin: 0 15px;\r
cursor: pointer;\r
}\r
\r
-.commentBox .cancel {\r
+.nitdoc-github-button.nitdoc-github-cancel {\r
background-color: #b33630;\r
background-image: -webkit-gradient(linear, left top, left bottom, from(#b33630), to(#9f312c)); /* Saf4+, Chrome */\r
background-image: -webkit-linear-gradient(top, #b33630, #9f312c); /* Chrome 10+, Saf5.1+ */\r
color: black;\r
}\r
\r
-a.cancel {\r
+a.nitdoc-github-cancel {\r
color: #b33630;\r
cursor: pointer;\r
}\r
\r
-a.update {\r
+a.nitdoc-github-update {\r
color: orange;\r
cursor: pointer;\r
}\r