diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..2559ed9 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,7 @@ +{ + "title": "{{ replace .TranslationBaseName "-" " " | title }}", + "date": "{{ .Date }}", + "tags": [], + "categories": [], + "draft": true +} diff --git a/archetypes/section1.md b/archetypes/section1.md new file mode 100644 index 0000000..f6cf09a --- /dev/null +++ b/archetypes/section1.md @@ -0,0 +1,13 @@ +{ + "title": "{{ replace .TranslationBaseName "-" " " | title }}", + "linktitle": "{{ replace .TranslationBaseName "-" " " | title }}", + "short_description": "", + "date": "{{ .Date }}", + "aliases": 0, + "categories": [], + "mydates": "", + "draft": false, + "author": "" +} + +This is content diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..1cfcc8a --- /dev/null +++ b/config.toml @@ -0,0 +1,26 @@ +baseURL = "/" +enableRobotsTXT = true +languageCode = "en-us" +theme = "my-theme" +title = "my website" + +# Pagination +paginate = 4 +#paginatePath = "path" + +[params] +metadescription = "website" +sharedescription = "website" +sharetitle = "website" +theme = "website" +debug = true + +[taxonomies] +category = "categories" +tag = "tags" +mydate = "mydates" + +[sitemap] +changefreq = "daily" +priority = 0.5 +filename = "sitemap.xml" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..1132e7e --- /dev/null +++ b/content/_index.md @@ -0,0 +1,11 @@ +{ + "date": "2017-12-27T12:06:48+02:00", + "tags": [ + "Finance", + "Technology", + "Startup" + ], + "title": "Website Title" +} + +Home page diff --git a/content/section1/first.md b/content/section1/first.md new file mode 100644 index 0000000..6b9f535 --- /dev/null +++ b/content/section1/first.md @@ -0,0 +1,13 @@ +{ + "title": "First", + "linktitle": "First", + "short_description": "", + "date": "2018-02-21T21:12:49+01:00", + "aliases": 0, + "categories": [], + "mydates": "2018-02-01", + "draft": false, + "author": "" +} + +This is content diff --git a/content/section1/second.md b/content/section1/second.md new file mode 100644 index 0000000..4002285 --- /dev/null +++ b/content/section1/second.md @@ -0,0 +1,13 @@ +{ + "title": "Second", + "linktitle": "Second", + "short_description": "", + "date": "2018-02-21T21:15:28+01:00", + "aliases": 0, + "categories": [], + "mydates": "2017-01-01", + "draft": false, + "author": "" +} + +This is content diff --git a/layouts/.gitkeep b/layouts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json new file mode 100644 index 0000000..26accea --- /dev/null +++ b/package.json @@ -0,0 +1,65 @@ +{ + "name": "project", + "version": "1.0.0", + "description": "project", + "main": "index.js", + "webpackConfig": { + "inputFolder": "/themes/my-theme/src/", + "outputFolder": "/themes/my-theme/static/", + "prodServer": "/" + }, + "scripts": { + "start": "npm-run-all --parallel webpack-watch hugo-server", + "hugo-server": "hugo server -D --debug", + "webpack-watch": "webpack --watch --config webpack.conf.js", + "build": "rm -rf public && webpack --config webpack.conf.js && hugo", + "build-staging": "rm -rf public && webpack --config webpack.conf.js && hugo --config=staging.config.toml" + }, + "repository": { + "type": "git", + "url": "" + }, + "bugs": { + "url": "" + }, + "homepage": "", + "devDependencies": { + "autoprefixer": "^7.1.1", + "babel-core": "^6.25.0", + "babel-loader": "^7.1.1", + "babel-preset-es2015-webpack": "^6.4.3", + "copy-webpack-plugin": "^4.0.1", + "css-loader": "^0.28.4", + "datocms-client": "^0.3.25", + "extract-text-webpack-plugin": "^2.1.2", + "file-loader": "^0.11.2", + "fluidable": "git+https://github.com/andri/fluidable.git", + "friendly-errors-webpack-plugin": "^1.6.1", + "html-loader": "^0.4.5", + "html-webpack-harddisk-plugin": "^0.1.0", + "html-webpack-plugin": "^2.29.0", + "image-webpack-loader": "^3.3.1", + "imagemin-webpack-plugin": "^1.5.0-beta.0", + "json-loader": "^0.5.4", + "node-sass": "^4.5.3", + "normalize.sass": "^3.0.3", + "npm-run-all": "^4.0.2", + "optimize-css-assets-webpack-plugin": "^2.0.0", + "postcss-loader": "^2.0.6", + "sass-loader": "^6.0.6", + "sass-resources-loader": "^1.2.1", + "slick-carousel": "^1.8.1", + "stringify-object": "^3.2.0", + "style-loader": "^0.18.2", + "transfer-webpack-plugin": "^0.1.4", + "url-loader": "^0.5.9", + "urlize.js": "^1.0.1", + "webpack": "^3.0.0", + "webpack-dev-server": "^2.5.0", + "webpack-merge": "^4.1.0" + }, + "dependencies": { + "bourbon": "^5.0.0", + "jquery": "^3.2.1" + } +} diff --git a/themes/my-theme/LICENSE.md b/themes/my-theme/LICENSE.md new file mode 100644 index 0000000..315bcec --- /dev/null +++ b/themes/my-theme/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2017 YOUR_NAME_HERE + +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/themes/my-theme/archetypes/default.md b/themes/my-theme/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/themes/my-theme/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/my-theme/layouts/404.html b/themes/my-theme/layouts/404.html new file mode 100644 index 0000000..610a658 --- /dev/null +++ b/themes/my-theme/layouts/404.html @@ -0,0 +1,12 @@ + + {{partial "vendor/head" .}} + + {{partial "header/markup" .}} +
+

404 page

+

The page you’re looking for can’t be found.

+
+ {{partial "footer/markup" .}} + {{partial "vendor/footer-scripts" .}} + + diff --git a/themes/my-theme/layouts/_default/baseof.html b/themes/my-theme/layouts/_default/baseof.html new file mode 100644 index 0000000..ede7b9c --- /dev/null +++ b/themes/my-theme/layouts/_default/baseof.html @@ -0,0 +1,20 @@ + + +{{ partial "vendor/head" . }} + + {{ partial "header/markup" . }} + + {{ if .Param "debug" }} +
debug mode
+ {{end}} + + {{ block "main" .}} + {{ end }} + + + {{ partial "footer/markup" . }} + {{ partial "vendor/footer-scripts" . }} + + + + diff --git a/themes/my-theme/layouts/_default/list.html b/themes/my-theme/layouts/_default/list.html new file mode 100644 index 0000000..2f2949c --- /dev/null +++ b/themes/my-theme/layouts/_default/list.html @@ -0,0 +1,7 @@ +{{ define "main" }} + {{ if .Param "debug" }} +
list page
+ {{end}} + + {{partial "main/markup" .}} +{{end}} diff --git a/themes/my-theme/layouts/_default/single.html b/themes/my-theme/layouts/_default/single.html new file mode 100644 index 0000000..4940b96 --- /dev/null +++ b/themes/my-theme/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{ if .Site.Params.debug }} +

single page

+
+ {{index .Aliases 0}} +
+

issues

+ {{ .Params.Issues }} + {{end}} + {{ partial "article/markup.html" .}} +{{end}} diff --git a/themes/my-theme/layouts/index.html b/themes/my-theme/layouts/index.html new file mode 100644 index 0000000..38cd408 --- /dev/null +++ b/themes/my-theme/layouts/index.html @@ -0,0 +1,20 @@ + + + {{partial "vendor/head" .}} + + + {{ partial "header/markup" . }} + + {{ if .Param "debug" }} +
debug mode
+
home page
+ {{end}} + + + {{partial "home/markup" .}} + + + {{ partial "footer/markup" . }} + {{partial "vendor/footer-scripts" .}} + + diff --git a/themes/my-theme/layouts/issues/terms.html b/themes/my-theme/layouts/issues/terms.html new file mode 100644 index 0000000..68d9d39 --- /dev/null +++ b/themes/my-theme/layouts/issues/terms.html @@ -0,0 +1 @@ +Issues terms diff --git a/themes/my-theme/layouts/partials/article/markup.html b/themes/my-theme/layouts/partials/article/markup.html new file mode 100644 index 0000000..1b99476 --- /dev/null +++ b/themes/my-theme/layouts/partials/article/markup.html @@ -0,0 +1,110 @@ + +
+
+
+
+ + + + + +
+

{{ .Title }}

+ +

{{ .Params.short_description_article }}

+
+ {{ .Content | markdownify }} +
+
+ {{ range .Params.tags }} + {{ . }} + {{ end }} +
+
+
+
+ {{partial "sidebar/markup" .}} +
+
+ + + +{{ if 0 }} +
+
+
+
+
Responses
+
+
+ +
+ +
+
6 Comments
+
+
Sort by
+ +
+
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
+
+
+{{ end }} diff --git a/themes/my-theme/layouts/partials/bulletin/markup.html b/themes/my-theme/layouts/partials/bulletin/markup.html new file mode 100644 index 0000000..25a53e9 --- /dev/null +++ b/themes/my-theme/layouts/partials/bulletin/markup.html @@ -0,0 +1,110 @@ + +
+
+
+
+ + + + + +
+

{{ .Title }}

+ +

{{ .Params.short_description_article }}

+
+ {{ .Content | markdownify }} +
+
+ {{ range .Params.tags }} + {{ . }} + {{ end }} +
+
+
+
+ {{partial "sidebar/markup" .}} +
+
+ + + +{{ if 0 }} +
+
+
+
+
Responses
+
+
+ +
+ +
+
6 Comments
+
+
Sort by
+ +
+
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
+
+
John Eric S. Chin
+
+
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.
+
+ + Reply · +
December 7, 2017, 23:18
+
+
+
+
+
+
+{{ end }} diff --git a/themes/my-theme/layouts/partials/footer/markup.html b/themes/my-theme/layouts/partials/footer/markup.html new file mode 100644 index 0000000..7b55a4b --- /dev/null +++ b/themes/my-theme/layouts/partials/footer/markup.html @@ -0,0 +1,2 @@ + diff --git a/themes/my-theme/layouts/partials/header/markup.html b/themes/my-theme/layouts/partials/header/markup.html new file mode 100644 index 0000000..2418575 --- /dev/null +++ b/themes/my-theme/layouts/partials/header/markup.html @@ -0,0 +1,20 @@ + + + + + +
+
+ + + + + + + +
+
diff --git a/themes/my-theme/layouts/partials/home/markup.html b/themes/my-theme/layouts/partials/home/markup.html new file mode 100644 index 0000000..5d0c922 --- /dev/null +++ b/themes/my-theme/layouts/partials/home/markup.html @@ -0,0 +1,39 @@ +
+
+
+ + {{ if .Param "debug" }} + {{ .Kind }} +
+ + + + {{ $test := index .Pages 0 }} +

{{ printf "%#T" $test.Params.mydates }}

+

{{ printf "%#v" $test.Params.mydates }}

+ + + {{ $grouped := .Data.Pages.GroupByParamDate "mydates" "2006-01-02" }} + + + {{ $sorted := sort $grouped "Key" "asc" }} + +

Grouped {{ len $sorted }} pages by key

+ {{ range $sorted }} +
Group Key: {{ .Key }}
+ {{end}} + + + {{ end }} + + + + + + + + +
+ {{partial "sidebar/markup" .}} +
+
diff --git a/themes/my-theme/layouts/partials/main/main-content-list-item.html b/themes/my-theme/layouts/partials/main/main-content-list-item.html new file mode 100644 index 0000000..1b84a0d --- /dev/null +++ b/themes/my-theme/layouts/partials/main/main-content-list-item.html @@ -0,0 +1,25 @@ +{{$itemSection := .}} +
+
+
{{.Params.Title}}
+ +
{{.Params.short_description }}
+ +
+
diff --git a/themes/my-theme/layouts/partials/main/main-content-list.html b/themes/my-theme/layouts/partials/main/main-content-list.html new file mode 100644 index 0000000..4194172 --- /dev/null +++ b/themes/my-theme/layouts/partials/main/main-content-list.html @@ -0,0 +1,21 @@ + {{ if eq .Kind "taxonomy" }} +
+ {{ .Data.Term }} +
+ {{ end }} + + {{ if eq .Kind "section" }} +
+ {{ .Section }} +
+ {{ end }} + +{{ range .Paginator.Pages }} +
+
+ {{partial "main/main-content-list-item" .}} +
+
+{{ end }} + + diff --git a/themes/my-theme/layouts/partials/main/main-page-featured-item.html b/themes/my-theme/layouts/partials/main/main-page-featured-item.html new file mode 100644 index 0000000..62a5aff --- /dev/null +++ b/themes/my-theme/layouts/partials/main/main-page-featured-item.html @@ -0,0 +1,31 @@ +{{$item := .}} +
+
+
+ {{with $item.Params.title}} + {{.}} + {{end}} +
+ + {{with $item.Params.short_description}} +
+ + {{.}} + +
+ {{end}} + +
+
diff --git a/themes/my-theme/layouts/partials/main/main-page-featured-list.html b/themes/my-theme/layouts/partials/main/main-page-featured-list.html new file mode 100644 index 0000000..bbdd88d --- /dev/null +++ b/themes/my-theme/layouts/partials/main/main-page-featured-list.html @@ -0,0 +1,9 @@ + diff --git a/themes/my-theme/layouts/partials/main/markup.html b/themes/my-theme/layouts/partials/main/markup.html new file mode 100644 index 0000000..afe1d42 --- /dev/null +++ b/themes/my-theme/layouts/partials/main/markup.html @@ -0,0 +1,34 @@ +
+
+
+ + {{ if .Param "debug" }} + {{ .Kind }} + {{ template "_internal/pagination.html" . }} + + {{ end }} + + {{ $paginator := .Paginator }} + + + {{partial "main/main-content-list" .}} + + + + +
+ {{partial "sidebar/markup" .}} +
+
diff --git a/themes/my-theme/layouts/partials/popular-list.html b/themes/my-theme/layouts/partials/popular-list.html new file mode 100644 index 0000000..dde271f --- /dev/null +++ b/themes/my-theme/layouts/partials/popular-list.html @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/themes/my-theme/layouts/partials/post-list.html b/themes/my-theme/layouts/partials/post-list.html new file mode 100644 index 0000000..16b4686 --- /dev/null +++ b/themes/my-theme/layouts/partials/post-list.html @@ -0,0 +1,32 @@ + \ No newline at end of file diff --git a/themes/my-theme/layouts/partials/sidebar/markup.html b/themes/my-theme/layouts/partials/sidebar/markup.html new file mode 100644 index 0000000..189cfee --- /dev/null +++ b/themes/my-theme/layouts/partials/sidebar/markup.html @@ -0,0 +1,23 @@ + diff --git a/themes/my-theme/layouts/partials/vendor/analytics.html b/themes/my-theme/layouts/partials/vendor/analytics.html new file mode 100644 index 0000000..6202630 --- /dev/null +++ b/themes/my-theme/layouts/partials/vendor/analytics.html @@ -0,0 +1,4 @@ + + + diff --git a/themes/my-theme/layouts/partials/vendor/favicons.html b/themes/my-theme/layouts/partials/vendor/favicons.html new file mode 100644 index 0000000..69c740a --- /dev/null +++ b/themes/my-theme/layouts/partials/vendor/favicons.html @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/themes/my-theme/layouts/partials/vendor/footer-scripts.html b/themes/my-theme/layouts/partials/vendor/footer-scripts.html new file mode 100644 index 0000000..c05f62d --- /dev/null +++ b/themes/my-theme/layouts/partials/vendor/footer-scripts.html @@ -0,0 +1,3 @@ + + + diff --git a/themes/my-theme/layouts/partials/vendor/head.html b/themes/my-theme/layouts/partials/vendor/head.html new file mode 100644 index 0000000..f81130b --- /dev/null +++ b/themes/my-theme/layouts/partials/vendor/head.html @@ -0,0 +1,10 @@ + + {{ .Page.Title }} + {{partial "vendor/meta-og-tags" .}} + {{partial "vendor/favicons"}} + {{partial "vendor/analytics"}} + + {{ if .RSSLink }} + + {{end}} + diff --git a/themes/my-theme/layouts/partials/vendor/meta-og-tags.html b/themes/my-theme/layouts/partials/vendor/meta-og-tags.html new file mode 100644 index 0000000..f275649 --- /dev/null +++ b/themes/my-theme/layouts/partials/vendor/meta-og-tags.html @@ -0,0 +1,4 @@ + + + + diff --git a/themes/my-theme/src/images-theme/avatar.png b/themes/my-theme/src/images-theme/avatar.png new file mode 100644 index 0000000..ef88738 Binary files /dev/null and b/themes/my-theme/src/images-theme/avatar.png differ diff --git a/themes/my-theme/src/images-theme/favicon.ico b/themes/my-theme/src/images-theme/favicon.ico new file mode 100644 index 0000000..fe9d241 Binary files /dev/null and b/themes/my-theme/src/images-theme/favicon.ico differ diff --git a/themes/my-theme/src/images-theme/icon-arrow-link.svg b/themes/my-theme/src/images-theme/icon-arrow-link.svg new file mode 100644 index 0000000..1da882b --- /dev/null +++ b/themes/my-theme/src/images-theme/icon-arrow-link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/src/images-theme/icon-arrow.png b/themes/my-theme/src/images-theme/icon-arrow.png new file mode 100644 index 0000000..04567b4 Binary files /dev/null and b/themes/my-theme/src/images-theme/icon-arrow.png differ diff --git a/themes/my-theme/src/images-theme/icon-close.svg b/themes/my-theme/src/images-theme/icon-close.svg new file mode 100644 index 0000000..2c8709b --- /dev/null +++ b/themes/my-theme/src/images-theme/icon-close.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/src/images-theme/icon-comments.svg b/themes/my-theme/src/images-theme/icon-comments.svg new file mode 100644 index 0000000..e6de393 --- /dev/null +++ b/themes/my-theme/src/images-theme/icon-comments.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/src/images-theme/icon-dollar.svg b/themes/my-theme/src/images-theme/icon-dollar.svg new file mode 100644 index 0000000..897f50d --- /dev/null +++ b/themes/my-theme/src/images-theme/icon-dollar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/src/images-theme/icon-search.svg b/themes/my-theme/src/images-theme/icon-search.svg new file mode 100644 index 0000000..f685ab9 --- /dev/null +++ b/themes/my-theme/src/images-theme/icon-search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/src/images-theme/logo.png b/themes/my-theme/src/images-theme/logo.png new file mode 100644 index 0000000..dc89eb4 Binary files /dev/null and b/themes/my-theme/src/images-theme/logo.png differ diff --git a/themes/my-theme/src/js/global.js b/themes/my-theme/src/js/global.js new file mode 100644 index 0000000..69ccb0e --- /dev/null +++ b/themes/my-theme/src/js/global.js @@ -0,0 +1,4 @@ +let jQuery = require("jquery"); + +import "../sass/global.sass"; +import "./modules/common.js" diff --git a/themes/my-theme/src/js/modules/common.js b/themes/my-theme/src/js/modules/common.js new file mode 100644 index 0000000..34c5248 --- /dev/null +++ b/themes/my-theme/src/js/modules/common.js @@ -0,0 +1,16 @@ +$(document).ready( function() { + replyComment(); + + $('.alert-message .close').on('click', function() { + $('.alert-message').slideUp(); + }); + + function replyComment() { + $('.comment__item').each(function(index, el) { + if ($(this).hasClass('reply--comment')) { + $(this).closest('comment__item').addClass('border-active'); + }; + }); + }; + +}); diff --git a/themes/my-theme/src/sass/global.sass b/themes/my-theme/src/sass/global.sass new file mode 100644 index 0000000..7ec5776 --- /dev/null +++ b/themes/my-theme/src/sass/global.sass @@ -0,0 +1,16 @@ +// import vendors +@import "vendor/normalize" +@import "vendor/fonts" +@import "vendor/variables" +@import "vendor/mixins" +@import "vendor/buttons" +@import "vendor/theme-preferences" +@import "bourbon" + +@import "modules/header/desktop" +@import "modules/content/desktop" +@import "modules/sidebar/desktop" +@import "modules/footer/desktop" +@import "modules/mobile/mobile" + + diff --git a/themes/my-theme/src/sass/modules/content/archives.sass b/themes/my-theme/src/sass/modules/content/archives.sass new file mode 100644 index 0000000..235d404 --- /dev/null +++ b/themes/my-theme/src/sass/modules/content/archives.sass @@ -0,0 +1,31 @@ +.archives + padding-right: 5% +.archive__item + margin-bottom: 100px +.archive__title + font-family: "Concourse T3" + font-size: 46px + font-weight: 700 + line-height: 33px + color: $black +.archive__date + font-family: "Concourse T3" + color: $black + font-size: 24px + font-style: italic + margin-bottom: 50px +.archive__content +.archive__content__item + color: $gray + font-family: "Concourse T3" + font-size: 22px + font-weight: 400 + line-height: 32px + margin-bottom: 5px + a + color: $blue-2 + font-weight: 700 + text-decoration: underline + + + diff --git a/themes/my-theme/src/sass/modules/content/article.sass b/themes/my-theme/src/sass/modules/content/article.sass new file mode 100644 index 0000000..a50dae5 --- /dev/null +++ b/themes/my-theme/src/sass/modules/content/article.sass @@ -0,0 +1,205 @@ +//Singl article + +.single-article + display: flex + justify-content: center + .article__info + margin-bottom: 40px + .tags + margin-bottom: 60px + + ul + li + color: $orange + li::before + color $orange + content: '\2500'; + font-size: 1em; + padding-right: 1.225em; + position: relative; + top: 0em; + +.article-sidebar + width: 10% + background-color: $white + margin-right: 40px + margin-top: 10px + border-top: 3px solid $black + // TODO: implement sidebar quotes + &.quotes + visibility: hidden + +pre + padding-left: 40px + code + font-family: "Concourse T3" + + + +blockquote + color: $gray + font-family: "Concourse T3" + font-size: 1.5rem + font-style: italic + line-height: 28px + text-align: left + &:nth-child(1) + padding-top: 20% + &:nth-child(2) + padding-top: 84% + &:nth-child(3) + padding-top: 75% + +.article-content + width: 100% + +.single-article__title + color: $black + font-family: "Concourse T3" + font-size: 53px + font-weight: 700 + line-height: 58px + margin-bottom: 30px + +.single-article__description + color: $black + font-weight: 700 + margin-bottom: 40px + +.single-article__text + + @include text-link + + color: $black + font-family: "Concourse T3" + font-size: 23px + font-weight: 400 + margin-bottom: 60px + em + border-bottom: 2px solid $orange-2 + box-shadow: inset 0 -4px 0 $orange-2 + -webkit-box-shadow: inset 0 -4px 0 $orange-2 + blockquote + font-size: 0.9em + background-color: $orange-light + font-style: normal + border-left: 5px solid $orange + padding-top: 1rem + padding-bottom: 15px + padding-left: 25px + margin-bottom: 1rem + padding-right: 10px + h1,h2,h3,h4 + color: $black-yellow + p, pre + color: $black-3 + + p + margin-bottom: 20px + strong + color: $black + + +//Comments +.comments + width: 100% + background-color: $comments-bg + padding: 50px 0 + .comments-wrap + width: 60% + padding-left: 1% + margin: 0 auto + + .comment__responses__form + width: 100% + position: relative + padding-bottom: 20px + margin-bottom: 40px + border-bottom: 1px dotted $border-color + .user-avatar + width: 34px + position: absolute + left: 10px + top: 17px + height: 34px + border-radius: 50% + overflow: hidden + img + max-width: 100% + textarea + width: 100% + height: 64px + resize: none + border: 1px solid #f0f0f0 + background-color: $white + padding-left: 50px + font-size: 16px + color: $black + box-sizing: border-box + margin-bottom: 50px + +.comment__responses__title, +.count-comments + color: $black + font-family: "Concourse T3" + font-size: 20px + font-weight: 700 + line-height: 30px + margin-bottom: 10px + +.sort-comments + display: flex + color: $black + font-family: "Concourse T3" + font-size: 16px + font-weight: 400 + line-height: 30px + select + border: 1px solid #f0f0f0 + background-color: $white + padding: 4px 10px +.responses__form__info + display: flex + justify-content: space-between + align-items: center +.sort__text + margin-right: 10px + +.comment__item + margin-bottom: 50px + &.border--active + border-left: 3px solid $orange +.comment__title + background-color: $orange + padding: 5px 12px + color: $black-3 + font-family: "Concourse T3" + font-size: 17px + font-weight: 900 + +.reply--comment + padding-left: 57px + border: none + .comment__title + background-color: $light-orange + +.comment__text + color: $black + font-family: "Concourse T3" + font-size: 17px + font-weight: 400 + line-height: 26px + padding-bottom: 30px + +.comment__content + padding: 20px 0 30px 15px +.comment__control + display: flex + font-size: 15px + + a + display: inline-block + margin-right: 5px + color: $blue-2 + .date + color: $gray diff --git a/themes/my-theme/src/sass/modules/content/articles.sass b/themes/my-theme/src/sass/modules/content/articles.sass new file mode 100644 index 0000000..9e5469b --- /dev/null +++ b/themes/my-theme/src/sass/modules/content/articles.sass @@ -0,0 +1,225 @@ +.articles + display: flex + flex-wrap: wrap +.articles__title.featured + color: $red + font-family: "Concourse T3" + font-size: 53px + font-weight: 400 + line-height: 58px + margin-bottom: 30px + border: none + width: 100% +.article__title + margin-bottom: 10px + a + color: $black + font-family: "Concourse T2" + font-size: 33px + font-weight: 700 + line-height: 41px +.featured-section + .articles__wrap.first-wrap + width: 100% + .article__item:nth-child(even) + width: 35% + .article__item:first-child + .article__title + a + font-size: 53px + font-weight: 700 + line-height: 58px + .article__item + width: 60% +.first-article + .article__title + a + font-size: 33px + line-height: 41px + +.articles__wrap + display: flex + justify-content: space-between + margin-bottom: 20px + width: 100% + flex-wrap: wrap + +.first-wrap + .article__item + padding-left: 5% +.article__item + width: 100% + &.full-width + width: 70% + padding-left: 0 + +.article__info + display: flex + align-items: center + font-size: 0.8em + margin-bottom: 20px + +.article__icon + display: inline-block + margin-right: 8px + +.article__category__text + color: $red-2 + font-weight: 700 + letter-spacing: 1px + text-transform: uppercase + font-size: 0.9em + margin-right: 10px + +.article__date + color: $gray + margin-right: 10px + +.article__author + color: $gray + span + display: inline-block + //color: $black + +.article__text + margin-bottom: 25px + .base-text + @include text-link + +.article__info.info-bottom + justify-content: space-between +.article__read-more + display: inline-block + color: $blue-2 + font-family: "Concourse T3" + font-size: 18px + font-weight: 400 + line-height: 52px + text-decoration: underline + +.article__comments + color: $gray + font-family: "Concourse T3" + font-size: 18px + font-weight: 400 + line-height: 52px + span + display: inline-block + margin-right: 5px + img + position: relative + top: 4px + +.articles__title.featured + padding-left: 0 + &:before + display: none + +.articles__title + display: block + color: $black + font-family: "Concourse T3" + font-size: 34px + font-weight: lighter + line-height: 45px + padding: 30px 0 + position: relative + padding-left: 45px + text-transform: uppercase + &:before + content: "" + width: 27px + height: 10px + background-color: #4aadae + display: block + position: absolute + left: 0 + top: 50% + transform: translateY(-48%) + +section.articles.base-section:nth-child(2) + .articles__title + &:before + background-color: $orange + +section.articles.base-section:nth-child(3) + .articles__title + &:before + background-color: $purple + +section.articles.base-section:nth-child(4) + .articles__title + &:before + background-color: $red-2 + +.title-block + display: -webkit-flex + margin-bottom: 50px + display: -moz-flex + display: -ms-flex + display: -o-flex + display: flex + align-items: center + //border-top: 1px dotted $border-color + border-bottom: 1px dotted $border-color + width: 100% + .title__icon + width: 27px + height: 10px + background-color: #4aadae + margin-right: 15px + .title__link + margin-left: auto + color: $black-2 + font-family: "Concourse T3" + font-size: 14px + font-weight: 700 + line-height: 52px + text-transform: uppercase + letter-spacing: 0.28px + padding-right: 40px + +.title__link + position: relative + span + font-size: 20px + color: $gray + width: 6px + height: 11px + background-image: url(../images-theme/icon-arrow.png) + position: absolute + right: 10px + top: 50% + transform: translateY(-50%) + +.protocol + .title__icon + background-color: $red-2 +.events + .title__icon + background-color: $purple + +.pagination + width: 100% + border-top: 1px dotted $gray-lite-2 + padding: 50px 0 + display: flex + flex-direction: row + justify-content: space-between + align-items: center + +.pagination__link + display: inline-block + color: $blue-2 + font-size: .9em + &:hover + text-decoration: underline + + + +.pagination__link.prev + +.pagination__link.next + .pagination__icon + margin-left: 10px + transform: rotate(180deg) diff --git a/themes/my-theme/src/sass/modules/content/desktop.sass b/themes/my-theme/src/sass/modules/content/desktop.sass new file mode 100644 index 0000000..e36f1b2 --- /dev/null +++ b/themes/my-theme/src/sass/modules/content/desktop.sass @@ -0,0 +1,20 @@ +main + .flex-grid + align-items: normal + justify-content: flex-end + padding: 0 +.main__content + width: $container-main-width + padding-right: 20px + padding-left: 20px + padding-bottom: 20px + +.name404 + text-align: center + font-size: 40px + line-height: 60px + padding: 100px 0 + +@import "modules/content/articles" +@import "modules/content/article" +@import "modules/content/archives" diff --git a/themes/my-theme/src/sass/modules/footer/desktop.sass b/themes/my-theme/src/sass/modules/footer/desktop.sass new file mode 100644 index 0000000..2f1cb47 --- /dev/null +++ b/themes/my-theme/src/sass/modules/footer/desktop.sass @@ -0,0 +1,35 @@ +footer + border-top: 1px dotted $border-color + border-bottom: 0px dotted $gray + +.footer__content + width: 80% + .container + padding: 0 + +.footer__content + padding: 80px 0 + display: flex + justify-content: space-between + .footer__item + width: 25% + +.footer__link + display: block + color: $gray + font-family: "Concourse T3" + font-size: 16px + font-weight: 400 + line-height: 34px + +.copyright + padding: 50px 0 + color: $gray + font-family: "Concourse T3" + font-size: 15px + font-weight: 400 + line-height: 34px + .container + text-align: left + + diff --git a/themes/my-theme/src/sass/modules/header/desktop.sass b/themes/my-theme/src/sass/modules/header/desktop.sass new file mode 100644 index 0000000..1a0683b --- /dev/null +++ b/themes/my-theme/src/sass/modules/header/desktop.sass @@ -0,0 +1,81 @@ +.alert-message + font-size: 12px + width: 100% + background-color: $gray-2 + text-align: center + position: relative + height: 41px + a + padding: 3px 0 + display: inline-block + font-family: 'Concourse C4' + color: $gray-3 + font-size: 12px + font-weight: 400 + .close + width: 10px + height: 10px + display: block + position: absolute + right: 15% + top: 15px + background-image: url(../images-theme/icon-close.svg) + background-repeat: no-repeat + background-size: cover + background-position: center + &:hover + cursor: pointer + +header + min-height: 120px + height: 100% + display: flex + align-items: center + margin-bottom: 70px + .container + min-height: 120px + border-bottom: 1px dotted $border-color + +.logo + display: inline-block + img + max-width: 100% + +.menu + margin-left: auto + margin-right: 60px + .menu__item + display: inline-block + margin-right: 45px + &:last-child + margin-right: 0 + .menu__link + color: $black + font-family: "Concourse T3" + font-size: 13px + font-weight: 700 + text-transform: uppercase + letter-spacing: 1.3px + +.search + position: relative + margin-right: 40px + .search__text + position: absolute + padding: 10px 20px + text-transform: uppercase + font-size: 13px + left: -400px + min-width: 300px + border: 1px solid $gray + display: none + .search__button + width: 17px + height: 17px + background-color: none + border: none + background-image: url(../images-theme/icon-search.svg) + background-size: cover + background-color: transparent + background-position: center + background-repeat: no-repeat diff --git a/themes/my-theme/src/sass/modules/mobile/_mobile.sass b/themes/my-theme/src/sass/modules/mobile/_mobile.sass new file mode 100644 index 0000000..a7f15f5 --- /dev/null +++ b/themes/my-theme/src/sass/modules/mobile/_mobile.sass @@ -0,0 +1,48 @@ +@media only screen and (max-width : 1400px) + /**/ + .container + max-width: 1300px + padding: 0 10px !important + +@media only screen and (max-width : 1000px) + /**/ + .container + max-width: 100% + width: 100% + padding: 0 10px !important + .alert-message + display: none + .menu .menu__item + margin-right: 10px + .articles__wrap + flex-wrap: wrap + .article__item.full-width + width: 100% + .sidebar + width: 30% + .first-wrap .article__item + padding-left: 0 + .article__item + width: 100% + .footer__content + width: 100% + .article-sidebar + display: none + .article-content + width: 100% + .archives + padding-right: 0 + .popular-section .articles__wrap.first-wrap .article__item, + .popular-section .articles__wrap.first-wrap .article__item:nth-child(2n) + width: 100% + +@media only screen and (max-width : 1000px) + .logo + width: 110px + .first-article .article__title a + font-size: 45px + line-height: 50px + .base-text + font-size: 20px + .sidebar + padding-left: 30px diff --git a/themes/my-theme/src/sass/modules/sidebar/desktop.sass b/themes/my-theme/src/sass/modules/sidebar/desktop.sass new file mode 100644 index 0000000..ff34bef --- /dev/null +++ b/themes/my-theme/src/sass/modules/sidebar/desktop.sass @@ -0,0 +1,68 @@ +.sidebar + width: 20% + background-color: $white + padding-left: 4vw + + //border-left: 1px solid $gray-4 + +.categories + margin-bottom: 30px +.categories__title + color: $black-2 + font-family: "Concourse T3" + font-size: 14px + font-weight: 700 + line-height: 52px + text-transform: uppercase + letter-spacing: 0.56px +.categories__item + display: block + color: $black-2 + font-family: "Concourse T3" + font-size: 16px + font-weight: 400 + letter-spacing: 0.32px + line-height: 30px + line-height: 35px + text-transform: capitalize + // &:hover + // span + // transform: translateX(10px) + span + display: inline-block + font-size: 20px + margin-left: 10px + transition: all 0.2s ease + &.view-all + text-decoration: underline + display: inline-block + margin-top: 15px + +.login + margin-bottom: 10px + +.buttons-wrap + margin: 40px 0 + +.tags + &__title + color: $black-2 + font-family: "Concourse T3" + font-size: 14px + font-weight: 700 + line-height: 52px + text-transform: uppercase + letter-spacing: 0.56px + &__item + display: inline-block + padding: 3px 6px + color: $black-2 + font-size: 14px + line-height: 20px + background-color: $gray-lite-2 + border: 1px solid $gray-lite + border-radius: 2px + margin: 5px + margin-left: 0 + &:hover + background-color: $gray-lite diff --git a/themes/my-theme/src/sass/vendor/_buttons.sass b/themes/my-theme/src/sass/vendor/_buttons.sass new file mode 100644 index 0000000..7a71b37 --- /dev/null +++ b/themes/my-theme/src/sass/vendor/_buttons.sass @@ -0,0 +1,41 @@ +@mixin button-light($color: $blue, $size: 14px) + border: 2px solid $color + background-color: $white + color: $blue + font-size: $size + + //&:hover + //color: $white + +.button + min-width: 100px + text-align: center + border-radius: 3px + background-color: $blue + font-family: 'Concourse T3' + color: $white + padding: 12px 25px + font-size: 14px + font-weight: 700 + line-height: 15px + text-transform: uppercase + letter-spacing: 1.12px + display: inline-block + + //&:hover + //background-color: darken($blue, 5%) + + &--orange + background: $orange + color: $white + min-width: auto + &:hover + background-color: darken($orange, 5%) + + &.empty + background-color: $white + color: $blue + &:hover + background-color: $white + text-decoration: underline + diff --git a/themes/my-theme/src/sass/vendor/_fonts.sass b/themes/my-theme/src/sass/vendor/_fonts.sass new file mode 100644 index 0000000..f24d157 --- /dev/null +++ b/themes/my-theme/src/sass/vendor/_fonts.sass @@ -0,0 +1,54 @@ +@font-face + font-family: 'Gotham Pro' + src: url('../fonts/GothamPro-Light.woff2') format("woff2"), url('../fonts/GothamPro-Light.woff') format("woff") + font-weight: 300 + font-style: normal + + +@font-face + font-family: 'Gotham Pro' + src: url('../fonts/GothamPro.woff2') format("woff2"), url('../fonts/GothamPro.woff') format("woff") + font-weight: normal + font-style: normal + + +@font-face + font-family: 'Concourse T2' + src: url('../fonts/ConcourseT2-Bold.woff2') format("woff2"), url('../fonts/ConcourseT2-Bold.woff') format("woff") + font-weight: bold + font-style: normal + + +@font-face + font-family: 'Minion Pro' + src: url('../fonts/MinionPro-Regular.woff2') format("woff2"), url('../fonts/MinionPro-Regular.woff') format("woff") + font-weight: normal + font-style: normal + + +@font-face + font-family: 'Concourse C4' + src: url('../fonts/ConcourseC4.woff2') format("woff2"), url('../fonts/ConcourseC4.woff') format("woff") + font-weight: normal + font-style: normal + + +@font-face + font-family: 'Concourse T3' + src: url('../fonts/ConcourseT3.woff2') format("woff2"), url('../fonts/ConcourseT3.woff') format("woff") + font-weight: normal + font-style: normal + + +@font-face + font-family: 'Concourse T3' + src: url('../fonts/ConcourseT3-Bold.woff2') format("woff2"), url('../fonts/ConcourseT3-Bold.woff') format("woff") + font-weight: bold + font-style: normal + + +@font-face + font-family: 'Concourse T3' + src: url('../fonts/ConcourseT3-Italic.woff2') format("woff2"), url('../fonts/ConcourseT3-Italic.woff') format("woff") + font-weight: normal + font-style: italic \ No newline at end of file diff --git a/themes/my-theme/src/sass/vendor/_mixins.sass b/themes/my-theme/src/sass/vendor/_mixins.sass new file mode 100644 index 0000000..b952232 --- /dev/null +++ b/themes/my-theme/src/sass/vendor/_mixins.sass @@ -0,0 +1,39 @@ +=clear-fix + &:after + content: "" + display: block + clear: both + width: 100% + height: 1px + margin-bottom: -1px + +=font($family, $size, $height, $color, $style, $decoration, $transform) + font-family: $family + font-size: $size + line-height: $height + color: $color + font-style: $style + text-decoration: $decoration + text-transform: $transform + text-rendering: geometricPrecision + +=chageFontSize($size, $height) + font-size: $size + line-height: $height + +=transition($speed, $type) + transition: all $speed $type + +=resetForAbsoluteCentering() + top: 0 + right: 0 + left: 0 + bottom: 0 + +@mixin text-link + a + color: $orange + font-weight: bold + &:hover + text-decoration: underline + diff --git a/themes/my-theme/src/sass/vendor/_normalize.sass b/themes/my-theme/src/sass/vendor/_normalize.sass new file mode 100644 index 0000000..60bf4d7 --- /dev/null +++ b/themes/my-theme/src/sass/vendor/_normalize.sass @@ -0,0 +1,173 @@ +// Margin and padding resets +* + text-rendering: geometricPrecision +html + font-family: sans-serif + -ms-text-size-adjust: 100% + -webkit-text-size-adjust: 100% + margin: 0 + padding: 0 + border: 0 + font-size: 100% + font: inherit + vertical-align: baseline + outline: none + box-sizing: border-box + overflow-x: hidden +body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, +blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, +em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, +b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, +caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, +embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, +section, summary, time, mark, audio, video + margin: 0 + padding: 0 + border: 0 + font-size: 100% + font: inherit + vertical-align: baseline + outline: none + box-sizing: border-box +//* HTML5 display definitions +article, aside, details, figcaption, figure, footer, header, main, nav, section, summary + display: block + box-sizing: border-box +audio, canvas, progress, video + display: inline-block + vertical-align: baseline +audio:not([controls]) + display: none + height: 0 +[hidden], template + display: none +//* Links +a + background: transparent + text-decoration: none + &:active, &:hover + outline: 0 + text-decoration: none +//* Lists +ol, ul + list-style: none + margin: 0px + padding: 0px +//* Text-level semantics +abbr[title] + border-bottom: 1px dotted +b, strong + font-weight: bold +dfn + font-style: italic +mark + background: #ff0 + color: #000 +small + font-size: 80% +sub + font-size: 75% + line-height: 0 + position: relative + vertical-align: baseline +sup + font-size: 75% + line-height: 0 + position: relative + vertical-align: baseline + top: -0.5em +sub + bottom: -0.25em +//* Embedded content +img + border: 0 + max-width: 100% +svg:not(:root) + overflow: hidden +figure + margin: 1em 40px +hr + -moz-box-sizing: content-box + box-sizing: content-box + height: 0 +pre + overflow: auto +code, kbd, pre, samp + font-family: monospace, monospace + font-size: 100% +//* Forms +button, input, optgroup, select, textarea + color: inherit + font: inherit + margin: 0 + outline: none +button + overflow: visible + text-transform: none +select + text-transform: none +button, html input[type="button"] + -webkit-appearance: button + cursor: pointer +input + &[type="reset"], &[type="submit"] + -webkit-appearance: button + cursor: pointer +button[disabled], html input[disabled] + cursor: default +button::-moz-focus-inner + border: 0 + padding: 0 +input + &::-moz-focus-inner + border: 0 + padding: 0 + line-height: normal + outline: none + &[type="checkbox"], &[type="radio"] + box-sizing: border-box + padding: 0 + &[type="number"] + &::-webkit-inner-spin-button, &::-webkit-outer-spin-button + height: auto + &[type="search"] + -webkit-appearance: textfield + -moz-box-sizing: content-box + -webkit-box-sizing: content-box + box-sizing: content-box + &::-webkit-search-cancel-button, &::-webkit-search-decoration + -webkit-appearance: none +fieldset + border: none + margin: 0 + padding: 0 +legend + border: 0 + padding: 0 +textarea + overflow: auto +optgroup + font-weight: bold +blockquote, q + quotes: none +blockquote + &:before, &:after + content: '' + content: none +q + &:before, &:after + content: '' + content: none +// Tables +table + border-collapse: collapse + border-spacing: 0 +td, th + padding: 0 +body + overflow: hidden +html, + width: 100% + overflow-x: hidden +em + font-style: italic diff --git a/themes/my-theme/src/sass/vendor/_theme-preferences.sass b/themes/my-theme/src/sass/vendor/_theme-preferences.sass new file mode 100644 index 0000000..703b15e --- /dev/null +++ b/themes/my-theme/src/sass/vendor/_theme-preferences.sass @@ -0,0 +1,100 @@ +body + background: $white + font-family: 'Concourse T3' + font-weight: normal + font-style: normal + font-size: 23px + line-height: 34px + color: $gray +.container + max-width: 1380px + width: 60% + margin: 0px auto + box-sizing: border-box + padding-left: 10px + padding-right: 10px + &--fluid + max-width: 1920px + width: 100% + padding-left: 0px + padding-right: 0px + margin: 0px auto + &--row + max-width: calc(100% + 120px) + margin-left: -60px + margin-right: -60px + + + +.flex-grid + display: flex + align-items: center + justify-content: space-between + + +h1,h2,h3,h4 + font-weight: bold + color: $black + margin-top: 1.7rem + padding-bottom: 10px + +h1 + font-size: 1.8em + +h2 + font-size: 1.4em + +h3 + font-size: 1.2em + + + +.base-text + font-family: 'Concourse T3' + font-weight: normal + font-style: normal + font-size: 23px + line-height: 34px + color: $gray + +.base-title + color: $black + font-family: 'Concourse T2' + font-size: 33px + font-weight: 700 + line-height: 41px + +@media screen and (max-width: 1240px) + html, + body + max-width: 1240px + width: 100% + overflow-x: hidden + .container + padding-left: 30px + padding-right: 30px + &--fluid + max-width: 100% + padding-left: 0px + padding-right: 0px + &--row + max-width: calc(100% + 60px) + margin-left: -30px + margin-right: -30px +@media screen and (max-width: 640px) + html, + body + max-width: 640px + width: 100% + overflow-x: hidden + .container + padding-left: 30px + padding-right: 30px + &--fluid + max-width: 100% + padding-left: 0px + padding-right: 0px + &--row + max-width: calc(100% + 60px) + margin-left: -30px + margin-right: -30px diff --git a/themes/my-theme/src/sass/vendor/_variables.sass b/themes/my-theme/src/sass/vendor/_variables.sass new file mode 100644 index 0000000..b3634b2 --- /dev/null +++ b/themes/my-theme/src/sass/vendor/_variables.sass @@ -0,0 +1,27 @@ +// Colors +$black: lighten(#000,5%) +$black-2: #17171a +$black-3: #281c05 +$black-yellow: #4e4b46 +$white: #FFF +$gray: #737277 +$gray-2: #f7f7f7 +$gray-3: #757575 +$gray-4: #e8e8e8 +$gray-lite: #f0f0f0 +$gray-lite-2: #fafafa +$border-color: #b2b2b2 +$blue: #26ade4 +$blue-2: #187ba3 //load more +$orange: #fea700 +$orange-2: lighten($orange,30%) +$orange-light: lighten($orange, 48%) +$light-orange: #fcdda2 +$red: #fe5731 +$red-2: #e75b59 +$purple: #7459e7 +$comments-bg: #fbfbfb + +// Layout +$container-main-width: 80% + diff --git a/themes/my-theme/static/css/global.min.css b/themes/my-theme/static/css/global.min.css new file mode 100644 index 0000000..a6f5259 --- /dev/null +++ b/themes/my-theme/static/css/global.min.css @@ -0,0 +1 @@ +*{text-rendering:geometricPrecision}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;outline:none;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block;box-sizing:border-box}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a,a:active,a:hover{text-decoration:none}a:active,a:hover{outline:0}ol,ul{list-style:none;margin:0;padding:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:100%}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;outline:none}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{border:0;padding:0}input{line-height:normal;outline:none}input::-moz-focus-inner{border:0;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:none;margin:0;padding:0}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}body{overflow:hidden}html{width:100%;overflow-x:hidden}em{font-style:italic}@font-face{font-family:Concourse T2;src:url(../fonts/ConcourseT2-Bold.woff2) format("woff2"),url(../fonts/ConcourseT2-Bold.woff) format("woff");font-weight:700;font-style:normal}@font-face{font-family:Concourse C4;src:url(../fonts/ConcourseC4.woff2) format("woff2"),url(../fonts/ConcourseC4.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Concourse T3;src:url(../fonts/ConcourseT3.woff2) format("woff2"),url(../fonts/ConcourseT3.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Concourse T3;src:url(../fonts/ConcourseT3-Bold.woff2) format("woff2"),url(../fonts/ConcourseT3-Bold.woff) format("woff");font-weight:700;font-style:normal}@font-face{font-family:Concourse T3;src:url(../fonts/ConcourseT3-Italic.woff2) format("woff2"),url(../fonts/ConcourseT3-Italic.woff) format("woff");font-weight:400;font-style:italic}.button{min-width:100px;text-align:center;border-radius:3px;background-color:#26ade4;font-family:Concourse T3;color:#fff;padding:12px 25px;font-size:14px;font-weight:700;line-height:15px;text-transform:uppercase;letter-spacing:1.12px;display:inline-block}.button--orange{background:#fea700;color:#fff;min-width:auto}.button--orange:hover{background-color:#e59600}.button.empty{background-color:#fff;color:#26ade4}.button.empty:hover{background-color:#fff;text-decoration:underline}body{background:#fff;font-family:Concourse T3;font-weight:400;font-style:normal;font-size:23px;line-height:34px;color:#737277}.container{max-width:1380px;width:60%;margin:0 auto;box-sizing:border-box;padding-left:10px;padding-right:10px}.container--fluid{max-width:1920px;width:100%;padding-left:0;padding-right:0;margin:0 auto}.container--row{max-width:calc(100% + 120px);margin-left:-60px;margin-right:-60px}.flex-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}h1,h2,h3,h4{font-weight:700;color:#0d0d0d;margin-top:1.7rem;padding-bottom:10px}h1{font-size:1.8em}h2{font-size:1.4em}h3{font-size:1.2em}.base-text{font-family:Concourse T3;font-weight:400;font-style:normal;font-size:23px;line-height:34px;color:#737277}.base-title{color:#0d0d0d;font-family:Concourse T2;font-size:33px;font-weight:700;line-height:41px}@media screen and (max-width:1240px){body,html{max-width:1240px;width:100%;overflow-x:hidden}.container{padding-left:30px;padding-right:30px}.container--fluid{max-width:100%;padding-left:0;padding-right:0}.container--row{max-width:calc(100% + 60px);margin-left:-30px;margin-right:-30px}}@media screen and (max-width:640px){body,html{max-width:640px;width:100%;overflow-x:hidden}.container{padding-left:30px;padding-right:30px}.container--fluid{max-width:100%;padding-left:0;padding-right:0}.container--row{max-width:calc(100% + 60px);margin-left:-30px;margin-right:-30px}}.alert-message{font-size:12px;width:100%;background-color:#f7f7f7;text-align:center;position:relative;height:41px}.alert-message a{padding:3px 0;display:inline-block;font-family:Concourse C4;color:#757575;font-size:12px;font-weight:400}.alert-message .close{width:10px;height:10px;display:block;position:absolute;right:15%;top:15px;background-image:url(../images-theme/icon-close.svg);background-repeat:no-repeat;background-size:cover;background-position:50%}.alert-message .close:hover{cursor:pointer}header{min-height:120px;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:70px}header .container{min-height:120px;border-bottom:1px dotted #b2b2b2}.logo{display:inline-block}.logo img{max-width:100%}.menu{margin-left:auto;margin-right:60px}.menu .menu__item{display:inline-block;margin-right:45px}.menu .menu__item:last-child{margin-right:0}.menu .menu__link{color:#0d0d0d;font-family:Concourse T3;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1.3px}.search{position:relative;margin-right:40px}.search .search__text{position:absolute;padding:10px 20px;text-transform:uppercase;font-size:13px;left:-400px;min-width:300px;border:1px solid #737277;display:none}.search .search__button{width:17px;height:17px;background-color:none;border:none;background-image:url(../images-theme/icon-search.svg);background-size:cover;background-color:transparent;background-position:50%;background-repeat:no-repeat}main .flex-grid{-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:0}.main__content{width:80%;padding-right:20px;padding-left:20px;padding-bottom:20px}.name404{text-align:center;font-size:40px;line-height:60px;padding:100px 0}.articles{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.articles__title.featured{color:#fe5731;font-family:Concourse T3;font-size:53px;font-weight:400;line-height:58px;margin-bottom:30px;border:none;width:100%}.article__title{margin-bottom:10px}.article__title a{color:#0d0d0d;font-family:Concourse T2;font-size:33px;font-weight:700;line-height:41px}.featured-section .articles__wrap.first-wrap{width:100%}.featured-section .articles__wrap.first-wrap .article__item:nth-child(2n){width:35%}.featured-section .articles__wrap.first-wrap .article__item:first-child .article__title a{font-size:53px;font-weight:700;line-height:58px}.featured-section .articles__wrap.first-wrap .article__item{width:60%}.first-article .article__title a{font-size:33px;line-height:41px}.articles__wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px;width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.first-wrap .article__item{padding-left:5%}.article__item{width:100%}.article__item.full-width{width:70%;padding-left:0}.article__info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:.8em;margin-bottom:20px}.article__icon{display:inline-block;margin-right:8px}.article__category__text{color:#e75b59;font-weight:700;letter-spacing:1px;text-transform:uppercase;font-size:.9em;margin-right:10px}.article__date{color:#737277;margin-right:10px}.article__author{color:#737277}.article__author span{display:inline-block}.article__text{margin-bottom:25px}.article__text .base-text a{color:#fea700;font-weight:700;text-decoration:underline}.article__info.info-bottom{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.article__read-more{display:inline-block;color:#187ba3;text-decoration:underline}.article__comments,.article__read-more{font-family:Concourse T3;font-size:18px;font-weight:400;line-height:52px}.article__comments{color:#737277}.article__comments span{display:inline-block;margin-right:5px}.article__comments img{position:relative;top:4px}.articles__title.featured{padding-left:0}.articles__title.featured:before{display:none}.articles__title{display:block;color:#0d0d0d;font-family:Concourse T3;font-size:34px;font-weight:lighter;line-height:45px;padding:30px 0;position:relative;padding-left:45px;text-transform:uppercase}.articles__title:before{content:"";width:27px;height:10px;background-color:#4aadae;display:block;position:absolute;left:0;top:50%;-webkit-transform:translateY(-48%);transform:translateY(-48%)}section.articles.base-section:nth-child(2) .articles__title:before{background-color:#fea700}section.articles.base-section:nth-child(3) .articles__title:before{background-color:#7459e7}section.articles.base-section:nth-child(4) .articles__title:before{background-color:#e75b59}.title-block{display:-webkit-flex;margin-bottom:50px;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px dotted #b2b2b2;width:100%}.title-block .title__icon{width:27px;height:10px;background-color:#4aadae;margin-right:15px}.title-block .title__link{margin-left:auto;color:#17171a;font-family:Concourse T3;font-size:14px;font-weight:700;line-height:52px;text-transform:uppercase;letter-spacing:.28px;padding-right:40px}.title__link{position:relative}.title__link span{font-size:20px;color:#737277;width:6px;height:11px;background-image:url(../images-theme/icon-arrow.png);position:absolute;right:10px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.protocol .title__icon{background-color:#e75b59}.events .title__icon{background-color:#7459e7}.pagination{width:100%;border-top:1px dotted #fafafa;padding:50px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pagination__link{display:inline-block;color:#187ba3;font-size:.9em}.pagination__link:hover{text-decoration:underline}.pagination__link.next .pagination__icon{margin-left:10px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.single-article{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.single-article .article__info{margin-bottom:40px}.single-article .tags{margin-bottom:60px}.single-article ul li{color:#fea700}.single-article ul li:before{content:"\2500";font-size:1em;padding-right:1.225em;position:relative;top:0}.article-sidebar{width:10%;background-color:#fff;margin-right:40px;margin-top:10px;border-top:3px solid #0d0d0d}.article-sidebar.quotes{visibility:hidden}pre{padding-left:40px}blockquote,pre code{font-family:Concourse T3}blockquote{color:#737277;font-size:1.5rem;font-style:italic;line-height:28px;text-align:left}blockquote:first-child{padding-top:20%}blockquote:nth-child(2){padding-top:84%}blockquote:nth-child(3){padding-top:75%}.article-content{width:100%}.single-article__title{color:#0d0d0d;font-family:Concourse T3;font-size:53px;font-weight:700;line-height:58px;margin-bottom:30px}.single-article__description{color:#0d0d0d;font-weight:700;margin-bottom:40px}.single-article__text{color:#0d0d0d;font-family:Concourse T3;font-size:23px;font-weight:400;margin-bottom:60px}.single-article__text a{color:#fea700;font-weight:700;text-decoration:underline}.single-article__text em{border-bottom:2px solid #ffdc98;box-shadow:inset 0 -4px 0 #ffdc98;-webkit-box-shadow:inset 0 -4px 0 #ffdc98}.single-article__text blockquote{font-size:.9em;background-color:#fffbf4;font-style:normal;border-left:5px solid #fea700;padding:1rem 10px 15px 25px;margin-bottom:1rem}.single-article__text blockquote h1,.single-article__text blockquote h2,.single-article__text blockquote h3,.single-article__text blockquote h4{color:#4e4b46}.single-article__text blockquote p,.single-article__text blockquote pre{color:#281c05}.single-article__text p{margin-bottom:20px}.single-article__text p strong{color:#0d0d0d}.comments{width:100%;background-color:#fbfbfb;padding:50px 0}.comments .comments-wrap{width:60%;padding-left:1%;margin:0 auto}.comments .comment__responses__form{width:100%;position:relative;padding-bottom:20px;margin-bottom:40px;border-bottom:1px dotted #b2b2b2}.comments .comment__responses__form .user-avatar{width:34px;position:absolute;left:10px;top:17px;height:34px;border-radius:50%;overflow:hidden}.comments .comment__responses__form .user-avatar img{max-width:100%}.comments .comment__responses__form textarea{width:100%;height:64px;resize:none;border:1px solid #f0f0f0;background-color:#fff;padding-left:50px;font-size:16px;color:#0d0d0d;box-sizing:border-box;margin-bottom:50px}.comment__responses__title,.count-comments{color:#0d0d0d;font-family:Concourse T3;font-size:20px;font-weight:700;line-height:30px;margin-bottom:10px}.sort-comments{display:-webkit-box;display:-ms-flexbox;display:flex;color:#0d0d0d;font-family:Concourse T3;font-size:16px;font-weight:400;line-height:30px}.sort-comments select{border:1px solid #f0f0f0;background-color:#fff;padding:4px 10px}.responses__form__info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.sort__text{margin-right:10px}.comment__item{margin-bottom:50px}.comment__item.border--active{border-left:3px solid #fea700}.comment__title{background-color:#fea700;padding:5px 12px;color:#281c05;font-family:Concourse T3;font-size:17px;font-weight:900}.reply--comment{padding-left:57px;border:none}.reply--comment .comment__title{background-color:#fcdda2}.comment__text{color:#0d0d0d;font-family:Concourse T3;font-size:17px;font-weight:400;line-height:26px;padding-bottom:30px}.comment__content{padding:20px 0 30px 15px}.comment__control{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px}.comment__control a{display:inline-block;margin-right:5px;color:#187ba3}.comment__control .date{color:#737277}.archives{padding-right:5%}.archive__item{margin-bottom:100px}.archive__title{font-size:46px;font-weight:700;line-height:33px}.archive__date,.archive__title{font-family:Concourse T3;color:#0d0d0d}.archive__date{font-size:24px;font-style:italic;margin-bottom:50px}.archive__content__item{color:#737277;font-family:Concourse T3;font-size:22px;font-weight:400;line-height:32px;margin-bottom:5px}.archive__content__item a{color:#187ba3;font-weight:700;text-decoration:underline}.sidebar{width:20%;background-color:#fff;padding-left:4vw}.categories{margin-bottom:30px}.categories__title{font-size:14px;font-weight:700;line-height:52px;text-transform:uppercase;letter-spacing:.56px}.categories__item,.categories__title{color:#17171a;font-family:Concourse T3}.categories__item{display:block;font-size:16px;font-weight:400;letter-spacing:.32px;line-height:30px;line-height:35px;text-transform:capitalize}.categories__item span{display:inline-block;font-size:20px;margin-left:10px;transition:all .2s ease}.categories__item.view-all{text-decoration:underline;display:inline-block;margin-top:15px}.login{margin-bottom:10px}.buttons-wrap{margin:40px 0}.tags__title{font-family:Concourse T3;font-weight:700;line-height:52px;text-transform:uppercase;letter-spacing:.56px}.tags__item,.tags__title{color:#17171a;font-size:14px}.tags__item{display:inline-block;padding:3px 6px;line-height:20px;background-color:#fafafa;border:1px solid #f0f0f0;border-radius:2px;margin:5px;margin-left:0}.tags__item:hover{background-color:#f0f0f0}footer{border-top:1px dotted #b2b2b2;border-bottom:0 dotted #737277}.footer__content{width:80%}.footer__content .container{padding:0}.footer__content{padding:80px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.footer__content .footer__item{width:25%}.footer__link{display:block;font-size:16px}.copyright,.footer__link{color:#737277;font-family:Concourse T3;font-weight:400;line-height:34px}.copyright{padding:50px 0;font-size:15px}.copyright .container{text-align:left}@media only screen and (max-width:1400px){.container{max-width:1300px;padding:0 10px!important}}@media only screen and (max-width:1000px){.container{max-width:100%;width:100%;padding:0 10px!important}.alert-message{display:none}.menu .menu__item{margin-right:10px}.articles__wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.article__item.full-width{width:100%}.sidebar{width:30%}.first-wrap .article__item{padding-left:0}.article__item,.footer__content{width:100%}.article-sidebar{display:none}.article-content{width:100%}.archives{padding-right:0}.popular-section .articles__wrap.first-wrap .article__item,.popular-section .articles__wrap.first-wrap .article__item:nth-child(2n){width:100%}}@media only screen and (max-width:1000px){.logo{width:110px}.first-article .article__title a{font-size:45px;line-height:50px}.base-text{font-size:20px}.sidebar{padding-left:30px}} \ No newline at end of file diff --git a/themes/my-theme/static/fonts/ConcourseC4.woff b/themes/my-theme/static/fonts/ConcourseC4.woff new file mode 100644 index 0000000..e2a6b17 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseC4.woff differ diff --git a/themes/my-theme/static/fonts/ConcourseC4.woff2 b/themes/my-theme/static/fonts/ConcourseC4.woff2 new file mode 100644 index 0000000..8ac07ec Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseC4.woff2 differ diff --git a/themes/my-theme/static/fonts/ConcourseT2-Bold.woff b/themes/my-theme/static/fonts/ConcourseT2-Bold.woff new file mode 100644 index 0000000..133e8f9 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT2-Bold.woff differ diff --git a/themes/my-theme/static/fonts/ConcourseT2-Bold.woff2 b/themes/my-theme/static/fonts/ConcourseT2-Bold.woff2 new file mode 100644 index 0000000..f8d8906 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT2-Bold.woff2 differ diff --git a/themes/my-theme/static/fonts/ConcourseT3-Bold.woff b/themes/my-theme/static/fonts/ConcourseT3-Bold.woff new file mode 100644 index 0000000..70a9bd6 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT3-Bold.woff differ diff --git a/themes/my-theme/static/fonts/ConcourseT3-Bold.woff2 b/themes/my-theme/static/fonts/ConcourseT3-Bold.woff2 new file mode 100644 index 0000000..b11c6c1 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT3-Bold.woff2 differ diff --git a/themes/my-theme/static/fonts/ConcourseT3-Italic.woff b/themes/my-theme/static/fonts/ConcourseT3-Italic.woff new file mode 100644 index 0000000..f5fddc3 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT3-Italic.woff differ diff --git a/themes/my-theme/static/fonts/ConcourseT3-Italic.woff2 b/themes/my-theme/static/fonts/ConcourseT3-Italic.woff2 new file mode 100644 index 0000000..4f83061 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT3-Italic.woff2 differ diff --git a/themes/my-theme/static/fonts/ConcourseT3.woff b/themes/my-theme/static/fonts/ConcourseT3.woff new file mode 100644 index 0000000..7025e92 Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT3.woff differ diff --git a/themes/my-theme/static/fonts/ConcourseT3.woff2 b/themes/my-theme/static/fonts/ConcourseT3.woff2 new file mode 100644 index 0000000..d446c9d Binary files /dev/null and b/themes/my-theme/static/fonts/ConcourseT3.woff2 differ diff --git a/themes/my-theme/static/fonts/GothamPro-Light.woff b/themes/my-theme/static/fonts/GothamPro-Light.woff new file mode 100644 index 0000000..aa16580 Binary files /dev/null and b/themes/my-theme/static/fonts/GothamPro-Light.woff differ diff --git a/themes/my-theme/static/fonts/GothamPro-Light.woff2 b/themes/my-theme/static/fonts/GothamPro-Light.woff2 new file mode 100644 index 0000000..56878ea Binary files /dev/null and b/themes/my-theme/static/fonts/GothamPro-Light.woff2 differ diff --git a/themes/my-theme/static/fonts/GothamPro.woff b/themes/my-theme/static/fonts/GothamPro.woff new file mode 100644 index 0000000..6764b1b Binary files /dev/null and b/themes/my-theme/static/fonts/GothamPro.woff differ diff --git a/themes/my-theme/static/fonts/GothamPro.woff2 b/themes/my-theme/static/fonts/GothamPro.woff2 new file mode 100644 index 0000000..e3a4088 Binary files /dev/null and b/themes/my-theme/static/fonts/GothamPro.woff2 differ diff --git a/themes/my-theme/static/fonts/MinionPro-Regular.woff b/themes/my-theme/static/fonts/MinionPro-Regular.woff new file mode 100644 index 0000000..3b3c3ed Binary files /dev/null and b/themes/my-theme/static/fonts/MinionPro-Regular.woff differ diff --git a/themes/my-theme/static/fonts/MinionPro-Regular.woff2 b/themes/my-theme/static/fonts/MinionPro-Regular.woff2 new file mode 100644 index 0000000..abef17a Binary files /dev/null and b/themes/my-theme/static/fonts/MinionPro-Regular.woff2 differ diff --git a/themes/my-theme/static/images-theme/avatar.png b/themes/my-theme/static/images-theme/avatar.png new file mode 100644 index 0000000..f91e165 Binary files /dev/null and b/themes/my-theme/static/images-theme/avatar.png differ diff --git a/themes/my-theme/static/images-theme/favicon.ico b/themes/my-theme/static/images-theme/favicon.ico new file mode 100644 index 0000000..fe9d241 Binary files /dev/null and b/themes/my-theme/static/images-theme/favicon.ico differ diff --git a/themes/my-theme/static/images-theme/icon-arrow-link.svg b/themes/my-theme/static/images-theme/icon-arrow-link.svg new file mode 100644 index 0000000..4edde36 --- /dev/null +++ b/themes/my-theme/static/images-theme/icon-arrow-link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/static/images-theme/icon-arrow.png b/themes/my-theme/static/images-theme/icon-arrow.png new file mode 100644 index 0000000..2edfb44 Binary files /dev/null and b/themes/my-theme/static/images-theme/icon-arrow.png differ diff --git a/themes/my-theme/static/images-theme/icon-close.svg b/themes/my-theme/static/images-theme/icon-close.svg new file mode 100644 index 0000000..dffa289 --- /dev/null +++ b/themes/my-theme/static/images-theme/icon-close.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/static/images-theme/icon-comments.svg b/themes/my-theme/static/images-theme/icon-comments.svg new file mode 100644 index 0000000..2365daf --- /dev/null +++ b/themes/my-theme/static/images-theme/icon-comments.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/static/images-theme/icon-dollar.svg b/themes/my-theme/static/images-theme/icon-dollar.svg new file mode 100644 index 0000000..16e683b --- /dev/null +++ b/themes/my-theme/static/images-theme/icon-dollar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/static/images-theme/icon-search.svg b/themes/my-theme/static/images-theme/icon-search.svg new file mode 100644 index 0000000..031cd02 --- /dev/null +++ b/themes/my-theme/static/images-theme/icon-search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/my-theme/static/images-theme/logo.png b/themes/my-theme/static/images-theme/logo.png new file mode 100644 index 0000000..c5ffcfb Binary files /dev/null and b/themes/my-theme/static/images-theme/logo.png differ diff --git a/themes/my-theme/static/js/common.min.js b/themes/my-theme/static/js/common.min.js new file mode 100644 index 0000000..c0576ad --- /dev/null +++ b/themes/my-theme/static/js/common.min.js @@ -0,0 +1 @@ +!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,i){for(var u,a,f,s=0,l=[];s0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return Te(t)?ke.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?ke.grep(e,function(e){return e===t!==n}):"string"!=typeof t?ke.grep(e,function(e){return ge.call(t,e)>-1!==n}):ke.filter(t,e,n)}function f(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function p(e){var t={};return ke.each(e.match(Pe)||[],function(e,n){t[n]=!0}),t}function d(e){return e}function h(e){throw e}function g(e,t,n,r){var i;try{e&&Te(i=e.promise)?i.call(e).done(t).fail(n):e&&Te(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function m(){ce.removeEventListener("DOMContentLoaded",m),n.removeEventListener("load",m),ke.ready()}function v(e,t){return t.toUpperCase()}function y(e){return e.replace(We,"ms-").replace($e,v)}function x(){this.expando=ke.expando+x.uid++}function b(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ue.test(e)?JSON.parse(e):e)}function w(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Xe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=b(n)}catch(e){}ze.set(e,t,n)}else n=void 0;return n}function T(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ke.css(e,t,"")},u=s(),l=n&&n[3]||(ke.cssNumber[t]?"":"px"),c=(ke.cssNumber[t]||"px"!==l&&+u)&&Ge.exec(ke.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)ke.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ke.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function _(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ke[r];return i||(t=n.body.appendChild(n.createElement(r)),i=ke.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ke[r]=i,i)}function C(e,t){for(var n,r,i=[],o=0,a=e.length;o-1)i&&i.push(o);else if(c=ke.contains(o.ownerDocument,o),a=k(p.appendChild(o),"script"),c&&E(a),n)for(f=0;o=a[f++];)tt.test(o.type||"")&&n.push(o);return p}function D(){return!0}function N(){return!1}function A(){try{return ce.activeElement}catch(e){}}function j(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)j(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=N;else if(!i)return e;return 1===o&&(a=i,i=function(e){return ke().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=ke.guid++)),e.each(function(){ke.event.add(this,t,i,r,n)})}function q(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?ke(e).children("tbody")[0]||e:e}function L(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function H(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function O(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Fe.hasData(e)&&(o=Fe.access(e),a=Fe.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n1&&"string"==typeof h&&!we.checkClone&&ct.test(h))return e.each(function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),M(o,t,n,r)});if(p&&(i=S(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=ke.map(k(i,"script"),L),u=s.length;f=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function U(e,t,n){var r=dt(e),i=I(e,t,r),o="border-box"===ke.css(e,"boxSizing",!1,r),a=o;if(pt.test(i)){if(!n)return i;i="auto"}return a=a&&(we.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===ke.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+z(e,t,n||(o?"border":"content"),a,r,i)+"px"}function X(e,t,n,r,i){return new X.prototype.init(e,t,n,r,i)}function V(){Tt&&(!1===ce.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(V):n.setTimeout(V,ke.fx.interval),ke.fx.tick())}function G(){return n.setTimeout(function(){wt=void 0}),wt=Date.now()}function Y(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Ye[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Q(e,t,n){for(var r,i=(Z.tweeners[t]||[]).concat(Z.tweeners["*"]),o=0,a=i.length;o=0&&nw.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[R]=!0,e}function i(e){var t=j.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Te(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function f(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var i=0,o=n.length;i-1&&(r[l]=!(a[l]=f))}}else x=g(x===a?x.splice(m,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function v(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return K(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==S)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s1&&d(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s0,o=e.length>0,a=function(r,a,s,u,l){var c,f,p,d=0,h="0",m=r&&[],v=[],y=S,x=r||o&&w.find.TAG("*",l),b=W+=null==y?1:Math.random()||.1,T=x.length;for(l&&(S=a===j||a||l);h!==T&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===j||(A(c),s=!L);p=e[f++];)if(p(c,a||j,s)){u.push(c);break}l&&(W=b)}i&&((c=!p&&c)&&d--,r&&m.push(c))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];)p(m,v,a,s);if(r){if(d>0)for(;h--;)m[h]||v[h]||(v[h]=G.call(u));v=g(v)}Q.apply(u,v),l&&!r&&v.length>0&&d+n.length>1&&t.uniqueSort(u)}return l&&(W=b,S=y),m};return i?r(a):a}var x,b,w,T,_,C,k,E,S,D,N,A,j,q,L,H,O,P,M,R="sizzle"+1*new Date,I=e.document,W=0,$=0,B=n(),F=n(),z=n(),U=function(e,t){return e===t&&(N=!0),0},X={}.hasOwnProperty,V=[],G=V.pop,Y=V.push,Q=V.push,J=V.slice,K=function(e,t){for(var n=0,r=e.length;n+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ye=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){A()},Te=p(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(V=J.call(I.childNodes),I.childNodes),V[I.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},_=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:I;return r!==j&&9===r.nodeType&&r.documentElement?(j=r,q=j.documentElement,L=!_(j),I!==j&&(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(j.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(j.getElementsByClassName),b.getById=i(function(e){return q.appendChild(e).id=R,!j.getElementsByName||!j.getElementsByName(R).length}),b.getById?(w.filter.ID=function(e){var t=e.replace(ve,ye);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ve,ye);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},O=[],H=[],(b.qsa=he.test(j.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||H.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+R+"-]").length||H.push("~="),e.querySelectorAll(":checked").length||H.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||H.push(".#.+[+~]")}),i(function(e){e.innerHTML="";var t=j.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&H.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&H.push(":enabled",":disabled"),q.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&H.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),H.push(",.*:")})),(b.matchesSelector=he.test(P=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){b.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),O.push("!=",re)}),H=H.length&&new RegExp(H.join("|")),O=O.length&&new RegExp(O.join("|")),t=he.test(q.compareDocumentPosition),M=t||he.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===j||e.ownerDocument===I&&M(I,e)?-1:t===j||t.ownerDocument===I&&M(I,t)?1:D?K(D,e)-K(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===j?-1:t===j?1:i?-1:o?1:D?K(D,e)-K(D,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===I?-1:u[r]===I?1:0},j):j},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==j&&A(e),n=n.replace(ue,"='$1']"),b.matchesSelector&&L&&!z[n+" "]&&(!O||!O.test(n))&&(!H||!H.test(n)))try{var r=P.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,j,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==j&&A(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==j&&A(e);var n=w.attrHandle[t.toLowerCase()],r=n&&X.call(w.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:b.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(N=!b.detectDuplicates,D=!b.sortStable&&e.slice(0),e.sort(U),N){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,ye),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ye),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,ye).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(p=m,f=p[R]||(p[R]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],d=l[0]===W&&l[1],x=d&&l[2],p=d&&m.childNodes[d];p=++d&&p&&p[g]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){c[e]=[W,d,x];break}}else if(y&&(p=t,f=p[R]||(p[R]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],d=l[0]===W&&l[1],x=d),!1===x)for(;(p=++d&&p&&p[g]||(x=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++x||(y&&(f=p[R]||(p[R]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),c[e]=[W,x]),p!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(oe,"$1"));return i[R]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ye),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ye).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=o[0]).type&&9===t.nodeType&&L&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ve,ye),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(ve,ye),me.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return Q.apply(n,r),n;break}}return(c||k(e,p))(r,t,!L,n,!t||me.test(e)&&l(t.parentNode)||t),n},b.sortStable=R.split("").sort(U).join("")===R,b.detectDuplicates=!!N,A(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(j.createElement("fieldset"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);ke.find=Se,ke.expr=Se.selectors,ke.expr[":"]=ke.expr.pseudos,ke.uniqueSort=ke.unique=Se.uniqueSort,ke.text=Se.getText,ke.isXMLDoc=Se.isXML,ke.contains=Se.contains,ke.escapeSelector=Se.escape;var De=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&ke(e).is(n))break;r.push(e)}return r},Ne=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ae=ke.expr.match.needsContext,je=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;ke.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ke.find.matchesSelector(r,e)?[r]:[]:ke.find.matches(e,ke.grep(t,function(e){return 1===e.nodeType}))},ke.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ke(e).filter(function(){for(t=0;t1?ke.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Ae.test(e)?ke(e):e||[],!1).length}});var qe,Le=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ke.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||qe,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Le.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ke?t[0]:t,ke.merge(this,ke.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ce,!0)),je.test(r[1])&&ke.isPlainObject(t))for(r in t)Te(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=ce.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):Te(e)?void 0!==n.ready?n.ready(e):e(ke):ke.makeArray(e,this)}).prototype=ke.fn,qe=ke(ce);var He=/^(?:parents|prev(?:Until|All))/,Oe={children:!0,contents:!0,next:!0,prev:!0};ke.fn.extend({has:function(e){var t=ke(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&ke.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ke.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ge.call(ke(e),this[0]):ge.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ke.uniqueSort(ke.merge(this.get(),ke(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ke.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return De(e,"parentNode")},parentsUntil:function(e,t,n){return De(e,"parentNode",n)},next:function(e){return f(e,"nextSibling")},prev:function(e){return f(e,"previousSibling")},nextAll:function(e){return De(e,"nextSibling")},prevAll:function(e){return De(e,"previousSibling")},nextUntil:function(e,t,n){return De(e,"nextSibling",n)},prevUntil:function(e,t,n){return De(e,"previousSibling",n)},siblings:function(e){return Ne((e.parentNode||{}).firstChild,e)},children:function(e){return Ne(e.firstChild)},contents:function(e){return l(e,"iframe")?e.contentDocument:(l(e,"template")&&(e=e.content||e),ke.merge([],e.childNodes))}},function(e,t){ke.fn[e]=function(n,r){var i=ke.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ke.filter(r,i)),this.length>1&&(Oe[e]||ke.uniqueSort(i),He.test(e)&&i.reverse()),this.pushStack(i)}});var Pe=/[^\x20\t\r\n\f]+/g;ke.Callbacks=function(e){e="string"==typeof e?p(e):ke.extend({},e);var t,n,r,i,o=[],a=[],u=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;u=-1)for(n=a.shift();++u-1;)o.splice(n,1),n<=u&&u--}),this},has:function(e){return e?ke.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},ke.extend({Deferred:function(e){var t=[["notify","progress",ke.Callbacks("memory"),ke.Callbacks("memory"),2],["resolve","done",ke.Callbacks("once memory"),ke.Callbacks("once memory"),0,"resolved"],["reject","fail",ke.Callbacks("once memory"),ke.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return ke.Deferred(function(n){ke.each(t,function(t,r){var i=Te(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&Te(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){function o(e,t,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(e=a&&(r!==h&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?c():(ke.Deferred.getStackHook&&(c.stackTrace=ke.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return ke.Deferred(function(n){t[0][3].add(o(0,n,Te(i)?i:d,n.notifyWith)),t[1][3].add(o(0,n,Te(e)?e:d)),t[2][3].add(o(0,n,Te(r)?r:h))}).promise()},promise:function(e){return null!=e?ke.extend(e,i):i}},o={};return ke.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=pe.call(arguments),o=ke.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?pe.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(g(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||Te(i[n]&&i[n].then)))return o.then();for(;n--;)g(i[n],a(n),o.reject);return o.promise()}});var Me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ke.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Me.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ke.readyException=function(e){n.setTimeout(function(){throw e})};var Re=ke.Deferred();ke.fn.ready=function(e){return Re.then(e).catch(function(e){ke.readyException(e)}),this},ke.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ke.readyWait:ke.isReady)||(ke.isReady=!0,!0!==e&&--ke.readyWait>0||Re.resolveWith(ce,[ke]))}}),ke.ready.then=Re.then,"complete"===ce.readyState||"loading"!==ce.readyState&&!ce.documentElement.doScroll?n.setTimeout(ke.ready):(ce.addEventListener("DOMContentLoaded",m),n.addEventListener("load",m));var Ie=function(e,t,n,r,i,o,a){var u=0,l=e.length,c=null==n;if("object"===s(n)){i=!0;for(u in n)Ie(e,t,u,n[u],!0,o,a)}else if(void 0!==r&&(i=!0,Te(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(ke(e),n)})),t))for(;u1,null,!0)},removeData:function(e){return this.each(function(){ze.remove(this,e)})}}),ke.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Fe.get(e,t),n&&(!r||Array.isArray(n)?r=Fe.access(e,t,ke.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ke.queue(e,t),r=n.length,i=n.shift(),o=ke._queueHooks(e,t),a=function(){ke.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Fe.get(e,n)||Fe.access(e,n,{empty:ke.Callbacks("once memory").add(function(){Fe.remove(e,[t+"queue",n])})})}}),ke.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,tt=/^$|^module$|\/(?:java|ecma)script/i,nt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};nt.optgroup=nt.option,nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var rt=/<|&#?\w+;/;!function(){var e=ce.createDocumentFragment(),t=e.appendChild(ce.createElement("div")),n=ce.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),we.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",we.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var it=ce.documentElement,ot=/^key/,at=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,st=/^([^.]*)(?:\.(.+)|)/;ke.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,m=Fe.get(e);if(m)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&ke.find.matchesSelector(it,i),n.guid||(n.guid=ke.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==ke&&ke.event.triggered!==t.type?ke.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Pe)||[""],l=t.length;l--;)s=st.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d&&(f=ke.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ke.event.special[d]||{},c=ke.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ke.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ke.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,m=Fe.hasData(e)&&Fe.get(e);if(m&&(u=m.events)){for(t=(t||"").match(Pe)||[""],l=t.length;l--;)if(s=st.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){for(f=ke.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||ke.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)ke.event.remove(e,d+t[l],n,r,!0);ke.isEmptyObject(u)&&Fe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=ke.event.fix(e),u=new Array(arguments.length),l=(Fe.get(this,"events")||{})[s.type]||[],c=ke.event.special[s.type]||{};for(u[0]=s,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:ke.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,lt=/\s*$/g;ke.extend({htmlPrefilter:function(e){return e.replace(ut,"<$1>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=ke.contains(e.ownerDocument,e);if(!(we.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ke.isXMLDoc(e)))for(a=k(s),o=k(e),r=0,i=o.length;r0&&E(a,!u&&k(e,"script")),s},cleanData:function(e){for(var t,n,r,i=ke.event.special,o=0;void 0!==(n=e[o]);o++)if(Be(n)){if(t=n[Fe.expando]){if(t.events)for(r in t.events)i[r]?ke.event.remove(n,r):ke.removeEvent(n,r,t.handle);n[Fe.expando]=void 0}n[ze.expando]&&(n[ze.expando]=void 0)}}}),ke.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?ke.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){q(this,e).appendChild(e)}})},prepend:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=q(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ke.cleanData(k(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ke.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!lt.test(e)&&!nt[(et.exec(e)||["",""])[1].toLowerCase()]){e=ke.htmlPrefilter(e);try{for(;n1)}}),ke.Tween=X,X.prototype={constructor:X,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ke.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ke.cssNumber[n]?"":"px")},cur:function(){var e=X.propHooks[this.prop];return e&&e.get?e.get(this):X.propHooks._default.get(this)},run:function(e){var t,n=X.propHooks[this.prop];return this.options.duration?this.pos=t=ke.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):X.propHooks._default.set(this),this}},X.prototype.init.prototype=X.prototype,X.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ke.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ke.fx.step[e.prop]?ke.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ke.cssProps[e.prop]]&&!ke.cssHooks[e.prop]?e.elem[e.prop]=e.now:ke.style(e.elem,e.prop,e.now+e.unit)}}},X.propHooks.scrollTop=X.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ke.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ke.fx=X.prototype.init,ke.fx.step={};var wt,Tt,_t=/^(?:toggle|show|hide)$/,Ct=/queueHooks$/;ke.Animation=ke.extend(Z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return T(n.elem,e,Ge.exec(t),n),n}]},tweener:function(e,t){Te(e)?(t=e,e=["*"]):e=e.match(Pe);for(var n,r=0,i=e.length;r1)},removeAttr:function(e){return this.each(function(){ke.removeAttr(this,e)})}}),ke.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?ke.prop(e,t,n):(1===o&&ke.isXMLDoc(e)||(i=ke.attrHooks[t.toLowerCase()]||(ke.expr.match.bool.test(t)?kt:void 0)),void 0!==n?null===n?void ke.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=ke.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!we.radioValue&&"radio"===t&&l(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Pe);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),kt={set:function(e,t,n){return!1===t?ke.removeAttr(e,n):e.setAttribute(n,n),n}},ke.each(ke.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Et[t]||ke.find.attr;Et[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Et[a],Et[a]=i,i=null!=n(e,t,r)?a:null,Et[a]=o),i}});var St=/^(?:input|select|textarea|button)$/i,Dt=/^(?:a|area)$/i;ke.fn.extend({prop:function(e,t){return Ie(this,ke.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ke.propFix[e]||e]})}}),ke.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ke.isXMLDoc(e)||(t=ke.propFix[t]||t,i=ke.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ke.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),we.optSelected||(ke.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ke.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ke.propFix[this.toLowerCase()]=this}),ke.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(Te(e))return this.each(function(t){ke(this).addClass(e.call(this,t,te(this)))});if(t=ne(e),t.length)for(;n=this[u++];)if(i=te(n),r=1===n.nodeType&&" "+ee(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=ee(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(Te(e))return this.each(function(t){ke(this).removeClass(e.call(this,t,te(this)))});if(!arguments.length)return this.attr("class","");if(t=ne(e),t.length)for(;n=this[u++];)if(i=te(n),r=1===n.nodeType&&" "+ee(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=ee(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):Te(e)?this.each(function(n){ke(this).toggleClass(e.call(this,n,te(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=ke(this),a=ne(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=te(this),t&&Fe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Fe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ee(te(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nt=/\r/g;ke.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=Te(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ke(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=ke.map(i,function(e){return null==e?"":e+""})),(t=ke.valHooks[this.type]||ke.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=ke.valHooks[i.type]||ke.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Nt,""):null==n?"":n)}}}),ke.extend({valHooks:{option:{get:function(e){var t=ke.find.attr(e,"value");return null!=t?t:ee(ke.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ke.each(["radio","checkbox"],function(){ke.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=ke.inArray(ke(e).val(),t)>-1}},we.checkOn||(ke.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),we.focusin="onfocusin"in n;var At=/^(?:focusinfocus|focusoutblur)$/,jt=function(e){e.stopPropagation()};ke.extend(ke.event,{trigger:function(e,t,r,i){var o,a,s,u,l,c,f,p,d=[r||ce],h=ye.call(e,"type")?e.type:e,g=ye.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=r=r||ce,3!==r.nodeType&&8!==r.nodeType&&!At.test(h+ke.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),l=h.indexOf(":")<0&&"on"+h,e=e[ke.expando]?e:new ke.Event(h,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:ke.makeArray(t,[e]),f=ke.event.special[h]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!_e(r)){for(u=f.delegateType||h,At.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(r.ownerDocument||ce)&&d.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=d[o++])&&!e.isPropagationStopped();)p=a,e.type=o>1?u:f.bindType||h,c=(Fe.get(a,"events")||{})[e.type]&&Fe.get(a,"handle"),c&&c.apply(a,t),(c=l&&a[l])&&c.apply&&Be(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),t)||!Be(r)||l&&Te(r[h])&&!_e(r)&&(s=r[l],s&&(r[l]=null),ke.event.triggered=h,e.isPropagationStopped()&&p.addEventListener(h,jt),r[h](),e.isPropagationStopped()&&p.removeEventListener(h,jt),ke.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,n){var r=ke.extend(new ke.Event,n,{type:e,isSimulated:!0});ke.event.trigger(r,null,t)}}),ke.fn.extend({trigger:function(e,t){return this.each(function(){ke.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ke.event.trigger(e,t,n,!0)}}),we.focusin||ke.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ke.event.simulate(t,e.target,ke.event.fix(e))};ke.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Fe.access(r,t);i||r.addEventListener(e,n,!0),Fe.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Fe.access(r,t)-1;i?Fe.access(r,t,i):(r.removeEventListener(e,n,!0),Fe.remove(r,t))}}});var qt=n.location,Lt=Date.now(),Ht=/\?/;ke.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||ke.error("Invalid XML: "+e),t};var Ot=/\[\]$/,Pt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;ke.param=function(e,t){var n,r=[],i=function(e,t){var n=Te(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!ke.isPlainObject(e))ke.each(e,function(){i(this.name,this.value)});else for(n in e)re(n,e[n],t,i);return r.join("&")},ke.fn.extend({serialize:function(){return ke.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ke.prop(this,"elements");return e?ke.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ke(this).is(":disabled")&&Rt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!Ze.test(e))}).map(function(e,t){var n=ke(this).val();return null==n?null:Array.isArray(n)?ke.map(n,function(e){return{name:t.name,value:e.replace(Pt,"\r\n")}}):{name:t.name,value:n.replace(Pt,"\r\n")}}).get()}});var It=/%20/g,Wt=/#.*$/,$t=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zt=/^(?:GET|HEAD)$/,Ut=/^\/\//,Xt={},Vt={},Gt="*/".concat("*"),Yt=ce.createElement("a");Yt.href=qt.href,ke.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qt.href,type:"GET",isLocal:Ft.test(qt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ke.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ae(ae(e,ke.ajaxSettings),t):ae(ke.ajaxSettings,e)},ajaxPrefilter:ie(Xt),ajaxTransport:ie(Vt),ajax:function(e,t){function r(e,t,r,s){var l,p,d,b,w,T=t;c||(c=!0,u&&n.clearTimeout(u),i=void 0,a=s||"",_.readyState=e>0?4:0,l=e>=200&&e<300||304===e,r&&(b=se(h,_,r)),b=ue(h,b,_,l),l?(h.ifModified&&(w=_.getResponseHeader("Last-Modified"),w&&(ke.lastModified[o]=w),(w=_.getResponseHeader("etag"))&&(ke.etag[o]=w)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=b.state,p=b.data,d=b.error,l=!d)):(d=T,!e&&T||(T="error",e<0&&(e=0))),_.status=e,_.statusText=(t||T)+"",l?v.resolveWith(g,[p,T,_]):v.rejectWith(g,[_,T,d]),_.statusCode(x),x=void 0,f&&m.trigger(l?"ajaxSuccess":"ajaxError",[_,h,l?p:d]),y.fireWith(g,[_,T]),f&&(m.trigger("ajaxComplete",[_,h]),--ke.active||ke.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,a,s,u,l,c,f,p,d,h=ke.ajaxSetup({},t),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?ke(g):ke.event,v=ke.Deferred(),y=ke.Callbacks("once memory"),x=h.statusCode||{},b={},w={},T="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Bt.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)_.always(e[_.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),r(0,t),this}};if(v.promise(_),h.url=((e||h.url||qt.href)+"").replace(Ut,qt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Pe)||[""],null==h.crossDomain){l=ce.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Yt.protocol+"//"+Yt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ke.param(h.data,h.traditional)),oe(Xt,h,t,_),c)return _;f=ke.event&&h.global,f&&0==ke.active++&&ke.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!zt.test(h.type),o=h.url.replace(Wt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(It,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Ht.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace($t,"$1"),d=(Ht.test(o)?"&":"?")+"_="+Lt+++d),h.url=o+d),h.ifModified&&(ke.lastModified[o]&&_.setRequestHeader("If-Modified-Since",ke.lastModified[o]),ke.etag[o]&&_.setRequestHeader("If-None-Match",ke.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&_.setRequestHeader("Content-Type",h.contentType),_.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Gt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)_.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,_,h)||c))return _.abort();if(T="abort",y.add(h.complete),_.done(h.success),_.fail(h.error),i=oe(Vt,h,t,_)){if(_.readyState=1,f&&m.trigger("ajaxSend",[_,h]),c)return _;h.async&&h.timeout>0&&(u=n.setTimeout(function(){_.abort("timeout")},h.timeout));try{c=!1,i.send(b,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return _},getJSON:function(e,t,n){return ke.get(e,t,n,"json")},getScript:function(e,t){return ke.get(e,void 0,t,"script")}}),ke.each(["get","post"],function(e,t){ke[t]=function(e,n,r,i){return Te(n)&&(i=i||r,r=n,n=void 0),ke.ajax(ke.extend({url:e,type:t,dataType:i,data:n,success:r},ke.isPlainObject(e)&&e))}}),ke._evalUrl=function(e){return ke.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ke.fn.extend({wrapAll:function(e){var t;return this[0]&&(Te(e)&&(e=e.call(this[0])),t=ke(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return Te(e)?this.each(function(t){ke(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ke(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Te(e);return this.each(function(n){ke(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ke(this).replaceWith(this.childNodes)}),this}}),ke.expr.pseudos.hidden=function(e){return!ke.expr.pseudos.visible(e)},ke.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ke.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Jt=ke.ajaxSettings.xhr();we.cors=!!Jt&&"withCredentials"in Jt,we.ajax=Jt=!!Jt,ke.ajaxTransport(function(e){var t,r;if(we.cors||Jt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),ke.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ke.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ke.globalEval(e),e}}}),ke.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ke.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=ke("