docjs 0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CONCEPT.md +80 -0
- data/DOCUMENTATION.md +41 -0
- data/LICENSE.md +19 -0
- data/README.md +19 -0
- data/RENDERING.md +8 -0
- data/bin/docjs +190 -0
- data/docjs.gemspec +32 -0
- data/lib/boot.rb +34 -0
- data/lib/code_object/base.rb +48 -0
- data/lib/code_object/converter.rb +48 -0
- data/lib/code_object/exceptions.rb +5 -0
- data/lib/code_object/function.rb +84 -0
- data/lib/code_object/object.rb +18 -0
- data/lib/code_object/type.rb +43 -0
- data/lib/configs.rb +53 -0
- data/lib/document/document.rb +25 -0
- data/lib/dom/dom.rb +188 -0
- data/lib/dom/exceptions.rb +12 -0
- data/lib/dom/no_doc.rb +26 -0
- data/lib/dom/node.rb +415 -0
- data/lib/helper/helper.rb +120 -0
- data/lib/helper/linker.rb +130 -0
- data/lib/logger.rb +49 -0
- data/lib/parser/comment.rb +69 -0
- data/lib/parser/comment_parser.rb +90 -0
- data/lib/parser/exceptions.rb +6 -0
- data/lib/parser/meta_container.rb +20 -0
- data/lib/parser/parser.rb +269 -0
- data/lib/processor.rb +123 -0
- data/lib/renderer.rb +108 -0
- data/lib/tasks/render_task.rb +112 -0
- data/lib/thor.rb +27 -0
- data/lib/token/container.rb +84 -0
- data/lib/token/exceptions.rb +6 -0
- data/lib/token/handler.rb +242 -0
- data/lib/token/token.rb +46 -0
- data/templates/application.rb +14 -0
- data/templates/helpers/template.rb +66 -0
- data/templates/resources/css/.sass-cache/98c121fba905284c2c8ca6220fe3c590e5c9ec19/application.scssc +0 -0
- data/templates/resources/css/application.css +836 -0
- data/templates/resources/img/arrow_down.png +0 -0
- data/templates/resources/img/arrow_right.png +0 -0
- data/templates/resources/img/arrow_up.png +0 -0
- data/templates/resources/img/bullet_toggle_minus.png +0 -0
- data/templates/resources/img/bullet_toggle_plus.png +0 -0
- data/templates/resources/img/constructor.png +0 -0
- data/templates/resources/img/function.png +0 -0
- data/templates/resources/img/object.png +0 -0
- data/templates/resources/img/page.png +0 -0
- data/templates/resources/img/prototype.png +0 -0
- data/templates/resources/img/tag.png +0 -0
- data/templates/resources/js/application.js +318 -0
- data/templates/resources/js/jcore.js +129 -0
- data/templates/resources/js/jquery.cookie.js +92 -0
- data/templates/resources/js/jquery.js +16 -0
- data/templates/resources/js/jquery.tooltip.js +77 -0
- data/templates/resources/js/jquery.treeview.js +238 -0
- data/templates/resources/scss/_footer.scss +10 -0
- data/templates/resources/scss/_header.scss +184 -0
- data/templates/resources/scss/_helpers.scss +91 -0
- data/templates/resources/scss/_print.scss +20 -0
- data/templates/resources/scss/_resets.scss +132 -0
- data/templates/resources/scss/_tooltip.scss +26 -0
- data/templates/resources/scss/application.scss +442 -0
- data/templates/tasks/api_index_task.rb +26 -0
- data/templates/tasks/docs_task.rb +33 -0
- data/templates/tasks/json_data_task.rb +55 -0
- data/templates/tasks/typed_task.rb +54 -0
- data/templates/tokens/tokens.rb +22 -0
- data/templates/types/prototype.rb +20 -0
- data/templates/views/api_index.html.erb +21 -0
- data/templates/views/doc_page.html.erb +11 -0
- data/templates/views/function/_detail.html.erb +8 -0
- data/templates/views/function/index.html.erb +53 -0
- data/templates/views/index.html.erb +0 -0
- data/templates/views/layout/application.html.erb +73 -0
- data/templates/views/layout/json.html.erb +3 -0
- data/templates/views/object/index.html.erb +63 -0
- data/templates/views/tokens/_default.html.erb +11 -0
- data/templates/views/tokens/_default_token.html.erb +19 -0
- data/templates/views/tokens/_example.html.erb +2 -0
- data/templates/views/tokens/_examples.html.erb +1 -0
- data/test/code_object/converter.rb +78 -0
- data/test/code_object/prototype.rb +70 -0
- data/test/configs.rb +65 -0
- data/test/docs/README.CONCEPT.md +83 -0
- data/test/docs/README.md +14 -0
- data/test/dom/dom.absolute_nodes.rb +40 -0
- data/test/dom/dom.rb +72 -0
- data/test/dom/node.rb +53 -0
- data/test/integration/converter.rb +72 -0
- data/test/integration/parser_factory.rb +28 -0
- data/test/interactive.rb +7 -0
- data/test/js-files/absolute.js +11 -0
- data/test/js-files/comments_in_strings.js +31 -0
- data/test/js-files/core-doc-relative.js +77 -0
- data/test/js-files/core-doc.js +145 -0
- data/test/js-files/nested.js +34 -0
- data/test/js-files/nested_with_strings.js +35 -0
- data/test/js-files/prototype.js +33 -0
- data/test/js-files/simple.js +17 -0
- data/test/js-files/tokens.js +32 -0
- data/test/parser/comments_in_strings.rb +51 -0
- data/test/parser/intelligent_skip_until.rb +110 -0
- data/test/parser/parser.rb +273 -0
- data/test/rspec_helper.rb +23 -0
- data/test/token/handler.rb +136 -0
- data/test/token/tokens.rb +52 -0
- metadata +184 -0
data/lib/token/token.rb
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
module Token
|
2
|
+
class Token
|
3
|
+
|
4
|
+
attr_reader :name, :content, :types, :children
|
5
|
+
|
6
|
+
def initialize(args = {})
|
7
|
+
|
8
|
+
@name = args[:name]
|
9
|
+
@types = args[:types]
|
10
|
+
@children = args[:children]
|
11
|
+
@content = args[:content] || ""
|
12
|
+
end
|
13
|
+
|
14
|
+
# @note should only be performed once!!!
|
15
|
+
def self.process_options(options = {})
|
16
|
+
|
17
|
+
# pushing defaults
|
18
|
+
options[:template] ||= :default
|
19
|
+
|
20
|
+
options[:html] = {
|
21
|
+
:class => options[:token].to_s
|
22
|
+
}.merge(options[:html] || {})
|
23
|
+
|
24
|
+
options[:area] ||= :body
|
25
|
+
|
26
|
+
%w(handler token template html area).each do |opt|
|
27
|
+
self.class_variable_set("@@#{opt}".to_sym, options[opt.to_sym])
|
28
|
+
|
29
|
+
class_eval "
|
30
|
+
def self.#{opt}
|
31
|
+
return self.class_variable_get(:@@#{opt}) if self.class_variable_defined? :@@#{opt}
|
32
|
+
end
|
33
|
+
|
34
|
+
def #{opt}
|
35
|
+
self.class.#{opt}
|
36
|
+
end
|
37
|
+
"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def to_s
|
42
|
+
self.class.class_variable_get(:@@token).to_s.capitalize
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Load CodeObject::Types
|
2
|
+
require_relative 'types/prototype'
|
3
|
+
|
4
|
+
# Load Default Tokens
|
5
|
+
require_relative 'tokens/tokens'
|
6
|
+
|
7
|
+
# Register Rendertasks
|
8
|
+
require_relative 'tasks/typed_task'
|
9
|
+
require_relative 'tasks/docs_task'
|
10
|
+
require_relative 'tasks/api_index_task'
|
11
|
+
require_relative 'tasks/json_data_task'
|
12
|
+
|
13
|
+
# Register Helpers
|
14
|
+
require_relative 'helpers/template'
|
@@ -0,0 +1,66 @@
|
|
1
|
+
module Helper
|
2
|
+
|
3
|
+
# This Helper-methods are template-specific ones. If you are using your own template, you might not
|
4
|
+
# need them anymore.
|
5
|
+
module Template
|
6
|
+
|
7
|
+
def signature(method)
|
8
|
+
params = method.params.map { |p|
|
9
|
+
"<span class=\"param\">#{p.name}</span>" +
|
10
|
+
"<span class=\"tooltip\">(<span class=\"types\">#{p.types.map{|t| link_to(t) }.join(', ')}</span>) " +
|
11
|
+
"#{replace_links p.content}</span>"
|
12
|
+
}.join(', ') unless method.params.nil?
|
13
|
+
|
14
|
+
return_types = method.returns.first.types.map{|type| link_to(type) }.join(', ') unless method.returns.nil? or method.returns.first.nil?
|
15
|
+
"(#{return_types || 'Void'}) <span class='name'>#{method.name}</span>(<span class='params'>#{params}</span>)"
|
16
|
+
end
|
17
|
+
|
18
|
+
def subsection(id, opts = {})
|
19
|
+
unless opts[:collection].nil? or opts[:collection].size == 0
|
20
|
+
"<h3>#{opts[:title]}</h3><ul class=\"#{id} subsection\">" +
|
21
|
+
render(:partial => opts[:partial], :collection => opts[:collection]) +
|
22
|
+
"</ul>"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def hierarchy(object)
|
27
|
+
|
28
|
+
children = object.children.values.reject {|c| c.is_a? CodeObject::Function }
|
29
|
+
parents = object.parents
|
30
|
+
|
31
|
+
parents.map {|parent| "<ul><li>#{link_to parent, parent.name}" }.join('') +
|
32
|
+
"<ul><li class=\"this\">#{link_to object, object.name}<ul class=\"children\">" +
|
33
|
+
children.map {|child| "<li>#{link_to child}</li>" }.join('') +
|
34
|
+
"</ul>" * (parents.size + 2)
|
35
|
+
end
|
36
|
+
|
37
|
+
def api_browser(root = Dom.root)
|
38
|
+
if root == Dom.root
|
39
|
+
output = ""
|
40
|
+
elsif root.is_a? Dom::NoDoc
|
41
|
+
output = "<li class=\"nodoc\"><span>#{root.name}</span>"
|
42
|
+
elsif root.is_a? CodeObject::Function
|
43
|
+
output = "<li class=\"function\">" + link_to(root, tag(:span, root.name))
|
44
|
+
else # Object
|
45
|
+
output = "<li class=\"object\">" + link_to(root, tag(:span, root.name))
|
46
|
+
end
|
47
|
+
|
48
|
+
if root.has_children?
|
49
|
+
output += "<ul>"
|
50
|
+
root.children.values.each do |child|
|
51
|
+
output += api_browser(child)
|
52
|
+
end
|
53
|
+
output += "</ul>"
|
54
|
+
end
|
55
|
+
|
56
|
+
return output
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
|
63
|
+
# @todo automatically load from application.rb
|
64
|
+
class Tasks::RenderTask
|
65
|
+
include Helper::Template
|
66
|
+
end
|
data/templates/resources/css/.sass-cache/98c121fba905284c2c8ca6220fe3c590e5c9ec19/application.scssc
ADDED
Binary file
|
@@ -0,0 +1,836 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/* Global Colors */
|
3
|
+
/* Header-colors */
|
4
|
+
/*#4096ee;*/
|
5
|
+
/* Content-colors */
|
6
|
+
/* Dimensions */
|
7
|
+
/**
|
8
|
+
* HTML5 ✰ Boilerplate
|
9
|
+
*
|
10
|
+
* style.css contains a reset, font normalization and some base styles.
|
11
|
+
*
|
12
|
+
* Credit is left where credit is due.
|
13
|
+
* Much inspiration was taken from these projects:
|
14
|
+
* - yui.yahooapis.com/2.8.1/build/base/base.css
|
15
|
+
* - camendesign.com/design/
|
16
|
+
* - praegnanz.de/weblog/htmlcssjs-kickstart
|
17
|
+
*/
|
18
|
+
/**
|
19
|
+
* html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
|
20
|
+
* v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
|
21
|
+
* html5doctor.com/html-5-reset-stylesheet/
|
22
|
+
*/
|
23
|
+
html, body, body div, span, object, iframe,
|
24
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
25
|
+
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
26
|
+
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
27
|
+
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
|
28
|
+
article, aside, canvas, details, figcaption, figure,
|
29
|
+
footer, header, hgroup, menu, nav, section, summary,
|
30
|
+
time, mark, audio, video {
|
31
|
+
margin: 0;
|
32
|
+
padding: 0;
|
33
|
+
border: 0;
|
34
|
+
font-size: 100%;
|
35
|
+
vertical-align: baseline; }
|
36
|
+
|
37
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
38
|
+
display: block; }
|
39
|
+
|
40
|
+
blockquote, q {
|
41
|
+
quotes: none; }
|
42
|
+
|
43
|
+
blockquote:before, blockquote:after,
|
44
|
+
q:before, q:after {
|
45
|
+
content: "";
|
46
|
+
content: none; }
|
47
|
+
|
48
|
+
ins {
|
49
|
+
background-color: #ff9;
|
50
|
+
color: #000;
|
51
|
+
text-decoration: none; }
|
52
|
+
|
53
|
+
mark {
|
54
|
+
background-color: #ff9;
|
55
|
+
color: #000;
|
56
|
+
font-style: italic;
|
57
|
+
font-weight: bold; }
|
58
|
+
|
59
|
+
del {
|
60
|
+
text-decoration: line-through; }
|
61
|
+
|
62
|
+
abbr[title], dfn[title] {
|
63
|
+
border-bottom: 1px dotted;
|
64
|
+
cursor: help; }
|
65
|
+
|
66
|
+
table {
|
67
|
+
border-collapse: collapse;
|
68
|
+
border-spacing: 0; }
|
69
|
+
|
70
|
+
hr {
|
71
|
+
display: block;
|
72
|
+
height: 1px;
|
73
|
+
border: 0;
|
74
|
+
border-top: 1px solid #ccc;
|
75
|
+
margin: 1.33em 0;
|
76
|
+
padding: 0; }
|
77
|
+
|
78
|
+
/* Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ */
|
79
|
+
body {
|
80
|
+
font: 13px/1.231 Arial, sans-serif;
|
81
|
+
*font-size: small; }
|
82
|
+
|
83
|
+
/* Hack retained to preserve specificity */
|
84
|
+
/* Normalize monospace sizing: en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
|
85
|
+
pre, code, kbd, samp {
|
86
|
+
font-family: monospace, sans-serif;
|
87
|
+
white-space: pre-wrap; }
|
88
|
+
|
89
|
+
/* 1) Always force a scrollbar in non-IE
|
90
|
+
2) Remove iOS text size adjust without disabling user zoom: www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
|
91
|
+
html {
|
92
|
+
overflow-y: scroll;
|
93
|
+
-webkit-text-size-adjust: 100%;
|
94
|
+
-ms-text-size-adjust: 100%; }
|
95
|
+
|
96
|
+
/* j.mp/webkit-tap-highlight-color */
|
97
|
+
a:link {
|
98
|
+
-webkit-tap-highlight-color: #FF5E99; }
|
99
|
+
|
100
|
+
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
|
101
|
+
a:hover, a:active {
|
102
|
+
outline: none; }
|
103
|
+
|
104
|
+
ul, ol {
|
105
|
+
margin-left: 2em;
|
106
|
+
margin-bottom: 1.33em; }
|
107
|
+
|
108
|
+
ol {
|
109
|
+
list-style-type: decimal; }
|
110
|
+
|
111
|
+
dl {
|
112
|
+
margin-bottom: 1.33em; }
|
113
|
+
|
114
|
+
/* Remove margins for navigation lists */
|
115
|
+
nav ul, nav li {
|
116
|
+
margin: 0;
|
117
|
+
list-style: none;
|
118
|
+
list-style-image: none; }
|
119
|
+
|
120
|
+
small {
|
121
|
+
font-size: 85%; }
|
122
|
+
|
123
|
+
b, strong, th {
|
124
|
+
font-weight: bold; }
|
125
|
+
|
126
|
+
td {
|
127
|
+
vertical-align: top; }
|
128
|
+
|
129
|
+
/* Set sub, sup without affecting line-height: gist.github.com/413930 */
|
130
|
+
sub, sup {
|
131
|
+
font-size: 75%;
|
132
|
+
line-height: 0;
|
133
|
+
position: relative; }
|
134
|
+
|
135
|
+
sup {
|
136
|
+
top: -0.5em; }
|
137
|
+
|
138
|
+
sub {
|
139
|
+
bottom: -0.25em; }
|
140
|
+
|
141
|
+
pre {
|
142
|
+
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
|
143
|
+
white-space: pre;
|
144
|
+
white-space: pre-wrap;
|
145
|
+
word-wrap: break-word;
|
146
|
+
padding: 15px; }
|
147
|
+
|
148
|
+
.oldie legend {
|
149
|
+
*margin-left: -7px; }
|
150
|
+
|
151
|
+
/* 1) Make inputs and buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
|
152
|
+
2) WebKit browsers add a 2px margin outside the chrome of form elements.
|
153
|
+
Firefox adds a 1px margin above and below textareas
|
154
|
+
3) Set font-size to match <body>'s, and font-family to sans-serif
|
155
|
+
4) Align to baseline */
|
156
|
+
button, input, select, textarea {
|
157
|
+
width: auto;
|
158
|
+
overflow: visible;
|
159
|
+
margin: 0;
|
160
|
+
font-size: 100%;
|
161
|
+
font-family: sans-serif;
|
162
|
+
vertical-align: baseline; }
|
163
|
+
|
164
|
+
/* 1) Remove default scrollbar in IE: www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/
|
165
|
+
2) Align to text-top */
|
166
|
+
textarea {
|
167
|
+
overflow: auto;
|
168
|
+
vertical-align: text-top; }
|
169
|
+
|
170
|
+
/* Hand cursor on clickable input elements */
|
171
|
+
label, input[type="button"], input[type="submit"], input[type="image"], button {
|
172
|
+
cursor: pointer; }
|
173
|
+
|
174
|
+
/* Remove extra padding and inner border in Firefox */
|
175
|
+
input::-moz-focus-inner,
|
176
|
+
button::-moz-focus-inner {
|
177
|
+
border: 0;
|
178
|
+
padding: 0; }
|
179
|
+
|
180
|
+
/* Colors for form validity */
|
181
|
+
input:invalid, textarea:invalid {
|
182
|
+
border-radius: 1px;
|
183
|
+
-moz-box-shadow: 0px 0px 5px red;
|
184
|
+
-webkit-box-shadow: 0px 0px 5px red;
|
185
|
+
box-shadow: 0px 0px 5px red; }
|
186
|
+
|
187
|
+
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid {
|
188
|
+
background-color: #f0dddd; }
|
189
|
+
|
190
|
+
/* Bicubic resizing in IE7 for non-native sized IMG:
|
191
|
+
code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
|
192
|
+
.oldie img {
|
193
|
+
-ms-interpolation-mode: bicubic; }
|
194
|
+
|
195
|
+
/*
|
196
|
+
* Print styles.
|
197
|
+
*
|
198
|
+
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
199
|
+
*/
|
200
|
+
@media print {
|
201
|
+
* {
|
202
|
+
background: transparent !important;
|
203
|
+
color: black !important;
|
204
|
+
text-shadow: none !important;
|
205
|
+
filter: none !important;
|
206
|
+
-ms-filter: none !important; }
|
207
|
+
|
208
|
+
/* Black prints faster: sanbeiji.com/archives/953 */
|
209
|
+
a, a:visited {
|
210
|
+
color: #444 !important;
|
211
|
+
text-decoration: underline; }
|
212
|
+
|
213
|
+
a[href]:after {
|
214
|
+
content: " (" attr(href) ")"; }
|
215
|
+
|
216
|
+
abbr[title]:after {
|
217
|
+
content: " (" attr(title) ")"; }
|
218
|
+
|
219
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
|
220
|
+
content: ""; }
|
221
|
+
|
222
|
+
/* Don't show links for images, or javascript/internal links */
|
223
|
+
pre, blockquote {
|
224
|
+
border: 1px solid #999;
|
225
|
+
page-break-inside: avoid; }
|
226
|
+
|
227
|
+
thead {
|
228
|
+
display: table-header-group; }
|
229
|
+
|
230
|
+
/* css-discuss.incutio.com/wiki/Printing_Tables */
|
231
|
+
tr, img {
|
232
|
+
page-break-inside: avoid; }
|
233
|
+
|
234
|
+
img {
|
235
|
+
max-width: 100% !important; }
|
236
|
+
|
237
|
+
@page {
|
238
|
+
margin: 0.5cm; }
|
239
|
+
|
240
|
+
p, h2, h3 {
|
241
|
+
orphans: 3;
|
242
|
+
widows: 3; }
|
243
|
+
|
244
|
+
h2, h3 {
|
245
|
+
page-break-after: avoid; } }
|
246
|
+
/* Kudos to http://www.colorzilla.com/gradient-editor/ */
|
247
|
+
/* inspired by http://docs.sencha.com/ext-js/4-0/ */
|
248
|
+
#header {
|
249
|
+
background: #f0f0f0;
|
250
|
+
/* Old browsers */
|
251
|
+
background: -moz-linear-gradient(top, #fcfcfc 0px, #f0f0f0 200px);
|
252
|
+
/* FF3.6+ */
|
253
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0px, #fcfcfc), color-stop(200px, #f0f0f0));
|
254
|
+
/* Chrome,Safari4+ */
|
255
|
+
background: -webkit-linear-gradient(top, #fcfcfc 0px, #f0f0f0 200px);
|
256
|
+
/* Chrome10+,Safari5.1+ */
|
257
|
+
background: -o-linear-gradient(top, #fcfcfc 0px, #f0f0f0 200px);
|
258
|
+
/* Opera11.10+ */
|
259
|
+
background: -ms-linear-gradient(top, #fcfcfc 0px, #f0f0f0 200px);
|
260
|
+
/* IE10+ */
|
261
|
+
background: linear-gradient(top, #fcfcfc 0px, #f0f0f0 200px);
|
262
|
+
/* W3C */
|
263
|
+
border-bottom: 1px solid #dfdfdf;
|
264
|
+
box-shadow: inset 0 -1px 0 #f6f6f6;
|
265
|
+
display: block;
|
266
|
+
overflow: hidden;
|
267
|
+
padding-bottom: 30px; }
|
268
|
+
#header .search-results {
|
269
|
+
display: none; }
|
270
|
+
#header.collapsed .browsers {
|
271
|
+
display: none; }
|
272
|
+
#header div.wrapper {
|
273
|
+
display: block;
|
274
|
+
margin: 0 auto;
|
275
|
+
max-width: 1000px;
|
276
|
+
overflow: hidden; }
|
277
|
+
#header nav {
|
278
|
+
display: block;
|
279
|
+
overflow: hidden;
|
280
|
+
position: relative; }
|
281
|
+
#header nav > * {
|
282
|
+
padding: 10px; }
|
283
|
+
#header nav h1 {
|
284
|
+
display: block;
|
285
|
+
float: left;
|
286
|
+
font-family: 'Terminal Dosis Light', 'Helvetica', 'Arial', 'sans-serif';
|
287
|
+
font-weight: normal;
|
288
|
+
text-shadow: 1px 1px #fff;
|
289
|
+
font-weight: bold;
|
290
|
+
font-size: 24pt; }
|
291
|
+
#header nav form {
|
292
|
+
display: block;
|
293
|
+
float: right; }
|
294
|
+
#header nav input#search {
|
295
|
+
border-radius: 10px;
|
296
|
+
outline: none;
|
297
|
+
padding: 0.2em 0.5em; }
|
298
|
+
#header nav #page-menu {
|
299
|
+
display: block;
|
300
|
+
float: left;
|
301
|
+
margin-left: 20%;
|
302
|
+
padding: 0; }
|
303
|
+
#header nav #page-menu li {
|
304
|
+
display: block;
|
305
|
+
float: left;
|
306
|
+
/* rounded corners */ }
|
307
|
+
#header nav #page-menu li:first-child a {
|
308
|
+
border-radius: 0 0 0 10px; }
|
309
|
+
#header nav #page-menu li:last-child a {
|
310
|
+
border-radius: 0 0 10px 0; }
|
311
|
+
#header nav #page-menu a {
|
312
|
+
background: #4a8fd3;
|
313
|
+
/* Old browsers */
|
314
|
+
background: -moz-linear-gradient(top, #88b5e2 0%, #4a8fd3 100%);
|
315
|
+
/* FF3.6+ */
|
316
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #88b5e2), color-stop(100%, #4a8fd3));
|
317
|
+
/* Chrome,Safari4+ */
|
318
|
+
background: -webkit-linear-gradient(top, #88b5e2 0%, #4a8fd3 100%);
|
319
|
+
/* Chrome10+,Safari5.1+ */
|
320
|
+
background: -o-linear-gradient(top, #88b5e2 0%, #4a8fd3 100%);
|
321
|
+
/* Opera11.10+ */
|
322
|
+
background: -ms-linear-gradient(top, #88b5e2 0%, #4a8fd3 100%);
|
323
|
+
/* IE10+ */
|
324
|
+
background: linear-gradient(top, #88b5e2 0%, #4a8fd3 100%);
|
325
|
+
/* W3C */
|
326
|
+
display: block;
|
327
|
+
padding: 0.5em 1em;
|
328
|
+
color: #fff;
|
329
|
+
text-shadow: 1px 1px #2e75bd;
|
330
|
+
border-right: 1px solid #4a8fd3;
|
331
|
+
border-left: 1px solid #88b5e2;
|
332
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
|
333
|
+
#header nav #page-menu a:hover {
|
334
|
+
background: #3682ce;
|
335
|
+
/* Old browsers */
|
336
|
+
background: -moz-linear-gradient(top, #5f9bd8 0%, #3682ce 100%);
|
337
|
+
/* FF3.6+ */
|
338
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5f9bd8), color-stop(100%, #3682ce));
|
339
|
+
/* Chrome,Safari4+ */
|
340
|
+
background: -webkit-linear-gradient(top, #5f9bd8 0%, #3682ce 100%);
|
341
|
+
/* Chrome10+,Safari5.1+ */
|
342
|
+
background: -o-linear-gradient(top, #5f9bd8 0%, #3682ce 100%);
|
343
|
+
/* Opera11.10+ */
|
344
|
+
background: -ms-linear-gradient(top, #5f9bd8 0%, #3682ce 100%);
|
345
|
+
/* IE10+ */
|
346
|
+
background: linear-gradient(top, #5f9bd8 0%, #3682ce 100%);
|
347
|
+
/* W3C */
|
348
|
+
text-decoration: none;
|
349
|
+
border-left: 1px solid transparent; }
|
350
|
+
#header .col50 section {
|
351
|
+
display: block;
|
352
|
+
float: left;
|
353
|
+
margin-top: 15px;
|
354
|
+
width: 49.5%; }
|
355
|
+
#header .col50 section > h1 {
|
356
|
+
font-family: 'Terminal Dosis Light', 'Helvetica', 'Arial', 'sans-serif';
|
357
|
+
font-weight: normal;
|
358
|
+
text-shadow: 1px 1px #fff;
|
359
|
+
font-size: 16pt;
|
360
|
+
padding: 0 0 0 0.5em;
|
361
|
+
margin-bottom: 0.5em; }
|
362
|
+
#header .col50 section > ul {
|
363
|
+
border: 1px solid #eee;
|
364
|
+
border-radius: 10px;
|
365
|
+
padding: 0;
|
366
|
+
margin: 0;
|
367
|
+
overflow-y: scroll; }
|
368
|
+
#header .col50 section > ul::-webkit-scrollbar {
|
369
|
+
width: 7px;
|
370
|
+
height: 9px; }
|
371
|
+
#header .col50 section > ul::-webkit-scrollbar-button:start:decrement, #header .col50 section > ul .iScroll ::-webkit-scrollbar-button:end:increment {
|
372
|
+
display: block;
|
373
|
+
height: 0;
|
374
|
+
background-color: transparent; }
|
375
|
+
#header .col50 section > ul::-webkit-scrollbar-track-piece {
|
376
|
+
-webkit-border-radius: 0;
|
377
|
+
-webkit-border-bottom-right-radius: 4px;
|
378
|
+
-webkit-border-bottom-left-radius: 4px; }
|
379
|
+
#header .col50 section > ul::-webkit-scrollbar-thumb:vertical {
|
380
|
+
height: 50px;
|
381
|
+
background-color: rgba(0, 0, 0, 0.15);
|
382
|
+
-webkit-border-radius: 4px; }
|
383
|
+
#header .col50 section > ul::-webkit-scrollbar-thumb:horizontal {
|
384
|
+
width: 50px;
|
385
|
+
background-color: rgba(0, 0, 0, 0.15);
|
386
|
+
-webkit-border-radius: 4px; }
|
387
|
+
#header .col50 section + section {
|
388
|
+
margin-left: 1%; }
|
389
|
+
#header .docs ul {
|
390
|
+
display: block;
|
391
|
+
overflow: hidden; }
|
392
|
+
#header .docs li {
|
393
|
+
display: block;
|
394
|
+
float: left;
|
395
|
+
width: 50%; }
|
396
|
+
#header .docs a {
|
397
|
+
display: block;
|
398
|
+
padding: 0.5em 1em; }
|
399
|
+
#header a.collapse, #header a.expand {
|
400
|
+
display: block;
|
401
|
+
float: right;
|
402
|
+
color: #a0a0a0;
|
403
|
+
height: 16px;
|
404
|
+
padding-right: 21px;
|
405
|
+
background: url(../img/arrow_up.png) no-repeat center right; }
|
406
|
+
#header a.collapse.expand, #header a.expand.expand {
|
407
|
+
background-image: url(../img/arrow_down.png); }
|
408
|
+
|
409
|
+
#header.search {
|
410
|
+
background: #9dc2e7;
|
411
|
+
/* Old browsers */
|
412
|
+
background: -moz-linear-gradient(top, #dae8f6 0px, #9dc2e7 200px);
|
413
|
+
/* FF3.6+ */
|
414
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0px, #dae8f6), color-stop(200px, #9dc2e7));
|
415
|
+
/* Chrome,Safari4+ */
|
416
|
+
background: -webkit-linear-gradient(top, #dae8f6 0px, #9dc2e7 200px);
|
417
|
+
/* Chrome10+,Safari5.1+ */
|
418
|
+
background: -o-linear-gradient(top, #dae8f6 0px, #9dc2e7 200px);
|
419
|
+
/* Opera11.10+ */
|
420
|
+
background: -ms-linear-gradient(top, #dae8f6 0px, #9dc2e7 200px);
|
421
|
+
/* IE10+ */
|
422
|
+
background: linear-gradient(top, #dae8f6 0px, #9dc2e7 200px);
|
423
|
+
/* W3C */
|
424
|
+
/*color: #F4F7F9;*/
|
425
|
+
/* Hide Apibrowser and docs */ }
|
426
|
+
#header.search .browsers {
|
427
|
+
display: none; }
|
428
|
+
#header.search .search-results {
|
429
|
+
display: block; }
|
430
|
+
#header.search section h1 {
|
431
|
+
padding-left: 26px;
|
432
|
+
text-shadow: none;
|
433
|
+
color: #153556; }
|
434
|
+
#header.search a.collapse, #header.search a.expand {
|
435
|
+
visibility: hidden; }
|
436
|
+
#header.search .col50 section > ul {
|
437
|
+
list-style: none;
|
438
|
+
margin: 0;
|
439
|
+
padding: 0;
|
440
|
+
min-height: 15px;
|
441
|
+
border-color: #88b5e2;
|
442
|
+
overflow: visible;
|
443
|
+
/* remove scrollbars */ }
|
444
|
+
#header.search .col50 section > ul li {
|
445
|
+
padding: 0.5em 1em;
|
446
|
+
cursor: pointer;
|
447
|
+
border-bottom: 1px solid #88b5e2; }
|
448
|
+
#header.search .col50 section > ul li a {
|
449
|
+
color: #000;
|
450
|
+
font-weight: bold; }
|
451
|
+
#header.search .col50 section > ul li .namespace {
|
452
|
+
color: rgba(0, 0, 0, 0.3); }
|
453
|
+
#header.search .col50 section > ul li:hover {
|
454
|
+
background: rgba(255, 255, 255, 0.18); }
|
455
|
+
#header.search .col50 section > ul li.last {
|
456
|
+
border: none; }
|
457
|
+
|
458
|
+
#footer {
|
459
|
+
color: #a0a0a0;
|
460
|
+
margin-top: 20px;
|
461
|
+
margin-bottom: 20px; }
|
462
|
+
#footer .wrapper {
|
463
|
+
display: block;
|
464
|
+
margin: 0 auto;
|
465
|
+
max-width: 1000px; }
|
466
|
+
|
467
|
+
.tooltip {
|
468
|
+
/*@include double-border(1px, #fff, #ccc);*/
|
469
|
+
background: #555555;
|
470
|
+
/* Old browsers */
|
471
|
+
background: -moz-linear-gradient(top, #333333 0%, #555555 100%);
|
472
|
+
/* FF3.6+ */
|
473
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #555555));
|
474
|
+
/* Chrome,Safari4+ */
|
475
|
+
background: -webkit-linear-gradient(top, #333333 0%, #555555 100%);
|
476
|
+
/* Chrome10+,Safari5.1+ */
|
477
|
+
background: -o-linear-gradient(top, #333333 0%, #555555 100%);
|
478
|
+
/* Opera11.10+ */
|
479
|
+
background: -ms-linear-gradient(top, #333333 0%, #555555 100%);
|
480
|
+
/* IE10+ */
|
481
|
+
background: linear-gradient(top, #333333 0%, #555555 100%);
|
482
|
+
/* W3C */
|
483
|
+
font-family: Arial, sans-serif;
|
484
|
+
font-size: 10pt;
|
485
|
+
display: none;
|
486
|
+
position: absolute;
|
487
|
+
padding: 0.5em;
|
488
|
+
max-width: 200px;
|
489
|
+
z-index: 50;
|
490
|
+
font-size: 9pt;
|
491
|
+
color: #eee;
|
492
|
+
border: 1px solid #fff;
|
493
|
+
border-radius: 5px;
|
494
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
495
|
+
.tooltip a {
|
496
|
+
color: #8eb5db; }
|
497
|
+
.tooltip .types {
|
498
|
+
font-family: "Consolas", "monospace";
|
499
|
+
padding: 0 0.2em; }
|
500
|
+
|
501
|
+
body, select, input, textarea {
|
502
|
+
font-family: Arial, sans-serif;
|
503
|
+
font-size: 10pt;
|
504
|
+
background-color: #FBFBFB;
|
505
|
+
color: #444; }
|
506
|
+
|
507
|
+
h1, h2, h3, h4, h5, h6 {
|
508
|
+
font-weight: normal; }
|
509
|
+
|
510
|
+
/* No text-shadow: twitter.com/miketaylr/status/12228805301 */
|
511
|
+
::-moz-selection {
|
512
|
+
background: #d84b0f;
|
513
|
+
color: #fff;
|
514
|
+
text-shadow: none; }
|
515
|
+
|
516
|
+
::selection {
|
517
|
+
background: #d84b0f;
|
518
|
+
color: #fff;
|
519
|
+
text-shadow: none; }
|
520
|
+
|
521
|
+
a {
|
522
|
+
color: #4183c2;
|
523
|
+
text-decoration: none; }
|
524
|
+
a:active, a:visited {
|
525
|
+
color: #4183c2; }
|
526
|
+
a:hover {
|
527
|
+
color: #4183c2;
|
528
|
+
text-decoration: underline; }
|
529
|
+
|
530
|
+
.icon.function, .treeview li.function > a {
|
531
|
+
background: url(../img/function.png) no-repeat left center;
|
532
|
+
padding-left: 24px; }
|
533
|
+
.icon.object, .treeview li.object > a {
|
534
|
+
background: url(../img/object.png) no-repeat left center;
|
535
|
+
padding-left: 24px; }
|
536
|
+
.icon.constructor {
|
537
|
+
background: url(../img/constructor.png) no-repeat left center;
|
538
|
+
padding-left: 24px; }
|
539
|
+
.icon.prototype {
|
540
|
+
background: url(../img/prototype.png) no-repeat left center;
|
541
|
+
padding-left: 24px; }
|
542
|
+
.icon.arrow_right, div#main .body .source.collapsed {
|
543
|
+
background: url(../img/arrow_right.png) no-repeat left center;
|
544
|
+
padding-left: 24px; }
|
545
|
+
.icon.arrow_up {
|
546
|
+
background: url(../img/arrow_up.png) no-repeat left center;
|
547
|
+
padding-left: 24px; }
|
548
|
+
.icon.arrow_down, div#main .body .source {
|
549
|
+
background: url(../img/arrow_down.png) no-repeat left center;
|
550
|
+
padding-left: 24px; }
|
551
|
+
|
552
|
+
.level-one-heading, div#main header h1, div#main .documentation h1 {
|
553
|
+
font-family: 'Terminal Dosis Light', 'Helvetica', 'Arial', 'sans-serif';
|
554
|
+
font-weight: normal;
|
555
|
+
text-shadow: 1px 1px #fff;
|
556
|
+
padding-top: 20px;
|
557
|
+
margin-bottom: 12px;
|
558
|
+
font-size: 40pt; }
|
559
|
+
|
560
|
+
div#main {
|
561
|
+
background: white;
|
562
|
+
/* Old browsers */
|
563
|
+
background: -moz-linear-gradient(top, #f2f2f2 0px, white 40px);
|
564
|
+
/* FF3.6+ */
|
565
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0px, #f2f2f2), color-stop(40px, white));
|
566
|
+
/* Chrome,Safari4+ */
|
567
|
+
background: -webkit-linear-gradient(top, #f2f2f2 0px, white 40px);
|
568
|
+
/* Chrome10+,Safari5.1+ */
|
569
|
+
background: -o-linear-gradient(top, #f2f2f2 0px, white 40px);
|
570
|
+
/* Opera11.10+ */
|
571
|
+
background: -ms-linear-gradient(top, #f2f2f2 0px, white 40px);
|
572
|
+
/* IE10+ */
|
573
|
+
background: linear-gradient(top, #f2f2f2 0px, white 40px);
|
574
|
+
/* W3C */
|
575
|
+
display: block;
|
576
|
+
margin: 0 auto;
|
577
|
+
max-width: 1000px;
|
578
|
+
display: block;
|
579
|
+
overflow: hidden;
|
580
|
+
margin-top: -20px;
|
581
|
+
border-radius: 10px 10px 0 0;
|
582
|
+
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
|
583
|
+
border-top: 1px solid #eee; }
|
584
|
+
div#main h1 {
|
585
|
+
font-size: 24pt;
|
586
|
+
color: #d84b0f; }
|
587
|
+
div#main h2 {
|
588
|
+
font-size: 16pt;
|
589
|
+
margin: 1.25em 0 0.25em;
|
590
|
+
border-bottom: 1px solid #EFEFEF; }
|
591
|
+
div#main h3 {
|
592
|
+
font-size: 10pt;
|
593
|
+
font-weight: bold; }
|
594
|
+
div#main p {
|
595
|
+
line-height: 1.618em;
|
596
|
+
margin: 0.5em 0 1.33em; }
|
597
|
+
div#main > * {
|
598
|
+
padding-left: 20px;
|
599
|
+
padding-right: 20px; }
|
600
|
+
div#main header h1 .flag {
|
601
|
+
font-family: "Consolas", "monospace";
|
602
|
+
display: block;
|
603
|
+
background: #fcded1;
|
604
|
+
border: 1px solid #f9c2ab;
|
605
|
+
color: #5490c8;
|
606
|
+
border-radius: 5px;
|
607
|
+
padding: 0.4em 1em;
|
608
|
+
display: block;
|
609
|
+
float: right;
|
610
|
+
font-size: 8pt;
|
611
|
+
text-shadow: none; }
|
612
|
+
|
613
|
+
div#main nav.sidebar {
|
614
|
+
display: block;
|
615
|
+
float: right;
|
616
|
+
box-shadow: inset 0px 0px 0px 1px white;
|
617
|
+
border: 1px solid #d9d9d9;
|
618
|
+
font-family: "Consolas", "monospace";
|
619
|
+
background: #f3f3f3;
|
620
|
+
margin: 40px 0 12px 12px;
|
621
|
+
padding: 0;
|
622
|
+
border-radius: 5px;
|
623
|
+
font-size: 8pt;
|
624
|
+
color: #999; }
|
625
|
+
div#main nav.sidebar > * {
|
626
|
+
padding: 8px;
|
627
|
+
margin: 0; }
|
628
|
+
div#main nav.sidebar > * + * {
|
629
|
+
border-top: 1px solid #d9d9d9;
|
630
|
+
box-shadow: inset 0 1px 0 white; }
|
631
|
+
div#main nav.sidebar h3 {
|
632
|
+
text-transform: uppercase;
|
633
|
+
padding-bottom: 0.5em;
|
634
|
+
font-size: 8pt; }
|
635
|
+
div#main nav.sidebar .hierarchy {
|
636
|
+
list-style: none;
|
637
|
+
/* first node */ }
|
638
|
+
div#main nav.sidebar .hierarchy ul {
|
639
|
+
list-style: none;
|
640
|
+
margin: 0;
|
641
|
+
padding: 0;
|
642
|
+
padding-left: 1em; }
|
643
|
+
div#main nav.sidebar .hierarchy > ul {
|
644
|
+
padding-left: 0; }
|
645
|
+
div#main nav.sidebar .hierarchy .this > a {
|
646
|
+
font-weight: bold; }
|
647
|
+
div#main nav.sidebar .method-list ul {
|
648
|
+
list-style: none;
|
649
|
+
margin: 0;
|
650
|
+
padding: 0; }
|
651
|
+
div#main nav.sidebar .subsection p {
|
652
|
+
margin: 0; }
|
653
|
+
|
654
|
+
div#main .body > section {
|
655
|
+
margin-bottom: 12px; }
|
656
|
+
div#main .body > section > h2 {
|
657
|
+
margin-top: 12px;
|
658
|
+
margin-bottom: 7.417px;
|
659
|
+
font-size: 14pt; }
|
660
|
+
div#main .body .summary {
|
661
|
+
list-style: none;
|
662
|
+
margin: 0;
|
663
|
+
padding: 0;
|
664
|
+
display: block;
|
665
|
+
overflow: hidden;
|
666
|
+
margin-bottom: 1.33em; }
|
667
|
+
div#main .body .summary li {
|
668
|
+
display: block;
|
669
|
+
float: left; }
|
670
|
+
div#main .body .summary a {
|
671
|
+
font-family: "Consolas", "monospace";
|
672
|
+
display: block;
|
673
|
+
background: #eff4fa;
|
674
|
+
border: 1px solid #d0e0f0;
|
675
|
+
color: #5490c8;
|
676
|
+
border-radius: 5px;
|
677
|
+
padding: 0.4em 1em;
|
678
|
+
margin: 0.25em; }
|
679
|
+
div#main .body .summary a:hover {
|
680
|
+
text-decoration: none;
|
681
|
+
color: #3976b1; }
|
682
|
+
div#main .body code.block {
|
683
|
+
box-shadow: inset 0px 0px 0px 1px white;
|
684
|
+
border: 1px solid #d9d9d9;
|
685
|
+
font-family: "Consolas", "monospace";
|
686
|
+
background: #f3f3f3;
|
687
|
+
display: block;
|
688
|
+
padding: 0.5em;
|
689
|
+
color: #555;
|
690
|
+
margin-bottom: 1.33em; }
|
691
|
+
div#main .body .section {
|
692
|
+
padding-bottom: 12px; }
|
693
|
+
div#main .body .subsection > ul {
|
694
|
+
margin-left: 0;
|
695
|
+
border: 1px solid #efefef;
|
696
|
+
/* all but first li */ }
|
697
|
+
div#main .body .subsection > ul li {
|
698
|
+
list-style: none;
|
699
|
+
padding: 5px 15px; }
|
700
|
+
div#main .body .subsection > ul > * + li {
|
701
|
+
border-top: 1px solid #efefef; }
|
702
|
+
div#main .body .subsection > ul ul, div#main .body .subsection > ul p {
|
703
|
+
margin: 0; }
|
704
|
+
div#main .body .subsection h4 {
|
705
|
+
font-weight: bold;
|
706
|
+
display: inline; }
|
707
|
+
div#main .body .subsection .types {
|
708
|
+
font-family: "Consolas", "monospace";
|
709
|
+
padding: 0 0.2em; }
|
710
|
+
div#main .body .source {
|
711
|
+
cursor: pointer; }
|
712
|
+
div#main .body .source.collapsed {
|
713
|
+
border-bottom: 1px solid #d9d9d9;
|
714
|
+
margin-bottom: 1.33em; }
|
715
|
+
div#main .body .signature {
|
716
|
+
font-family: "Consolas", "monospace";
|
717
|
+
display: block;
|
718
|
+
background: #eff4fa;
|
719
|
+
border: 1px solid #d0e0f0;
|
720
|
+
color: #5490c8;
|
721
|
+
border-radius: 5px;
|
722
|
+
padding: 0.4em 1em;
|
723
|
+
color: #000;
|
724
|
+
font-size: 12pt;
|
725
|
+
font-weight: normal;
|
726
|
+
margin-bottom: 1.33em; }
|
727
|
+
div#main .body .signature.constructor {
|
728
|
+
font-family: "Consolas", "monospace";
|
729
|
+
display: block;
|
730
|
+
background: #fcded1;
|
731
|
+
border: 1px solid #f9c2ab;
|
732
|
+
color: #5490c8;
|
733
|
+
border-radius: 5px;
|
734
|
+
padding: 0.4em 1em;
|
735
|
+
color: #000; }
|
736
|
+
div#main .body .signature .name {
|
737
|
+
font-weight: bold;
|
738
|
+
padding-left: 0.2em; }
|
739
|
+
div#main .body .signature .params {
|
740
|
+
padding: 0 0.2em; }
|
741
|
+
div#main .body .signature .params .param {
|
742
|
+
cursor: help; }
|
743
|
+
|
744
|
+
div#main .notification {
|
745
|
+
display: table; }
|
746
|
+
div#main .notification section {
|
747
|
+
display: block;
|
748
|
+
background: #f3f3f3;
|
749
|
+
border: 1px solid #dfdfdf;
|
750
|
+
color: #666666;
|
751
|
+
border-radius: 5px;
|
752
|
+
padding: 0.4em 1em;
|
753
|
+
margin-bottom: 0.5em; }
|
754
|
+
div#main .notification section.deprecated {
|
755
|
+
display: block;
|
756
|
+
background: #cccccc;
|
757
|
+
border: 1px solid #b8b8b8;
|
758
|
+
color: #666666;
|
759
|
+
border-radius: 5px;
|
760
|
+
padding: 0.4em 1em; }
|
761
|
+
div#main .notification section.todo {
|
762
|
+
display: block;
|
763
|
+
background: #fef377;
|
764
|
+
border: 1px solid #feef4e;
|
765
|
+
color: #4e4e07;
|
766
|
+
border-radius: 5px;
|
767
|
+
padding: 0.4em 1em; }
|
768
|
+
div#main .notification section.warn {
|
769
|
+
display: block;
|
770
|
+
background: #ff5544;
|
771
|
+
border: 1px solid #ff301b;
|
772
|
+
color: #4e1a07;
|
773
|
+
border-radius: 5px;
|
774
|
+
padding: 0.4em 1em; }
|
775
|
+
div#main .notification section ul {
|
776
|
+
list-style: none;
|
777
|
+
margin: 0;
|
778
|
+
padding: 0; }
|
779
|
+
div#main .notification section p {
|
780
|
+
margin: 0 0 0.25em; }
|
781
|
+
div#main .notification section pre {
|
782
|
+
padding-top: 0;
|
783
|
+
padding-bottom: 0;
|
784
|
+
margin-bottom: 0.25em; }
|
785
|
+
|
786
|
+
div#main .documentation nav .table-of-contents {
|
787
|
+
font-family: Arial, sans-serif;
|
788
|
+
font-size: 10pt; }
|
789
|
+
div#main .documentation nav .table-of-contents ul {
|
790
|
+
list-style: none;
|
791
|
+
margin: 0;
|
792
|
+
padding: 0;
|
793
|
+
padding-left: 2em;
|
794
|
+
margin: 0.25em 0 0.5em; }
|
795
|
+
div#main .documentation nav .table-of-contents ul ul li {
|
796
|
+
list-style: decimal-leading-zero; }
|
797
|
+
div#main .documentation nav .table-of-contents > ul {
|
798
|
+
padding-left: 0; }
|
799
|
+
div#main .documentation nav .table-of-contents li {
|
800
|
+
margin-bottom: 0.25em; }
|
801
|
+
|
802
|
+
.api-index .api-list {
|
803
|
+
-moz-column-count: 2;
|
804
|
+
-moz-column-gap: 20px;
|
805
|
+
-webkit-column-count: 2;
|
806
|
+
-webkit-column-gap: 20px;
|
807
|
+
column-count: 2;
|
808
|
+
column-gap: 20px; }
|
809
|
+
.api-index .api-list ul {
|
810
|
+
list-style: none;
|
811
|
+
margin: 0;
|
812
|
+
padding: 0; }
|
813
|
+
|
814
|
+
/* API-Treebrowser */
|
815
|
+
.treeview ul {
|
816
|
+
list-style: none;
|
817
|
+
margin: 0;
|
818
|
+
padding: 0;
|
819
|
+
margin: 4px 0 0 0; }
|
820
|
+
.treeview li {
|
821
|
+
margin: 0;
|
822
|
+
padding: 3px 0pt 3px 16px; }
|
823
|
+
.treeview li a {
|
824
|
+
display: block;
|
825
|
+
padding-left: 21px;
|
826
|
+
height: 16px; }
|
827
|
+
.treeview .hitarea {
|
828
|
+
display: block;
|
829
|
+
float: left;
|
830
|
+
height: 16px;
|
831
|
+
width: 16px;
|
832
|
+
margin-left: -16px;
|
833
|
+
cursor: pointer;
|
834
|
+
background: url(../img/bullet_toggle_minus.png) no-repeat left center; }
|
835
|
+
.treeview .expandable-hitarea {
|
836
|
+
background-image: url(../img/bullet_toggle_plus.png); }
|