diff --git a/docs/themes/hugo-theme-docdock/.gitignore b/docs/themes/hugo-theme-docdock/.gitignore new file mode 100644 index 0000000000..e9eccbe8f7 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/.gitignore @@ -0,0 +1,10 @@ +.DS_Store +public/ + +/static/scss/original/.sass-cache/ + +/static/theme-original/style.css.map + +/static/theme-flex/style.css.map + +.sass-cache diff --git a/docs/themes/hugo-theme-docdock/LICENSE.md b/docs/themes/hugo-theme-docdock/LICENSE.md new file mode 100644 index 0000000000..0cf9fcb49b --- /dev/null +++ b/docs/themes/hugo-theme-docdock/LICENSE.md @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2014 Grav +Copyright (c) 2016 MATHIEU CORNIC +Copyright (c) 2017 Valere JEANTET + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/docs/themes/hugo-theme-docdock/README.md b/docs/themes/hugo-theme-docdock/README.md new file mode 100644 index 0000000000..6f8f6d026a --- /dev/null +++ b/docs/themes/hugo-theme-docdock/README.md @@ -0,0 +1,126 @@ +# Hugo docDock Theme + +This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Matcornic Learn theme](https://github.com/matcornic/hugo-theme-learn/). + +Visit the [theme documentation](http://docdock.netlify.com/) to see what is going on. It is actually built with this theme. + +# Main features + +- Search +- **Unlimited menu levels** +- RevealJS presentation from markdown (embededed or fullscreen page) +- Attachments files +- List child pages +- Include segment of content from one page in another (Excerpt) +- Automatic next/prev buttons to navigate through menu entries +- Mermaid diagram +- Icons, Buttons, Alerts, Panels, Tip/Note/Info/Warning boxes +- Image resizing, shadow... +- Customizable look and feel + + +![Overview](https://github.com/vjeantet/hugo-theme-docdock/raw/master/images/tn.png) + +## Installation + +Check that your Hugo version is minimum `0.30` with `hugo version`. We assume that all changes to Hugo content and customizations are going to be tracked by git (GitHub, Bitbucket etc.). Develop locally, build on remote system. + +To start real work: + +1. Initialize Hugo +2. Install DocDock theme +3. Configure DocDock and Hugo + +### Prepare empty Hugo site + +Create empty directory, which will be root of your Hugo project. Navigate there and let Hugo to create minimal required directory structure: +``` +$ hugo new site . +``` +AFTER that, initialize this as git directory where to track further changes +``` +$ git init +``` + +Next, there are at least three ways to install DocDock (first recommended): + +1. **As git submodule** +2. As git clone +3. As direct copy (from ZIP) + +Navigate to your themes folder in your Hugo site and use perform one of following scenarios. + +### 1. Install DocDock as git submodule +DocDock will be added like a dependency repo to original project. When using CI tools like Netlify, Jenkins etc., submodule method is required, or you will get `theme not found` issues. Same applies when building site on remote server trough SSH. + +If submodule is no-go, use 3rd option. + +On your root of Hugo execute: + +``` +$ git submodule add https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock +``` +Next initialize submodule for parent git repo: + +``` +$ git submodule init +$ git submodule update +``` + +Now you are ready to add content and customize looks. Do not change any file inside theme directory. + +If you want to freeze changes to DocDock theme itself and use still submodules, fork private copy of DocDock and use that as submodule. When you are ready to update theme, just pull changes from origin to your private fork. + +### 2. Install DocDock simply as git clone +This method results that files are checked out locally, but won't be visible from parent git repo. Probably you will build site locally with `hugo` command and use result from `public/` on your own. + +``` +$ git clone https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock +``` + + +### 3. Install DocDock from ZIP + +All files from theme will be tracked inside parent repo, to update it, have to override files in theme. Download following zip and extract inside `themes/`. + +``` +https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip +``` +Name of theme in next step will be `hugo-theme-docdock-master`, can rename as you wish. + +## Configure + +Import sample config from sample site to Hugo root. + +``` +$ cp themes/docdock/exampleSite/config.toml . +``` + +Change following `config.toml` line as needed, depending on method above: +``` +theme = "" +``` +Comment out following line, so default `themes/` will be used: + +``` +# themesdir = "../.." +``` + +#### (Bonus) +Create empty file `.gitkeep` inside `public/` and add following to `.gitignore`. This way it will keep repo smaller and won't bring build result files and errors to remote checkout places: +``` +/public/* +!/public/.gitkeep +``` + +### Preview site +``` +$ hugo server +``` +to browse site on http://localhost:1313 + +## Usage + +- [Visit the documentation](http://docdock.netlify.com/) +- [Hugo docs](https://gohugo.io/getting-started/configuration/) +- [Git submodules](https://git-scm.com/docs/git-submodule) diff --git a/docs/themes/hugo-theme-docdock/archetypes/default.md b/docs/themes/hugo-theme-docdock/archetypes/default.md new file mode 100644 index 0000000000..dd9d7941b2 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/archetypes/default.md @@ -0,0 +1,9 @@ ++++ +title= "{{ replace .TranslationBaseName "-" " " | title }}" +date= {{ .Date }} +description = "" +draft= true ++++ + +Lorem Ipsum. +Notice `draft` is set to true. diff --git a/docs/themes/hugo-theme-docdock/archetypes/slide.md b/docs/themes/hugo-theme-docdock/archetypes/slide.md new file mode 100644 index 0000000000..e40a913d2a --- /dev/null +++ b/docs/themes/hugo-theme-docdock/archetypes/slide.md @@ -0,0 +1,46 @@ ++++ +title = "Slide title" +type="slide" + +theme = "league" +[revealOptions] +transition= 'concave' +controls= true +progress= true +history= true +center= true ++++ + +# Slide 1 + +___ + +## Slide 1.1 + +- Turn off alarm +- Get out of bed + +___ + +## Slide 1.2 + +- Eat eggs +- Drink coffee + +--- + +# Slide 2 + +___ + +## Slide 2.1 + +- Eat spaghetti +- Drink wine + +___ + +## Slide 2.2 + +- Get in bed +- Count sheep \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/config.toml b/docs/themes/hugo-theme-docdock/exampleSite/config.toml new file mode 100644 index 0000000000..09683e1384 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/config.toml @@ -0,0 +1,44 @@ +baseURL = "/" +languageCode = "en-us" +DefaultContentLanguage = "en" + +title = "Docdock" +theme = "hugo-theme-docdock" +themesdir = "../.." + +[params] +editURL = "https://github.com/vjeantet/hugo-theme-docdock/edit/master/exampleSite/content/" +showVisitedLinks = true # default is false +themeStyle = "original" # "original" or "flex" # default "original" +themeVariant = "" # choose theme variant "green", "gold" , "gray", "blue" (default) +ordersectionsby = "weight" # ordersectionsby = "title" +disableHomeIcon = false # default is false +disableSearch = false # default is false +disableNavChevron = false # set true to hide next/prev chevron, default is false + +[outputs] +home = [ "HTML", "RSS", "JSON"] + + +[[menu.shortcuts]] +pre = "

More

" +name = " Github repo" +identifier = "ds" +url = "https://github.com/vjeantet/hugo-theme-docdock" +weight = 10 + +[[menu.shortcuts]] +name = " Showcases" +url = "/showcase" +weight = 11 + +[[menu.shortcuts]] +name = " Hugo Documentation" +identifier = "hugodoc" +url = "https://gohugo.io/" +weight = 20 + +[[menu.shortcuts]] +name = " Credits" +url = "/credits" +weight = 30 \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/_footer.md b/docs/themes/hugo-theme-docdock/exampleSite/content/_footer.md new file mode 100644 index 0000000000..4e8d88841b --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/_footer.md @@ -0,0 +1,11 @@ ++++ +title = "footer" +description = "" +date = "2017-04-24T18:36:24+02:00" ++++ +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo +consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse +cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non +proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/_header.md b/docs/themes/hugo-theme-docdock/exampleSite/content/_header.md new file mode 100644 index 0000000000..36f73f8341 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/_header.md @@ -0,0 +1,6 @@ ++++ +title = "header" +description = "" +date = "2017-04-24T18:36:24+02:00" ++++ +DocDock Documentation \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/_index.md new file mode 100644 index 0000000000..60bf3a77c8 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/_index.md @@ -0,0 +1,52 @@ ++++ +title = "DocDock Theme for Hugo" +description = "" +date = "2017-04-24T18:36:24+02:00" + ++++ + +# Hugo docDock theme +[Hugo-theme-docdock {{%icon fa-github%}}](https://github.com/vjeantet/hugo-theme-docdock) is a theme for Hugo, a fast and modern static website engine written in Go. Hugo is often used for blogs, **this theme is fully designed for documentation.** + +This theme is a partial porting of the [Learn theme of matcornic {{%icon fa-github%}}](https://github.com/matcornic/hugo-theme-learn). + +{{%panel%}}docDock works with a "page tree structure" to organize content : All contents are pages, which belong to other pages. [read more about this]({{%relref "content-organisation/_index.md"%}}) {{%/panel%}} + +## Main features + +* [Search]({{%relref "search/_index.md" %}}) +* **Unlimited menu levels** +* [Generate RevealJS presentation]({{%relref "page-slide.md"%}}) from markdown (embededed or fullscreen page) +* Automatic next/prev buttons to navigate through menu entries +* [Image resizing, shadow...]({{%relref "create-page/page-images.md" %}}) +* [Attachments files]({{%relref "shortcodes/attachments.md" %}}) +* [List child pages]({{%relref "shortcodes/children/_index.md" %}}) +* [Excerpt]({{%relref "shortcodes/excerpt.md"%}}) ! Include segment of content from one page in another +* [Mermaid diagram]({{%relref "shortcodes/mermaid.md" %}}) (flowchart, sequence, gantt) +* [Icons]({{%relref "shortcodes/icon.md" %}}), [Buttons]({{%relref "shortcodes/button.md" %}}), [Alerts]({{%relref "shortcodes/alert.md" %}}), [Panels]({{%relref "shortcodes/panel.md" %}}), [Tip/Note/Info/Warning boxes]({{%relref "shortcodes/notice.md" %}}), [Expand]({{%relref "shortcodes/expand.md" %}}) +* [customizable look and feel]({{%relref "content-organisation/customize-style/_index.md"%}}), [theme style]({{%relref "content-organisation/customize-style/themestyle.md"%}}), [theme variants]({{%relref "content-organisation/customize-style/theme-variants.md"%}}) + + + +Style "Original" + +![](https://raw.githubusercontent.com/vjeantet/hugo-theme-docdock/master/images/tn.png?width=33pc&classes=border,shadow) + +Style "Flex" + +![](style-flexfull.png?width=33pc&classes=border,shadow) + +## Contribute to this documentation +Feel free to update this content, just click the **Edit this page** link displayed on top right of each page, and pullrequest it +{{%alert%}}Your modification will be deployed automatically when merged.{{%/alert%}} + + +## Documentation website +This current documentation has been statically generated with Hugo with a simple command : `hugo -t docdock` -- source code is [available here at GitHub {{%icon fa-github%}}](https://github.com/vjeantet/hugo-theme-docDock) + +{{% panel theme="success" header="Automated deployments" footer="Netlify builds, deploys, and hosts frontends." %}} +Automatically published and hosted thanks to [Netlify](https://www.netlify.com/). + +Read more about [Automated HUGO deployments with Netlify](https://www.netlify.com/blog/2015/07/30/hosting-hugo-on-netlifyinsanely-fast-deploys/) +{{% /panel %}} + diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/_index.md new file mode 100644 index 0000000000..df4281544a --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/_index.md @@ -0,0 +1,138 @@ ++++ +title = "Content Organisation" +description = "" +weight = 20 ++++ + +With **Hugo**, pages are the core of your site. Organize your site like any other Hugo project. **Magic occurs with the nested sections implemention done in v0.22 of hugo (congrats @bep)**. + +With docdock, **Each content page composes the menu**, they shape the structure of your website. + +To link pages to each other, place them in a folders hierarchy + +``` +content +├── level-one +│ ├── level-two +│ │ ├── level-three +│ │ │ ├── level-four +│ │ │ │ ├── _index.md +│ │ │ │ ├── page-4-a.md +│ │ │ │ ├── page-4-b.md +│ │ │ │ └── page-4-c.md +│ │ │ ├── _index.md +│ │ │ ├── page-3-a.md +│ │ │ ├── page-3-b.md +│ │ │ └── page-3-c.md +│ │ ├── _index.md +│ │ ├── page-2-a.md +│ │ ├── page-2-b.md +│ │ └── page-2-c.md +│ ├── _index.md +│ ├── page-1-a.md +│ ├── page-1-b.md +│ └── page-1-c.md +├── _index.md +└── page-top.md +``` + + +{{%alert info %}} **_index.md** is required in each folder, it's your "folder home page"{{%/alert%}} + +### Add header to a menu entry + +in the page frontmatter, add a `head` param to insert any HTML code before the menu entry: + +example to display a "Hello" + + +++ + title = "Github repo" + head =" " + +++ + + + +### Add icon to a menu entry + +in the page frontmatter, add a `pre` param to insert any HTML code before the menu label: + +example to display a github icon + + +++ + title = "Github repo" + pre =" " + +++ + +![dsf](/menu-entry-icon.png?height=40px&classes=shadow) + + + + +### Order sibling menu/page entries + +in your frontmatter add `weight` param with a number to order. + + +++ + title="My page" + weight = 4 + +++ + +{{%info%}}add `ordersectionsby = "title"` in your config.toml to order menu entries by title{{%/info%}} + + +### Hide a menu entry + +in your frontmatter add `hidden=true` param. + + +++ + title="My page" + hidden = true + +++ + + +### Unfolded menu entry by default + +One or more menuentries can be displayed unfolded by default. (like the "Getting start" menu entry in this website) + +in your frontmatter add `alwaysopen=true` param. +example : + +``` +title = "Getting start" +description = "" +weight = 1 +alwaysopen = true +``` + +### Folder structure and file name + +Content organization **is** your `content` folder structure. + +### Homepage + +Find out how to [customize homepage]({{%relref "homepage.md"%}}) + + + diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/_index.md new file mode 100644 index 0000000000..387ba2a9ce --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/_index.md @@ -0,0 +1,40 @@ ++++ +title = "Customize website look and feel" +Weight=3 ++++ + +You can change the style and behavior of the theme without touching it. + +* inject your own html, css or js into the page +* overide existing css or js with your own files + +## Inject your HTML + +### into the \ part of each page : + +Create a `custom-head.html` into a `layouts/partials` folder next to the content folder + +> * content/ +> * layouts/ +> * partials/ +> * custom-head.html + +now feel free to add the JS, CSS, HTML code you want :) + +### at the end of the body part of each page : + +Create a `custom-footer.html` into a `layouts/partials` folder next to the content folder + +> * content/ +> * layouts/ +> * partials/ +> * custom-footer.html + +now feel free to add the JS, CSS, HTML code you want :) + +## overide existing CSS or JS + +Create the matching file in your static folder, hugo will use yours instead of the theme's one. +Example : + +create a theme.css and place it into `static/css/` to fully overide docdock's theme.css diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/disable.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/disable.md new file mode 100644 index 0000000000..4d53173a45 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/disable.md @@ -0,0 +1,24 @@ ++++ +title = "Disable features" ++++ + +You can disable feature in docdock by changing some params in `config.toml` + + +## hide Next / Prev Chevrons +``` +[params] +disableNavChevron = true +``` + +## hide Search box in side menu +``` +[params] +disableSearch = true +``` + +## hide the {{%icon fa-home%}} icon in side bar +``` +[params] +disableHomeIcon = true +``` \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md new file mode 100644 index 0000000000..23e7619981 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md @@ -0,0 +1,35 @@ ++++ +title = "Theme variants" +description = "change theme style/colors" ++++ + +In site configuration file, you can set a variant name of this theme to load a specific css, with different color specifications. + +add a param `themeVariant = "VARIANT_NAME"` in the `[params]` part of config.toml file. + +{{%info%}}Available variants change only colors at this moment{{%/info%}} + + +## Variant "gray" +``` +[params] +themeVariant = "gray" +``` + +![green docdock](/variant-gray.png) + +## Variant "gold" +``` +[params] +themeVariant = "gold" +``` + +![gold docdock](/variant-gold.png) + +## Variant "green" +``` +[params] +themeVariant = "green"` +``` + +![green docdock](/variant-green.png) \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/themestyle.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/themestyle.md new file mode 100644 index 0000000000..2dc1f746ca --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/customize-style/themestyle.md @@ -0,0 +1,25 @@ ++++ +title = "Theme styles" +description = "change theme style" ++++ + +In site configuration file, you can set a subtheme name of this theme to load a specific css. + +add a param `themeStyle = "STYLE_NAME"` in the `[params]` part of config.toml file. + + +## Style "original" +``` +[params] +themeStyle = "original" +``` + +![green docdock](/variant-gray.png) + +## Style "flex" (work in progress) +``` +[params] +themeStyle = "flex" +``` + +![flex](/style-flex.png) \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/extramenu.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/extramenu.md new file mode 100644 index 0000000000..0dd06987ad --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/extramenu.md @@ -0,0 +1,28 @@ ++++ +title = "Extra menu entries" +date = "2017-04-29T18:36:24+02:00" +Weight=2 ++++ + +You can define additional menu entries in the navigation menu without any link to content. + +Edit the website configuration `config.toml` and add a `[[menu.shortcuts]]` entry for each link your want to add. + + +Example from the current website, **note the `pre` param** which allows you to insert HTML code and used here to separate content's menu from this "static" menu + + [[menu.shortcuts]] + pre = "

More

" + name = " Github repo" + identifier = "ds" + url = "https://github.com/vjeantet/hugo-theme-docdock" + weight = 1 + + [[menu.shortcuts]] + name = " Hugo Documentation" + identifier = "hugodoc" + url = "https://gohugo.io/" + weight = 2 + + +[{{%icon circle-arrow-right%}} Read more about hugo and menu here](https://gohugo.io/extras/menus/) \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/logo.md b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/logo.md new file mode 100644 index 0000000000..aeb18c6b6e --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/content-organisation/logo.md @@ -0,0 +1,12 @@ ++++ +title = "Logo placeholder" +description = "" +date = "2017-04-24T18:36:24+02:00" +Weight=1 ++++ + +Create a `_header.md` page in content folder. Its content is what you get in the logo placeholder (top left of the screen). + +{{%alert info%}}**Tip :** you can add a image, a combobox with links to other documentation....{{%/alert%}} + +{{%alert info%}}**Tip 2 :** look at [ extra static menu]({{%relref "extramenu.md"%}}) if you want to add links to other website in this sidebar{{%/alert%}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/_index.md new file mode 100644 index 0000000000..0073f93991 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/_index.md @@ -0,0 +1,54 @@ ++++ +title = "Create Page" +description = "" +date = "2017-04-24T18:36:24+02:00" +creatordisplayname = "Valere JEANTET" +creatoremail = "valere.jeantet@gmail.com" +lastmodifierdisplayname = "Valere JEANTET" +lastmodifieremail = "valere.jeantet@gmail.com" +tags = ["tag1","tag2"] +weight = 10 +pre =" " + ++++ + + +Hugo-theme-docdock defines two types of pages. _Default_ and _Slide_. + +* **Default** is the common page like the current one you are reading. +* **Slide** is a page that use the full screen to display its markdown content as a [reveals.js presentation](http://lab.hakim.se/reveal-js/). +* **HomePage** is a special content that will be displayed as home page content. + +To tell Hugo-theme-docdock to consider a page as a slide, just add a `type="slide"`in then frontmatter of your file. [{{%icon circle-arrow-right%}}read more on page as slide]({{%relref "page-slide.md"%}}) + + +Hugo-theme-docdock provides archetypes to help you create this kind of pages. + + +## Front Matter +Each Hugo page has to define a Front Matter in yaml, toml or json. + +Hugo-theme-docdock uses the following parameters on top of the existing ones : + + +++ + # Type of content, set "slide" to display it fullscreen with reveal.js + type="page" + + # Creator's Display name + creatordisplayname = "Valere JEANTET" + # Creator's Email + creatoremail = "valere.jeantet@gmail.com" + # LastModifier's Display name + lastmodifierdisplayname = "Valere JEANTET" + # LastModifier's Email + lastmodifieremail = "valere.jeantet@gmail.com" + +++ + + +## Ordering + +Hugo provides a flexible way to handle order for your pages. + +The simplest way is to use `weight` parameter in the front matter of your page. + +[{{%icon circle-arrow-right%}}Read more on content organization]({{%relref "content-organisation/_index.md"%}}) diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/homepage.md b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/homepage.md new file mode 100644 index 0000000000..ed0b5bc0c9 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/homepage.md @@ -0,0 +1,8 @@ ++++ +title = "Home page" +description = "" +date = "2017-04-28T18:36:24+02:00" +tags = ["tag1","tag2"] ++++ + +To tell Hugo-theme-docdock to consider a page as homepage's content, just create a content file named `_index.md` in content folder. diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/myslide.md b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/myslide.md new file mode 100644 index 0000000000..1f611bc655 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/myslide.md @@ -0,0 +1,48 @@ ++++ +title = "My Slide ! fullscreen" +date = "2017-04-24T18:36:24+02:00" +type="slide" +hidden=true + +theme = "league" +[revealOptions] +transition= 'concave' +controls= true +progress= true +history= false +center= true ++++ + +# In the morning + +___ + +## Getting up + +- Turn off alarm +- Get out of bed + +___ + +## Breakfast + +- Eat eggs +- Drink coffee + +--- + +# In the evening + +___ + +## Dinner + +- Eat spaghetti +- Drink wine + +___ + +## Going to sleep + +- Get in bed +- Count sheep \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/page-images.md b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/page-images.md new file mode 100644 index 0000000000..a395844b79 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/page-images.md @@ -0,0 +1,28 @@ ++++ +title = "About images" +date = "2017-04-24T18:36:24+02:00" ++++ + +Images have a similar syntax to links but include a preceding exclamation point. + + ![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg) + +![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg) + +## Resizing image + +Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`). + + + ![Hackathon](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?height=80px) + +![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?height=80px) + + +## Add CSS classes + +Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow` and `border` are available but you could define other ones. + + ![s](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?classes=border,shadow) + +![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?classes=border,shadow) diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/page-slide.md b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/page-slide.md new file mode 100644 index 0000000000..5c3c351e06 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/create-page/page-slide.md @@ -0,0 +1,114 @@ ++++ +title = "Present a Slide" +description = "" +date = "2017-04-24T18:36:24+02:00" ++++ + +A basic md content page can be rendered as a reveal.js presentation full screen. + +{{%alert info%}}You can, also, **embed presentation in a page** as a small box, using the [revealjs]({{% relref "shortcodes/revealjs.md"%}}) shortcode in your md file.{{%/alert%}} + + +## Formating +Use your common Markdown syntax you use in Hugo, don't forget, you can put html tags too. + +{{%notice info %}} Special syntax (in html comment) is available for adding attributes to Markdown elements. This is useful for fragments, amongst other things. +{{%/notice%}} + +Please read the [{{%icon book%}} doc from hakimel](https://github.com/hakimel/reveal.js/#instructions) + + +## Options +In the frontmatter of your page file, set **type** and **revealOptions** params + +Your content will be served as a fullscreen revealjs presentation and revealOptions will be used to ajust its behaviour. + + +++ + title = "Test slide" + type="slide" + + theme = "league" + [revealOptions] + transition= 'concave' + controls= true + progress= true + history= true + center= true + +++ + +[read more about reveal options here](https://github.com/hakimel/reveal.js/#configuration) + + +## Slide Delimiters +When creating the content for your slideshow presentation within content markdown file you need to be able to distinguish between one slide and the next. This is achieved very simply using a convention within Markdown that indicates the start of each new slide. + +As both horizontal and vertical slides are supported by reveal.js each has it's own unique delimiter. + +To denote the start of a horizontal slide simply add the following delimiter in your Markdown: + + --- + + +To denote the start of a vertical slide simply add the following delimiter in your Markdown: + + ___ + +By using a combination of horizontal and vertical slides you can customize the navigation within your slideshow presentation. Typically vertical slides are used to present information below a top-level horizontal slide. + + + +For example, a very simple slideshow presentation can be created as follows + +``` ++++ + +title = "test" +date = "2017-04-24T18:36:24+02:00" +type="slide" + +theme = "league" +[revealOptions] +transition= 'concave' +controls= true +progress= true +history= true +center= true ++++ + +# In the morning + +___ + +## Getting up + +- Turn off alarm +- Get out of bed + +___ + +## Breakfast + +- Eat eggs +- Drink coffee + +--- + +# In the evening + +___ + +## Dinner + +- Eat spaghetti +- Drink wine + +___ + +## Going to sleep + +- Get in bed +- Count sheep + +``` + +[{{%icon expand%}}click here to view this page rendered]({{%relref "myslide.md"%}}) \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/credits.md b/docs/themes/hugo-theme-docdock/exampleSite/content/credits.md new file mode 100644 index 0000000000..1b04636c90 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/credits.md @@ -0,0 +1,34 @@ ++++ +title = "Credits" +description = "contributors and packages used by hugo-theme-docdock" ++++ + + +## github contributors +{{%ghcontributors "https://api.github.com/repos/vjeantet/hugo-theme-docdock/contributors?per_page=100" %}} + +### Other contributors +
+
+ + + supports and advices +
+
+ +## Packages and libraries +* [Bootstrap](http://getbootstrap.com) - front-end framework +* [mermaid](https://knsv.github.io/mermaid) - generation of diagram and flowchart from text in a similar manner as markdown +* [font awesome](http://fontawesome.io/) - the iconic font and CSS framework +* [jQuery](https://jquery.com) - The Write Less, Do More, JavaScript Library +* [lunr](https://lunrjs.com) - Lunr enables you to provide a great search experience without the need for external, server-side, search services... +* [JavaScript-autoComplete](https://github.com/Pixabay/JavaScript-autoComplete) - An extremely lightweight and powerful vanilla JavaScript completion suggester. +* [clipboard.js](https://zenorocha.github.io/clipboard.js) - copy text to clipboard +* [highlight.js](https://highlightjs.org) - Javascript syntax highlighter +* [modernizr](https://modernizr.com) - A JavaScript toolkit that allows web developers to use new CSS3 and HTML5 features while maintaining a fine level of control over browsers that don't support +* [reveal-js](http://lab.hakim.se/reveal-js) - The HTML Presentation Framework + +## Tooling + +* [Netlify](https://www.netlify.com) - Continuous deployement and hosting of this documentation +* [Hugo](https://gohugo.io/) {{%icon "fa-smile-o"%}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/_index.md new file mode 100644 index 0000000000..cdfdca312e --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/_index.md @@ -0,0 +1,12 @@ ++++ +title = "Getting started" +description = "" +weight = 1 +alwaysopen = true ++++ + +## Requirements + +Download [Hugo binary](https://gohugo.io/overview/installing/) for your OS (Windows, Linux, Mac) : it’s that simple + +{{%children style="h2" description="true"%}} diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/configuration.md b/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/configuration.md new file mode 100644 index 0000000000..0943c8dbb7 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/configuration.md @@ -0,0 +1,56 @@ ++++ +title = "Configuration" +description = "" +weight = 2 ++++ + +When building the website, you can set a theme by using `--theme` option. We suggest you to edit your configuration file and set the theme by default. Example with `config.toml` format. + + +Import sample config from sample site to Hugo root: + +``` +$ cp themes/docdock/exampleSite/config.toml . +``` + +Change following `config.toml` line as needed, depending on method above: +``` +theme = "" +``` +Comment out following line, so default `themes/` will be used: + +``` +# themesdir = "../.." +``` + + +{{%excerpt%}} +## Activate search + +If not already present, add the follow lines to the `config.toml` file. + +```toml +[outputs] +home = [ "HTML", "RSS", "JSON"] +``` +{{% /excerpt%}} + + +LUNRJS search index file will be generated on content changes. + +#### (Bonus) +Create empty file `.gitkeep` inside `public/` and add following to `.gitignore`. This way it will keep repo smaller and won't bring build result files and errors to remote checkout places: +``` +/public/* +!/public/.gitkeep +``` + +### Preview site +``` +$ hugo server +``` +to browse site on http://localhost:1313 + +## Your website's content + +Find out how to [create]({{%relref "create-page/_index.md"%}}) and [organize your content]({{%relref "content-organisation/_index.md"%}}) quickly and intuitively. diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/installation.md b/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/installation.md new file mode 100644 index 0000000000..89eedd7752 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/getting-start/installation.md @@ -0,0 +1,83 @@ ++++ +title = "Installation" +description = "" +weight = 1 ++++ + +{{% alert theme="warning" %}}HUGO **v0.30** minimum required to use this theme{{%/alert%}} + +The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you to train by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/). + + +## Installation + +We assume that all changes to Hugo content and customizations are going to be tracked by git (GitHub, Bitbucket etc.). Develop locally, build on remote system. + +Before start real work: + +1. Initialize Hugo +2. Install DocDock theme +3. Configure DocDock and Hugo + +### Prepare empty Hugo site + +Create empty directory, which will be root of your Hugo project. Navigate there and let Hugo to create minimal required directory structure: +``` +$ hugo new site . +``` +AFTER that, initialize this as git directory where to track further changes +``` +$ git init +``` + +Next, there are at least three ways to install DocDock (first recommended): + +1. **As git submodule** +2. As git clone +3. As direct copy (from ZIP) + +Navigate to your themes folder in your Hugo site and use perform one of following scenarios. + +### 1. Install DocDock as git submodule + +DocDock will be added like a dependency repo to original project. When using CI tools like Netlify, Jenkins etc., submodule method is required, or you will get `theme not found` issues. Same applies when building site on remote server trough SSH. + +If submodule is no-go, use 3rd option. + +On your root of Hugo execute: + +``` +$ git submodule add https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock +``` +Next initialize submodule for parent git repo: + +``` +$ git submodule init +$ git submodule update +``` + +Now you are ready to add content and customize looks. Do not change any file inside theme directory. + +If you want to freeze changes to DocDock theme itself and use still submodules, fork private copy of DocDock and use that as submodule. When you are ready to update theme, just pull changes from origin to your private fork. + +### 2. Install DocDock simply as git clone + +This method results that files are checked out locally, but won't be visible from parent git repo. Probably you will build site locally with `hugo` command and use result from `public/` on your own. + +``` +$ git clone https://github.com/vjeantet/hugo-theme-docdock.git themes/docdock +``` + + +### 3. Install DocDock from ZIP + +All files from theme will be tracked inside parent repo, to update it, have to override files in theme. [{{%icon download%}} download following zip](https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip) and extract inside `themes/`. + +``` +https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip +``` +Name of theme in next step will be `hugo-theme-docdock-master`, can rename as you wish. + +## Configuration + +[Follow instructions here]({{%relref "configuration.md"%}}) diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/search/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/search/_index.md new file mode 100644 index 0000000000..f9a61b73f2 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/search/_index.md @@ -0,0 +1,13 @@ ++++ +title = "About the Search Engine" +description = "" +weight = 40 ++++ + +{{%excerpt-include filename="getting-start/configuration.md" /%}} + + +Docdock theme uses the last improvement available in hugo version 20+ to generate a json index file ready to be consumed by lunr.js javascript search engine. + + +{{%note%}}hugo generate lunrjs index.json at the root of `public` folder if the site only has one language or within each language subfolder.
When you build the site with `hugo server`, hugo generates it internally and of course it don't show up in the filesystem{{%/note%}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/_index.md b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/_index.md new file mode 100644 index 0000000000..fd65feb406 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/_index.md @@ -0,0 +1,10 @@ ++++ +title = "Shortcodes" +description = "" +date = "2017-04-24T18:36:24+02:00" +weight = 30 ++++ + +A bunch of Shortcodes are available with this theme : + +{{%children style="h2" description="true" %}} diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/alert.md b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/alert.md new file mode 100644 index 0000000000..d69e3ddf34 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/alert.md @@ -0,0 +1,30 @@ ++++ +title = "alert" +description = "The alert shortcode allows you to highlight information in your page." ++++ + +The `alert` shortcode allow you to highlight information in your page. They create a colored box surrounding your text, like this: + +{{%alert%}}**This is** an alert !{{%/alert%}} +## Usage + +| Parameter | Default | Description | +|:--|:--|:--| +| theme | `info` | `success`, `info`,`warning`,`danger` | + +{{%alert info%}} +**Tips :** setting only the theme as argument works too : +`{{%/*alert warning*/%}}` instead of `{{%/*alert theme="warning"*/%}}` +{{%/alert%}} + +## Basic examples + + {{%/* alert theme="info" */%}}**this** is a text{{%/* /alert */%}} + {{%/* alert theme="success" */%}}**Yeahhh !** is a text{{%/* /alert */%}} + {{%/* alert theme="warning" */%}}**Be carefull** is a text{{%/* /alert */%}} + {{%/* alert theme="danger" */%}}**Beware !** is a text{{%/* /alert */%}} + +{{% alert theme="info"%}}**this** is an info{{% /alert %}} +{{% alert theme="success" %}}**Yeahhh !** is an success{{% /alert %}} +{{% alert theme="warning" %}}**Be carefull** is a warning{{% /alert %}} +{{% alert theme="danger" %}}**Beware !** is a danger{{% /alert %}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 new file mode 100644 index 0000000000..94e3d0e539 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 differ diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf new file mode 100644 index 0000000000..97377e99b1 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf differ diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf new file mode 100644 index 0000000000..e589c73e97 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf differ diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/hugo.png b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/hugo.png new file mode 100644 index 0000000000..48acf346c9 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/hugo.png differ diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 new file mode 100644 index 0000000000..9f1fe56456 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 differ diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.md b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.md new file mode 100644 index 0000000000..c684bb4e78 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/attachments.md @@ -0,0 +1,59 @@ ++++ +title = "attachments" +description = "The Attachments shortcode displays a list of files attached to a page." ++++ + +The Attachments shortcode displays a list of files attached to a page. +Example : +{{%alert success%}}{{%attachments /%}}{{%/alert%}} + +## Usage + +The shortcurt lists files found in a **specific folder**. +Currently, it support two implementations for pages + +1. If your page is a markdown file, attachements must be place in a **folder** named like your page and ending with **.files**. + + > * content + > * _index.md + > * page.files + > * attachment.pdf + > * page.md + +2. If your page is a **folder**, attachements must be place in a nested **'files'** folder. + + > * content + > * _index.md + > * page + > * index.md + > * files + > * attachment.pdf + +That's all ! + +{{%alert info%}}**Tip** : Look at this documentation source code on github{{%/alert%}} + +### parameters + +| Parameter | Default | Description | +|:--|:--|:--| +| title | "Attachments" | List's title | +| pattern | ".*" | A regular expressions, used to filter the attachments by file name.

{{%alert warning%}}The **pattern** parameter value must be [regular expressions](https://en.wikipedia.org/wiki/Regular_expression). + +For example: + +* To match a file suffix of 'jpg', use **.*jpg** (not *.jpg). +* To match file names ending in 'jpg' or 'png', use **.*(jpg|png)** + +{{%/alert%}}| + + +## Demo +### List of attachments ending in pdf or mp4 + + {{%/*attachments title="Related files" pattern=".*(pdf|mp4)"/*/%}} + +renders as + +{{%attachments title="Related files" pattern=".*(pdf|mp4)"/%}} + diff --git a/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/button.md b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/button.md new file mode 100644 index 0000000000..59d498ff51 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/exampleSite/content/shortcodes/button.md @@ -0,0 +1,37 @@ ++++ +title = "button" +description = "Display an actionable button in your page." ++++ + +Display an actionable button in your page. + +{{ +{{ with .Get "align" }}{{end}} + + \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/children.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/children.html new file mode 100644 index 0000000000..9b68c05fda --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/children.html @@ -0,0 +1,105 @@ +{{- $showhidden := .Get "showhidden"}} +{{- $style := .Get "style" | default "li" }} +{{- $depth := .Get "depth" | default 1 }} +{{- $withDescription := .Get "description" | default false }} +{{- $sortTerm := .Get "sort" | default "Weight" }} + +{{- .Scratch.Set "current" .Page }} + +{{- if (.Get "page")}} + {{- with .Site.GetPage "section" (.Get "page") }} + {{- $.Scratch.Set "current" . }} + {{- end }} +{{- end }} + +{{- $cpage := (.Scratch.Get "current") }} + +
    + {{- .Scratch.Set "pages" $cpage.Pages }} + {{- if $cpage.Sections}} + {{- .Scratch.Set "pages" ($cpage.Pages | union $cpage.Sections) }} + {{- end}} + {{- $pages := (.Scratch.Get "pages") }} + + {{- if eq $sortTerm "Weight"}} + {{- template "childs" dict "menu" $pages.ByWeight "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}} + {{- else if eq $sortTerm "Name"}} + {{- template "childs" dict "menu" $pages.ByTitle "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}} + {{- else if eq $sortTerm "PublishDate"}} + {{- template "childs" dict "menu" $pages.ByPublishDate "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}} + {{- else if eq $sortTerm "Date"}} + {{- template "childs" dict "menu" $pages.ByDate "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}} + {{- else if eq $sortTerm "Length"}} + {{- template "childs" dict "menu" $pages.ByLength "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}} + {{- else}} + {{- template "childs" dict "menu" $pages "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "pages" .Site.Pages "description" $withDescription "sortTerm" $sortTerm}} + {{end}} +
+ +{{.Inner|safeHTML}} + +{{ define "childs" }} + {{- range .menu }} + {{- if and .Params.hidden (not $.showhidden) }} + {{- else}} + + +{{- if hasPrefix $.style "h"}} + {{- $num := sub ( int (trim $.style "h") ) 1 }} + {{- $numn := add $num $.count }} + +{{- (printf "" $numn)|safeHTML}} + {{ .Title }} +{{- (printf "" $numn)|safeHTML}} + +{{- else}} +{{- (printf "<%s>" $.style)|safeHTML}} + {{ .Title }} +{{- (printf "" $.style)|safeHTML}} +{{- end}} + + + + + + {{- if $.description}} + {{- if .Description}} +

{{.Description}}

+ {{- else}} +

{{.Summary}}

+ {{- end}} + {{- end}} + + + + {{- if lt $.count $.depth}} +{{- if eq $.style "li" }} +
    +{{- end}} + {{- .Scratch.Set "pages" .Pages }} + {{- if .Sections}} + {{- .Scratch.Set "pages" (.Pages | union .Sections) }} + {{- end}} + {{- $pages := (.Scratch.Get "pages") }} + + {{- if eq $.sortTerm "Weight"}} + {{- template "childs" dict "menu" $pages.ByWeight "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}} + {{- else if eq $.sortTerm "Name"}} + {{- template "childs" dict "menu" $pages.ByTitle "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}} + {{- else if eq $.sortTerm "PublishDate"}} + {{- template "childs" dict "menu" $pages.ByPublishDate "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}} + {{- else if eq $.sortTerm "Date"}} + {{- template "childs" dict "menu" $pages.ByDate "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}} + {{- else if eq $.sortTerm "Length"}} + {{- template "childs" dict "menu" $pages.ByLength "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}} + {{- else}} + {{- template "childs" dict "menu" $pages "style" $.style "showhidden" $.showhidden "count" (add $.count 1) "depth" $.depth "pages" $.pages "description" $.description "sortTerm" $.sortTerm}} + {{- end}} +{{- if eq $.style "li"}} +
+{{- end }} + {{- end }} + + {{- end }} + {{- end }} +{{- end }} diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/code.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/code.html new file mode 100644 index 0000000000..12c13bdd32 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/code.html @@ -0,0 +1 @@ +
{{.Inner}}
\ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/emoticon.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/emoticon.html new file mode 100644 index 0000000000..d1497fa311 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/emoticon.html @@ -0,0 +1,29 @@ +{{ $name := .Get "name"}} + +{{ if eq "smile" $name}} +😀 +{{ else if eq "sad" $name}} +🙁 +{{ else if eq "cheeky" $name}} +😛 +{{ else if eq "laugh" $name}} +😃 +{{ else if eq "wink" $name}} +😉 +{{ else if eq "thumbs-up" $name}} + +{{ else if eq "thumbs-down" $name}} + +{{ else if eq "information" $name}} + +{{ else if eq "tick" $name}} + +{{ else if eq "cross" $name}} + +{{ else if eq "warning" $name}} + +{{else}} +( Emoticon: {{$name}} ) +{{end}} + +{{.Inner}} diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/excerpt-include.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/excerpt-include.html new file mode 100644 index 0000000000..2327e9fb01 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/excerpt-include.html @@ -0,0 +1,14 @@ +{{ $excerpt := findRE "(?ms){{%\\s*excerpt[^%]*%}}(.|\n)*?{{%\\s*/excerpt\\s*%}}" ( readFile (printf "./content/%s" (.Get "filename")) ) }} +{{ range $excerpt }} + {{if ($.Get "panel")}} +
+
{{$.Get "panel"}}
+
+ {{ (replaceRE "(?ms){{%\\s*excerpt[^%]*%}}(.*){{%\\s*/excerpt\\s*%}}" "$1" .) | safeHTML | markdownify }} +
+
+ {{else}} + {{ (replaceRE "(?ms){{%\\s*excerpt[^%]*%}}(.*){{%\\s*/excerpt\\s*%}}" "$1" .) | safeHTML | markdownify }} + {{ end }} +{{ end }} +{{.Inner}} diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/excerpt.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/excerpt.html new file mode 100644 index 0000000000..7d0eb334d4 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/excerpt.html @@ -0,0 +1,7 @@ +{{with .Get "hidden"}} + {{if eq . "false"}} + {{$.Inner}} + {{end}} +{{else}} + {{.Inner}} +{{end}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/expand.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/expand.html new file mode 100644 index 0000000000..3b170c71f8 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/expand.html @@ -0,0 +1,16 @@ +
+
+ + + {{ if .IsNamedParams }} + {{.Get "default" | default "Expand me..."}} + {{else}} + {{.Get 0 | default "Expand me..."}} + {{end}} + +
+ +
+ diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/header.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/header.html new file mode 100644 index 0000000000..3c362d8308 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/header.html @@ -0,0 +1,16 @@ +
+ Résumé
+ {{.Inner}} + +
Sur cette page
+ {{.Page.TableOfContents}} +
Pages liées
+
    + {{ range sort .Page.Sections }} +
  • {{ .Title }}
  • + {{ end }} + {{ range sort .Page.Pages }} +
  • {{ .Title }}
  • + {{ end }} +
+
diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/icon.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/icon.html new file mode 100644 index 0000000000..33ed18ad4d --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/icon.html @@ -0,0 +1,13 @@ +{{ if .IsNamedParams }} +{{if not (hasPrefix (.Get "name") "fa-") }} + +{{else}} + +{{end}} +{{else}} +{{if not (hasPrefix (.Get 0) "fa-") }} + +{{else}} + +{{end}} +{{end}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/image.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/image.html new file mode 100644 index 0000000000..f52fac6fda --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/image.html @@ -0,0 +1,5 @@ + + + +{{.Inner}} + diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/info.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/info.html new file mode 100644 index 0000000000..fa5cd341ca --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/info.html @@ -0,0 +1,10 @@ + +{{- if .Get "title" -}} +
+ {{ with .Get "title" }}
{{htmlUnescape .}}
{{end}} +
{{.Inner}}
+
+{{- else -}} + +{{- end -}} + diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/label.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/label.html new file mode 100644 index 0000000000..6a06c5c06f --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/label.html @@ -0,0 +1 @@ +{{.Inner}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/mermaid.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/mermaid.html new file mode 100644 index 0000000000..bfdf56a778 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/mermaid.html @@ -0,0 +1,3 @@ + + +
{{ safeHTML .Inner }}
\ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/note.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/note.html new file mode 100644 index 0000000000..ff62e2f8ef --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/note.html @@ -0,0 +1,4 @@ + + + + diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/notice.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/notice.html new file mode 100644 index 0000000000..936f68a3ac --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/notice.html @@ -0,0 +1 @@ +
{{ .Inner }}
diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/pagelink.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/pagelink.html new file mode 100644 index 0000000000..ede98bf20f --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/pagelink.html @@ -0,0 +1,12 @@ +{{ if ne (.Get "spacekey") "" }} + +{{else}} + {{$pages := where .Site.AllPages "Title" (( $.Get "pagename") | htmlUnescape ) }} + {{ if eq 0 (len $pages) }} + + {{else}} + {{ range $pages }} + {{$.Inner}} + {{end}} + {{ end }} +{{end}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/pagetreesearch.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/pagetreesearch.html new file mode 100644 index 0000000000..ed3fb8ab6a --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/pagetreesearch.html @@ -0,0 +1 @@ +{{.Inner}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/panel.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/panel.html new file mode 100644 index 0000000000..e1e0cf62cf --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/panel.html @@ -0,0 +1,5 @@ +
+ {{ with .Get "header" }}
{{ htmlUnescape . | markdownify}}
{{end}} +
{{.Inner}}
+ {{ with .Get "footer" }}{{end}} +
diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/recently-updated.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/recently-updated.html new file mode 100644 index 0000000000..f09bf1bbda --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/recently-updated.html @@ -0,0 +1,7 @@ +{{.Inner}} + +{{- range first 10 .Site.Pages }} +
  • +{{ .Date.Format "02/01/2006" }} - {{ .Title }} +
  • +{{ end }} diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/relref.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/relref.html new file mode 100644 index 0000000000..5cb8116290 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/relref.html @@ -0,0 +1,12 @@ +{{- if in (.Get 0) "/_index.md" -}} + {{- $path := (trim (.Get 0) "_index.md") -}} + {{- with .Site.GetPage "section" (trim $path "/") -}} + {{- .URL -}} + {{- end -}} +{{- else -}} + {{- with .Site.GetPage "section" (.Get 0) }} + {{- .URL -}} + {{- else -}} + {{- .Get 0 | relref .Page -}} + {{- end -}} +{{- end -}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/revealjs.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/revealjs.html new file mode 100644 index 0000000000..f5ca4ac483 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/revealjs.html @@ -0,0 +1,66 @@ + + +
    + + + + +
    +
    +
    + {{ .Inner | safeHTML}} +
    +
    +
    + + + + +
    +
  • See it fullscreen
  • + + \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/section.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/section.html new file mode 100644 index 0000000000..ed3fb8ab6a --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/section.html @@ -0,0 +1 @@ +{{.Inner}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/task.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/task.html new file mode 100644 index 0000000000..980b5fd2e4 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/task.html @@ -0,0 +1,10 @@ +
    + + +
    \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/tasklist.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/tasklist.html new file mode 100644 index 0000000000..4ff4d5888f --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/tasklist.html @@ -0,0 +1,4 @@ +
    + +{{.Inner}} +
    \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/tip.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/tip.html new file mode 100644 index 0000000000..ac0d458472 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/tip.html @@ -0,0 +1,10 @@ + +{{if .Get "title" }} +
    + {{ with .Get "title" }}
    {{htmlUnescape .}}
    {{end}} +
    {{.Inner}}
    +
    +{{else}} + +{{end}} + diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/toc.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/toc.html new file mode 100644 index 0000000000..fe28f4463d --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/toc.html @@ -0,0 +1,2 @@ +{{ .Page.TableOfContents }} +{{.Inner}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/unknow.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/unknow.html new file mode 100644 index 0000000000..4d846314c6 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/unknow.html @@ -0,0 +1 @@ +
    {{.Inner}}
    \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/userlink.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/userlink.html new file mode 100644 index 0000000000..f69ad9e9b5 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/userlink.html @@ -0,0 +1 @@ +{{.Inner}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/viewppt.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/viewppt.html new file mode 100644 index 0000000000..cd6c9cb464 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/viewppt.html @@ -0,0 +1,5 @@ +{{range $i, $att := .Page.Params.attachments }} +{{if eq $att.filename ($.Get "name")}} +{{$.Inner}} +{{end}} +{{end}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/viewxls.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/viewxls.html new file mode 100644 index 0000000000..a2633037a8 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/viewxls.html @@ -0,0 +1,5 @@ +{{range $i, $att := .Page.Params.attachments }} +{{if eq $att.filename ($.Get "name")}} +{{$.Inner}} +{{end}} +{{end}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/warning.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/warning.html new file mode 100644 index 0000000000..14efaff24c --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/warning.html @@ -0,0 +1,12 @@ + + + +{{if .Get "title" }} +
    + {{ with .Get "title" }}
    {{htmlUnescape .}}
    {{end}} +
    {{.Inner}}
    +
    +{{else}} + +{{end}} + diff --git a/docs/themes/hugo-theme-docdock/layouts/shortcodes/well.html b/docs/themes/hugo-theme-docdock/layouts/shortcodes/well.html new file mode 100644 index 0000000000..3704ab8fdb --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/shortcodes/well.html @@ -0,0 +1 @@ +
    {{.Inner}}
    diff --git a/docs/themes/hugo-theme-docdock/layouts/slide/single.html b/docs/themes/hugo-theme-docdock/layouts/slide/single.html new file mode 100644 index 0000000000..66b077578d --- /dev/null +++ b/docs/themes/hugo-theme-docdock/layouts/slide/single.html @@ -0,0 +1,38 @@ + + + + + + +
    +
    +
    + {{ .RawContent }} +
    +
    +
    + + + diff --git a/docs/themes/hugo-theme-docdock/static/css/auto-complete.css b/docs/themes/hugo-theme-docdock/static/css/auto-complete.css new file mode 100644 index 0000000000..c144cd3899 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/auto-complete.css @@ -0,0 +1,49 @@ +.autocomplete-suggestions { + text-align: left; + cursor: default; + border: 1px solid #ccc; + border-top: 0; + background: #fff; + box-shadow: 1px 2px 6px; + transition: left 0.1s ease-in-out; + + /* core styles should not be changed */ + position: absolute; + display: none; + z-index: 9999; + max-height: 70vh; + width: 265px; + overflow: hidden; + overflow-y: hidden; + box-sizing: border-box; + +} +.autocomplete-suggestion { + position: relative; + cursor: pointer; + padding: 7px; + line-height: 23px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #333; +} + +.autocomplete-suggestion b { + font-weight: normal; + color: #1f8dd6; +} + +.autocomplete-suggestion.selected { + background: #333; + color: #fff; +} + +.autocomplete-suggestion:hover { + background: #444; + color: #fff; +} + +.autocomplete-suggestion > .context { + font-size: 12px; +} diff --git a/docs/themes/hugo-theme-docdock/static/css/bootstrap.min.css b/docs/themes/hugo-theme-docdock/static/css/bootstrap.min.css new file mode 100644 index 0000000000..f1468a5251 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/bootstrap.min.css @@ -0,0 +1,1884 @@ +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); +} +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.glyphicon-asterisk:before { + content: "\2a"; +} +.glyphicon-plus:before { + content: "\2b"; +} +.glyphicon-euro:before, +.glyphicon-eur:before { + content: "\20ac"; +} +.glyphicon-minus:before { + content: "\2212"; +} +.glyphicon-cloud:before { + content: "\2601"; +} +.glyphicon-envelope:before { + content: "\2709"; +} +.glyphicon-pencil:before { + content: "\270f"; +} +.glyphicon-glass:before { + content: "\e001"; +} +.glyphicon-music:before { + content: "\e002"; +} +.glyphicon-search:before { + content: "\e003"; +} +.glyphicon-heart:before { + content: "\e005"; +} +.glyphicon-star:before { + content: "\e006"; +} +.glyphicon-star-empty:before { + content: "\e007"; +} +.glyphicon-user:before { + content: "\e008"; +} +.glyphicon-film:before { + content: "\e009"; +} +.glyphicon-th-large:before { + content: "\e010"; +} +.glyphicon-th:before { + content: "\e011"; +} +.glyphicon-th-list:before { + content: "\e012"; +} +.glyphicon-ok:before { + content: "\e013"; +} +.glyphicon-remove:before { + content: "\e014"; +} +.glyphicon-zoom-in:before { + content: "\e015"; +} +.glyphicon-zoom-out:before { + content: "\e016"; +} +.glyphicon-off:before { + content: "\e017"; +} +.glyphicon-signal:before { + content: "\e018"; +} +.glyphicon-cog:before { + content: "\e019"; +} +.glyphicon-trash:before { + content: "\e020"; +} +.glyphicon-home:before { + content: "\e021"; +} +.glyphicon-file:before { + content: "\e022"; +} +.glyphicon-time:before { + content: "\e023"; +} +.glyphicon-road:before { + content: "\e024"; +} +.glyphicon-download-alt:before { + content: "\e025"; +} +.glyphicon-download:before { + content: "\e026"; +} +.glyphicon-upload:before { + content: "\e027"; +} +.glyphicon-inbox:before { + content: "\e028"; +} +.glyphicon-play-circle:before { + content: "\e029"; +} +.glyphicon-repeat:before { + content: "\e030"; +} +.glyphicon-refresh:before { + content: "\e031"; +} +.glyphicon-list-alt:before { + content: "\e032"; +} +.glyphicon-lock:before { + content: "\e033"; +} +.glyphicon-flag:before { + content: "\e034"; +} +.glyphicon-headphones:before { + content: "\e035"; +} +.glyphicon-volume-off:before { + content: "\e036"; +} +.glyphicon-volume-down:before { + content: "\e037"; +} +.glyphicon-volume-up:before { + content: "\e038"; +} +.glyphicon-qrcode:before { + content: "\e039"; +} +.glyphicon-barcode:before { + content: "\e040"; +} +.glyphicon-tag:before { + content: "\e041"; +} +.glyphicon-tags:before { + content: "\e042"; +} +.glyphicon-book:before { + content: "\e043"; +} +.glyphicon-bookmark:before { + content: "\e044"; +} +.glyphicon-print:before { + content: "\e045"; +} +.glyphicon-camera:before { + content: "\e046"; +} +.glyphicon-font:before { + content: "\e047"; +} +.glyphicon-bold:before { + content: "\e048"; +} +.glyphicon-italic:before { + content: "\e049"; +} +.glyphicon-text-height:before { + content: "\e050"; +} +.glyphicon-text-width:before { + content: "\e051"; +} +.glyphicon-align-left:before { + content: "\e052"; +} +.glyphicon-align-center:before { + content: "\e053"; +} +.glyphicon-align-right:before { + content: "\e054"; +} +.glyphicon-align-justify:before { + content: "\e055"; +} +.glyphicon-list:before { + content: "\e056"; +} +.glyphicon-indent-left:before { + content: "\e057"; +} +.glyphicon-indent-right:before { + content: "\e058"; +} +.glyphicon-facetime-video:before { + content: "\e059"; +} +.glyphicon-picture:before { + content: "\e060"; +} +.glyphicon-map-marker:before { + content: "\e062"; +} +.glyphicon-adjust:before { + content: "\e063"; +} +.glyphicon-tint:before { + content: "\e064"; +} +.glyphicon-edit:before { + content: "\e065"; +} +.glyphicon-share:before { + content: "\e066"; +} +.glyphicon-check:before { + content: "\e067"; +} +.glyphicon-move:before { + content: "\e068"; +} +.glyphicon-step-backward:before { + content: "\e069"; +} +.glyphicon-fast-backward:before { + content: "\e070"; +} +.glyphicon-backward:before { + content: "\e071"; +} +.glyphicon-play:before { + content: "\e072"; +} +.glyphicon-pause:before { + content: "\e073"; +} +.glyphicon-stop:before { + content: "\e074"; +} +.glyphicon-forward:before { + content: "\e075"; +} +.glyphicon-fast-forward:before { + content: "\e076"; +} +.glyphicon-step-forward:before { + content: "\e077"; +} +.glyphicon-eject:before { + content: "\e078"; +} +.glyphicon-chevron-left:before { + content: "\e079"; +} +.glyphicon-chevron-right:before { + content: "\e080"; +} +.glyphicon-plus-sign:before { + content: "\e081"; +} +.glyphicon-minus-sign:before { + content: "\e082"; +} +.glyphicon-remove-sign:before { + content: "\e083"; +} +.glyphicon-ok-sign:before { + content: "\e084"; +} +.glyphicon-question-sign:before { + content: "\e085"; +} +.glyphicon-info-sign:before { + content: "\e086"; +} +.glyphicon-screenshot:before { + content: "\e087"; +} +.glyphicon-remove-circle:before { + content: "\e088"; +} +.glyphicon-ok-circle:before { + content: "\e089"; +} +.glyphicon-ban-circle:before { + content: "\e090"; +} +.glyphicon-arrow-left:before { + content: "\e091"; +} +.glyphicon-arrow-right:before { + content: "\e092"; +} +.glyphicon-arrow-up:before { + content: "\e093"; +} +.glyphicon-arrow-down:before { + content: "\e094"; +} +.glyphicon-share-alt:before { + content: "\e095"; +} +.glyphicon-resize-full:before { + content: "\e096"; +} +.glyphicon-resize-small:before { + content: "\e097"; +} +.glyphicon-exclamation-sign:before { + content: "\e101"; +} +.glyphicon-gift:before { + content: "\e102"; +} +.glyphicon-leaf:before { + content: "\e103"; +} +.glyphicon-fire:before { + content: "\e104"; +} +.glyphicon-eye-open:before { + content: "\e105"; +} +.glyphicon-eye-close:before { + content: "\e106"; +} +.glyphicon-warning-sign:before { + content: "\e107"; +} +.glyphicon-plane:before { + content: "\e108"; +} +.glyphicon-calendar:before { + content: "\e109"; +} +.glyphicon-random:before { + content: "\e110"; +} +.glyphicon-comment:before { + content: "\e111"; +} +.glyphicon-magnet:before { + content: "\e112"; +} +.glyphicon-chevron-up:before { + content: "\e113"; +} +.glyphicon-chevron-down:before { + content: "\e114"; +} +.glyphicon-retweet:before { + content: "\e115"; +} +.glyphicon-shopping-cart:before { + content: "\e116"; +} +.glyphicon-folder-close:before { + content: "\e117"; +} +.glyphicon-folder-open:before { + content: "\e118"; +} +.glyphicon-resize-vertical:before { + content: "\e119"; +} +.glyphicon-resize-horizontal:before { + content: "\e120"; +} +.glyphicon-hdd:before { + content: "\e121"; +} +.glyphicon-bullhorn:before { + content: "\e122"; +} +.glyphicon-bell:before { + content: "\e123"; +} +.glyphicon-certificate:before { + content: "\e124"; +} +.glyphicon-thumbs-up:before { + content: "\e125"; +} +.glyphicon-thumbs-down:before { + content: "\e126"; +} +.glyphicon-hand-right:before { + content: "\e127"; +} +.glyphicon-hand-left:before { + content: "\e128"; +} +.glyphicon-hand-up:before { + content: "\e129"; +} +.glyphicon-hand-down:before { + content: "\e130"; +} +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} +.glyphicon-globe:before { + content: "\e135"; +} +.glyphicon-wrench:before { + content: "\e136"; +} +.glyphicon-tasks:before { + content: "\e137"; +} +.glyphicon-filter:before { + content: "\e138"; +} +.glyphicon-briefcase:before { + content: "\e139"; +} +.glyphicon-fullscreen:before { + content: "\e140"; +} +.glyphicon-dashboard:before { + content: "\e141"; +} +.glyphicon-paperclip:before { + content: "\e142"; +} +.glyphicon-heart-empty:before { + content: "\e143"; +} +.glyphicon-link:before { + content: "\e144"; +} +.glyphicon-phone:before { + content: "\e145"; +} +.glyphicon-pushpin:before { + content: "\e146"; +} +.glyphicon-usd:before { + content: "\e148"; +} +.glyphicon-gbp:before { + content: "\e149"; +} +.glyphicon-sort:before { + content: "\e150"; +} +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} +.glyphicon-sort-by-order:before { + content: "\e153"; +} +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} +.glyphicon-unchecked:before { + content: "\e157"; +} +.glyphicon-expand:before { + content: "\e158"; +} +.glyphicon-collapse-down:before { + content: "\e159"; +} +.glyphicon-collapse-up:before { + content: "\e160"; +} +.glyphicon-log-in:before { + content: "\e161"; +} +.glyphicon-flash:before { + content: "\e162"; +} +.glyphicon-log-out:before { + content: "\e163"; +} +.glyphicon-new-window:before { + content: "\e164"; +} +.glyphicon-record:before { + content: "\e165"; +} +.glyphicon-save:before { + content: "\e166"; +} +.glyphicon-open:before { + content: "\e167"; +} +.glyphicon-saved:before { + content: "\e168"; +} +.glyphicon-import:before { + content: "\e169"; +} +.glyphicon-export:before { + content: "\e170"; +} +.glyphicon-send:before { + content: "\e171"; +} +.glyphicon-floppy-disk:before { + content: "\e172"; +} +.glyphicon-floppy-saved:before { + content: "\e173"; +} +.glyphicon-floppy-remove:before { + content: "\e174"; +} +.glyphicon-floppy-save:before { + content: "\e175"; +} +.glyphicon-floppy-open:before { + content: "\e176"; +} +.glyphicon-credit-card:before { + content: "\e177"; +} +.glyphicon-transfer:before { + content: "\e178"; +} +.glyphicon-cutlery:before { + content: "\e179"; +} +.glyphicon-header:before { + content: "\e180"; +} +.glyphicon-compressed:before { + content: "\e181"; +} +.glyphicon-earphone:before { + content: "\e182"; +} +.glyphicon-phone-alt:before { + content: "\e183"; +} +.glyphicon-tower:before { + content: "\e184"; +} +.glyphicon-stats:before { + content: "\e185"; +} +.glyphicon-sd-video:before { + content: "\e186"; +} +.glyphicon-hd-video:before { + content: "\e187"; +} +.glyphicon-subtitles:before { + content: "\e188"; +} +.glyphicon-sound-stereo:before { + content: "\e189"; +} +.glyphicon-sound-dolby:before { + content: "\e190"; +} +.glyphicon-sound-5-1:before { + content: "\e191"; +} +.glyphicon-sound-6-1:before { + content: "\e192"; +} +.glyphicon-sound-7-1:before { + content: "\e193"; +} +.glyphicon-copyright-mark:before { + content: "\e194"; +} +.glyphicon-registration-mark:before { + content: "\e195"; +} +.glyphicon-cloud-download:before { + content: "\e197"; +} +.glyphicon-cloud-upload:before { + content: "\e198"; +} +.glyphicon-tree-conifer:before { + content: "\e199"; +} +.glyphicon-tree-deciduous:before { + content: "\e200"; +} +.glyphicon-cd:before { + content: "\e201"; +} +.glyphicon-save-file:before { + content: "\e202"; +} +.glyphicon-open-file:before { + content: "\e203"; +} +.glyphicon-level-up:before { + content: "\e204"; +} +.glyphicon-copy:before { + content: "\e205"; +} +.glyphicon-paste:before { + content: "\e206"; +} +.glyphicon-alert:before { + content: "\e209"; +} +.glyphicon-equalizer:before { + content: "\e210"; +} +.glyphicon-king:before { + content: "\e211"; +} +.glyphicon-queen:before { + content: "\e212"; +} +.glyphicon-pawn:before { + content: "\e213"; +} +.glyphicon-bishop:before { + content: "\e214"; +} +.glyphicon-knight:before { + content: "\e215"; +} +.glyphicon-baby-formula:before { + content: "\e216"; +} +.glyphicon-tent:before { + content: "\26fa"; +} +.glyphicon-blackboard:before { + content: "\e218"; +} +.glyphicon-bed:before { + content: "\e219"; +} +.glyphicon-apple:before { + content: "\f8ff"; +} +.glyphicon-erase:before { + content: "\e221"; +} +.glyphicon-hourglass:before { + content: "\231b"; +} +.glyphicon-lamp:before { + content: "\e223"; +} +.glyphicon-duplicate:before { + content: "\e224"; +} +.glyphicon-piggy-bank:before { + content: "\e225"; +} +.glyphicon-scissors:before { + content: "\e226"; +} +.glyphicon-bitcoin:before { + content: "\e227"; +} +.glyphicon-btc:before { + content: "\e227"; +} +.glyphicon-xbt:before { + content: "\e227"; +} +.glyphicon-yen:before { + content: "\00a5"; +} +.glyphicon-jpy:before { + content: "\00a5"; +} +.glyphicon-ruble:before { + content: "\20bd"; +} +.glyphicon-rub:before { + content: "\20bd"; +} +.glyphicon-scale:before { + content: "\e230"; +} +.glyphicon-ice-lolly:before { + content: "\e231"; +} +.glyphicon-ice-lolly-tasted:before { + content: "\e232"; +} +.glyphicon-education:before { + content: "\e233"; +} +.glyphicon-option-horizontal:before { + content: "\e234"; +} +.glyphicon-option-vertical:before { + content: "\e235"; +} +.glyphicon-menu-hamburger:before { + content: "\e236"; +} +.glyphicon-modal-window:before { + content: "\e237"; +} +.glyphicon-oil:before { + content: "\e238"; +} +.glyphicon-grain:before { + content: "\e239"; +} +.glyphicon-sunglasses:before { + content: "\e240"; +} +.glyphicon-text-size:before { + content: "\e241"; +} +.glyphicon-text-color:before { + content: "\e242"; +} +.glyphicon-text-background:before { + content: "\e243"; +} +.glyphicon-object-align-top:before { + content: "\e244"; +} +.glyphicon-object-align-bottom:before { + content: "\e245"; +} +.glyphicon-object-align-horizontal:before { + content: "\e246"; +} +.glyphicon-object-align-left:before { + content: "\e247"; +} +.glyphicon-object-align-vertical:before { + content: "\e248"; +} +.glyphicon-object-align-right:before { + content: "\e249"; +} +.glyphicon-triangle-right:before { + content: "\e250"; +} +.glyphicon-triangle-left:before { + content: "\e251"; +} +.glyphicon-triangle-bottom:before { + content: "\e252"; +} +.glyphicon-triangle-top:before { + content: "\e253"; +} +.glyphicon-console:before { + content: "\e254"; +} +.glyphicon-superscript:before { + content: "\e255"; +} +.glyphicon-subscript:before { + content: "\e256"; +} +.glyphicon-menu-left:before { + content: "\e257"; +} +.glyphicon-menu-right:before { + content: "\e258"; +} +.glyphicon-menu-down:before { + content: "\e259"; +} +.glyphicon-menu-up:before { + content: "\e260"; +} + + +/*ALERTS*/ +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} +.alert-dismissable, +.alert-dismissible { + padding-right: 35px; +} +.alert-dismissable .close, +.alert-dismissible .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} +.alert-success { + background-color: #dff0d8; + border-color: #d6e9c6; + color: #3c763d; +} +.alert-success hr { + border-top-color: #c9e2b3; +} +.alert-success .alert-link { + color: #2b542c; +} +.alert-info { + background-color: #d9edf7; + border-color: #bce8f1; + color: #31708f; +} +.alert-info hr { + border-top-color: #a6e1ec; +} +.alert-info .alert-link { + color: #245269; +} +.alert-warning { + background-color: #fcf8e3; + border-color: #faebcc; + color: #8a6d3b; +} +.alert-warning hr { + border-top-color: #f7e1b5; +} +.alert-warning .alert-link { + color: #66512c; +} +.alert-danger { + background-color: #f2dede; + border-color: #ebccd1; + color: #a94442; +} +.alert-danger hr { + border-top-color: #e4b9c0; +} +.alert-danger .alert-link { + color: #843534; +} + +/* BUTTONS */ +[role="button"] { + cursor: pointer; +} +.btn { + display: inline-block; + margin-bottom: 0; + font-weight: normal; + text-align: center; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + white-space: nowrap; + padding: 6px 12px; + font-size: 14px; + line-height: 1.42857143; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #333333; + text-decoration: none; +} +.btn:active, +.btn.active { + outline: 0; + background-image: none; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} +a.btn.disabled, +fieldset[disabled] a.btn { + pointer-events: none; +} +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} +.btn-default:focus, +.btn-default.focus { + color: #333333; + background-color: #e6e6e6; + border-color: #8c8c8c; +} +.btn-default:hover { + color: #333333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: #333333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active:hover, +.btn-default.active:hover, +.open > .dropdown-toggle.btn-default:hover, +.btn-default:active:focus, +.btn-default.active:focus, +.open > .dropdown-toggle.btn-default:focus, +.btn-default:active.focus, +.btn-default.active.focus, +.open > .dropdown-toggle.btn-default.focus { + color: #333333; + background-color: #d4d4d4; + border-color: #8c8c8c; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} +.btn-default .badge { + color: #ffffff; + background-color: #333333; +} +.btn-primary { + color: #ffffff; + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary:focus, +.btn-primary.focus { + color: #ffffff; + background-color: #286090; + border-color: #122b40; +} +.btn-primary:hover { + color: #ffffff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active:hover, +.btn-primary.active:hover, +.open > .dropdown-toggle.btn-primary:hover, +.btn-primary:active:focus, +.btn-primary.active:focus, +.open > .dropdown-toggle.btn-primary:focus, +.btn-primary:active.focus, +.btn-primary.active.focus, +.open > .dropdown-toggle.btn-primary.focus { + color: #ffffff; + background-color: #204d74; + border-color: #122b40; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary .badge { + color: #337ab7; + background-color: #ffffff; +} +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success:focus, +.btn-success.focus { + color: #ffffff; + background-color: #449d44; + border-color: #255625; +} +.btn-success:hover { + color: #ffffff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active:hover, +.btn-success.active:hover, +.open > .dropdown-toggle.btn-success:hover, +.btn-success:active:focus, +.btn-success.active:focus, +.open > .dropdown-toggle.btn-success:focus, +.btn-success:active.focus, +.btn-success.active.focus, +.open > .dropdown-toggle.btn-success.focus { + color: #ffffff; + background-color: #398439; + border-color: #255625; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success .badge { + color: #5cb85c; + background-color: #ffffff; +} +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info:focus, +.btn-info.focus { + color: #ffffff; + background-color: #31b0d5; + border-color: #1b6d85; +} +.btn-info:hover { + color: #ffffff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active:hover, +.btn-info.active:hover, +.open > .dropdown-toggle.btn-info:hover, +.btn-info:active:focus, +.btn-info.active:focus, +.open > .dropdown-toggle.btn-info:focus, +.btn-info:active.focus, +.btn-info.active.focus, +.open > .dropdown-toggle.btn-info.focus { + color: #ffffff; + background-color: #269abc; + border-color: #1b6d85; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info .badge { + color: #5bc0de; + background-color: #ffffff; +} +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning:focus, +.btn-warning.focus { + color: #ffffff; + background-color: #ec971f; + border-color: #985f0d; +} +.btn-warning:hover { + color: #ffffff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active:hover, +.btn-warning.active:hover, +.open > .dropdown-toggle.btn-warning:hover, +.btn-warning:active:focus, +.btn-warning.active:focus, +.open > .dropdown-toggle.btn-warning:focus, +.btn-warning:active.focus, +.btn-warning.active.focus, +.open > .dropdown-toggle.btn-warning.focus { + color: #ffffff; + background-color: #d58512; + border-color: #985f0d; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning .badge { + color: #f0ad4e; + background-color: #ffffff; +} +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger:focus, +.btn-danger.focus { + color: #ffffff; + background-color: #c9302c; + border-color: #761c19; +} +.btn-danger:hover { + color: #ffffff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active:hover, +.btn-danger.active:hover, +.open > .dropdown-toggle.btn-danger:hover, +.btn-danger:active:focus, +.btn-danger.active:focus, +.open > .dropdown-toggle.btn-danger:focus, +.btn-danger:active.focus, +.btn-danger.active.focus, +.open > .dropdown-toggle.btn-danger.focus { + color: #ffffff; + background-color: #ac2925; + border-color: #761c19; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger .badge { + color: #d9534f; + background-color: #ffffff; +} +.btn-link { + color: #337ab7; + font-weight: normal; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #23527c; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #777777; + text-decoration: none; +} +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} + +/*LABELS*/ +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} +a.label:hover, +a.label:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +.label-default { + background-color: #777777; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #5e5e5e; +} +.label-primary { + background-color: #337ab7; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #286090; +} +.label-success { + background-color: #5cb85c; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} +.label-info { + background-color: #5bc0de; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} +.label-warning { + background-color: #f0ad4e; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} +.label-danger { + background-color: #d9534f; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + + +/*PANELS*/ +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + color: #ffffff; + line-height: 1; + vertical-align: middle; + white-space: nowrap; + text-align: center; + background-color: #777777; + border-radius: 10px; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.btn-xs .badge, +.btn-group-xs > .btn .badge { + top: 0; + padding: 1px 5px; +} +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} +.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #337ab7; + background-color: #ffffff; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} + + + +/*PANELS*/ +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} +.panel-body { + padding: 15px; +} +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} +.panel-title > a, +.panel-title > small, +.panel-title > .small, +.panel-title > small > a, +.panel-title > .small > a { + color: inherit; +} +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .list-group, +.panel > .panel-collapse > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item, +.panel > .panel-collapse > .list-group .list-group-item { + border-width: 1px 0; + border-radius: 0; +} +.panel > .list-group:first-child .list-group-item:first-child, +.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { + border-top: 0; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child, +.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { + border-bottom: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} +.list-group + .panel-footer { + border-top-width: 0; +} +.panel > .table, +.panel > .table-responsive > .table, +.panel > .panel-collapse > .table { + margin-bottom: 0; +} +.panel > .table caption, +.panel > .table-responsive > .table caption, +.panel > .panel-collapse > .table caption { + padding-left: 15px; + padding-right: 15px; +} +.panel > .table:first-child, +.panel > .table-responsive:first-child > .table:first-child { + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child, +.panel > .table-responsive:last-child > .table:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive, +.panel > .table + .panel-body, +.panel > .table-responsive + .panel-body { + border-top: 1px solid #dddddd; +} +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { + border-top: 0; +} +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} +.panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { + border-bottom: 0; +} +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { + border-bottom: 0; +} +.panel > .table-responsive { + border: 0; + margin-bottom: 0; +} +.panel-group { + margin-bottom: 20px; +} +.panel-group .panel { + margin-bottom: 0; + border-radius: 4px; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse > .panel-body, +.panel-group .panel-heading + .panel-collapse > .list-group { + border-top: 1px solid #dddddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} +.panel-default { + border-color: #dddddd; +} +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} +.panel-default > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #dddddd; +} +.panel-default > .panel-heading .badge { + color: #f5f5f5; + background-color: #333333; +} +.panel-default > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #dddddd; +} +.panel-primary { + border-color: #337ab7; +} +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #337ab7; + border-color: #337ab7; +} +.panel-primary > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #337ab7; +} +.panel-primary > .panel-heading .badge { + color: #337ab7; + background-color: #ffffff; +} +.panel-primary > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #337ab7; +} +.panel-success { + border-color: #d6e9c6; +} +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.panel-success > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #d6e9c6; +} +.panel-success > .panel-heading .badge { + color: #dff0d8; + background-color: #3c763d; +} +.panel-success > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #d6e9c6; +} +.panel-info { + border-color: #bce8f1; +} +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.panel-info > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #bce8f1; +} +.panel-info > .panel-heading .badge { + color: #d9edf7; + background-color: #31708f; +} +.panel-info > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #bce8f1; +} +.panel-warning { + border-color: #faebcc; +} +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.panel-warning > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #faebcc; +} +.panel-warning > .panel-heading .badge { + color: #fcf8e3; + background-color: #8a6d3b; +} +.panel-warning > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #faebcc; +} +.panel-danger { + border-color: #ebccd1; +} +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.panel-danger > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ebccd1; +} +.panel-danger > .panel-heading .badge { + color: #f2dede; + background-color: #a94442; +} +.panel-danger > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ebccd1; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} +.well-lg { + padding: 24px; + border-radius: 6px; +} +.well-sm { + padding: 9px; + border-radius: 3px; +} diff --git a/docs/themes/hugo-theme-docdock/static/css/featherlight.min.css b/docs/themes/hugo-theme-docdock/static/css/featherlight.min.css new file mode 100644 index 0000000000..f225bec519 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/featherlight.min.css @@ -0,0 +1,8 @@ +/** + * Featherlight - ultra slim jQuery lightbox + * Version 1.2.3 - http://noelboss.github.io/featherlight/ + * + * Copyright 2015, Noël Raoul Bossart (http://www.noelboss.com) + * MIT Licensed. +**/ +@media all{.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;min-width:30%;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0}.featherlight iframe{border:0}}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:10px;margin-right:10px;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}} \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/static/css/font-awesome.min.css b/docs/themes/hugo-theme-docdock/static/css/font-awesome.min.css new file mode 100644 index 0000000000..540440ce89 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@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} diff --git a/docs/themes/hugo-theme-docdock/static/css/horsey.css b/docs/themes/hugo-theme-docdock/static/css/horsey.css new file mode 100644 index 0000000000..358f72d899 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/horsey.css @@ -0,0 +1,35 @@ +.sey-list { + display: none; + position: absolute; + padding: 0; + margin: 0; + list-style-type: none; + box-shadow: 1px 2px 6px; + background-color: #fff; + color: #333; + transition: left 0.1s ease-in-out; + max-height: 70vh; + overflow: auto; + width: 265px; +} +.sey-show { + display: block; +} +.sey-hide { + display: none; +} +.sey-item { + cursor: pointer; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + padding: 7px; +} +.sey-item:hover { + background-color: #444; + color: #fff; +} +.sey-selected { + background-color: #333; + color: #fff; +} diff --git a/docs/themes/hugo-theme-docdock/static/css/hybrid.css b/docs/themes/hugo-theme-docdock/static/css/hybrid.css new file mode 100644 index 0000000000..29735a1890 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/hybrid.css @@ -0,0 +1,102 @@ +/* + +vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) + +*/ + +/*background color*/ +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #1d1f21; +} + +/*selection color*/ +.hljs::selection, +.hljs span::selection { + background: #373b41; +} + +.hljs::-moz-selection, +.hljs span::-moz-selection { + background: #373b41; +} + +/*foreground color*/ +.hljs { + color: #c5c8c6; +} + +/*color: fg_yellow*/ +.hljs-title, +.hljs-name { + color: #f0c674; +} + +/*color: fg_comment*/ +.hljs-comment, +.hljs-meta, +.hljs-meta .hljs-keyword { + color: #707880; +} + +/*color: fg_red*/ +.hljs-number, +.hljs-symbol, +.hljs-literal, +.hljs-deletion, +.hljs-link { + color: #cc6666 +} + +/*color: fg_green*/ +.hljs-string, +.hljs-doctag, +.hljs-addition, +.hljs-regexp, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #b5bd68; +} + +/*color: fg_purple*/ +.hljs-attribute, +.hljs-code, +.hljs-selector-id { + color: #b294bb; +} + +/*color: fg_blue*/ +.hljs-keyword, +.hljs-selector-tag, +.hljs-bullet, +.hljs-tag { + color: #81a2be; +} + +/*color: fg_aqua*/ +.hljs-subst, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #8abeb7; +} + +/*color: fg_orange*/ +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-quote, +.hljs-section, +.hljs-selector-class { + color: #de935f; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} diff --git a/docs/themes/hugo-theme-docdock/static/css/nucleus.css b/docs/themes/hugo-theme-docdock/static/css/nucleus.css new file mode 100644 index 0000000000..ed2c0a38a4 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/css/nucleus.css @@ -0,0 +1,617 @@ +*, *::before, *::after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + +@-webkit-viewport { + width: device-width; } +@-moz-viewport { + width: device-width; } +@-ms-viewport { + width: device-width; } +@-o-viewport { + width: device-width; } +@viewport { + width: device-width; } +html { + font-size: 100%; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; } + +body { + margin: 0; } + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; } + +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; } + +audio:not([controls]) { + display: none; + height: 0; } + +[hidden], +template { + display: none; } + +a { + background: transparent; + text-decoration: none; } + +a:active, +a:hover { + outline: 0; } + +abbr[title] { + border-bottom: 1px dotted; } + +b, +strong { + font-weight: bold; } + +dfn { + font-style: italic; } + +mark { + background: #FFFF27; + color: #333; } + +sub, +sup { + font-size: 0.8rem; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +img { + border: 0; + max-width: 100%; } + +svg:not(:root) { + overflow: hidden; } + +figure { + margin: 1em 40px; } + +hr { + height: 0; } + +pre { + overflow: auto; } + +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; } + +button { + overflow: visible; } + +button, +select { + text-transform: none; } + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; } + +button[disabled], +html input[disabled] { + cursor: default; } + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; } + +input { + line-height: normal; } + +input[type="checkbox"], +input[type="radio"] { + padding: 0; } + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; } + +input[type="search"] { + -webkit-appearance: textfield; } + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +legend { + border: 0; + padding: 0; } + +textarea { + overflow: auto; } + +optgroup { + font-weight: bold; } + +table { + border-collapse: collapse; + border-spacing: 0; + table-layout: fixed; + width: 100%; } + +tr, td, th { + vertical-align: middle; } + +th, td { + padding: 0.425rem 0; } + +th { + text-align: left; } + +.container { + width: 75em; + margin: 0 auto; + padding: 0; } + @media only all and (min-width: 60em) and (max-width: 74.938em) { + .container { + width: 60em; } } + @media only all and (min-width: 48em) and (max-width: 59.938em) { + .container { + width: 48em; } } + @media only all and (min-width: 30.063em) and (max-width: 47.938em) { + .container { + width: 30em; } } + @media only all and (max-width: 30em) { + .container { + width: 100%; } } + +.grid { + display: -webkit-box; + display: -moz-box; + display: box; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-flow: row; + -moz-flex-flow: row; + flex-flow: row; + list-style: none; + margin: 0; + padding: 0; } + @media only all and (max-width: 47.938em) { + .grid { + -webkit-flex-flow: row wrap; + -moz-flex-flow: row wrap; + flex-flow: row wrap; } } + +.block { + -webkit-box-flex: 1; + -moz-box-flex: 1; + box-flex: 1; + -webkit-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 0; + min-height: 0; } + @media only all and (max-width: 47.938em) { + .block { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 100%; + -moz-flex: 0 100%; + -ms-flex: 0 100%; + flex: 0 100%; } } + +.content { + margin: 0.625rem; + padding: 0.938rem; } + +@media only all and (max-width: 47.938em) { + body [class*="size-"] { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 100%; + -moz-flex: 0 100%; + -ms-flex: 0 100%; + flex: 0 100%; } } + +.size-1-2 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 50%; + -moz-flex: 0 50%; + -ms-flex: 0 50%; + flex: 0 50%; } + +.size-1-3 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 33.33333%; + -moz-flex: 0 33.33333%; + -ms-flex: 0 33.33333%; + flex: 0 33.33333%; } + +.size-1-4 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 25%; + -moz-flex: 0 25%; + -ms-flex: 0 25%; + flex: 0 25%; } + +.size-1-5 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 20%; + -moz-flex: 0 20%; + -ms-flex: 0 20%; + flex: 0 20%; } + +.size-1-6 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 16.66667%; + -moz-flex: 0 16.66667%; + -ms-flex: 0 16.66667%; + flex: 0 16.66667%; } + +.size-1-7 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 14.28571%; + -moz-flex: 0 14.28571%; + -ms-flex: 0 14.28571%; + flex: 0 14.28571%; } + +.size-1-8 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 12.5%; + -moz-flex: 0 12.5%; + -ms-flex: 0 12.5%; + flex: 0 12.5%; } + +.size-1-9 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 11.11111%; + -moz-flex: 0 11.11111%; + -ms-flex: 0 11.11111%; + flex: 0 11.11111%; } + +.size-1-10 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 10%; + -moz-flex: 0 10%; + -ms-flex: 0 10%; + flex: 0 10%; } + +.size-1-11 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 9.09091%; + -moz-flex: 0 9.09091%; + -ms-flex: 0 9.09091%; + flex: 0 9.09091%; } + +.size-1-12 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 8.33333%; + -moz-flex: 0 8.33333%; + -ms-flex: 0 8.33333%; + flex: 0 8.33333%; } + +@media only all and (min-width: 48em) and (max-width: 59.938em) { + .size-tablet-1-2 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 50%; + -moz-flex: 0 50%; + -ms-flex: 0 50%; + flex: 0 50%; } + + .size-tablet-1-3 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 33.33333%; + -moz-flex: 0 33.33333%; + -ms-flex: 0 33.33333%; + flex: 0 33.33333%; } + + .size-tablet-1-4 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 25%; + -moz-flex: 0 25%; + -ms-flex: 0 25%; + flex: 0 25%; } + + .size-tablet-1-5 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 20%; + -moz-flex: 0 20%; + -ms-flex: 0 20%; + flex: 0 20%; } + + .size-tablet-1-6 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 16.66667%; + -moz-flex: 0 16.66667%; + -ms-flex: 0 16.66667%; + flex: 0 16.66667%; } + + .size-tablet-1-7 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 14.28571%; + -moz-flex: 0 14.28571%; + -ms-flex: 0 14.28571%; + flex: 0 14.28571%; } + + .size-tablet-1-8 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 12.5%; + -moz-flex: 0 12.5%; + -ms-flex: 0 12.5%; + flex: 0 12.5%; } + + .size-tablet-1-9 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 11.11111%; + -moz-flex: 0 11.11111%; + -ms-flex: 0 11.11111%; + flex: 0 11.11111%; } + + .size-tablet-1-10 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 10%; + -moz-flex: 0 10%; + -ms-flex: 0 10%; + flex: 0 10%; } + + .size-tablet-1-11 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 9.09091%; + -moz-flex: 0 9.09091%; + -ms-flex: 0 9.09091%; + flex: 0 9.09091%; } + + .size-tablet-1-12 { + -webkit-box-flex: 0; + -moz-box-flex: 0; + box-flex: 0; + -webkit-flex: 0 8.33333%; + -moz-flex: 0 8.33333%; + -ms-flex: 0 8.33333%; + flex: 0 8.33333%; } } +@media only all and (max-width: 47.938em) { + @supports not (flex-wrap: wrap) { + .grid { + display: block; + -webkit-box-lines: inherit; + -moz-box-lines: inherit; + box-lines: inherit; + -webkit-flex-wrap: inherit; + -moz-flex-wrap: inherit; + -ms-flex-wrap: inherit; + flex-wrap: inherit; } + + .block { + display: block; + -webkit-box-flex: inherit; + -moz-box-flex: inherit; + box-flex: inherit; + -webkit-flex: inherit; + -moz-flex: inherit; + -ms-flex: inherit; + flex: inherit; } } } +.first-block { + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; } + +.last-block { + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; } + +.fixed-blocks { + -webkit-flex-flow: row wrap; + -moz-flex-flow: row wrap; + flex-flow: row wrap; } + .fixed-blocks .block { + -webkit-box-flex: inherit; + -moz-box-flex: inherit; + box-flex: inherit; + -webkit-flex: inherit; + -moz-flex: inherit; + -ms-flex: inherit; + flex: inherit; + width: 25%; } + @media only all and (min-width: 60em) and (max-width: 74.938em) { + .fixed-blocks .block { + width: 33.33333%; } } + @media only all and (min-width: 48em) and (max-width: 59.938em) { + .fixed-blocks .block { + width: 50%; } } + @media only all and (max-width: 47.938em) { + .fixed-blocks .block { + width: 100%; } } + +body { + font-size: 1.05rem; + line-height: 1.7; } + +h1, h2, h3, h4, h5, h6 { + margin: 0.85rem 0 1.7rem 0; + text-rendering: optimizeLegibility; } + +h1 { + font-size: 3.25rem; } + +h2 { + font-size: 2.55rem; } + +h3 { + font-size: 2.15rem; } + +h4 { + font-size: 1.8rem; } + +h5 { + font-size: 1.4rem; } + +h6 { + font-size: 0.9rem; } + +p { + margin: 1.7rem 0; } + +ul, ol { + margin-top: 1.7rem; + margin-bottom: 1.7rem; } + ul ul, ul ol, ol ul, ol ol { + margin-top: 0; + margin-bottom: 0; } + +blockquote { + margin: 1.7rem 0; + padding-left: 0.85rem; } + +cite { + display: block; + font-size: 0.925rem; } + cite:before { + content: "\2014 \0020"; } + +pre { + margin: 1.7rem 0; + padding: 0.938rem; } + +code { + vertical-align: bottom; } + +small { + font-size: 0.925rem; } + +hr { + border-left: none; + border-right: none; + border-top: none; + margin: 1.7rem 0; } + +fieldset { + border: 0; + padding: 0.938rem; + margin: 0 0 1.7rem 0; } + +input, +label, +select { + display: block; } + +label { + margin-bottom: 0.425rem; } + label.required:after { + content: "*"; } + label abbr { + display: none; } + +textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] { + -webkit-transition: border-color; + -moz-transition: border-color; + transition: border-color; + border-radius: 0.1875rem; + margin-bottom: 0.85rem; + padding: 0.425rem 0.425rem; + width: 100%; } + textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus { + outline: none; } + +textarea { + resize: vertical; } + +input[type="checkbox"], input[type="radio"] { + display: inline; + margin-right: 0.425rem; } + +input[type="file"] { + width: 100%; } + +select { + width: auto; + max-width: 100%; + margin-bottom: 1.7rem; } + +button, +input[type="submit"] { + cursor: pointer; + user-select: none; + vertical-align: middle; + white-space: nowrap; + border: inherit; } + +/*# sourceMappingURL=nucleus.css.map */ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/FontAwesome.otf b/docs/themes/hugo-theme-docdock/static/fonts/FontAwesome.otf new file mode 100644 index 0000000000..401ec0f36e Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/FontAwesome.otf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.eot b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.eot new file mode 100644 index 0000000000..0a705d653f Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.svg b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.svg new file mode 100644 index 0000000000..b7f97c8755 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.svg @@ -0,0 +1,359 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.ttf new file mode 100644 index 0000000000..4b8a36d249 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.woff b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.woff new file mode 100644 index 0000000000..6f39625e58 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Inconsolata.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Lato-Bold.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Bold.ttf new file mode 100644 index 0000000000..74343694e2 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Bold.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Lato-Bold.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Bold.woff2 new file mode 100644 index 0000000000..254684c7f9 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Bold.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Lato-Regular.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Regular.ttf new file mode 100644 index 0000000000..04ea8efb13 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Regular.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Lato-Regular.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Regular.woff2 new file mode 100644 index 0000000000..c4e8b1abc1 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Lato-Regular.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.eot b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.eot new file mode 100644 index 0000000000..9984682fc9 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.svg b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.svg new file mode 100644 index 0000000000..c412ea8c1c --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.svg @@ -0,0 +1,1019 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf new file mode 100644 index 0000000000..8cfb62dd59 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.woff b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.woff new file mode 100644 index 0000000000..d5c4290791 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 new file mode 100644 index 0000000000..eefb4a3186 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot new file mode 100644 index 0000000000..2a26561f90 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg new file mode 100644 index 0000000000..e642ab076c --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg @@ -0,0 +1,918 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf new file mode 100644 index 0000000000..9ce9c7f99d Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff new file mode 100644 index 0000000000..381650c98d Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 new file mode 100644 index 0000000000..7e659549bc Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.eot b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.eot new file mode 100644 index 0000000000..4052e4f94a Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.svg b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.svg new file mode 100644 index 0000000000..58ab4ba227 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.svg @@ -0,0 +1,332 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.ttf new file mode 100644 index 0000000000..68019e1ccd Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.woff b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.woff new file mode 100644 index 0000000000..a1bd9e4699 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.woff2 new file mode 100644 index 0000000000..20c68a75c4 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_200.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.eot b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.eot new file mode 100644 index 0000000000..ace799382a Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.svg b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.svg new file mode 100644 index 0000000000..f29d0c8a17 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.svg @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.ttf new file mode 100644 index 0000000000..35387c2357 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.woff b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.woff new file mode 100644 index 0000000000..8d789eae97 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.woff2 new file mode 100644 index 0000000000..f6e216d64d Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_300.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.eot b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.eot new file mode 100644 index 0000000000..9df6929428 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.svg b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.svg new file mode 100644 index 0000000000..4b030b7908 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.svg @@ -0,0 +1,333 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.ttf b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.ttf new file mode 100644 index 0000000000..5b8cc5342b Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.woff b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.woff new file mode 100644 index 0000000000..df058514fb Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.woff2 new file mode 100644 index 0000000000..b06c54df0b Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/Work_Sans_500.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.eot b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000000..e9f60ca953 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.svg b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000000..855c845e53 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.ttf b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000000..35acda2fa1 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.woff b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000000..400014a4b0 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000000..4d13fc6040 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/fontawesome-webfont.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.eot b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000000..b93a4953ff Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.eot differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.svg b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000000..94fb5490a2 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.ttf b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000000..1413fc609a Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.ttf differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.woff b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000000..9e612858f8 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.woff differ diff --git a/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.woff2 b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 0000000000..64539b54c3 Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/docs/themes/hugo-theme-docdock/static/images/clippy.svg b/docs/themes/hugo-theme-docdock/static/images/clippy.svg new file mode 100644 index 0000000000..8a77a3303e --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/images/clippy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/docs/themes/hugo-theme-docdock/static/images/favicon.png b/docs/themes/hugo-theme-docdock/static/images/favicon.png new file mode 100644 index 0000000000..0f3bda8eaa Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/images/favicon.png differ diff --git a/docs/themes/hugo-theme-docdock/static/images/gopher-404.jpg b/docs/themes/hugo-theme-docdock/static/images/gopher-404.jpg new file mode 100644 index 0000000000..df1064868e Binary files /dev/null and b/docs/themes/hugo-theme-docdock/static/images/gopher-404.jpg differ diff --git a/docs/themes/hugo-theme-docdock/static/js/auto-complete.js b/docs/themes/hugo-theme-docdock/static/js/auto-complete.js new file mode 100644 index 0000000000..7fbde995ed --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/js/auto-complete.js @@ -0,0 +1,223 @@ +/* + JavaScript autoComplete v1.0.4 + Copyright (c) 2014 Simon Steinberger / Pixabay + GitHub: https://github.com/Pixabay/JavaScript-autoComplete + License: http://www.opensource.org/licenses/mit-license.php +*/ + +var autoComplete = (function(){ + // "use strict"; + function autoComplete(options){ + if (!document.querySelector) return; + + // helpers + function hasClass(el, className){ return el.classList ? el.classList.contains(className) : new RegExp('\\b'+ className+'\\b').test(el.className); } + + function addEvent(el, type, handler){ + if (el.attachEvent) el.attachEvent('on'+type, handler); else el.addEventListener(type, handler); + } + function removeEvent(el, type, handler){ + // if (el.removeEventListener) not working in IE11 + if (el.detachEvent) el.detachEvent('on'+type, handler); else el.removeEventListener(type, handler); + } + function live(elClass, event, cb, context){ + addEvent(context || document, event, function(e){ + var found, el = e.target || e.srcElement; + while (el && !(found = hasClass(el, elClass))) el = el.parentElement; + if (found) cb.call(el, e); + }); + } + + var o = { + selector: 0, + source: 0, + minChars: 3, + delay: 150, + offsetLeft: 0, + offsetTop: 1, + cache: 1, + menuClass: '', + renderItem: function (item, search){ + // escape special characters + search = search.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + var re = new RegExp("(" + search.split(' ').join('|') + ")", "gi"); + return '
    ' + item.replace(re, "$1") + '
    '; + }, + onSelect: function(e, term, item){} + }; + for (var k in options) { if (options.hasOwnProperty(k)) o[k] = options[k]; } + + // init + var elems = typeof o.selector == 'object' ? [o.selector] : document.querySelectorAll(o.selector); + for (var i=0; i 0) + that.sc.scrollTop = selTop + that.sc.suggestionHeight + scrTop - that.sc.maxHeight; + else if (selTop < 0) + that.sc.scrollTop = selTop + scrTop; + } + } + } + addEvent(window, 'resize', that.updateSC); + document.body.appendChild(that.sc); + + live('autocomplete-suggestion', 'mouseleave', function(e){ + var sel = that.sc.querySelector('.autocomplete-suggestion.selected'); + if (sel) setTimeout(function(){ sel.className = sel.className.replace('selected', ''); }, 20); + }, that.sc); + + live('autocomplete-suggestion', 'mouseover', function(e){ + var sel = that.sc.querySelector('.autocomplete-suggestion.selected'); + if (sel) sel.className = sel.className.replace('selected', ''); + this.className += ' selected'; + }, that.sc); + + live('autocomplete-suggestion', 'mousedown', function(e){ + if (hasClass(this, 'autocomplete-suggestion')) { // else outside click + var v = this.getAttribute('data-val'); + that.value = v; + o.onSelect(e, v, this); + that.sc.style.display = 'none'; + } + }, that.sc); + + that.blurHandler = function(){ + try { var over_sb = document.querySelector('.autocomplete-suggestions:hover'); } catch(e){ var over_sb = 0; } + if (!over_sb) { + that.last_val = that.value; + that.sc.style.display = 'none'; + setTimeout(function(){ that.sc.style.display = 'none'; }, 350); // hide suggestions on fast input + } else if (that !== document.activeElement) setTimeout(function(){ that.focus(); }, 20); + }; + addEvent(that, 'blur', that.blurHandler); + + var suggest = function(data){ + var val = that.value; + that.cache[val] = data; + if (data.length && val.length >= o.minChars) { + var s = ''; + for (var i=0;i 40) && key != 13 && key != 27) { + var val = that.value; + if (val.length >= o.minChars) { + if (val != that.last_val) { + that.last_val = val; + clearTimeout(that.timer); + if (o.cache) { + if (val in that.cache) { suggest(that.cache[val]); return; } + // no requests if previous suggestions were empty + for (var i=1; ir;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(var i=0,a=r.length;a>i;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);return o.length?n[t]=o:delete n[t],this}},e.exports=r},{}],8:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var i=function(){function t(t,e){for(var n=0;n"; + } + }); + + // Change styles, depending on parameters set to the image + images.each(function (index) { + var image = $(this); + var o = getUrlParameter(image[0].src); + if (typeof o !== "undefined") { + var h = o["height"]; + var w = o["width"]; + var c = o["classes"]; + image.css({ + width: function () { + if (typeof w !== "undefined") { + return w; + } + }, + height: function () { + if (typeof h !== "undefined") { + return h; + } + } + }); + if (typeof c !== "undefined") { + var classes = c.split(','); + $.each(classes, function(i) { + image.addClass(classes[i]); + }); + } + } + }); + + // Add link button for every + var text, clip = new Clipboard('.anchor'); + $("h1~h2,h1~h3,h1~h4,h1~h5,h1~h6").append(function (index, html) { + var element = $(this); + var url = document.location.origin + document.location.pathname; + var link = url + "#" + element[0].id; + return " " + + "" + + ""; + }); + + $(".anchor").on('mouseleave', function (e) { + $(this).attr('aria-label', null).removeClass('tooltipped tooltipped-s tooltipped-w'); + }); + + clip.on('success', function (e) { + e.clearSelection(); + $(e.trigger).attr('aria-label', 'Link copied to clipboard!').addClass('tooltipped tooltipped-s'); + }); + +}); + + + +function fallbackMessage(action) { + var actionMsg = ''; + var actionKey = (action === 'cut' ? 'X' : 'C'); + + if (/iPhone|iPad/i.test(navigator.userAgent)) { + actionMsg = 'No support :('; + } + else if (/Mac/i.test(navigator.userAgent)) { + actionMsg = 'Press ⌘-' + actionKey + ' to ' + action; + } + else { + actionMsg = 'Press Ctrl-' + actionKey + ' to ' + action; + } + + return actionMsg; +} + +jQuery(document).ready(function() { + jQuery('#sidebar .category-icon').on('click', function() { + $( this ).toggleClass("fa-angle-down fa-angle-right") ; + $( this ).parent().parent().children('ul').toggle() ; + return false; + }); + + + jQuery('[data-clear-history-toggle]').on('click', function() { + sessionStorage.clear(); + location.reload(); + return false; + }); + + var ajax; + jQuery('[data-search-input]').on('input', function() { + var input = jQuery(this), + value = input.val(), + items = jQuery('[data-nav-id]'); + items.removeClass('search-match'); + if (!value.length) { + $('ul.topics').removeClass('searched'); + items.css('display', 'block'); + sessionStorage.removeItem('search-value'); + $(".highlightable").unhighlight({ element: 'mark' }) + return; + } + + sessionStorage.setItem('search-value', value); + $(".highlightable").unhighlight({ element: 'mark' }).highlight(value, { element: 'mark' }); + + if (ajax && ajax.abort) ajax.abort(); + + jQuery('[data-search-clear]').on('click', function() { + jQuery('[data-search-input]').val('').trigger('input'); + sessionStorage.removeItem('search-input'); + $(".highlightable").unhighlight({ element: 'mark' }) + }); + }); + + $.expr[":"].contains = $.expr.createPseudo(function(arg) { + return function( elem ) { + return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0; + }; + }); + + if (sessionStorage.getItem('search-value')) { + var searchValue = sessionStorage.getItem('search-value') + sessionStorage.removeItem('search-value'); + var searchedElem = $('#body-inner').find(':contains(' + searchValue + ')').get(0); + searchedElem && searchedElem.scrollIntoView(); + $(".highlightable").highlight(searchValue, { element: 'mark' }); + } + + // clipboard + var clipInit = false; + $('code').each(function() { + var code = $(this), + text = code.text(); + + if (text.length > 5) { + if (!clipInit) { + var text, clip = new Clipboard('.copy-to-clipboard', { + text: function(trigger) { + text = $(trigger).prev('code').text(); + return text.replace(/^\$\s/gm, ''); + } + }); + + var inPre; + clip.on('success', function(e) { + e.clearSelection(); + inPre = $(e.trigger).parent().prop('tagName') == 'PRE'; + $(e.trigger).attr('aria-label', 'Copied to clipboard!').addClass('tooltipped tooltipped-' + (inPre ? 'w' : 's')); + }); + + clip.on('error', function(e) { + inPre = $(e.trigger).parent().prop('tagName') == 'PRE'; + $(e.trigger).attr('aria-label', fallbackMessage(e.action)).addClass('tooltipped tooltipped-' + (inPre ? 'w' : 's')); + $(document).one('copy', function(){ + $(e.trigger).attr('aria-label', 'Copied to clipboard!').addClass('tooltipped tooltipped-' + (inPre ? 'w' : 's')); + }); + }); + + clipInit = true; + } + + code.after(''); + code.next('.copy-to-clipboard').on('mouseleave', function() { + $(this).attr('aria-label', null).removeClass('tooltipped tooltipped-s tooltipped-w'); + }); + } + }); + + // allow keyboard control for prev/next links + jQuery(function() { + jQuery('.nav-prev').click(function(){ + location.href = jQuery(this).attr('href'); + }); + jQuery('.nav-next').click(function() { + location.href = jQuery(this).attr('href'); + }); + }); + + jQuery(document).keydown(function(e) { + // prev links - left arrow key + if(e.which == '37') { + jQuery('.nav.nav-prev').click(); + } + + // next links - right arrow key + if(e.which == '39') { + jQuery('.nav.nav-next').click(); + } + }); + + $('#top-bar a:not(:has(img)):not(.btn)').addClass('highlight'); + $('#body-inner a:not(:has(img)):not(.btn)').addClass('highlight'); +}); + +jQuery(window).on('load', function() { + // store this page in session + sessionStorage.setItem(jQuery('body').data('url'), 1); + + // loop through the sessionStorage and see if something should be marked as visited + for (var url in sessionStorage) { + if (sessionStorage.getItem(url) == 1) jQuery('[data-nav-id="' + url + '"]').addClass('visited'); + } +}); + +$(function() { + $('a[rel="lightbox"]').featherlight({ + root: 'section#body' + }); +}); + +jQuery.extend({ + highlight: function(node, re, nodeName, className) { + if (node.nodeType === 3) { + var match = node.data.match(re); + if (match && !$(node.parentNode).hasClass("mermaid")) { + var highlight = document.createElement(nodeName || 'span'); + highlight.className = className || 'highlight'; + var wordNode = node.splitText(match.index); + wordNode.splitText(match[0].length); + var wordClone = wordNode.cloneNode(true); + highlight.appendChild(wordClone); + wordNode.parentNode.replaceChild(highlight, wordNode); + return 1; //skip added node in parent + } + } else if ((node.nodeType === 1 && node.childNodes) && // only element nodes that have children + !/(script|style)/i.test(node.tagName) && // ignore script and style nodes + !(node.tagName === nodeName.toUpperCase() && node.className === className)) { // skip if already highlighted + for (var i = 0; i < node.childNodes.length; i++) { + i += jQuery.highlight(node.childNodes[i], re, nodeName, className); + } + } + return 0; + } +}); + +jQuery.fn.unhighlight = function(options) { + var settings = { + className: 'highlight', + element: 'span' + }; + jQuery.extend(settings, options); + + return this.find(settings.element + "." + settings.className).each(function() { + var parent = this.parentNode; + parent.replaceChild(this.firstChild, this); + parent.normalize(); + }).end(); +}; + +jQuery.fn.highlight = function(words, options) { + var settings = { + className: 'highlight', + element: 'span', + caseSensitive: false, + wordsOnly: false + }; + jQuery.extend(settings, options); + + if (!words) { return; } + + if (words.constructor === String) { + words = [words]; + } + words = jQuery.grep(words, function(word, i) { + return word != ''; + }); + words = jQuery.map(words, function(word, i) { + return word.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); + }); + if (words.length == 0) { return this; } + ; + + var flag = settings.caseSensitive ? "" : "i"; + var pattern = "(" + words.join("|") + ")"; + if (settings.wordsOnly) { + pattern = "\\b" + pattern + "\\b"; + } + var re = new RegExp(pattern, flag); + + return this.each(function() { + jQuery.highlight(this, re, settings.element, settings.className); + }); +}; diff --git a/docs/themes/hugo-theme-docdock/static/js/featherlight.min.js b/docs/themes/hugo-theme-docdock/static/js/featherlight.min.js new file mode 100644 index 0000000000..6359081953 --- /dev/null +++ b/docs/themes/hugo-theme-docdock/static/js/featherlight.min.js @@ -0,0 +1,8 @@ +/** + * Featherlight - ultra slim jQuery lightbox + * Version 1.2.3 - http://noelboss.github.io/featherlight/ + * + * Copyright 2015, Noël Raoul Bossart (http://www.noelboss.com) + * MIT Licensed. +**/ +!function(a){"use strict";function b(a,c){if(!(this instanceof b)){var d=new b(a,c);return d.open(),d}this.id=b.id++,this.setup(a,c),this.chainCallbacks(b._callbackChain)}if("undefined"==typeof a)return void("console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery."));var c=[],d=function(b){return c=a.grep(c,function(a){return a!==b&&a.$instance.closest("body").length>0})},e=function(a,b){var c={},d=new RegExp("^"+b+"([A-Z])(.*)");for(var e in a){var f=e.match(d);if(f){var g=(f[1]+f[2].replace(/([A-Z])/g,"-$1")).toLowerCase();c[g]=a[e]}}return c},f={keyup:"onKeyUp",resize:"onResize"},g=function(c){a.each(b.opened().reverse(),function(){return c.isDefaultPrevented()||!1!==this[f[c.type]](c)?void 0:(c.preventDefault(),c.stopPropagation(),!1)})},h=function(c){if(c!==b._globalHandlerInstalled){b._globalHandlerInstalled=c;var d=a.map(f,function(a,c){return c+"."+b.prototype.namespace}).join(" ");a(window)[c?"on":"off"](d,g)}};b.prototype={constructor:b,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"✕",loading:"",otherClose:null,beforeOpen:a.noop,beforeContent:a.noop,beforeClose:a.noop,afterOpen:a.noop,afterContent:a.noop,afterClose:a.noop,onKeyUp:a.noop,onResize:a.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(b,c){"object"!=typeof b||b instanceof a!=!1||c||(c=b,b=void 0);var d=a.extend(this,c,{target:b}),e=d.resetCss?d.namespace+"-reset":d.namespace,f=a(d.background||['
    ','
    ','',d.closeIcon,"",'
    '+d.loading+"
    ","
    ","
    "].join("")),g="."+d.namespace+"-close"+(d.otherClose?","+d.otherClose:"");return d.$instance=f.clone().addClass(d.variant),d.$instance.on(d.closeTrigger+"."+d.namespace,function(b){var c=a(b.target);("background"===d.closeOnClick&&c.is("."+d.namespace)||"anywhere"===d.closeOnClick||c.closest(g).length)&&(b.preventDefault(),d.close())}),this},getContent:function(){var b=this,c=this.constructor.contentFilters,d=function(a){return b.$currentTarget&&b.$currentTarget.attr(a)},e=d(b.targetAttr),f=b.target||e||"",g=c[b.type];if(!g&&f in c&&(g=c[f],f=b.target&&e),f=f||d("href")||"",!g)for(var h in c)b[h]&&(g=c[h],f=b[h]);if(!g){var i=f;if(f=null,a.each(b.contentFilters,function(){return g=c[this],g.test&&(f=g.test(i)),!f&&g.regex&&i.match&&i.match(g.regex)&&(f=i),!f}),!f)return"console"in window&&window.console.error("Featherlight: no content filter found "+(i?' for "'+i+'"':" (no target specified)")),!1}return g.process.call(b,f)},setContent:function(b){var c=this;return(b.is("iframe")||a("iframe",b).length>0)&&c.$instance.addClass(c.namespace+"-iframe"),c.$instance.removeClass(c.namespace+"-loading"),c.$instance.find("."+c.namespace+"-inner").slice(1).remove().end().replaceWith(a.contains(c.$instance[0],b[0])?"":b),c.$content=b.addClass(c.namespace+"-inner"),c},open:function(b){var d=this;if(d.$instance.hide().appendTo(d.root),!(b&&b.isDefaultPrevented()||d.beforeOpen(b)===!1)){b&&b.preventDefault();var e=d.getContent();if(e)return c.push(d),h(!0),d.$instance.fadeIn(d.openSpeed),d.beforeContent(b),a.when(e).always(function(a){d.setContent(a),d.afterContent(b)}).then(d.$instance.promise()).done(function(){d.afterOpen(b)})}return d.$instance.detach(),a.Deferred().reject().promise()},close:function(b){var c=this,e=a.Deferred();return c.beforeClose(b)===!1?e.reject():(0===d(c).length&&h(!1),c.$instance.fadeOut(c.closeSpeed,function(){c.$instance.detach(),c.afterClose(b),e.resolve()})),e.promise()},chainCallbacks:function(b){for(var c in b)this[c]=a.proxy(b[c],this,a.proxy(this[c],this))}},a.extend(b,{id:0,autoBind:"[data-featherlight]",defaults:b.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(b){return b instanceof a&&b},process:function(b){return a(b).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff|bmp)(\?\S*)?$/i,process:function(b){var c=this,d=a.Deferred(),e=new Image,f=a('');return e.onload=function(){f.naturalWidth=e.width,f.naturalHeight=e.height,d.resolve(f)},e.onerror=function(){d.reject(f)},e.src=b,d.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(b){return a(b)}},ajax:{regex:/./,process:function(b){var c=a.Deferred(),d=a("
    ").load(b,function(a,b){"error"!==b&&c.resolve(d.contents()),c.fail()});return c.promise()}},iframe:{process:function(b){var c=new a.Deferred,d=a(" + + +``` + + +### API + +The ``Reveal`` object exposes a JavaScript API for controlling navigation and reading state: + +```javascript +// Navigation +Reveal.slide( indexh, indexv, indexf ); +Reveal.left(); +Reveal.right(); +Reveal.up(); +Reveal.down(); +Reveal.prev(); +Reveal.next(); +Reveal.prevFragment(); +Reveal.nextFragment(); + +// Randomize the order of slides +Reveal.shuffle(); + +// Shows a help overlay with keyboard shortcuts +Reveal.showHelp(); + +// Toggle presentation states, optionally pass true/false to force on/off +Reveal.toggleOverview(); +Reveal.togglePause(); +Reveal.toggleAutoSlide(); + +// Change a config value at runtime +Reveal.configure({ controls: true }); + +// Returns the present configuration options +Reveal.getConfig(); + +// Fetch the current scale of the presentation +Reveal.getScale(); + +// Retrieves the previous and current slide elements +Reveal.getPreviousSlide(); +Reveal.getCurrentSlide(); + +Reveal.getIndices(); // { h: 0, v: 0 } } +Reveal.getProgress(); // 0-1 +Reveal.getTotalSlides(); + +// Returns the speaker notes for the current slide +Reveal.getSlideNotes(); + +// State checks +Reveal.isFirstSlide(); +Reveal.isLastSlide(); +Reveal.isOverview(); +Reveal.isPaused(); +Reveal.isAutoSliding(); +``` + +### Slide Changed Event + +A 'slidechanged' event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes. + +Some libraries, like MathJax (see [#226](https://github.com/hakimel/reveal.js/issues/226#issuecomment-10261609)), get confused by the transforms and display states of slides. Often times, this can be fixed by calling their update or render function from this callback. + +```javascript +Reveal.addEventListener( 'slidechanged', function( event ) { + // event.previousSlide, event.currentSlide, event.indexh, event.indexv +} ); +``` + +### Presentation State + +The presentation's current state can be fetched by using the `getState` method. A state object contains all of the information required to put the presentation back as it was when `getState` was first called. Sort of like a snapshot. It's a simple object that can easily be stringified and persisted or sent over the wire. + +```javascript +Reveal.slide( 1 ); +// we're on slide 1 + +var state = Reveal.getState(); + +Reveal.slide( 3 ); +// we're on slide 3 + +Reveal.setState( state ); +// we're back on slide 1 +``` + +### Slide States + +If you set ``data-state="somestate"`` on a slide ``
    ``, "somestate" will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide. + +Furthermore you can also listen to these changes in state via JavaScript: + +```javascript +Reveal.addEventListener( 'somestate', function() { + // TODO: Sprinkle magic +}, false ); +``` + +### Slide Backgrounds + +Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page backgrounds outside of the slide area by adding a ```data-background``` attribute to your ```
    ``` elements. Four different types of backgrounds are supported: color, image, video and iframe. + +##### Color Backgrounds +All CSS color formats are supported, like rgba() or hsl(). +```html +
    +

    Color

    +
    +``` + +##### Image Backgrounds +By default, background images are resized to cover the full page. Available options: + +| Attribute | Default | Description | +| :--------------------------- | :--------- | :---------- | +| data-background-image | | URL of the image to show. GIFs restart when the slide opens. | +| data-background-size | cover | See [background-size](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN. | +| data-background-position | center | See [background-position](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN. | +| data-background-repeat | no-repeat | See [background-repeat](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN. | +```html +
    +

    Image

    +
    +
    +

    This background image will be sized to 100px and repeated

    +
    +``` + +##### Video Backgrounds +Automatically plays a full size video behind the slide. + +| Attribute | Default | Description | +| :--------------------------- | :------ | :---------- | +| data-background-video | | A single video source, or a comma separated list of video sources. | +| data-background-video-loop | false | Flags if the video should play repeatedly. | +| data-background-video-muted | false | Flags if the audio should be muted. | + +```html +
    +

    Video

    +
    +``` + +##### Iframe Backgrounds +Embeds a web page as a background. Note that since the iframe is in the background layer, behind your slides, it is not possible to interact with the embedded page. +```html +
    +

    Iframe

    +
    +``` + +##### Background Transitions +Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'slide'``` to the ```Reveal.initialize()``` call. Alternatively you can set ```data-background-transition``` on any section with a background to override that specific transition. + + +### Parallax Background + +If you want to use a parallax scrolling background, set the first two config properties below when initializing reveal.js (the other two are optional). + +```javascript +Reveal.initialize({ + + // Parallax background image + parallaxBackgroundImage: '', // e.g. "https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg" + + // Parallax background size + parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px" - currently only pixels are supported (don't use % or auto) + + // Number of pixels to move the parallax background per slide + // - Calculated automatically unless specified + // - Set to 0 to disable movement along an axis + parallaxBackgroundHorizontal: 200, + parallaxBackgroundVertical: 50 + +}); +``` + +Make sure that the background size is much bigger than screen size to allow for some scrolling. [View example](http://lab.hakim.se/reveal-js/?parallaxBackgroundImage=https%3A%2F%2Fs3.amazonaws.com%2Fhakim-static%2Freveal-js%2Freveal-parallax-1.jpg¶llaxBackgroundSize=2100px%20900px). + + + +### Slide Transitions +The global presentation transition is set using the ```transition``` config value. You can override the global transition for a specific slide by using the ```data-transition``` attribute: + +```html +
    +

    This slide will override the presentation transition and zoom!

    +
    + +
    +

    Choose from three transition speeds: default, fast or slow!

    +
    +``` + +You can also use different in and out transitions for the same slide: + +```html +
    + The train goes on … +
    +
    + and on … +
    +
    + and stops. +
    +
    + (Passengers entering and leaving) +
    +
    + And it starts again. +
    +``` + + +### Internal links + +It's easy to link between slides. The first example below targets the index of another slide whereas the second targets a slide with an ID attribute (```
    ```): + +```html +Link +Link +``` + +You can also add relative navigation links, similar to the built in reveal.js controls, by appending one of the following classes on any element. Note that each element is automatically given an ```enabled``` class when it's a valid navigation route based on the current slide. + +```html + + + + + + +``` + + +### Fragments +Fragments are used to highlight individual elements on a slide. Every element with the class ```fragment``` will be stepped through before moving on to the next slide. Here's an example: http://lab.hakim.se/reveal-js/#/fragments + +The default fragment style is to start out invisible and fade in. This style can be changed by appending a different class to the fragment: + +```html +
    +

    grow

    +

    shrink

    +

    fade-out

    +

    fade-up (also down, left and right!)

    +

    visible only once

    +

    blue only once

    +

    highlight-red

    +

    highlight-green

    +

    highlight-blue

    +
    +``` + +Multiple fragments can be applied to the same element sequentially by wrapping it, this will fade in the text on the first step and fade it back out on the second. + +```html +
    + + I'll fade in, then out + +
    +``` + +The display order of fragments can be controlled using the ```data-fragment-index``` attribute. + +```html +
    +

    Appears last

    +

    Appears first

    +

    Appears second

    +
    +``` + +### Fragment events + +When a slide fragment is either shown or hidden reveal.js will dispatch an event. + +Some libraries, like MathJax (see #505), get confused by the initially hidden fragment elements. Often times this can be fixed by calling their update or render function from this callback. + +```javascript +Reveal.addEventListener( 'fragmentshown', function( event ) { + // event.fragment = the fragment DOM element +} ); +Reveal.addEventListener( 'fragmenthidden', function( event ) { + // event.fragment = the fragment DOM element +} ); +``` + +### Code syntax highlighting + +By default, Reveal is configured with [highlight.js](https://highlightjs.org/) for code syntax highlighting. Below is an example with clojure code that will be syntax highlighted. When the `data-trim` attribute is present, surrounding whitespace is automatically removed. HTML will be escaped by default. To avoid this, for example if you are using `` to call out a line of code, add the `data-noescape` attribute to the `` element. + +```html +
    +
    
    +(def lazy-fib
    +  (concat
    +   [0 1]
    +   ((fn rfib [a b]
    +        (lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))
    +	
    +
    +``` + +### Slide number +If you would like to display the page number of the current slide you can do so using the ```slideNumber``` configuration value. + +```javascript +// Shows the slide number using default formatting +Reveal.configure({ slideNumber: true }); + +// Slide number formatting can be configured using these variables: +// "h.v": horizontal . vertical slide number (default) +// "h/v": horizontal / vertical slide number +// "c": flattened slide number +// "c/t": flattened slide number / total slides +Reveal.configure({ slideNumber: 'c/t' }); + +``` + + +### Overview mode + +Press "Esc" or "o" keys to toggle the overview mode on and off. While you're in this mode, you can still navigate between slides, +as if you were at 1,000 feet above your presentation. The overview mode comes with a few API hooks: + +```javascript +Reveal.addEventListener( 'overviewshown', function( event ) { /* ... */ } ); +Reveal.addEventListener( 'overviewhidden', function( event ) { /* ... */ } ); + +// Toggle the overview mode programmatically +Reveal.toggleOverview(); +``` + +### Fullscreen mode +Just press »F« on your keyboard to show your presentation in fullscreen mode. Press the »ESC« key to exit fullscreen mode. + + +### Embedded media +Embedded HTML5 `