diff --git a/pom.xml b/pom.xml index 4b98de04c..3108b5b89 100755 --- a/pom.xml +++ b/pom.xml @@ -363,6 +363,11 @@ true + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.0 + diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiArchivesController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiArchivesController.java index 3b58f0ba5..ad79cc410 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiArchivesController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiArchivesController.java @@ -31,6 +31,45 @@ public class ApiArchivesController { /** * 根据年份归档 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "year": "",
+     *             "month": "",
+     *             "count": "",
+     *             "posts": [
+     *                 {
+     *                     "postId": "",
+     *                     "user": {},
+     *                     "postTitle": "",
+     *                     "postType": "",
+     *                     "postContentMd": "",
+     *                     "postContent": "",
+     *                     "postUrl": "",
+     *                     "postSummary": "",
+     *                     "categories": [],
+     *                     "tags": [],
+     *                     "comments": [],
+     *                     "postThumbnail": "",
+     *                     "postDate": "",
+     *                     "postUpdate": "",
+     *                     "postStatus": 0,
+     *                     "postViews": 0,
+     *                     "allowComment": 1,
+     *                     "customTpl": ""
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping(value = "/year") @@ -46,6 +85,45 @@ public class ApiArchivesController { /** * 根据月份归档 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "year": "",
+     *             "month": "",
+     *             "count": "",
+     *             "posts": [
+     *                 {
+     *                     "postId": "",
+     *                     "user": {},
+     *                     "postTitle": "",
+     *                     "postType": "",
+     *                     "postContentMd": "",
+     *                     "postContent": "",
+     *                     "postUrl": "",
+     *                     "postSummary": "",
+     *                     "categories": [],
+     *                     "tags": [],
+     *                     "comments": [],
+     *                     "postThumbnail": "",
+     *                     "postDate": "",
+     *                     "postUpdate": "",
+     *                     "postStatus": 0,
+     *                     "postViews": 0,
+     *                     "allowComment": 1,
+     *                     "customTpl": ""
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping(value = "/year/month") diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiCategoryController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiCategoryController.java index 5b06f986d..e24398d6d 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiCategoryController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiCategoryController.java @@ -28,6 +28,24 @@ public class ApiCategoryController { /** * 获取所有分类 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "cateId": "",
+     *             "cateName": "",
+     *             "cateUrl": "",
+     *             "cateDesc": ""
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping @@ -43,6 +61,22 @@ public class ApiCategoryController { /** * 获取单个分类的信息 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "cateId": "",
+     *         "cateName": "",
+     *         "cateUrl": "",
+     *         "cateDesc": ""
+     *     }
+     * }
+     *     
+ *

+ * * @param cateUrl 分类路径 * @return JsonResult */ diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiGalleryController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiGalleryController.java index e48a0c814..7c9441ce7 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiGalleryController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiGalleryController.java @@ -29,6 +29,27 @@ public class ApiGalleryController { /** * 获取所有图片 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "galleryId": ,
+     *             "galleryName": "",
+     *             "galleryDesc": "",
+     *             "galleryDate": "",
+     *             "galleryLocation": "",
+     *             "galleryThumbnailUrl": "",
+     *             "galleryUrl": ""
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping @@ -44,6 +65,27 @@ public class ApiGalleryController { /** * 获取单张图片的信息 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "galleryId": ,
+     *             "galleryName": "",
+     *             "galleryDesc": "",
+     *             "galleryDate": "",
+     *             "galleryLocation": "",
+     *             "galleryThumbnailUrl": "",
+     *             "galleryUrl": ""
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @param id id * @return JsonResult */ diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiLinkController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiLinkController.java index 15759bc48..dc6f5a7ba 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiLinkController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiLinkController.java @@ -31,6 +31,25 @@ public class ApiLinkController { /** * 获取所有友情链接 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "linkId": ,
+     *             "linkName": "",
+     *             "linkUrl": "",
+     *             "linkPic": "",
+     *             "linkDesc": ""
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiMenuController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiMenuController.java index 2c940a15e..d67cfd726 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiMenuController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiMenuController.java @@ -31,6 +31,26 @@ public class ApiMenuController { /** * 获取所有菜单 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "menuId": ,
+     *             "menuName": "",
+     *             "menuUrl": "",
+     *             "menuSort": ,
+     *             "menuIcon": "",
+     *             "menuTarget":
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiOptionController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiOptionController.java index 5c4a8572b..a140aa7b1 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiOptionController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiOptionController.java @@ -28,6 +28,31 @@ public class ApiOptionController { /** * 获取所有设置选项 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "blog_start": "",
+     *         "blog_locale": "",
+     *         "blog_url": "",
+     *         "api_token": "",
+     *         "api_status": "",
+     *         "blog_title": "",
+     *         "new_comment_notice": "",
+     *         "smtp_email_enable": "",
+     *         "attach_loc": "",
+     *         "theme": "",
+     *         "comment_reply_notice": "",
+     *         "is_install": "",
+     *         "comment_pass_notice": ""
+     *     }
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping @@ -45,6 +70,17 @@ public class ApiOptionController { /** * 获取单个设置项 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": ""
+     * }
+     *     
+ *

+ * * @param optionName 设置选项名称 * @return JsonResult */ diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiPageController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiPageController.java index 8e3587338..f2cc6c97a 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiPageController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiPageController.java @@ -27,6 +27,36 @@ public class ApiPageController { /** * 获取单个页面 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "postId": ,
+     *         "user": {},
+     *         "postTitle": "",
+     *         "postType": "",
+     *         "postContentMd": "",
+     *         "postContent": "",
+     *         "postUrl": "",
+     *         "postSummary": ,
+     *         "categories": [],
+     *         "tags": [],
+     *         "comments": [],
+     *         "postThumbnail": "",
+     *         "postDate": "",
+     *         "postUpdate": "",
+     *         "postStatus": 0,
+     *         "postViews": 0,
+     *         "allowComment": 1,
+     *         "customTpl": ""
+     *     }
+     * }
+     *     
+ *

+ * * @param postId postId * @return JsonResult */ diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiPostController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiPostController.java index ce99a6363..3bc667068 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiPostController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiPostController.java @@ -35,6 +35,65 @@ public class ApiPostController { /** * 获取文章列表 分页 * + *

+ * result api + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "content": [
+     *             {
+     *                 "postId": ,
+     *                 "user": {},
+     *                 "postTitle": "",
+     *                 "postType": "",
+     *                 "postContentMd": "",
+     *                 "postContent": "",
+     *                 "postUrl": "",
+     *                 "postSummary": "",
+     *                 "categories": [],
+     *                 "tags": [],
+     *                 "comments": [],
+     *                 "postThumbnail": "",
+     *                 "postDate": "",
+     *                 "postUpdate": "",
+     *                 "postStatus": 0,
+     *                 "postViews": 0,
+     *                 "allowComment": 1,
+     *                 "customTpl": ""
+     *             }
+     *         ],
+     *         "pageable": {
+     *             "sort": {
+     *                 "sorted": true,
+     *                 "unsorted": false,
+     *                 "empty": false
+     *             },
+     *             "offset": 0,
+     *             "pageSize": 10,
+     *             "pageNumber": 0,
+     *             "unpaged": false,
+     *             "paged": true
+     *         },
+     *         "last": true,
+     *         "totalElements": 1,
+     *         "totalPages": 1,
+     *         "size": 10,
+     *         "number": 0,
+     *         "first": true,
+     *         "numberOfElements": 1,
+     *         "sort": {
+     *             "sorted": true,
+     *             "unsorted": false,
+     *             "empty": false
+     *         },
+     *         "empty": false
+     *     }
+     * }
+     *     
+ *

+ * * @param page 页码 * @return JsonResult */ @@ -56,6 +115,36 @@ public class ApiPostController { /** * 获取单个文章信息 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "postId": ,
+     *         "user": {},
+     *         "postTitle": "",
+     *         "postType": "",
+     *         "postContentMd": "",
+     *         "postContent": "",
+     *         "postUrl": "",
+     *         "postSummary": "",
+     *         "categories": [],
+     *         "tags": [],
+     *         "comments": [],
+     *         "postThumbnail": "",
+     *         "postDate": "",
+     *         "postUpdate": "",
+     *         "postStatus": 0,
+     *         "postViews": 0,
+     *         "allowComment": 1,
+     *         "customTpl": ""
+     *     }
+     * }
+     *     
+ *

+ * * @param postId 文章编号 * @return JsonResult */ diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiTagController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiTagController.java index 3334a6a0e..174d54113 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiTagController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiTagController.java @@ -28,6 +28,23 @@ public class ApiTagController { /** * 获取所有标签 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": [
+     *         {
+     *             "tagId": ,
+     *             "tagName": "",
+     *             "tagUrl": ""
+     *         }
+     *     ]
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping @@ -43,6 +60,21 @@ public class ApiTagController { /** * 获取单个标签的信息 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "tagId": ,
+     *         "tagName": "",
+     *         "tagUrl": ""
+     *     }
+     * }
+     *     
+ *

+ * * @param tagUrl tagUrl * @return JsonResult */ diff --git a/src/main/java/cc/ryanc/halo/web/controller/api/ApiUserController.java b/src/main/java/cc/ryanc/halo/web/controller/api/ApiUserController.java index 26cdcbb58..edf679246 100644 --- a/src/main/java/cc/ryanc/halo/web/controller/api/ApiUserController.java +++ b/src/main/java/cc/ryanc/halo/web/controller/api/ApiUserController.java @@ -29,6 +29,23 @@ public class ApiUserController { /** * 获取博主信息 * + *

+ * result json: + *

+     * {
+     *     "code": 200,
+     *     "msg": "OK",
+     *     "result": {
+     *         "userId": ,
+     *         "userDisplayName": "",
+     *         "userEmail": "",
+     *         "userAvatar": "",
+     *         "userDesc": ""
+     *     }
+     * }
+     *     
+ *

+ * * @return JsonResult */ @GetMapping diff --git a/src/main/resources/templates/themes/icarus/README.md b/src/main/resources/templates/themes/icarus/README.md new file mode 100644 index 000000000..1b3bc74c6 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/README.md @@ -0,0 +1,137 @@ +

+ +
A simple, delicate, and modern theme for the static site generator Hexo. +
+Preview | +Documentation | +Download +
+

+ +![Icarus](http://ppoffice.github.io/hexo-theme-icarus/gallery/preview.png?1 "Icarus Preview") + +### :cd: Installation + +Download & extract or `git clone` Icarus from GitHub to your blog's theme folder, and that's it! + +```shell +git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus +``` + +Once started, Icarus will remind you of any missing dependencies and configuration files. + +### :gift: Features + +**Extensive Plugin Support** + +Icarus includes plentiful search, comment, sharing and other plugins out of the box. You can choose any of them to enrich your +blog experience, or build your own plugin easily referring to the existing Icarus plugins. + +Comment plugins + +- [Changyan](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/changyan-comment-plugin/) +- [Disqus](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/disqus-comment-plugin/) +- [Facebook](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/facebook-comment-plugin/) +- [Gitment](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/gitment-comment-plugin/) +- [Isso](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/isso-comment-plugin/) +- [LiveRe](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/livere-comment-plugin/) +- [Valine](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/valine-comment-plugin/) + +Search plugins + +- [Insight Search](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/insight-search-plugin/) +- [Google Custom Search Engine](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/google-cse-plugin/) +- [Baidu Site Search](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Search/baidu-search-plugin/) + +Share plugins + +- [AddThis](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/addthis-share-plugin/) +- [AddToAny](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/addtoany-share-plugin/) +- [Baidu Share](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/baidu-share-plugin/) +- [Share.js](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/share-js-share-plugin/) +- [ShareThis](http://ppoffice.github.io/hexo-theme-icarus/Plugins/Share/sharethis-share-plugin/) + +Other plugins + +- [Hexo Tag Plugin](http://ppoffice.github.io/hexo-theme-icarus/Configuration/Posts/hexo-built-in-tag-helpers/) +- [lightGallery & Justified Gallery](http://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/) +- [MathJax](http://ppoffice.github.io/hexo-theme-icarus/Plugins/General/mathjax-plugin/) +- [Site Analytics](http://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/) + +**Rich Code Highlight Theme Choices** + +Icarus directly import code highlight themes from the [highlight.js](https://highlightjs.org/) package, and makes more than +70 highlight themes available to you. + + + + + + + +
+ +**Elastic Theme Configuration** + +In addition to the minimalistic and easy-to-understand configuration design, Icarus allows you to set configurations on a +per-page basis with the ability to merge and override partial configurations. + +
+ + + + + + + + + + + + + +
_config.ymlpost.md
+
menu:
+    Archives: /archives
+    Categories: /categories
+    Tags: /tags
+    About: /about
+
+
title: A Simple Post
+menu:
+    Go Home: /index.html
+---
+# Here is some simple markdown.
+
+
+ +**Responsive Layout** + +No matter what modern browsering device your audiences are using, they can always get the best experience because Icarus's responsive +layout across multiple viewpoints. + +![Responsive Layout](http://ppoffice.github.io/hexo-theme-icarus/gallery/responsive.png) + +### :hammer: Development + +This project is built with + +- Hexo 3.7.1 +- Ejs +- Stylus +- Bulma 0.7.2 + +Please refer to the documentation for Icarus implementation details. + +### :tada: Contribute + +If you feel like to help us build a better Icarus, you can + +:electric_plug: Write a plugin | +:black_nib: Submit a tutorial | +:triangular_flag_on_post: Report a bug | +:earth_asia: Add a translation + +### :memo: License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/ppoffice/hexo-theme-icarus/blob/master/LICENSE) file for details. diff --git a/src/main/resources/templates/themes/icarus/includes/common/ConfigGenerator.js b/src/main/resources/templates/themes/icarus/includes/common/ConfigGenerator.js new file mode 100644 index 000000000..189d69592 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/common/ConfigGenerator.js @@ -0,0 +1,84 @@ +const yaml = require('js-yaml'); +const Type = require('js-yaml/lib/js-yaml/type'); +const Schema = require('js-yaml/lib/js-yaml/schema'); + +const { is, descriptors } = require('./utils'); +const { doc, type, requires, defaultValue } = descriptors; + +const UNDEFINED = Symbol('undefined'); +// output null as empty in yaml +const YAML_SCHEMA = new Schema({ + include: [ + require('js-yaml/lib/js-yaml/schema/default_full') + ], + implicit: [ + new Type('tag:yaml.org,2002:null', { + kind: 'scalar', + resolve(data) { + if (data === null) { + return true; + } + const max = data.length; + return (max === 1 && data === '~') || + (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')); + }, + construct: () => null, + predicate: object => object === null, + represent: { + empty: function () { return ''; } + }, + defaultStyle: 'empty' + }) + ] +}); + +function generate(spec, parentConfig = null) { + if (!is.spec(spec)) { + return UNDEFINED; + } + if (spec.hasOwnProperty(requires) && !spec[requires](parentConfig)) { + return UNDEFINED; + } + if (spec.hasOwnProperty(defaultValue)) { + return spec[defaultValue]; + } + const types = is.array(spec[type]) ? spec[type] : [spec[type]]; + if (types.includes('object')) { + let defaults = UNDEFINED; + for (let key in spec) { + if (key === '*') { + continue; + } + const value = generate(spec[key], defaults); + if (value !== UNDEFINED) { + if (defaults === UNDEFINED) { + defaults = {}; + } + if (spec[key].hasOwnProperty(doc)) { + defaults['#' + key] = spec[key][doc]; + } + defaults[key] = value; + } + } + return defaults; + } else if (types.includes('array') && spec.hasOwnProperty('*')) { + return [generate(spec['*'], {})]; + } + return UNDEFINED; +} + +class ConfigGenerator { + constructor(spec) { + this.spec = spec; + } + + generate() { + return yaml.safeDump(generate(this.spec), { + indent: 4, + lineWidth: 1024, + schema: YAML_SCHEMA + }).replace(/^(\s*)\'#.*?\':\s*\'*(.*?)\'*$/mg, '$1# $2'); // make comment lines + } +} + +module.exports = ConfigGenerator; diff --git a/src/main/resources/templates/themes/icarus/includes/common/ConfigValidator.js b/src/main/resources/templates/themes/icarus/includes/common/ConfigValidator.js new file mode 100644 index 000000000..f59440f40 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/common/ConfigValidator.js @@ -0,0 +1,132 @@ +const { is, descriptors } = require('./utils'); +const { type, required, requires, format, defaultValue } = descriptors; +const { + InvalidSpecError, + MissingRequiredError, + TypeMismatchError, + FormatMismatchError, + VersionMalformedError, + VersionNotFoundError, + VersionMismatchError } = require('./utils').errors; + +function isRequiresSatisfied(spec, config) { + try { + if (!spec.hasOwnProperty(requires) || spec[requires](config) === true) { + return true; + } + } catch (e) { } + return false; +} + +function getConfigType(spec, config) { + const specTypes = is.array(spec[type]) ? spec[type] : [spec[type]]; + for (let specType of specTypes) { + if (is[specType](config)) { + return specType; + } + } + return null; +} + +function hasFormat(spec, config) { + if (!spec.hasOwnProperty(format)) { + return true; + } + return spec[format].test(config); +} + +function validate(spec, config, parentConfig, path) { + if (!is.spec(spec)) { + throw new InvalidSpecError(spec, path); + } + if (!isRequiresSatisfied(spec, parentConfig)) { + return; + } + if (is.undefined(config) || is.null(config)) { + if (spec[required] === true) { + throw new MissingRequiredError(spec, path); + } + return; + } + const type = getConfigType(spec, config); + if (type === null) { + throw new TypeMismatchError(spec, path, config); + } + if (type === 'string') { + if (!hasFormat(spec, config)) { + throw new FormatMismatchError(spec, path, config); + } + } else if (type === 'array' && spec.hasOwnProperty('*')) { + config.forEach((child, i) => validate(spec['*'], child, config, path.concat(`[${i}]`))); + } else if (type === 'object') { + for (let key in spec) { + if (key === '*') { + Object.keys(config).forEach(k => validate(spec['*'], config[k], config, path.concat(k))); + } else { + validate(spec[key], config[key], config, path.concat(key)); + } + } + } +} + +function formatVersion(ver) { + const m = /^(\d)+\.(\d)+\.(\d)+(?:-([0-9A-Za-z-]+))*$/.exec(ver); + if (m === null) { + throw new VersionMalformedError(ver); + } + return { + major: m[1], + minor: m[2], + patch: m[3], + identifier: m.length > 4 ? m[4] : null + }; +} + +function compareVersion(ver1, ver2) { + for (let section of ['major', 'minor', 'patch']) { + if (ver1[section] !== ver2[section]) { + return Math.sign(ver1[section] - ver2[section]); + } + } + const id1 = ver1.hasOwnProperty('identifier') ? ver1.identifier : null; + const id2 = ver2.hasOwnProperty('identifier') ? ver2.identifier : null; + if (id1 === id2) { + return 0; + } + if (id1 === null) { + return 1; + } + if (id2 === null) { + return -1; + } + return id1.localeCompare(id2); +} + +function isBreakingChange(base, ver) { + return base.major !== ver.major; +} + + +function checkVersion(spec, config) { + if (!config.hasOwnProperty('version')) { + throw new VersionNotFoundError(); + } + const configVersion = formatVersion(config.version); + const specVersion = formatVersion(spec.version[defaultValue]); + if (isBreakingChange(specVersion, configVersion)) { + throw new VersionMismatchError(spec.version[defaultValue], config.version, compareVersion(specVersion, configVersion) > 0); + } +} + +class ConfigValidator { + constructor(spec) { + this.spec = spec; + } + + validate(config) { + checkVersion(this.spec, config); + validate(this.spec, config, null, []); + } +} + +module.exports = ConfigValidator; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/common/utils.js b/src/main/resources/templates/themes/icarus/includes/common/utils.js new file mode 100644 index 000000000..6508f7d3c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/common/utils.js @@ -0,0 +1,151 @@ +const doc = Symbol('@doc'); +const type = Symbol('@type'); +const format = Symbol('@format'); +const required = Symbol('@required'); +const requires = Symbol('@requires'); +const defaultValue = Symbol('@default'); + +const descriptors = { + doc, + type, + format, + requires, + required, + defaultValue +}; + +const is = (() => ({ + number(value) { + return typeof (value) === 'number'; + }, + string(value) { + return typeof (value) === 'string'; + }, + array(value) { + return Array.isArray(value); + }, + boolean(value) { + return typeof (value) === 'boolean'; + }, + object(value) { + return typeof (value) === 'object' && value.constructor == Object; + }, + function(value) { + return typeof (value) === 'function'; + }, + regexp(value) { + return value instanceof RegExp; + }, + undefined(value) { + return typeof (value) === 'undefined'; + }, + null(value) { + return value === null; + }, + spec(value) { + if (!value.hasOwnProperty(type)) { + return false; + } + if (!is.string(value[type]) && !is.array(value[type])) { + return false; + } + if (value.hasOwnProperty(doc) && !is.string(value[doc])) { + return false; + } + if (value.hasOwnProperty(required) && !is.boolean(value[required])) { + return false; + } + if (value.hasOwnProperty(requires) && !is.function(value[requires])) { + return false; + } + if (value.hasOwnProperty(format) && !is.regexp(value[format])) { + return false; + } + return true; + } +}))(); + +class ConfigError extends Error { + constructor(spec, path) { + super(); + this.spec = spec; + this.path = path; + } +} + +class InvalidSpecError extends ConfigError { + constructor(spec, path) { + super(spec, path); + this.message = `The specification '${path.join('.')}' is invalid.`; + } +} + +class MissingRequiredError extends ConfigError { + constructor(spec, path) { + super(spec, path); + this.message = `Configuration file do not have the required '${path.join('.')}' field.`; + } +} + +class TypeMismatchError extends ConfigError { + constructor(spec, path, config) { + super(spec, path); + this.config = config; + this.message = `Configuration '${path.join('.')}' is not one of the '${spec[type]}' type.`; + } +} + +class FormatMismatchError extends ConfigError { + constructor(spec, path, config) { + super(spec, path); + this.config = config; + this.message = `Configuration '${path.join('.')}' do not match the format '${spec[format]}'.`; + } +} + +class VersionError extends Error { +} + +class VersionNotFoundError extends VersionError { + constructor() { + super(`Version number is not found in the configuration file.`); + } +} + +class VersionMalformedError extends VersionError { + constructor(version) { + super(`Version number ${version} is malformed.`); + this.version = version; + } +} + +class VersionMismatchError extends VersionError { + constructor(specVersion, configVersion, isConfigVersionSmaller) { + super(); + this.specVersion = specVersion; + this.configVersion = configVersion; + if (isConfigVersionSmaller) { + this.message = `The configuration version ${configVersion} is far behind the specification version ${specVersion}.`; + } else { + this.message = `The configuration version ${configVersion} is way ahead of the specification version ${specVersion}.`; + } + } +} + +const errors = { + ConfigError, + InvalidSpecError, + MissingRequiredError, + TypeMismatchError, + FormatMismatchError, + VersionError, + VersionMalformedError, + VersionNotFoundError, + VersionMismatchError +} + +module.exports = { + is, + descriptors, + errors +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/filters/highlight.js b/src/main/resources/templates/themes/icarus/includes/filters/highlight.js new file mode 100644 index 000000000..31ff0c58c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/filters/highlight.js @@ -0,0 +1,25 @@ +const cheerio = require('cheerio'); + +module.exports = function (hexo) { + function patchCodeHighlight(content) { + const $ = cheerio.load(content, { decodeEntities: false }); + $('figure.highlight').addClass('hljs'); + $('figure.highlight .code .line span').each(function () { + const classes = $(this).attr('class').split(' '); + if (classes.length === 1) { + $(this).addClass('hljs-' + classes[0]); + $(this).removeClass(classes[0]); + } + }); + return $.html(); + } + + /** + * Add .hljs class name to the code blocks and code elements + */ + hexo.extend.filter.register('after_post_render', function (data) { + data.content = data.content ? patchCodeHighlight(data.content) : data.content; + data.excerpt = data.excerpt ? patchCodeHighlight(data.excerpt) : data.excerpt; + return data; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/generators/categories.js b/src/main/resources/templates/themes/icarus/includes/generators/categories.js new file mode 100644 index 000000000..c8eb84617 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/generators/categories.js @@ -0,0 +1,14 @@ +/** + * Category list page generator + */ +module.exports = function (hexo) { + hexo.extend.generator.register('categories', function (locals) { + return { + path: 'categories/', + layout: ['categories'], + data: Object.assign({}, locals, { + __categories: true + }) + }; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/generators/category.js b/src/main/resources/templates/themes/icarus/includes/generators/category.js new file mode 100644 index 000000000..0f019e3fb --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/generators/category.js @@ -0,0 +1,34 @@ +const pagination = require('hexo-pagination'); + +module.exports = function (hexo) { + // ATTENTION: This will override the default category generator! + hexo.extend.generator.register('category', function(locals) { + const config = this.config; + const perPage = config.category_generator.per_page; + const paginationDir = config.pagination_dir || 'page'; + + function findParent(category) { + let parents = []; + if (category && category.hasOwnProperty('parent')) { + const parent = locals.categories.filter(cat => cat._id === category.parent).first(); + parents = [parent].concat(findParent(parent)); + } + return parents; + } + + return locals.categories.reduce(function(result, category){ + const posts = category.posts.sort('-date'); + const data = pagination(category.path, posts, { + perPage: perPage, + layout: ['category', 'archive', 'index'], + format: paginationDir + '/%d/', + data: { + category: category.name, + parents: findParent(category) + } + }); + + return result.concat(data); + }, []); + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/generators/insight.js b/src/main/resources/templates/themes/icarus/includes/generators/insight.js new file mode 100644 index 000000000..88f76716f --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/generators/insight.js @@ -0,0 +1,43 @@ +const util = require('hexo-util'); + +/** + * Insight search content.json generator. + */ +module.exports = function (hexo) { + hexo.extend.generator.register('insight', function (locals) { + const url_for = hexo.extend.helper.get('url_for').bind(this); + function minify(str) { + return util.stripHTML(str).trim().replace(/\n/g, ' ').replace(/\s+/g, ' ') + .replace(/&#x([\da-fA-F]+);/g, function (match, hex) { + return String.fromCharCode(parseInt(hex, 16)); + }) + .replace(/&#([\d]+);/g, function (match, dec) { + return String.fromCharCode(dec); + }); + } + function postMapper(post) { + return { + title: post.title, + text: minify(post.content), + link: url_for(post.path) + } + } + function tagMapper(tag) { + return { + name: tag.name, + slug: tag.slug, + link: url_for(tag.path) + } + } + const site = { + pages: locals.pages.map(postMapper), + posts: locals.posts.map(postMapper), + tags: locals.tags.map(tagMapper), + categories: locals.categories.map(tagMapper) + }; + return { + path: '/content.json', + data: JSON.stringify(site) + }; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/generators/tags.js b/src/main/resources/templates/themes/icarus/includes/generators/tags.js new file mode 100644 index 000000000..e6a8a9223 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/generators/tags.js @@ -0,0 +1,14 @@ +/** + * Tag list page generator + */ +module.exports = function (hexo) { + hexo.extend.generator.register('tags', function (locals) { + return { + path: 'tags/', + layout: ['tags'], + data: Object.assign({}, locals, { + __tags: true + }) + }; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/helpers/cdn.js b/src/main/resources/templates/themes/icarus/includes/helpers/cdn.js new file mode 100644 index 000000000..9a7b9d827 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/helpers/cdn.js @@ -0,0 +1,81 @@ +/** + * CDN static file resolvers. + * + * @example + * <%- cdn(package, version, filename) %> + * <%- fontcdn(fontName) %> + * <%- iconcdn() %> + */ +const cdn_providers = { + cdnjs: 'https://cdnjs.cloudflare.com/ajax/libs/${ package }/${ version }/${ filename }', + jsdelivr: 'https://cdn.jsdelivr.net/npm/${ package }@${ version }/${ filename }', + unpkg: 'https://unpkg.com/${ package }@${ version }/${ filename }' +}; + +const font_providers = { + google: 'https://fonts.googleapis.com/${ type }?family=${ fontname }' +}; + +const icon_providers = { + fontawesome: 'https://use.fontawesome.com/releases/v5.4.1/css/all.css' +}; + +module.exports = function (hexo) { + hexo.extend.helper.register('cdn', function (_package, version, filename) { + let provider = hexo.extend.helper.get('get_config').bind(this)('providers.cdn'); + // cdn.js does not follow a GitHub npm style like jsdeliver and unpkg do. Patch it! + if (provider === 'cdnjs' || provider.startsWith('[cdnjs]')) { + if (provider.startsWith('[cdnjs]')) { + provider = provider.substr(7); + } + if (filename.startsWith('dist/')) { + filename = filename.substr(5); + } + if (_package === 'moment') { + _package = 'moment.js'; + filename = filename.startsWith('min/') ? filename.substr(4) : filename; + } + if (_package === 'outdatedbrowser') { + _package = 'outdated-browser'; + filename = filename.startsWith('outdatedbrowser/') ? filename.substr(16) : filename; + } + if (_package === 'highlight.js') { + filename = filename.endsWith('.css') && filename.indexOf('.min.') === -1 ? + filename.substr(0, filename.length - 4) + '.min.css' : filename; + } + if (_package === 'mathjax') { + filename = filename.startsWith('unpacked/') ? filename.substr(9) : filename; + } + if (_package === 'pace-js') { + _package = 'pace'; + } + } + if (provider !== null && cdn_providers.hasOwnProperty(provider)) { + provider = cdn_providers[provider]; + } + return provider.replace(/\${\s*package\s*}/gi, _package) + .replace(/\${\s*version\s*}/gi, version) + .replace(/\${\s*filename\s*}/gi, filename); + }); + + hexo.extend.helper.register('fontcdn', function (fontName, type = 'css') { + let provider = hexo.extend.helper.get('get_config').bind(this)('providers.fontcdn'); + if (provider !== null && font_providers.hasOwnProperty(provider)) { + provider = font_providers[provider]; + } + return provider.replace(/\${\s*fontname\s*}/gi, fontName) + .replace(/\${\s*type\s*}/gi, type); + }); + + hexo.extend.helper.register('iconcdn', function (provider = null) { + if (provider !== null && icon_providers.hasOwnProperty(provider)) { + provider = icon_providers[provider]; + } else { + provider = hexo.extend.helper.get('get_config').bind(this)('providers.iconcdn'); + if (provider !== null && icon_providers.hasOwnProperty(provider)) { + provider = icon_providers[provider]; + } + } + return provider; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/helpers/config.js b/src/main/resources/templates/themes/icarus/includes/helpers/config.js new file mode 100644 index 000000000..d29bcd728 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/helpers/config.js @@ -0,0 +1,48 @@ +/** + * Theme configuration helpers. + * + * @description Test if a configuration is set or fetch its value. If `exclude_page` is set, the helpers will + * not look up configurations in the current page's front matter. + * @example + * <%- has_config(config_name, exclude_page) %> + * <%- get_config(config_name, default_value, exclude_page) %> + */ +const specs = require('../specs/config.spec'); +const descriptors = require('../common/utils').descriptors; + +module.exports = function (hexo) { + function readProperty(object, path) { + const paths = path.split('.'); + for (let path of paths) { + if (typeof (object) === 'undefined' || object === null || !object.hasOwnProperty(path)) { + return null; + } + object = object[path]; + } + return object; + } + + hexo.extend.helper.register('get_config', function (configName, defaultValue = undefined, excludePage = false) { + const value = readProperty(Object.assign({}, this.config, hexo.theme.config, + !excludePage ? this.page : {}), configName); + if (value === null) { + if (typeof(defaultValue) !== 'undefined') { + return defaultValue; + } else { + const property = readProperty(specs, configName); + return property === null ? null : property[descriptors.defaultValue]; + } + } + return value; + }); + + hexo.extend.helper.register('has_config', function (configName, excludePage = false) { + const readProperty = hexo.extend.helper.get('get_config').bind(this); + return readProperty(configName, null, excludePage) != null; + }); + + hexo.extend.helper.register('get_config_from_obj', function (object, configName, defaultValue = null) { + const value = readProperty(object, configName); + return value === null ? defaultValue : value; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/helpers/layout.js b/src/main/resources/templates/themes/icarus/includes/helpers/layout.js new file mode 100644 index 000000000..226cc01cb --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/helpers/layout.js @@ -0,0 +1,31 @@ +/** + * Helper functions for controlling layout. + * +* @example +* <%- get_widgets(position) %> +* <%- has_column() %> +* <%- column_count() %> + */ +module.exports = function (hexo) { + hexo.extend.helper.register('get_widgets', function (position) { + const hasWidgets = hexo.extend.helper.get('has_config').bind(this)('widgets'); + if (!hasWidgets) { + return []; + } + const widgets = hexo.extend.helper.get('get_config').bind(this)('widgets'); + return widgets.filter(widget => widget.hasOwnProperty('position') && widget.position === position); + }); + + hexo.extend.helper.register('has_column', function (position) { + const getWidgets = hexo.extend.helper.get('get_widgets').bind(this); + return getWidgets(position).length > 0; + }); + + hexo.extend.helper.register('column_count', function () { + let columns = 1; + const hasColumn = hexo.extend.helper.get('has_column').bind(this); + columns += hasColumn('left') ? 1 : 0; + columns += hasColumn('right') ? 1 : 0; + return columns; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/helpers/override.js b/src/main/resources/templates/themes/icarus/includes/helpers/override.js new file mode 100644 index 000000000..84fbcbcad --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/helpers/override.js @@ -0,0 +1,124 @@ +/** + * Helper functions that override Hexo built-in helpers. + * + * @example +* <%- _list_archives() %> +* <%- _list_categories() %> +* <%- _list_tags() %> +* <%- _toc() %> + */ +const cheerio = require('cheerio'); + +module.exports = function (hexo) { + hexo.extend.helper.register('_list_archives', function () { + const $ = cheerio.load(this.list_archives(), { decodeEntities: false }); + const archives = []; + $('.archive-list-item').each(function () { + archives.push({ + url: $(this).find('.archive-list-link').attr('href'), + name: $(this).find('.archive-list-link').text(), + count: $(this).find('.archive-list-count').text() + }); + }); + return archives; + }); + + hexo.extend.helper.register('_list_categories', function () { + const $ = cheerio.load(this.list_categories({ depth: 2 }), { decodeEntities: false }); + function traverse(root) { + const categories = []; + root.find('> .category-list-item').each(function () { + const category = { + url: $(this).find('> .category-list-link').attr('href'), + name: $(this).find('> .category-list-link').text(), + count: $(this).find('> .category-list-count').text() + }; + if ($(this).find('> .category-list-child').length) { + category['children'] = traverse($(this).find('> .category-list-child')); + } + categories.push(category); + }); + return categories; + } + return traverse($('.category-list')); + }); + + hexo.extend.helper.register('_list_tags', function () { + const $ = cheerio.load(this.list_tags(), { decodeEntities: false }); + const tags = []; + $('.tag-list-item').each(function () { + tags.push({ + url: $(this).find('.tag-list-link').attr('href'), + name: $(this).find('.tag-list-link').text(), + count: $(this).find('.tag-list-count').text() + }); + }); + return tags; + }); + + /** + * Export a tree of headings of an article + * { + * "1": { + * "id": "How-to-enable-table-of-content-for-a-post", + * "index": "1" + * }, + * "2": { + * "1": { + * "1": { + * "id": "Third-level-title", + * "index": "2.1.1" + * }, + * "id": "Second-level-title", + * "index": "2.1" + * }, + * "2": { + * "id": "Another-second-level-title", + * "index": "2.2" + * }, + * "id": "First-level-title", + * "index": "2" + * } + * } + */ + hexo.extend.helper.register('_toc', (content) => { + const $ = cheerio.load(content, { decodeEntities: false }); + const toc = {}; + const levels = [0, 0, 0]; + // Get top 3 headings that are present in the content + const tags = [1, 2, 3, 4, 5, 6].map(i => 'h' + i).filter(h => $(h).length > 0).slice(0, 3); + if (tags.length === 0) { + return toc; + } + $(tags.join(',')).each(function () { + const level = tags.indexOf(this.name); + const id = $(this).attr('id'); + const text = $(this).text(); + + for (let i = 0; i < levels.length; i++) { + if (i > level) { + levels[i] = 0; + } else if (i < level) { + if (levels[i] === 0) { + // if headings start with a lower level heading, set the former heading index to 1 + // e.g. h3, h2, h1, h2, h3 => 1.1.1, 1.2, 2, 2.1, 2.1.1 + levels[i] = 1; + } + } else { + levels[i] += 1; + } + } + let node = toc; + for (let i of levels.slice(0, level + 1)) { + if (!node.hasOwnProperty(i)) { + node[i] = {}; + } + node = node[i]; + } + node.id = id; + node.text = text; + node.index = levels.slice(0, level + 1).join('.'); + }); + return toc; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/helpers/page.js b/src/main/resources/templates/themes/icarus/includes/helpers/page.js new file mode 100644 index 000000000..4da91a0d1 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/helpers/page.js @@ -0,0 +1,96 @@ +/** +* Helper functions for page/post. +* +* @example +* <%- is_categories(page) %> +* <%- is_tags(page) %> +* <%- page_title(page) %> +* <%- meta(post) %> +* <%- has_thumbnail(post) %> +* <%- get_thumbnail(post) %> +*/ +module.exports = function (hexo) { + function trim(str) { + return str.trim().replace(/^"(.*)"$/, '$1').replace(/^'(.*)'$/, '$1'); + } + + function split(str, sep) { + var result = []; + var matched = null; + while (matched = sep.exec(str)) { + result.push(matched[0]); + } + return result; + } + + hexo.extend.helper.register('is_categories', function (page = null) { + return (page === null ? this.page : page).__categories; + }); + + hexo.extend.helper.register('is_tags', function (page = null) { + return (page === null ? this.page : page).__tags; + }); + + /** + * Generate html head title based on page type + */ + hexo.extend.helper.register('page_title', function (page = null) { + page = page === null ? this.page : page; + let title = page.title; + + if (this.is_archive()) { + title = this._p('common.archive', Infinity); + if (this.is_month()) { + title += ': ' + page.year + '/' + page.month; + } else if (this.is_year()) { + title += ': ' + page.year; + } + } else if (this.is_category()) { + title = this._p('common.category', 1) + ': ' + page.category; + } else if (this.is_tag()) { + title = this._p('common.tag', 1) + ': ' + page.tag; + } else if (this.is_categories()) { + title = this._p('common.category', Infinity); + } else if (this.is_tags()) { + title = this._p('common.tag', Infinity); + } + + const siteTitle = hexo.extend.helper.get('get_config').bind(this)('title', '', true); + return [title, siteTitle].filter(str => typeof (str) !== 'undefined' && str.trim() !== '').join(' - '); + }); + + hexo.extend.helper.register('meta', function (post) { + var metas = post.meta || []; + var output = ''; + var metaDOMArray = metas.map(function (meta) { + var entities = split(meta, /(?:[^\\;]+|\\.)+/g); + var entityArray = entities.map(function (entity) { + var keyValue = split(entity, /(?:[^\\=]+|\\.)+/g); + if (keyValue.length < 2) { + return null; + } + var key = trim(keyValue[0]); + var value = trim(keyValue[1]); + return key + '="' + value + '"'; + }).filter(function (entity) { + return entity; + }); + return ''; + }); + return metaDOMArray.join('\n'); + }); + + hexo.extend.helper.register('has_thumbnail', function (post) { + const getConfig = hexo.extend.helper.get('get_config').bind(this); + const allowThumbnail = getConfig('article.thumbnail', true); + if (!allowThumbnail) { + return false; + } + return post.hasOwnProperty('thumbnail') && post.thumbnail; + }); + + hexo.extend.helper.register('get_thumbnail', function (post) { + const hasThumbnail = hexo.extend.helper.get('has_thumbnail').bind(this)(post); + return this.url_for(hasThumbnail ? post.thumbnail : 'images/thumbnail.svg'); + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/helpers/site.js b/src/main/resources/templates/themes/icarus/includes/helpers/site.js new file mode 100644 index 000000000..ef50a0d8e --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/helpers/site.js @@ -0,0 +1,53 @@ +/** + * Helper functions related the site properties. + * + * @example +* <%- is_same_link(url_a, url_b) %> +* <%- post_count() %> +* <%- category_count() %> +* <%- tag_count() %> +* <%- duration() %> +* <%- word_count(content) %> + */ +const moment = require('moment'); + +module.exports = function (hexo) { + hexo.extend.helper.register('is_same_link', function (a, b) { + function santize(url) { + let paths = url.replace(/(^\w+:|^)\/\//, '').split('#')[0].split('/').filter(p => p.trim() !== ''); + if (paths.length > 0 && paths[paths.length - 1].trim() === 'index.html') { + paths = paths.slice(0, paths.length - 1) + } + return paths.join('/'); + } + return santize(this.url_for(a)) == santize(this.url_for(b)); + }); + + hexo.extend.helper.register('post_count', function () { + return this.site.posts.length; + }); + + hexo.extend.helper.register('category_count', function () { + return this.site.categories.filter(category => category.length).length; + }); + + hexo.extend.helper.register('tag_count', function () { + return this.site.tags.filter(tag => tag.length).length; + }); + + /** + * Export moment.duration + */ + hexo.extend.helper.register('duration', function () { + return moment.duration.apply(moment, arguments); + }); + + /** + * Get the word count of a paragraph. + */ + hexo.extend.helper.register('word_count', function (content) { + content = content.replace(/<\/?[a-z][^>]*>/gi, ''); + content = content.trim(); + return content ? (content.match(/[\u00ff-\uffff]|[a-zA-Z]+/g) || []).length : 0; + }); +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/article.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/article.spec.js new file mode 100644 index 000000000..d6793e101 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/article.spec.js @@ -0,0 +1,21 @@ +const { doc, type, defaultValue } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Article display settings', + highlight: { + [type]: 'string', + [doc]: 'Code highlight theme (https://github.com/highlightjs/highlight.js/tree/master/src/styles)', + [defaultValue]: 'atom-one-light' + }, + thumbnail: { + [type]: 'boolean', + [doc]: 'Whether to show article thumbnail images', + [defaultValue]: true + }, + readtime: { + [type]: 'boolean', + [doc]: 'Whether to show estimate article reading time', + [defaultValue]: true + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/comment.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/comment.spec.js new file mode 100644 index 000000000..b3e11ce36 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/comment.spec.js @@ -0,0 +1,119 @@ +const { doc, type, defaultValue, required, requires } = require('../common/utils').descriptors; + +const ChangYanSpec = { + appid: { + [type]: 'string', + [doc]: 'Changyan comment app ID', + [required]: true, + [requires]: comment => comment.type === 'changyan' + }, + conf: { + [type]: 'string', + [doc]: 'Changyan comment configuration ID', + [required]: true, + [requires]: comment => comment.type === 'changyan' + } +}; + +const DisqusSpec = { + shortname: { + [type]: 'string', + [doc]: 'Disqus shortname', + [required]: true, + [requires]: comment => comment.type === 'disqus' + } +}; + +const GitmentSpec = { + owner: { + [type]: 'string', + [doc]: 'Your GitHub ID', + [required]: true, + [requires]: comment => comment.type === 'gitment' + }, + repo: { + [type]: 'string', + [doc]: 'The repo to store comments', + [required]: true, + [requires]: comment => comment.type === 'gitment' + }, + client_id: { + [type]: 'string', + [doc]: 'Your client ID', + [required]: true, + [requires]: comment => comment.type === 'gitment' + }, + client_secret: { + [type]: 'string', + [doc]: 'Your client secret', + [required]: true, + [requires]: comment => comment.type === 'gitment' + } +}; + +const IssoSpec = { + url: { + [type]: 'string', + [doc]: 'URL to your Isso comment service', + [required]: true, + [requires]: comment => comment.type === 'isso' + } +}; + +const LiveReSpec = { + uid: { + [type]: 'string', + [doc]: 'LiveRe comment service UID', + [required]: true, + [requires]: comment => comment.type === 'livere' + } +}; + +const ValineSpec = { + app_id: { + [type]: 'string', + [doc]: 'LeanCloud APP ID', + [required]: true, + [requires]: comment => comment.type === 'valine' + }, + app_key: { + [type]: 'string', + [doc]: 'LeanCloud APP key', + [required]: true, + [requires]: comment => comment.type === 'valine' + }, + notify: { + [type]: 'boolean', + [doc]: 'Enable email notification when someone comments', + [defaultValue]: false, + [requires]: comment => comment.type === 'valine' + }, + verify: { + [type]: 'boolean', + [doc]: 'Enable verification code service', + [defaultValue]: false, + [requires]: comment => comment.type === 'valine' + }, + placeholder: { + [type]: 'string', + [doc]: 'Placeholder text in the comment box', + [defaultValue]: 'Say something...', + [requires]: comment => comment.type === 'valine' + } +}; + +module.exports = { + [type]: 'object', + [doc]: 'Comment plugin settings (http://ppoffice.github.io/hexo-theme-icarus/categories/Configuration/Comment-Plugins)', + type: { + [type]: 'string', + [doc]: 'Name of the comment plugin', + [defaultValue]: null + }, + ...ChangYanSpec, + ...DisqusSpec, + ...GitmentSpec, + ...IssoSpec, + ...LiveReSpec, + ...ValineSpec +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/config.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/config.spec.js new file mode 100644 index 000000000..22c55cd0c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/config.spec.js @@ -0,0 +1,24 @@ +const { version } = require('../../package.json'); +const { type, required, defaultValue, doc } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Root of the configuration file', + [required]: true, + version: { + [type]: 'string', + [doc]: 'Version of the Icarus theme that is currently used', + [required]: true, + [defaultValue]: version + }, + ...require('./meta.spec'), + navbar: require('./navbar.spec'), + footer: require('./footer.spec'), + article: require('./article.spec'), + search: require('./search.spec'), + comment: require('./comment.spec'), + share: require('./share.spec'), + widgets: require('./widgets.spec'), + plugins: require('./plugins.spec'), + providers: require('./providers.spec') +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/footer.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/footer.spec.js new file mode 100644 index 000000000..948a47ade --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/footer.spec.js @@ -0,0 +1,24 @@ +const { doc, type, defaultValue } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Footer section link settings', + links: { + ...require('./icon_link.spec'), + [doc]: 'Links to be shown on the right of the footer section', + [defaultValue]: { + 'Creative Commons': { + icon: 'fab fa-creative-commons', + url: 'https://creativecommons.org/' + }, + 'Attribution 4.0 International': { + icon: 'fab fa-creative-commons-by', + url: 'https://creativecommons.org/licenses/by/4.0/' + }, + 'Download on GitHub': { + icon: 'fab fa-github', + url: 'http://github.com/ppoffice/hexo-theme-icarus' + } + } + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/icon_link.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/icon_link.spec.js new file mode 100644 index 000000000..b3cb39ae7 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/icon_link.spec.js @@ -0,0 +1,20 @@ +const { doc, type, required } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Link icon settings', + '*': { + [type]: ['string', 'object'], + [doc]: 'Path or URL to the menu item, and/or link icon class names', + icon: { + [required]: true, + [type]: 'string', + [doc]: 'Link icon class names' + }, + url: { + [required]: true, + [type]: 'string', + [doc]: 'Path or URL to the menu item' + } + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/meta.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/meta.spec.js new file mode 100644 index 000000000..f5f2de332 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/meta.spec.js @@ -0,0 +1,52 @@ +const { doc, type, defaultValue } = require('../common/utils').descriptors; + +module.exports = { + favicon: { + [type]: 'string', + [doc]: 'Path or URL to the website\'s icon', + [defaultValue]: '/images/favicon.svg', + }, + rss: { + [type]: 'string', + [doc]: 'Path or URL to RSS atom.xml', + [defaultValue]: null + }, + logo: { + [type]: ['string', 'object'], + [defaultValue]: '/images/logo.svg', + [doc]: 'Path or URL to the website\'s logo to be shown on the left of the navigation bar or footer', + text: { + [type]: 'string', + [doc]: 'Text to be shown in place of the logo image' + } + }, + open_graph: { + [type]: 'object', + [doc]: 'Open Graph metadata (https://hexo.io/docs/helpers.html#open-graph)', + fb_app_id: { + [type]: 'string', + [doc]: 'Facebook App ID', + [defaultValue]: null + }, + fb_admins: { + [type]: 'string', + [doc]: 'Facebook Admin ID', + [defaultValue]: null + }, + twitter_id: { + [type]: 'string', + [doc]: 'Twitter ID', + [defaultValue]: null + }, + twitter_site: { + [type]: 'string', + [doc]: 'Twitter site', + [defaultValue]: null + }, + google_plus: { + [type]: 'string', + [doc]: 'Google+ profile link', + [defaultValue]: null + } + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/navbar.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/navbar.spec.js new file mode 100644 index 000000000..1f5545700 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/navbar.spec.js @@ -0,0 +1,31 @@ +const { doc, type, defaultValue } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Navigation bar link settings', + menu: { + [type]: 'object', + [doc]: 'Navigation bar menu links', + [defaultValue]: { + Home: '/', + Archives: '/archives', + Categories: '/categories', + Tags: '/tags', + About: '/about' + }, + '*': { + [type]: 'string', + [doc]: 'Path or URL to the menu item' + } + }, + links: { + ...require('./icon_link.spec'), + [doc]: 'Navigation bar links to be shown on the right', + [defaultValue]: { + 'Download on GitHub': { + icon: 'fab fa-github', + url: 'http://github.com/ppoffice/hexo-theme-icarus' + } + } + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/plugins.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/plugins.spec.js new file mode 100644 index 000000000..ebbdf3212 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/plugins.spec.js @@ -0,0 +1,63 @@ +const { doc, type, defaultValue } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Other plugin settings', + gallery: { + [type]: 'boolean', + [doc]: 'Enable the lightGallery and Justified Gallery plugins (http://ppoffice.github.io/hexo-theme-icarus/2016/07/08/plugin/Gallery/)', + [defaultValue]: true + }, + 'outdated-browser': { + [type]: 'boolean', + [doc]: 'Enable the Outdated Browser plugin (http://outdatedbrowser.com/)', + [defaultValue]: true + }, + animejs: { + [type]: 'boolean', + [doc]: 'Enable page animations (http://animejs.com/)', + [defaultValue]: true + }, + mathjax: { + [type]: 'boolean', + [doc]: 'Enable the MathJax plugin (http://ppoffice.github.io/hexo-theme-icarus/2018/01/01/plugin/MathJax/)', + [defaultValue]: true + }, + 'back-to-top': { + [type]: 'boolean', + [doc]: 'Show the back to top button on mobile devices', + [defaultValue]: true + }, + 'google-analytics': { + [type]: ['boolean', 'object'], + [doc]: 'Google Analytics plugin settings (http://ppoffice.github.io/hexo-theme-icarus/2018/01/01/plugin/Analytics/#Google-Analytics)', + tracking_id: { + [type]: 'string', + [doc]: 'Google Analytics tracking id', + [defaultValue]: null + } + }, + 'baidu-analytics': { + [type]: ['boolean', 'object'], + [doc]: 'Baidu Analytics plugin settings (http://ppoffice.github.io/hexo-theme-icarus/2018/01/01/plugin/Analytics/#Baidu-Analytics)', + tracking_id: { + [type]: 'string', + [doc]: 'Baidu Analytics tracking id', + [defaultValue]: null + } + }, + hotjar: { + [type]: ['boolean', 'object'], + [doc]: 'Hotjar user feedback plugin (http://ppoffice.github.io/hexo-theme-icarus/2018/01/01/plugin/Analytics/#Hotjar)', + site_id: { + [type]: ['string', 'number'], + [doc]: 'Hotjar site id', + [defaultValue]: null + } + }, + progressbar: { + [type]: 'boolean', + [doc]: 'Show a loading progress bar at top of the page', + [defaultValue]: true + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/providers.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/providers.spec.js new file mode 100644 index 000000000..570d8d2ed --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/providers.spec.js @@ -0,0 +1,21 @@ +const { doc, type, defaultValue } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'CDN provider settings', + cdn: { + [type]: 'string', + [doc]: 'Name or URL of the JavaScript and/or stylesheet CDN provider', + [defaultValue]: 'jsdelivr' + }, + fontcdn: { + [type]: 'string', + [doc]: 'Name or URL of the webfont CDN provider', + [defaultValue]: 'google' + }, + iconcdn: { + [type]: 'string', + [doc]: 'Name or URL of the webfont Icon CDN provider', + [defaultValue]: 'fontawesome' + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/search.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/search.spec.js new file mode 100644 index 000000000..7c660711c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/search.spec.js @@ -0,0 +1,17 @@ +const { doc, type, defaultValue, required, requires } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Search plugin settings (http://ppoffice.github.io/hexo-theme-icarus/categories/Configuration/Search-Plugins)', + type: { + [type]: 'string', + [doc]: 'Name of the search plugin', + [defaultValue]: 'insight' + }, + cx: { + [type]: 'string', + [doc]: 'Google CSE cx value', + [required]: true, + [requires]: search => search.type === 'google-cse' + } +}; \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/share.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/share.spec.js new file mode 100644 index 000000000..ecc1cac02 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/share.spec.js @@ -0,0 +1,17 @@ +const { doc, type, defaultValue, required, requires } = require('../common/utils').descriptors; + +module.exports = { + [type]: 'object', + [doc]: 'Share plugin settings (http://ppoffice.github.io/hexo-theme-icarus/categories/Configuration/Share-Plugins)', + type: { + [type]: 'string', + [doc]: 'Share plugin name', + [defaultValue]: null + }, + install_url: { + [type]: 'string', + [doc]: 'URL to the share plugin script provided by share plugin service provider', + [required]: true, + [requires]: share => share.type === 'sharethis' || share.type === 'addthis' + } +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/specs/widgets.spec.js b/src/main/resources/templates/themes/icarus/includes/specs/widgets.spec.js new file mode 100644 index 000000000..8cda95d68 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/specs/widgets.spec.js @@ -0,0 +1,145 @@ +const { doc, type, defaultValue, required, requires, format } = require('../common/utils').descriptors; + +const DEFAULT_WIDGETS = [ + { + type: 'profile', + position: 'left', + author: 'Your name', + author_title: 'Your title', + location: 'Your location', + avatar: null, + gravatar: null, + follow_link: 'http://github.com/ppoffice', + social_links: { + Github: { + icon: 'fab fa-github', + url: 'http://github.com/ppoffice' + }, + Facebook: { + icon: 'fab fa-facebook', + url: 'http://facebook.com' + }, + Twitter: { + icon: 'fab fa-twitter', + url: 'http://twitter.com' + }, + Dribbble: { + icon: 'fab fa-dribbble', + url: 'http://dribbble.com' + }, + RSS: { + icon: 'fas fa-rss', + url: '/' + } + } + }, + { + type: 'toc', + position: 'left' + }, + { + type: 'links', + position: 'left', + links: { + Hexo: 'https://hexo.io', + PPOffice: 'https://github.com/ppoffice' + } + }, + { + type: 'category', + position: 'left' + }, + { + type: 'tagcloud', + position: 'left' + }, + { + type: 'recent_posts', + position: 'right' + }, + { + type: 'archive', + position: 'right' + }, + { + type: 'tag', + position: 'right' + } +]; + +const ProfileSpec = { + author: { + [type]: 'string', + [doc]: 'Author name to be shown in the profile widget', + [defaultValue]: 'Your name' + }, + author_title: { + [type]: 'string', + [doc]: 'Title of the author to be shown in the profile widget', + [defaultValue]: 'Your title' + }, + location: { + [type]: 'string', + [doc]: 'Author\'s current location to be shown in the profile widget', + [defaultValue]: 'Your location' + }, + avatar: { + [type]: 'string', + [doc]: 'Path or URL to the avatar to be shown in the profile widget', + [defaultValue]: '/images/avatar.png' + }, + gravatar: { + [type]: 'string', + [doc]: 'Email address for the Gravatar to be shown in the profile widget', + }, + follow_link: { + [type]: 'string', + [doc]: 'Path or URL for the follow button', + }, + social_links: { + ...require('./icon_link.spec'), + [doc]: 'Links to be shown on the bottom of the profile widget', + } +}; + +for (let key in ProfileSpec) { + ProfileSpec[key][requires] = widget => widget.type === 'profile'; +} + +const LinksSpec = { + links: { + [type]: 'object', + [doc]: 'Links to be shown in the links widget', + [requires]: parent => parent.type === 'links', + '*': { + [type]: 'string', + [doc]: 'Path or URL to the link', + [required]: true + } + } +}; + +module.exports = { + [type]: 'array', + [doc]: 'Sidebar widget settings (http://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/)', + [defaultValue]: DEFAULT_WIDGETS, + '*': { + [type]: 'object', + [doc]: 'Single widget settings', + type: { + [type]: 'string', + [doc]: 'Widget name', + [required]: true, + [defaultValue]: 'profile' + }, + position: { + [type]: 'string', + [doc]: 'Where should the widget be placed, left or right', + [format]: /^(left|right)$/, + [required]: true, + [defaultValue]: 'left' + }, + ...ProfileSpec, + ...LinksSpec + } +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/includes/tasks/check_config.js b/src/main/resources/templates/themes/icarus/includes/tasks/check_config.js new file mode 100644 index 000000000..1632ac172 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/tasks/check_config.js @@ -0,0 +1,46 @@ +const fs = require('fs'); +const util = require('util'); +const path = require('path'); +const logger = require('hexo-log')(); +const yaml = require('js-yaml'); + +const { errors } = require('../common/utils'); +const rootSpec = require('../specs/config.spec'); +const ConfigValidator = require('../common/ConfigValidator'); +const ConfigGenerator = require('../common/ConfigGenerator'); + +const CONFIG_PATH = path.join(__dirname, '../..', '_config.yml'); + +logger.info('Validating the configuration file'); + +if (!fs.existsSync(CONFIG_PATH)) { + const relativePath = path.relative(process.cwd(), CONFIG_PATH); + logger.warn(`${relativePath} is not found. We are creating one for you...`); + fs.writeFileSync(CONFIG_PATH, new ConfigGenerator(rootSpec).generate()); + logger.info(`${relativePath} is created. Please restart Hexo to apply changes.`); + process.exit(0); +} + +const validator = new ConfigValidator(rootSpec); +const config = yaml.safeLoad(fs.readFileSync(CONFIG_PATH)); +try { + validator.validate(config); +} catch (e) { + if (e instanceof errors.ConfigError) { + logger.error(e.message); + if (e.hasOwnProperty('spec')) { + logger.error('The specification of this configuration is:'); + logger.error(util.inspect(e.spec)); + } + if (e.hasOwnProperty('config')) { + logger.error('Configuration value is:'); + logger.error(util.inspect(e.config)); + } + } else if (e instanceof errors.VersionError) { + logger.error(e.message); + logger.warn(`To let us create a fresh configuration file for you, please rename or delete the following file:`); + logger.warn(CONFIG_PATH); + } else { + throw e; + } +} diff --git a/src/main/resources/templates/themes/icarus/includes/tasks/check_deps.js b/src/main/resources/templates/themes/icarus/includes/tasks/check_deps.js new file mode 100644 index 000000000..663e0d0b6 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/tasks/check_deps.js @@ -0,0 +1,32 @@ +const logger = require('hexo-log')(); + +function checkDependency(name) { + try { + require.resolve(name); + return true; + } catch(e) { + logger.error(`Package ${name} is not installed.`) + } + return false; +} + +logger.info('Checking dependencies'); +const missingDeps = [ + 'js-yaml', + 'moment', + 'cheerio', + 'hexo-util', + 'hexo-log', + 'hexo-pagination', + 'hexo-generator-archive', + 'hexo-generator-category', + 'hexo-generator-index', + 'hexo-generator-tag', + 'hexo-renderer-ejs', + 'hexo-renderer-marked', + 'hexo-renderer-stylus', +].map(checkDependency).some(installed => !installed); +if (missingDeps) { + logger.error('Please install the missing dependencies from the root directory of your Hexo site.'); + process.exit(-1); +} diff --git a/src/main/resources/templates/themes/icarus/includes/tasks/welcome.js b/src/main/resources/templates/themes/icarus/includes/tasks/welcome.js new file mode 100644 index 000000000..264f15e62 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/includes/tasks/welcome.js @@ -0,0 +1,10 @@ +const logger = require('hexo-log')(); + +logger.info(`======================================= + ██╗ ██████╗ █████╗ ██████╗ ██╗ ██╗███████╗ + ██║██╔════╝██╔══██╗██╔══██╗██║ ██║██╔════╝ + ██║██║ ███████║██████╔╝██║ ██║███████╗ + ██║██║ ██╔══██║██╔══██╗██║ ██║╚════██║ + ██║╚██████╗██║ ██║██║ ██║╚██████╔╝███████║ + ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ +=============================================`); \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/languages/en.yml b/src/main/resources/templates/themes/icarus/languages/en.yml new file mode 100644 index 000000000..401bc4548 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/en.yml @@ -0,0 +1,39 @@ +common: + archive: + one: 'Archive' + other: 'Archives' + category: + one: 'Category' + other: 'Categories' + tag: + one: 'Tag' + other: 'Tags' + post: + one: 'Post' + other: 'Posts' + prev: 'Previous' + next: 'Next' +widget: + follow: 'Follow' + recents: 'Recent' + links: 'Links' + tag_cloud: 'Tag Cloud' + catalogue: 'Catalogue' +article: + more: 'Read More' + comments: 'Comments' + read: 'read' + about: 'About' + words: 'words' +plugin: + backtotop: 'Back to Top' +search: + search: 'Search' + hint: 'Type something...' +insight: + hint: 'Type something...' + posts: 'Posts' + pages: 'Pages' + categories: 'Categories' + tags: 'Tags' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/languages/es.yml b/src/main/resources/templates/themes/icarus/languages/es.yml new file mode 100644 index 000000000..264c1c6d1 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/es.yml @@ -0,0 +1,38 @@ +#By SrWoOoW +common: + archive: + one: 'Archivo' + other: 'Archivos' + category: + one: 'Categoria' + other: 'Categorias' + tag: + one: 'Etiqueta' + other: 'Etiquetas' + post: + one: 'Entrada' + other: 'Entradas' + prev: 'Anterior' + next: 'Siguiente' +widget: + follow: 'SEGUIR' + recents: 'Recientes' + links: 'Links' + tag_cloud: 'Nube de etiquetas' + catalogue: 'Catálogo' +article: + more: 'Read More' + comments: 'Comentarios' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Type something...' +insight: + hint: 'Type something...' + posts: 'Entradas' + pages: 'Pages' + categories: 'Categorias' + tags: 'Etiquetas' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/languages/fr.yml b/src/main/resources/templates/themes/icarus/languages/fr.yml new file mode 100644 index 000000000..9bfdbebb4 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/fr.yml @@ -0,0 +1,37 @@ +common: + archive: + one: 'Archive' + other: 'Archives' + category: + one: 'Catégorie' + other: 'Catégories' + tag: + one: 'Tag' + other: 'Tags' + post: + one: 'Article' + other: 'Articles' + prev: 'Préc' + next: 'Suiv' +widget: + follow: 'SUIVRE' + recents: 'Récents' + links: 'Liens' + tag_cloud: 'Nuage de tags' + catalogue: 'Catalogue' +article: + more: 'Read More' + comments: 'Commentaires' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Type something...' +insight: + hint: 'Type something...' + posts: 'Articles' + pages: 'Pages' + categories: 'Catégories' + tags: 'Tags' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/languages/id.yml b/src/main/resources/templates/themes/icarus/languages/id.yml new file mode 100644 index 000000000..52c8c5475 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/id.yml @@ -0,0 +1,37 @@ +common: + archive: + one: 'Arsip' + other: 'Arsip' + category: + one: 'Kategori' + other: 'Kategori' + tag: + one: 'tag' + other: 'tag' + post: + one: 'pos' + other: 'pos' + prev: 'Sebelumnya' + next: 'Berikutnya' +widget: + follow: 'IKUTI' + recents: 'Terbaru' + links: 'tautan' + tag_cloud: 'awan tag' + catalogue: 'Catalogue' +article: + more: 'Read More' + comments: 'Komentar' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Tulis Sesuatu..' +insight: + hint: 'Tulis Sesuatu..' + posts: 'Pos' + pages: 'Halaman' + categories: 'Kategori' + tags: 'Tag' + untitled: 'Tanpa Judul' diff --git a/src/main/resources/templates/themes/icarus/languages/ja.yml b/src/main/resources/templates/themes/icarus/languages/ja.yml new file mode 100644 index 000000000..00928c705 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/ja.yml @@ -0,0 +1,37 @@ +common: + archive: + one: 'アーカイブ' + other: 'アーカイブ' + category: + one: 'カテゴリ' + other: 'カテゴリ' + tag: + one: 'タグ' + other: 'タグ' + post: + one: '投稿' + other: '投稿' + prev: '前' + next: '次' +widget: + follow: 'フォローする' + recents: '最近の記事' + links: 'リンク' + tag_cloud: 'タグクラウド' + catalogue: 'カタログ' +article: + more: 'Read More' + comments: 'コメント' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Type something...' +insight: + hint: 'Type something...' + posts: '投稿' + pages: 'Pages' + categories: 'カテゴリ' + tags: 'タグ' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/languages/ko.yml b/src/main/resources/templates/themes/icarus/languages/ko.yml new file mode 100644 index 000000000..4bf28e16e --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/ko.yml @@ -0,0 +1,37 @@ +common: + archive: + one: '아카이브' + other: '아카이브' + category: + one: '카테고리' + other: '카테고리' + tag: + one: '태그' + other: '태그' + post: + one: '포스트' + other: '포스트' + prev: '이전' + next: '다음' +widget: + follow: '팔로우' + recents: '최근 글' + links: '링크' + tag_cloud: '태그 클라우드' + catalogue: '카탈로그' +article: + more: '자세히 보기' + comments: '댓글' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Type something...' +insight: + hint: 'Type something...' + posts: '포스트' + pages: 'Pages' + categories: '카테고리' + tags: '태그' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/languages/pt-BR.yml b/src/main/resources/templates/themes/icarus/languages/pt-BR.yml new file mode 100644 index 000000000..5c1a16484 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/pt-BR.yml @@ -0,0 +1,37 @@ +common: + archive: + one: 'Arquivo' + other: 'Arquivos' + category: + one: 'Categoria' + other: 'Categorias' + tag: + one: 'Tag' + other: 'Tags' + post: + one: 'Artigo' + other: 'Artigos' + prev: 'Anterior' + next: 'Próximo' +widget: + follow: 'SEGUIR' + recents: 'Recentes' + links: 'Links' + tag_cloud: 'Nuvem de tags' + catalogue: 'Catálogo' +article: + more: 'Ler Mais' + comments: 'Comentarios' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Digite alguma coisa...' +insight: + hint: 'Digite alguma coisa...' + posts: 'Artigos' + pages: 'Paginas' + categories: 'Categorias' + tags: 'Tags' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/languages/ru.yml b/src/main/resources/templates/themes/icarus/languages/ru.yml new file mode 100644 index 000000000..475f5e516 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/ru.yml @@ -0,0 +1,37 @@ +common: + archive: + one: 'архив' + other: 'архивы' + category: + one: 'категории' + other: 'категории' + tag: + one: 'тег' + other: 'теги' + post: + one: 'пост' + other: 'посты' + prev: 'Назад' + next: 'Далее' +widget: + follow: 'Подписаться' + recents: 'недавние' + links: 'ссылки' + tag_cloud: 'облако тегов' + catalogue: 'Каталог' +article: + more: 'Читать дальше' + comments: 'Комментарии' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Введите что-нибудь...' +insight: + hint: 'Введите что-нибудь...' + posts: 'посты' + pages: 'страницы' + categories: 'категории' + tags: 'теги' + untitled: '(Без названия)' diff --git a/src/main/resources/templates/themes/icarus/languages/tr.yml b/src/main/resources/templates/themes/icarus/languages/tr.yml new file mode 100644 index 000000000..8a7ba875c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/tr.yml @@ -0,0 +1,37 @@ +common: + archive: + one: 'Arşiv' + other: 'Arşivler' + category: + one: 'Kategori' + other: 'Kategoriler' + tag: + one: 'Etiket' + other: 'Etiketler' + post: + one: 'Gönderi' + other: 'Gönderiler' + prev: 'Önceki' + next: 'Sonraki' +widget: + follow: 'TAKİP ET' + recents: 'Son' + links: 'Linkler' + tag_cloud: 'Etiket bulutu' + catalogue: 'Katalog' +article: + more: 'Daha fazla oku' + comments: 'Yorumlar' + read: 'read' + about: 'About' + words: 'words' +search: + search: 'Search' + hint: 'Bir şeyler yaz...' +insight: + hint: 'Bir şeyler yaz...' + posts: 'Gönderiler' + pages: 'Sayfalar' + categories: 'Kategoriler' + tags: 'Etiketler' + untitled: '(Başlıksız)' diff --git a/src/main/resources/templates/themes/icarus/languages/zh-CN.yml b/src/main/resources/templates/themes/icarus/languages/zh-CN.yml new file mode 100644 index 000000000..b3fadda98 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/zh-CN.yml @@ -0,0 +1,39 @@ +common: + archive: + one: '文档' + other: '文档' + category: + one: '分类' + other: '分类' + tag: + one: '标签' + other: '标签' + post: + one: '文章' + other: '文章' + prev: '上一页' + next: '下一页' +widget: + follow: '关注我' + recents: '最新文章' + links: '链接' + tag_cloud: '标签云' + catalogue: '目录' +article: + more: '阅读更多' + comments: '评论' + read: '读完' + about: '大约' + words: '个字' +plugin: + backtotop: '回到顶端' +search: + search: '搜索' + hint: '想要查找什么...' +insight: + hint: '想要查找什么...' + posts: '文章' + pages: '页面' + categories: '分类' + tags: '标签' + untitled: '(无标题)' diff --git a/src/main/resources/templates/themes/icarus/languages/zh-TW.yml b/src/main/resources/templates/themes/icarus/languages/zh-TW.yml new file mode 100644 index 000000000..6791f2a60 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/languages/zh-TW.yml @@ -0,0 +1,37 @@ +common: + archive: + one: '歸檔' + other: '歸檔' + category: + one: '分類' + other: '分類' + tag: + one: '標籤' + other: '標籤' + post: + one: '文章' + other: '文章' + prev: '上一頁' + next: '下一頁' +widget: + follow: '關注我' + recents: '最新文章' + links: '連結' + tag_cloud: '標籤雲' + catalogue: '文章目錄' +article: + more: '繼續閱讀' + comments: '評論' + read: 'read' + about: 'About' + words: 'words' +search: + search: '搜索' + hint: 'Type something...' +insight: + hint: 'Type something...' + posts: '文章' + pages: 'Pages' + categories: '分類' + tags: '標籤' + untitled: '(Untitled)' diff --git a/src/main/resources/templates/themes/icarus/layout/archive.ejs b/src/main/resources/templates/themes/icarus/layout/archive.ejs new file mode 100644 index 000000000..f838df35e --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/archive.ejs @@ -0,0 +1,56 @@ +<% function buildArchive(posts, year, month = null) { + const time = moment([page.year, page.month ? page.month - 1 : null].filter(i => i !== null)); %> +
+
+ +
+ <% posts.each(post => { %> +
+ <% if (has_thumbnail(post)) { %> + +

+ <%= post.title %> +

+
+ <% } %> +
+
+ + <%= post.title %> + +
+
+
+ <% }) %> +
+
+
+<% } +if (!page.year) { + let years = {}; + page.posts.each(p => years[p.date.year()] = null); + for (let year of Object.keys(years).sort((a, b) => b - a)) { + let posts = page.posts.filter(p => p.date.year() == year); %> + <%- buildArchive(posts, year, null) %> + <% } +} else { %> +<%- buildArchive(page.posts, page.year, page.month) %> +<% } %> +<% if (page.total > 1) { %> + <%- partial('common/paginator') %> +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/categories.ejs b/src/main/resources/templates/themes/icarus/layout/categories.ejs new file mode 100644 index 000000000..09655f836 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/categories.ejs @@ -0,0 +1,30 @@ +<% function build_list(categories) { + return categories.map(category => { + let result = `
  • + + + ${category.name} + + + ${category.count} + + `; + if (category.hasOwnProperty('children')) { + result += ''; + } + return result + '
  • '; + }).join(''); +} +%> +
    +
    + +
    +
    \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/category.ejs b/src/main/resources/templates/themes/icarus/layout/category.ejs new file mode 100644 index 000000000..911443593 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/category.ejs @@ -0,0 +1,14 @@ +
    +
    + +
    +
    +<%- partial('index', { page }) %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/comment/changyan.ejs b/src/main/resources/templates/themes/icarus/layout/comment/changyan.ejs new file mode 100644 index 000000000..eaddb6b95 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/changyan.ejs @@ -0,0 +1,14 @@ +<% if (!has_config('comment.appid') || !has_config('comment.conf')) { %> +
    + You forgot to set the appid or conf for Changyan. Please set it in _config.yml. +
    +<% } else { %> +
    + + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/comment/disqus.ejs b/src/main/resources/templates/themes/icarus/layout/comment/disqus.ejs new file mode 100644 index 000000000..f36876d67 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/disqus.ejs @@ -0,0 +1,22 @@ +<% if (has_config('comment.shortname')) { %> + +<% } %> +
    + <% if (!has_config('comment.shortname')) { %> +
    + You forgot to set the shortname for Disqus. Please set it in _config.yml. +
    + <% } %> + +
    \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/comment/facebook.ejs b/src/main/resources/templates/themes/icarus/layout/comment/facebook.ejs new file mode 100644 index 000000000..f3c7c6929 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/facebook.ejs @@ -0,0 +1,8 @@ + +
    diff --git a/src/main/resources/templates/themes/icarus/layout/comment/gitment.ejs b/src/main/resources/templates/themes/icarus/layout/comment/gitment.ejs new file mode 100644 index 000000000..1dfe34eef --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/gitment.ejs @@ -0,0 +1,23 @@ +<% if (!has_config('comment.owner') || !has_config('comment.repo') || !has_config('comment.client_id') || + !has_config('comment.client_secret')) { %> +
    + You forgot to set the owner, repo, client_id, or client_secret for Gitment. + Please set it in _config.yml. +
    +<% } else { %> +
    + + + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/comment/isso.ejs b/src/main/resources/templates/themes/icarus/layout/comment/isso.ejs new file mode 100644 index 000000000..f0942e3df --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/isso.ejs @@ -0,0 +1,10 @@ +<% if (!has_config('comment.url')) { %> +
    + You forgot to set the url for Isso. Please set it in _config.yml. +
    +<% } else { %> +
    + +<% } %> + diff --git a/src/main/resources/templates/themes/icarus/layout/comment/livere.ejs b/src/main/resources/templates/themes/icarus/layout/comment/livere.ejs new file mode 100644 index 000000000..000ec66f1 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/livere.ejs @@ -0,0 +1,22 @@ +<% if (!has_config('comment.uid')) { %> +
    + You forgot to set the uid for LiveRe. Please set it in _config.yml. +
    +<% } else { %> +
    + + +
    +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/comment/valine.ejs b/src/main/resources/templates/themes/icarus/layout/comment/valine.ejs new file mode 100644 index 000000000..7a88289c1 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/comment/valine.ejs @@ -0,0 +1,19 @@ +<% if (!has_config('comment.app_id') || !has_config('comment.app_key')) { %> +
    + You forgot to set the app_id or app_key for Valine. Please set it in _config.yml. +
    +<% } else { %> +
    + + + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/common/article.ejs b/src/main/resources/templates/themes/icarus/layout/common/article.ejs new file mode 100644 index 000000000..fe97d17b8 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/article.ejs @@ -0,0 +1,103 @@ +
    + <% if (has_thumbnail(post)) { %> +
    + <%- index ? ' class="image is-7by1"> + <%= post.title %> + <%- index ? '' : '' %> +
    + <% } %> +
    + <% if (post.layout != 'page') { %> + + <% } %> +

    + <% if (index) { %> + <%= post.title %> + <% } else { %> + <%= post.title %> + <% } %> +

    +
    + <%- index && post.excerpt ? post.excerpt : post.content %> +
    + <% if (!index && post.tags && post.tags.length) { %> +
    +
    +
    + # + <%- list_tags(post.tags, { + class: 'has-link-grey ', + show_count: false, + style: 'link' + }) %> +
    +
    +
    + <% } %> + <% if (index && post.excerpt) { %> + + <% } %> + <% if (!index && has_config('share.type')) { %> + <%- partial('share/' + get_config('share.type')) %> + <% } %> +
    +
    + +<% if (!index && (post.prev || post.next)) { %> +
    +
    + <% if (post.prev){ %> + + <% } %> + <% if (post.next){ %> + + <% } %> +
    +
    +<% } %> + +<% if (!index && has_config('comment.type')) { %> +
    +
    +

    <%= __('article.comments') %>

    + <%- partial('comment/' + get_config('comment.type')) %> +
    +
    +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/common/footer.ftl b/src/main/resources/templates/themes/icarus/layout/common/footer.ftl new file mode 100644 index 000000000..05926f7d0 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/footer.ftl @@ -0,0 +1,39 @@ + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/common/head.ftl b/src/main/resources/templates/themes/icarus/layout/common/head.ftl new file mode 100644 index 000000000..3466537cc --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/head.ftl @@ -0,0 +1,34 @@ + +<%= page_title() %> + +<%- meta(page) %> + +<% if (has_config('open_graph')) { %> + <%- open_graph({ + twitter_id: get_config('open_graph.twitter_id'), + twitter_site: get_config('open_graph.twitter_site'), + google_plus: get_config('open_graph.google_plus'), + fb_admins: get_config('open_graph.fb_admins'), + fb_app_id: get_config('open_graph.fb_app_id') + }) %> +<% } %> + +<% if (has_config('rss')) { %> + +<% } %> + +<% if (has_config('favicon')) { %> + +<% } %> + +<%- css(cdn('bulma', '0.7.2', 'css/bulma.css')) %> +<%- css(iconcdn()) %> +<%- css(fontcdn('Ubuntu:400,600|Source+Code+Pro')) %> +<%- css(cdn('highlight.js', '9.12.0', 'styles/' + get_config('article.highlight') + '.css')) %> +<%- css('css/style') %> + +<% if (has_config('plugins')) { %> + <% for (let plugin in get_config('plugins')) { %> + <%- partial('plugin/' + plugin, { head: true, plugin: get_config('plugins')[plugin] }) %> + <% } %> +<% } %> diff --git a/src/main/resources/templates/themes/icarus/layout/common/navbar.ftl b/src/main/resources/templates/themes/icarus/layout/common/navbar.ftl new file mode 100644 index 000000000..8f78543d9 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/navbar.ftl @@ -0,0 +1,43 @@ + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/common/paginator.ejs b/src/main/resources/templates/themes/icarus/layout/common/paginator.ejs new file mode 100644 index 000000000..1cf49f869 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/paginator.ejs @@ -0,0 +1,48 @@ +<% function link_url(i) { + return url_for(i === 1 ? page.base : page.base + get_config('pagination_dir') + '/' + i + '/'); +} + +function pagination(c, m) { + var current = c, + last = m, + delta = 1, + left = current - delta, + right = current + delta + 1, + range = [], + elements = [], + l; + + for (let i = 1; i <= last; i++) { + if (i == 1 || i == last || (i >= left && i < right)) { + range.push(i); + } + } + + for (let i of range) { + if (l) { + if (i - l === 2) { + elements.push(`
  • ${ l + 1 }
  • `); + } else if (i - l !== 1) { + elements.push(`
  • `); + } + } + elements.push(`
  • ${ i }
  • `); + l = i; + } + return elements; +} %> +
    + +
    \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/common/scripts.ejs b/src/main/resources/templates/themes/icarus/layout/common/scripts.ejs new file mode 100644 index 000000000..1584921cb --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/scripts.ejs @@ -0,0 +1,11 @@ +<%- js(cdn('jquery', '3.3.1', 'dist/jquery.min.js')) %> +<%- js(cdn('moment', '2.22.2', 'min/moment-with-locales.min.js')) %> + + +<% if (has_config('plugins')) { %> + <% for (let plugin in get_config('plugins')) { %> + <%- partial('plugin/' + plugin, { head: false, plugin: get_config('plugins')[plugin] }) %> + <% } %> +<% } %> + +<%- js('js/main') %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/common/widget.ejs b/src/main/resources/templates/themes/icarus/layout/common/widget.ejs new file mode 100644 index 000000000..4b891e220 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/common/widget.ejs @@ -0,0 +1,32 @@ +<% if (get_widgets(position).length) { %> +<% function side_column_class() { + switch (column_count()) { + case 2: + return 'is-4-tablet is-4-desktop is-4-widescreen'; + case 3: + return 'is-4-tablet is-4-desktop is-3-widescreen'; + } + return ''; +} %> +<% function visibility_class() { + if (column_count() === 3 && position === 'right') { + return 'is-hidden-touch is-hidden-desktop-only'; + } + return ''; +} %> +<% function order_class() { + return position === 'left' ? 'has-order-1' : 'has-order-3'; +} %> +
    + <% get_widgets(position).forEach(widget => {%> + <%- partial('widget/' + widget.type, { widget, post: page }) %> + <% }) %> + <% if (position === 'left') { %> +
    + <% get_widgets('right').forEach(widget => {%> + <%- partial('widget/' + widget.type, { widget, post: page }) %> + <% }) %> +
    + <% } %> +
    +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/index.ejs b/src/main/resources/templates/themes/icarus/layout/index.ejs new file mode 100644 index 000000000..9bc3de1eb --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/index.ejs @@ -0,0 +1,6 @@ +<% page.posts.each(function(post){ %> + <%- partial('common/article', { post, index: true }) %> +<% }); %> +<% if (page.total > 1) { %> + <%- partial('common/paginator') %> +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/layout.ejs b/src/main/resources/templates/themes/icarus/layout/layout.ejs new file mode 100644 index 000000000..cf7be8790 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/layout.ejs @@ -0,0 +1,35 @@ + +> + + <%- partial('common/head') %> + + + <%- partial('common/navbar', { page }) %> + <% function main_column_class() { + switch (column_count()) { + case 1: + return 'is-12'; + case 2: + return 'is-8-tablet is-8-desktop is-8-widescreen'; + case 3: + return 'is-8-tablet is-8-desktop is-6-widescreen' + } + return ''; + } %> +
    +
    +
    +
    <%- body %>
    + <%- partial('common/widget', { position: 'left' }) %> + <%- partial('common/widget', { position: 'right' }) %> +
    +
    +
    + <%- partial('common/footer') %> + <%- partial('common/scripts') %> + + <% if (has_config('search.type')) { %> + <%- partial('search/' + get_config('search.type')) %> + <% } %> + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/page.ejs b/src/main/resources/templates/themes/icarus/layout/page.ejs new file mode 100644 index 000000000..56fa8fb03 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/page.ejs @@ -0,0 +1 @@ +<%- partial('common/article', {post: page, index: false}) %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/animejs.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/animejs.ejs new file mode 100644 index 000000000..48ec41686 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/animejs.ejs @@ -0,0 +1,43 @@ +<% if (plugin !== false) { %> + <% if (head) { %> + + <% } else { %> + <%- js(cdn('animejs', '2.2.0', 'anime.js')) %> + + <% } %> +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/back-to-top.ftl b/src/main/resources/templates/themes/icarus/layout/plugin/back-to-top.ftl new file mode 100644 index 000000000..78badb4dd --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/back-to-top.ftl @@ -0,0 +1,25 @@ +<% if (plugin !== false) { %> +<% if (!head) { %> + + + + +<%- js('js/back-to-top') %> +<% } %> +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/baidu-analytics.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/baidu-analytics.ejs new file mode 100644 index 000000000..104d3a2f7 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/baidu-analytics.ejs @@ -0,0 +1,11 @@ +<% if (head && get_config_from_obj(plugin, 'tracking_id')) { %> + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/gallery.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/gallery.ejs new file mode 100644 index 000000000..12ef1ef58 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/gallery.ejs @@ -0,0 +1,21 @@ +<% if (plugin !== false) { %> + <% if (head) { %> + <%- css(cdn('lightgallery', '1.6.8', 'dist/css/lightgallery.min.css')) %> + <%- css(cdn('justifiedGallery', '3.7.0', 'dist/css/justifiedGallery.min.css')) %> + <% } else { %> + <%- js(cdn('lightgallery', '1.6.8', 'dist/js/lightgallery.min.js')) %> + <%- js(cdn('justifiedGallery', '3.7.0', 'dist/js/jquery.justifiedGallery.min.js')) %> + + <% } %> +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/google-analytics.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/google-analytics.ejs new file mode 100644 index 000000000..853a52bc7 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/google-analytics.ejs @@ -0,0 +1,10 @@ +<% if (head && get_config_from_obj(plugin, 'tracking_id')) { %> + + +<% } %> diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/hotjar.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/hotjar.ejs new file mode 100644 index 000000000..0d889405f --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/hotjar.ejs @@ -0,0 +1,12 @@ +<% if (head && get_config_from_obj(plugin, 'site_id')) { %> + +<% } %> diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/mathjax.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/mathjax.ejs new file mode 100644 index 000000000..b6d0de8fc --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/mathjax.ejs @@ -0,0 +1,10 @@ +<% if (!head && plugin !== false) { %> +<%- js(cdn('mathjax', '2.7.5', 'unpacked/MathJax.js?config=TeX-MML-AM_CHTML')) %> + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/outdated-browser.ejs b/src/main/resources/templates/themes/icarus/layout/plugin/outdated-browser.ejs new file mode 100644 index 000000000..58da38a93 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/outdated-browser.ejs @@ -0,0 +1,22 @@ +<% if (plugin !== false) { %> + <% if (head) { %> + <%- css(cdn('outdatedbrowser', '1.1.5', 'outdatedbrowser/outdatedbrowser.min.css')) %> + <% } else { %> +
    +
    Your browser is out-of-date!
    +

    Update your browser to view this website correctly. Update my browser now

    +

    ×

    +
    + <%- js(cdn('outdatedbrowser', '1.1.5', 'outdatedbrowser/outdatedbrowser.min.js')) %> + + <% } %> +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/plugin/progressbar.ftl b/src/main/resources/templates/themes/icarus/layout/plugin/progressbar.ftl new file mode 100644 index 000000000..680eacd8c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/plugin/progressbar.ftl @@ -0,0 +1,27 @@ +<% if (head && plugin !== false) { %> +<%- js(cdn('pace-js', '1.0.2', 'pace.min.js')) %> + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/post.ejs b/src/main/resources/templates/themes/icarus/layout/post.ejs new file mode 100644 index 000000000..56fa8fb03 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/post.ejs @@ -0,0 +1 @@ +<%- partial('common/article', {post: page, index: false}) %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/search/baidu.ejs b/src/main/resources/templates/themes/icarus/layout/search/baidu.ejs new file mode 100644 index 000000000..27192f23c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/search/baidu.ejs @@ -0,0 +1,29 @@ +<%- css('css/search') %> + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/search/google-cse.ejs b/src/main/resources/templates/themes/icarus/layout/search/google-cse.ejs new file mode 100644 index 000000000..7b7076876 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/search/google-cse.ejs @@ -0,0 +1,67 @@ +<%- css('css/search') %> + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/search/insight.ejs b/src/main/resources/templates/themes/icarus/layout/search/insight.ejs new file mode 100644 index 000000000..61bd31788 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/search/insight.ejs @@ -0,0 +1,29 @@ + + +<%- js('js/insight') %> +<%- css('css/search') %> +<%- css('css/insight') %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/share/addthis.ejs b/src/main/resources/templates/themes/icarus/layout/share/addthis.ejs new file mode 100644 index 000000000..cd2111895 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/share/addthis.ejs @@ -0,0 +1,8 @@ +<% if (!has_config('share.install_url')) { %> +
    + You need to set install_url to use AddThis. Please set it in _config.yml. +
    +<% } else { %> +
    + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/share/addtoany.ejs b/src/main/resources/templates/themes/icarus/layout/share/addtoany.ejs new file mode 100644 index 000000000..a459dd951 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/share/addtoany.ejs @@ -0,0 +1,9 @@ + +
    + + + + +
    + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/share/bdshare.ejs b/src/main/resources/templates/themes/icarus/layout/share/bdshare.ejs new file mode 100644 index 000000000..efaa5e65e --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/share/bdshare.ejs @@ -0,0 +1,9 @@ +
    + + + + + + +
    + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/share/sharejs.ejs b/src/main/resources/templates/themes/icarus/layout/share/sharejs.ejs new file mode 100644 index 000000000..257bcd227 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/share/sharejs.ejs @@ -0,0 +1,3 @@ +
    +<%- css(cdn('social-share.js', '1.0.16', 'dist/css/share.min.css')) %> +<%- js(cdn('social-share.js', '1.0.16', 'dist/js/social-share.min.js')) %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/share/sharethis.ejs b/src/main/resources/templates/themes/icarus/layout/share/sharethis.ejs new file mode 100644 index 000000000..6a77c573f --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/share/sharethis.ejs @@ -0,0 +1,8 @@ +<% if (!has_config('share.install_url')) { %> +
    + You need to set install_url to use ShareThis. Please set it in _config.yml. +
    +<% } else { %> +
    + +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/tag.ejs b/src/main/resources/templates/themes/icarus/layout/tag.ejs new file mode 100644 index 000000000..23f3a40c2 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/tag.ejs @@ -0,0 +1,11 @@ +
    +
    + +
    +
    +<%- partial('index', { page }) %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/tags.ejs b/src/main/resources/templates/themes/icarus/layout/tags.ejs new file mode 100644 index 000000000..68592adda --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/tags.ejs @@ -0,0 +1,23 @@ +
    +
    + +
    +
    \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/archive.ejs b/src/main/resources/templates/themes/icarus/layout/widget/archive.ejs new file mode 100644 index 000000000..20298e025 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/archive.ejs @@ -0,0 +1,23 @@ +
    +
    + +
    +
    \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/category.ejs b/src/main/resources/templates/themes/icarus/layout/widget/category.ejs new file mode 100644 index 000000000..a857b495e --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/category.ejs @@ -0,0 +1 @@ +<%- partial('categories') %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/links.ejs b/src/main/resources/templates/themes/icarus/layout/widget/links.ejs new file mode 100644 index 000000000..c87c6050e --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/links.ejs @@ -0,0 +1,26 @@ +<% const links = get_config_from_obj(widget, 'links'); %> +<% if (links !== null) { %> +
    +
    + +
    +
    +<% } %> diff --git a/src/main/resources/templates/themes/icarus/layout/widget/profile.ejs b/src/main/resources/templates/themes/icarus/layout/widget/profile.ejs new file mode 100644 index 000000000..a213a63c1 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/profile.ejs @@ -0,0 +1,90 @@ +<% function avatar() { + const avatar = get_config_from_obj(widget, 'avatar'); + const gravatar = get_config_from_obj(widget, 'gravatar'); + if (gravatar !== null) { + return gravatar(gravatar, 128); + } + if (avatar !== null) { + return url_for(avatar) + } + return url_for('images/avatar.png'); +} %> +
    +
    + + + + <% const socialLinks = get_config_from_obj(widget, 'social_links'); %> + <% if (socialLinks !== null) { %> +
    + <% for (let name in socialLinks) { + let link = socialLinks[name]; %> + + <% if (typeof(link) === 'string') { %> + <%= name %> + <% } else { %> + + <% } %> + + <% } %> +
    + <% } %> +
    +
    \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/recent_posts.ejs b/src/main/resources/templates/themes/icarus/layout/widget/recent_posts.ejs new file mode 100644 index 000000000..0edfc0016 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/recent_posts.ejs @@ -0,0 +1,34 @@ +<% if (site.posts.length) { %> +
    +
    + + <% site.posts.sort('date', -1).limit(5).each(post => { %> +
    + <% if (!has_config('article.thumbnail') || get_config('article.thumbnail') !== false) { %> + +

    + <%= post.title %> +

    +
    + <% } %> +
    +
    +
    + <%= post.title %> +

    + <%- list_categories(post.categories, { + show_count: false, + class: 'has-link-grey ', + depth:2, + style: 'none', + separator: ' / '}) %> +

    +
    +
    +
    + <% }) %> +
    +
    +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/tag.ejs b/src/main/resources/templates/themes/icarus/layout/widget/tag.ejs new file mode 100644 index 000000000..7bcc18f58 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/tag.ejs @@ -0,0 +1 @@ +<%- partial('tags') %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/tagcloud.ejs b/src/main/resources/templates/themes/icarus/layout/widget/tagcloud.ejs new file mode 100644 index 000000000..daf466883 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/tagcloud.ejs @@ -0,0 +1,10 @@ +<% if (site.tags.length) { %> +
    +
    + + <%- tagcloud() %> +
    +
    +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/layout/widget/toc.ejs b/src/main/resources/templates/themes/icarus/layout/widget/toc.ejs new file mode 100644 index 000000000..b4a49735d --- /dev/null +++ b/src/main/resources/templates/themes/icarus/layout/widget/toc.ejs @@ -0,0 +1,39 @@ +<% if (get_config('toc') === true && (post.layout === 'page' || post.layout === 'post')) { +function buildToc(toc) { + let result = ''; + if (toc.hasOwnProperty('id') && toc.hasOwnProperty('index') && toc.hasOwnProperty('text')) { + result += `
  • + + ${toc.index} + ${toc.text} + `; + } + let keys = Object.keys(toc); + keys.indexOf('id') > -1 && keys.splice(keys.indexOf('id'), 1); + keys.indexOf('text') > -1 && keys.splice(keys.indexOf('text'), 1); + keys.indexOf('index') > -1 && keys.splice(keys.indexOf('index'), 1); + keys = keys.map(k => parseInt(k)).sort((a, b) => a - b); + if (keys.length > 0) { + result += ''; + } + if (toc.hasOwnProperty('id') && toc.hasOwnProperty('index') && toc.hasOwnProperty('text')) { + result += '
  • '; + } + return result; +} +%> +
    +
    + +
    +
    +<% } %> \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/scripts/index.js b/src/main/resources/templates/themes/icarus/scripts/index.js new file mode 100644 index 000000000..1fd9e98f5 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/scripts/index.js @@ -0,0 +1,19 @@ +require('../includes/tasks/welcome'); +require('../includes/tasks/check_deps'); +require('../includes/tasks/check_config'); +require('../includes/generators/categories')(hexo); +require('../includes/generators/category')(hexo); +require('../includes/generators/tags')(hexo); +require('../includes/generators/insight')(hexo); +require('../includes/filters/highlight')(hexo); +require('../includes/helpers/cdn')(hexo); +require('../includes/helpers/config')(hexo); +require('../includes/helpers/layout')(hexo); +require('../includes/helpers/override')(hexo); +require('../includes/helpers/page')(hexo); +require('../includes/helpers/site')(hexo); + +// Debug helper +hexo.extend.helper.register('console', function () { + console.log(arguments) +}); \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/css/insight.css b/src/main/resources/templates/themes/icarus/source/css/insight.css new file mode 100644 index 000000000..d145ba637 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/css/insight.css @@ -0,0 +1,57 @@ +.ins-section-container { + position: relative; + background: #f7f7f7; +} + +.ins-section { + font-size: 14px; + line-height: 16px; +} + +.ins-section .ins-section-header, .ins-section .ins-search-item { + padding: 8px 15px; +} + +.ins-section .ins-section-header { + color: #9a9a9a; + border-bottom: 1px solid #e2e2e2; +} + +.ins-section .ins-slug { + margin-left: 5px; + color: #9a9a9a; +} + +.ins-section .ins-slug:before { + content: '('; +} + +.ins-section .ins-slug:after { + content: ')'; +} + +.ins-section .ins-search-item header, .ins-section .ins-search-item .ins-search-preview { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +.ins-section .ins-search-item header .ins-title { + margin-left: 8px; +} + +.ins-section .ins-search-item .ins-search-preview { + height: 15px; + font-size: 12px; + color: #9a9a9a; + margin: 5px 0 0 20px; +} + +.ins-section .ins-search-item:hover, .ins-section .ins-search-item.active { + color: #fff; + background: #3273dc; +} + +.ins-section .ins-search-item:hover .ins-slug, .ins-section .ins-search-item.active .ins-slug, .ins-section .ins-search-item:hover .ins-search-preview, .ins-section .ins-search-item.active .ins-search-preview { + color: #fff; +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/css/search.css b/src/main/resources/templates/themes/icarus/source/css/search.css new file mode 100644 index 000000000..b081710db --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/css/search.css @@ -0,0 +1,93 @@ +.searchbox { + display: none; + perspective: 50em; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 100; + background: rgba(0, 0, 0, 0.7); + transform-origin: 0%; + perspective-origin: top center; +} + +.searchbox.show { + display: block; +} + +.searchbox, .searchbox .searchbox-container { + position: fixed; +} + +.searchbox .searchbox-container { + overflow: hidden; +} + +.searchbox .searchbox-selectable { + cursor: pointer; +} + +.searchbox .searchbox-input-wrapper { + position: relative; +} + +.searchbox .searchbox-input-wrapper .searchbox-input { + width: 100%; + border: none; + outline: none; + font-size: 16px; + box-shadow: none; + font-weight: 200; + border-radius: 0; + background: #fff; + line-height: 20px; + box-sizing: border-box; + padding: 12px 28px 12px 20px; + border-bottom: 1px solid #e2e2e2; +} + +.searchbox .searchbox-input-wrapper .searchbox-close { + top: 50%; + right: 6px; + width: 20px; + height: 20px; + font-size: 16px; + margin-top: -11px; + position: absolute; + text-align: center; + display: inline-block; +} + +.searchbox .searchbox-input-wrapper .searchbox-close:hover { + color: #3273dc; +} + +.searchbox .searchbox-result-wrapper { + left: 0; + right: 0; + top: 45px; + bottom: 0; + overflow-y: auto; + position: absolute; +} + +.searchbox .searchbox-container { + left: 50%; + top: 100px; + width: 540px; + z-index: 101; + bottom: 100px; + margin-left: -270px; + box-sizing: border-box; +} + +@media screen and (max-width: 559px), screen and (max-height: 479px) { + .searchbox .searchbox-container { + top: 0; + left: 0; + margin: 0; + width: 100%; + height: 100%; + background: #f7f7f7; + } +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/css/style.styl b/src/main/resources/templates/themes/icarus/source/css/style.styl new file mode 100644 index 000000000..ce7c47519 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/css/style.styl @@ -0,0 +1,345 @@ +family-serif = "Ubuntu", "Roboto", "Open Sans", "Microsoft YaHei", serif +family-mono = "Source Code Pro", monospace, "Microsoft YaHei" + +/* --------------------------------- + * Override CSS Framework + * --------------------------------- */ +html + font-size: 14px + +body + font-family: family-serif + background-color: #f7f7f7 + +@media screen and (min-width: 1280px) + .is-1-column .container + .is-2-column .container + max-width: 960px + width: 960px +@media screen and (min-width: 1472px) + .is-2-column .container + max-width: 1152px + width: 1152px + .is-1-column .container + max-width: 960px + width: 960px + +@media screen and (max-width: 768px) + .section + padding: 1.5rem 1rem + +.column-main, +.column-left, +.column-right + align-self: flex-start + &.is-sticky + position: sticky + top: .75rem + +.card + overflow: hidden + border-radius: 4px + transform-origin: center top + box-shadow: 0 4px 10px rgba(0,0,0,0.05), 0 0 1px rgba(0,0,0,0.1) + & + .card + margin-top: 1.5rem + &.card-transparent + overflow: visible + box-shadow: none + background: transparent + +img.thumbnail + object-fit: cover + width: 100% + height: 100% + +.navbar-logo, +.footer-logo + img + max-height: 1.75rem + +.navbar-main + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) + .navbar-menu, + .navbar-start, + .navbar-end + align-items: stretch + display: flex + padding: 0 + .navbar-menu + flex-grow: 1 + flex-shrink: 0 + overflow-x: auto + .navbar-start + justify-content: flex-start + margin-right: auto + .navbar-end + justify-content: flex-end + margin-left: auto + .navbar-item + display: flex + align-items: center + padding: 1.25rem 0.75rem + &.is-active + color: hsl(217, 71%, 53%) + background-color: transparent + @media screen and (max-width: 1087px) + .navbar-menu + justify-content: center + box-shadow: none + .navbar-start + margin-right: 0 + .navbar-end + margin-left: 0 + +.footer + background: white + .field + .button + background: transparent + +.widget + .media + border: none + .media + .media + margin-top: 0 + .menu-list li ul + margin-right: 0 + .menu-list a.level + display: flex + +.pagination + .pagination-link:not(.is-current), .pagination-previous, .pagination-next + background: white + border: none + .pagination-link, .pagination-previous, .pagination-next + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) + +.post-navigation + justify-content: space-around + .level-item + margin-bottom: 0 + +.timeline + margin-left: 1rem + padding-left: 1.5rem + padding-top: 1rem + border-left: 1px solid hsl(0, 0%, 86%) + .media + position: relative + &:before, + &:last-child:after + content: '' + display: block + position: absolute + left: calc(-5px - 1.5rem) + &:before + width: 9px + height: 9px + top: 1.3rem + background: hsl(0, 0%, 86%) + border-radius: 50% + &:first-child:before + top: 0.3rem + &:last-child:after + top: calc(1.3rem + 9px) + width: 9px + bottom: 0 + background: white + &:first-child:last-child:after + top: calc(0.3rem + 9px) + +.article + .article-meta + margin-bottom: 0.5rem !important + .content + font-size: 1.1rem + blockquote.pullquote + float: right + max-width: 50% + font-size: 1.15rem + position: relative + +.rtl + direction: rtl + .level + &, &.is-mobile + .level-item:not(:last-child) + margin-left: 0.75rem + margin-right: 0 + +/* --------------------------------- + * Custom modifiers + * --------------------------------- */ +.is-size-7 + font-size: 0.85rem !important + +.is-7by1 + padding-top: 42.8% + img + bottom: 0 + left: 0 + position: absolute + right: 0 + top: 0 + +.is-overflow-x-auto + overflow-x: auto !important + +.is-flex-grow + flex-grow: 1 !important + +.is-flex-wrap + flex-wrap: wrap !important + +.is-flex-start + justify-content: start !important + +.is-flex-center + justify-content: center !important + +.is-flex-middle + align-items: center !important + +.has-order-1 + order: 1 + +.has-order-2 + order: 2 + +.has-order-3 + order: 3 + +.has-mr-6 + margin-right: 0.5em !important + +.has-mb-6 + margin-bottom: 0.5em !important + +.has-mr-7 + margin-right: 0.25em !important + +.has-link-grey, +.has-link-black-ter + transition: 0.2s ease + &:hover + color: hsl(217, 71%, 53%) !important + +.has-link-grey + color: hsl(0, 0%, 48%) !important + +.has-link-black-ter + color: hsl(0, 0%, 14%) !important + +@media screen and (max-width: 768px) + .has-text-centered-mobile + text-align: center !important + .is-flex-center-mobile + justify-content: center !important + .has-mt-5-mobile + margin-top: 1em !important + +/* --------------------------------- + * Font icon fixes + * --------------------------------- */ +.fa, .fab, .fal, .far, .fas + line-height: inherit + +/* --------------------------------- + * Fix content elements + * --------------------------------- */ +.content + h1, h2, h3, h4, h5, h6 + font-weight: 400 + h1 + font-size: 1.75em + h2 + font-size: 1.5em + h3 + font-size: 1.25em + h4 + font-size: 1.125em + h5 + font-size: 1em + code, pre + font-size: 0.85em + font-family: family-mono + code + color: hsl(348, 100%, 61%) + background: transparent + padding: 0 + blockquote + footer + strong + cite + margin-left: 0.5em + +/* --------------------------------- + * Fix code highlight + * --------------------------------- */ +figure.highlight + padding: 0 + width: 100% + margin: 1em 0 1em !important + + pre, + table tr:hover + color: inherit + background: transparent + + table + width: auto + + pre + padding: 0 + overflow: visible + + .line + line-height: 1.5rem + + figcaption, + .gutter + background: rgba(200, 200, 200, 0.15) + + figcaption + padding: .3em .75em + text-align: left + font-style: normal + font-size: .8em + + span + font-weight: 500 + font-family: family-mono + + a + float: right + color: #9a9a9a + + .gutter + text-align: right + + .tag, + .title, + .number, + .section + display: inherit + font: inherit + margin: inherit + padding: inherit + background: inherit + height: inherit + text-align: inherit + vertical-align: inherit + min-width: inherit + border-radius: inherit + +/* --------------------------------- + * Fix Gist Snippet + * --------------------------------- */ +.gist + table + tr:hover + background: transparent + td + border: none + .file + all: initial \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/images/avatar.png b/src/main/resources/templates/themes/icarus/source/images/avatar.png new file mode 100644 index 000000000..baba51e53 Binary files /dev/null and b/src/main/resources/templates/themes/icarus/source/images/avatar.png differ diff --git a/src/main/resources/templates/themes/icarus/source/images/favicon.svg b/src/main/resources/templates/themes/icarus/source/images/favicon.svg new file mode 100644 index 000000000..32a8683c8 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/images/favicon.svg @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/images/logo.svg b/src/main/resources/templates/themes/icarus/source/images/logo.svg new file mode 100644 index 000000000..038b5938f --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/images/logo.svg @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/images/thumbnail.svg b/src/main/resources/templates/themes/icarus/source/images/thumbnail.svg new file mode 100644 index 000000000..59505dc0c --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/images/thumbnail.svg @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/js/back-to-top.js b/src/main/resources/templates/themes/icarus/source/js/back-to-top.js new file mode 100644 index 000000000..08fbf1cc5 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/js/back-to-top.js @@ -0,0 +1,134 @@ +$(document).ready(function () { + var $button = $('#back-to-top'); + var $footer = $('footer.footer'); + var $mainColumn = $('.column-main'); + var $leftSidebar = $('.column-left'); + var $rightSidebar = $('.column-right'); + var lastScrollTop = 0; + var rightMargin = 20; + var bottomMargin = 20; + + var state = { + base: { + classname: 'card has-text-centered', + left: '', + width: 64, + bottom: bottomMargin, + 'border-radius': 4 + } + }; + state['desktop-hidden'] = Object.assign({}, state.base, { + classname: state.base.classname + ' rise-up', + }); + state['desktop-visible'] = Object.assign({}, state['desktop-hidden'], { + classname: state['desktop-hidden'].classname + ' fade-in', + }); + state['desktop-dock'] = Object.assign({}, state['desktop-visible'], { + classname: state['desktop-visible'].classname + ' fade-in', + width: 40, + 'border-radius': '50%' + }); + state['mobile-hidden'] = Object.assign({}, state.base, { + classname: state.base.classname + ' fade-in', + right: rightMargin + }); + state['mobile-visible'] = Object.assign({}, state['mobile-hidden'], { + classname: state['mobile-hidden'].classname + ' rise-up', + }); + + function applyState(state) { + $button.attr('class', state.classname); + for (let prop in state) { + if (prop === 'classname') { + continue; + } + $button.css(prop, state[prop]); + } + } + + function isDesktop() { + return window.innerWidth >= 1078; + } + + function isTablet() { + return window.innerWidth >= 768 && !isDesktop(); + } + + function isScrollUp() { + return $(window).scrollTop() < lastScrollTop && $(window).scrollTop() > 0; + } + + function hasLeftSidebar() { + return $leftSidebar.length > 0; + } + + function hasRightSidebar() { + return $rightSidebar.length > 0; + } + + function getRightSidebarBottom() { + if (!hasRightSidebar()) { + return 0; + } + return Math.max.apply(null, $rightSidebar.find('.widget').map(function () { + return $(this).offset().top + $(this).outerHeight(true); + })); + } + + function getScrollBottom() { + return $(window).scrollTop() + $(window).height(); + } + + function getButtonWidth() { + return $button.outerWidth(true); + } + + function getButtonHeight() { + return $button.outerHeight(true); + } + + function updateScrollTop() { + lastScrollTop = $(window).scrollTop(); + } + + function update() { + // desktop mode or tablet mode with only right sidebar enabled + if (isDesktop() || (isTablet() && !hasLeftSidebar() && hasRightSidebar())) { + var nextState; + var padding = ($mainColumn.outerWidth() - $mainColumn.width()) / 2; + var maxLeft = $(window).width() - getButtonWidth() - rightMargin; + var maxBottom = $footer.offset().top + getButtonHeight() / 2 + bottomMargin; + if (getScrollBottom() < getRightSidebarBottom() + padding + getButtonHeight()) { + nextState = state['desktop-hidden']; + } else if (getScrollBottom() < maxBottom) { + nextState = state['desktop-visible']; + } else { + nextState = Object.assign({}, state['desktop-dock'], { + bottom: getScrollBottom() - maxBottom + bottomMargin + }); + } + + var left = $mainColumn.offset().left + $mainColumn.outerWidth() + padding; + nextState = Object.assign({}, nextState, { + left: Math.min(left, maxLeft) + }); + applyState(nextState); + } else { + // mobile and tablet mode + if (!isScrollUp()) { + applyState(state['mobile-hidden']); + } else { + applyState(state['mobile-visible']); + } + updateScrollTop(); + } + } + + update(); + $(window).resize(update); + $(window).scroll(update); + + $('#back-to-top').on('click', function () { + $('body, html').animate({ scrollTop: 0 }, 400); + }); +}); \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/js/insight.js b/src/main/resources/templates/themes/icarus/source/js/insight.js new file mode 100644 index 000000000..41a50f543 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/js/insight.js @@ -0,0 +1,235 @@ +/** + * Insight search plugin + * @author PPOffice { @link https://github.com/ppoffice } + */ +(function ($, CONFIG) { + var $main = $('.ins-search'); + var $input = $main.find('.ins-search-input'); + var $wrapper = $main.find('.ins-section-wrapper'); + var $container = $main.find('.ins-section-container'); + $main.parent().remove('.ins-search'); + $('body').append($main); + + function section (title) { + return $('
    ').addClass('ins-section') + .append($('
    ').addClass('ins-section-header').text(title)); + } + + function searchItem (icon, title, slug, preview, url) { + return $('
    ').addClass('ins-selectable').addClass('ins-search-item') + .append($('
    ').append($('').addClass('fa').addClass('fa-' + icon)) + .append($('').addClass('ins-title').text(title != null && title !== '' ? title : CONFIG.TRANSLATION['UNTITLED'])) + .append(slug ? $('').addClass('ins-slug').text(slug) : null)) + .append(preview ? $('

    ').addClass('ins-search-preview').text(preview) : null) + .attr('data-url', url); + } + + function sectionFactory (type, array) { + var sectionTitle; + var $searchItems; + if (array.length === 0) return null; + sectionTitle = CONFIG.TRANSLATION[type]; + switch (type) { + case 'POSTS': + case 'PAGES': + $searchItems = array.map(function (item) { + // Use config.root instead of permalink to fix url issue + return searchItem('file', item.title, null, item.text.slice(0, 150), item.link); + }); + break; + case 'CATEGORIES': + case 'TAGS': + $searchItems = array.map(function (item) { + return searchItem(type === 'CATEGORIES' ? 'folder' : 'tag', item.name, item.slug, null, item.link); + }); + break; + default: + return null; + } + return section(sectionTitle).append($searchItems); + } + + function parseKeywords (keywords) { + return keywords.split(' ').filter(function (keyword) { + return !!keyword; + }).map(function (keyword) { + return keyword.toUpperCase(); + }); + } + + /** + * Judge if a given post/page/category/tag contains all of the keywords. + * @param Object obj Object to be weighted + * @param Array fields Object's fields to find matches + */ + function filter (keywords, obj, fields) { + var keywordArray = parseKeywords(keywords); + var containKeywords = keywordArray.filter(function (keyword) { + var containFields = fields.filter(function (field) { + if (!obj.hasOwnProperty(field)) + return false; + if (obj[field].toUpperCase().indexOf(keyword) > -1) + return true; + }); + if (containFields.length > 0) + return true; + return false; + }); + return containKeywords.length === keywordArray.length; + } + + function filterFactory (keywords) { + return { + POST: function (obj) { + return filter(keywords, obj, ['title', 'text']); + }, + PAGE: function (obj) { + return filter(keywords, obj, ['title', 'text']); + }, + CATEGORY: function (obj) { + return filter(keywords, obj, ['name', 'slug']); + }, + TAG: function (obj) { + return filter(keywords, obj, ['name', 'slug']); + } + }; + } + + /** + * Calculate the weight of a matched post/page/category/tag. + * @param Object obj Object to be weighted + * @param Array fields Object's fields to find matches + * @param Array weights Weight of every field + */ + function weight (keywords, obj, fields, weights) { + var value = 0; + parseKeywords(keywords).forEach(function (keyword) { + var pattern = new RegExp(keyword, 'img'); // Global, Multi-line, Case-insensitive + fields.forEach(function (field, index) { + if (obj.hasOwnProperty(field)) { + var matches = obj[field].match(pattern); + value += matches ? matches.length * weights[index] : 0; + } + }); + }); + return value; + } + + function weightFactory (keywords) { + return { + POST: function (obj) { + return weight(keywords, obj, ['title', 'text'], [3, 1]); + }, + PAGE: function (obj) { + return weight(keywords, obj, ['title', 'text'], [3, 1]); + }, + CATEGORY: function (obj) { + return weight(keywords, obj, ['name', 'slug'], [1, 1]); + }, + TAG: function (obj) { + return weight(keywords, obj, ['name', 'slug'], [1, 1]); + } + }; + } + + function search (json, keywords) { + var WEIGHTS = weightFactory(keywords); + var FILTERS = filterFactory(keywords); + var posts = json.posts; + var pages = json.pages; + var tags = json.tags; + var categories = json.categories; + return { + posts: posts.filter(FILTERS.POST).sort(function (a, b) { return WEIGHTS.POST(b) - WEIGHTS.POST(a); }).slice(0, 5), + pages: pages.filter(FILTERS.PAGE).sort(function (a, b) { return WEIGHTS.PAGE(b) - WEIGHTS.PAGE(a); }).slice(0, 5), + categories: categories.filter(FILTERS.CATEGORY).sort(function (a, b) { return WEIGHTS.CATEGORY(b) - WEIGHTS.CATEGORY(a); }).slice(0, 5), + tags: tags.filter(FILTERS.TAG).sort(function (a, b) { return WEIGHTS.TAG(b) - WEIGHTS.TAG(a); }).slice(0, 5) + }; + } + + function searchResultToDOM (searchResult) { + $container.empty(); + for (var key in searchResult) { + $container.append(sectionFactory(key.toUpperCase(), searchResult[key])); + } + } + + function scrollTo ($item) { + if ($item.length === 0) return; + var wrapperHeight = $wrapper[0].clientHeight; + var itemTop = $item.position().top - $wrapper.scrollTop(); + var itemBottom = $item[0].clientHeight + $item.position().top; + if (itemBottom > wrapperHeight + $wrapper.scrollTop()) { + $wrapper.scrollTop(itemBottom - $wrapper[0].clientHeight); + } + if (itemTop < 0) { + $wrapper.scrollTop($item.position().top); + } + } + + function selectItemByDiff (value) { + var $items = $.makeArray($container.find('.ins-selectable')); + var prevPosition = -1; + $items.forEach(function (item, index) { + if ($(item).hasClass('active')) { + prevPosition = index; + return; + } + }); + var nextPosition = ($items.length + prevPosition + value) % $items.length; + $($items[prevPosition]).removeClass('active'); + $($items[nextPosition]).addClass('active'); + scrollTo($($items[nextPosition])); + } + + function gotoLink ($item) { + if ($item && $item.length) { + location.href = $item.attr('data-url'); + } + } + + $.getJSON(CONFIG.CONTENT_URL, function (json) { + if (location.hash.trim() === '#ins-search') { + $main.addClass('show'); + } + $input.on('input', function () { + var keywords = $(this).val(); + searchResultToDOM(search(json, keywords)); + }); + $input.trigger('input'); + }); + + var touch = false; + $(document).on('click focus', '.navbar-main .search', function () { + $main.addClass('show'); + $main.find('.ins-search-input').focus(); + }).on('click touchend', '.ins-search-item', function (e) { + if (e.type !== 'click' && !touch) { + return; + } + gotoLink($(this)); + touch = false; + }).on('click touchend', '.ins-close', function (e) { + if (e.type !== 'click' && !touch) { + return; + } + $main.removeClass('show'); + touch = false; + }).on('keydown', function (e) { + if (!$main.hasClass('show')) return; + switch (e.keyCode) { + case 27: // ESC + $main.removeClass('show'); break; + case 38: // UP + selectItemByDiff(-1); break; + case 40: // DOWN + selectItemByDiff(1); break; + case 13: //ENTER + gotoLink($container.find('.ins-selectable.active').eq(0)); break; + } + }).on('touchstart', function (e) { + touch = true; + }).on('touchmove', function (e) { + touch = false; + }); +})(jQuery, window.INSIGHT_CONFIG); \ No newline at end of file diff --git a/src/main/resources/templates/themes/icarus/source/js/main.js b/src/main/resources/templates/themes/icarus/source/js/main.js new file mode 100644 index 000000000..9e7b05ab5 --- /dev/null +++ b/src/main/resources/templates/themes/icarus/source/js/main.js @@ -0,0 +1,28 @@ +(function($){ + $('.article img:not(".not-gallery-item")').each(function () { + // wrap images with link and add caption if possible + if ($(this).parent('a').length === 0) { + $(this).wrap(''); + if (this.alt) { + $(this).after('

    ' + this.alt + '
    '); + } + } + }); + + if (typeof(moment) === 'function') { + $('.article-meta time').each(function () { + $(this).text(moment($(this).attr('datetime')).fromNow()); + }); + } + + function adjustNavbar() { + const navbarWidth = $('.navbar-main .navbar-start').outerWidth() + $('.navbar-main .navbar-end').outerWidth(); + if ($(document).outerWidth() < navbarWidth) { + $('.navbar-main .navbar-menu').addClass('is-flex-start'); + } else { + $('.navbar-main .navbar-menu').removeClass('is-flex-start'); + } + } + adjustNavbar(); + $(window).resize(adjustNavbar); +})(jQuery); diff --git a/src/main/resources/templates/themes/money/assets/css/animate.min.css b/src/main/resources/templates/themes/money/assets/css/animate.min.css new file mode 100644 index 000000000..58b790033 --- /dev/null +++ b/src/main/resources/templates/themes/money/assets/css/animate.min.css @@ -0,0 +1,3272 @@ +@charset "UTF-8"; + +/*! +Animate.css - http://daneden.me/animate +Licensed under the MIT license - http://opensource.org/licenses/MIT + +Copyright (c) 2015 Daniel Eden +*/ + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.infinite { + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; +} + +.animated.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; +} + +.animated.bounceIn, +.animated.bounceOut { + -webkit-animation-duration: .75s; + animation-duration: .75s; +} + +.animated.flipOutX, +.animated.flipOutY { + -webkit-animation-duration: .75s; + animation-duration: .75s; +} + +@-webkit-keyframes bounce { + from, 20%, 53%, 80%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + -webkit-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + } + + 40%, 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0,-4px,0); + transform: translate3d(0,-4px,0); + } +} + +@keyframes bounce { + from, 20%, 53%, 80%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + -webkit-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + } + + 40%, 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0,-4px,0); + transform: translate3d(0,-4px,0); + } +} + +.bounce { + -webkit-animation-name: bounce; + animation-name: bounce; + -webkit-transform-origin: center bottom; + transform-origin: center bottom; +} + +@-webkit-keyframes flash { + from, 50%, to { + opacity: 1; + } + + 25%, 75% { + opacity: 0; + } +} + +@keyframes flash { + from, 50%, to { + opacity: 1; + } + + 25%, 75% { + opacity: 0; + } +} + +.flash { + -webkit-animation-name: flash; + animation-name: flash; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.pulse { + -webkit-animation-name: pulse; + animation-name: pulse; +} + +@-webkit-keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(.95, 1.05, 1); + transform: scale3d(.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, .95, 1); + transform: scale3d(1.05, .95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(.95, 1.05, 1); + transform: scale3d(.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, .95, 1); + transform: scale3d(1.05, .95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.rubberBand { + -webkit-animation-name: rubberBand; + animation-name: rubberBand; +} + +@-webkit-keyframes shake { + from, to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, 30%, 50%, 70%, 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, 40%, 60%, 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +@keyframes shake { + from, to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, 30%, 50%, 70%, 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, 40%, 60%, 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +.shake { + -webkit-animation-name: shake; + animation-name: shake; +} + +@-webkit-keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +@keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +.swing { + -webkit-transform-origin: top center; + transform-origin: top center; + -webkit-animation-name: swing; + animation-name: swing; +} + +@-webkit-keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, 20% { + -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); + } + + 30%, 50%, 70%, 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, 60%, 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, 20% { + -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); + } + + 30%, 50%, 70%, 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, 60%, 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.tada { + -webkit-animation-name: tada; + animation-name: tada; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes wobble { + from { + -webkit-transform: none; + transform: none; + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +@keyframes wobble { + from { + -webkit-transform: none; + transform: none; + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +.wobble { + -webkit-animation-name: wobble; + animation-name: wobble; +} + +@-webkit-keyframes jello { + from, 11.1%, to { + -webkit-transform: none; + transform: none; + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +@keyframes jello { + from, 11.1%, to { + -webkit-transform: none; + transform: none; + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +.jello { + -webkit-animation-name: jello; + animation-name: jello; + -webkit-transform-origin: center; + transform-origin: center; +} + +@-webkit-keyframes bounceIn { + from, 20%, 40%, 60%, 80%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(.9, .9, .9); + transform: scale3d(.9, .9, .9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(.97, .97, .97); + transform: scale3d(.97, .97, .97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes bounceIn { + from, 20%, 40%, 60%, 80%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(.9, .9, .9); + transform: scale3d(.9, .9, .9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(.97, .97, .97); + transform: scale3d(.97, .97, .97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.bounceIn { + -webkit-animation-name: bounceIn; + animation-name: bounceIn; +} + +@-webkit-keyframes bounceInDown { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +@keyframes bounceInDown { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +.bounceInDown { + -webkit-animation-name: bounceInDown; + animation-name: bounceInDown; +} + +@-webkit-keyframes bounceInLeft { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +@keyframes bounceInLeft { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +.bounceInLeft { + -webkit-animation-name: bounceInLeft; + animation-name: bounceInLeft; +} + +@-webkit-keyframes bounceInRight { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +@keyframes bounceInRight { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: none; + transform: none; + } +} + +.bounceInRight { + -webkit-animation-name: bounceInRight; + animation-name: bounceInRight; +} + +@-webkit-keyframes bounceInUp { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInUp { + from, 60%, 75%, 90%, to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInUp { + -webkit-animation-name: bounceInUp; + animation-name: bounceInUp; +} + +@-webkit-keyframes bounceOut { + 20% { + -webkit-transform: scale3d(.9, .9, .9); + transform: scale3d(.9, .9, .9); + } + + 50%, 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } +} + +@keyframes bounceOut { + 20% { + -webkit-transform: scale3d(.9, .9, .9); + transform: scale3d(.9, .9, .9); + } + + 50%, 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } +} + +.bounceOut { + -webkit-animation-name: bounceOut; + animation-name: bounceOut; +} + +@-webkit-keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.bounceOutDown { + -webkit-animation-name: bounceOutDown; + animation-name: bounceOutDown; +} + +@-webkit-keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.bounceOutLeft { + -webkit-animation-name: bounceOutLeft; + animation-name: bounceOutLeft; +} + +@-webkit-keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.bounceOutRight { + -webkit-animation-name: bounceOutRight; + animation-name: bounceOutRight; +} + +@-webkit-keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.bounceOutUp { + -webkit-animation-name: bounceOutUp; + animation-name: bounceOutUp; +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +.fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; +} + +@-webkit-keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInDown { + -webkit-animation-name: fadeInDown; + animation-name: fadeInDown; +} + +@-webkit-keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInDownBig { + -webkit-animation-name: fadeInDownBig; + animation-name: fadeInDownBig; +} + +@-webkit-keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInLeft { + -webkit-animation-name: fadeInLeft; + animation-name: fadeInLeft; +} + +@-webkit-keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInLeftBig { + -webkit-animation-name: fadeInLeftBig; + animation-name: fadeInLeftBig; +} + +@-webkit-keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInRight { + -webkit-animation-name: fadeInRight; + animation-name: fadeInRight; +} + +@-webkit-keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInRightBig { + -webkit-animation-name: fadeInRightBig; + animation-name: fadeInRightBig; +} + +@-webkit-keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInUp { + -webkit-animation-name: fadeInUp; + animation-name: fadeInUp; +} + +@-webkit-keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.fadeInUpBig { + -webkit-animation-name: fadeInUpBig; + animation-name: fadeInUpBig; +} + +@-webkit-keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.fadeOutDown { + -webkit-animation-name: fadeOutDown; + animation-name: fadeOutDown; +} + +@-webkit-keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.fadeOutDownBig { + -webkit-animation-name: fadeOutDownBig; + animation-name: fadeOutDownBig; +} + +@-webkit-keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.fadeOutLeft { + -webkit-animation-name: fadeOutLeft; + animation-name: fadeOutLeft; +} + +@-webkit-keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.fadeOutLeftBig { + -webkit-animation-name: fadeOutLeftBig; + animation-name: fadeOutLeftBig; +} + +@-webkit-keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.fadeOutRight { + -webkit-animation-name: fadeOutRight; + animation-name: fadeOutRight; +} + +@-webkit-keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.fadeOutRightBig { + -webkit-animation-name: fadeOutRightBig; + animation-name: fadeOutRightBig; +} + +@-webkit-keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.fadeOutUp { + -webkit-animation-name: fadeOutUp; + animation-name: fadeOutUp; +} + +@-webkit-keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.fadeOutUpBig { + -webkit-animation-name: fadeOutUpBig; + animation-name: fadeOutUpBig; +} + +@-webkit-keyframes flip { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(.95, .95, .95); + transform: perspective(400px) scale3d(.95, .95, .95); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +@keyframes flip { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(.95, .95, .95); + transform: perspective(400px) scale3d(.95, .95, .95); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +.animated.flip { + -webkit-backface-visibility: visible; + backface-visibility: visible; + -webkit-animation-name: flip; + animation-name: flip; +} + +@-webkit-keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInX; + animation-name: flipInX; +} + +@-webkit-keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInY; + animation-name: flipInY; +} + +@-webkit-keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +.flipOutX { + -webkit-animation-name: flipOutX; + animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@-webkit-keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipOutY; + animation-name: flipOutY; +} + +@-webkit-keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + opacity: 1; + } + + to { + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +@keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + opacity: 1; + } + + to { + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +.lightSpeedIn { + -webkit-animation-name: lightSpeedIn; + animation-name: lightSpeedIn; + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; +} + +@-webkit-keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +@keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +.lightSpeedOut { + -webkit-animation-name: lightSpeedOut; + animation-name: lightSpeedOut; + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +@-webkit-keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +@keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +.rotateIn { + -webkit-animation-name: rotateIn; + animation-name: rotateIn; +} + +@-webkit-keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +@keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +.rotateInDownLeft { + -webkit-animation-name: rotateInDownLeft; + animation-name: rotateInDownLeft; +} + +@-webkit-keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +@keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +.rotateInDownRight { + -webkit-animation-name: rotateInDownRight; + animation-name: rotateInDownRight; +} + +@-webkit-keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +@keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +.rotateInUpLeft { + -webkit-animation-name: rotateInUpLeft; + animation-name: rotateInUpLeft; +} + +@-webkit-keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +@keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: none; + transform: none; + opacity: 1; + } +} + +.rotateInUpRight { + -webkit-animation-name: rotateInUpRight; + animation-name: rotateInUpRight; +} + +@-webkit-keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +@keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +.rotateOut { + -webkit-animation-name: rotateOut; + animation-name: rotateOut; +} + +@-webkit-keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + -webkit-animation-name: rotateOutDownLeft; + animation-name: rotateOutDownLeft; +} + +@-webkit-keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutDownRight { + -webkit-animation-name: rotateOutDownRight; + animation-name: rotateOutDownRight; +} + +@-webkit-keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + -webkit-animation-name: rotateOutUpLeft; + animation-name: rotateOutUpLeft; +} + +@-webkit-keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + -webkit-animation-name: rotateOutUpRight; + animation-name: rotateOutUpRight; +} + +@-webkit-keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +@keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +.hinge { + -webkit-animation-name: hinge; + animation-name: hinge; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +.rollIn { + -webkit-animation-name: rollIn; + animation-name: rollIn; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +@keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +.rollOut { + -webkit-animation-name: rollOut; + animation-name: rollOut; +} + +@-webkit-keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } + + 50% { + opacity: 1; + } +} + +@keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } + + 50% { + opacity: 1; + } +} + +.zoomIn { + -webkit-animation-name: zoomIn; + animation-name: zoomIn; +} + +@-webkit-keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +@keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +.zoomInDown { + -webkit-animation-name: zoomInDown; + animation-name: zoomInDown; +} + +@-webkit-keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0); + transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +@keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0); + transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +.zoomInLeft { + -webkit-animation-name: zoomInLeft; + animation-name: zoomInLeft; +} + +@-webkit-keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0); + transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +@keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0); + transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +.zoomInRight { + -webkit-animation-name: zoomInRight; + animation-name: zoomInRight; +} + +@-webkit-keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +@keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +.zoomInUp { + -webkit-animation-name: zoomInUp; + animation-name: zoomInUp; +} + +@-webkit-keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } + + to { + opacity: 0; + } +} + +@keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(.3, .3, .3); + transform: scale3d(.3, .3, .3); + } + + to { + opacity: 0; + } +} + +.zoomOut { + -webkit-animation-name: zoomOut; + animation-name: zoomOut; +} + +@-webkit-keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + to { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +@keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + to { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +.zoomOutDown { + -webkit-animation-name: zoomOutDown; + animation-name: zoomOutDown; +} + +@-webkit-keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(.1) translate3d(-2000px, 0, 0); + transform: scale(.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +@keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(.1) translate3d(-2000px, 0, 0); + transform: scale(.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +.zoomOutLeft { + -webkit-animation-name: zoomOutLeft; + animation-name: zoomOutLeft; +} + +@-webkit-keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(.1) translate3d(2000px, 0, 0); + transform: scale(.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +@keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); + transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(.1) translate3d(2000px, 0, 0); + transform: scale(.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +.zoomOutRight { + -webkit-animation-name: zoomOutRight; + animation-name: zoomOutRight; +} + +@-webkit-keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + to { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +@keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); + } + + to { + opacity: 0; + -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0); + transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + } +} + +.zoomOutUp { + -webkit-animation-name: zoomOutUp; + animation-name: zoomOutUp; +} + +@-webkit-keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInDown { + -webkit-animation-name: slideInDown; + animation-name: slideInDown; +} + +@-webkit-keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInLeft { + -webkit-animation-name: slideInLeft; + animation-name: slideInLeft; +} + +@-webkit-keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInRight { + -webkit-animation-name: slideInRight; + animation-name: slideInRight; +} + +@-webkit-keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInUp { + -webkit-animation-name: slideInUp; + animation-name: slideInUp; +} + +@-webkit-keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.slideOutDown { + -webkit-animation-name: slideOutDown; + animation-name: slideOutDown; +} + +@-webkit-keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.slideOutLeft { + -webkit-animation-name: slideOutLeft; + animation-name: slideOutLeft; +} + +@-webkit-keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.slideOutRight { + -webkit-animation-name: slideOutRight; + animation-name: slideOutRight; +} + +@-webkit-keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.slideOutUp { + -webkit-animation-name: slideOutUp; + animation-name: slideOutUp; +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/money/assets/css/bicolor.min.css b/src/main/resources/templates/themes/money/assets/css/bicolor.min.css new file mode 100644 index 000000000..bea18c418 --- /dev/null +++ b/src/main/resources/templates/themes/money/assets/css/bicolor.min.css @@ -0,0 +1,37 @@ +@font-face { + font-family: 'bicolor'; + src: url('../fonts/bicolor.eot?76264482'); + src: url('../fonts/bicolor.eot?76264482#iefix') format('embedded-opentype'), + url('../fonts/bicolor.woff?76264482') format('woff'), + url('../fonts/bicolor.ttf?76264482') format('truetype'), + url('../fonts/bicolor.svg?76264482#bicolor') format('svg'); + font-weight: normal; + font-style: normal; +} + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "bicolor"; + font-style: normal; + font-weight: normal; + speak: none; + display: inline-block; + text-decoration: inherit; + width: 1em; + text-align: center; + font-variant: normal; + text-transform: none; + line-height: 1em; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-star:before { content: '\e800'; } /* '' */ +.icon-mail:before { content: '\e801'; } /* '' */ +.icon-params:before { content: '\e802'; } /* '' */ +.icon-paint:before { content: '\e803'; } /* '' */ +.icon-cog:before { content: '\e804'; } /* '' */ +.icon-paper-plane:before { content: '\e805'; } /* '' */ +.icon-location:before { content: '\e806'; } /* '' */ +.icon-pencil:before { content: '\e807'; } /* '' */ +.icon-lightbulb:before { content: '\e808'; } /* '' */ +.icon-diamond:before { content: '\e809'; } /* '' */ \ No newline at end of file diff --git a/src/main/resources/templates/themes/money/assets/css/bootstrap.min.css b/src/main/resources/templates/themes/money/assets/css/bootstrap.min.css new file mode 100644 index 000000000..d65c66b1b --- /dev/null +++ b/src/main/resources/templates/themes/money/assets/css/bootstrap.min.css @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.5 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:3;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file diff --git a/src/main/resources/templates/themes/money/assets/css/style.css b/src/main/resources/templates/themes/money/assets/css/style.css new file mode 100644 index 000000000..d7ddbe52f --- /dev/null +++ b/src/main/resources/templates/themes/money/assets/css/style.css @@ -0,0 +1 @@ +@import "https://fonts.googleapis.com/css?family=Quicksand:400,700";@import "https://fonts.googleapis.com/css?family=Montserrat:400,700";@charset "UTF-8";html,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}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@-webkit-viewport{width:device-width;}@-moz-viewport{width:device-width;}@-ms-viewport{width:device-width;}@-o-viewport{width:device-width;}@viewport{width:device-width;}html,body{height:100%}body{position:relative;font-size:20px;line-height:28px;font-family:quicksand,sans-serif;font-style:normal;font-weight:400;background:#fff;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;overflow-x:hidden;white-space:normal}input,select{font-size:16px;font-style:normal}textarea{width:100%;padding:10px 20px;resize:both;height:150px}#awd-site-wrap.bg{transition:background .5s}#awd-site-canvas{position:fixed;z-index:2;top:50%;left:0;bottom:0;right:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);-webkit-transition:all,.6s;opacity:.1}.bordered #awd-site-wrap{border-style:solid;border-width:20px}#awd-site-wrap{position:relative;height:100%;overflow:hidden}.awd-site-bg{position:absolute;border-radius:100%;opacity:0}.awd-site-bg.active{width:100px;height:100px;-webkit-transform:translate3d(0,0,0) scale3d(40,40,1);-moz-transform:translate3d(0,0,0) scale3d(40,40,1);-ms-transform:translate3d(0,0,0) scale3d(40,40,1);transform:translate3d(0,0,0) scale3d(40,40,1);-webkit-transition-property:width,height,border-radius,transform;-moz-transition-property:width,height,border-radius,transform;-o-transition-property:width,height,border-radius,transform;transition-property:width,height,border-radius,transform;-webkit-transition-duration:.5s;-moz-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;border-radius:0;z-index:2;display:block;opacity:1}.bg-home,.bg-home nav:before{background-color:#ffeb3b;color:#252525}.bg-home *:not(i):not(nav):after,.bg-home *:not(i):not(nav):before,.bg-home .btn:hover,.bg-home .btn-inverse{background-color:#252525;border-color:#252525;color:#ffeb3b}.bg-subscribe,.bg-subscribe nav:before{background-color:#252525;color:#fff}.bg-subscribe *:not(i):not(nav):after,.bg-subscribe *:not(i):not(nav):before,.bg-subscribe .btn:hover,.bg-subscribe .btn-inverse{background-color:#fff;border-color:#fff;color:#252525}.bg-about,.bg-about nav:before{background-color:#f44336;color:#fff}.bg-about *:not(i):not(nav):after,.bg-about *:not(i):not(nav):before{background-color:#fff}.bg-contact,.bg-contact nav:before{background-color:#dedede;color:#252525}.bg-contact *:not(i):not(nav):after,.bg-contact *:not(i):not(nav):before,.bg-contact .btn:hover,.bg-contact .btn-inverse{border-color:#252525;background-color:#252525;color:#dedede}.bg-contact input,.bg-contact textarea{border-color:#252525}.bg-services,.bg-services nav:before{background-color:#326394;color:#fff}.bg-services *:not(i):not(nav):after,.bg-services *:not(i):not(nav):before{background-color:#fff}h1,h2,h3,h4,h5,h6{font-family:montserrat,sans-serif;font-weight:600;margin-bottom:10px;letter-spacing:2px;line-height:1.2em;text-transform:uppercase}h1{font-size:42px}h2{font-size:34px}h3{font-size:22px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}p{margin-bottom:20px}p.lead{font-size:26px;line-height:40px}a,a>*{color:inherit;text-decoration:none}a:hover,a>*:hover,a:focus{color:inherit;text-decoration:none;outline:0}em{font-style:italic}strong{font-weight:700}.text-default{text-transform:inherit}#awd-site-header{position:absolute;top:40px;left:40px;right:40px;height:50px;z-index:20}#awd-site-logo{float:left}#awd-site-logo h1{font-family:quicksand,sans-serif;text-transform:lowercase;font-weight:700;font-size:50px;line-height:.75em;letter-spacing:0;margin-bottom:0}#awd-site-logo h1>a{display:inline-block}#awd-site-logo h1>a>i{margin-right:15px}#awd-site-logo h1>a>span{display:inline-block}#awd-site-nav{position:relative;float:right}.menu-toggle{display:none;position:absolute;top:13px;right:5px;width:28px;height:28px;background:0 0;border:0;cursor:pointer;outline:0;padding:0;z-index:999}.menu-toggle>span:after{content:"";position:absolute;left:0;display:block;width:24px;height:3px;margin:4px 2px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-transition:-webkit-transform .35s,background .35s;-moz-transition:-moz-transform .35s,background .35s;-ms-transition:-ms-transform .35s,background .35s;-o-transition:-o-transform .35s,background .35s;transition:transform .35s,background .35s}.menu-toggle>span:nth-child(1):after{top:0;-webkit-transform-origin:0 50%;-moz-transform-origin:0 50%;-ms-transform-origin:0 50%;-o-transform-origin:0 50%;transform-origin:0 50%}.menu-toggle>span:nth-child(2):after{top:8px}.menu-toggle>span:nth-child(3):after{top:16px;-webkit-transform-origin:0 50%;-moz-transform-origin:0 50%;-ms-transform-origin:0 50%;-o-transform-origin:0 50%;transform-origin:0 50%}.menu-toggle.opened>span:after{width:30px}.menu-toggle.opened>span:nth-child(1):after{-webkit-transform:translateX(1px) translateY(-2px) rotate(43deg);-moz-transform:translateX(1px) translateY(-2px) rotate(43deg);-ms-transform:translateX(1px) translateY(-2px) rotate(43deg);-o-transform:translateX(1px) translateY(-2px) rotate(43deg);transform:translateX(1px) translateY(-2px) rotate(43deg)}.menu-toggle.opened>span:nth-child(2):after{display:none}.menu-toggle.opened>span:nth-child(3):after{-webkit-transform:translateX(1px) translateY(2px) rotate(-43deg);-moz-transform:translateX(1px) translateY(2px) rotate(-43deg);-ms-transform:translateX(1px) translateY(2px) rotate(-43deg);-o-transform:translateX(1px) translateY(2px) rotate(-43deg);transform:translateX(1px) translateY(2px) rotate(-43deg)}.navigation ul>li{display:inline-block;padding-left:40px}.navigation ul>li a{position:relative;display:block;padding:11px 0;font-size:16px;font-family:quicksand,sans-serif;text-transform:uppercase;font-weight:700;letter-spacing:2px}.navigation ul>li a:before{position:absolute;top:0;content:"";display:block;width:40px;height:1px;left:50%;margin-left:-5px;opacity:0;-webkit-transition:all .3s;-moz-transition:all .3s;-ms-transition:all .3s;-o-transition:all .3s;transition:all .3s;-webkit-transform:scale(1) rotate(-30deg);-moz-transform:scale(1) rotate(-30deg);-ms-transform:scale(1) rotate(-30deg);-o-transform:scale(1) rotate(-30deg);transform:scale(1) rotate(-30deg)}.navigation ul>li a:after{position:absolute;bottom:0;content:"";display:block;width:40px;height:1px;right:50%;margin-right:-5px;opacity:0;-webkit-transition:all .3s;-moz-transition:all .3s;-ms-transition:all .3s;-o-transition:all .3s;transition:all .3s;-webkit-transform:scale(1) rotate(-30deg);-moz-transform:scale(1) rotate(-30deg);-ms-transform:scale(1) rotate(-30deg);-o-transform:scale(1) rotate(-30deg);transform:scale(1) rotate(-30deg)}.navigation ul>li a:hover:before,.navigation ul>li a.active:before,.navigation ul>li a:hover:after,.navigation ul>li a.active:after{opacity:1;height:2px;-webkit-transform:scale(.5) rotate(-30deg);-moz-transform:scale(.5) rotate(-30deg);-ms-transform:scale(.5) rotate(-30deg);-o-transform:scale(.5) rotate(-30deg);transform:scale(.5) rotate(-30deg)}#awd-site-main{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1e3;perspective:1e3;position:relative;height:100%;z-index:10}#awd-site-content{position:absolute;top:130px;bottom:110px;left:25px;right:25px;text-align:center;overflow:hidden}#awd-site-main .table-container{display:table-cell;vertical-align:middle}#awd-site-main h1{margin-top:30px}.slides{display:table;table-layout:fixed;height:100%;width:100%}.slides-wrap{display:table-cell;vertical-align:middle}.slide-item{display:none}.slide-item .line{position:relative;display:inline-block;font-size:42px}.slide-item.active{display:block}.slide-item .link{display:inline-block;font-weight:700}.sections-block{position:relative;height:100%}.slide-content{font-size:0}.svm{display:inline-block;vertical-align:middle;float:none;font-size:20px}.section-info{font-size:20px;margin:30px 0}.section-title{letter-spacing:2px;margin-bottom:40px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;position:relative}.btn{position:relative;font-family:quicksand,sans-serif;text-transform:uppercase;letter-spacing:2px;border-radius:0;outline:0;padding:9px 15px;background:0 0;border-width:2px;font-size:14px;font-weight:700;border-style:solid;border-color:inherit;-webkit-transition:all .5s;-moz-transition:all .5s;-ms-transition:all .5s;-o-transition:all .5s;transition:all .5s;overflow:hidden}.btn:focus{outline:0}.btn:hover{background:inherit;color:inherit}.btn-inverse:hover{cursor:pointer;-webkit-animation:pulse .2s linear;-moz-animation:pulse .2s linear;-ms-animation:pulse .2s linear;-o-animation:pulse .2s linear;animation:pulse .2s linear}.featured-text>h3{font-family:quicksand,sans-serif;font-size:20px;text-transform:inherit;letter-spacing:1px}.subscribe-form{margin-top:30px}.subscribe-form input{position:relative;width:100%;background:0 0;outline:0;font-family:quicksand,sans-serif;float:left;-webkit-appearance:none;color:inherit;border-width:2px;border-style:solid;border-color:inherit;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;height:auto;padding:9px 20px;margin-bottom:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.subscribe-form .form-notice{font-size:16px;display:inline-block;margin-left:15px}.contact-form input[type=text],.contact-form input[type=email]{width:100%}.contact-form input,.contact-form textarea,.contact-form select{background:0 0;outline:0;font-family:quicksand,sans-serif;-webkit-appearance:none;color:inherit;border-width:2px;border-style:solid;padding:9px 20px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;height:auto;font-size:18px;letter-spacing:1px;margin-bottom:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.contact-form textarea{float:left;resize:none;height:140px;border-bottom:0;margin-bottom:0}.contact-form .input-error{border-color:#ed5555}.contact-form .contact-notice{font-size:16px}.contact-form .btn{padding:12px 15px}.contact-form input::-webkit-input-placeholder,.contact-form textarea::-webkit-input-placeholder{color:inherit;font-family:quicksand,sans-serif;font-size:16px;letter-spacing:2px}.contact-form :-moz-placeholder{color:inherit;opacity:1}.contact-form ::-moz-placeholder{color:inherit;opacity:1}.contact-form :-ms-input-placeholder{color:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit}:-moz-placeholder{color:inherit;opacity:1}::-moz-placeholder{color:inherit;opacity:1}:-ms-input-placeholder{color:inherit}.contact-info{margin-bottom:20px}.contact-item{font-size:16px;margin-bottom:0}.service>h3{font-family:quicksand,sans-serif;font-size:20px;text-transform:inherit;letter-spacing:1px}.countdown{text-align:left;overflow:hidden}#clock{display:inline-block;text-align:left;width:650px;font-family:montserrat,sans-serif}#clock .counter-box{display:inline-block;position:relative}#clock .counter-date{max-width:400px;float:left}#clock .counter-time{max-width:250px;float:left}#clock .counter-box .number{font-size:78px;font-weight:700;line-height:.75em;letter-spacing:2px;margin-top:44px}#clock .counter-date .number{font-size:190px;margin-right:20px;margin-left:-5px;margin-top:0}#clock .counter-time .counter-box:last-child .number{margin-top:35px;font-size:50px;min-width:70px;margin-right:15px;display:inline-block;text-align:left}#clock span{display:none;font-family:quicksand,sans-serif;font-size:16px;text-transform:uppercase;font-weight:700;padding-top:10px;padding-left:4px;letter-spacing:2px;position:relative}#clock span:after{position:absolute;content:'';display:block;width:40px;height:2px;left:0;right:0;top:0;margin-left:-15px;margin-top:5px;-webkit-transform:scale(.5) rotate(-30deg);-moz-transform:scale(.5) rotate(-30deg);-ms-transform:scale(.5) rotate(-30deg);-o-transform:scale(.5) rotate(-30deg);transform:scale(.5) rotate(-30deg)}#clock .counter-box:first-child span,#clock .counter-box:last-child span{display:block;margin-top:0}#clock .counter-box:last-child span{position:relative;display:inline-block}#clock .counter-box.last{margin-right:5px}#awd-site-footer{position:absolute;bottom:40px;left:40px;right:40px;height:30px;z-index:20}.copyright{float:left;vertical-align:bottom}.copyright p{display:inline-block;font-size:16px;font-weight:700;font-family:quicksand,sans-serif;letter-spacing:2px;margin-bottom:0}.social-icons{cursor:pointer;float:right;margin:0 -15px}.social-icons ul>li{display:inline-block}.social-icons ul>li>a{display:block;position:relative;width:50px;height:30px;text-align:center;line-height:30px}.social-icons ul>li>a:before{position:absolute;top:0;content:"";display:block;width:24px;height:1px;left:50%;margin-top:-5px;opacity:0;-webkit-transition:all .3s;-moz-transition:all .3s;-ms-transition:all .3s;-o-transition:all .3s;transition:all .3s;-webkit-transform:scale(1) rotate(-30deg);-moz-transform:scale(1) rotate(-30deg);-ms-transform:scale(1) rotate(-30deg);-o-transform:scale(1) rotate(-30deg);transform:scale(1) rotate(-30deg)}.social-icons ul>li>a:after{position:absolute;bottom:0;content:"";display:block;width:24px;height:1px;right:50%;margin-bottom:-5px;opacity:0;-webkit-transition:all .3s;-moz-transition:all .3s;-ms-transition:all .3s;-o-transition:all .3s;transition:all .3s;-webkit-transform:scale(1) rotate(-30deg);-moz-transform:scale(1) rotate(-30deg);-ms-transform:scale(1) rotate(-30deg);-o-transform:scale(1) rotate(-30deg);transform:scale(1) rotate(-30deg)}.social-icons ul>li>a:hover:before,.social-icons ul>li>a.active:before,.social-icons ul>li>a:hover:after,.social-icons ul>li>a.active:after{opacity:1;height:2px;-webkit-transform:scale(.6) rotate(-30deg);-moz-transform:scale(.6) rotate(-30deg);-ms-transform:scale(.6) rotate(-30deg);-o-transform:scale(.6) rotate(-30deg);transform:scale(.6) rotate(-30deg)}.start .animated{visibility:hidden}.start .visible{visibility:visible}.ps-container.ps-in-scrolling,.ps-container:hover.ps-in-scrolling{pointer-events:none}.ps-container{-ms-touch-action:none;overflow:hidden!important}.ps-container.ps-active-x>.ps-scrollbar-x-rail,.ps-container.ps-active-y>.ps-scrollbar-y-rail{display:block}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:.9}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:rgba(0,0,0,.1)}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:rgba(0,0,0,.1);opacity:.9}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:rgba(0,0,0,.1)}.ps-container>.ps-scrollbar-x-rail{display:none;opacity:0;-webkit-transition:background-color .2s linear,opacity .2s linear;-moz-transition:background-color .2s linear,opacity .2s linear;-o-transition:background-color .2s linear,opacity .2s linear;transition:background-color .2s linear,opacity .2s linear;bottom:3px;height:8px;border-radius:1.5em}.ps-container>.ps-scrollbar-x-rail,.ps-container>.ps-scrollbar-x-rail>.ps-scrollbar-x{position:absolute}.ps-container>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:rgba(0,0,0,.2);-webkit-transition:background-color .2s linear;-moz-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear;bottom:0;border-radius:1.5em;height:8px}.ps-container>.ps-scrollbar-y-rail{display:none;opacity:0;-webkit-transition:background-color .2s linear,opacity .2s linear;-moz-transition:background-color .2s linear,opacity .2s linear;-o-transition:background-color .2s linear,opacity .2s linear;transition:background-color .2s linear,opacity .2s linear;right:3px;border-radius:1.5em;width:8px}.ps-container>.ps-scrollbar-y-rail,.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y{position:absolute}.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:rgba(0,0,0,.2);-webkit-transition:background-color .2s linear;-moz-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear;right:0;border-radius:1.5em;width:8px}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:rgba(0,0,0,.1);opacity:.9}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:rgba(0,0,0,.2)}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:rgba(0,0,0,.1);opacity:.9}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:rgba(0,0,0,.2)}.ps-container:hover>.ps-scrollbar-x-rail,.ps-container:hover>.ps-scrollbar-y-rail{opacity:.6}.ps-container:hover>.ps-scrollbar-x-rail:hover{background-color:rgba(0,0,0,.1);opacity:.9}.ps-container:hover>.ps-scrollbar-x-rail:hover>.ps-scrollbar-x{background-color:rgba(0,0,0,.1)}.ps-container:hover>.ps-scrollbar-y-rail:hover{background-color:rgba(0,0,0,.1);opacity:.9}.ps-container:hover>.ps-scrollbar-y-rail:hover>.ps-scrollbar-y{background-color:rgba(0,0,0,.1)}@media only screen and (max-width:1200px){.section-title{margin-bottom:30px}#clock{transform:scale(.8);margin-left:-65px}}@media only screen and (max-width:992px){.svm{display:block}.section-info{text-align:center!important}.countdown{text-align:center;overflow:hidden;width:650px;margin:0 auto}#clock{width:auto;transform:scale(1);margin-left:0}#clock .counter-time{text-align:right}#clock .counter-time .counter-box:last-child .number{min-width:auto}#awd-site-header{top:30px;left:30px;right:30px}#awd-site-logo>h1{font-size:46px}.navigation ul>li{padding-left:18px}.navigation ul>li a{font-size:15px;letter-spacing:1px}#awd-site-content{top:110px;bottom:90px;left:15px;right:15px}#awd-site-footer{bottom:30px;left:30px;right:30px}}@media only screen and (max-width:768px){.countdown{width:100%}#clock .counter-date{max-width:235px;float:left}#clock .counter-time{max-width:170px;float:left}#clock .counter-box .number{font-size:52px;margin-top:40px}#clock .counter-date .number{font-size:110px;margin-top:0}#clock .counter-time .counter-box:last-child .number{margin-top:10px;font-size:30px}#clock span{font-size:13px}.bordered #awd-site-wrap{border-width:15px}#awd-site-header{top:20px;left:20px;right:20px}#awd-site-logo{position:absolute;float:none;z-index:999}.menu-toggle,#awd-site-nav.active{display:block}#awd-site-nav{text-align:center;display:none;table-layout:fixed;position:fixed;left:0;top:0;width:100%;height:100%;z-index:950}#awd-site-nav:before{content:"";display:block;height:100%;width:100%}#awd-site-nav .nav-container{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1e3;perspective:1e3;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);position:absolute;top:50%;left:15px;right:15px}.navigation ul>li{width:100%;display:block}.navigation ul>li a{display:inline-block;padding:15px 0;font-size:24px}.navigation ul>li a:before,.navigation ul>li a:after{height:1px;-webkit-transform:scale(1) rotate(0deg);-moz-transform:scale(1) rotate(0deg);-ms-transform:scale(1) rotate(0deg);-o-transform:scale(1) rotate(0deg);transform:scale(1) rotate(0deg)}.navigation ul>li a:hover:before,.navigation ul>li a:hover:after,.navigation ul>li a.active:before,.navigation ul>li a.active:after{-webkit-transform:scale(.5) rotate(0deg);-moz-transform:scale(.5) rotate(0deg);-ms-transform:scale(.5) rotate(0deg);-o-transform:scale(.5) rotate(0deg);transform:scale(.5) rotate(0deg)}.navigation ul>li a:before{left:0;top:50%;right:auto;margin-left:-40px}.navigation ul>li a:after{right:0;top:50%;left:auto;margin-right:-40px}#awd-site-content{top:96px;bottom:0}.subscribe-form .form-notice{display:block}#awd-site-footer{left:20px;right:20px;bottom:20px;height:30px}.social-icons{width:100%;margin-bottom:10px;text-align:center}.copyright{display:none}#awd-site-footer{display:none}}@media only screen and (max-width:480px){#clock .counter-date{max-width:290px;float:none}#clock .counter-time{max-width:290px;float:none;text-align:center}#clock .counter-box .number{font-size:70px;margin-top:20px}#clock .counter-date .number{font-size:110px;margin:0}#clock .counter-time .counter-box{display:block}#clock .counter-time .counter-box:last-child .number{margin-top:30px;font-size:40px}#awd-site-content{top:90px;bottom:0}.menu-toggle{top:8px;right:0}.slide-item .line:before,.slide-item .line:after{width:80px}.slide-item .line:before{left:-100px}.slide-item .line:after{right:-100px}.subscribe-form button{width:100%}.section-info .go-slide{width:100%;margin-top:15px}}@media only screen and (max-width:320px){.bordered #awd-site-wrap{border-width:0}#awd-site-header{height:40px;top:15px;left:15px;right:15px}#awd-site-logo h1{font-size:40px;line-height:40px}#awd-site-content{top:70px;bottom:0;left:0;right:0}.section-title{font-size:28px;margin:20px 0}} diff --git a/src/main/resources/templates/themes/money/assets/fonts/bicolor.woff b/src/main/resources/templates/themes/money/assets/fonts/bicolor.woff new file mode 100644 index 000000000..a6a639149 Binary files /dev/null and b/src/main/resources/templates/themes/money/assets/fonts/bicolor.woff differ diff --git a/src/main/resources/templates/themes/money/assets/js/bootstrap.min.js b/src/main/resources/templates/themes/money/assets/js/bootstrap.min.js new file mode 100644 index 000000000..133aeecb9 --- /dev/null +++ b/src/main/resources/templates/themes/money/assets/js/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.3.5 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under the MIT license + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
    ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/src/main/resources/templates/themes/money/assets/js/email-decode.min.js b/src/main/resources/templates/themes/money/assets/js/email-decode.min.js new file mode 100644 index 000000000..725b7c678 --- /dev/null +++ b/src/main/resources/templates/themes/money/assets/js/email-decode.min.js @@ -0,0 +1 @@ +!function(){"use strict";function e(e){try{if("undefined"==typeof console)return;"error"in console?console.error(e):console.log(e)}catch(e){}}function t(e){return d.innerHTML='',d.childNodes[0].getAttribute("href")||""}function r(e,t){var r=e.substr(t,2);return parseInt(r,16)}function n(n,c){for(var o="",a=r(n,c),i=c+2;i-1&&(o.href="mailto:"+n(o.href,a+l.length))}catch(i){e(i)}}function o(t){for(var r=t.querySelectorAll(u),c=0;c)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="
    ",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?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)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.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+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,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(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===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]||at.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]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},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,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===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===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.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"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
    a",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
    t
    ",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
    ",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t +}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.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 x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/\s*$/g,At={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:x.support.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); +u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x(" + + + + + +
    + +
    +

    Advertisement:

    + +
    + + +
    + +

    2D Transitions

    + + Grow + Shrink + Pulse + Pulse Grow + Pulse Shrink + Push + Pop + Bounce In + Bounce Out + Rotate + Grow Rotate + Float + Sink + Bob + Hang + Skew + Skew Forward + Skew Backward + Wobble Horizontal + Wobble Vertical + Wobble To Bottom Right + Wobble To Top Right + Wobble Top + Wobble Bottom + Wobble Skew + Buzz + Buzz Out + Forward + Backward + + +

    Background Transitions

    + + Fade + Back Pulse + Sweep To Right + Sweep To Left + Sweep To Bottom + Sweep To Top + Bounce To Right + Bounce To Left + Bounce To Bottom + Bounce To Top + Radial Out + Radial In + Rectangle In + Rectangle Out + Shutter In Horizontal + Shutter Out Horizontal + Shutter In Vertical + Shutter Out Vertical + + +

    Icons

    + + Demo font icons courtesy of FontAwesome. How to use icons with Hover.css. + + + Icon Back + + + Icon Forward + + + + Icon Down + + + Icon Up + + + Icon Spin + + + Icon Drop + + + Icon Fade + + + Icon Float Away + + + Icon Sink Away + + + Icon Grow + + + Icon Shrink + + + Icon Pulse + + + Icon Pulse Grow + + + Icon Pulse Shrink + + + Icon Push + + + Icon Pop + + + Icon Bounce + + + Icon Rotate + + + Icon Grow Rotate + + + Icon Float + + + Icon Sink + + + Icon Bob + + + Icon Hang + + + Icon Wobble Horizontal + + + Icon Wobble Vertical + + + Icon Buzz + + + Icon Buzz Out + + + +

    Border Transitions

    + + Border Fade + Hollow + Trim + Ripple Out + Ripple In + Outline Out + Outline In + Round Corners + Underline From Left + Underline From Center + Underline From Right + Reveal + Underline Reveal + Overline Reveal + Overline From Left + Overline From Center + Overline From Right + + +

    Shadow and Glow Transitions

    + + Shadow + Grow Shadow + Float Shadow + Glow + Shadow Radial + Box Shadow Outset + Box Shadow Inset + + +

    Speech Bubbles

    + + Bubble Top + Bubble Right + Bubble Bottom + Bubble Left + Bubble Float Top + Bubble Float Right + Bubble Float Bottom + Bubble Float Left + + +

    Curls

    + + Curl Top Left + Curl Top Right + Curl Bottom Right + Curl Bottom Left +
    + + + + +
    +

    Like Hover.css? Try out my animation framework for sliders,
    presentations, and other step-based applications

    + + + +
    + +
    +
    + + + +
    + +

    Made by
    Ian Lunn - WordPress & Front-end Developer

    + + + Copyright © 2017 Ian Lunn Design Limited +
    + + + + + + + + diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/_hacks.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/_hacks.less new file mode 100644 index 000000000..723c9ae29 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/_hacks.less @@ -0,0 +1,26 @@ +// As is often the case, some devices/browsers need additional code to get CSS to work +// in the most desired way. These mixins are used to quickly drop in hacks for each element +// Find out more here: https://github.com/IanLunn/Hover/wiki/Hacks-Explained + +.hardwareAccel() { + // Improve performance on mobile/tablet devices + // Perspective reduces blurryness of text in Chrome + .prefixed(transform, perspective(1px) translateZ(0)); +} + +.improveAntiAlias() { + // Improve aliasing on mobile/tablet devices + box-shadow: 0 0 1px rgba(0, 0, 0, 0); +} + +.forceBlockLevel() { + // Transforms need to be block-level to work + display: inline-block; + vertical-align: middle; +} + +.hacks() { + .forceBlockLevel(); + .hardwareAccel(); + .improveAntiAlias(); +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/_mixins.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/_mixins.less new file mode 100644 index 000000000..cc221c6b0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/_mixins.less @@ -0,0 +1,51 @@ +// prefix declarations +.prefixed(@property, @value) { + & when (@webkit = true) { + -webkit-@{property}: @value; + } + + & when (@moz = true) { + -moz-@{property}: @value; + } + + & when (@ms = true) { + -ms-@{property}: @value; + } + + & when (@o = true) { + -o-@{property}: @value; + } + + @{property}: @value; +} + +// prefix keyframes +.keyframes(@name; @content) { + & when (@webkit = true) { + @-webkit-keyframes @name { + @content(); + } + } + + & when (@moz = true) { + @-moz-keyframes @name { + @content(); + } + } + + & when (@ms = true) { + @-ms-keyframes @name { + @content(); + } + } + + & when (@o = true) { + @-o-keyframes @name { + @content(); + } + } + + @keyframes @name { + @content(); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/_options.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/_options.less new file mode 100644 index 000000000..7af34901b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/_options.less @@ -0,0 +1,43 @@ +// DEFAULT OPTIONS + +// Prefix for Hover class names +@nameSpace: hvr; + +// Durations +@fastDuration: .1s; +@mediumDuration: .3s; +@slowDuration: .5s; + +// Colors +@primaryColor: #e1e1e1; +@secondaryColor: #666; +@highlightColor: #ccc; +@activeColor: #2098D1; +@shadowColor: rgba(0, 0, 0, .6); + +// Speech bubbles options +@tipWidth: 10px; //the width of the speech bubble tip +@tipHeight: 10px; //the height of the speech bubble tip +@tipColor: @primaryColor; + +// Arrows options +@spaceBetweenTextAndArrows: 2.2em; + +// Curl dimensions +@curlWidth: 25px; +@curlHeight: 25px; + +// Curl colors +@revealAreaColor: white; // reveal area behind the curl +@curlLineColor: #aaa; // crease line +@curlTransitionColor: #ccc; // color transitioning from crease line to final color +@curlLastColor: white; // final color of the back of the curl + +// Browser Prefixes - Which CSS prefixes should be used? +@webkit: true; +@moz: false; +@ms: false; +@o: false; + +// Compile with or without classes +@includeClasses: true; diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_backward.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_backward.less new file mode 100644 index 000000000..639ab851a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_backward.less @@ -0,0 +1,12 @@ +/* Backward */ +.backward() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateX(-8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bob.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bob.less new file mode 100644 index 000000000..682a88d01 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bob.less @@ -0,0 +1,34 @@ +/* Bob */ +.keyframes(~"@{nameSpace}-bob", { + 0% { + .prefixed(transform, translateY(-8px)); + } + 50% { + .prefixed(transform, translateY(-4px)); + } + 100% { + .prefixed(transform, translateY(-8px)); + } +}); + +.keyframes(~"@{nameSpace}-bob-float", { + 100% { + .prefixed(transform, translateY(-8px)); + } +}); + +.bob() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-bob-float, @{nameSpace}-bob"); + .prefixed(animation-duration, ~".3s, 1.5s"); + .prefixed(animation-delay, ~"0s, .3s"); + .prefixed(animation-timing-function, ~"ease-out, ease-in-out"); + .prefixed(animation-iteration-count, ~"1, infinite"); + .prefixed(animation-fill-mode, ~"forwards"); + .prefixed(animation-direction, ~"normal, alternate"); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bounce-in.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bounce-in.less new file mode 100644 index 000000000..44240c653 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bounce-in.less @@ -0,0 +1,12 @@ +/* Bounce In */ +.bounce-in() { + .hacks(); + .prefixed(transition-duration, @slowDuration); + + &:hover, + &:focus, + &:active { + .prefixed(transform, scale(1.2)); + .prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bounce-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bounce-out.less new file mode 100644 index 000000000..8a94179e2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_bounce-out.less @@ -0,0 +1,12 @@ +/* Bounce Out */ +.bounce-out() { + .hacks(); + .prefixed(transition-duration, @slowDuration); + + &:hover, + &:focus, + &:active { + .prefixed(transform, scale(.8)); + .prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_buzz-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_buzz-out.less new file mode 100644 index 000000000..eed1f2142 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_buzz-out.less @@ -0,0 +1,55 @@ +/* Buzz Out */ +.keyframes(~"@{nameSpace}-buzz-out", { + 10% { + .prefixed(transform, translateX(3px) rotate(2deg)); + } + + 20% { + .prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 30% { + .prefixed(transform, translateX(3px) rotate(2deg)); + } + + 40% { + .prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 50% { + .prefixed(transform, translateX(2px) rotate(1deg)); + } + + 60% { + .prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 70% { + .prefixed(transform, translateX(2px) rotate(1deg)); + } + + 80% { + .prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 90% { + .prefixed(transform, translateX(1px) rotate(0)); + } + + 100% { + .prefixed(transform, translateX(-1px) rotate(0)); + } +}); + +.buzz-out() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-buzz-out"); + .prefixed(animation-duration, .75s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_buzz.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_buzz.less new file mode 100644 index 000000000..adc0cf2e6 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_buzz.less @@ -0,0 +1,23 @@ +/* Buzz */ +.keyframes(~"@{nameSpace}-buzz", { + 50% { + .prefixed(transform, translateX(3px) rotate(2deg)); + } + + 100% { + .prefixed(transform, translateX(-3px) rotate(-2deg)); + } +}); + +.buzz() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-buzz"); + .prefixed(animation-duration, .15s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_float.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_float.less new file mode 100644 index 000000000..42ed62bb6 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_float.less @@ -0,0 +1,13 @@ +/* Float */ +.float() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateY(-8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_forward.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_forward.less new file mode 100644 index 000000000..b1d3f6372 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_forward.less @@ -0,0 +1,12 @@ +/* Forward */ +.forward() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateX(8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_grow-rotate.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_grow-rotate.less new file mode 100644 index 000000000..8ac97dd84 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_grow-rotate.less @@ -0,0 +1,12 @@ +/* Grow Rotate */ +.grow-rotate() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, scale(1.1) rotate(4deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_grow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_grow.less new file mode 100644 index 000000000..e4cc0b268 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_grow.less @@ -0,0 +1,12 @@ +/* Grow */ +.grow() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, scale(1.1)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_hang.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_hang.less new file mode 100644 index 000000000..8fe1a3ba8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_hang.less @@ -0,0 +1,34 @@ +/* Hang */ +.keyframes(~"@{nameSpace}-hang", { + 0% { + .prefixed(transform, translateY(8px)); + } + 50% { + .prefixed(transform, translateY(4px)); + } + 100% { + .prefixed(transform, translateY(8px)); + } +}); + +.keyframes(~"@{nameSpace}-hang-sink", { + 100% { + .prefixed(transform, translateY(8px)); + } +}); + +.hang() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-hang-sink, @{nameSpace}-hang"); + .prefixed(animation-duration, ~".3s, 1.5s"); + .prefixed(animation-delay, ~"0s, .3s"); + .prefixed(animation-timing-function, ~"ease-out, ease-in-out"); + .prefixed(animation-iteration-count, ~"1, infinite"); + .prefixed(animation-fill-mode, ~"forwards"); + .prefixed(animation-direction, ~"normal, alternate"); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pop.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pop.less new file mode 100644 index 000000000..a83385f5b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pop.less @@ -0,0 +1,19 @@ +/* Pop */ +.keyframes(~"@{nameSpace}-pop", { + 50% { + .prefixed(transform, scale(1.2)); + } +}); + +.pop() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-pop"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse-grow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse-grow.less new file mode 100644 index 000000000..9ad9cf3bf --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse-grow.less @@ -0,0 +1,20 @@ +/* Pulse Grow */ +.keyframes(~"@{nameSpace}-pulse-grow", { + to { + .prefixed(transform, scale(1.1)); + } +}); + +.pulse-grow() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-pulse-grow"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + .prefixed(animation-direction, alternate); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse-shrink.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse-shrink.less new file mode 100644 index 000000000..6490351c0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse-shrink.less @@ -0,0 +1,20 @@ +/* Pulse Shrink */ +.keyframes(~"@{nameSpace}-pulse-shrink", { + to { + .prefixed(transform, scale(.9)); + } +}); + +.pulse-shrink() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-pulse-shrink"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + .prefixed(animation-direction, alternate); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse.less new file mode 100644 index 000000000..f38bac36c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_pulse.less @@ -0,0 +1,23 @@ +/* Pulse */ +.keyframes(~"@{nameSpace}-pulse", { + 25% { + .prefixed(transform, scale(1.1)); + } + + 75% { + .prefixed(transform, scale(.9)); + } +}); + +.pulse() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-pulse"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_push.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_push.less new file mode 100644 index 000000000..6ecc07c0c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_push.less @@ -0,0 +1,23 @@ +/* Push */ +.keyframes(~"@{nameSpace}-push", { + 50% { + .prefixed(transform, scale(.8)); + } + + 100% { + .prefixed(transform, scale(1)); + } +}); + +.push() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-push"); + .prefixed(animation-duration, .3s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_rotate.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_rotate.less new file mode 100644 index 000000000..d19e1da3e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_rotate.less @@ -0,0 +1,12 @@ +/* Rotate */ +.rotate() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, rotate(4deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_shrink.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_shrink.less new file mode 100644 index 000000000..557151177 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_shrink.less @@ -0,0 +1,12 @@ +/* Shrink */ +.shrink() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, scale(.9)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_sink.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_sink.less new file mode 100644 index 000000000..b977d1fd9 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_sink.less @@ -0,0 +1,13 @@ +/* Sink */ +.sink() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateY(8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew-backward.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew-backward.less new file mode 100644 index 000000000..0d7961fda --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew-backward.less @@ -0,0 +1,13 @@ +/* Skew Backward */ +.skew-backward() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transform-origin, 0 100%); + + &:hover, + &:focus, + &:active { + .prefixed(transform, skew(10deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew-forward.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew-forward.less new file mode 100644 index 000000000..abc402a37 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew-forward.less @@ -0,0 +1,13 @@ +/* Skew Forward */ +.skew-forward() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transform-origin, 0 100%); + + &:hover, + &:focus, + &:active { + .prefixed(transform, skew(-10deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew.less new file mode 100644 index 000000000..e74bbfe20 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_skew.less @@ -0,0 +1,12 @@ +/* Skew */ +.skew() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + .prefixed(transform, skew(-10deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-bottom.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-bottom.less new file mode 100644 index 000000000..5bf2bc2b1 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-bottom.less @@ -0,0 +1,40 @@ +/* Wobble Bottom */ +.keyframes(~"@{nameSpace}-wobble-bottom", { + 16.65% { + .prefixed(transform, skew(-12deg)); + } + + 33.3% { + .prefixed(transform, skew(10deg)); + } + + 49.95% { + .prefixed(transform, skew(-6deg)); + } + + 66.6% { + .prefixed(transform, skew(4deg)); + } + + 83.25% { + .prefixed(transform, skew(-2deg)); + } + + 100% { + .prefixed(transform, skew(0)); + } +}); + +.wobble-bottom() { + .hacks(); + .prefixed(transform-origin, 100% 0); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-bottom"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-horizontal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-horizontal.less new file mode 100644 index 000000000..7eb9f490c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-horizontal.less @@ -0,0 +1,39 @@ +/* Wobble Horizontal */ +.keyframes(~"@{nameSpace}-wobble-horizontal", { + 16.65% { + .prefixed(transform, translateX(8px)); + } + + 33.3% { + .prefixed(transform, translateX(-6px)); + } + + 49.95% { + .prefixed(transform, translateX(4px)); + } + + 66.6% { + .prefixed(transform, translateX(-2px)); + } + + 83.25% { + .prefixed(transform, translateX(1px)); + } + + 100% { + .prefixed(transform, translateX(0)); + } +}); + +.wobble-horizontal() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-horizontal"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-skew.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-skew.less new file mode 100644 index 000000000..aba4908be --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-skew.less @@ -0,0 +1,39 @@ +/* Wobble Skew */ +.keyframes(~"@{nameSpace}-wobble-skew", { + 16.65% { + .prefixed(transform, skew(-12deg)); + } + + 33.3% { + .prefixed(transform, skew(10deg)); + } + + 49.95% { + .prefixed(transform, skew(-6deg)); + } + + 66.6% { + .prefixed(transform, skew(4deg)); + } + + 83.25% { + .prefixed(transform, skew(-2deg)); + } + + 100% { + .prefixed(transform, skew(0)); + } +}); + +.wobble-skew() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-skew"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-to-bottom-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-to-bottom-right.less new file mode 100644 index 000000000..bee13b7e7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-to-bottom-right.less @@ -0,0 +1,39 @@ +/* Wobble To Bottom Right */ +.keyframes(~"@{nameSpace}-wobble-to-bottom-right", { + 16.65% { + .prefixed(transform, translate(8px, 8px)); + } + + 33.3% { + .prefixed(transform, translate(-6px, -6px)); + } + + 49.95% { + .prefixed(transform, translate(4px, 4px)); + } + + 66.6% { + .prefixed(transform, translate(-2px, -2px)); + } + + 83.25% { + .prefixed(transform, translate(1px, 1px)); + } + + 100% { + .prefixed(transform, translate(0, 0)); + } +}); + +.wobble-to-bottom-right() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-to-bottom-right"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-to-top-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-to-top-right.less new file mode 100644 index 000000000..0d564d9e8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-to-top-right.less @@ -0,0 +1,39 @@ +/* Wobble To Top Right */ +.keyframes(~"@{nameSpace}-wobble-to-top-right", { + 16.65% { + .prefixed(transform, translate(8px, -8px)); + } + + 33.3% { + .prefixed(transform, translate(-6px, 6px)); + } + + 49.95% { + .prefixed(transform, translate(4px, -4px)); + } + + 66.6% { + .prefixed(transform, translate(-2px, 2px)); + } + + 83.25% { + .prefixed(transform, translate(1px, -1px)); + } + + 100% { + .prefixed(transform, translate(0, 0)); + } +}); + +.wobble-to-top-right() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-to-top-right"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-top.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-top.less new file mode 100644 index 000000000..659de9a8b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-top.less @@ -0,0 +1,40 @@ +/* Wobble Top */ +.keyframes(~"@{nameSpace}-wobble-top", { + 16.65% { + .prefixed(transform, skew(-12deg)); + } + + 33.3% { + .prefixed(transform, skew(10deg)); + } + + 49.95% { + .prefixed(transform, skew(-6deg)); + } + + 66.6% { + .prefixed(transform, skew(4deg)); + } + + 83.25% { + .prefixed(transform, skew(-2deg)); + } + + 100% { + .prefixed(transform, skew(0)); + } +}); + +.wobble-top() { + .hacks(); + .prefixed(transform-origin, 0 100%); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-top"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-vertical.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-vertical.less new file mode 100644 index 000000000..0be6df9a3 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/2d-transitions/_wobble-vertical.less @@ -0,0 +1,39 @@ +/* Wobble Vertical */ +.keyframes(~"@{nameSpace}-wobble-vertical", { + 16.65% { + .prefixed(transform, translateY(8px)); + } + + 33.3% { + .prefixed(transform, translateY(-6px)); + } + + 49.95% { + .prefixed(transform, translateY(4px)); + } + + 66.6% { + .prefixed(transform, translateY(-2px)); + } + + 83.25% { + .prefixed(transform, translateY(1px)); + } + + 100% { + .prefixed(transform, translateY(0)); + } +}); + +.wobble-vertical() { + .hacks(); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-wobble-vertical"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_back-pulse.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_back-pulse.less new file mode 100644 index 000000000..d45e49607 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_back-pulse.less @@ -0,0 +1,26 @@ +/* Back Pulse */ +.keyframes(~"@{nameSpace}-back-pulse", { + 50% { + background-color: rgba(32, 152, 209, .75); + } +}); + +.back-pulse() { + .hacks(); + overflow: hidden; + .prefixed(transition-duration, @slowDuration); + .prefixed(transition-property, "color, background-color"); + + &:hover, + &:focus, + &:active { + .prefixed(animation-name, ~"@{nameSpace}-back-pulse"); + .prefixed(animation-duration, 1s); + .prefixed(animation-delay, @slowDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + background-color: @activeColor; + background-color: rgba(32, 152, 209, 1); + color: white; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-bottom.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-bottom.less new file mode 100644 index 000000000..b0ef2bb94 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-bottom.less @@ -0,0 +1,34 @@ +/* Bounce To Bottom */ +.bounce-to-bottom() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleY(0)); + .prefixed(transform-origin, 50% 0); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @slowDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleY(1)); + .prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-left.less new file mode 100644 index 000000000..ad48ee624 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-left.less @@ -0,0 +1,34 @@ +/* Bounce To Left */ +.bounce-to-left() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleX(0)); + .prefixed(transform-origin, 100% 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @slowDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleX(1)); + .prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-right.less new file mode 100644 index 000000000..9785754d8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-right.less @@ -0,0 +1,34 @@ +/* Bounce To Right */ +.bounce-to-right() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleX(0)); + .prefixed(transform-origin, 0 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @slowDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleX(1)); + .prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-top.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-top.less new file mode 100644 index 000000000..4d64bf11b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_bounce-to-top.less @@ -0,0 +1,34 @@ +/* Bounce To Top */ +.bounce-to-top() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleY(0)); + .prefixed(transform-origin, 50% 100%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @slowDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleY(1)); + .prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_fade.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_fade.less new file mode 100644 index 000000000..7a92ac19a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_fade.less @@ -0,0 +1,14 @@ +/* Fade */ +.fade() { + .hacks(); + overflow: hidden; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, ~"color, background-color"); + + &:hover, + &:focus, + &:active { + background-color: @activeColor; + color: white; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_radial-in.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_radial-in.less new file mode 100644 index 000000000..c59348ee2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_radial-in.less @@ -0,0 +1,35 @@ +/* Radial In */ +.radial-in() { + .hacks(); + position: relative; + overflow: hidden; + background: @activeColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @primaryColor; + border-radius: 100%; + .prefixed(transform, scale(2)); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scale(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_radial-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_radial-out.less new file mode 100644 index 000000000..43daa2460 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_radial-out.less @@ -0,0 +1,35 @@ +/* Radial Out */ +.radial-out() { + .hacks(); + position: relative; + overflow: hidden; + background: @primaryColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + border-radius: 100%; + .prefixed(transform, scale(0)); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scale(2)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_rectangle-in.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_rectangle-in.less new file mode 100644 index 000000000..a2b111421 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_rectangle-in.less @@ -0,0 +1,33 @@ +/* Rectangle In */ +.rectangle-in() { + .hacks(); + position: relative; + background: @activeColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @primaryColor; + .prefixed(transform, scale(1)); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scale(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_rectangle-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_rectangle-out.less new file mode 100644 index 000000000..dce554a34 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_rectangle-out.less @@ -0,0 +1,33 @@ +/* Rectangle Out */ +.rectangle-out() { + .hacks(); + position: relative; + background: @primaryColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scale(0)); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scale(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-in-horizontal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-in-horizontal.less new file mode 100644 index 000000000..461f8130a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-in-horizontal.less @@ -0,0 +1,34 @@ +/* Shutter In Horizontal */ +.shutter-in-horizontal() { + .hacks(); + position: relative; + background: @activeColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: @primaryColor; + .prefixed(transform, scaleX(1)); + .prefixed(transform-origin, 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleX(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-in-vertical.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-in-vertical.less new file mode 100644 index 000000000..96f85e56e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-in-vertical.less @@ -0,0 +1,34 @@ +/* Shutter In Vertical */ +.shutter-in-vertical() { + .hacks(); + position: relative; + background: @activeColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: @primaryColor; + .prefixed(transform, scaleY(1)); + .prefixed(transform-origin, 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleY(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-out-horizontal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-out-horizontal.less new file mode 100644 index 000000000..f97e9ade4 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-out-horizontal.less @@ -0,0 +1,34 @@ +/* Shutter Out Horizontal */ +.shutter-out-horizontal() { + .hacks(); + position: relative; + background: @primaryColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: @activeColor; + .prefixed(transform, scaleX(0)); + .prefixed(transform-origin, 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleX(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-out-vertical.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-out-vertical.less new file mode 100644 index 000000000..1233a2184 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_shutter-out-vertical.less @@ -0,0 +1,34 @@ +/* Shutter Out Vertical */ +.shutter-out-vertical() { + .hacks(); + position: relative; + background: @primaryColor; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: @activeColor; + .prefixed(transform, scaleY(0)); + .prefixed(transform-origin, 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleY(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-bottom.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-bottom.less new file mode 100644 index 000000000..df862a483 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-bottom.less @@ -0,0 +1,33 @@ +/* Sweep To Bottom */ +.sweep-to-bottom() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleY(0)); + .prefixed(transform-origin, 50% 0); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleY(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-left.less new file mode 100644 index 000000000..9db0b32c3 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-left.less @@ -0,0 +1,33 @@ +/* Sweep To Left */ +.sweep-to-left() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleX(0)); + .prefixed(transform-origin, 100% 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleX(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-right.less new file mode 100644 index 000000000..21160b474 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-right.less @@ -0,0 +1,33 @@ +/* Sweep To Right */ +.sweep-to-right() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleX(0)); + .prefixed(transform-origin, 0 50%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleX(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-top.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-top.less new file mode 100644 index 000000000..53da5e8a8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/background-transitions/_sweep-to-top.less @@ -0,0 +1,33 @@ +/* Sweep To Top */ +.sweep-to-top() { + .hacks(); + position: relative; + .prefixed(transition-property, color); + .prefixed(transition-duration, @mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + .prefixed(transform, scaleY(0)); + .prefixed(transform-origin, 50% 100%); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + .prefixed(transform, scaleY(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_border-fade.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_border-fade.less new file mode 100644 index 000000000..de8efb11b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_border-fade.less @@ -0,0 +1,19 @@ +/* Border Fade */ +.border-fade() { + @borderWidth: 4px; + + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, box-shadow); + box-shadow: + inset 0 0 0 @borderWidth @primaryColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + + &:hover, + &:focus, + &:active { + box-shadow: + inset 0 0 0 @borderWidth @activeColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_hollow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_hollow.less new file mode 100644 index 000000000..4138f2d8a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_hollow.less @@ -0,0 +1,17 @@ +/* Hollow */ +.hollow() { + @borderWidth: 4px; + + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, background); + box-shadow: + inset 0 0 0 @borderWidth @primaryColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + + &:hover, + &:focus, + &:active { + background: none; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_outline-in.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_outline-in.less new file mode 100644 index 000000000..938603f10 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_outline-in.less @@ -0,0 +1,32 @@ +/* Outline In */ +.outline-in() { + @outerBorderWidth: 4px; + @innerBorderWidth: 4px; + + .hacks(); + position: relative; + + &:before { + pointer-events: none; + content: ''; + position: absolute; + border: @primaryColor solid @outerBorderWidth; + top: -(@outerBorderWidth + @innerBorderWidth) * 2; + right: -(@outerBorderWidth + @innerBorderWidth) * 2; + bottom: -(@outerBorderWidth + @innerBorderWidth) * 2; + left: -(@outerBorderWidth + @innerBorderWidth) * 2; + opacity: 0; + .prefixed(transition-duration, .3s); + .prefixed(transition-property, "top, right, bottom, left"); + } + + &:hover:before, + &:focus:before, + &:active:before { + top: -(@outerBorderWidth + @innerBorderWidth); + right: -(@outerBorderWidth + @innerBorderWidth); + bottom: -(@outerBorderWidth + @innerBorderWidth); + left: -(@outerBorderWidth + @innerBorderWidth); + opacity: 1; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_outline-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_outline-out.less new file mode 100644 index 000000000..73ddd4419 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_outline-out.less @@ -0,0 +1,29 @@ +/* Outline Out */ +.outline-out() { + @outerBorderWidth: 4px; + @innerBorderWidth: 4px; + + .hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: @primaryColor solid @outerBorderWidth; + top: 0; + right: 0; + bottom: 0; + left: 0; + .prefixed(transition-duration, .3s); + .prefixed(transition-property, "top, right, bottom, left"); + } + + &:hover:before, + &:focus:before, + &:active:before { + top: -(@outerBorderWidth + @innerBorderWidth); + right: -(@outerBorderWidth + @innerBorderWidth); + bottom: -(@outerBorderWidth + @innerBorderWidth); + left: -(@outerBorderWidth + @innerBorderWidth); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-center.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-center.less new file mode 100644 index 000000000..7cdc75313 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-center.less @@ -0,0 +1,32 @@ +/* Overline From Center */ +.overline-from-center() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 51%; + right: 51%; + top: 0; + background: @activeColor; + height: 4px; + .prefixed(transition-property, "left, right"); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-left.less new file mode 100644 index 000000000..b12a2f0f3 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-left.less @@ -0,0 +1,31 @@ +/* Overline From Left */ +.overline-from-left() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 100%; + top: 0; + background: @activeColor; + height: 4px; + .prefixed(transition-property, "right"); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-right.less new file mode 100644 index 000000000..0f449232a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-from-right.less @@ -0,0 +1,31 @@ +/* Overline From Right */ +.overline-from-right() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 100%; + right: 0; + top: 0; + background: @activeColor; + height: 4px; + .prefixed(transition-property, "left"); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-reveal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-reveal.less new file mode 100644 index 000000000..b8680a933 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_overline-reveal.less @@ -0,0 +1,32 @@ +/* Overline Reveal */ +.overline-reveal() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 0; + top: 0; + background: @activeColor; + height: 4px; + .prefixed(transform, translateY(-4px)); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + .prefixed(transform, translateY(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_reveal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_reveal.less new file mode 100644 index 000000000..84dca74d4 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_reveal.less @@ -0,0 +1,34 @@ +/* Reveal */ +.reveal() { + @duration: @fastDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 0; + top: 0; + bottom: 0; + border-color: @activeColor; + border-style: solid; + border-width: 0; + .prefixed(transition-property, border-width); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + .prefixed(transform, translateY(0)); + border-width: 4px; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_ripple-in.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_ripple-in.less new file mode 100644 index 000000000..eac791b5e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_ripple-in.less @@ -0,0 +1,36 @@ +/* Ripple In */ +.keyframes(~"@{nameSpace}-ripple-in", { + 100% { + top: 0; + right: 0; + bottom: 0; + left: 0; + opacity: 1; + } +}); + +.ripple-in() { + @outerBorderWidth: 4px; + @innerBorderWidth: 4px; + + .hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: @primaryColor solid @outerBorderWidth; + top: -(6px + 6px); + right: -(6px + 6px); + bottom: -(6px + 6px); + left: -(6px + 6px); + opacity: 0; + .prefixed(animation-duration, 1s); + } + + &:hover:before, + &:focus:before, + &:active:before { + .prefixed(animation-name, ~"@{nameSpace}-ripple-in"); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_ripple-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_ripple-out.less new file mode 100644 index 000000000..bd94248d4 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_ripple-out.less @@ -0,0 +1,35 @@ +/* Ripple Out */ +.keyframes(~"@{nameSpace}-ripple-out", { + 100% { + top: -(6px + 6px); + right: -(6px + 6px); + bottom: -(6px + 6px); + left: -(6px + 6px); + opacity: 0; + } +}); + +.ripple-out() { + @outerBorderWidth: 6px; + @innerBorderWidth: 6px; + + .hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: @primaryColor solid @outerBorderWidth; + top: 0; + right: 0; + bottom: 0; + left: 0; + .prefixed(animation-duration, 1s); + } + + &:hover:before, + &:focus:before, + &:active:before { + .prefixed(animation-name, ~"@{nameSpace}-ripple-out"); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_round-corners.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_round-corners.less new file mode 100644 index 000000000..ab2685403 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_round-corners.less @@ -0,0 +1,12 @@ +/* Round Corners */ +.round-corners() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, border-radius); + + &:hover, + &:focus, + &:active { + border-radius: 1em; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_trim.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_trim.less new file mode 100644 index 000000000..14b6d2f3b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_trim.less @@ -0,0 +1,27 @@ +/* Trim */ +.trim() { + @outerBorderWidth: 4px; + @innerBorderWidth: 4px; + + .hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: white solid @innerBorderWidth; + top: @outerBorderWidth; + left: @outerBorderWidth; + right: @outerBorderWidth; + bottom: @outerBorderWidth; + opacity: 0; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, opacity); + } + + &:hover:before, + &:focus:before, + &:active:before { + opacity: 1; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-center.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-center.less new file mode 100644 index 000000000..9a9a41427 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-center.less @@ -0,0 +1,32 @@ +/* Underline From Center */ +.underline-from-center() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 51%; + right: 51%; + bottom: 0; + background: @activeColor; + height: 4px; + .prefixed(transition-property, "left, right"); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-left.less new file mode 100644 index 000000000..378772c78 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-left.less @@ -0,0 +1,31 @@ +/* Underline From Left */ +.underline-from-left() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 100%; + bottom: 0; + background: @activeColor; + height: 4px; + .prefixed(transition-property, "right"); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-right.less new file mode 100644 index 000000000..5d4a0d861 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-from-right.less @@ -0,0 +1,31 @@ +/* Underline From Right */ +.underline-from-right() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 100%; + right: 0; + bottom: 0; + background: @activeColor; + height: 4px; + .prefixed(transition-property, "left"); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-reveal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-reveal.less new file mode 100644 index 000000000..f0287a556 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/border-transitions/_underline-reveal.less @@ -0,0 +1,32 @@ +/* Underline Reveal */ +.underline-reveal() { + @duration: @mediumDuration; + + .hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 0; + bottom: 0; + background: @activeColor; + height: 4px; + .prefixed(transform, translateY(4px)); + .prefixed(transition-property, transform); + .prefixed(transition-duration, @duration); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + .prefixed(transform, translateY(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-bottom-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-bottom-left.less new file mode 100644 index 000000000..6f7e4cde0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-bottom-left.less @@ -0,0 +1,33 @@ +/* Curl Bottom Left */ +.curl-bottom-left() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + bottom: 0; + left: 0; + background: @revealAreaColor; /* IE9 */ + background: linear-gradient( + 45deg, + @revealAreaColor 45%, + @curlLineColor 50%, + @curlTransitionColor 56%, + @curlLastColor 80% + ); + box-shadow: 1px -1px 1px rgba(0, 0, 0, .4); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, ~"width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: @curlWidth; + height: @curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-bottom-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-bottom-right.less new file mode 100644 index 000000000..5441fdc50 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-bottom-right.less @@ -0,0 +1,33 @@ +/* Curl Bottom Right */ +.curl-bottom-right() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + bottom: 0; + right: 0; + background: @revealAreaColor; /* IE9 */ + background: linear-gradient( + 315deg, + @revealAreaColor 45%, + @curlLineColor 50%, + @curlTransitionColor 56%, + @curlLastColor 80% + ); + box-shadow: -1px -1px 1px rgba(0, 0, 0, .4); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, ~"width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: @curlWidth; + height: @curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-top-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-top-left.less new file mode 100644 index 000000000..1531b5577 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-top-left.less @@ -0,0 +1,36 @@ +/* Curl Top Left */ +.curl-top-left() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + top: 0; + left: 0; + background: @revealAreaColor; /* IE9 */ + background: linear-gradient( + 135deg, + @revealAreaColor 45%, + @curlLineColor 50%, + @curlTransitionColor 56%, + @curlLastColor 80% + ); + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ffffff', endColorstr='#000000');/*For IE7-8-9*/ + + z-index: 1000; + box-shadow: 1px 1px 1px rgba(0, 0, 0, .4); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, ~"width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: @curlWidth; + height: @curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-top-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-top-right.less new file mode 100644 index 000000000..213a45e96 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/curls/_curl-top-right.less @@ -0,0 +1,33 @@ +/* Curl Top Right */ +.curl-top-right() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + top: 0; + right: 0; + background: @revealAreaColor; /* IE9 */ + background: linear-gradient( + 225deg, + @revealAreaColor 45%, + @curlLineColor 50%, + @curlTransitionColor 56%, + @curlLastColor 80% + ); + box-shadow: -1px 1px 1px rgba(0, 0, 0, .4); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, ~"width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: @curlWidth; + height: @curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-back.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-back.less new file mode 100644 index 000000000..927871962 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-back.less @@ -0,0 +1,21 @@ +/* Icon Back */ +.icon-back() { + .hacks(); + .prefixed(transition-duration, @fastDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @fastDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, translateX(-4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bob.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bob.less new file mode 100644 index 000000000..f3a3b05ad --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bob.less @@ -0,0 +1,42 @@ +/* Icon Bob */ +.keyframes(~"@{nameSpace}-icon-bob", { + 0% { + .prefixed(transform, translateY(-6px)); + } + 50% { + .prefixed(transform, translateY(-2px)); + } + 100% { + .prefixed(transform, translateY(-6px)); + } +}); + +.keyframes(~"@{nameSpace}-icon-bob-float", { + 100% { + .prefixed(transform, translateY(-6px)); + } +}); + +.icon-bob() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-bob-float, @{nameSpace}-icon-bob"); + .prefixed(animation-duration, ~".3s, 1.5s"); + .prefixed(animation-delay, ~"0s, .3s"); + .prefixed(animation-timing-function, ~"ease-out, ease-in-out"); + .prefixed(animation-iteration-count, ~"1, infinite"); + .prefixed(animation-fill-mode, ~"forwards"); + .prefixed(animation-direction, ~"normal, alternate"); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bounce-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bounce-out.less new file mode 100644 index 000000000..9049b4670 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bounce-out.less @@ -0,0 +1,28 @@ +/* Icon Bounce Out */ +.keyframes(~"@{nameSpace}-icon-bounce-out", { + 50% { + .prefixed(transform, scale(1.5)); + } +}); + +.icon-bounce-out() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, scale(.9)); + .prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bounce.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bounce.less new file mode 100644 index 000000000..87ed02530 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-bounce.less @@ -0,0 +1,23 @@ +/* Icon Bounce */ + +.icon-bounce() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, scale(1.5)); + .prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-buzz-out.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-buzz-out.less new file mode 100644 index 000000000..b9f41b997 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-buzz-out.less @@ -0,0 +1,63 @@ +/* Icon Buzz Out */ +.keyframes(~"@{nameSpace}-icon-buzz-out", { + 10% { + .prefixed(transform, translateX(3px) rotate(2deg)); + } + + 20% { + .prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 30% { + .prefixed(transform, translateX(3px) rotate(2deg)); + } + + 40% { + .prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 50% { + .prefixed(transform, translateX(2px) rotate(1deg)); + } + + 60% { + .prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 70% { + .prefixed(transform, translateX(2px) rotate(1deg)); + } + + 80% { + .prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 90% { + .prefixed(transform, translateX(1px) rotate(0)); + } + + 100% { + .prefixed(transform, translateX(-1px) rotate(0)); + } +}); + +.icon-buzz-out() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-buzz-out"); + .prefixed(animation-duration, .75s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-buzz.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-buzz.less new file mode 100644 index 000000000..02362641d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-buzz.less @@ -0,0 +1,31 @@ +/* Icon Buzz */ +.keyframes(~"@{nameSpace}-icon-buzz", { + 50% { + .prefixed(transform, translateX(3px) rotate(2deg)); + } + + 100% { + .prefixed(transform, translateX(-3px) rotate(-2deg)); + } +}); + +.icon-buzz() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-buzz"); + .prefixed(animation-duration, .15s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-down.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-down.less new file mode 100644 index 000000000..400c2a97f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-down.less @@ -0,0 +1,32 @@ +/* Icon Down */ +.keyframes(~"@{nameSpace}-icon-down", { + 0%, + 50%, + 100% { + .prefixed(transform, translateY(0)); + } + 25%, + 75% { + .prefixed(transform, translateY(6px)); + } +}); + +/* Icon Down */ +.icon-down() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-down"); + .prefixed(animation-duration, .75s); + .prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-drop.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-drop.less new file mode 100644 index 000000000..77e00020b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-drop.less @@ -0,0 +1,42 @@ +/* Icon Drop */ +.keyframes(~"@{nameSpace}-icon-drop", { + 0% { + opacity: 0; + + } + + 50% { + opacity: 0; + .prefixed(transform, translateY(-100%)); + } + + 51%, + 100% { + opacity: 1; + } +}); + +/* Icon Drop */ +.icon-drop() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + opacity: 0; + .prefixed(transition-duration, @mediumDuration); + .prefixed(animation-name, ~"@{nameSpace}-icon-drop"); + .prefixed(animation-duration, @slowDuration); + .prefixed(animation-delay, @mediumDuration); + .prefixed(animation-fill-mode, forwards); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-fade.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-fade.less new file mode 100644 index 000000000..30cdf3f93 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-fade.less @@ -0,0 +1,19 @@ +/* Icon Fade */ +.icon-fade() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, .5s); + .prefixed(transition-property, color); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + color: #0F9E5E; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-float-away.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-float-away.less new file mode 100644 index 000000000..9a5472fe7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-float-away.less @@ -0,0 +1,32 @@ +/* Icon Float Away */ +.keyframes(~"@{nameSpace}-icon-float-away", { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + .prefixed(transform, translateY(-1em)); + } +}); + +/* Icon Float Away */ +.icon-float-away() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(animation-duration, @slowDuration); + .prefixed(animation-fill-mode, forwards); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-float-away"); + .prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-float.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-float.less new file mode 100644 index 000000000..f45c16ffc --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-float.less @@ -0,0 +1,21 @@ +/* Icon Float */ +.icon-float() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, translateY(-4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-forward.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-forward.less new file mode 100644 index 000000000..5854afff3 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-forward.less @@ -0,0 +1,21 @@ +/* Icon Forward */ +.icon-forward() { + .hacks(); + .prefixed(transition-duration, @fastDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @fastDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, translateX(4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-grow-rotate.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-grow-rotate.less new file mode 100644 index 000000000..5c135a6be --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-grow-rotate.less @@ -0,0 +1,23 @@ +/* Icon Grow Rotate */ +.icon-grow-rotate() { + @duration: @mediumDuration; + + .hacks(); + .prefixed(transition-duration, @duration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @duration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, scale(1.5) rotate(12deg)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-grow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-grow.less new file mode 100644 index 000000000..473b5a6bf --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-grow.less @@ -0,0 +1,21 @@ +/* Icon Grow */ +.icon-grow() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, scale(1.3) translateZ(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-hang.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-hang.less new file mode 100644 index 000000000..36aa7e2c1 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-hang.less @@ -0,0 +1,42 @@ +/* Icon Hang */ +.keyframes(~"@{nameSpace}-icon-hang", { + 0% { + .prefixed(transform, translateY(6px)); + } + 50% { + .prefixed(transform, translateY(2px)); + } + 100% { + .prefixed(transform, translateY(6px)); + } +}); + +.keyframes(~"@{nameSpace}-icon-hang-sink", { + 100% { + .prefixed(transform, translateY(6px)); + } +}); + +.icon-hang() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-hang-sink, @{nameSpace}-icon-hang"); + .prefixed(animation-duration, ~".3s, 1.5s"); + .prefixed(animation-delay, ~"0s, .3s"); + .prefixed(animation-timing-function, ~"ease-out, ease-in-out"); + .prefixed(animation-iteration-count, ~"1, infinite"); + .prefixed(animation-fill-mode, ~"forwards"); + .prefixed(animation-direction, ~"normal, alternate"); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pop.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pop.less new file mode 100644 index 000000000..10f6c7b48 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pop.less @@ -0,0 +1,30 @@ +/* Icon Pop */ +.keyframes(~"@{nameSpace}-icon-pop", { + 50% { + .prefixed(transform, scale(1.5)); + } +}); + +.icon-pop() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-pop"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse-grow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse-grow.less new file mode 100644 index 000000000..b2d81f8af --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse-grow.less @@ -0,0 +1,28 @@ +/* Icon Pulse Grow */ +.keyframes(~"@{nameSpace}-icon-pulse-grow", { + to { + .prefixed(transform, scale(1.3)); + } +}); + +.icon-pulse-grow() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-pulse-grow"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + .prefixed(animation-direction, alternate); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse-shrink.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse-shrink.less new file mode 100644 index 000000000..08f6f131d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse-shrink.less @@ -0,0 +1,28 @@ +/* Icon Pulse Shrink */ +.keyframes(~"@{nameSpace}-icon-pulse-shrink", { + to { + .prefixed(transform, scale(.8)); + } +}); + +.icon-pulse-shrink() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-pulse-shrink"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + .prefixed(animation-direction, alternate); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse.less new file mode 100644 index 000000000..8fdf24d3d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-pulse.less @@ -0,0 +1,31 @@ +/* Icon Pulse */ +.keyframes(~"@{nameSpace}-icon-pulse", { + 25% { + .prefixed(transform, scale(1.3)); + } + + 75% { + .prefixed(transform, scale(.8)); + } +}); + +.icon-pulse() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-pulse"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, infinite); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-push.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-push.less new file mode 100644 index 000000000..8f9ebc7e7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-push.less @@ -0,0 +1,30 @@ +/* Icon Push */ +.keyframes(~"@{nameSpace}-icon-push", { + 50% { + .prefixed(transform, scale(.5)); + } +}); + +.icon-push() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-push"); + .prefixed(animation-duration, @mediumDuration); + .prefixed(animation-timing-function, linear); + .prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-rotate.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-rotate.less new file mode 100644 index 000000000..e48cbeca0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-rotate.less @@ -0,0 +1,23 @@ +/* Icon Rotate */ +.icon-rotate() { + @duration: @mediumDuration; + + .hacks(); + .prefixed(transition-duration, @duration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @duration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, rotate(20deg)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-shrink.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-shrink.less new file mode 100644 index 000000000..b98694909 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-shrink.less @@ -0,0 +1,21 @@ +/* Icon Shrink */ +.icon-shrink() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, scale(.8)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-sink-away.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-sink-away.less new file mode 100644 index 000000000..3964fb7f2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-sink-away.less @@ -0,0 +1,32 @@ +/* Icon Sink Away */ +.keyframes(~"@{nameSpace}-icon-sink-away", { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + .prefixed(transform, translateY(1em)); + } +}); + +/* Icon Sink Away */ +.icon-sink-away() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(animation-duration, @slowDuration); + .prefixed(animation-fill-mode, forwards); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-sink-away"); + .prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-sink.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-sink.less new file mode 100644 index 000000000..cfc02cf3e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-sink.less @@ -0,0 +1,21 @@ +/* Icon Sink */ +.icon-sink() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, translateY(4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-spin.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-spin.less new file mode 100644 index 000000000..ab5348766 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-spin.less @@ -0,0 +1,19 @@ +/* Icon Spin */ +.icon-spin() { + .hacks(); + + .hvr-icon { + .prefixed(transition-duration, 1s); + .prefixed(transition-property, transform); + .prefixed(transition-timing-function, ease-in-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(transform, rotate(360deg)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-up.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-up.less new file mode 100644 index 000000000..05b00d5e0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-up.less @@ -0,0 +1,32 @@ +/* Icon Up */ +.keyframes(~"@{nameSpace}-icon-up", { + 0%, + 50%, + 100% { + .prefixed(transform, translateY(0)); + } + 25%, + 75% { + .prefixed(transform, translateY(-6px)); + } +}); + +/* Icon Up */ +.icon-up() { + .hacks(); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-up"); + .prefixed(animation-duration, .75s); + .prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-wobble-horizontal.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-wobble-horizontal.less new file mode 100644 index 000000000..08dd7af5e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-wobble-horizontal.less @@ -0,0 +1,47 @@ +/* Icon Wobble Horizontal */ +.keyframes(~"@{nameSpace}-icon-wobble-horizontal", { + 16.65% { + .prefixed(transform, translateX(6px)); + } + + 33.3% { + .prefixed(transform, translateX(-5px)); + } + + 49.95% { + .prefixed(transform, translateX(4px)); + } + + 66.6% { + .prefixed(transform, translateX(-2px)); + } + + 83.25% { + .prefixed(transform, translateX(1px)); + } + + 100% { + .prefixed(transform, translateX(0)); + } +}); + +.icon-wobble-horizontal() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-wobble-horizontal"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-wobble-vertical.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-wobble-vertical.less new file mode 100644 index 000000000..b2152b330 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/icons/_icon-wobble-vertical.less @@ -0,0 +1,47 @@ +/* Icon Wobble Vertical */ +.keyframes(~"@{nameSpace}-icon-wobble-vertical", { + 16.65% { + .prefixed(transform, translateY(6px)); + } + + 33.3% { + .prefixed(transform, translateY(-5px)); + } + + 49.95% { + .prefixed(transform, translateY(4px)); + } + + 66.6% { + .prefixed(transform, translateY(-2px)); + } + + 83.25% { + .prefixed(transform, translateY(1px)); + } + + 100% { + .prefixed(transform, translateY(0)); + } +}); + +.icon-wobble-vertical() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + + .hvr-icon { + .prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + .prefixed(animation-name, ~"@{nameSpace}-icon-wobble-vertical"); + .prefixed(animation-duration, 1s); + .prefixed(animation-timing-function, ease-in-out); + .prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_box-shadow-inset.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_box-shadow-inset.less new file mode 100644 index 000000000..8ecd87449 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_box-shadow-inset.less @@ -0,0 +1,16 @@ +/* Box Shadow Inset */ +.box-shadow-inset() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, box-shadow); + + box-shadow: inset 0 0 0 @shadowColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + + &:hover, + &:focus, + &:active { + box-shadow: inset 2px 2px 2px @shadowColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_box-shadow-outset.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_box-shadow-outset.less new file mode 100644 index 000000000..424befcde --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_box-shadow-outset.less @@ -0,0 +1,12 @@ +/* Box Shadow Outset */ +.box-shadow-outset() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, box-shadow); + + &:hover, + &:focus, + &:active { + box-shadow: 2px 2px 2px @shadowColor; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_float-shadow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_float-shadow.less new file mode 100644 index 000000000..6c8ccad2f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_float-shadow.less @@ -0,0 +1,34 @@ +/* Float Shadow */ +.float-shadow() { + .hacks(); + position: relative; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + top: 100%; + left: 5%; + height: 10px; + width: 90%; + opacity: 0; + background: -webkit-radial-gradient(center, ellipse, rgba(0,0,0,.35) 0%, rgba(0, 0, 0, 0) 80%); + background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 80%); /* W3C */ + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, "transform, opacity"); + } + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateY(-5px)); /* move the element up by 5px */ + + &:before { + opacity: 1; + .prefixed(transform, translateY(5px)); /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */ + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_glow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_glow.less new file mode 100644 index 000000000..2859a161a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_glow.less @@ -0,0 +1,12 @@ +/* Glow */ +.glow() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, box-shadow); + + &:hover, + &:focus, + &:active { + box-shadow: 0 0 8px @shadowColor; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_grow-shadow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_grow-shadow.less new file mode 100644 index 000000000..7f2d6d24e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_grow-shadow.less @@ -0,0 +1,13 @@ +/* Grow Shadow */ +.grow-shadow() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, "box-shadow, transform"); + + &:hover, + &:focus, + &:active { + box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5); + .prefixed(transform, scale(1.1)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_shadow-radial.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_shadow-radial.less new file mode 100644 index 000000000..6659a99cd --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_shadow-radial.less @@ -0,0 +1,41 @@ +/* Shadow Radial */ +.shadow-radial() { + .hacks(); + position: relative; + + &:before, + &:after { + pointer-events: none; + position: absolute; + content: ''; + left: 0; + width: 100%; + box-sizing: border-box; + background-repeat: no-repeat; + height: 5px; + opacity: 0; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, opacity); + } + + &:before { + bottom: 100%; + background: -webkit-radial-gradient(50% 150%, ellipse, @shadowColor 0%, rgba(0, 0, 0, 0) 80%); + background: radial-gradient(ellipse at 50% 150%, @shadowColor 0%, rgba(0, 0, 0, 0) 80%); + } + + &:after { + top: 100%; + background: -webkit-radial-gradient(50% -50%, ellipse, @shadowColor 0%, rgba(0, 0, 0, 0) 80%); + background: radial-gradient(ellipse at 50% -50%, @shadowColor 0%, rgba(0, 0, 0, 0) 80%); + } + + &:hover:before, + &:focus:before, + &:active:before, + &:hover:after, + &:focus:after, + &:active:after { + opacity: 1; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_shadow.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_shadow.less new file mode 100644 index 000000000..f55a4c395 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/shadow-and-glow-transitions/_shadow.less @@ -0,0 +1,12 @@ +/* Shadow */ +.shadow() { + .hacks(); + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, box-shadow); + + &:hover, + &:focus, + &:active { + box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-bottom.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-bottom.less new file mode 100644 index 000000000..6d7f367bb --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-bottom.less @@ -0,0 +1,25 @@ +/* Bubble Bottom */ +.bubble-bottom() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + left: calc(~"50%" - @tipWidth); + bottom: 0; + border-width: @tipHeight @tipWidth 0 @tipWidth; + border-color: @tipColor transparent transparent transparent; + } + + &:hover:before, + &:focus:before, + &:active:before { + .prefixed(transform, translateY(@tipHeight)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-bottom.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-bottom.less new file mode 100644 index 000000000..d503f2f95 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-bottom.less @@ -0,0 +1,30 @@ +/* Bubble Float Bottom */ +.bubble-float-bottom() { + .hacks(); + position: relative; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + content: ''; + left: calc(~"50%" - @tipWidth); + bottom: 0; + border-style: solid; + border-width: @tipHeight @tipWidth 0 @tipWidth; + border-color: @tipColor transparent transparent transparent; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateY(-(@tipHeight))); + + &:before { + .prefixed(transform, translateY(@tipHeight)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-left.less new file mode 100644 index 000000000..6e503ec5b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-left.less @@ -0,0 +1,30 @@ +/* Bubble Float Left */ +.bubble-float-left() { + .hacks(); + position: relative; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + content: ''; + top: calc(~"50%" - @tipHeight); + left: 0; + border-style: solid; + border-width: @tipHeight @tipWidth @tipHeight 0; + border-color: transparent @tipColor transparent transparent; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateX(@tipWidth)); + + &:before { + .prefixed(transform, translateX(-(@tipWidth))); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-right.less new file mode 100644 index 000000000..397cbc403 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-right.less @@ -0,0 +1,30 @@ +/* Bubble Float Right */ +.bubble-float-right() { + .hacks(); + position: relative; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + top: calc(~"50%" - @tipHeight); + right: 0; + content: ''; + border-style: solid; + border-width: @tipHeight 0 @tipHeight @tipWidth; + border-color: transparent transparent transparent @tipColor; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateX(-(@tipWidth))); + + &:before { + .prefixed(transform, translateX(@tipWidth)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-top.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-top.less new file mode 100644 index 000000000..8bf19923c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-float-top.less @@ -0,0 +1,30 @@ +/* Bubble Float Top */ +.bubble-float-top() { + .hacks(); + position: relative; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + content: ''; + left: calc(~"50%" - @tipWidth); + top: 0; + border-style: solid; + border-width: 0 @tipWidth @tipHeight @tipWidth; + border-color: transparent transparent @tipColor transparent; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + .prefixed(transform, translateY(@tipHeight)); + + &:before { + .prefixed(transform, translateY(-(@tipHeight))); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-left.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-left.less new file mode 100644 index 000000000..118697fb0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-left.less @@ -0,0 +1,25 @@ +/* Bubble Left */ +.bubble-left() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + top: calc(~"50%" - @tipHeight); + left: 0; + border-width: @tipHeight @tipWidth @tipHeight 0; + border-color: transparent @tipColor transparent transparent; + } + + &:hover:before, + &:focus:before, + &:active:before { + .prefixed(transform, translateX(-(@tipWidth))); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-right.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-right.less new file mode 100644 index 000000000..da86ec6cb --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-right.less @@ -0,0 +1,25 @@ +/* Bubble Right */ +.bubble-right() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + top: calc(~"50%" - @tipHeight); + right: 0; + border-width: @tipHeight 0 @tipHeight @tipWidth; + border-color: transparent transparent transparent @tipColor; + } + + &:hover:before, + &:focus:before, + &:active:before { + .prefixed(transform, translateX(@tipWidth)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-top.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-top.less new file mode 100644 index 000000000..b8eb95b97 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/effects/speech-bubbles/_bubble-top.less @@ -0,0 +1,25 @@ +/* Bubble Top */ +.bubble-top() { + .hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + .prefixed(transition-duration, @mediumDuration); + .prefixed(transition-property, transform); + left: calc(~"50%" - @tipWidth); + top: 0; + border-width: 0 @tipWidth @tipHeight @tipWidth; + border-color: transparent transparent @tipColor transparent; + } + + &:hover:before, + &:focus:before, + &:active:before { + .prefixed(transform, translateY(-(@tipHeight))); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/less/hover.less b/src/main/resources/templates/themes/yummy/bower_components/hover/less/hover.less new file mode 100644 index 000000000..71c3258e2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/less/hover.less @@ -0,0 +1,794 @@ +/*! + * Hover.css (http://ianlunn.github.io/Hover/) + * Version: 2.3.1 + * Author: Ian Lunn @IanLunn + * Author URL: http://ianlunn.co.uk/ + * Github: https://github.com/IanLunn/Hover + + * Hover.css Copyright Ian Lunn 2017. Generated with LESS. + */ + + +@import "_options"; +@import "_mixins"; +@import "_hacks"; + + +/* 2D TRANSITIONS */ +@import "effects/2d-transitions/_grow"; +& when(@includeClasses = true) { + .@{nameSpace}-grow { + .grow(); + } +} + +@import "effects/2d-transitions/_shrink"; +& when(@includeClasses = true) { + .@{nameSpace}-shrink { + .shrink(); + } +} + +@import "effects/2d-transitions/_pulse"; +& when(@includeClasses = true) { + .@{nameSpace}-pulse { + .pulse(); + } +} + +@import "effects/2d-transitions/_pulse-grow"; +& when(@includeClasses = true) { + .@{nameSpace}-pulse-grow { + .pulse-grow(); + } +} + +@import "effects/2d-transitions/_pulse-shrink"; +& when(@includeClasses = true) { + .@{nameSpace}-pulse-shrink { + .pulse-shrink(); + } +} + +@import "effects/2d-transitions/_push"; +& when(@includeClasses = true) { + .@{nameSpace}-push { + .push(); + } +} + +@import "effects/2d-transitions/_pop"; +& when(@includeClasses = true) { + .@{nameSpace}-pop { + .pop(); + } +} + +@import "effects/2d-transitions/_bounce-in"; +& when(@includeClasses = true) { + .@{nameSpace}-bounce-in { + .bounce-in(); + } +} + +@import "effects/2d-transitions/_bounce-out"; +& when(@includeClasses = true) { + .@{nameSpace}-bounce-out { + .bounce-out(); + } +} + +@import "effects/2d-transitions/_rotate"; +& when(@includeClasses = true) { + .@{nameSpace}-rotate { + .rotate(); + } +} + +@import "effects/2d-transitions/_grow-rotate"; +& when(@includeClasses = true) { + .@{nameSpace}-grow-rotate { + .grow-rotate(); + } +} + +@import "effects/2d-transitions/_float"; +& when(@includeClasses = true) { + .@{nameSpace}-float { + .float(); + } +} + +@import "effects/2d-transitions/_sink"; +& when(@includeClasses = true) { + .@{nameSpace}-sink { + .sink(); + } +} + +@import "effects/2d-transitions/_bob"; +& when(@includeClasses = true) { + .@{nameSpace}-bob { + .bob(); + } +} + +@import "effects/2d-transitions/_hang"; +& when(@includeClasses = true) { + .@{nameSpace}-hang { + .hang(); + } +} + +@import "effects/2d-transitions/_skew"; +& when(@includeClasses = true) { + .@{nameSpace}-skew { + .skew(); + } +} + +@import "effects/2d-transitions/_skew-forward"; +& when(@includeClasses = true) { + .@{nameSpace}-skew-forward { + .skew-forward(); + } +} + +@import "effects/2d-transitions/_skew-backward"; +& when(@includeClasses = true) { + .@{nameSpace}-skew-backward { + .skew-backward(); + } +} + +@import "effects/2d-transitions/_wobble-vertical"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-vertical { + .wobble-vertical(); + } +} + +@import "effects/2d-transitions/_wobble-horizontal"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-horizontal { + .wobble-horizontal(); + } +} + +@import "effects/2d-transitions/_wobble-to-bottom-right"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-to-bottom-right { + .wobble-to-bottom-right(); + } +} + +@import "effects/2d-transitions/_wobble-to-top-right"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-to-top-right { + .wobble-to-top-right(); + } +} + +@import "effects/2d-transitions/_wobble-top"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-top { + .wobble-top(); + } +} + +@import "effects/2d-transitions/_wobble-bottom"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-bottom { + .wobble-bottom(); + } +} + +@import "effects/2d-transitions/_wobble-skew"; +& when(@includeClasses = true) { + .@{nameSpace}-wobble-skew { + .wobble-skew(); + } +} + +@import "effects/2d-transitions/_buzz"; +& when(@includeClasses = true) { + .@{nameSpace}-buzz { + .buzz(); + } +} + +@import "effects/2d-transitions/_buzz-out"; +& when(@includeClasses = true) { + .@{nameSpace}-buzz-out { + .buzz-out(); + } +} + +@import "effects/2d-transitions/_forward"; +& when(@includeClasses = true) { + .@{nameSpace}-forward { + .forward(); + } +} + +@import "effects/2d-transitions/_backward"; +& when(@includeClasses = true) { + .@{nameSpace}-backward { + .backward(); + } +} + +/* BACKGROUND TRANSITIONS */ +@import "effects/background-transitions/_fade"; +& when(@includeClasses = true) { + .@{nameSpace}-fade { + .fade(); + } +} + +@import "effects/background-transitions/_back-pulse"; +& when(@includeClasses = true) { + .@{nameSpace}-back-pulse { + .back-pulse(); + } +} + +@import "effects/background-transitions/_sweep-to-right"; +& when(@includeClasses = true) { + .@{nameSpace}-sweep-to-right { + .sweep-to-right(); + } +} + +@import "effects/background-transitions/_sweep-to-left"; +& when(@includeClasses = true) { + .@{nameSpace}-sweep-to-left { + .sweep-to-left(); + } +} + +@import "effects/background-transitions/_sweep-to-bottom"; +& when(@includeClasses = true) { + .@{nameSpace}-sweep-to-bottom { + .sweep-to-bottom(); + } +} + +@import "effects/background-transitions/_sweep-to-top"; +& when(@includeClasses = true) { + .@{nameSpace}-sweep-to-top { + .sweep-to-top(); + } +} + +@import "effects/background-transitions/_bounce-to-right"; +& when(@includeClasses = true) { + .@{nameSpace}-bounce-to-right { + .bounce-to-right(); + } +} + +@import "effects/background-transitions/_bounce-to-left"; +& when(@includeClasses = true) { + .@{nameSpace}-bounce-to-left { + .bounce-to-left(); + } +} + +@import "effects/background-transitions/_bounce-to-bottom"; +& when(@includeClasses = true) { + .@{nameSpace}-bounce-to-bottom { + .bounce-to-bottom(); + } +} + +@import "effects/background-transitions/_bounce-to-top"; +& when(@includeClasses = true) { + .@{nameSpace}-bounce-to-top { + .bounce-to-top(); + } +} + +@import "effects/background-transitions/_radial-out"; +& when(@includeClasses = true) { + .@{nameSpace}-radial-out { + .radial-out(); + } +} + +@import "effects/background-transitions/_radial-in"; +& when(@includeClasses = true) { + .@{nameSpace}-radial-in { + .radial-in(); + } +} + +@import "effects/background-transitions/_rectangle-in"; +& when(@includeClasses = true) { + .@{nameSpace}-rectangle-in { + .rectangle-in(); + } +} + +@import "effects/background-transitions/_rectangle-out"; +& when(@includeClasses = true) { + .@{nameSpace}-rectangle-out { + .rectangle-out(); + } +} + +@import "effects/background-transitions/_shutter-in-horizontal"; +& when(@includeClasses = true) { + .@{nameSpace}-shutter-in-horizontal { + .shutter-in-horizontal(); + } +} + +@import "effects/background-transitions/_shutter-out-horizontal"; +& when(@includeClasses = true) { + .@{nameSpace}-shutter-out-horizontal { + .shutter-out-horizontal(); + } +} + +@import "effects/background-transitions/_shutter-in-vertical"; +& when(@includeClasses = true) { + .@{nameSpace}-shutter-in-vertical { + .shutter-in-vertical(); + } +} + +@import "effects/background-transitions/_shutter-out-vertical"; +& when(@includeClasses = true) { + .@{nameSpace}-shutter-out-vertical { + .shutter-out-vertical(); + } +} + + +/* BORDER TRANSITIONS */ +@import "effects/border-transitions/_border-fade"; +& when (@includeClasses = true) { + .@{nameSpace}-border-fade { + .border-fade(); + } +} + +@import "effects/border-transitions/_hollow"; +& when (@includeClasses = true) { + .@{nameSpace}-hollow { + .hollow(); + } +} + +@import "effects/border-transitions/_trim"; +& when (@includeClasses = true) { + .@{nameSpace}-trim { + .trim(); + } +} + +@import "effects/border-transitions/_ripple-out"; +& when (@includeClasses = true) { + .@{nameSpace}-ripple-out { + .ripple-out(); + } +} + +@import "effects/border-transitions/_ripple-in"; +& when (@includeClasses = true) { + .@{nameSpace}-ripple-in { + .ripple-in(); + } +} + +@import "effects/border-transitions/_outline-out"; +& when (@includeClasses = true) { + .@{nameSpace}-outline-out { + .outline-out(); + } +} + +@import "effects/border-transitions/_outline-in"; +& when (@includeClasses = true) { + .@{nameSpace}-outline-in { + .outline-in(); + } +} + +@import "effects/border-transitions/_round-corners"; +& when (@includeClasses = true) { + .@{nameSpace}-round-corners { + .round-corners(); + } +} + +@import "effects/border-transitions/_underline-from-left"; +& when (@includeClasses = true) { + .@{nameSpace}-underline-from-left { + .underline-from-left(); + } +} + +@import "effects/border-transitions/_underline-from-center"; +& when (@includeClasses = true) { + .@{nameSpace}-underline-from-center { + .underline-from-center(); + } +} + +@import "effects/border-transitions/_underline-from-right"; +& when (@includeClasses = true) { + .@{nameSpace}-underline-from-right { + .underline-from-right(); + } +} + +@import "effects/border-transitions/_overline-from-left"; +& when (@includeClasses = true) { + .@{nameSpace}-overline-from-left { + .overline-from-left(); + } +} + +@import "effects/border-transitions/_overline-from-center"; +& when (@includeClasses = true) { + .@{nameSpace}-overline-from-center { + .overline-from-center(); + } +} + +@import "effects/border-transitions/_overline-from-right"; +& when (@includeClasses = true) { + .@{nameSpace}-overline-from-right { + .overline-from-right(); + } +} + +@import "effects/border-transitions/_reveal"; +& when (@includeClasses = true) { + .@{nameSpace}-reveal { + .reveal(); + } +} + +@import "effects/border-transitions/_underline-reveal"; +& when (@includeClasses = true) { + .@{nameSpace}-underline-reveal { + .underline-reveal(); + } +} + +@import "effects/border-transitions/_overline-reveal"; +& when (@includeClasses = true) { + .@{nameSpace}-overline-reveal { + .overline-reveal(); + } +} + + +/* SHADOW/GLOW TRANSITIONS */ +@import "effects/shadow-and-glow-transitions/_glow"; +& when (@includeClasses = true) { + .@{nameSpace}-glow { + .glow(); + } +} + +@import "effects/shadow-and-glow-transitions/_shadow"; +& when (@includeClasses = true) { + .@{nameSpace}-shadow { + .shadow(); + } +} + +@import "effects/shadow-and-glow-transitions/_grow-shadow"; +& when (@includeClasses = true) { + .@{nameSpace}-grow-shadow { + .grow-shadow(); + } +} + +@import "effects/shadow-and-glow-transitions/_box-shadow-outset"; +& when (@includeClasses = true) { + .@{nameSpace}-box-shadow-outset { + .box-shadow-outset(); + } +} + +@import "effects/shadow-and-glow-transitions/_box-shadow-inset"; +& when (@includeClasses = true) { + .@{nameSpace}-box-shadow-inset { + .box-shadow-inset(); + } +} + +@import "effects/shadow-and-glow-transitions/_float-shadow"; +& when (@includeClasses = true) { + .@{nameSpace}-float-shadow { + .float-shadow(); + } +} + +@import "effects/shadow-and-glow-transitions/_shadow-radial"; +& when (@includeClasses = true) { + .@{nameSpace}-show-radial { + .shadow-radial(); + } +} + +/* SPEECH BUBBLES */ +@import "effects/speech-bubbles/_bubble-top"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-top { + .bubble-top(); + } +} + +@import "effects/speech-bubbles/_bubble-right"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-right { + .bubble-right(); + } +} + +@import "effects/speech-bubbles/_bubble-bottom"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-bottom { + .bubble-bottom(); + } +} + +@import "effects/speech-bubbles/_bubble-left"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-left { + .bubble-left(); + } +} + +@import "effects/speech-bubbles/_bubble-float-top"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-float-top { + .bubble-float-top(); + } +} + +@import "effects/speech-bubbles/_bubble-float-right"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-float-right { + .bubble-float-right(); + } +} + +@import "effects/speech-bubbles/_bubble-float-bottom"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-float-bottom { + .bubble-float-bottom(); + } +} + +@import "effects/speech-bubbles/_bubble-float-left"; +& when(@includeClasses = true) { + .@{nameSpace}-bubble-float-left { + .bubble-float-left(); + } +} + +/* ICONS */ +@import "effects/icons/_icon-back"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-back { + .icon-back(); + } +} + +@import "effects/icons/_icon-forward"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-forward { + .icon-forward(); + } +} + +@import "effects/icons/_icon-down"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-down { + .icon-down(); + } +} + +@import "effects/icons/_icon-up"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-up { + .icon-up(); + } +} + +@import "effects/icons/_icon-spin"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-spin { + .icon-spin(); + } +} + +@import "effects/icons/_icon-drop"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-drop { + .icon-drop(); + } +} + +@import "effects/icons/_icon-fade"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-fade { + .icon-fade(); + } +} + +@import "effects/icons/_icon-float-away"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-float-away { + .icon-float-away(); + } +} + +@import "effects/icons/_icon-sink-away"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-sink-away { + .icon-sink-away(); + } +} + +@import "effects/icons/_icon-grow"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-grow { + .icon-grow(); + } +} + +@import "effects/icons/_icon-shrink"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-shrink { + .icon-shrink(); + } +} + +@import "effects/icons/_icon-pulse"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-pulse { + .icon-pulse(); + } +} + +@import "effects/icons/_icon-pulse-grow"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-pulse-grow { + .icon-pulse-grow(); + } +} + +@import "effects/icons/_icon-pulse-shrink"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-pulse-shrink { + .icon-pulse-shrink(); + } +} + +@import "effects/icons/_icon-push"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-push { + .icon-push(); + } +} + +@import "effects/icons/_icon-pop"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-pop { + .icon-pop(); + } +} + +@import "effects/icons/_icon-bounce"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-bounce { + .icon-bounce(); + } +} + +@import "effects/icons/_icon-rotate"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-rotate { + .icon-rotate(); + } +} + +@import "effects/icons/_icon-grow-rotate"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-grow-rotate { + .icon-grow-rotate(); + } +} + +@import "effects/icons/_icon-float"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-float { + .icon-float(); + } +} + +@import "effects/icons/_icon-sink"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-sink { + .icon-sink(); + } +} + +@import "effects/icons/_icon-bob"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-bob { + .icon-bob(); + } +} + +@import "effects/icons/_icon-hang"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-hang { + .icon-hang(); + } +} + +@import "effects/icons/_icon-wobble-horizontal"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-wobble-horizontal { + .icon-wobble-horizontal(); + } +} + +@import "effects/icons/_icon-wobble-vertical"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-wobble-vertical { + .icon-wobble-vertical(); + } +} + +@import "effects/icons/_icon-buzz"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-buzz { + .icon-buzz(); + } +} + +@import "effects/icons/_icon-buzz-out"; +& when(@includeClasses = true) { + .@{nameSpace}-icon-buzz-out { + .icon-buzz-out(); + } +} + +/* CURLS */ +@import "effects/curls/_curl-top-left"; +& when(@includeClasses = true) { + .@{nameSpace}-curl-top-left { + .curl-top-left(); + } +} + +@import "effects/curls/_curl-top-right"; +& when(@includeClasses = true) { + .@{nameSpace}-curl-top-right { + .curl-top-right(); + } +} + +@import "effects/curls/_curl-bottom-right"; +& when(@includeClasses = true) { + .@{nameSpace}-curl-bottom-right { + .curl-bottom-right(); + } +} + +@import "effects/curls/_curl-bottom-left"; +& when(@includeClasses = true) { + .@{nameSpace}-curl-bottom-left { + .curl-bottom-left(); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/license.txt b/src/main/resources/templates/themes/yummy/bower_components/hover/license.txt new file mode 100644 index 000000000..1562a4ee1 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/license.txt @@ -0,0 +1,42 @@ +# Licenses + +Hover.css is made available under a free personal/open source or paid commercial licenses depending on your requirements. To compare licenses please visit the [Ian Lunn Design Limited Store](https://ianlunn.co.uk/store/licenses/) and [purchase a commercial license here](https://ianlunn.co.uk/store/hover-css/). + +## Personal/Open Source + +For personal/open source use, Hover.css is made available under a [MIT license](https://opensource.org/licenses/MIT) + +- Use in unlimited personal applications +- Your application can't be sold +- Your modifications remain open-source +- Free updates + +[Read full license](https://ianlunn.co.uk/store/licenses/personal/) + +## Commercial + +For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses. + +### Commercial License + +- Use in 1 application +- Sell your application once only (e.g. a website sold to a client) +- Your code is kept proprietary, to yourself +- Free updates to the major version + +[Purchase](https://ianlunn.co.uk/store/hover-css/?attribute_pa_licenses=commercial) | [Read full license](https://ianlunn.co.uk/store/licenses/commercial/) + +### Extended Commercial License + +- Use in unlimited applications +- Sell your applications an unlimited number of times (e.g. a website template sold on a theme store)* +- Your code is kept proprietary, to yourself +- Free updates to the major version + +*With the exception of applications that allow end users to produce separate applications. See the OEM Commercial License. + +[Purchase](https://ianlunn.co.uk/store/hover-css/?attribute_pa_licenses=extended-commercial) | [Read full license](https://ianlunn.co.uk/store/licenses/extended-commercial/) + +### OEM Commercial License + +Should your application enable end users to produce separate applications that incorporate Ian Lunn Design Limited's software, for example, a development toolkit, library, or application builder, you must obtain an OEM Commercial License. Please [contact us](https://ianlunn.co.uk/contact/) for more information about the OEM Commercial License. diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/logo-transparent.png b/src/main/resources/templates/themes/yummy/bower_components/hover/logo-transparent.png new file mode 100644 index 000000000..7eecc296f Binary files /dev/null and b/src/main/resources/templates/themes/yummy/bower_components/hover/logo-transparent.png differ diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/modern-slide-in.png b/src/main/resources/templates/themes/yummy/bower_components/hover/modern-slide-in.png new file mode 100644 index 000000000..76fe69efa Binary files /dev/null and b/src/main/resources/templates/themes/yummy/bower_components/hover/modern-slide-in.png differ diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/package.json b/src/main/resources/templates/themes/yummy/bower_components/hover/package.json new file mode 100644 index 000000000..f5a0fd517 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/package.json @@ -0,0 +1,25 @@ +{ + "name": "hover.css", + "author": "Ian Lunn", + "version": "2.3.1", + "repository": { + "type": "git", + "url": "https://github.com/IanLunn/Hover" + }, + "bugs": { + "url": "https://github.com/IanLunn/Hover/issues" + }, + "style": "css/hover.css", + "sass": "scss/hover.scss", + "main": "css/hover.css", + "devDependencies": { + "grunt": "~0.4.1", + "grunt-contrib-connect": "~0.5.0", + "grunt-contrib-cssmin": "~0.7.0", + "grunt-contrib-less": "^1.0.0", + "grunt-contrib-sass": "~0.6.0", + "grunt-contrib-watch": "~0.5.3", + "grunt-version": "^0.3.0", + "load-grunt-tasks": "~3.3.0" + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/photo-stack.png b/src/main/resources/templates/themes/yummy/bower_components/hover/photo-stack.png new file mode 100644 index 000000000..bdca98d64 Binary files /dev/null and b/src/main/resources/templates/themes/yummy/bower_components/hover/photo-stack.png differ diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_hacks.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_hacks.scss new file mode 100644 index 000000000..0e6c24320 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_hacks.scss @@ -0,0 +1,26 @@ +// As is often the case, some devices/browsers need additional code to get CSS to work +// in the most desired way. These mixins are used to quickly drop in hacks for each element +// Find out more here: https://github.com/IanLunn/Hover/wiki/Hacks-Explained + +@mixin hardwareAccel() { + // Improve performance on mobile/tablet devices + // Perspective reduces blurryness of text in Chrome + @include prefixed(transform, perspective(1px) translateZ(0)); +} + +@mixin improveAntiAlias() { + // Improve aliasing on mobile/tablet devices + box-shadow: 0 0 1px rgba(0, 0, 0, 0); +} + +@mixin forceBlockLevel() { + // Transforms need to be block-level to work + display: inline-block; + vertical-align: middle; +} + +@mixin hacks() { + @include forceBlockLevel(); + @include hardwareAccel(); + @include improveAntiAlias(); +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_mixins.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_mixins.scss new file mode 100644 index 000000000..e99217822 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_mixins.scss @@ -0,0 +1,51 @@ +// prefix declarations +@mixin prefixed($property, $value) { + @if $webkit == true { + -webkit-#{$property}: #{$value}; + } + + @if $moz == true { + -moz-#{$property}: #{$value}; + } + + @if $ms == true { + -ms-#{$property}: #{$value}; + } + + @if $o == true { + -o-#{$property}: #{$value}; + } + + #{$property}: #{$value}; +} + +// prefix keyframes +@mixin keyframes($name) { + @if $webkit == true { + @-webkit-keyframes #{$name} { + @content; + } + } + + @if $moz == true { + @-moz-keyframes #{$name} { + @content; + } + } + + @if $ms == true { + @-ms-keyframes #{$name} { + @content; + } + } + + @if $o == true { + @-o-keyframes #{$name} { + @content; + } + } + + @keyframes #{$name} { + @content; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_options.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_options.scss new file mode 100644 index 000000000..b5a92f6f8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/_options.scss @@ -0,0 +1,43 @@ +// DEFAULT OPTIONS + +// Prefix for Hover class names +$nameSpace: 'hvr' !default; + +// Durations +$fastDuration: .1s !default; +$mediumDuration: .3s !default; +$slowDuration: .5s !default; + +// Colors +$primaryColor: #e1e1e1 !default; +$secondaryColor: #666 !default; +$highlightColor: #ccc !default; +$activeColor: #2098D1 !default; +$shadowColor: rgba(0, 0, 0, .6) !default; + +// Speech bubbles options +$tipWidth: 10px !default; //the width of the speech bubble tip +$tipHeight: 10px !default; //the height of the speech bubble tip +$tipColor: $primaryColor !default; + +// Arrows options +$spaceBetweenTextAndArrows: 2.2em !default; + +// Curl dimensions +$curlWidth: 25px !default; +$curlHeight: 25px !default; + +// Curl colors +$revealAreaColor: white !default; // reveal area behind the curl +$curlLineColor: #aaa !default; // crease line +$curlTransitionColor: #ccc !default; // color transitioning from crease line to final color +$curlLastColor: white !default; // final color of the back of the curl + +// Browser Prefixes - Which CSS prefixes should be used? +$webkit: true !default; +$moz: false !default; +$ms: false !default; +$o: false !default; + +// Compile with or without classes +$includeClasses: true !default; diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_backward.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_backward.scss new file mode 100644 index 000000000..97d0ce1f8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_backward.scss @@ -0,0 +1,12 @@ +/* Backward */ +@mixin backward { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateX(-8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bob.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bob.scss new file mode 100644 index 000000000..a5307f19a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bob.scss @@ -0,0 +1,34 @@ +/* Bob */ +@include keyframes(#{$nameSpace}-bob) { + 0% { + @include prefixed(transform, translateY(-8px)); + } + 50% { + @include prefixed(transform, translateY(-4px)); + } + 100% { + @include prefixed(transform, translateY(-8px)); + } +} + +@include keyframes(#{$nameSpace}-bob-float) { + 100% { + @include prefixed(transform, translateY(-8px)); + } +} + +@mixin bob { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, "#{$nameSpace}-bob-float, #{$nameSpace}-bob"); + @include prefixed(animation-duration, ".3s, 1.5s"); + @include prefixed(animation-delay, "0s, .3s"); + @include prefixed(animation-timing-function, "ease-out, ease-in-out"); + @include prefixed(animation-iteration-count, "1, infinite"); + @include prefixed(animation-fill-mode, "forwards"); + @include prefixed(animation-direction, "normal, alternate"); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bounce-in.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bounce-in.scss new file mode 100644 index 000000000..797ac6342 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bounce-in.scss @@ -0,0 +1,12 @@ +/* Bounce In */ +@mixin bounce-in { + @include hacks(); + @include prefixed(transition-duration, $slowDuration); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, scale(1.2)); + @include prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bounce-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bounce-out.scss new file mode 100644 index 000000000..7132fae0b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_bounce-out.scss @@ -0,0 +1,12 @@ +/* Bounce Out */ +@mixin bounce-out { + @include hacks(); + @include prefixed(transition-duration, $slowDuration); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, scale(.8)); + @include prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_buzz-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_buzz-out.scss new file mode 100644 index 000000000..0ff20f337 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_buzz-out.scss @@ -0,0 +1,55 @@ +/* Buzz Out */ +@include keyframes(#{$nameSpace}-buzz-out) { + 10% { + @include prefixed(transform, translateX(3px) rotate(2deg)); + } + + 20% { + @include prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 30% { + @include prefixed(transform, translateX(3px) rotate(2deg)); + } + + 40% { + @include prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 50% { + @include prefixed(transform, translateX(2px) rotate(1deg)); + } + + 60% { + @include prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 70% { + @include prefixed(transform, translateX(2px) rotate(1deg)); + } + + 80% { + @include prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 90% { + @include prefixed(transform, translateX(1px) rotate(0)); + } + + 100% { + @include prefixed(transform, translateX(-1px) rotate(0)); + } +} + +@mixin buzz-out { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-buzz-out); + @include prefixed(animation-duration, .75s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_buzz.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_buzz.scss new file mode 100644 index 000000000..6beac3c36 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_buzz.scss @@ -0,0 +1,23 @@ +/* Buzz */ +@include keyframes(#{$nameSpace}-buzz) { + 50% { + @include prefixed(transform, translateX(3px) rotate(2deg)); + } + + 100% { + @include prefixed(transform, translateX(-3px) rotate(-2deg)); + } +} + +@mixin buzz { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-buzz); + @include prefixed(animation-duration, .15s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_float.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_float.scss new file mode 100644 index 000000000..5ff0eef5f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_float.scss @@ -0,0 +1,13 @@ +/* Float */ +@mixin float { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateY(-8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_forward.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_forward.scss new file mode 100644 index 000000000..3f1713d05 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_forward.scss @@ -0,0 +1,12 @@ +/* Forward */ +@mixin forward { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateX(8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_grow-rotate.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_grow-rotate.scss new file mode 100644 index 000000000..1826a7626 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_grow-rotate.scss @@ -0,0 +1,12 @@ +/* Grow Rotate */ +@mixin grow-rotate { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, scale(1.1) rotate(4deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_grow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_grow.scss new file mode 100644 index 000000000..3c81ae94d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_grow.scss @@ -0,0 +1,12 @@ +/* Grow */ +@mixin grow { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, scale(1.1)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_hang.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_hang.scss new file mode 100644 index 000000000..277cc60c0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_hang.scss @@ -0,0 +1,34 @@ +/* Hang */ +@include keyframes(#{$nameSpace}-hang) { + 0% { + @include prefixed(transform, translateY(8px)); + } + 50% { + @include prefixed(transform, translateY(4px)); + } + 100% { + @include prefixed(transform, translateY(8px)); + } +} + +@include keyframes(#{$nameSpace}-hang-sink) { + 100% { + @include prefixed(transform, translateY(8px)); + } +} + +@mixin hang { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, "#{$nameSpace}-hang-sink, #{$nameSpace}-hang"); + @include prefixed(animation-duration, ".3s, 1.5s"); + @include prefixed(animation-delay, "0s, .3s"); + @include prefixed(animation-timing-function, "ease-out, ease-in-out"); + @include prefixed(animation-iteration-count, "1, infinite"); + @include prefixed(animation-fill-mode, "forwards"); + @include prefixed(animation-direction, "normal, alternate"); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pop.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pop.scss new file mode 100644 index 000000000..88f1bb8bc --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pop.scss @@ -0,0 +1,19 @@ +/* Pop */ +@include keyframes(#{$nameSpace}-pop) { + 50% { + @include prefixed(transform, scale(1.2)); + } +} + +@mixin pop { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-pop); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse-grow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse-grow.scss new file mode 100644 index 000000000..a47c44a94 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse-grow.scss @@ -0,0 +1,20 @@ +/* Pulse Grow */ +@include keyframes(#{$nameSpace}-pulse-grow) { + to { + @include prefixed(transform, scale(1.1)); + } +} + +@mixin pulse-grow { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-pulse-grow); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + @include prefixed(animation-direction, alternate); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse-shrink.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse-shrink.scss new file mode 100644 index 000000000..25b444690 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse-shrink.scss @@ -0,0 +1,20 @@ +/* Pulse Shrink */ +@include keyframes(#{$nameSpace}-pulse-shrink) { + to { + @include prefixed(transform, scale(.9)); + } +} + +@mixin pulse-shrink { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-pulse-shrink); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + @include prefixed(animation-direction, alternate); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse.scss new file mode 100644 index 000000000..814fdea2e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_pulse.scss @@ -0,0 +1,23 @@ +/* Pulse */ +@include keyframes(#{$nameSpace}-pulse) { + 25% { + @include prefixed(transform, scale(1.1)); + } + + 75% { + @include prefixed(transform, scale(.9)); + } +} + +@mixin pulse { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-pulse); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_push.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_push.scss new file mode 100644 index 000000000..5e72b0f7a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_push.scss @@ -0,0 +1,23 @@ +/* Push */ +@include keyframes(#{$nameSpace}-push) { + 50% { + @include prefixed(transform, scale(.8)); + } + + 100% { + @include prefixed(transform, scale(1)); + } +} + +@mixin push { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-push); + @include prefixed(animation-duration, .3s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_rotate.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_rotate.scss new file mode 100644 index 000000000..d7dece20c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_rotate.scss @@ -0,0 +1,12 @@ +/* Rotate */ +@mixin rotate { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, rotate(4deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_shrink.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_shrink.scss new file mode 100644 index 000000000..9344c448a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_shrink.scss @@ -0,0 +1,12 @@ +/* Shrink */ +@mixin shrink { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, scale(.9)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_sink.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_sink.scss new file mode 100644 index 000000000..1242baeed --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_sink.scss @@ -0,0 +1,13 @@ +/* Sink */ +@mixin sink { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateY(8px)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew-backward.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew-backward.scss new file mode 100644 index 000000000..d5b983fa9 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew-backward.scss @@ -0,0 +1,13 @@ +/* Skew Backward */ +@mixin skew-backward { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transform-origin, 0 100%); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, skew(10deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew-forward.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew-forward.scss new file mode 100644 index 000000000..8faf7edb7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew-forward.scss @@ -0,0 +1,13 @@ +/* Skew Forward */ +@mixin skew-forward { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transform-origin, 0 100%); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, skew(-10deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew.scss new file mode 100644 index 000000000..1e8818f2e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_skew.scss @@ -0,0 +1,12 @@ +/* Skew */ +@mixin skew { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:hover, + &:focus, + &:active { + @include prefixed(transform, skew(-10deg)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-bottom.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-bottom.scss new file mode 100644 index 000000000..be2818b98 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-bottom.scss @@ -0,0 +1,40 @@ +/* Wobble Bottom */ +@include keyframes(#{$nameSpace}-wobble-bottom) { + 16.65% { + @include prefixed(transform, skew(-12deg)); + } + + 33.3% { + @include prefixed(transform, skew(10deg)); + } + + 49.95% { + @include prefixed(transform, skew(-6deg)); + } + + 66.6% { + @include prefixed(transform, skew(4deg)); + } + + 83.25% { + @include prefixed(transform, skew(-2deg)); + } + + 100% { + @include prefixed(transform, skew(0)); + } +} + +@mixin wobble-bottom { + @include hacks(); + @include prefixed(transform-origin, 100% 0); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-bottom); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-horizontal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-horizontal.scss new file mode 100644 index 000000000..c57404a16 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-horizontal.scss @@ -0,0 +1,39 @@ +/* Wobble Horizontal */ +@include keyframes(#{$nameSpace}-wobble-horizontal) { + 16.65% { + @include prefixed(transform, translateX(8px)); + } + + 33.3% { + @include prefixed(transform, translateX(-6px)); + } + + 49.95% { + @include prefixed(transform, translateX(4px)); + } + + 66.6% { + @include prefixed(transform, translateX(-2px)); + } + + 83.25% { + @include prefixed(transform, translateX(1px)); + } + + 100% { + @include prefixed(transform, translateX(0)); + } +} + +@mixin wobble-horizontal { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-horizontal); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-skew.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-skew.scss new file mode 100644 index 000000000..4355e7b03 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-skew.scss @@ -0,0 +1,39 @@ +/* Wobble Skew */ +@include keyframes(#{$nameSpace}-wobble-skew) { + 16.65% { + @include prefixed(transform, skew(-12deg)); + } + + 33.3% { + @include prefixed(transform, skew(10deg)); + } + + 49.95% { + @include prefixed(transform, skew(-6deg)); + } + + 66.6% { + @include prefixed(transform, skew(4deg)); + } + + 83.25% { + @include prefixed(transform, skew(-2deg)); + } + + 100% { + @include prefixed(transform, skew(0)); + } +} + +@mixin wobble-skew { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-skew); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-to-bottom-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-to-bottom-right.scss new file mode 100644 index 000000000..f1df22a55 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-to-bottom-right.scss @@ -0,0 +1,39 @@ +/* Wobble To Bottom Right */ +@include keyframes(#{$nameSpace}-wobble-to-bottom-right) { + 16.65% { + @include prefixed(transform, translate(8px, 8px)); + } + + 33.3% { + @include prefixed(transform, translate(-6px, -6px)); + } + + 49.95% { + @include prefixed(transform, translate(4px, 4px)); + } + + 66.6% { + @include prefixed(transform, translate(-2px, -2px)); + } + + 83.25% { + @include prefixed(transform, translate(1px, 1px)); + } + + 100% { + @include prefixed(transform, translate(0, 0)); + } +} + +@mixin wobble-to-bottom-right { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-to-bottom-right); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-to-top-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-to-top-right.scss new file mode 100644 index 000000000..56247c88c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-to-top-right.scss @@ -0,0 +1,39 @@ +/* Wobble To Top Right */ +@include keyframes(#{$nameSpace}-wobble-to-top-right) { + 16.65% { + @include prefixed(transform, translate(8px, -8px)); + } + + 33.3% { + @include prefixed(transform, translate(-6px, 6px)); + } + + 49.95% { + @include prefixed(transform, translate(4px, -4px)); + } + + 66.6% { + @include prefixed(transform, translate(-2px, 2px)); + } + + 83.25% { + @include prefixed(transform, translate(1px, -1px)); + } + + 100% { + @include prefixed(transform, translate(0, 0)); + } +} + +@mixin wobble-to-top-right { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-to-top-right); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-top.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-top.scss new file mode 100644 index 000000000..76038425f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-top.scss @@ -0,0 +1,40 @@ +/* Wobble Top */ +@include keyframes(#{$nameSpace}-wobble-top) { + 16.65% { + @include prefixed(transform, skew(-12deg)); + } + + 33.3% { + @include prefixed(transform, skew(10deg)); + } + + 49.95% { + @include prefixed(transform, skew(-6deg)); + } + + 66.6% { + @include prefixed(transform, skew(4deg)); + } + + 83.25% { + @include prefixed(transform, skew(-2deg)); + } + + 100% { + @include prefixed(transform, skew(0)); + } +} + +@mixin wobble-top { + @include hacks(); + @include prefixed(transform-origin, 0 100%); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-top); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-vertical.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-vertical.scss new file mode 100644 index 000000000..fd28eb744 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/2d-transitions/_wobble-vertical.scss @@ -0,0 +1,39 @@ +/* Wobble Vertical */ +@include keyframes(#{$nameSpace}-wobble-vertical) { + 16.65% { + @include prefixed(transform, translateY(8px)); + } + + 33.3% { + @include prefixed(transform, translateY(-6px)); + } + + 49.95% { + @include prefixed(transform, translateY(4px)); + } + + 66.6% { + @include prefixed(transform, translateY(-2px)); + } + + 83.25% { + @include prefixed(transform, translateY(1px)); + } + + 100% { + @include prefixed(transform, translateY(0)); + } +} + +@mixin wobble-vertical { + @include hacks(); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-wobble-vertical); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_back-pulse.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_back-pulse.scss new file mode 100644 index 000000000..fa2afb8ea --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_back-pulse.scss @@ -0,0 +1,26 @@ +/* Back Pulse */ +@include keyframes(#{$nameSpace}-back-pulse) { + 50% { + background-color: rgba(32, 152, 209, .75); + } +} + +@mixin back-pulse { + @include hacks(); + overflow: hidden; + @include prefixed(transition-duration, $slowDuration); + @include prefixed(transition-property, "color, background-color"); + + &:hover, + &:focus, + &:active { + @include prefixed(animation-name, #{$nameSpace}-back-pulse); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-delay, $slowDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + background-color: $activeColor; + background-color: rgba(32, 152, 209, 1); + color: white; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-bottom.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-bottom.scss new file mode 100644 index 000000000..d0770a55c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-bottom.scss @@ -0,0 +1,34 @@ +/* Bounce To Bottom */ +@mixin bounce-to-bottom { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleY(0)); + @include prefixed(transform-origin, 50% 0); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $slowDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleY(1)); + @include prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-left.scss new file mode 100644 index 000000000..b2a5f11dd --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-left.scss @@ -0,0 +1,34 @@ +/* Bounce To Left */ +@mixin bounce-to-left { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleX(0)); + @include prefixed(transform-origin, 100% 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $slowDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleX(1)); + @include prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-right.scss new file mode 100644 index 000000000..f9ef6b10d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-right.scss @@ -0,0 +1,34 @@ +/* Bounce To Right */ +@mixin bounce-to-right { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleX(0)); + @include prefixed(transform-origin, 0 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $slowDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleX(1)); + @include prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-top.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-top.scss new file mode 100644 index 000000000..cd1e0cf4f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_bounce-to-top.scss @@ -0,0 +1,34 @@ +/* Bounce To Top */ +@mixin bounce-to-top { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $slowDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleY(0)); + @include prefixed(transform-origin, 50% 100%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $slowDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleY(1)); + @include prefixed(transition-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_fade.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_fade.scss new file mode 100644 index 000000000..4baf1a515 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_fade.scss @@ -0,0 +1,14 @@ +/* Fade */ +@mixin fade { + @include hacks(); + overflow: hidden; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "color, background-color"); + + &:hover, + &:focus, + &:active { + background-color: $activeColor; + color: white; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_radial-in.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_radial-in.scss new file mode 100644 index 000000000..60d13bc7b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_radial-in.scss @@ -0,0 +1,35 @@ +/* Radial In */ +@mixin radial-in { + @include hacks(); + position: relative; + overflow: hidden; + background: $activeColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $primaryColor; + border-radius: 100%; + @include prefixed(transform, scale(2)); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scale(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_radial-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_radial-out.scss new file mode 100644 index 000000000..3ca417365 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_radial-out.scss @@ -0,0 +1,35 @@ +/* Radial Out */ +@mixin radial-out { + @include hacks(); + position: relative; + overflow: hidden; + background: $primaryColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + border-radius: 100%; + @include prefixed(transform, scale(0)); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scale(2)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_rectangle-in.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_rectangle-in.scss new file mode 100644 index 000000000..d576d7533 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_rectangle-in.scss @@ -0,0 +1,33 @@ +/* Rectangle In */ +@mixin rectangle-in { + @include hacks(); + position: relative; + background: $activeColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $primaryColor; + @include prefixed(transform, scale(1)); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scale(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_rectangle-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_rectangle-out.scss new file mode 100644 index 000000000..10cc440a9 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_rectangle-out.scss @@ -0,0 +1,33 @@ +/* Rectangle Out */ +@mixin rectangle-out { + @include hacks(); + position: relative; + background: $primaryColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scale(0)); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scale(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-in-horizontal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-in-horizontal.scss new file mode 100644 index 000000000..67a153083 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-in-horizontal.scss @@ -0,0 +1,34 @@ +/* Shutter In Horizontal */ +@mixin shutter-in-horizontal { + @include hacks(); + position: relative; + background: $activeColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: $primaryColor; + @include prefixed(transform, scaleX(1)); + @include prefixed(transform-origin, 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleX(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-in-vertical.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-in-vertical.scss new file mode 100644 index 000000000..014cf8950 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-in-vertical.scss @@ -0,0 +1,34 @@ +/* Shutter In Vertical */ +@mixin shutter-in-vertical { + @include hacks(); + position: relative; + background: $activeColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: $primaryColor; + @include prefixed(transform, scaleY(1)); + @include prefixed(transform-origin, 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleY(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-out-horizontal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-out-horizontal.scss new file mode 100644 index 000000000..632e63b90 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-out-horizontal.scss @@ -0,0 +1,34 @@ +/* Shutter Out Horizontal */ +@mixin shutter-out-horizontal { + @include hacks(); + position: relative; + background: $primaryColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: $activeColor; + @include prefixed(transform, scaleX(0)); + @include prefixed(transform-origin, 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleX(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-out-vertical.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-out-vertical.scss new file mode 100644 index 000000000..ffb320827 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_shutter-out-vertical.scss @@ -0,0 +1,34 @@ +/* Shutter Out Vertical */ +@mixin shutter-out-vertical { + @include hacks(); + position: relative; + background: $primaryColor; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: $activeColor; + @include prefixed(transform, scaleY(0)); + @include prefixed(transform-origin, 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleY(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-bottom.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-bottom.scss new file mode 100644 index 000000000..ec3c79709 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-bottom.scss @@ -0,0 +1,33 @@ +/* Sweep To Bottom */ +@mixin sweep-to-bottom { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleY(0)); + @include prefixed(transform-origin, 50% 0); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleY(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-left.scss new file mode 100644 index 000000000..af5923fca --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-left.scss @@ -0,0 +1,33 @@ +/* Sweep To Left */ +@mixin sweep-to-left { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleX(0)); + @include prefixed(transform-origin, 100% 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleX(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-right.scss new file mode 100644 index 000000000..9bf5ed5fb --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-right.scss @@ -0,0 +1,33 @@ +/* Sweep To Right */ +@mixin sweep-to-right { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleX(0)); + @include prefixed(transform-origin, 0 50%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleX(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-top.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-top.scss new file mode 100644 index 000000000..e4ecc2f2b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/background-transitions/_sweep-to-top.scss @@ -0,0 +1,33 @@ +/* Sweep To Top */ +@mixin sweep-to-top { + @include hacks(); + position: relative; + @include prefixed(transition-property, color); + @include prefixed(transition-duration, $mediumDuration); + + &:before { + content: ""; + position: absolute; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + @include prefixed(transform, scaleY(0)); + @include prefixed(transform-origin, 50% 100%); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + color: white; + + &:before { + @include prefixed(transform, scaleY(1)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_border-fade.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_border-fade.scss new file mode 100644 index 000000000..1d06c28d7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_border-fade.scss @@ -0,0 +1,19 @@ +/* Border Fade */ +@mixin border-fade { + $borderWidth: 4px; + + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, box-shadow); + box-shadow: + inset 0 0 0 $borderWidth $primaryColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + + &:hover, + &:focus, + &:active { + box-shadow: + inset 0 0 0 $borderWidth $activeColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_hollow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_hollow.scss new file mode 100644 index 000000000..ea70c8199 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_hollow.scss @@ -0,0 +1,17 @@ +/* Hollow */ +@mixin hollow { + $borderWidth: 4px; + + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, background); + box-shadow: + inset 0 0 0 $borderWidth $primaryColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + + &:hover, + &:focus, + &:active { + background: none; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_outline-in.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_outline-in.scss new file mode 100644 index 000000000..71fa4974e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_outline-in.scss @@ -0,0 +1,32 @@ +/* Outline In */ +@mixin outline-in { + $outerBorderWidth: 4px; + $innerBorderWidth: 4px; + + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + content: ''; + position: absolute; + border: $primaryColor solid $outerBorderWidth; + top: -($outerBorderWidth + $innerBorderWidth) * 2; + right: -($outerBorderWidth + $innerBorderWidth) * 2; + bottom: -($outerBorderWidth + $innerBorderWidth) * 2; + left: -($outerBorderWidth + $innerBorderWidth) * 2; + opacity: 0; + @include prefixed(transition-duration, .3s); + @include prefixed(transition-property, "top, right, bottom, left"); + } + + &:hover:before, + &:focus:before, + &:active:before { + top: -($outerBorderWidth + $innerBorderWidth); + right: -($outerBorderWidth + $innerBorderWidth); + bottom: -($outerBorderWidth + $innerBorderWidth); + left: -($outerBorderWidth + $innerBorderWidth); + opacity: 1; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_outline-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_outline-out.scss new file mode 100644 index 000000000..73ca8891e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_outline-out.scss @@ -0,0 +1,29 @@ +/* Outline Out */ +@mixin outline-out { + $outerBorderWidth: 4px; + $innerBorderWidth: 4px; + + @include hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: $primaryColor solid $outerBorderWidth; + top: 0; + right: 0; + bottom: 0; + left: 0; + @include prefixed(transition-duration, .3s); + @include prefixed(transition-property, "top, right, bottom, left"); + } + + &:hover:before, + &:focus:before, + &:active:before { + top: -($outerBorderWidth + $innerBorderWidth); + right: -($outerBorderWidth + $innerBorderWidth); + bottom: -($outerBorderWidth + $innerBorderWidth); + left: -($outerBorderWidth + $innerBorderWidth); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-center.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-center.scss new file mode 100644 index 000000000..278f90673 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-center.scss @@ -0,0 +1,32 @@ +/* Overline From Center */ +@mixin overline-from-center { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 51%; + right: 51%; + top: 0; + background: $activeColor; + height: 4px; + @include prefixed(transition-property, "left, right"); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-left.scss new file mode 100644 index 000000000..644a99369 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-left.scss @@ -0,0 +1,31 @@ +/* Overline From Left */ +@mixin overline-from-left { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 100%; + top: 0; + background: $activeColor; + height: 4px; + @include prefixed(transition-property, "right"); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-right.scss new file mode 100644 index 000000000..88ff3c646 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-from-right.scss @@ -0,0 +1,31 @@ +/* Overline From Right */ +@mixin overline-from-right { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 100%; + right: 0; + top: 0; + background: $activeColor; + height: 4px; + @include prefixed(transition-property, "left"); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-reveal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-reveal.scss new file mode 100644 index 000000000..868396a32 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_overline-reveal.scss @@ -0,0 +1,32 @@ +/* Overline Reveal */ +@mixin overline-reveal { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 0; + top: 0; + background: $activeColor; + height: 4px; + @include prefixed(transform, translateY(-4px)); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + @include prefixed(transform, translateY(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_reveal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_reveal.scss new file mode 100644 index 000000000..d0c2ddbe7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_reveal.scss @@ -0,0 +1,34 @@ +/* Reveal */ +@mixin reveal { + $duration: #{$fastDuration}; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 0; + top: 0; + bottom: 0; + border-color: #{$activeColor}; + border-style: solid; + border-width: 0; + @include prefixed(transition-property, border-width); + @include prefixed(transition-duration, #{$duration}); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + @include prefixed(transform, translateY(0)); + border-width: 4px; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_ripple-in.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_ripple-in.scss new file mode 100644 index 000000000..2f7f94d1a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_ripple-in.scss @@ -0,0 +1,36 @@ +/* Ripple In */ +@include keyframes(#{$nameSpace}-ripple-in) { + 100% { + top: 0; + right: 0; + bottom: 0; + left: 0; + opacity: 1; + } +} + +@mixin ripple-in { + $outerBorderWidth: 4px; + $innerBorderWidth: 4px; + + @include hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: $primaryColor solid $outerBorderWidth; + top: -(6px + 6px); + right: -(6px + 6px); + bottom: -(6px + 6px); + left: -(6px + 6px); + opacity: 0; + @include prefixed(animation-duration, 1s); + } + + &:hover:before, + &:focus:before, + &:active:before { + @include prefixed(animation-name, #{$nameSpace}-ripple-in); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_ripple-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_ripple-out.scss new file mode 100644 index 000000000..4d9fabc4c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_ripple-out.scss @@ -0,0 +1,35 @@ +/* Ripple Out */ +@include keyframes(#{$nameSpace}-ripple-out) { + 100% { + top: -(6px + 6px); + right: -(6px + 6px); + bottom: -(6px + 6px); + left: -(6px + 6px); + opacity: 0; + } +} + +@mixin ripple-out { + $outerBorderWidth: 6px; + $innerBorderWidth: 6px; + + @include hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: $primaryColor solid $outerBorderWidth; + top: 0; + right: 0; + bottom: 0; + left: 0; + @include prefixed(animation-duration, 1s); + } + + &:hover:before, + &:focus:before, + &:active:before { + @include prefixed(animation-name, #{$nameSpace}-ripple-out); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_round-corners.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_round-corners.scss new file mode 100644 index 000000000..c34cdc262 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_round-corners.scss @@ -0,0 +1,12 @@ +/* Round Corners */ +@mixin round-corners { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, border-radius); + + &:hover, + &:focus, + &:active { + border-radius: 1em; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_trim.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_trim.scss new file mode 100644 index 000000000..1e8e2d6d4 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_trim.scss @@ -0,0 +1,27 @@ +/* Trim */ +@mixin trim { + $outerBorderWidth: 4px; + $innerBorderWidth: 4px; + + @include hacks(); + position: relative; + + &:before { + content: ''; + position: absolute; + border: white solid $innerBorderWidth; + top: $outerBorderWidth; + left: $outerBorderWidth; + right: $outerBorderWidth; + bottom: $outerBorderWidth; + opacity: 0; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, opacity); + } + + &:hover:before, + &:focus:before, + &:active:before { + opacity: 1; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-center.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-center.scss new file mode 100644 index 000000000..d7d6274a2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-center.scss @@ -0,0 +1,32 @@ +/* Underline From Center */ +@mixin underline-from-center { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 51%; + right: 51%; + bottom: 0; + background: $activeColor; + height: 4px; + @include prefixed(transition-property, "left, right"); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-left.scss new file mode 100644 index 000000000..a2b9cac2c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-left.scss @@ -0,0 +1,31 @@ +/* Underline From Left */ +@mixin underline-from-left { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 100%; + bottom: 0; + background: $activeColor; + height: 4px; + @include prefixed(transition-property, "right"); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + right: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-right.scss new file mode 100644 index 000000000..f3957ce44 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-from-right.scss @@ -0,0 +1,31 @@ +/* Underline From Right */ +@mixin underline-from-right { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 100%; + right: 0; + bottom: 0; + background: $activeColor; + height: 4px; + @include prefixed(transition-property, "left"); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + left: 0; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-reveal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-reveal.scss new file mode 100644 index 000000000..986b79364 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/border-transitions/_underline-reveal.scss @@ -0,0 +1,32 @@ +/* Underline Reveal */ +@mixin underline-reveal { + $duration: $mediumDuration; + + @include hacks(); + position: relative; + overflow: hidden; + + &:before { + content: ""; + position: absolute; + z-index: -1; + left: 0; + right: 0; + bottom: 0; + background: $activeColor; + height: 4px; + @include prefixed(transform, translateY(4px)); + @include prefixed(transition-property, transform); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + &:before { + @include prefixed(transform, translateY(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-bottom-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-bottom-left.scss new file mode 100644 index 000000000..4963d307a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-bottom-left.scss @@ -0,0 +1,33 @@ +/* Curl Bottom Left */ +@mixin curl-bottom-left { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + bottom: 0; + left: 0; + background: $revealAreaColor; /* IE9 */ + background: linear-gradient( + 45deg, + $revealAreaColor 45%, + $curlLineColor 50%, + $curlTransitionColor 56%, + $curlLastColor 80% + ); + box-shadow: 1px -1px 1px rgba(0, 0, 0, .4); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: $curlWidth; + height: $curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-bottom-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-bottom-right.scss new file mode 100644 index 000000000..197542fe2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-bottom-right.scss @@ -0,0 +1,33 @@ +/* Curl Bottom Right */ +@mixin curl-bottom-right { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + bottom: 0; + right: 0; + background: $revealAreaColor; /* IE9 */ + background: linear-gradient( + 315deg, + $revealAreaColor 45%, + $curlLineColor 50%, + $curlTransitionColor 56%, + $curlLastColor 80% + ); + box-shadow: -1px -1px 1px rgba(0, 0, 0, .4); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: $curlWidth; + height: $curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-top-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-top-left.scss new file mode 100644 index 000000000..462b6b57b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-top-left.scss @@ -0,0 +1,36 @@ +/* Curl Top Left */ +@mixin curl-top-left { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + top: 0; + left: 0; + background: $revealAreaColor; /* IE9 */ + background: linear-gradient( + 135deg, + $revealAreaColor 45%, + $curlLineColor 50%, + $curlTransitionColor 56%, + $curlLastColor 80% + ); + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ffffff', endColorstr='#000000');/*For IE7-8-9*/ + + z-index: 1000; + box-shadow: 1px 1px 1px rgba(0, 0, 0, .4); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: $curlWidth; + height: $curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-top-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-top-right.scss new file mode 100644 index 000000000..997265269 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/curls/_curl-top-right.scss @@ -0,0 +1,33 @@ +/* Curl Top Right */ +@mixin curl-top-right { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + content: ''; + height: 0; + width: 0; + top: 0; + right: 0; + background: $revealAreaColor; /* IE9 */ + background: linear-gradient( + 225deg, + $revealAreaColor 45%, + $curlLineColor 50%, + $curlTransitionColor 56%, + $curlLastColor 80% + ); + box-shadow: -1px 1px 1px rgba(0, 0, 0, .4); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "width, height"); + } + + &:hover:before, + &:focus:before, + &:active:before { + width: $curlWidth; + height: $curlHeight; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-back.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-back.scss new file mode 100644 index 000000000..c878d05c3 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-back.scss @@ -0,0 +1,21 @@ +/* Icon Back */ +@mixin icon-back { + @include hacks(); + @include prefixed(transition-duration, $fastDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $fastDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, translateX(-4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bob.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bob.scss new file mode 100644 index 000000000..2eb19613b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bob.scss @@ -0,0 +1,42 @@ +/* Icon Bob */ +@include keyframes(#{$nameSpace}-icon-bob) { + 0% { + @include prefixed(transform, translateY(-6px)); + } + 50% { + @include prefixed(transform, translateY(-2px)); + } + 100% { + @include prefixed(transform, translateY(-6px)); + } +} + +@include keyframes(#{$nameSpace}-icon-bob-float) { + 100% { + @include prefixed(transform, translateY(-6px)); + } +} + +@mixin icon-bob { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, "#{$nameSpace}-icon-bob-float, #{$nameSpace}-icon-bob"); + @include prefixed(animation-duration, ".3s, 1.5s"); + @include prefixed(animation-delay, "0s, .3s"); + @include prefixed(animation-timing-function, "ease-out, ease-in-out"); + @include prefixed(animation-iteration-count, "1, infinite"); + @include prefixed(animation-fill-mode, "forwards"); + @include prefixed(animation-direction, "normal, alternate"); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bounce-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bounce-out.scss new file mode 100644 index 000000000..f1880b28d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bounce-out.scss @@ -0,0 +1,28 @@ +/* Icon Bounce Out */ +@include keyframes(#{$nameSpace}-icon-bounce-out) { + 50% { + @include prefixed(transform, scale(1.5)); + } +} + +@mixin icon-bounce-out { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, scale(.9)); + @include prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bounce.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bounce.scss new file mode 100644 index 000000000..09953b00d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-bounce.scss @@ -0,0 +1,23 @@ +/* Icon Bounce */ + +@mixin icon-bounce { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, scale(1.5)); + @include prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-buzz-out.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-buzz-out.scss new file mode 100644 index 000000000..bd8b4e3e0 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-buzz-out.scss @@ -0,0 +1,63 @@ +/* Icon Buzz Out */ +@include keyframes(#{$nameSpace}-icon-buzz-out) { + 10% { + @include prefixed(transform, translateX(3px) rotate(2deg)); + } + + 20% { + @include prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 30% { + @include prefixed(transform, translateX(3px) rotate(2deg)); + } + + 40% { + @include prefixed(transform, translateX(-3px) rotate(-2deg)); + } + + 50% { + @include prefixed(transform, translateX(2px) rotate(1deg)); + } + + 60% { + @include prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 70% { + @include prefixed(transform, translateX(2px) rotate(1deg)); + } + + 80% { + @include prefixed(transform, translateX(-2px) rotate(-1deg)); + } + + 90% { + @include prefixed(transform, translateX(1px) rotate(0)); + } + + 100% { + @include prefixed(transform, translateX(-1px) rotate(0)); + } +} + +@mixin icon-buzz-out { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-buzz-out); + @include prefixed(animation-duration, .75s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-buzz.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-buzz.scss new file mode 100644 index 000000000..dcfb0b2c8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-buzz.scss @@ -0,0 +1,31 @@ +/* Icon Buzz */ +@include keyframes(#{$nameSpace}-icon-buzz) { + 50% { + @include prefixed(transform, translateX(3px) rotate(2deg)); + } + + 100% { + @include prefixed(transform, translateX(-3px) rotate(-2deg)); + } +} + +@mixin icon-buzz { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-buzz); + @include prefixed(animation-duration, .15s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-down.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-down.scss new file mode 100644 index 000000000..3e2244d48 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-down.scss @@ -0,0 +1,32 @@ +/* Icon Down */ +@include keyframes(#{$nameSpace}-icon-down) { + 0%, + 50%, + 100% { + @include prefixed(transform, translateY(0)); + } + 25%, + 75% { + @include prefixed(transform, translateY(6px)); + } +} + +/* Icon Down */ +@mixin icon-down { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-down); + @include prefixed(animation-duration, .75s); + @include prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-drop.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-drop.scss new file mode 100644 index 000000000..591d963f8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-drop.scss @@ -0,0 +1,42 @@ +/* Icon Drop */ +@include keyframes(#{$nameSpace}-icon-drop) { + 0% { + opacity: 0; + + } + + 50% { + opacity: 0; + @include prefixed(transform, translateY(-100%)); + } + + 51%, + 100% { + opacity: 1; + } +} + +/* Icon Drop */ +@mixin icon-drop { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + opacity: 0; + @include prefixed(transition-duration, #{$mediumDuration}); + @include prefixed(animation-name, #{$nameSpace}-icon-drop); + @include prefixed(animation-duration, #{$slowDuration}); + @include prefixed(animation-delay, #{$mediumDuration}); + @include prefixed(animation-fill-mode, forwards); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-timing-function, cubic-bezier(.52,1.64,.37,.66)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-fade.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-fade.scss new file mode 100644 index 000000000..310ae92bc --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-fade.scss @@ -0,0 +1,19 @@ +/* Icon Fade */ +@mixin icon-fade { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, .5s); + @include prefixed(transition-property, color); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + color: #0F9E5E; + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-float-away.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-float-away.scss new file mode 100644 index 000000000..2fc861180 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-float-away.scss @@ -0,0 +1,32 @@ +/* Icon Float Away */ +@include keyframes(#{$nameSpace}-icon-float-away) { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + @include prefixed(transform, translateY(-1em)); + } +} + +/* Icon Float Away */ +@mixin icon-float-away { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(animation-duration, #{$slowDuration}); + @include prefixed(animation-fill-mode, forwards); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-float-away); + @include prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-float.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-float.scss new file mode 100644 index 000000000..e8230c2ba --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-float.scss @@ -0,0 +1,21 @@ +/* Icon Float */ +@mixin icon-float { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, translateY(-4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-forward.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-forward.scss new file mode 100644 index 000000000..efe788424 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-forward.scss @@ -0,0 +1,21 @@ +/* Icon Forward */ +@mixin icon-forward { + @include hacks(); + @include prefixed(transition-duration, $fastDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $fastDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, translateX(4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-grow-rotate.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-grow-rotate.scss new file mode 100644 index 000000000..3ecd48074 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-grow-rotate.scss @@ -0,0 +1,23 @@ +/* Icon Grow Rotate */ +@mixin icon-grow-rotate { + $duration: $mediumDuration; + + @include hacks(); + @include prefixed(transition-duration, $duration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, scale(1.5) rotate(12deg)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-grow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-grow.scss new file mode 100644 index 000000000..883b3fa0c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-grow.scss @@ -0,0 +1,21 @@ +/* Icon Grow */ +@mixin icon-grow { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, scale(1.3) translateZ(0)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-hang.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-hang.scss new file mode 100644 index 000000000..de08ebfcf --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-hang.scss @@ -0,0 +1,42 @@ +/* Icon Hang */ +@include keyframes(#{$nameSpace}-icon-hang) { + 0% { + @include prefixed(transform, translateY(6px)); + } + 50% { + @include prefixed(transform, translateY(2px)); + } + 100% { + @include prefixed(transform, translateY(6px)); + } +} + +@include keyframes(#{$nameSpace}-icon-hang-sink) { + 100% { + @include prefixed(transform, translateY(6px)); + } +} + +@mixin icon-hang { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, "#{$nameSpace}-icon-hang-sink, #{$nameSpace}-icon-hang"); + @include prefixed(animation-duration, ".3s, 1.5s"); + @include prefixed(animation-delay, "0s, .3s"); + @include prefixed(animation-timing-function, "ease-out, ease-in-out"); + @include prefixed(animation-iteration-count, "1, infinite"); + @include prefixed(animation-fill-mode, "forwards"); + @include prefixed(animation-direction, "normal, alternate"); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pop.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pop.scss new file mode 100644 index 000000000..7a02a6c91 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pop.scss @@ -0,0 +1,30 @@ +/* Icon Pop */ +@include keyframes(#{$nameSpace}-icon-pop) { + 50% { + @include prefixed(transform, scale(1.5)); + } +} + +@mixin icon-pop { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-pop); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse-grow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse-grow.scss new file mode 100644 index 000000000..40014ce5a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse-grow.scss @@ -0,0 +1,28 @@ +/* Icon Pulse Grow */ +@include keyframes(#{$nameSpace}-icon-pulse-grow) { + to { + @include prefixed(transform, scale(1.3)); + } +} + +@mixin icon-pulse-grow { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-pulse-grow); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + @include prefixed(animation-direction, alternate); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse-shrink.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse-shrink.scss new file mode 100644 index 000000000..4f81cb7d8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse-shrink.scss @@ -0,0 +1,28 @@ +/* Icon Pulse Shrink */ +@include keyframes(#{$nameSpace}-icon-pulse-shrink) { + to { + @include prefixed(transform, scale(.8)); + } +} + +@mixin icon-pulse-shrink { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-pulse-shrink); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + @include prefixed(animation-direction, alternate); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse.scss new file mode 100644 index 000000000..9a4616cbf --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-pulse.scss @@ -0,0 +1,31 @@ +/* Icon Pulse */ +@include keyframes(#{$nameSpace}-icon-pulse) { + 25% { + @include prefixed(transform, scale(1.3)); + } + + 75% { + @include prefixed(transform, scale(.8)); + } +} + +@mixin icon-pulse { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-pulse); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, infinite); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-push.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-push.scss new file mode 100644 index 000000000..35432dc3e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-push.scss @@ -0,0 +1,30 @@ +/* Icon Push */ +@include keyframes(#{$nameSpace}-icon-push) { + 50% { + @include prefixed(transform, scale(.5)); + } +} + +@mixin icon-push { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-push); + @include prefixed(animation-duration, $mediumDuration); + @include prefixed(animation-timing-function, linear); + @include prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-rotate.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-rotate.scss new file mode 100644 index 000000000..d8da2a3d7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-rotate.scss @@ -0,0 +1,23 @@ +/* Icon Rotate */ +@mixin icon-rotate { + $duration: $mediumDuration; + + @include hacks(); + @include prefixed(transition-duration, $duration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $duration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, rotate(20deg)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-shrink.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-shrink.scss new file mode 100644 index 000000000..2d1d2edde --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-shrink.scss @@ -0,0 +1,21 @@ +/* Icon Shrink */ +@mixin icon-shrink { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, scale(.8)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-sink-away.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-sink-away.scss new file mode 100644 index 000000000..2a4c96cb3 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-sink-away.scss @@ -0,0 +1,32 @@ +/* Icon Sink Away */ +@include keyframes(#{$nameSpace}-icon-sink-away) { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + @include prefixed(transform, translateY(1em)); + } +} + +/* Icon Sink Away */ +@mixin icon-sink-away { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(animation-duration, #{$slowDuration}); + @include prefixed(animation-fill-mode, forwards); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-sink-away); + @include prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-sink.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-sink.scss new file mode 100644 index 000000000..f093ff7d9 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-sink.scss @@ -0,0 +1,21 @@ +/* Icon Sink */ +@mixin icon-sink { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, translateY(4px)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-spin.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-spin.scss new file mode 100644 index 000000000..935daf62c --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-spin.scss @@ -0,0 +1,19 @@ +/* Icon Spin */ +@mixin icon-spin { + @include hacks(); + + .hvr-icon { + @include prefixed(transition-duration, 1s); + @include prefixed(transition-property, transform); + @include prefixed(transition-timing-function, ease-in-out); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(transform, rotate(360deg)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-up.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-up.scss new file mode 100644 index 000000000..fc44c86a7 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-up.scss @@ -0,0 +1,32 @@ +/* Icon Up */ +@include keyframes(#{$nameSpace}-icon-up) { + 0%, + 50%, + 100% { + @include prefixed(transform, translateY(0)); + } + 25%, + 75% { + @include prefixed(transform, translateY(-6px)); + } +} + +/* Icon Up */ +@mixin icon-up { + @include hacks(); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-up); + @include prefixed(animation-duration, .75s); + @include prefixed(animation-timing-function, ease-out); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-wobble-horizontal.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-wobble-horizontal.scss new file mode 100644 index 000000000..6828baa44 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-wobble-horizontal.scss @@ -0,0 +1,47 @@ +/* Icon Wobble Horizontal */ +@include keyframes(#{$nameSpace}-icon-wobble-horizontal) { + 16.65% { + @include prefixed(transform, translateX(6px)); + } + + 33.3% { + @include prefixed(transform, translateX(-5px)); + } + + 49.95% { + @include prefixed(transform, translateX(4px)); + } + + 66.6% { + @include prefixed(transform, translateX(-2px)); + } + + 83.25% { + @include prefixed(transform, translateX(1px)); + } + + 100% { + @include prefixed(transform, translateX(0)); + } +} + +@mixin icon-wobble-horizontal { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-wobble-horizontal); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-wobble-vertical.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-wobble-vertical.scss new file mode 100644 index 000000000..3f638866b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/icons/_icon-wobble-vertical.scss @@ -0,0 +1,47 @@ +/* Icon Wobble Vertical */ +@include keyframes(#{$nameSpace}-icon-wobble-vertical) { + 16.65% { + @include prefixed(transform, translateY(6px)); + } + + 33.3% { + @include prefixed(transform, translateY(-5px)); + } + + 49.95% { + @include prefixed(transform, translateY(4px)); + } + + 66.6% { + @include prefixed(transform, translateY(-2px)); + } + + 83.25% { + @include prefixed(transform, translateY(1px)); + } + + 100% { + @include prefixed(transform, translateY(0)); + } +} + +@mixin icon-wobble-vertical { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + + .hvr-icon { + @include prefixed(transform, translateZ(0)); + } + + &:hover, + &:focus, + &:active { + + .hvr-icon { + @include prefixed(animation-name, #{$nameSpace}-icon-wobble-vertical); + @include prefixed(animation-duration, 1s); + @include prefixed(animation-timing-function, ease-in-out); + @include prefixed(animation-iteration-count, 1); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_box-shadow-inset.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_box-shadow-inset.scss new file mode 100644 index 000000000..3255244e1 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_box-shadow-inset.scss @@ -0,0 +1,16 @@ +/* Box Shadow Inset */ +@mixin box-shadow-inset { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, box-shadow); + + box-shadow: inset 0 0 0 $shadowColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + + &:hover, + &:focus, + &:active { + box-shadow: inset 2px 2px 2px $shadowColor, + 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_box-shadow-outset.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_box-shadow-outset.scss new file mode 100644 index 000000000..1ed5b9058 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_box-shadow-outset.scss @@ -0,0 +1,12 @@ +/* Box Shadow Outset */ +@mixin box-shadow-outset { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, box-shadow); + + &:hover, + &:focus, + &:active { + box-shadow: 2px 2px 2px $shadowColor; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_float-shadow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_float-shadow.scss new file mode 100644 index 000000000..fbde9a23f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_float-shadow.scss @@ -0,0 +1,34 @@ +/* Float Shadow */ +@mixin float-shadow { + @include hacks(); + position: relative; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + top: 100%; + left: 5%; + height: 10px; + width: 90%; + opacity: 0; + background: -webkit-radial-gradient(center, ellipse, rgba(0,0,0,.35) 0%, rgba(0, 0, 0, 0) 80%); + background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 80%); /* W3C */ + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "transform, opacity"); + } + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateY(-5px)); /* move the element up by 5px */ + + &:before { + opacity: 1; + @include prefixed(transform, translateY(5px)); /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */ + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_glow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_glow.scss new file mode 100644 index 000000000..519de8733 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_glow.scss @@ -0,0 +1,12 @@ +/* Glow */ +@mixin glow { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, box-shadow); + + &:hover, + &:focus, + &:active { + box-shadow: 0 0 8px $shadowColor; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_grow-shadow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_grow-shadow.scss new file mode 100644 index 000000000..7b0b7d7f8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_grow-shadow.scss @@ -0,0 +1,13 @@ +/* Grow Shadow */ +@mixin grow-shadow { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, "box-shadow, transform"); + + &:hover, + &:focus, + &:active { + box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5); + @include prefixed(transform, scale(1.1)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_shadow-radial.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_shadow-radial.scss new file mode 100644 index 000000000..8f35b5467 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_shadow-radial.scss @@ -0,0 +1,41 @@ +/* Shadow Radial */ +@mixin shadow-radial { + @include hacks(); + position: relative; + + &:before, + &:after { + pointer-events: none; + position: absolute; + content: ''; + left: 0; + width: 100%; + box-sizing: border-box; + background-repeat: no-repeat; + height: 5px; + opacity: 0; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, opacity); + } + + &:before { + bottom: 100%; + background: -webkit-radial-gradient(50% 150%, ellipse, $shadowColor 0%, rgba(0, 0, 0, 0) 80%); + background: radial-gradient(ellipse at 50% 150%, $shadowColor 0%, rgba(0, 0, 0, 0) 80%); + } + + &:after { + top: 100%; + background: -webkit-radial-gradient(50% -50%, ellipse, $shadowColor 0%, rgba(0, 0, 0, 0) 80%); + background: radial-gradient(ellipse at 50% -50%, $shadowColor 0%, rgba(0, 0, 0, 0) 80%); + } + + &:hover:before, + &:focus:before, + &:active:before, + &:hover:after, + &:focus:after, + &:active:after { + opacity: 1; + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_shadow.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_shadow.scss new file mode 100644 index 000000000..d4f4d16d2 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/shadow-and-glow-transitions/_shadow.scss @@ -0,0 +1,12 @@ +/* Shadow */ +@mixin shadow { + @include hacks(); + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, box-shadow); + + &:hover, + &:focus, + &:active { + box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-bottom.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-bottom.scss new file mode 100644 index 000000000..2a83cd722 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-bottom.scss @@ -0,0 +1,25 @@ +/* Bubble Bottom */ +@mixin bubble-bottom { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + left: calc(50% - #{$tipWidth}); + bottom: 0; + border-width: $tipHeight $tipWidth 0 $tipWidth; + border-color: $tipColor transparent transparent transparent; + } + + &:hover:before, + &:focus:before, + &:active:before { + @include prefixed(transform, translateY($tipHeight)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-bottom.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-bottom.scss new file mode 100644 index 000000000..1980e0546 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-bottom.scss @@ -0,0 +1,30 @@ +/* Bubble Float Bottom */ +@mixin bubble-float-bottom { + @include hacks(); + position: relative; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + content: ''; + left: calc(50% - #{$tipWidth}); + bottom: 0; + border-style: solid; + border-width: $tipHeight $tipWidth 0 $tipWidth; + border-color: $tipColor transparent transparent transparent; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateY(-($tipHeight))); + + &:before { + @include prefixed(transform, translateY($tipHeight)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-left.scss new file mode 100644 index 000000000..52dc889fe --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-left.scss @@ -0,0 +1,30 @@ +/* Bubble Float Left */ +@mixin bubble-float-left { + @include hacks(); + position: relative; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + content: ''; + top: calc(50% - #{$tipHeight}); + left: 0; + border-style: solid; + border-width: $tipHeight $tipWidth $tipHeight 0; + border-color: transparent $tipColor transparent transparent; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateX($tipWidth)); + + &:before { + @include prefixed(transform, translateX(-($tipWidth))); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-right.scss new file mode 100644 index 000000000..8e924b039 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-right.scss @@ -0,0 +1,30 @@ +/* Bubble Float Right */ +@mixin bubble-float-right { + @include hacks(); + position: relative; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + top: calc(50% - #{$tipHeight}); + right: 0; + content: ''; + border-style: solid; + border-width: $tipHeight 0 $tipHeight $tipWidth; + border-color: transparent transparent transparent $tipColor; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateX(-($tipWidth))); + + &:before { + @include prefixed(transform, translateX($tipWidth)); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-top.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-top.scss new file mode 100644 index 000000000..547e2fc33 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-float-top.scss @@ -0,0 +1,30 @@ +/* Bubble Float Top */ +@mixin bubble-float-top { + @include hacks(); + position: relative; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + + &:before { + position: absolute; + z-index: -1; + content: ''; + left: calc(50% - #{$tipWidth}); + top: 0; + border-style: solid; + border-width: 0 $tipWidth $tipHeight $tipWidth; + border-color: transparent transparent $tipColor transparent; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + } + + &:hover, + &:focus, + &:active { + @include prefixed(transform, translateY($tipHeight)); + + &:before { + @include prefixed(transform, translateY(-($tipHeight))); + } + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-left.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-left.scss new file mode 100644 index 000000000..a42498b17 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-left.scss @@ -0,0 +1,25 @@ +/* Bubble Left */ +@mixin bubble-left { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + top: calc(50% - #{$tipHeight}); + left: 0; + border-width: $tipHeight $tipWidth $tipHeight 0; + border-color: transparent $tipColor transparent transparent; + } + + &:hover:before, + &:focus:before, + &:active:before { + @include prefixed(transform, translateX(-($tipWidth))); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-right.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-right.scss new file mode 100644 index 000000000..e5c0a0798 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-right.scss @@ -0,0 +1,25 @@ +/* Bubble Right */ +@mixin bubble-right { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + top: calc(50% - #{$tipHeight}); + right: 0; + border-width: $tipHeight 0 $tipHeight $tipWidth; + border-color: transparent transparent transparent $tipColor; + } + + &:hover:before, + &:focus:before, + &:active:before { + @include prefixed(transform, translateX($tipWidth)); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-top.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-top.scss new file mode 100644 index 000000000..ca48ca53e --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/effects/speech-bubbles/_bubble-top.scss @@ -0,0 +1,25 @@ +/* Bubble Top */ +@mixin bubble-top { + @include hacks(); + position: relative; + + &:before { + pointer-events: none; + position: absolute; + z-index: -1; + content: ''; + border-style: solid; + @include prefixed(transition-duration, $mediumDuration); + @include prefixed(transition-property, transform); + left: calc(50% - #{$tipWidth}); + top: 0; + border-width: 0 $tipWidth $tipHeight $tipWidth; + border-color: transparent transparent $tipColor transparent; + } + + &:hover:before, + &:focus:before, + &:active:before { + @include prefixed(transform, translateY(-($tipHeight))); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/scss/hover.scss b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/hover.scss new file mode 100644 index 000000000..364c423c8 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/hover/scss/hover.scss @@ -0,0 +1,793 @@ +/*! + * Hover.css (http://ianlunn.github.io/Hover/) + * Version: 2.3.1 + * Author: Ian Lunn @IanLunn + * Author URL: http://ianlunn.co.uk/ + * Github: https://github.com/IanLunn/Hover + + * Hover.css Copyright Ian Lunn 2017. Generated with Sass. + */ + +@import "options"; +@import "mixins"; +@import "hacks"; + + +/* 2D TRANSITIONS */ +@import "effects/2d-transitions/grow"; +@if $includeClasses { + .#{$nameSpace}-grow { + @include grow(); + } +} + +@import "effects/2d-transitions/shrink"; +@if $includeClasses { + .#{$nameSpace}-shrink { + @include shrink(); + } +} + +@import "effects/2d-transitions/pulse"; +@if $includeClasses { + .#{$nameSpace}-pulse { + @include pulse(); + } +} + +@import "effects/2d-transitions/pulse-grow"; +@if $includeClasses { + .#{$nameSpace}-pulse-grow { + @include pulse-grow(); + } +} + +@import "effects/2d-transitions/pulse-shrink"; +@if $includeClasses { + .#{$nameSpace}-pulse-shrink { + @include pulse-shrink(); + } +} + +@import "effects/2d-transitions/push"; +@if $includeClasses { + .#{$nameSpace}-push { + @include push(); + } +} + +@import "effects/2d-transitions/pop"; +@if $includeClasses { + .#{$nameSpace}-pop { + @include pop(); + } +} + +@import "effects/2d-transitions/bounce-in"; +@if $includeClasses { + .#{$nameSpace}-bounce-in { + @include bounce-in(); + } +} + +@import "effects/2d-transitions/bounce-out"; +@if $includeClasses { + .#{$nameSpace}-bounce-out { + @include bounce-out(); + } +} + +@import "effects/2d-transitions/rotate"; +@if $includeClasses { + .#{$nameSpace}-rotate { + @include rotate(); + } +} + +@import "effects/2d-transitions/grow-rotate"; +@if $includeClasses { + .#{$nameSpace}-grow-rotate { + @include grow-rotate(); + } +} + +@import "effects/2d-transitions/float"; +@if $includeClasses { + .#{$nameSpace}-float { + @include float(); + } +} + +@import "effects/2d-transitions/sink"; +@if $includeClasses { + .#{$nameSpace}-sink { + @include sink(); + } +} + +@import "effects/2d-transitions/bob"; +@if $includeClasses { + .#{$nameSpace}-bob { + @include bob(); + } +} + +@import "effects/2d-transitions/hang"; +@if $includeClasses { + .#{$nameSpace}-hang { + @include hang(); + } +} + +@import "effects/2d-transitions/skew"; +@if $includeClasses { + .#{$nameSpace}-skew { + @include skew(); + } +} + +@import "effects/2d-transitions/skew-forward"; +@if $includeClasses { + .#{$nameSpace}-skew-forward { + @include skew-forward(); + } +} + +@import "effects/2d-transitions/skew-backward"; +@if $includeClasses { + .#{$nameSpace}-skew-backward { + @include skew-backward(); + } +} + +@import "effects/2d-transitions/wobble-vertical"; +@if $includeClasses { + .#{$nameSpace}-wobble-vertical { + @include wobble-vertical(); + } +} + +@import "effects/2d-transitions/wobble-horizontal"; +@if $includeClasses { + .#{$nameSpace}-wobble-horizontal { + @include wobble-horizontal(); + } +} + +@import "effects/2d-transitions/wobble-to-bottom-right"; +@if $includeClasses { + .#{$nameSpace}-wobble-to-bottom-right { + @include wobble-to-bottom-right(); + } +} + +@import "effects/2d-transitions/wobble-to-top-right"; +@if $includeClasses { + .#{$nameSpace}-wobble-to-top-right { + @include wobble-to-top-right(); + } +} + +@import "effects/2d-transitions/wobble-top"; +@if $includeClasses { + .#{$nameSpace}-wobble-top { + @include wobble-top(); + } +} + +@import "effects/2d-transitions/wobble-bottom"; +@if $includeClasses { + .#{$nameSpace}-wobble-bottom { + @include wobble-bottom(); + } +} + +@import "effects/2d-transitions/wobble-skew"; +@if $includeClasses { + .#{$nameSpace}-wobble-skew { + @include wobble-skew(); + } +} + +@import "effects/2d-transitions/buzz"; +@if $includeClasses { + .#{$nameSpace}-buzz { + @include buzz(); + } +} + +@import "effects/2d-transitions/buzz-out"; +@if $includeClasses { + .#{$nameSpace}-buzz-out { + @include buzz-out(); + } +} + +@import "effects/2d-transitions/forward"; +@if $includeClasses { + .#{$nameSpace}-forward { + @include forward(); + } +} + +@import "effects/2d-transitions/backward"; +@if $includeClasses { + .#{$nameSpace}-backward { + @include backward(); + } +} + +/* BACKGROUND TRANSITIONS */ +@import "effects/background-transitions/fade"; +@if $includeClasses { + .#{$nameSpace}-fade { + @include fade(); + } +} + +@import "effects/background-transitions/back-pulse"; +@if $includeClasses { + .#{$nameSpace}-back-pulse { + @include back-pulse(); + } +} + +@import "effects/background-transitions/sweep-to-right"; +@if $includeClasses { + .#{$nameSpace}-sweep-to-right { + @include sweep-to-right(); + } +} + +@import "effects/background-transitions/sweep-to-left"; +@if $includeClasses { + .#{$nameSpace}-sweep-to-left { + @include sweep-to-left(); + } +} + +@import "effects/background-transitions/sweep-to-bottom"; +@if $includeClasses { + .#{$nameSpace}-sweep-to-bottom { + @include sweep-to-bottom(); + } +} + +@import "effects/background-transitions/sweep-to-top"; +@if $includeClasses { + .#{$nameSpace}-sweep-to-top { + @include sweep-to-top(); + } +} + +@import "effects/background-transitions/bounce-to-right"; +@if $includeClasses { + .#{$nameSpace}-bounce-to-right { + @include bounce-to-right(); + } +} + +@import "effects/background-transitions/bounce-to-left"; +@if $includeClasses { + .#{$nameSpace}-bounce-to-left { + @include bounce-to-left(); + } +} + +@import "effects/background-transitions/bounce-to-bottom"; +@if $includeClasses { + .#{$nameSpace}-bounce-to-bottom { + @include bounce-to-bottom(); + } +} + +@import "effects/background-transitions/bounce-to-top"; +@if $includeClasses { + .#{$nameSpace}-bounce-to-top { + @include bounce-to-top(); + } +} + +@import "effects/background-transitions/radial-out"; +@if $includeClasses { + .#{$nameSpace}-radial-out { + @include radial-out(); + } +} + +@import "effects/background-transitions/radial-in"; +@if $includeClasses { + .#{$nameSpace}-radial-in { + @include radial-in(); + } +} + +@import "effects/background-transitions/rectangle-in"; +@if $includeClasses { + .#{$nameSpace}-rectangle-in { + @include rectangle-in(); + } +} + +@import "effects/background-transitions/rectangle-out"; +@if $includeClasses { + .#{$nameSpace}-rectangle-out { + @include rectangle-out(); + } +} + +@import "effects/background-transitions/shutter-in-horizontal"; +@if $includeClasses { + .#{$nameSpace}-shutter-in-horizontal { + @include shutter-in-horizontal(); + } +} + +@import "effects/background-transitions/shutter-out-horizontal"; +@if $includeClasses { + .#{$nameSpace}-shutter-out-horizontal { + @include shutter-out-horizontal(); + } +} + +@import "effects/background-transitions/shutter-in-vertical"; +@if $includeClasses { + .#{$nameSpace}-shutter-in-vertical { + @include shutter-in-vertical(); + } +} + +@import "effects/background-transitions/shutter-out-vertical"; +@if $includeClasses { + .#{$nameSpace}-shutter-out-vertical { + @include shutter-out-vertical(); + } +} + + +/* BORDER TRANSITIONS */ +@import "effects/border-transitions/border-fade"; +@if $includeClasses { + .#{$nameSpace}-border-fade { + @include border-fade(); + } +} + +@import "effects/border-transitions/hollow"; +@if $includeClasses { + .#{$nameSpace}-hollow { + @include hollow(); + } +} + +@import "effects/border-transitions/trim"; +@if $includeClasses { + .#{$nameSpace}-trim { + @include trim(); + } +} + +@import "effects/border-transitions/ripple-out"; +@if $includeClasses { + .#{$nameSpace}-ripple-out { + @include ripple-out(); + } +} + +@import "effects/border-transitions/ripple-in"; +@if $includeClasses { + .#{$nameSpace}-ripple-in { + @include ripple-in(); + } +} + +@import "effects/border-transitions/outline-out"; +@if $includeClasses { + .#{$nameSpace}-outline-out { + @include outline-out(); + } +} + +@import "effects/border-transitions/outline-in"; +@if $includeClasses { + .#{$nameSpace}-outline-in { + @include outline-in(); + } +} + +@import "effects/border-transitions/round-corners"; +@if $includeClasses { + .#{$nameSpace}-round-corners { + @include round-corners(); + } +} + +@import "effects/border-transitions/underline-from-left"; +@if $includeClasses { + .#{$nameSpace}-underline-from-left { + @include underline-from-left(); + } +} + +@import "effects/border-transitions/underline-from-center"; +@if $includeClasses { + .#{$nameSpace}-underline-from-center { + @include underline-from-center(); + } +} + +@import "effects/border-transitions/underline-from-right"; +@if $includeClasses { + .#{$nameSpace}-underline-from-right { + @include underline-from-right(); + } +} + +@import "effects/border-transitions/overline-from-left"; +@if $includeClasses { + .#{$nameSpace}-overline-from-left { + @include overline-from-left(); + } +} + +@import "effects/border-transitions/overline-from-center"; +@if $includeClasses { + .#{$nameSpace}-overline-from-center { + @include overline-from-center(); + } +} + +@import "effects/border-transitions/overline-from-right"; +@if $includeClasses { + .#{$nameSpace}-overline-from-right { + @include overline-from-right(); + } +} + +@import "effects/border-transitions/reveal"; +@if $includeClasses { + .#{$nameSpace}-reveal { + @include reveal(); + } +} + +@import "effects/border-transitions/underline-reveal"; +@if $includeClasses { + .#{$nameSpace}-underline-reveal { + @include underline-reveal(); + } +} + +@import "effects/border-transitions/overline-reveal"; +@if $includeClasses { + .#{$nameSpace}-overline-reveal { + @include overline-reveal(); + } +} + + +/* SHADOW/GLOW TRANSITIONS */ +@import "effects/shadow-and-glow-transitions/glow"; +@if $includeClasses { + .#{$nameSpace}-glow { + @include glow(); + } +} + +@import "effects/shadow-and-glow-transitions/shadow"; +@if $includeClasses { + .#{$nameSpace}-shadow { + @include shadow(); + } +} + +@import "effects/shadow-and-glow-transitions/grow-shadow"; +@if $includeClasses { + .#{$nameSpace}-grow-shadow { + @include grow-shadow(); + } +} + +@import "effects/shadow-and-glow-transitions/box-shadow-outset"; +@if $includeClasses { + .#{$nameSpace}-box-shadow-outset { + @include box-shadow-outset(); + } +} + +@import "effects/shadow-and-glow-transitions/box-shadow-inset"; +@if $includeClasses { + .#{$nameSpace}-box-shadow-inset { + @include box-shadow-inset(); + } +} + +@import "effects/shadow-and-glow-transitions/float-shadow"; +@if $includeClasses { + .#{$nameSpace}-float-shadow { + @include float-shadow(); + } +} + +@import "effects/shadow-and-glow-transitions/shadow-radial"; +@if $includeClasses { + .#{$nameSpace}-shadow-radial { + @include shadow-radial(); + } +} + +/* SPEECH BUBBLES */ +@import "effects/speech-bubbles/bubble-top"; +@if $includeClasses { + .#{$nameSpace}-bubble-top { + @include bubble-top(); + } +} + +@import "effects/speech-bubbles/bubble-right"; +@if $includeClasses { + .#{$nameSpace}-bubble-right { + @include bubble-right(); + } +} + +@import "effects/speech-bubbles/bubble-bottom"; +@if $includeClasses { + .#{$nameSpace}-bubble-bottom { + @include bubble-bottom(); + } +} + +@import "effects/speech-bubbles/bubble-left"; +@if $includeClasses { + .#{$nameSpace}-bubble-left { + @include bubble-left(); + } +} + +@import "effects/speech-bubbles/bubble-float-top"; +@if $includeClasses { + .#{$nameSpace}-bubble-float-top { + @include bubble-float-top(); + } +} + +@import "effects/speech-bubbles/bubble-float-right"; +@if $includeClasses { + .#{$nameSpace}-bubble-float-right { + @include bubble-float-right(); + } +} + +@import "effects/speech-bubbles/bubble-float-bottom"; +@if $includeClasses { + .#{$nameSpace}-bubble-float-bottom { + @include bubble-float-bottom(); + } +} + +@import "effects/speech-bubbles/bubble-float-left"; +@if $includeClasses { + .#{$nameSpace}-bubble-float-left { + @include bubble-float-left(); + } +} + +/* ICONS */ +@import "effects/icons/icon-back"; +@if $includeClasses { + .#{$nameSpace}-icon-back { + @include icon-back(); + } +} + +@import "effects/icons/icon-forward"; +@if $includeClasses { + .#{$nameSpace}-icon-forward { + @include icon-forward(); + } +} + +@import "effects/icons/icon-down"; +@if $includeClasses { + .#{$nameSpace}-icon-down { + @include icon-down(); + } +} + +@import "effects/icons/icon-up"; +@if $includeClasses { + .#{$nameSpace}-icon-up { + @include icon-up(); + } +} + +@import "effects/icons/icon-spin"; +@if $includeClasses { + .#{$nameSpace}-icon-spin { + @include icon-spin(); + } +} + +@import "effects/icons/icon-drop"; +@if $includeClasses { + .#{$nameSpace}-icon-drop { + @include icon-drop(); + } +} + +@import "effects/icons/icon-fade"; +@if $includeClasses { + .#{$nameSpace}-icon-fade { + @include icon-fade(); + } +} + +@import "effects/icons/icon-float-away"; +@if $includeClasses { + .#{$nameSpace}-icon-float-away { + @include icon-float-away(); + } +} + +@import "effects/icons/icon-sink-away"; +@if $includeClasses { + .#{$nameSpace}-icon-sink-away { + @include icon-sink-away(); + } +} + +@import "effects/icons/icon-grow"; +@if $includeClasses { + .#{$nameSpace}-icon-grow { + @include icon-grow(); + } +} + +@import "effects/icons/icon-shrink"; +@if $includeClasses { + .#{$nameSpace}-icon-shrink { + @include icon-shrink(); + } +} + +@import "effects/icons/icon-pulse"; +@if $includeClasses { + .#{$nameSpace}-icon-pulse { + @include icon-pulse(); + } +} + +@import "effects/icons/icon-pulse-grow"; +@if $includeClasses { + .#{$nameSpace}-icon-pulse-grow { + @include icon-pulse-grow(); + } +} + +@import "effects/icons/icon-pulse-shrink"; +@if $includeClasses { + .#{$nameSpace}-icon-pulse-shrink { + @include icon-pulse-shrink(); + } +} + +@import "effects/icons/icon-push"; +@if $includeClasses { + .#{$nameSpace}-icon-push { + @include icon-push(); + } +} + +@import "effects/icons/icon-pop"; +@if $includeClasses { + .#{$nameSpace}-icon-pop { + @include icon-pop(); + } +} + +@import "effects/icons/icon-bounce"; +@if $includeClasses { + .#{$nameSpace}-icon-bounce { + @include icon-bounce(); + } +} + +@import "effects/icons/icon-rotate"; +@if $includeClasses { + .#{$nameSpace}-icon-rotate { + @include icon-rotate(); + } +} + +@import "effects/icons/icon-grow-rotate"; +@if $includeClasses { + .#{$nameSpace}-icon-grow-rotate { + @include icon-grow-rotate(); + } +} + +@import "effects/icons/icon-float"; +@if $includeClasses { + .#{$nameSpace}-icon-float { + @include icon-float(); + } +} + +@import "effects/icons/icon-sink"; +@if $includeClasses { + .#{$nameSpace}-icon-sink { + @include icon-sink(); + } +} + +@import "effects/icons/icon-bob"; +@if $includeClasses { + .#{$nameSpace}-icon-bob { + @include icon-bob(); + } +} + +@import "effects/icons/icon-hang"; +@if $includeClasses { + .#{$nameSpace}-icon-hang { + @include icon-hang(); + } +} + +@import "effects/icons/icon-wobble-horizontal"; +@if $includeClasses { + .#{$nameSpace}-icon-wobble-horizontal { + @include icon-wobble-horizontal(); + } +} + +@import "effects/icons/icon-wobble-vertical"; +@if $includeClasses { + .#{$nameSpace}-icon-wobble-vertical { + @include icon-wobble-vertical(); + } +} + +@import "effects/icons/icon-buzz"; +@if $includeClasses { + .#{$nameSpace}-icon-buzz { + @include icon-buzz(); + } +} + +@import "effects/icons/icon-buzz-out"; +@if $includeClasses { + .#{$nameSpace}-icon-buzz-out { + @include icon-buzz-out(); + } +} + +/* CURLS */ +@import "effects/curls/curl-top-left"; +@if $includeClasses { + .#{$nameSpace}-curl-top-left { + @include curl-top-left(); + } +} + +@import "effects/curls/curl-top-right"; +@if $includeClasses { + .#{$nameSpace}-curl-top-right { + @include curl-top-right(); + } +} + +@import "effects/curls/curl-bottom-right"; +@if $includeClasses { + .#{$nameSpace}-curl-bottom-right { + @include curl-bottom-right(); + } +} + +@import "effects/curls/curl-bottom-left"; +@if $includeClasses { + .#{$nameSpace}-curl-bottom-left { + @include curl-bottom-left(); + } +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/sequence-logo.png b/src/main/resources/templates/themes/yummy/bower_components/hover/sequence-logo.png new file mode 100644 index 000000000..d2fbeb1ad Binary files /dev/null and b/src/main/resources/templates/themes/yummy/bower_components/hover/sequence-logo.png differ diff --git a/src/main/resources/templates/themes/yummy/bower_components/hover/two-up.png b/src/main/resources/templates/themes/yummy/bower_components/hover/two-up.png new file mode 100644 index 000000000..dfe589abc Binary files /dev/null and b/src/main/resources/templates/themes/yummy/bower_components/hover/two-up.png differ diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/.bower.json b/src/main/resources/templates/themes/yummy/bower_components/jquery/.bower.json new file mode 100644 index 000000000..9f172ca3f --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/.bower.json @@ -0,0 +1,25 @@ +{ + "name": "jquery", + "main": "dist/jquery.js", + "license": "MIT", + "ignore": [ + "package.json" + ], + "keywords": [ + "jquery", + "javascript", + "browser", + "library" + ], + "homepage": "https://github.com/jquery/jquery-dist", + "version": "3.3.1", + "_release": "3.3.1", + "_resolution": { + "type": "version", + "tag": "3.3.1", + "commit": "9e8ec3d10fad04748176144f108d7355662ae75e" + }, + "_source": "https://github.com/jquery/jquery-dist.git", + "_target": "^3.1.0", + "_originalSource": "jquery" +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/AUTHORS.txt b/src/main/resources/templates/themes/yummy/bower_components/jquery/AUTHORS.txt new file mode 100644 index 000000000..4bb5da15b --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/AUTHORS.txt @@ -0,0 +1,313 @@ +Authors ordered by first contribution. + +John Resig +Gilles van den Hoven +Michael Geary +Stefan Petre +Yehuda Katz +Corey Jewett +Klaus Hartl +Franck Marcia +Jörn Zaefferer +Paul Bakaus +Brandon Aaron +Mike Alsup +Dave Methvin +Ed Engelhardt +Sean Catchpole +Paul Mclanahan +David Serduke +Richard D. Worth +Scott González +Ariel Flesler +Jon Evans +TJ Holowaychuk +Michael Bensoussan +Robert Katić +Louis-Rémi Babé +Earle Castledine +Damian Janowski +Rich Dougherty +Kim Dalsgaard +Andrea Giammarchi +Mark Gibson +Karl Swedberg +Justin Meyer +Ben Alman +James Padolsey +David Petersen +Batiste Bieler +Alexander Farkas +Rick Waldron +Filipe Fortes +Neeraj Singh +Paul Irish +Iraê Carvalho +Matt Curry +Michael Monteleone +Noah Sloan +Tom Viner +Douglas Neiner +Adam J. Sontag +Dave Reed +Ralph Whitbeck +Carl Fürstenberg +Jacob Wright +J. Ryan Stinnett +unknown +temp01 +Heungsub Lee +Colin Snover +Ryan W Tenney +Pinhook +Ron Otten +Jephte Clain +Anton Matzneller +Alex Sexton +Dan Heberden +Henri Wiechers +Russell Holbrook +Julian Aubourg +Gianni Alessandro Chiappetta +Scott Jehl +James Burke +Jonas Pfenniger +Xavi Ramirez +Jared Grippe +Sylvester Keil +Brandon Sterne +Mathias Bynens +Timmy Willison <4timmywil@gmail.com> +Corey Frang +Digitalxero +Anton Kovalyov +David Murdoch +Josh Varner +Charles McNulty +Jordan Boesch +Jess Thrysoee +Michael Murray +Lee Carpenter +Alexis Abril +Rob Morgan +John Firebaugh +Sam Bisbee +Gilmore Davidson +Brian Brennan +Xavier Montillet +Daniel Pihlstrom +Sahab Yazdani +avaly +Scott Hughes +Mike Sherov +Greg Hazel +Schalk Neethling +Denis Knauf +Timo Tijhof +Steen Nielsen +Anton Ryzhov +Shi Chuan +Berker Peksag +Toby Brain +Matt Mueller +Justin +Daniel Herman +Oleg Gaidarenko +Richard Gibson +Rafaël Blais Masson +cmc3cn <59194618@qq.com> +Joe Presbrey +Sindre Sorhus +Arne de Bree +Vladislav Zarakovsky +Andrew E Monat +Oskari +Joao Henrique de Andrade Bruni +tsinha +Matt Farmer +Trey Hunner +Jason Moon +Jeffery To +Kris Borchers +Vladimir Zhuravlev +Jacob Thornton +Chad Killingsworth +Nowres Rafid +David Benjamin +Uri Gilad +Chris Faulkner +Elijah Manor +Daniel Chatfield +Nikita Govorov +Wesley Walser +Mike Pennisi +Markus Staab +Dave Riddle +Callum Macrae +Benjamin Truyman +James Huston +Erick Ruiz de Chávez +David Bonner +Akintayo Akinwunmi +MORGAN +Ismail Khair +Carl Danley +Mike Petrovich +Greg Lavallee +Daniel Gálvez +Sai Lung Wong +Tom H Fuertes +Roland Eckl +Jay Merrifield +Allen J Schmidt Jr +Jonathan Sampson +Marcel Greter +Matthias Jäggli +David Fox +Yiming He +Devin Cooper +Paul Ramos +Rod Vagg +Bennett Sorbo +Sebastian Burkhard +Zachary Adam Kaplan +nanto_vi +nanto +Danil Somsikov +Ryunosuke SATO +Jean Boussier +Adam Coulombe +Andrew Plummer +Mark Raddatz +Isaac Z. Schlueter +Karl Sieburg +Pascal Borreli +Nguyen Phuc Lam +Dmitry Gusev +Michał Gołębiowski-Owczarek +Li Xudong +Steven Benner +Tom H Fuertes +Renato Oliveira dos Santos +ros3cin +Jason Bedard +Kyle Robinson Young +Chris Talkington +Eddie Monge +Terry Jones +Jason Merino +Jeremy Dunck +Chris Price +Guy Bedford +Amey Sakhadeo +Mike Sidorov +Anthony Ryan +Dominik D. Geyer +George Kats +Lihan Li +Ronny Springer +Chris Antaki +Marian Sollmann +njhamann +Ilya Kantor +David Hong +John Paul +Jakob Stoeck +Christopher Jones +Forbes Lindesay +S. Andrew Sheppard +Leonardo Balter +Roman Reiß +Benjy Cui +Rodrigo Rosenfeld Rosas +John Hoven +Philip Jägenstedt +Christian Kosmowski +Liang Peng +TJ VanToll +Senya Pugach +Aurelio De Rosa +Nazar Mokrynskyi +Amit Merchant +Jason Bedard +Arthur Verschaeve +Dan Hart +Bin Xin +David Corbacho +Veaceslav Grimalschi +Daniel Husar +Frederic Hemberger +Ben Toews +Aditya Raghavan +Victor Homyakov +Shivaji Varma +Nicolas HENRY +Anne-Gaelle Colom +George Mauer +Leonardo Braga +Stephen Edgar +Thomas Tortorini +Winston Howes +Jon Hester +Alexander O'Mara +Bastian Buchholz +Arthur Stolyar +Calvin Metcalf +Mu Haibao +Richard McDaniel +Chris Rebert +Gabriel Schulhof +Gilad Peleg +Martin Naumann +Marek Lewandowski +Bruno Pérel +Reed Loden +Daniel Nill +Yongwoo Jeon +Sean Henderson +Richard Kraaijenhagen +Connor Atherton +Gary Ye +Christian Grete +Liza Ramo +Julian Alexander Murillo +Joelle Fleurantin +Jae Sung Park +Jun Sun +Josh Soref +Henry Wong +Jon Dufresne +Martijn W. van der Lee +Devin Wilson +Steve Mao +Zack Hall +Bernhard M. Wiedemann +Todor Prikumov +Jha Naman +William Robinet +Alexander Lisianoi +Vitaliy Terziev +Joe Trumbull +Alexander K +Damian Senn +Ralin Chimev +Felipe Sateler +Christophe Tafani-Dereeper +Manoj Kumar +David Broder-Rodgers +Alex Louden +Alex Padilla +南漂一卒 +karan-96 +Boom Lee +Andreas Solleder +CDAGaming +Pierre Spring +Shashanka Nataraj +Erik Lax +Matan Kotler-Berkowitz <205matan@gmail.com> +Jordan Beland +Henry Zhu +Saptak Sengupta +Nilton Cesar +basil.belokon diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/LICENSE.txt b/src/main/resources/templates/themes/yummy/bower_components/jquery/LICENSE.txt new file mode 100644 index 000000000..e4e5e00ef --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/LICENSE.txt @@ -0,0 +1,36 @@ +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery + +The following license applies to all parts of this software except as +documented below: + +==== + +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. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/README.md b/src/main/resources/templates/themes/yummy/bower_components/jquery/README.md new file mode 100644 index 000000000..83e7b9370 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/README.md @@ -0,0 +1,67 @@ +# jQuery + +> jQuery is a fast, small, and feature-rich JavaScript library. + +For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/). +For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery). + +If upgrading, please see the [blog post for 3.3.1](https://blog.jquery.com/2017/03/20/jquery-3.3.1-now-available/). This includes notable differences from the previous version and a more readable changelog. + +## Including jQuery + +Below are some of the most common ways to include jQuery. + +### Browser + +#### Script tag + +```html + +``` + +#### Babel + +[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively. + +```js +import $ from "jquery"; +``` + +#### Browserify/Webpack + +There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this... + +```js +var $ = require("jquery"); +``` + +#### AMD (Asynchronous Module Definition) + +AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html). + +```js +define(["jquery"], function($) { + +}); +``` + +### Node + +To include jQuery in [Node](nodejs.org), first install with npm. + +```sh +npm install jquery +``` + +For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes. + +```js +require("jsdom").env("", function(err, window) { + if (err) { + console.error(err); + return; + } + + var $ = require("jquery")(window); +}); +``` diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/bower.json b/src/main/resources/templates/themes/yummy/bower_components/jquery/bower.json new file mode 100644 index 000000000..95798d5ad --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/bower.json @@ -0,0 +1,14 @@ +{ + "name": "jquery", + "main": "dist/jquery.js", + "license": "MIT", + "ignore": [ + "package.json" + ], + "keywords": [ + "jquery", + "javascript", + "browser", + "library" + ] +} \ No newline at end of file diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/external/sizzle/LICENSE.txt b/src/main/resources/templates/themes/yummy/bower_components/jquery/external/sizzle/LICENSE.txt new file mode 100644 index 000000000..dd7ce9402 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/external/sizzle/LICENSE.txt @@ -0,0 +1,36 @@ +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +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. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/src/.eslintrc.json b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/.eslintrc.json new file mode 100644 index 000000000..3a4a3d257 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "root": true, + + "extends": "../.eslintrc-browser.json" +} diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax.js b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax.js new file mode 100644 index 000000000..aec26830a --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax.js @@ -0,0 +1,856 @@ +define( [ + "./core", + "./var/document", + "./var/isFunction", + "./var/rnothtmlwhite", + "./ajax/var/location", + "./ajax/var/nonce", + "./ajax/var/rquery", + + "./core/init", + "./ajax/parseXML", + "./event/trigger", + "./deferred", + "./serialize" // jQuery.param +], function( jQuery, document, isFunction, rnothtmlwhite, location, nonce, rquery ) { + +"use strict"; + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + 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" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match == null ? null : match; + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +return jQuery; +} ); diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/jsonp.js b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/jsonp.js new file mode 100644 index 000000000..28ae0365d --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/jsonp.js @@ -0,0 +1,103 @@ +define( [ + "../core", + "../var/isFunction", + "./var/nonce", + "./var/rquery", + "../ajax" +], function( jQuery, isFunction, nonce, rquery ) { + +"use strict"; + +var oldCallbacks = [], + rjsonp = /(=)\?(?=&|$)|\?\?/; + +// Default jsonp settings +jQuery.ajaxSetup( { + jsonp: "callback", + jsonpCallback: function() { + var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); + this[ callback ] = true; + return callback; + } +} ); + +// Detect, normalize options and install callbacks for jsonp requests +jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { + + var callbackName, overwritten, responseContainer, + jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? + "url" : + typeof s.data === "string" && + ( s.contentType || "" ) + .indexOf( "application/x-www-form-urlencoded" ) === 0 && + rjsonp.test( s.data ) && "data" + ); + + // Handle iff the expected data type is "jsonp" or we have a parameter to set + if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { + + // Get callback name, remembering preexisting value associated with it + callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ? + s.jsonpCallback() : + s.jsonpCallback; + + // Insert callback into url or form data + if ( jsonProp ) { + s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); + } else if ( s.jsonp !== false ) { + s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; + } + + // Use data converter to retrieve json after script execution + s.converters[ "script json" ] = function() { + if ( !responseContainer ) { + jQuery.error( callbackName + " was not called" ); + } + return responseContainer[ 0 ]; + }; + + // Force json dataType + s.dataTypes[ 0 ] = "json"; + + // Install callback + overwritten = window[ callbackName ]; + window[ callbackName ] = function() { + responseContainer = arguments; + }; + + // Clean-up function (fires after converters) + jqXHR.always( function() { + + // If previous value didn't exist - remove it + if ( overwritten === undefined ) { + jQuery( window ).removeProp( callbackName ); + + // Otherwise restore preexisting value + } else { + window[ callbackName ] = overwritten; + } + + // Save back as free + if ( s[ callbackName ] ) { + + // Make sure that re-using the options doesn't screw things around + s.jsonpCallback = originalSettings.jsonpCallback; + + // Save the callback name for future use + oldCallbacks.push( callbackName ); + } + + // Call if it was a function and we have a response + if ( responseContainer && isFunction( overwritten ) ) { + overwritten( responseContainer[ 0 ] ); + } + + responseContainer = overwritten = undefined; + } ); + + // Delegate to script + return "script"; + } +} ); + +} ); diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/load.js b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/load.js new file mode 100644 index 000000000..defdb0174 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/load.js @@ -0,0 +1,77 @@ +define( [ + "../core", + "../core/stripAndCollapse", + "../var/isFunction", + "../core/parseHTML", + "../ajax", + "../traversing", + "../manipulation", + "../selector" +], function( jQuery, stripAndCollapse, isFunction ) { + +"use strict"; + +/** + * Load a url into a page + */ +jQuery.fn.load = function( url, params, callback ) { + var selector, type, response, + self = this, + off = url.indexOf( " " ); + + if ( off > -1 ) { + selector = stripAndCollapse( url.slice( off ) ); + url = url.slice( 0, off ); + } + + // If it's a function + if ( isFunction( params ) ) { + + // We assume that it's the callback + callback = params; + params = undefined; + + // Otherwise, build a param string + } else if ( params && typeof params === "object" ) { + type = "POST"; + } + + // If we have elements to modify, make the request + if ( self.length > 0 ) { + jQuery.ajax( { + url: url, + + // If "type" variable is undefined, then "GET" method will be used. + // Make value of this field explicit since + // user can override it through ajaxSetup method + type: type || "GET", + dataType: "html", + data: params + } ).done( function( responseText ) { + + // Save response for use in complete callback + response = arguments; + + self.html( selector ? + + // If a selector was specified, locate the right elements in a dummy div + // Exclude scripts to avoid IE 'Permission Denied' errors + jQuery( "
    " ).append( jQuery.parseHTML( responseText ) ).find( selector ) : + + // Otherwise use the full result + responseText ); + + // If the request succeeds, this function gets "data", "status", "jqXHR" + // but they are ignored because response was set above. + // If it fails, this function gets "jqXHR", "status", "error" + } ).always( callback && function( jqXHR, status ) { + self.each( function() { + callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); + } ); + } ); + } + + return this; +}; + +} ); diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/parseXML.js b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/parseXML.js new file mode 100644 index 000000000..acf7ab259 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/parseXML.js @@ -0,0 +1,30 @@ +define( [ + "../core" +], function( jQuery ) { + +"use strict"; + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + +return jQuery.parseXML; + +} ); diff --git a/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/script.js b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/script.js new file mode 100644 index 000000000..6e0d21e99 --- /dev/null +++ b/src/main/resources/templates/themes/yummy/bower_components/jquery/src/ajax/script.js @@ -0,0 +1,77 @@ +define( [ + "../core", + "../var/document", + "../ajax" +], function( jQuery, document ) { + +"use strict"; + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "