'
13 |
14 | hr_faded: '
'
15 | hr_shaded: '
'
--------------------------------------------------------------------------------
/docs/licenses/LICENSE:
--------------------------------------------------------------------------------
1 | /* This license pertains to the docs template, except for the Navgoco jQuery component. */
2 |
3 | The MIT License (MIT)
4 |
5 | Original theme: Copyright (c) 2016 Tom Johnson
6 | Modifications: Copyright (c) 2017 onwards fast.ai, Inc
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is
13 | furnished to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24 | SOFTWARE.
25 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: CI
2 | on: [push]
3 | jobs:
4 | build:
5 | runs-on: ubuntu-latest
6 | steps:
7 | - uses: actions/checkout@v1
8 | - uses: actions/setup-python@v1
9 | with:
10 | python-version: '3.6'
11 | architecture: 'x64'
12 | - name: Install the library
13 | run: |
14 | sudo apt install -y graphviz
15 | pip install nbdev jupyter
16 | pip install -e .
17 | - name: Read all notebooks
18 | run: |
19 | nbdev_read_nbs
20 | - name: Check if all notebooks are cleaned
21 | run: |
22 | echo "Check we are starting with clean git checkout"
23 | if [ -n "$(git status -uno -s)" ]; then echo "git status is not clean"; false; fi
24 | echo "Trying to strip out notebooks"
25 | nbdev_clean_nbs
26 | echo "Check that strip out was unnecessary"
27 | git status -s # display the status to see which nbs need cleaning up
28 | if [ -n "$(git status -uno -s)" ]; then echo -e "!!! Detected unstripped out notebooks\n!!!Remember to run nbdev_install_git_hooks"; false; fi
29 | - name: Check if there is no diff library/notebooks
30 | run: |
31 | if [-n "$(nbdev_diff_nbs)"]; then echo -e "!!! Detected difference between the notebooks and the library"; false; fi
32 | - name: Run tests
33 | run: |
34 | nbdev_test_nbs
35 |
--------------------------------------------------------------------------------
/docs/_config.yml:
--------------------------------------------------------------------------------
1 | repository: fastai/fastdot
2 | output: web
3 | topnav_title: fastdot
4 | site_title: fastdot
5 | company_name: fast.ai, inc
6 | description: Draw, modify, and execute graphs using a simple python dict interface
7 | # Set to false to disable KaTeX math
8 | use_math: true
9 | # Add Google analytics id if you have one and want to use it here
10 | google_analytics:
11 | # See http://nbdev.fast.ai/search for help with adding Search
12 | google_search:
13 |
14 | host: 127.0.0.1
15 | # the preview server used. Leave as is.
16 | port: 4000
17 | # the port where the preview is rendered.
18 |
19 | exclude:
20 | - .idea/
21 | - .gitignore
22 | - vendor
23 |
24 | exclude: [vendor]
25 |
26 | highlighter: rouge
27 | markdown: kramdown
28 | kramdown:
29 | input: GFM
30 | auto_ids: true
31 | hard_wrap: false
32 | syntax_highlighter: rouge
33 |
34 | collections:
35 | tooltips:
36 | output: false
37 |
38 | defaults:
39 | -
40 | scope:
41 | path: ""
42 | type: "pages"
43 | values:
44 | layout: "page"
45 | comments: true
46 | search: true
47 | sidebar: home_sidebar
48 | topnav: topnav
49 | -
50 | scope:
51 | path: ""
52 | type: "tooltips"
53 | values:
54 | layout: "page"
55 | comments: true
56 | search: true
57 | tooltip: true
58 |
59 | sidebars:
60 | - home_sidebar
61 |
62 | theme: jekyll-theme-cayman
63 | baseurl: /fastdot/
--------------------------------------------------------------------------------
/docs/feed.xml:
--------------------------------------------------------------------------------
1 | ---
2 | search: exclude
3 | layout: none
4 | ---
5 |
6 |
7 |
8 |
9 | {{ site.title | xml_escape }}
10 | {{ site.description | xml_escape }}
11 | {{ site.url }}/
12 |
13 | {{ site.time | date_to_rfc822 }}
14 | {{ site.time | date_to_rfc822 }}
15 | Jekyll v{{ jekyll.version }}
16 | {% for post in site.posts limit:10 %}
17 | -
18 | {{ post.title | xml_escape }}
19 | {{ post.content | xml_escape }}
20 | {{ post.date | date_to_rfc822 }}
21 | {{ post.url | prepend: site.url }}
22 | {{ post.url | prepend: site.url }}
23 | {% for tag in post.tags %}
24 | {{ tag | xml_escape }}
25 | {% endfor %}
26 | {% for tag in page.tags %}
27 | {{ cat | xml_escape }}
28 | {% endfor %}
29 |
30 | {% endfor %}
31 |
32 |
33 |
--------------------------------------------------------------------------------
/docs/_includes/links.html:
--------------------------------------------------------------------------------
1 | {% comment %}Get links from each sidebar, as listed in the _config.yml file under sidebars{% endcomment %}
2 |
3 | {% for sidebar in site.sidebars %}
4 | {% for entry in site.data.sidebars[sidebar].entries %}
5 | {% for folder in entry.folders %}
6 | {% for folderitem in folder.folderitems %}
7 | {% if folderitem.url contains "html#" %}
8 | [{{folderitem.url | remove: "/" }}]: {{folderitem.url | remove: "/"}}
9 | {% else %}
10 | [{{folderitem.url | remove: "/" | remove: ".html"}}]: {{folderitem.url | remove: "/"}}
11 | {% endif %}
12 | {% for subfolders in folderitem.subfolders %}
13 | {% for subfolderitem in subfolders.subfolderitems %}
14 | [{{subfolderitem.url | remove: "/" | remove: ".html"}}]: {{subfolderitem.url | remove: "/"}}
15 | {% endfor %}
16 | {% endfor %}
17 | {% endfor %}
18 | {% endfor %}
19 | {% endfor %}
20 | {% endfor %}
21 |
22 |
23 | {% comment %} Get links from topnav {% endcomment %}
24 |
25 | {% for entry in site.data.topnav.topnav %}
26 | {% for item in entry.items %}
27 | {% if item.external_url == null %}
28 | [{{item.url | remove: "/" | remove: ".html"}}]: {{item.url | remove: "/"}}
29 | {% endif %}
30 | {% endfor %}
31 | {% endfor %}
32 |
33 | {% comment %}Get links from topnav dropdowns {% endcomment %}
34 |
35 | {% for entry in site.data.topnav.topnav_dropdowns %}
36 | {% for folder in entry.folders %}
37 | {% for folderitem in folder.folderitems %}
38 | {% if folderitem.external_url == null %}
39 | [{{folderitem.url | remove: "/" | remove: ".html"}}]: {{folderitem.url | remove: "/"}}
40 | {% endif %}
41 | {% endfor %}
42 | {% endfor %}
43 | {% endfor %}
44 |
45 |
--------------------------------------------------------------------------------
/docs/css/modern-business.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
3 | * Code licensed under the Apache License v2.0.
4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 | */
6 |
7 | /* Global Styles */
8 |
9 | html,
10 | body {
11 | height: 100%;
12 | }
13 |
14 | .img-portfolio {
15 | margin-bottom: 30px;
16 | }
17 |
18 | .img-hover:hover {
19 | opacity: 0.8;
20 | }
21 |
22 | /* Home Page Carousel */
23 |
24 | header.carousel {
25 | height: 50%;
26 | }
27 |
28 | header.carousel .item,
29 | header.carousel .item.active,
30 | header.carousel .carousel-inner {
31 | height: 100%;
32 | }
33 |
34 | header.carousel .fill {
35 | width: 100%;
36 | height: 100%;
37 | background-position: center;
38 | background-size: cover;
39 | }
40 |
41 | /* 404 Page Styles */
42 |
43 | .error-404 {
44 | font-size: 100px;
45 | }
46 |
47 | /* Pricing Page Styles */
48 |
49 | .price {
50 | display: block;
51 | font-size: 50px;
52 | line-height: 50px;
53 | }
54 |
55 | .price sup {
56 | top: -20px;
57 | left: 2px;
58 | font-size: 20px;
59 | }
60 |
61 | .period {
62 | display: block;
63 | font-style: italic;
64 | }
65 |
66 | /* Footer Styles */
67 |
68 | footer {
69 | margin: 50px 0;
70 | }
71 |
72 | /* Responsive Styles */
73 |
74 | @media(max-width:991px) {
75 | .client-img,
76 | .img-related {
77 | margin-bottom: 30px;
78 | }
79 | }
80 |
81 | @media(max-width:767px) {
82 | .img-portfolio {
83 | margin-bottom: 15px;
84 | }
85 |
86 | header.carousel .carousel {
87 | height: 70%;
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/docs/_includes/head_print.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
{% if page.homepage == true %} {{site.homepage_title}} {% elsif page.title %}{{ page.title }}{% endif %} | {{ site.site_title }}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
23 |
24 |
29 |
--------------------------------------------------------------------------------
/docs/licenses/LICENSE-BSD-NAVGOCO.txt:
--------------------------------------------------------------------------------
1 | /* This license pertains to the Navgoco jQuery component used for the sidebar. */
2 |
3 | Copyright (c) 2013, Christodoulos Tsoulloftas, http://www.komposta.net
4 | All rights reserved.
5 |
6 | Redistribution and use in source and binary forms, with or without modification,
7 | are permitted provided that the following conditions are met:
8 |
9 | * Redistributions of source code must retain the above copyright notice,
10 | this list of conditions and the following disclaimer.
11 | * Redistributions in binary form must reproduce the above copyright notice,
12 | this list of conditions and the following disclaimer in the documentation
13 | and/or other materials provided with the distribution.
14 | * Neither the name of the
nor the names of its
15 | contributors may be used to endorse or promote products derived from this
16 | software without specific prior written permission.
17 |
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 | IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
26 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27 | OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
/fastdot/_nbdev.py:
--------------------------------------------------------------------------------
1 | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
2 |
3 | __all__ = ["index", "modules", "custom_doc_links", "git_url"]
4 |
5 | index = {"Dot": "00_core.ipynb",
6 | "uniq_name": "00_core.ipynb",
7 | "quote": "00_core.ipynb",
8 | "graph_objects": "00_core.ipynb",
9 | "object_names": "00_core.ipynb",
10 | "add_mapping": "00_core.ipynb",
11 | "node_defaults": "00_core.ipynb",
12 | "Node": "00_core.ipynb",
13 | "object2graph": "00_core.ipynb",
14 | "obj2node_color": "00_core.ipynb",
15 | "graph_colors1": "00_core.ipynb",
16 | "graph_colors2": "00_core.ipynb",
17 | "cluster_defaults": "00_core.ipynb",
18 | "Cluster": "00_core.ipynb",
19 | "pydot.Graph.nodes": "00_core.ipynb",
20 | "pydot.Graph.__getitem__": "00_core.ipynb",
21 | "pydot.Graph.add_item": "00_core.ipynb",
22 | "pydot.Graph.add_items": "00_core.ipynb",
23 | "graph_items": "00_core.ipynb",
24 | "pydot.Graph.first": "00_core.ipynb",
25 | "pydot.Graph.last": "00_core.ipynb",
26 | "pydot.Node.with_compass": "00_core.ipynb",
27 | "pydot.Graph.with_compass": "00_core.ipynb",
28 | "pydot.Node.connect": "00_core.ipynb",
29 | "pydot.Graph.connect": "00_core.ipynb",
30 | "object_connections": "00_core.ipynb",
31 | "graph_edges_seq": "00_core.ipynb",
32 | "pydot.Graph.add_edges_seq": "00_core.ipynb",
33 | "seq_cluster": "00_core.ipynb",
34 | "Point": "00_core.ipynb"}
35 |
36 | modules = ["core.py"]
37 |
38 | doc_url = "https://fastai.github.io/fastdot/"
39 |
40 | git_url = "https://github.com/fastai/fastdot/tree/master/"
41 |
42 | def custom_doc_links(name): return None
--------------------------------------------------------------------------------
/docs/_layouts/page.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 |
9 |
10 | {% if page.simple_map == true %}
11 |
12 |
17 |
18 | {% include custom/{{page.map_name}}.html %}
19 |
20 | {% elsif page.complex_map == true %}
21 |
22 |
27 |
28 | {% include custom/{{page.map_name}}.html %}
29 |
30 | {% endif %}
31 |
32 |
33 |
34 | {% if page.summary %}
35 |
{{page.summary}}
36 | {% endif %}
37 |
38 | {% unless page.toc == false %}
39 | {% include toc.html %}
40 | {% endunless %}
41 |
42 |
43 | {% if site.github_editme_path %}
44 |
45 |
Edit me
46 |
47 | {% endif %}
48 |
49 | {{content}}
50 |
51 |
62 |
63 |
64 |
65 | {{site.data.alerts.hr_shaded}}
66 |
67 | {% include footer.html %}
68 |
--------------------------------------------------------------------------------
/docs/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | addressable (2.7.0)
5 | public_suffix (>= 2.0.2, < 5.0)
6 | colorator (1.1.0)
7 | concurrent-ruby (1.1.7)
8 | em-websocket (0.5.2)
9 | eventmachine (>= 0.12.9)
10 | http_parser.rb (~> 0.6.0)
11 | eventmachine (1.2.7)
12 | ffi (1.13.1)
13 | forwardable-extended (2.6.0)
14 | http_parser.rb (0.6.0)
15 | i18n (1.8.5)
16 | concurrent-ruby (~> 1.0)
17 | jekyll (4.1.1)
18 | addressable (~> 2.4)
19 | colorator (~> 1.0)
20 | em-websocket (~> 0.5)
21 | i18n (~> 1.0)
22 | jekyll-sass-converter (~> 2.0)
23 | jekyll-watch (~> 2.0)
24 | kramdown (~> 2.1)
25 | kramdown-parser-gfm (~> 1.0)
26 | liquid (~> 4.0)
27 | mercenary (~> 0.4.0)
28 | pathutil (~> 0.9)
29 | rouge (~> 3.0)
30 | safe_yaml (~> 1.0)
31 | terminal-table (~> 1.8)
32 | jekyll-sass-converter (2.1.0)
33 | sassc (> 2.0.1, < 3.0)
34 | jekyll-watch (2.2.1)
35 | listen (~> 3.0)
36 | kramdown (2.3.0)
37 | rexml
38 | kramdown-parser-gfm (1.1.0)
39 | kramdown (~> 2.0)
40 | liquid (4.0.3)
41 | listen (3.2.1)
42 | rb-fsevent (~> 0.10, >= 0.10.3)
43 | rb-inotify (~> 0.9, >= 0.9.10)
44 | mercenary (0.4.0)
45 | mini_portile2 (2.4.0)
46 | nokogiri (1.10.8)
47 | mini_portile2 (~> 2.4.0)
48 | pathutil (0.16.2)
49 | forwardable-extended (~> 2.6)
50 | public_suffix (4.0.6)
51 | rb-fsevent (0.10.4)
52 | rb-inotify (0.10.1)
53 | ffi (~> 1.0)
54 | rexml (3.2.4)
55 | rouge (3.23.0)
56 | safe_yaml (1.0.5)
57 | sassc (2.4.0)
58 | ffi (~> 1.9)
59 | terminal-table (1.8.0)
60 | unicode-display_width (~> 1.1, >= 1.1.1)
61 | unicode-display_width (1.7.0)
62 |
63 | PLATFORMS
64 | ruby
65 |
66 | DEPENDENCIES
67 | jekyll (>= 3.7)
68 | kramdown (>= 2.3.0)
69 | nokogiri (< 1.10.9)
70 |
71 | BUNDLED WITH
72 | 2.1.4
73 |
--------------------------------------------------------------------------------
/docs/js/customscripts.js:
--------------------------------------------------------------------------------
1 | $('#mysidebar').height($(".nav").height());
2 |
3 |
4 | $( document ).ready(function() {
5 |
6 | //this script says, if the height of the viewport is greater than 800px, then insert affix class, which makes the nav bar float in a fixed
7 | // position as your scroll. if you have a lot of nav items, this height may not work for you.
8 | var h = $(window).height();
9 | //console.log (h);
10 | if (h > 800) {
11 | $( "#mysidebar" ).attr("class", "nav affix");
12 | }
13 | // activate tooltips. although this is a bootstrap js function, it must be activated this way in your theme.
14 | $('[data-toggle="tooltip"]').tooltip({
15 | placement : 'top'
16 | });
17 |
18 | /**
19 | * AnchorJS
20 | */
21 | anchors.add('h2,h3,h4,h5');
22 |
23 | });
24 |
25 | // needed for nav tabs on pages. See Formatting > Nav tabs for more details.
26 | // script from http://stackoverflow.com/questions/10523433/how-do-i-keep-the-current-tab-active-with-twitter-bootstrap-after-a-page-reload
27 | $(function() {
28 | var json, tabsState;
29 | $('a[data-toggle="pill"], a[data-toggle="tab"]').on('shown.bs.tab', function(e) {
30 | var href, json, parentId, tabsState;
31 |
32 | tabsState = localStorage.getItem("tabs-state");
33 | json = JSON.parse(tabsState || "{}");
34 | parentId = $(e.target).parents("ul.nav.nav-pills, ul.nav.nav-tabs").attr("id");
35 | href = $(e.target).attr('href');
36 | json[parentId] = href;
37 |
38 | return localStorage.setItem("tabs-state", JSON.stringify(json));
39 | });
40 |
41 | tabsState = localStorage.getItem("tabs-state");
42 | json = JSON.parse(tabsState || "{}");
43 |
44 | $.each(json, function(containerId, href) {
45 | return $("#" + containerId + " a[href=" + href + "]").tab('show');
46 | });
47 |
48 | $("ul.nav.nav-pills, ul.nav.nav-tabs").each(function() {
49 | var $this = $(this);
50 | if (!json[$this.attr("id")]) {
51 | return $this.find("a[data-toggle=tab]:first, a[data-toggle=pill]:first").tab("show");
52 | }
53 | });
54 | });
55 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | token
2 | .gitattributes
3 | .last_checked
4 | .gitconfig
5 | *.bak
6 | *.log
7 | *~
8 | ~*
9 | _tmp*
10 | tmp*
11 | tags
12 |
13 | # Byte-compiled / optimized / DLL files
14 | __pycache__/
15 | *.py[cod]
16 | *$py.class
17 |
18 | # C extensions
19 | *.so
20 |
21 | # Distribution / packaging
22 | .Python
23 | env/
24 | build/
25 | develop-eggs/
26 | dist/
27 | downloads/
28 | eggs/
29 | .eggs/
30 | lib/
31 | lib64/
32 | parts/
33 | sdist/
34 | var/
35 | wheels/
36 | *.egg-info/
37 | .installed.cfg
38 | *.egg
39 |
40 | # PyInstaller
41 | # Usually these files are written by a python script from a template
42 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
43 | *.manifest
44 | *.spec
45 |
46 | # Installer logs
47 | pip-log.txt
48 | pip-delete-this-directory.txt
49 |
50 | # Unit test / coverage reports
51 | htmlcov/
52 | .tox/
53 | .coverage
54 | .coverage.*
55 | .cache
56 | nosetests.xml
57 | coverage.xml
58 | *.cover
59 | .hypothesis/
60 |
61 | # Translations
62 | *.mo
63 | *.pot
64 |
65 | # Django stuff:
66 | *.log
67 | local_settings.py
68 |
69 | # Flask stuff:
70 | instance/
71 | .webassets-cache
72 |
73 | # Scrapy stuff:
74 | .scrapy
75 |
76 | # Sphinx documentation
77 | docs/_build/
78 |
79 | # PyBuilder
80 | target/
81 |
82 | # Jupyter Notebook
83 | .ipynb_checkpoints
84 |
85 | # pyenv
86 | .python-version
87 |
88 | # celery beat schedule file
89 | celerybeat-schedule
90 |
91 | # SageMath parsed files
92 | *.sage.py
93 |
94 | # dotenv
95 | .env
96 |
97 | # virtualenv
98 | .venv
99 | venv/
100 | ENV/
101 |
102 | # Spyder project settings
103 | .spyderproject
104 | .spyproject
105 |
106 | # Rope project settings
107 | .ropeproject
108 |
109 | # mkdocs documentation
110 | /site
111 |
112 | # mypy
113 | .mypy_cache/
114 |
115 | .vscode
116 | *.swp
117 |
118 | # osx generated files
119 | .DS_Store
120 | .DS_Store?
121 | .Trashes
122 | ehthumbs.db
123 | Thumbs.db
124 | .idea
125 |
126 | # pytest
127 | .pytest_cache
128 |
129 | # tools/trust-doc-nbs
130 | docs_src/.last_checked
131 |
132 | # symlinks to fastai
133 | docs_src/fastai
134 | tools/fastai
135 |
136 | # link checker
137 | checklink/cookies.txt
138 |
139 | # .gitconfig is now autogenerated
140 | .gitconfig
141 |
142 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # How to contribute
2 |
3 | ## How to get started
4 |
5 | Before anything else, please install the git hooks that run automatic scripts during each commit and merge to strip the notebooks of suerpfluous metadata (and avoid merge conflicts). After cloning the repository, run the following command inside it:
6 | ```
7 | nbdev_install_git_hooks
8 | ```
9 |
10 | ## Did you find a bug?
11 |
12 | * Ensure the bug was not already reported by searching on GitHub under Issues.
13 | * If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
14 | * Be sure to add the complete error messages.
15 |
16 | #### Did you write a patch that fixes a bug?
17 |
18 | * Open a new GitHub pull request with the patch.
19 | * Ensure that your PR includes a test that fails without your patch, and pass with it.
20 | * Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
21 |
22 | ## PR submission guidelines
23 |
24 | * Keep each PR focused. While it's more convenient, do not combine several unrelated fixes together. Create as many branches as needing to keep each PR focused.
25 | * Do not mix style changes/fixes with "functional" changes. It's very difficult to review such PRs and it most likely get rejected.
26 | * Do not add/remove vertical whitespace. Preserve the original style of the file you edit as much as you can.
27 | * Do not turn an already submitted PR into your development playground. If after you submitted PR, you discovered that more work is needed - close the PR, do the required work and then submit a new PR. Otherwise each of your commits requires attention from maintainers of the project.
28 | * If, however, you submitted a PR and received a request for changes, you should proceed with commits inside that PR, so that the maintainer can see the incremental fixes and won't need to review the whole PR again. In the exception case where you realize it'll take many many commits to complete the requests, then it's probably best to close the PR, do the work and then submit it again. Use common sense where you'd choose one way over another.
29 |
30 | ## Do you want to contribute to the documentation?
31 |
32 | * Docs are automatically created from the notebooks in the nbs folder.
33 |
34 |
--------------------------------------------------------------------------------
/setup.py:
--------------------------------------------------------------------------------
1 | from pkg_resources import parse_version
2 | from configparser import ConfigParser
3 | import setuptools,re,sys
4 | assert parse_version(setuptools.__version__)>=parse_version('36.2')
5 |
6 | # note: all settings are in settings.ini; edit there, not here
7 | config = ConfigParser(delimiters=['='])
8 | config.read('settings.ini')
9 | cfg = config['DEFAULT']
10 |
11 | cfg_keys = 'version description keywords author author_email'.split()
12 | expected = cfg_keys + "lib_name user branch license status min_python audience language".split()
13 | for o in expected: assert o in cfg, "missing expected setting: {}".format(o)
14 | setup_cfg = {o:cfg[o] for o in cfg_keys}
15 |
16 | if len(sys.argv)>1 and sys.argv[1]=='version':
17 | print(setup_cfg['version'])
18 | exit()
19 |
20 | licenses = {
21 | 'apache2': ('Apache Software License 2.0','OSI Approved :: Apache Software License'),
22 | }
23 | statuses = [ '1 - Planning', '2 - Pre-Alpha', '3 - Alpha',
24 | '4 - Beta', '5 - Production/Stable', '6 - Mature', '7 - Inactive' ]
25 | py_versions = '2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8'.split()
26 | min_python = cfg['min_python']
27 | lic = licenses[cfg['license']]
28 |
29 | requirements = ['pip', 'packaging']
30 | if cfg.get('requirements'): requirements += cfg.get('requirements','').split()
31 | if cfg.get('pip_requirements'): requirements += cfg.get('pip_requirements','').split()
32 | dev_requirements = (cfg.get('dev_requirements') or '').split()
33 |
34 | long_description = open('README.md').read()
35 | # 
36 | for ext in ['png', 'svg']:
37 | long_description = re.sub(r'!\['+ext+'\]\((.*)\)', '+'/'+cfg['branch']+'/\\1)', long_description)
38 | long_description = re.sub(r'src=\"(.*)\.'+ext+'\"', 'src=\"https://raw.githubusercontent.com/{}/{}'.format(cfg['user'],cfg['lib_name'])+'/'+cfg['branch']+'/\\1.'+ext+'\"', long_description)
39 |
40 | setuptools.setup(
41 | name = cfg['lib_name'],
42 | license = lic[0],
43 | classifiers = [
44 | 'Development Status :: ' + statuses[int(cfg['status'])],
45 | 'Intended Audience :: ' + cfg['audience'].title(),
46 | 'License :: ' + lic[1],
47 | 'Natural Language :: ' + cfg['language'].title(),
48 | ] + ['Programming Language :: Python :: '+o for o in py_versions[py_versions.index(min_python):]],
49 | url = cfg['git_url'],
50 | packages = setuptools.find_packages(),
51 | include_package_data = True,
52 | install_requires = requirements,
53 | extras_require={ 'dev': dev_requirements },
54 | python_requires = '>=' + cfg['min_python'],
55 | long_description = long_description,
56 | long_description_content_type = 'text/markdown',
57 | zip_safe = False,
58 | entry_points = { 'console_scripts': cfg.get('console_scripts','').split() },
59 | **setup_cfg)
60 |
61 |
--------------------------------------------------------------------------------
/docs/css/theme-green.css:
--------------------------------------------------------------------------------
1 | .summary {
2 | color: #808080;
3 | border-left: 5px solid #E50E51;
4 | font-size:16px;
5 | }
6 |
7 |
8 | h3 {color: #E50E51; }
9 | h4 {color: #808080; }
10 |
11 | .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
12 | background-color: #248ec2;
13 | color: white;
14 | }
15 |
16 | .nav > li.active > a {
17 | background-color: #72ac4a;
18 | }
19 |
20 | .nav > li > a:hover {
21 | background-color: #72ac4a;
22 | }
23 |
24 | div.navbar-collapse .dropdown-menu > li > a:hover {
25 | background-color: #72ac4a;
26 | }
27 |
28 | .navbar-inverse .navbar-nav>li>a, .navbar-inverse .navbar-brand {
29 | color: white;
30 | }
31 |
32 | .navbar-inverse .navbar-nav>li>a:hover, a.fa.fa-home.fa-lg.navbar-brand:hover {
33 | color: #f0f0f0;
34 | }
35 |
36 | .nav li.thirdlevel > a {
37 | background-color: #FAFAFA !important;
38 | color: #72ac4a;
39 | font-weight: bold;
40 | }
41 |
42 | a[data-toggle="tooltip"] {
43 | color: #649345;
44 | font-style: italic;
45 | cursor: default;
46 | }
47 |
48 | .navbar-inverse {
49 | background-color: #72ac4a;
50 | border-color: #5b893c;
51 | }
52 |
53 | .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
54 | color: #5b893c;
55 | }
56 |
57 | .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
58 | background-color: #5b893c;
59 | color: #ffffff;
60 | }
61 |
62 | /* not sure if using this ...*/
63 | .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
64 | border-color: #72ac4a !important;
65 | }
66 |
67 | .btn-primary {
68 | color: #ffffff;
69 | background-color: #5b893c;
70 | border-color: #5b893c;
71 | }
72 |
73 | .btn-primary:hover,
74 | .btn-primary:focus,
75 | .btn-primary:active,
76 | .btn-primary.active,
77 | .open .dropdown-toggle.btn-primary {
78 | background-color: #72ac4a;
79 | border-color: #5b893c;
80 | }
81 |
82 | .printTitle {
83 | color: #5b893c !important;
84 | }
85 |
86 | body.print h1 {color: #5b893c !important; font-size:28px;}
87 | body.print h2 {color: #595959 !important; font-size:24px;}
88 | body.print h3 {color: #E50E51 !important; font-size:14px;}
89 | body.print h4 {color: #679DCE !important; font-size:14px; font-style: italic;}
90 |
91 | .anchorjs-link:hover {
92 | color: #4f7233;
93 | }
94 |
95 | div.sidebarTitle {
96 | color: #E50E51;
97 | }
98 |
99 | li.sidebarTitle {
100 | margin-top:20px;
101 | font-weight:normal;
102 | font-size:130%;
103 | color: #ED1951;
104 | margin-bottom:10px;
105 | margin-left: 5px;
106 | }
107 |
108 | .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
109 | background-color: #E50E51;
110 | }
111 |
--------------------------------------------------------------------------------
/docs/_includes/sidebar.html:
--------------------------------------------------------------------------------
1 | {% assign sidebar = site.data.sidebars[page.sidebar].entries %}
2 | {% assign pageurl = page.url | remove: ".html" %}
3 |
4 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/docs/css/theme-blue.css:
--------------------------------------------------------------------------------
1 | .summary {
2 | color: #808080;
3 | border-left: 5px solid #ED1951;
4 | font-size:16px;
5 | }
6 |
7 |
8 | h3 {color: #000000; }
9 | h4 {color: #000000; }
10 |
11 | .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
12 | background-color: #248ec2;
13 | color: white;
14 | }
15 |
16 | .nav > li.active > a {
17 | background-color: #347DBE;
18 | }
19 |
20 | .nav > li > a:hover {
21 | background-color: #248ec2;
22 | }
23 |
24 | div.navbar-collapse .dropdown-menu > li > a:hover {
25 | background-color: #347DBE;
26 | }
27 |
28 | .nav li.thirdlevel > a {
29 | background-color: #FAFAFA !important;
30 | color: #248EC2;
31 | font-weight: bold;
32 | }
33 |
34 | a[data-toggle="tooltip"] {
35 | color: #649345;
36 | font-style: italic;
37 | cursor: default;
38 | }
39 |
40 | .navbar-inverse {
41 | background-color: #347DBE;
42 | border-color: #015CAE;
43 | }
44 | .navbar-inverse .navbar-nav>li>a, .navbar-inverse .navbar-brand {
45 | color: white;
46 | }
47 |
48 | .navbar-inverse .navbar-nav>li>a:hover, a.fa.fa-home.fa-lg.navbar-brand:hover {
49 | color: #f0f0f0;
50 | }
51 |
52 | a.navbar-brand:hover {
53 | color: #f0f0f0;
54 | }
55 |
56 | .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
57 | color: #015CAE;
58 | }
59 |
60 | .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
61 | background-color: #015CAE;
62 | color: #ffffff;
63 | }
64 |
65 | .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
66 | border-color: #248ec2 !important;
67 | }
68 |
69 | .btn-primary {
70 | color: #ffffff;
71 | background-color: #347DBE;
72 | border-color: #347DBE;
73 | }
74 |
75 | .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
76 | background-color: #347DBE;
77 | }
78 |
79 | .btn-primary:hover,
80 | .btn-primary:focus,
81 | .btn-primary:active,
82 | .btn-primary.active,
83 | .open .dropdown-toggle.btn-primary {
84 | background-color: #248ec2;
85 | border-color: #347DBE;
86 | }
87 |
88 | .printTitle {
89 | color: #015CAE !important;
90 | }
91 |
92 | body.print h1 {color: #015CAE !important; font-size:28px !important;}
93 | body.print h2 {color: #595959 !important; font-size:20px !important;}
94 | body.print h3 {color: #E50E51 !important; font-size:14px !important;}
95 | body.print h4 {color: #679DCE !important; font-size:14px; font-style: italic !important;}
96 |
97 | .anchorjs-link:hover {
98 | color: #216f9b;
99 | }
100 |
101 | div.sidebarTitle {
102 | color: #015CAE;
103 | }
104 |
105 | li.sidebarTitle {
106 | margin-top:20px;
107 | font-weight:normal;
108 | font-size:130%;
109 | color: #ED1951;
110 | margin-bottom:10px;
111 | margin-left: 5px;
112 |
113 | }
114 |
115 | .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
116 | background-color: #015CAE;
117 | }
118 |
119 | .navbar-inverse .navbar-toggle {
120 | border-color: #015CAE;
121 | }
122 |
--------------------------------------------------------------------------------
/docs/_includes/topnav.html:
--------------------------------------------------------------------------------
1 |
2 |
63 |
--------------------------------------------------------------------------------
/docs/js/jquery.navgoco.min.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery Navgoco Menus Plugin v0.2.1 (2014-04-11)
3 | * https://github.com/tefra/navgoco
4 | *
5 | * Copyright (c) 2014 Chris T (@tefra)
6 | * BSD - https://github.com/tefra/navgoco/blob/master/LICENSE-BSD
7 | */
8 | !function(a){"use strict";var b=function(b,c,d){return this.el=b,this.$el=a(b),this.options=c,this.uuid=this.$el.attr("id")?this.$el.attr("id"):d,this.state={},this.init(),this};b.prototype={init:function(){var b=this;b._load(),b.$el.find("ul").each(function(c){var d=a(this);d.attr("data-index",c),b.options.save&&b.state.hasOwnProperty(c)?(d.parent().addClass(b.options.openClass),d.show()):d.parent().hasClass(b.options.openClass)?(d.show(),b.state[c]=1):d.hide()});var c=a("").prepend(b.options.caretHtml),d=b.$el.find("li > a");b._trigger(c,!1),b._trigger(d,!0),b.$el.find("li:has(ul) > a").prepend(c)},_trigger:function(b,c){var d=this;b.on("click",function(b){b.stopPropagation();var e=c?a(this).next():a(this).parent().next(),f=!1;if(c){var g=a(this).attr("href");f=void 0===g||""===g||"#"===g}if(e=e.length>0?e:!1,d.options.onClickBefore.call(this,b,e),!c||e&&f)b.preventDefault(),d._toggle(e,e.is(":hidden")),d._save();else if(d.options.accordion){var h=d.state=d._parents(a(this));d.$el.find("ul").filter(":visible").each(function(){var b=a(this),c=b.attr("data-index");h.hasOwnProperty(c)||d._toggle(b,!1)}),d._save()}d.options.onClickAfter.call(this,b,e)})},_toggle:function(b,c){var d=this,e=b.attr("data-index"),f=b.parent();if(d.options.onToggleBefore.call(this,b,c),c){if(f.addClass(d.options.openClass),b.slideDown(d.options.slide),d.state[e]=1,d.options.accordion){var g=d.state=d._parents(b);g[e]=d.state[e]=1,d.$el.find("ul").filter(":visible").each(function(){var b=a(this),c=b.attr("data-index");g.hasOwnProperty(c)||d._toggle(b,!1)})}}else f.removeClass(d.options.openClass),b.slideUp(d.options.slide),d.state[e]=0;d.options.onToggleAfter.call(this,b,c)},_parents:function(b,c){var d={},e=b.parent(),f=e.parents("ul");return f.each(function(){var b=a(this),e=b.attr("data-index");return e?void(d[e]=c?b:1):!1}),d},_save:function(){if(this.options.save){var b={};for(var d in this.state)1===this.state[d]&&(b[d]=1);c[this.uuid]=this.state=b,a.cookie(this.options.cookie.name,JSON.stringify(c),this.options.cookie)}},_load:function(){if(this.options.save){if(null===c){var b=a.cookie(this.options.cookie.name);c=b?JSON.parse(b):{}}this.state=c.hasOwnProperty(this.uuid)?c[this.uuid]:{}}},toggle:function(b){var c=this,d=arguments.length;if(1>=d)c.$el.find("ul").each(function(){var d=a(this);c._toggle(d,b)});else{var e,f={},g=Array.prototype.slice.call(arguments,1);d--;for(var h=0;d>h;h++){e=g[h];var i=c.$el.find('ul[data-index="'+e+'"]').first();if(i&&(f[e]=i,b)){var j=c._parents(i,!0);for(var k in j)f.hasOwnProperty(k)||(f[k]=j[k])}}for(e in f)c._toggle(f[e],b)}c._save()},destroy:function(){a.removeData(this.$el),this.$el.find("li:has(ul) > a").unbind("click"),this.$el.find("li:has(ul) > a > span").unbind("click")}},a.fn.navgoco=function(c){if("string"==typeof c&&"_"!==c.charAt(0)&&"init"!==c)var d=!0,e=Array.prototype.slice.call(arguments,1);else c=a.extend({},a.fn.navgoco.defaults,c||{}),a.cookie||(c.save=!1);return this.each(function(f){var g=a(this),h=g.data("navgoco");h||(h=new b(this,d?a.fn.navgoco.defaults:c,f),g.data("navgoco",h)),d&&h[c].apply(h,e)})};var c=null;a.fn.navgoco.defaults={caretHtml:"",accordion:!1,openClass:"open",save:!0,cookie:{name:"navgoco",expires:!1,path:"/"},slide:{duration:400,easing:"swing"},onClickBefore:a.noop,onClickAfter:a.noop,onToggleBefore:a.noop,onToggleAfter:a.noop}}(jQuery);
--------------------------------------------------------------------------------
/docs/_includes/initialize_shuffle.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
100 |
101 |
102 |
103 |
114 |
115 |
129 |
130 |
131 |
--------------------------------------------------------------------------------
/docs/css/printstyles.css:
--------------------------------------------------------------------------------
1 |
2 | /*body.print .container {max-width: 650px;}*/
3 |
4 | body {
5 | font-size:14px;
6 | }
7 | .nav ul li a {border-top:0px; background-color:transparent; color: #808080; }
8 | #navig a[href] {color: #595959 !important;}
9 | table .table {max-width:650px;}
10 |
11 | #navig li.sectionHead {font-weight: bold; font-size: 18px; color: #595959 !important; }
12 | #navig li {font-weight: normal; }
13 |
14 | #navig a[href]::after { content: leader(".") target-counter(attr(href), page); }
15 |
16 | a[href]::after {
17 | content: " (page " target-counter(attr(href), page) ")"
18 | }
19 |
20 | a[href^="http:"]::after, a[href^="https:"]::after {
21 | content: "";
22 | }
23 |
24 | a[href] {
25 | color: blue !important;
26 | }
27 | a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].noCrossRef::after {
28 | content: "";
29 | }
30 |
31 |
32 | @page {
33 | margin: 60pt 90pt 60pt 90pt;
34 | font-family: sans-serif;
35 | font-style:none;
36 | color: gray;
37 |
38 | }
39 |
40 | .printTitle {
41 | line-height:30pt;
42 | font-size:27pt;
43 | font-weight: bold;
44 | letter-spacing: -.5px;
45 | margin-bottom:25px;
46 | }
47 |
48 | .printSubtitle {
49 | font-size: 19pt;
50 | color: #cccccc !important;
51 | font-family: "Grotesque MT Light";
52 | line-height: 22pt;
53 | letter-spacing: -.5px;
54 | margin-bottom:20px;
55 | }
56 | .printTitleArea hr {
57 | color: #999999 !important;
58 | height: 2px;
59 | width: 100%;
60 | }
61 |
62 | .printTitleImage {
63 | max-width:300px;
64 | margin-bottom:200px;
65 | }
66 |
67 |
68 | .printTitleImage {
69 | max-width: 250px;
70 | }
71 |
72 | #navig {
73 | /*page-break-before: always;*/
74 | }
75 |
76 | .copyrightBoilerplate {
77 | page-break-before:always;
78 | font-size:14px;
79 | }
80 |
81 | .lastGeneratedDate {
82 | font-style: italic;
83 | font-size:14px;
84 | color: gray;
85 | }
86 |
87 | .alert a {
88 | text-decoration: none !important;
89 | }
90 |
91 |
92 | body.title { page: title }
93 |
94 | @page title {
95 | @top-left {
96 | content: " ";
97 | }
98 | @top-right {
99 | content: " "
100 | }
101 | @bottom-right {
102 | content: " ";
103 | }
104 | @bottom-left {
105 | content: " ";
106 | }
107 | }
108 |
109 | body.frontmatter { page: frontmatter }
110 | body.frontmatter {counter-reset: page 1}
111 |
112 |
113 | @page frontmatter {
114 | @top-left {
115 | content: prince-script(guideName);
116 | }
117 | @top-right {
118 | content: prince-script(datestamp);
119 | }
120 | @bottom-right {
121 | content: counter(page, lower-roman);
122 | }
123 | @bottom-left {
124 | content: "youremail@domain.com"; }
125 | }
126 |
127 | body.first_page {counter-reset: page 1}
128 |
129 | h1 { string-set: doctitle content() }
130 |
131 | @page {
132 | @top-left {
133 | content: string(doctitle);
134 | font-size: 11px;
135 | font-style: italic;
136 | }
137 | @top-right {
138 | content: prince-script(datestamp);
139 | font-size: 11px;
140 | }
141 |
142 | @bottom-right {
143 | content: "Page " counter(page);
144 | font-size: 11px;
145 | }
146 | @bottom-left {
147 | content: prince-script(guideName);
148 | font-size: 11px;
149 | }
150 | }
151 | .alert {
152 | background-color: #fafafa !important;
153 | border-color: #dedede !important;
154 | color: black;
155 | }
156 |
157 | pre {
158 | background-color: #fafafa;
159 | }
160 |
--------------------------------------------------------------------------------
/docs/_includes/head.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{ page.title }} | {{ site.site_title }}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | {% if site.use_math %}
25 |
26 |
27 |
28 |
39 | {% endif %}
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/docs/css/syntax.css:
--------------------------------------------------------------------------------
1 | .highlight { background: #ffffff; }
2 | .highlight .c { color: #999988; font-style: italic } /* Comment */
3 | .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4 | .highlight .k { font-weight: bold } /* Keyword */
5 | .highlight .o { font-weight: bold } /* Operator */
6 | .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7 | .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
8 | .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9 | .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10 | .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11 | .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
12 | .highlight .ge { font-style: italic } /* Generic.Emph */
13 | .highlight .gr { color: #aa0000 } /* Generic.Error */
14 | .highlight .gh { color: #999999 } /* Generic.Heading */
15 | .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
16 | .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
17 | .highlight .go { color: #888888 } /* Generic.Output */
18 | .highlight .gp { color: #555555 } /* Generic.Prompt */
19 | .highlight .gs { font-weight: bold } /* Generic.Strong */
20 | .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
21 | .highlight .gt { color: #aa0000 } /* Generic.Traceback */
22 | .highlight .kc { font-weight: bold } /* Keyword.Constant */
23 | .highlight .kd { font-weight: bold } /* Keyword.Declaration */
24 | .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
25 | .highlight .kr { font-weight: bold } /* Keyword.Reserved */
26 | .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
27 | .highlight .m { color: #009999 } /* Literal.Number */
28 | .highlight .s { color: #d14 } /* Literal.String */
29 | .highlight .na { color: #008080 } /* Name.Attribute */
30 | .highlight .nb { color: #0086B3 } /* Name.Builtin */
31 | .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
32 | .highlight .no { color: #008080 } /* Name.Constant */
33 | .highlight .ni { color: #800080 } /* Name.Entity */
34 | .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35 | .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36 | .highlight .nn { color: #555555 } /* Name.Namespace */
37 | .highlight .nt { color: #000080 } /* Name.Tag */
38 | .highlight .nv { color: #008080 } /* Name.Variable */
39 | .highlight .ow { font-weight: bold } /* Operator.Word */
40 | .highlight .w { color: #bbbbbb } /* Text.Whitespace */
41 | .highlight .mf { color: #009999 } /* Literal.Number.Float */
42 | .highlight .mh { color: #009999 } /* Literal.Number.Hex */
43 | .highlight .mi { color: #009999 } /* Literal.Number.Integer */
44 | .highlight .mo { color: #009999 } /* Literal.Number.Oct */
45 | .highlight .sb { color: #d14 } /* Literal.String.Backtick */
46 | .highlight .sc { color: #d14 } /* Literal.String.Char */
47 | .highlight .sd { color: #d14 } /* Literal.String.Doc */
48 | .highlight .s2 { color: #d14 } /* Literal.String.Double */
49 | .highlight .se { color: #d14 } /* Literal.String.Escape */
50 | .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
51 | .highlight .si { color: #d14 } /* Literal.String.Interpol */
52 | .highlight .sx { color: #d14 } /* Literal.String.Other */
53 | .highlight .sr { color: #009926 } /* Literal.String.Regex */
54 | .highlight .s1 { color: #d14 } /* Literal.String.Single */
55 | .highlight .ss { color: #990073 } /* Literal.String.Symbol */
56 | .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
57 | .highlight .vc { color: #008080 } /* Name.Variable.Class */
58 | .highlight .vg { color: #008080 } /* Name.Variable.Global */
59 | .highlight .vi { color: #008080 } /* Name.Variable.Instance */
60 | .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
--------------------------------------------------------------------------------
/docs/js/toc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/ghiculescu/jekyll-table-of-contents
2 | // this library modified by fastai to:
3 | // - update the location.href with the correct anchor when a toc item is clicked on
4 | (function($){
5 | $.fn.toc = function(options) {
6 | var defaults = {
7 | noBackToTopLinks: false,
8 | title: '',
9 | minimumHeaders: 3,
10 | headers: 'h1, h2, h3, h4',
11 | listType: 'ol', // values: [ol|ul]
12 | showEffect: 'show', // values: [show|slideDown|fadeIn|none]
13 | showSpeed: 'slow' // set to 0 to deactivate effect
14 | },
15 | settings = $.extend(defaults, options);
16 |
17 | var headers = $(settings.headers).filter(function() {
18 | // get all headers with an ID
19 | var previousSiblingName = $(this).prev().attr( "name" );
20 | if (!this.id && previousSiblingName) {
21 | this.id = $(this).attr( "id", previousSiblingName.replace(/\./g, "-") );
22 | }
23 | return this.id;
24 | }), output = $(this);
25 | if (!headers.length || headers.length < settings.minimumHeaders || !output.length) {
26 | return;
27 | }
28 |
29 | if (0 === settings.showSpeed) {
30 | settings.showEffect = 'none';
31 | }
32 |
33 | var render = {
34 | show: function() { output.hide().html(html).show(settings.showSpeed); },
35 | slideDown: function() { output.hide().html(html).slideDown(settings.showSpeed); },
36 | fadeIn: function() { output.hide().html(html).fadeIn(settings.showSpeed); },
37 | none: function() { output.html(html); }
38 | };
39 |
40 | var get_level = function(ele) { return parseInt(ele.nodeName.replace("H", ""), 10); }
41 | var highest_level = headers.map(function(_, ele) { return get_level(ele); }).get().sort()[0];
42 | //var return_to_top = '';
43 | // other nice icons that can be used instead: glyphicon-upload glyphicon-hand-up glyphicon-chevron-up glyphicon-menu-up glyphicon-triangle-top
44 | var level = get_level(headers[0]),
45 | this_level,
46 | html = settings.title + " <"+settings.listType+">";
47 | headers.on('click', function() {
48 | if (!settings.noBackToTopLinks) {
49 | var pos = $(window).scrollTop();
50 | window.location.hash = this.id;
51 | $(window).scrollTop(pos);
52 | }
53 | })
54 | .addClass('clickable-header')
55 | .each(function(_, header) {
56 | base_url = window.location.href;
57 | base_url = base_url.replace(/#.*$/, "");
58 | this_level = get_level(header);
59 | //if (!settings.noBackToTopLinks && this_level > 1) {
60 | // $(header).addClass('top-level-header').before(return_to_top);
61 | //}
62 | txt = header.textContent.split('¶')[0].split(/\[(test|source)\]/)[0];
63 | if (!txt) {return;}
64 | if (this_level === level) // same level as before; same indenting
65 | html += "" + txt + "";
66 | else if (this_level <= level){ // higher level than before; end parent ol
67 | for(i = this_level; i < level; i++) {
68 | html += ""+settings.listType+">"
69 | }
70 | html += "" + txt + "";
71 | }
72 | else if (this_level > level) { // lower level than before; expand the previous to contain a ol
73 | for(i = this_level; i > level; i--) {
74 | html += "<"+settings.listType+">"+((i-level == 2) ? "" : "")
75 | }
76 | html += "" + txt + "";
77 | }
78 | level = this_level; // update for the next one
79 | });
80 | html += ""+settings.listType+">";
81 | if (!settings.noBackToTopLinks) {
82 | $(document).on('click', '.back-to-top', function() {
83 | $(window).scrollTop(0);
84 | window.location.hash = '';
85 | });
86 | }
87 |
88 | render[settings.showEffect]();
89 | };
90 | })(jQuery);
91 |
--------------------------------------------------------------------------------
/docs/_layouts/default.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% include head.html %}
5 |
41 |
46 |
57 | {% if page.datatable == true %}
58 |
59 |
60 |
61 |
66 |
76 | {% endif %}
77 |
78 |
79 |
80 | {% include topnav.html %}
81 |
82 |
83 |
84 |
85 |
86 | {% assign content_col_size = "col-md-12" %}
87 | {% unless page.hide_sidebar %}
88 |
89 |
92 | {% assign content_col_size = "col-md-9" %}
93 | {% endunless %}
94 |
95 |
96 |
97 | {{content}}
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 | {% if site.google_analytics %}
108 | {% include google_analytics.html %}
109 | {% endif %}
110 |
111 |
--------------------------------------------------------------------------------
/docs/images/output_12_0.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
70 |
--------------------------------------------------------------------------------
/docs/js/jekyll-search.js:
--------------------------------------------------------------------------------
1 | !function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o=0}var self=this;self.matches=function(string,crit){return"string"!=typeof string?!1:(string=string.trim(),doMatch(string,crit))}}module.exports=new LiteralSearchStrategy},{}],4:[function(require,module){module.exports=function(){function findMatches(store,crit,strategy){for(var data=store.get(),i=0;i{title}',noResultsText:"No results found",limit:10,fuzzy:!1};self.init=function(_opt){validateOptions(_opt),assignOptions(_opt),isJSON(opt.dataSource)?initWithJSON(opt.dataSource):initWithURL(opt.dataSource)}}var Searcher=require("./Searcher"),Templater=require("./Templater"),Store=require("./Store"),JSONLoader=require("./JSONLoader"),searcher=new Searcher,templater=new Templater,store=new Store,jsonLoader=new JSONLoader;window.SimpleJekyllSearch=new SimpleJekyllSearch}(window,document)},{"./JSONLoader":1,"./Searcher":4,"./Store":5,"./Templater":6}]},{},[7]);
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # fastdot
2 | > A simple wrapper over `pydot` to make it more consistent, unsurprising, and pythonic
3 |
4 |
5 | Acknowledgement: `fastdot` is heavily influenced by work from [David Page](https://github.com/davidcpage/), who built a system for drawing graphs based on a highly flexible data structure he designed.
6 |
7 | ## Install
8 |
9 | We suggest installing with conda: `conda install -c fastai fastdot`. You can alternatively install with pip: `pip install fastdot`; however, if you use this approach, you'll also need to install graphviz (e.g. using `apt`, `brew`, etc).
10 |
11 | ## Synopsis
12 |
13 | Start with some data representing objects and connections between them (e.g. they wouldn't normally be just strings like in this example, but would be neural net layers, or users and products, or car trips, etc):
14 |
15 | ```python
16 | layers1 = ['conv','conv','lin']
17 | layers2 = ['conv','lin']
18 | block1,block2 = ['block1','block2']
19 | conns = ((block1, block2),
20 | (block1, layers2[-1]))
21 | ```
22 |
23 | Then map them directly to a visual respresentation:
24 |
25 | ```python
26 | g = graph_items(seq_cluster(layers1, block1),
27 | seq_cluster(layers2, block2))
28 | g.add_items(*object_connections(conns))
29 | g
30 | ```
31 |
32 |
33 |
34 |
35 | 
36 |
37 |
38 |
39 | See the *symbolic graphs* and *object graphs* sections below for a more complete example.
40 |
41 | ## fastdot overview
42 |
43 | `fastdot` is a thin wrapper over the excellent [pydot](https://github.com/pydot/pydot) program (which is in turn a thin wrapper over the absolutely wonderful [Graphviz software](https://www.graphviz.org/)), designed to make it more consistent, unsurprising, and pythonic. (An example of removing *surprise*: `pydot.Node('node')` gives an obscure compilation exception, since `node` is a keyword in the underlying `graphviz` program, whereas `fastdot.Node('node')` works just fine, due to auto-quoting.) In fact, you never need to provide names in `fastdot`; you can create edges directly between objects.
44 |
45 | Here's a quick example of some of the main functionality:
46 |
47 | ```python
48 | g = Dot()
49 | c = Cluster('cl', fillcolor='pink')
50 | a1,a2,b = c.add_items('a', 'a', 'b')
51 | c.add_items(a1.connect(a2), a2.connect(b))
52 | g.add_item(Node('Check tooltip', tooltip="I have a tooltip!"))
53 | g.add_item(c)
54 | g
55 | ```
56 |
57 |
58 |
59 |
60 | 
61 |
62 |
63 |
64 | As you see, graphs know how to show themselves in Jupyter notebooks directly and can be exported to HTML (it uses SVG behind the scenes). Tooltips appear in both notebooks and exported HTML pages. Nodes with the same label, by default, are set to the same color. Also, as shown above, you can just use `add_item` or `add_items`, regardless of the type of item.
65 |
66 | ## Symbolic graphs
67 |
68 | `fastdot` is particularly designed to make it easier to create graphs symbolically - for instance, for Python dictionaries, PyTorch/TensorFlow models, and so forth. Here's a simple example with some mock neural network layers and sequential models. First, let's define our mock classes:
69 |
70 | ```python
71 | @dataclass(frozen=True)
72 | class Layer: name:str; n_filters:int=1
73 | class Linear(Layer): pass
74 | class Conv2d(Layer): pass
75 |
76 | @dataclass(frozen=True)
77 | class Sequential: layers:list; name:str
78 | ```
79 |
80 | Here's our sequential blocks for our "model":
81 |
82 | ```python
83 | block1 = Sequential([Conv2d('conv', 5), Linear('lin', 3)], 'block1')
84 | block2 = Sequential([Conv2d('conv1', 8), Conv2d('conv2', 2), Linear('lin')], 'block2')
85 | ```
86 |
87 | `fastdot` can create all node properties directly from objects; you just have to define functions describing how to map the object's attributes to graph properties. These mappings go in the `node_defaults` and `cluster_defaults` dictionaries (although by default labels are set using `str()`, so we don't need any special cluster defaults in this case):
88 |
89 | ```python
90 | node_defaults['fillcolor'] = lambda o: 'greenyellow' if isinstance(o,Linear) else 'pink'
91 | cluster_defaults['label'] = node_defaults['label'] = attrgetter('name')
92 | node_defaults['tooltip'] = str
93 | ```
94 |
95 | With that in place, we can directly create nodes from our objects, for instance using the convenient `seq_cluster` function:
96 |
97 | ```python
98 | c1 = seq_cluster(block1.layers, block1)
99 | c2 = seq_cluster(block2.layers, block2)
100 | e1,e2 = c1.connect(c2),c1.connect(c2.last())
101 | graph_items(c1,c2,e1,e2)
102 | ```
103 |
104 |
105 |
106 |
107 | 
108 |
109 |
110 |
111 | Note that in this example we didn't even need to create the `Dot` object separately - `graph_items` creates it directly from the graph items provided.
112 |
113 | ## Using object graphs
114 |
115 | In the above example, we defined our edges directly between `fastdot` objects. In practice, however, you'll most likely have your edges defined directly between python objects, for instance like this:
116 |
117 | ```python
118 | conns = (
119 | (block1, block2),
120 | (block1, block2.layers[-1]),
121 | )
122 | ```
123 |
124 | In this case, you'll want some way to connect your python objects to the `fastdot` graph items that represent them. A mapping is stored automatically by `fastdot`, and is made available through the `object2graph` function:
125 |
126 | ```python
127 | g = graph_items(seq_cluster(block1.layers, block1), seq_cluster(block2.layers, block2))
128 | object2graph(block1.layers[-1])
129 | ```
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 | You can use this to graph your connections without needing access to the graph items:
139 |
140 | ```python
141 | g.add_items(*[object2graph(a).connect(object2graph(b))
142 | for a,b in conns])
143 | g
144 | ```
145 |
146 |
147 |
148 |
149 | 
150 |
151 |
152 |
153 | There's a helper function, `object_connections`, which creates these connections for you. So the above can be simplified to:
154 |
155 | ```python
156 | g = graph_items(seq_cluster(block1.layers, block1), seq_cluster(block2.layers, block2))
157 | g.add_items(*object_connections(conns))
158 | g
159 | ```
160 |
161 |
162 |
163 |
164 | 
165 |
166 |
167 |
--------------------------------------------------------------------------------
/fastdot/core.py:
--------------------------------------------------------------------------------
1 | # AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified).
2 |
3 | __all__ = ['pydot', 'Dot', 'uniq_name', 'quote', 'graph_objects', 'object_names', 'add_mapping', 'node_defaults',
4 | 'Node', 'object2graph', 'obj2node_color', 'graph_colors1', 'graph_colors2', 'cluster_defaults', 'Cluster',
5 | 'graph_items', 'object_connections', 'graph_edges_seq', 'seq_cluster', 'Point']
6 |
7 | # Cell
8 | from fastcore.all import *
9 | import pydot, matplotlib.pyplot as plt
10 | from matplotlib.colors import rgb2hex, hex2color
11 | from uuid import uuid4
12 | from typing import Collection
13 |
14 | # Cell
15 | #nbdev_comment _all_ = ['pydot']
16 |
17 | # Cell
18 | def Dot(defaults=None, rankdir='LR', directed=True, compound=True, **kwargs):
19 | "Create a `pydot.Dot` graph with fastai/fastdot style defaults"
20 | return pydot.Dot(rankdir=rankdir, directed=directed, compound=compound, **kwargs)
21 |
22 | # Cell
23 | def uniq_name(o): return 'n'+(uuid4().hex)
24 |
25 | def quote(x, q='"'):
26 | 'Surround `x` with `"`'
27 | return f'"{x}"'
28 |
29 | @patch
30 | def _repr_svg_(self:pydot.Dot):
31 | return self.create_svg().decode('utf-8')
32 |
33 | # Cell
34 | graph_objects = {}
35 | object_names = {}
36 |
37 | # Cell
38 | def add_mapping(graph_item, obj):
39 | graph_objects[graph_item.get_name()] = graph_item
40 | object_names[id(obj)] = graph_item.get_name()
41 | return graph_item
42 |
43 | # Cell
44 | def _pydot_create(f, obj, **kwargs):
45 | for k,v in kwargs.items():
46 | if callable(v): v = kwargs[k] = v(obj)
47 | if k not in ('name','graph_name'): kwargs[k] = quote(v)
48 | return add_mapping(f(**kwargs), obj)
49 |
50 | # Cell
51 | node_defaults = dict(label=str, tooltip=str, name=uniq_name, shape='box', style='rounded, filled', fillcolor='white')
52 |
53 | # Cell
54 | def Node(obj, **kwargs):
55 | "Create a `pydot.Node` with a unique name"
56 | if not isinstance(obj,str) and isinstance(obj, Collection) and len(obj)==2:
57 | obj,kwargs['tooltip'] = obj
58 | kwargs = merge(node_defaults, kwargs)
59 | return _pydot_create(pydot.Node, obj, **kwargs)
60 |
61 | # Cell
62 | def object2graph(o):
63 | "Get graph item representing `o`"
64 | return graph_objects[object_names[id(o)]]
65 |
66 | # Cell
67 | def obj2node_color(cm, minalpha, rangealpha, o):
68 | "Create a consistent mapping from objects to colors, using colormap `cm`"
69 | h = hash(o)
70 | i = float(h % 256) / 256
71 | alpha = (h^hash('something')) % rangealpha + minalpha
72 | return rgb2hex(cm(i)) + f'{alpha:02X}'
73 |
74 | # Cell
75 | graph_colors1 = partial(obj2node_color, plt.get_cmap('rainbow'), 30, 160)
76 | graph_colors2 = partial(obj2node_color, plt.get_cmap('tab20'), 30, 160)
77 |
78 | # Cell
79 | node_defaults['fillcolor'] = graph_colors1
80 |
81 | # Cell
82 | cluster_defaults = dict(label=str, tooltip=str, graph_name=uniq_name, style='rounded, filled', fillcolor='#55555522')
83 |
84 | # Cell
85 | def Cluster(obj='', **kwargs):
86 | "Create a `pydot.Cluster` with a unique name"
87 | kwargs = merge(cluster_defaults, kwargs)
88 | return _pydot_create(pydot.Cluster, obj, **kwargs)
89 |
90 | # Cell
91 | @patch
92 | def nodes(self:pydot.Graph):
93 | "`i`th node in `Graph`"
94 | return L(o for o in self.get_nodes() if o.get_label() is not None)
95 |
96 | # Cell
97 | @patch
98 | def __getitem__(self:pydot.Graph, i):
99 | "`i`th node in `Graph`"
100 | return self.nodes()[i]
101 |
102 | # Cell
103 | @patch
104 | def add_item(self:pydot.Graph, item, **kwargs):
105 | "Add a `Cluster`, `Node`, or `Edge` to the `Graph`"
106 | if not isinstance(item, (pydot.Edge,pydot.Node,pydot.Graph)): item = Node(item, **kwargs)
107 | f = self.add_node if isinstance(item, pydot.Node ) else \
108 | self.add_subgraph if isinstance(item, pydot.Graph) else \
109 | self.add_edge if isinstance(item, pydot.Edge ) else None
110 | f(item)
111 | return item
112 |
113 | # Cell
114 | @patch
115 | def add_items(self:pydot.Graph, *items, **kwargs):
116 | "Add `items` the `Graph`"
117 | return L(self.add_item(it, **kwargs) for it in items)
118 |
119 | # Cell
120 | def graph_items(*items, **kwargs):
121 | "Add `items` to a new `pydot.Dot`"
122 | g = Dot()
123 | g.add_items(*items, **kwargs)
124 | return g
125 |
126 | # Cell
127 | @patch
128 | def first(self:pydot.Graph):
129 | "First node in `Graph`, searching subgraphs recursively as needed"
130 | nodes = self.nodes()
131 | if nodes: return nodes[0]
132 | for subg in self.get_subgraphs():
133 | res = subg.first()
134 | if res: return res
135 |
136 | # Cell
137 | @patch
138 | def last(self:pydot.Graph):
139 | "Lastt node in `Graph`, searching subgraphs recursively as needed"
140 | nodes = self.nodes()
141 | if nodes: return nodes[-1]
142 | for subg in reversed(self.get_subgraphs()):
143 | res = subg.last()
144 | if res: return res
145 |
146 | # Cell
147 | @patch
148 | def with_compass(self:(pydot.Node,pydot.Graph), compass=None):
149 | r = self.get_name()
150 | return f'{r}:{compass}' if compass else r
151 |
152 | # Cell
153 | @patch
154 | def connect(self:(pydot.Node,pydot.Graph), item, compass1=None, compass2=None, **kwargs):
155 | "Connect two nodes or clusters"
156 | a,b,ltail,lhead = self,item,'',''
157 | if isinstance(self,pydot.Graph):
158 | a = self.last()
159 | ltail=self.get_name()
160 | if isinstance(item,pydot.Graph):
161 | b = item.first()
162 | lhead=item.get_name()
163 | a,b = a.with_compass(compass1),b.with_compass(compass2)
164 | return pydot.Edge(a, b, lhead=lhead, ltail=ltail, **kwargs)
165 |
166 | # Cell
167 | def object_connections(conns):
168 | "Create connections between all pairs in `conns`"
169 | return [object2graph(a).connect(object2graph(b)) for a,b in conns]
170 |
171 | # Cell
172 | def graph_edges_seq(items):
173 | "Add edges between each pair of nodes in `items`"
174 | return L(items[i].connect(items[i+1]) for i in range(len(items)-1))
175 |
176 | # Cell
177 | @patch
178 | def add_edges_seq(self:pydot.Graph, items):
179 | "Add edges between each pair of nodes in `items`"
180 | return self.add_items(*graph_edges_seq(items))
181 |
182 | # Cell
183 | def seq_cluster(items, cluster_label='', **kwargs):
184 | sg = Cluster(cluster_label)
185 | its = sg.add_items(*items, **kwargs)
186 | sg.add_edges_seq(its)
187 | return sg
188 |
189 | # Cell
190 | def Point(label='pnt', **kwargs):
191 | "Create a `Node` with a 'point' shape"
192 | return (Node('pnt', shape='point'))
--------------------------------------------------------------------------------
/docs/images/output_7_0.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
105 |
--------------------------------------------------------------------------------
/docs/images/output_22_0.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
105 |
--------------------------------------------------------------------------------
/docs/images/output_30_0.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
105 |
--------------------------------------------------------------------------------
/docs/images/output_32_0.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
105 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/docs/css/font-awesome.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */@font-face{font-family:'FontAwesome';src:url('fonts/fontawesome-webfont.eot?v=4.7.0');src:url('fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
5 |
--------------------------------------------------------------------------------
/docs/css/customstyles.css:
--------------------------------------------------------------------------------
1 | .anchor-link {
2 | display: none;
3 | }
4 |
5 | body {
6 | font-size:15px;
7 | }
8 |
9 | .bs-callout {
10 | padding: 20px;
11 | margin: 20px 0;
12 | border: 1px solid #eee;
13 | border-left-width: 5px;
14 | border-radius: 3px;
15 | }
16 | .bs-callout h4 {
17 | margin-top: 0;
18 | margin-bottom: 5px;
19 | }
20 | .bs-callout p:last-child {
21 | margin-bottom: 0;
22 | }
23 | .bs-callout code {
24 | border-radius: 3px;
25 | }
26 | .bs-callout+.bs-callout {
27 | margin-top: -5px;
28 | }
29 | .bs-callout-default {
30 | border-left-color: #777;
31 | }
32 | .bs-callout-default h4 {
33 | color: #777;
34 | }
35 | .bs-callout-primary {
36 | border-left-color: #428bca;
37 | }
38 | .bs-callout-primary h4 {
39 | color: #428bca;
40 | }
41 | .bs-callout-success {
42 | border-left-color: #5cb85c;
43 | }
44 | .bs-callout-success h4 {
45 | color: #5cb85c;
46 | }
47 | .bs-callout-danger {
48 | border-left-color: #d9534f;
49 | }
50 | .bs-callout-danger h4 {
51 | color: #d9534f;
52 | }
53 | .bs-callout-warning {
54 | border-left-color: #f0ad4e;
55 | }
56 | .bs-callout-warning h4 {
57 | color: #f0ad4e;
58 | }
59 | .bs-callout-info {
60 | border-left-color: #5bc0de;
61 | }
62 | .bs-callout-info h4 {
63 | color: #5bc0de;
64 | }
65 |
66 |
67 | .gi-2x{font-size: 2em;}
68 | .gi-3x{font-size: 3em;}
69 | .gi-4x{font-size: 4em;}
70 | .gi-5x{font-size: 5em;}
71 |
72 |
73 | .breadcrumb > .active {color: #777 !important;}
74 |
75 | /* make room for the nav bar */
76 | h1[id]
77 | /*,h2[id],
78 | h3[id],
79 | h4[id],
80 | h5[id],
81 | h6[id],
82 | dt[id]*/
83 | {
84 | padding-top: 60px;
85 | margin-top: -40px
86 | }
87 |
88 | .output_html a{
89 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
90 | margin: 25px 0px;
91 | display: block;
92 | padding: 9.5px;
93 | font-size: 13px;
94 | line-height: 1.42857143;
95 | color: #333;
96 | word-break: break-all;
97 | word-wrap: break-word;
98 | background-color: #F5F5F5;
99 | border: 1px solid #FFA500;
100 | border-radius: 4px;
101 | white-space: pre-wrap;
102 | box-sizing: border-box;
103 | overflow: auto;
104 | }
105 |
106 | .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {
107 | float: left;
108 | }
109 |
110 | .col-md-9 {
111 | width: 75%;
112 | }
113 |
114 | /* From: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_download_button' */
115 | .cstm_btn a{
116 | background-color: DodgerBlue;
117 | border: none;
118 | color: white;
119 | padding: 12px 30px;
120 | cursor: pointer;
121 | font-size: 20px;
122 | box-sizing: 15px;
123 | position: absolute;
124 | }
125 |
126 | /* Darker background on mouse-over */
127 | .cstm_btn a:hover {
128 | background-color: RoyalBlue;
129 | }
130 |
131 | .container #notebook-container{
132 | width: 100%;
133 | box-sizing: border-box;
134 | }
135 |
136 | .post-content img {
137 | margin: 12px 0px 3px 0px;
138 | width: auto;
139 | height: auto;
140 | max-width: 100%;
141 | max-height: 100%;
142 | }
143 |
144 | .post-content ol li, .post-content ul li {
145 | margin: 10px 0px;
146 | }
147 |
148 | .pageSummary {
149 | font-size:13px;
150 | display:block;
151 | margin-bottom:15px;
152 | padding-left:20px;
153 | }
154 |
155 | .post-summary {
156 | margin-bottom:12px;
157 | }
158 |
159 | .bs-example{
160 | margin: 20px;
161 | }
162 |
163 | .breadcrumb li {
164 | color: gray;
165 | }
166 |
167 | table {
168 | background-color: transparent;
169 | }
170 | caption {
171 | padding-top: 8px;
172 | padding-bottom: 8px;
173 | color: #777;
174 | text-align: left;
175 | }
176 | th {
177 | text-align: left;
178 | }
179 | table {
180 | max-width: 90%;
181 | margin-bottom: 20px;
182 | border: 1px solid #dedede;
183 | }
184 |
185 | table > thead > tr > th,
186 | table > tbody > tr > th,
187 | table > tfoot > tr > th,
188 | table > thead > tr > td,
189 | table > tbody > tr > td,
190 | table > tfoot > tr > td {
191 | padding: 8px;
192 | line-height: 1.42857143;
193 | vertical-align: top;
194 | border-top: 1px solid #ddd;
195 | }
196 | table > thead > tr > th {
197 | vertical-align: bottom;
198 | border-bottom: 2px solid #ddd;
199 | text-transform: none;
200 | background-color: #777;
201 | color: white;
202 | text-align: left;
203 | }
204 | table > caption + thead > tr:first-child > th,
205 | table > colgroup + thead > tr:first-child > th,
206 | table > thead:first-child > tr:first-child > th,
207 | table > caption + thead > tr:first-child > td,
208 | table > colgroup + thead > tr:first-child > td,
209 | table > thead:first-child > tr:first-child > td {
210 | border-top: 0;
211 | }
212 |
213 | table > tbody > tr:nth-of-type(odd) {
214 | background-color: #f9f9f9;
215 | }
216 |
217 | table col[class*="col-"] {
218 | position: static;
219 | display: table-column;
220 | float: none;
221 | }
222 | table td[class*="col-"],
223 | table th[class*="col-"] {
224 | position: static;
225 | display: table-cell;
226 | float: none;
227 | }
228 |
229 | table tr td {
230 | hyphens: auto;
231 | }
232 |
233 |
234 | p.external a {
235 | text-align:right;
236 | font-size:12px;
237 | color: #0088cc;
238 | display:inline;
239 | }
240 |
241 | #definition-box-container div a.active {
242 | font-weight: bold;
243 | }
244 | p.post-meta {font-size: 80%; color: #777;}
245 |
246 | .entry-date{font-size:14px;font-size:0.875rem;line-height:1.71429;margin-bottom:0;text-transform:uppercase;}
247 |
248 | /* search area */
249 | #search-demo-container ul#results-container {
250 | list-style: none;
251 | font-size: 12px;
252 | background-color: white;
253 | position: absolute;
254 | top: 40px; /* if you change anything about the nav, you'll prob. need to reset the top and left values here.*/
255 | left: 20px;
256 | z-index: -1;
257 | width:223px;
258 | border-left: 1px solid #dedede;
259 | }
260 |
261 |
262 | ul#results-container a {
263 | background-color: transparent;
264 | }
265 |
266 | ul#results-container a:hover {
267 | color: black;
268 | }
269 |
270 |
271 | #search-demo-container a:hover {
272 | color: black;
273 | }
274 | #search-input {
275 | padding: .5em;
276 | margin-left:20px;
277 | width:20em;
278 | font-size: 0.8em;
279 | -webkit-box-sizing: border-box;
280 | -moz-box-sizing: border-box;
281 | box-sizing: border-box;
282 | margin-top:10px;
283 | }
284 | /* end search */
285 |
286 | .filter-options {
287 | margin-bottom: 20px;
288 | }
289 | .filter-options button {
290 | margin: 3px;
291 | }
292 |
293 | a.source_link {
294 | float:right;
295 | font-size:15px;
296 | font-weight:normal;
297 | }
298 |
299 | div#toc ul {
300 | font-size: 90%;
301 | background-color: whitesmoke;
302 | padding: 5px;
303 | border-radius: 5px;
304 | max-width: 450px;
305 | color: gray;
306 | list-style-type: none;
307 | }
308 |
309 | /* when using relative fonts like 0.9em or 90%, remember to then set the nested items to 1em or 100%, otherwise each level will get smaller and smaller and less readable */
310 | div#toc ul li {
311 | margin: 8px 0px 8px 22px;
312 | font-size: 100%;
313 | list-style-type: none;
314 | }
315 |
316 | div#toc ul li ul {
317 | font-size: 100%;
318 | padding-left:30px;
319 | padding-top: 0px;
320 | padding-bottom: 0px;
321 | list-style-type: none;
322 | }
323 |
324 | div#toc ul li ul li.hide_content::before {
325 | content: none;
326 | }
327 |
328 | div#toc >ul::before {
329 | content: "Table of Contents";
330 | font-weight: 500;
331 | color: #555;
332 | text-align:center;
333 | margin-left:auto;
334 | margin-right:auto;
335 | width:70px;
336 | padding-top:150px;
337 | padding-bottom:40px;
338 | padding-left:10px;
339 | }
340 |
341 | li.dropdownActive a {
342 | font-weight: bold;
343 | }
344 |
345 |
346 | .post-content a.fa-rss {
347 | color: orange;
348 | }
349 |
350 |
351 | .navbar-inverse .navbar-nav > li > a {
352 | background-color: transparent;
353 | margin-top:10px;
354 | }
355 |
356 | .post-content .rssfeedLink {
357 | color: #248EC2;
358 | }
359 |
360 | footer {
361 | font-size: smaller;
362 | }
363 |
364 | /* FAQ page */
365 | #accordion .panel-heading {
366 | font-size: 12px;
367 | }
368 |
369 | a.accordion-toggle, a.accordion-collapsed {
370 | font-size: 14px;
371 | text-decoration: none;
372 | }
373 |
374 | /* navgoco sidebar styles (customized) */
375 | .nav, .nav ul, .nav li {
376 | list-style: none;
377 | }
378 |
379 | .nav ul {
380 | padding: 0;
381 | /*margin: 0 0 0 18px;*/
382 | margin:0px;
383 | }
384 |
385 | .nav {
386 | /* padding: 4px;*/
387 | padding:0px;
388 | margin: 0px;
389 | }
390 |
391 | .nav > li {
392 | margin: 1px 0;
393 | }
394 |
395 | .nav > li li {
396 | margin: 2px 0;
397 | }
398 |
399 | .nav a {
400 | color: #333;
401 | display: block;
402 | outline: none;
403 | /*-webkit-border-radius: 4px;
404 | -moz-border-radius: 4px;
405 | border-radius: 4px;*/
406 | text-decoration: none;
407 | }
408 |
409 | .nav li > a > span {
410 | float: right;
411 | font-size: 19px;
412 | font-weight: bolder;
413 | }
414 |
415 |
416 | .nav li > a > span:after {
417 | content: '\25be';
418 | }
419 | .nav li.active > a > span:after {
420 | content: '\25b4';
421 | }
422 |
423 | .nav a:hover, .nav li.active > a {
424 | background-color: #8D8D8D;
425 | color: #f5f5f5;
426 | }
427 |
428 | .nav > li.active > a {
429 | background-color: #347DBE;
430 | }
431 |
432 | .nav li a {
433 | font-size: 12px;
434 | line-height: 18px;
435 | padding: 2px 10px;
436 | background-color: #f1f1f1;
437 | }
438 |
439 | .nav > li > a {
440 | font-size: 14px;
441 | line-height: 20px;
442 | padding: 4px 10px;
443 | }
444 |
445 | ul#mysidebar {
446 | border-radius:0px;
447 | }
448 |
449 | .nav ul li ul li a {
450 | padding-left:40px;
451 | }
452 |
453 | .nav li.thirdlevel > a {
454 | color: #248EC2;
455 | font-weight:bold;
456 | padding-left:20px;
457 | background-color: whitesmoke !important;
458 | }
459 |
460 |
461 | .nav ul li a {
462 | background-color: #FAFAFA;
463 | }
464 |
465 | .nav li a {
466 | padding-right:10px;
467 | }
468 |
469 | .nav li a:hover {
470 | background-color: #8D8D8D;
471 | }
472 |
473 | .nav ul li a {
474 | border-top:1px solid whitesmoke;
475 | padding-left:10px;
476 | }
477 | /* end sidebar */
478 |
479 | .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
480 | border-radius:5px;
481 | }
482 |
483 | .navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
484 | border-radius: 5px;
485 | }
486 |
487 | span.projectTitle {
488 | font-family: Helvetica;
489 | font-weight: bold;
490 | }
491 |
492 | .footer {
493 | text-align: right;
494 | }
495 |
496 | .footerMeta {
497 | background-color: whitesmoke;
498 | padding: 10px;
499 | max-width: 250px;
500 | border-radius: 5px;
501 | margin-top: 50px;
502 | font-style:italic;
503 | font-size:12px;
504 | }
505 |
506 | img.screenshotSmall {
507 | max-width: 300px;
508 | }
509 |
510 |
511 | dl dt p {
512 | margin-left:20px;
513 | }
514 |
515 |
516 | dl dd {
517 | margin-top:10px;
518 | margin-bottom:10px;
519 | }
520 |
521 | dl.dl-horizontal dd {
522 | padding-top: 20px;
523 | }
524 |
525 | figcaption {
526 |
527 | padding-bottom:12px;
528 | padding-top:6px;
529 | max-width: 90%;
530 | margin-bottom:20px;
531 | font-style: italic;
532 | color: gray;
533 |
534 | }
535 |
536 | .testing {
537 | color: orange;
538 | }
539 |
540 | .preference {
541 | color: red;
542 | }
543 |
544 |
545 | table.dataTable thead {
546 | background-color: #444;
547 | }
548 | table td {
549 | hyphens: auto;
550 | }
551 |
552 | section table tr.success {
553 | background-color: #dff0d8 !important;
554 | }
555 |
556 | table tr.info {
557 | background-color: #d9edf7 !important;
558 | }
559 |
560 | section table tr.warning, table tr.testing, table tr.testing > td.sorting_1 {
561 | background-color: #fcf8e3 !important;
562 | }
563 | section table tr.danger, table tr.preference, table tr.preference > td.sorting_1 {
564 | background-color: #f2dede !important;
565 | }
566 |
567 | .orange {
568 | color: orange;
569 | }
570 |
571 | table.profile thead tr th {
572 | background-color: #248ec2;
573 | }
574 |
575 | table.request thead tr th {
576 | background-color: #ED1951;
577 | }
578 |
579 | .audienceLabel {
580 | margin: 10px;
581 | float: right;
582 | border:1px solid #dedede;
583 | padding:7px;
584 | }
585 |
586 | .prefaceAudienceLabel {
587 | color: gray;
588 | text-align: center;
589 | margin:5px;
590 | }
591 | span.myLabel {
592 | padding-left:10px;
593 | padding-right:10px;
594 | }
595 |
596 | button.cursorNorm {
597 | cursor: default;
598 | }
599 |
600 | a.dropdown-toggle, .navbar-inverse .navbar-nav > li > a {
601 | margin-left: 10px;
602 | }
603 |
604 | hr.faded {
605 | border: 0;
606 | height: 1px;
607 | background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
608 | background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
609 | background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
610 | background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
611 | }
612 |
613 | hr.shaded {
614 | height: 12px;
615 | border: 0;
616 | margin-top: 70px;
617 | background: white;
618 | width: 100%;
619 | margin-bottom: 10px;
620 | }
621 |
622 | .fa-6x{font-size:900%;}
623 | .fa-7x{font-size:1100%;}
624 | .fa-8x{font-size:1300%;}
625 | .fa-9x{font-size:1500%;}
626 | .fa-10x{font-size:1700%;}
627 |
628 | i.border {
629 | padding: 10px 20px;
630 | background-color: whitesmoke;
631 | }
632 |
633 | a[data-toggle] {
634 | color: #248EC2;
635 | }
636 |
637 | .summary {
638 | font-size:120%;
639 | color: #808080;
640 | margin:20px 0px 20px 0px;
641 | border-left: 5px solid #ED1951;
642 | padding-left: 10px;
643 |
644 | }
645 |
646 | a.fa.fa-envelope-o.mailto {
647 | font-weight: 600;
648 | }
649 |
650 | h3 {color: #ED1951; font-weight:normal; font-size:130%;}
651 | h4 {color: #000000; font-weight:normal; font-size:120%; font-weight:bold;}
652 |
653 | .alert, .callout {
654 | overflow: hidden;
655 | }
656 |
657 | .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
658 | background-color: #248ec2;
659 | color: white;
660 | }
661 |
662 | ol li ol li {list-style-type: lower-alpha;}
663 | ol li ul li {list-style-type: disc;}
664 |
665 | li img {clear:both; }
666 |
667 | div#toc ul li ul li {
668 | list-style-type: none;
669 | margin: 5px 0px 0px 0px;
670 | }
671 |
672 | .tab-content {
673 | padding: 15px;
674 | background-color: #FAFAFA;
675 | }
676 |
677 | span.tagTitle {font-weight: 500;}
678 |
679 | li.activeSeries {
680 | font-weight: bold;
681 | }
682 |
683 | .seriesContext .dropdown-menu li.active {
684 | font-weight: bold;
685 | margin-left: 43px;
686 | font-size:18px;
687 | }
688 |
689 | .alert-warning {
690 | color: #444;
691 | }
692 |
693 | div.alert code, h2 code {
694 | background-color: transparent !important;
695 | }
696 | /* without this, the links in these notes aren't visible.*/
697 | .alert a {
698 | text-decoration: underline;
699 | }
700 |
701 | div.tags {padding: 10px 5px;}
702 |
703 | .tabLabel {
704 | font-weight: normal;
705 | }
706 |
707 | hr {
708 | background: #999;
709 | margin: 30px 0px;
710 | width: 90%;
711 | margin-left: auto;
712 | margin-right: auto;
713 | }
714 |
715 | button.cursorNorm {
716 | cursor: pointer;
717 | }
718 |
719 | h2 {
720 | font-size:24px;
721 | line-height:29px;
722 | border-top: 3px solid blue;
723 | padding-top: 5px;
724 | }
725 |
726 | span.otherProgrammingLanguages {
727 | font-style: normal;
728 | }
729 |
730 | a[data-toggle="tooltip"] {
731 | color: #649345;
732 | font-style: italic;
733 | cursor: default;
734 | }
735 |
736 | .seriesNext, .seriesContext {
737 | margin-top: 15px;
738 | margin-bottom: 15px;
739 | }
740 |
741 | .seriescontext ol li {
742 | list-style-type: upper-roman;
743 | }
744 |
745 | ol.series li {
746 | list-style-type: decimal;
747 | margin-left: 40px;
748 | padding-left: 0px;
749 | }
750 |
751 | .siteTagline {
752 | font-size: 200%;
753 | font-weight: bold;
754 | color: silver;
755 | font-family: monospace;
756 | text-align: center;
757 | line-height: 10px;
758 | margin: 20px 0px;
759 | display: block;
760 | }
761 |
762 | .versionTagline {
763 | text-align: center;
764 | margin-bottom: 20px;
765 | font-family: courier;
766 | color: silver;
767 | color: #444;
768 | display:block;
769 | }
770 |
771 | /* not sure if using this ...*/
772 | .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
773 | border-color: #248ec2 !important;
774 | }
775 |
776 | #mysidebar .nav ul {
777 | background-color: #FAFAFA;
778 | }
779 | .nav ul.series li {
780 | list-style: decimal;
781 | font-size:12px;
782 | }
783 |
784 | .nav ul.series li a:hover {
785 | background-color: gray;
786 | }
787 | .nav ul.series {
788 | padding-left: 30px;
789 | }
790 |
791 | .nav ul.series {
792 | background-color: #FAFAFA;
793 | }
794 |
795 | /*
796 | a.dropdown-toggle.otherProgLangs {
797 | color: #f7e68f !important;
798 | }
799 | */
800 |
801 | span.muted {color: #666;}
802 |
803 | table code {background-color: transparent;}
804 |
805 | .highlight .err {
806 | color: #a61717;
807 | background-color: transparent !important;
808 | }
809 |
810 | table p {
811 | margin-top: 12px;
812 | margin-bottom: 12px;
813 | }
814 |
815 | pre, table code {
816 | white-space: pre-wrap; /* css-3 */
817 | white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
818 | white-space: -pre-wrap; /* Opera 4-6 */
819 | white-space: -o-pre-wrap; /* Opera 7 */
820 | word-wrap: break-word; /* Internet Explorer 5.5+ */
821 | }
822 |
823 | pre {
824 | margin: 25px 0px;
825 | }
826 |
827 | #json-box-container pre {
828 | margin: 0px;
829 | }
830 |
831 | .video-js {
832 | margin: 30px 0px;
833 | }
834 |
835 | video {
836 | display: block;
837 | margin: 30px 0px;
838 | border: 1px solid #c0c0c0;
839 | }
840 |
841 |
842 | p.required, p.dataType {display: block; color: #c0c0c0; font-size: 80%; margin-left:4px;}
843 |
844 | dd {margin-left:20px;}
845 |
846 | .post-content img.inline {
847 | margin:0px;
848 | margin-bottom:6px;
849 | }
850 | .panel-heading {
851 | font-weight: bold;
852 | }
853 |
854 | .note code, .alert code, .warning code, div#toc code, h2 code, h3 code, h4 code {
855 | color: inherit;
856 | padding: 0px;
857 | }
858 |
859 | .alert {
860 | margin-bottom:10px;
861 | margin-top:10px;
862 | }
863 |
864 | a.accordion-toggle {
865 | font-style: normal;
866 | }
867 |
868 | span.red {
869 | color: red;
870 | font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
871 | }
872 |
873 | h3.codeExplanation {
874 | font-size:18px;
875 | font-style:normal;
876 | color: black;
877 | line-height: 24px;
878 | }
879 |
880 | span.soft {
881 | color: #c0c0c0;
882 | }
883 |
884 | .githubEditButton {
885 | margin-bottom:7px;
886 | }
887 |
888 | .endpoint {
889 | padding: 15px;
890 | background-color: #f0f0f0;
891 | font-family: courier;
892 | font-size: 110%;
893 | margin: 20px 0px;
894 | color: #444;
895 | }
896 |
897 | .parameter {
898 | font-family: courier;
899 | color: red !important;
900 | }
901 |
902 | .formBoundary {
903 | border: 1px solid gray;
904 | padding: 15px;
905 | margin: 15px 0px;
906 | background-color: whitesmoke;
907 | }
908 |
909 | @media (max-width: 767px) {
910 | .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
911 | color: #444;
912 | }
913 | }
914 |
915 | @media (max-width: 990px) {
916 | #mysidebar {
917 | position: relative;
918 | }
919 | .col-md-9 {
920 | width: 95%;
921 | }
922 | }
923 |
924 |
925 | @media (min-width: 1000px) {
926 |
927 | ul#mysidebar {
928 | width: 225px;
929 | }
930 | }
931 |
932 | @media (max-width: 900px) {
933 |
934 | ul#mysidebar {
935 | max-width: 100%;
936 | }
937 | }
938 |
939 | .col-md-9 img {
940 | max-width: 100%;
941 | max-height: 100%;
942 | }
943 |
944 |
945 | .post-content img {
946 | margin: 12px 0px 3px 0px;
947 | width: auto;
948 | height: auto;
949 | max-width: 100%;
950 | max-height: 100%;
951 | }
952 | .col-md-9 img {
953 | max-width: 100%;
954 | max-height: 100%;
955 | }
956 |
957 |
958 | .post-content img {
959 | margin: 12px 0px 3px 0px;
960 | width: auto;
961 | height: auto;
962 | max-width: 100%;
963 | max-height: 100%;
964 | }
965 |
966 | .videoThumbs img {
967 | float: left;
968 | margin:15px 15px 15px 0px;
969 | border: 1px solid #dedede;
970 | }
971 |
972 |
973 | @media only screen and (min-width: 900px), only screen and (min-device-width: 900px) {
974 | .col-md-9 img {
975 | max-width: 990px;
976 | max-height: 700px;
977 | }
978 | }
979 |
980 | *:hover > .anchorjs-link {
981 | transition: color .25s linear;
982 | text-decoration: none;
983 | }
984 |
985 | .kbCaption {
986 | color: white;
987 | background-color: #444;
988 | padding:10px;
989 | }
990 |
991 | /* Strip the outbound icon when this class is present */
992 | a[href].noCrossRef::after,
993 | a.no_icon:after
994 | {
995 | content:"" !important;
996 | padding-left: 0;
997 | }
998 |
999 | .btn-default {
1000 | margin-bottom: 10px;
1001 | }
1002 |
1003 | /* algolia search */
1004 |
1005 | .search {
1006 | text-align: left;
1007 | }
1008 | .search input {
1009 | font-size: 20px;
1010 | width: 300px;
1011 | }
1012 | .results {
1013 | margin: auto;
1014 | text-align: left;
1015 | }
1016 | .results ul {
1017 | list-style-type: none;
1018 | padding: 0;
1019 | }
1020 |
1021 | /* algolia */
1022 |
1023 | div.results {
1024 | position: absolute;
1025 | background-color: white;
1026 | width: 100%;
1027 | }
1028 |
1029 | .post-meta {
1030 | font-size: 14px;
1031 | color: #828282;
1032 | }
1033 |
1034 | .post-link {
1035 | font-size: 22px;
1036 | }
1037 |
1038 | .post-list p {
1039 | margin: 10px 0px;
1040 | }
1041 |
1042 | time {
1043 | margin-right: 10px;
1044 | }
1045 |
1046 | p.post-meta time {
1047 | margin-right: 0px;
1048 | }
1049 |
1050 | span.label.label-default {
1051 | background-color: gray;
1052 | }
1053 |
1054 | span.label.label-primary {
1055 | background-color: #f0ad4e;
1056 | }
1057 | .col-lg-12 .nav li a {background-color: white}
1058 |
1059 |
1060 | .nav li.active > a.subfoldersTitle {
1061 | background-color: whitesmoke;
1062 | font-weight: bold;
1063 | color: black;
1064 | }
1065 |
1066 | code {
1067 | color: #1d1f5b;
1068 | background-color: #f3f3f3;
1069 | }
1070 |
1071 | a code {
1072 | color: #0082C2;
1073 | }
1074 |
1075 | table th code {
1076 | color: white;
1077 | }
1078 |
1079 | ol li ul li ol li {
1080 | list-style: decimal;
1081 | }
1082 |
1083 | ol li ul li ol li ul li{
1084 | list-style: disc;
1085 | }
1086 |
1087 | .post-content table th {
1088 | vertical-align: top;
1089 | }
1090 |
1091 | table thead th code.highlighter-rouge {
1092 | background-color: transparent;
1093 | }
1094 |
1095 |
1096 | .box {
1097 | padding: 10px;
1098 | border: 1px solid #888;
1099 | width: 100px;
1100 | height: 80px;
1101 | background-color: #f5f5f5;
1102 | font-family: Arial;
1103 | font-size: 12px;
1104 | hyphens: auto;
1105 | float: left;
1106 | font-size: 12px;
1107 | }
1108 |
1109 | .box:hover {
1110 | background-color: #f0f0f0;
1111 | }
1112 |
1113 | #userMap {
1114 | overflow-x: auto;
1115 | overflow-y: auto;
1116 | padding: 20px;
1117 | min-width: 770px;
1118 | }
1119 |
1120 | #userMap .active {
1121 | background-color: #d6f5d6;
1122 | border:1px solid #555;
1123 | font-weight: bold;
1124 | }
1125 |
1126 | h2.userMapTitle {
1127 | font-family: Arial;
1128 | }
1129 |
1130 | #userMap a:hover {
1131 | text-decoration: none;
1132 | }
1133 |
1134 | div.arrow {
1135 | max-width: 50px;
1136 | margin-left: 15px;
1137 | margin-right: 15px;
1138 | font-size: 20px;
1139 | }
1140 |
1141 | div.content {
1142 | max-width: 110px
1143 | }
1144 |
1145 | #userMap div.arrow, #userMap div.content {
1146 | float: left;
1147 | }
1148 |
1149 | .clearfix {
1150 | clear: both;
1151 | }
1152 |
1153 |
1154 | #userMap div.arrow {
1155 | position: relative;
1156 | top: 30px;
1157 | }
1158 |
1159 | .box1 {
1160 | margin-left:0px;
1161 | }
1162 |
1163 | button.btn.btn-default.btn-lg.modalButton1 {
1164 | margin-left: -20px;
1165 | }
1166 |
1167 | div.box.box1 {
1168 | margin-left: -20px;
1169 | }
1170 |
1171 | #userMap .btn-lg {
1172 | width: 100px;
1173 | height: 80px;
1174 |
1175 | }
1176 |
1177 | #userMap .complexArrow {
1178 | font-size: 22px;
1179 | margin: 0px 10px;
1180 | }
1181 |
1182 |
1183 | #userMap .btn-lg .active {
1184 | background-color: #d6f5d6;
1185 | }
1186 |
1187 | #userMap .btn-lg {
1188 | white-space: pre-wrap; /* css-3 */
1189 | white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
1190 | white-space: -pre-wrap; /* Opera 4-6 */
1191 | white-space: -o-pre-wrap; /* Opera 7 */
1192 | word-wrap: break-word; /* Internet Explorer 5.5+ */
1193 | font-size: 14px;
1194 | }
1195 |
1196 | /*
1197 | * Let's target IE to respect aspect ratios and sizes for img tags containing SVG files
1198 | *
1199 | * [1] IE9
1200 | * [2] IE10+
1201 | */
1202 | /* 1 */
1203 | .ie9 img[src$=".svg"] {
1204 | width: 100%;
1205 | }
1206 | /* 2 */
1207 | @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
1208 | img[src$=".svg"] {
1209 | width: 100%;
1210 | }
1211 | }
1212 |
1213 | h4.panel-title {
1214 | padding-top: 0px;
1215 | margin-top: 0px;
1216 | }
1217 |
1218 | /*set navbar breakpoint so that it converts to hamburger earlier */
1219 |
1220 | @media (max-width: 1200px) {
1221 | .navbar-header {
1222 | float: none;
1223 | }
1224 | .navbar-left,.navbar-right {
1225 | float: none !important;
1226 | }
1227 | .navbar-toggle {
1228 | display: block;
1229 | }
1230 | .navbar-collapse {
1231 | border-top: 1px solid transparent;
1232 | }
1233 | .navbar-fixed-top {
1234 | top: 0;
1235 | border-width: 0 0 1px;
1236 | }
1237 | .navbar-collapse.collapse {
1238 | display: none!important;
1239 | }
1240 | .navbar-nav {
1241 | float: none!important;
1242 | margin-top: 7.5px;
1243 | }
1244 | .navbar-nav>li {
1245 | float: none;
1246 | }
1247 | .navbar-nav>li>a {
1248 | padding-top: 10px;
1249 | padding-bottom: 10px;
1250 | }
1251 | .collapse.in{
1252 | display:block !important;
1253 | }
1254 | }
1255 |
1256 | .input_area pre {
1257 | padding-bottom: 3;
1258 | margin-top: 10px;
1259 | background-color: #f5f1e0;
1260 | border: 0px;
1261 | }
1262 | .output_area pre {
1263 | padding-top: 3;
1264 | margin-top: -25px;
1265 | margin-bottom: 10px;
1266 | border: 0px;
1267 | padding-left: 2em;
1268 | }
1269 | .pytest_card {
1270 | padding: 10px 1em 4px 1em;
1271 | background-color: #eef2ff;
1272 | border-radius: 5px;
1273 | margin-bottom: 20px;
1274 | }
1275 | .pytest_card .close {
1276 | color: #000
1277 | }
1278 | blockquote {
1279 | font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
1280 | }
1281 | blockquote code {
1282 | background-color: white;
1283 | }
1284 | h4 code {
1285 | background-color: white;
1286 | }
1287 |
1288 | /* Google Custom Search styling */
1289 |
1290 | #gcs-search-container {
1291 | width: 340px !important; /* ToDo: define width without using absolute px value */
1292 | display: inline-block !important;
1293 | }
1294 |
1295 | .gsc-search-box.gsc-search-box-tools table {
1296 | margin-bottom: 0px !important;
1297 | }
1298 | .gsc-input, .gsc-search-button {
1299 | padding: 0;
1300 | }
1301 | .gsc-control-cse {
1302 | padding: 6px !important;
1303 | }
1304 | input.gsc-input {
1305 | font-size: 12px !important;
1306 | }
1307 |
--------------------------------------------------------------------------------