diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000..0498657
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,8 @@
+{
+ "presets": [
+ "@wordpress/default"
+ ],
+ "plugins": [
+ "@babel/proposal-class-properties",
+ ]
+}
\ No newline at end of file
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..8955d81
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,19 @@
+{
+ "parser": "babel-eslint",
+ "extends": [
+ "eslint:recommended",
+ "wordpress"
+ ],
+ "plugins": [],
+ "env": {
+ "jest": true,
+ "node": true,
+ "amd": true,
+ "es6": true
+ },
+ "parserOptions": {
+ "ecmaFeatures": {
+ "jsx": true
+ }
+ }
+}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2e840e3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,74 @@
+# Packages #
+############
+*.7z
+*.dmg
+*.gz
+*.bz2
+*.iso
+*.jar
+*.rar
+*.tar
+*.tgz
+*.map
+
+# Logs and databases #
+######################
+*.log
+*.sql
+
+# OS generated files #
+######################
+**.DS_Store*
+ehthumbs.db
+Icon?
+Thumbs.db
+._*
+
+# Vim generated files #
+######################
+*.un~
+
+# SASS #
+##########
+**/.sass-cache
+**/.sass-cache/*
+**/.map
+
+# Composer #
+##########
+vendors/composer/
+!assets/js/vendor/
+wpcs/
+composer.lock
+
+# Bower #
+##########
+assets/bower_components/*
+
+# Codekit #
+##########
+/codekit-config.json
+*.codekit
+**.codekit-cache/*
+
+# NPM #
+##########
+node_modules
+
+# Compiled Files and Build Dirs #
+##########
+/README.html
+/assets/
+/build/
+
+# PhpStrom Project Files #
+.idea/
+library/vendors/composer
+assets/img/.DS_Store
+assets/sass/HTML
+assets/sass/Rails
+HTML
+Rails
+
+# WordPress SVN Repo
+wordpress-svn/
diff --git a/README.md b/README.md
index 6834033..fcfd367 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-# StylePress for Elementor
+# StylePress
StylePress is a WordPress plugin that lets you design your entire website quickly and easily.
Facebook: https://www.facebook.com/groups/325046057898459/
-Slack: https://dtbaker.net/blog/wordpress/2017/03/elementor-developers-slack-group/
+Slack: https://stylepress.org/blog/wordpress/2017/03/elementor-developers-slack-group/
-WordPress: https://wordpress.org/plugins/full-site-builder-for-elementor/
\ No newline at end of file
+WordPress: https://wordpress.org/plugins/stylepress/
\ No newline at end of file
diff --git a/admin/_header.php b/admin/_header.php
deleted file mode 100644
index 6c12ba9..0000000
--- a/admin/_header.php
+++ /dev/null
@@ -1,24 +0,0 @@
-
\ No newline at end of file
diff --git a/admin/_help_text.php b/admin/_help_text.php
deleted file mode 100644
index 9f75066..0000000
--- a/admin/_help_text.php
+++ /dev/null
@@ -1,66 +0,0 @@
-
- Getting Started
-
- Create your "Site Style" in Elementor from the Styles page.
-
- Choose which Outer Styles to apply to your site using the options below. The Outer Style is the
- header/sidebar/footer that wraps around your page content.
-
- Choose which Inner Styles to apply to your site components. The Inner Styles are dynamic layouts that replace
- the default the_content() output.
-
- When editing individual pages you can apply a different style to the default, look in the page metabox area.
-
- Disable Theme CSS if the page layout looks funky (recommended).
- View more help and videos at https://stylepress.org/help/
-
-add_help_tab( array(
- 'id' => 'stylepress-help',
- 'title' => __( 'Getting Started', 'stylepress' ),
- 'content' => $help_customize,
-) );
-
-
-ob_start();
-?>
- Recommended Plugins:
- It is recommended to install these plugins to get best results:
-
- Elementor Pro
- Max Mega Menu
- Easy Google Fonts
-
-add_help_tab( array(
- 'id' => 'stylepress-help-recommended',
- 'title' => __( 'Recommended Plugins', 'stylepress' ),
- 'content' => $help_customize,
-) );
-
-
-get_current_screen()->set_help_sidebar(
- '' . __( 'For more information:', 'stylepress' ) . '
' .
- '' . __( 'Read More on stylepress.org ', 'stylepress' ) . '
'
-);
diff --git a/admin/settings-page.php b/admin/settings-page.php
deleted file mode 100644
index d67d252..0000000
--- a/admin/settings-page.php
+++ /dev/null
@@ -1,165 +0,0 @@
-has_permission() ) {
- die ( 'No permissions' );
-}
-
-
-add_thickbox();
-
-$styles = DtbakerElementorManager::get_instance()->get_all_page_styles();
-$components = DtbakerElementorManager::get_instance()->get_all_page_components();
-$settings = DtbakerElementorManager::get_instance()->get_settings();
-$page_types = DtbakerElementorManager::get_instance()->get_possible_page_types();
-
-?>
-
-
-
-
-
-
-
-
Settings updated.
-
Dismiss this notice.
-
-
-
-
-
Style Imported! Your new
- style has been imported. Please assign it to your site below (hint: Start with "Global" and test from there).
-
-
Dismiss this notice.
-
-
-
-
-
-
-
diff --git a/admin/styles-page.php b/admin/styles-page.php
deleted file mode 100644
index ad1b2c3..0000000
--- a/admin/styles-page.php
+++ /dev/null
@@ -1,204 +0,0 @@
-has_permission() ) {
-
- die ( 'No permissions' );
-}
-
-
-add_thickbox();
-
-$settings = DtbakerElementorManager::get_instance()->get_settings();
-$page_types = DtbakerElementorManager::get_instance()->get_possible_page_types();
-$designs = DtbakerElementorManager::get_instance()->get_all_page_styles();
-$downloadable = DtbakerElementorManager::get_instance()->get_downloadable_styles();
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
None yet! Create your own or install from the list below.
-
- $design ) :
- $post = get_post( $design_id );
- if ( $post->post_parent ) {
- continue;
- }
- ?>
-
-
-
-
-
-
-
-
-
-
-
- 'dtbaker_style',
- 'post_parent' => $design_id,
- 'post_status' => 'any',
- 'posts_per_page' => - 1,
- 'ignore_sticky_posts' => 1,
- );
- $posts_array = get_posts( $args );
-
- foreach ( $page_types as $post_type => $post_type_title ) {
- if ( $settings && ! empty( $settings['defaults'][ $post_type ] ) && (int) $settings['defaults'][ $post_type ] === (int) $design_id ) {
- $used[ $post_type ] = $post_type_title;
- }
- // check if any of the child posts are used in this particular post type.
- foreach ( $posts_array as $post_array ) {
- if ( $settings && ! empty( $settings['defaults'][ $post_type ] ) && (int) $settings['defaults'][ $post_type ] === (int) $post_array->ID ) {
- $used[ $post_type ] = $post_type_title;
- }
- }
- // todo: query what custom pages have a different style overview
- }
-
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $design ) :
-
- $type = ! empty( $design['cost'] ) ? 'paid' : 'free';
- $has_purchased = false;
- if ( 'paid' === $type && ! empty( $design['pay_nonce'] ) ) {
- $has_purchased = true;
- } else {
-
- }
- ?>
-
-
-
-
-
-
-
-
-
- v
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- div {
- display: table;
- table-layout: fixed;
-}
-.dtbaker-elementor-instructions > div > div {
- display: table-cell;
- width: 25%;
-}
-.dtbaker-elementor-instructions > div > div h3 {
- color: #000;
- font-size: 16px;
- font-weight: 400;
- margin: 0 0 .2em;
- padding: 0;
-}
-.dtbaker-elementor-instructions tr.highlightstyle {
- background: rgba(61, 153, 212, 0.5) !important;
-}
-.dtbaker-elementor-instructions:after {
- clear: both;
- display: table;
- content: '';
-}
-.wp-admin.post-type-dtbaker_style #elementor-switch-mode,
-.wp-admin.post-type-dtbaker_style #elementor-editor {
- display: none;
-}
-.wp-admin.post-type-dtbaker_style #titlediv {
- margin-bottom: 20px;
-}
-.wp-admin.post-type-dtbaker_style #edit-slug-box {
- display: none;
-}
-.wp-admin.post-type-dtbaker_style #dtbaker-return-to-style {
- padding: 0 0 20px;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox > h3 {
- background: #f5f5f5;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox > h3:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox > h3 span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox > h3 small {
- font-weight: normal;
- display: block;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox > h3 a {
- float: right;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap {
- margin: 0 0 40px;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap > ul {
- display: block;
- padding: 0;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap > ul > li {
- display: inline-block;
- padding: 5px;
- margin: 0 1% 3% 0;
- width: 23%;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap > ul > li:nth-child(4n+4) {
- margin-right: 0;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap > ul > li:nth-child(4n+5) {
- clear: left;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap > ul > li .design-name {
- text-align: center;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .inner-wrap > ul > li .theme-actions {
- position: relative;
- display: block;
- text-align: center;
-}
-.wp-admin.post-type-dtbaker_style .stylepress-metabox .advanced-settings {
- width: 70%;
- min-height: 150px;
-}
-.stylepress-header {
- background: #FFF;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
-}
-.stylepress-header:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6;
-}
-.stylepress-header span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
-}
-.stylepress-header small {
- font-weight: normal;
- display: block;
-}
-.stylepress-header .buttons {
- font-weight: normal;
- float: right;
-}
-.stylepress-header {
- background: #FFF;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
-}
-.stylepress-header:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6;
-}
-.stylepress-header span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
-}
-.stylepress-header small {
- font-weight: normal;
- display: block;
-}
-.stylepress-header .buttons {
- font-weight: normal;
- float: right;
-}
-.stylepress-header {
- background: #FFF;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
-}
-.stylepress-header:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6;
-}
-.stylepress-header span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
-}
-.stylepress-header small {
- font-weight: normal;
- display: block;
-}
-.stylepress-header .buttons {
- font-weight: normal;
- float: right;
-}
-.wp-admin.post-type-dtbaker_style.post-new-php #elementor-editor {
- display: none !important;
-}
-.sub2-dtbaker-stylepress a {
- color: #8bcc3c;
-}
-#stylepress-header {
- margin: 40px 0 40px;
- background: #FFF;
- padding: 20px;
- border-radius: 10px;
-}
-#stylepress-header .stylepress-logo img {
- width: 334px;
- height: 75px;
-}
-#stylepress-header .icons {
- float: right;
- text-align: right;
- padding: 5px 4px 20px;
-}
-#stylepress-header .icons a {
- text-decoration: none;
- color: #545c63;
-}
-#stylepress-header .icons a:after {
- content: '|';
- color: #545c63;
- padding: 0 4px 0 7px;
-}
-#stylepress-header .icons a:last-child:after {
- display: none;
-}
-#stylepress-header .buttons {
- float: right;
- clear: right;
- text-align: right;
-}
-@-webkit-keyframes sk-scaleout {
- 0% {
- -webkit-transform: scale(0);
- }
- 100% {
- -webkit-transform: scale(1);
- opacity: 0;
- }
-}
-@keyframes sk-scaleout {
- 0% {
- -webkit-transform: scale(0);
- transform: scale(0);
- }
- 100% {
- -webkit-transform: scale(1);
- transform: scale(1);
- opacity: 0;
- }
-}
-.stylepress-payment-popup {
- position: relative;
-}
-.stylepress-payment-popup.processing .loadingbar {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: -3px;
- z-index: 9999999;
- background: rgba(255, 255, 255, 0.72);
-}
-.stylepress-payment-popup.processing .loadingbar:before {
- top: 34%;
- left: 41%;
- z-index: 5;
- content: '';
- position: absolute;
- width: 80px;
- height: 80px;
- background-color: #55b2d8;
- border-radius: 100%;
- -webkit-animation: sk-scaleout 1s infinite ease-in-out;
- animation: sk-scaleout 1s infinite ease-in-out;
-}
-.stylepress-payment-popup label {
- display: block;
- margin-bottom: 8px;
- font-weight: 500;
- font-size: 14px;
-}
-.stylepress-payment-popup .form-row {
- margin-bottom: 16px;
-}
-.stylepress-payment-popup .text-field,
-.stylepress-payment-popup .StripeElement {
- background-color: white;
- padding: 8px 12px;
- border-radius: 4px;
- border: 1px solid rgba(226, 196, 196, 0.88);
- box-shadow: 0 1px 3px 0 #e6ebf1;
- -webkit-transition: box-shadow 150ms ease;
- transition: box-shadow 150ms ease;
-}
-.stylepress-payment-popup .form-row > .text-field {
- padding: 12px 12px;
-}
-.stylepress-payment-popup .slider-range {
- width: 100%;
-}
-.stylepress-payment-popup .stripe-card-element:before {
- content: 'Loading...';
-}
-.stylepress-payment-popup .stripe-card-element.StripeElement:before {
- display: none;
-}
-.stylepress-payment-popup .StripeElement--focus {
- box-shadow: 0 1px 3px 0 #cfd7df;
-}
-.stylepress-payment-popup .StripeElement--invalid {
- border-color: #fa755a;
-}
-.stylepress-payment-popup .StripeElement--webkit-autofill {
- background-color: #fefde5 !important;
-}
-.stylepress-payment-popup .slider {
- width: 100%;
- height: 0.7rem;
- border: 1px solid rgba(226, 196, 196, 0.88);
- position: relative;
-}
-.stylepress-payment-popup .slider.one-way .handle.handle-left {
- visibility: hidden;
-}
-.stylepress-payment-popup .slider .slider-circle {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background-color: #0a84c1;
- position: relative;
- display: inline-block;
- margin-top: 10px;
- pointer-events: none;
- -webkit-user-select: none;
-}
-.stylepress-payment-popup .slider .handle {
- width: 30px;
- height: 30px;
- border-radius: 50%;
- position: absolute;
- top: -10px;
- border: 1px solid rgba(226, 196, 196, 0.88);
- background-color: #fff;
- text-align: center;
- cursor: pointer;
- z-index: 1;
- -webkit-tap-highlight-color: transparent;
-}
-.stylepress-payment-popup .slider .handle.ontop {
- z-index: 2;
-}
-.stylepress-payment-popup .slider .handle:active {
- border-color: #0a84c1;
- box-shadow: 0 0 0.5rem #0a84c1;
-}
-.stylepress-payment-popup .slider .handle-left {
- left: 0;
-}
-.stylepress-payment-popup .slider .handle-right {
- right: 0;
-}
-.stylepress-payment-popup .slider .slider-fill {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background: #0a84c1;
- pointer-events: none;
- -webkit-user-select: none;
-}
-.stylepress-payment-popup .slider .slider-transition {
- -webkit-transition: all 0.5s ease;
- transition: all 0.5s ease;
-}
-.style-list {
- margin-bottom: 30px;
-}
diff --git a/assets/css/admin.less b/assets/css/admin.less
deleted file mode 100644
index b000fbb..0000000
--- a/assets/css/admin.less
+++ /dev/null
@@ -1,493 +0,0 @@
-.dtbaker-elementor-browser {
- margin-top: 40px;
- .design {
- float: left;
- margin: 0 4% 4% 0;
- width: 21.6%;
- &:nth-child(4n+4) {
- margin-right: 0;
- }
- &:nth-child(4n+5) {
- clear: left;
- }
- }
- .stylebox {
- cursor: pointer;
- position: relative;
- border: 1px solid #ddd;
- -webkit-box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- .thumb {
- display: block;
- overflow: hidden;
- position: relative;
- -webkit-backface-visibility: hidden;
- -webkit-transition: opacity 0.2s ease-in-out;
- transition: opacity 0.2s ease-in-out;
- img {
- max-width: 100%;
- height: auto;
- }
- }
- .theme-usage {
- padding: 6px 0 6px 12px;
- font-size: 12px;
- background-color: #fafafa;
- text-overflow: ellipsis;
- min-height: 18px;
- &.style-description {
- height: auto;
- }
- a {
- text-decoration: none;
- color: #444;
- }
- }
- h3.design-name {
- font-size: 15px;
- font-weight: 600;
- height: 18px;
- margin: 0;
- padding: 15px;
- -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
- box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- background-color: #fafafa;
- color: #23282d;
- small {
- font-weight: normal;
- font-size: 12px;
- color: #CCC;
- }
- a {
- color: #23282d;
- text-decoration: none;
- }
- }
- .theme-actions {
- position: absolute;
- bottom: 0;
- right: 0;
- height: 38px;
- padding: 9px 10px 0 10px;
- background: rgba(244, 244, 244, 0.7);
- border-left: 1px solid rgba(0, 0, 0, 0.05);
- }
- &.add-new {
- a {
- text-decoration: none;
- display: block;
- position: relative;
- z-index: 1;
- }
- }
- }
-}
-
-.dtbaker-elementor-instructions {
- margin: 40px 0 0;
- > div {
- display: table;
- table-layout: fixed;
- > div {
- display: table-cell;
- width: 25%;
- h3 {
- color: #000;
- font-size: 16px;
- font-weight: 400;
- margin: 0 0 .2em;
- padding: 0;
- }
- }
- }
- tr.highlightstyle {
- background: rgba(61, 153, 212, 0.5) !important;
- }
- &:after {
- clear: both;
- display: table;
- content: '';
- }
-}
-
-.wp-admin.post-type-dtbaker_style {
- #elementor-switch-mode,
- #elementor-editor {
- display: none;
- }
- #titlediv {
- margin-bottom: 20px;
- }
- #edit-slug-box {
- display: none;
- }
- #dtbaker-return-to-style {
- padding: 0 0 20px;
- }
- .stylepress-metabox {
- > h3 {
- background: #f5f5f5;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
- &:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6
- }
- span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
- }
- small {
- font-weight: normal;
- display: block;
- }
- a {
- float: right;
- }
- }
- .inner-wrap {
- margin: 0 0 40px;
- > ul {
- display: block;
- padding: 0;
- > li {
- display: inline-block;
- padding: 5px;
- margin: 0 1% 3% 0;
- width: 23%;
- &:nth-child(4n+4) {
- margin-right: 0;
- }
- &:nth-child(4n+5) {
- clear: left;
- }
- .design-name {
- text-align: center;
- }
- .theme-actions {
- position: relative;
- display: block;
- text-align: center;
- }
- }
- }
- }
- .advanced-settings {
- width: 70%;
- min-height: 150px;
- }
- }
-}
-
-.stylepress-header {
- background: #FFF;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
- &:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6
- }
- span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
- }
- small {
- font-weight: normal;
- display: block;
- }
- .buttons {
- font-weight: normal;
- float: right;
- }
-}
-
-.stylepress-header {
- background: #FFF;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
- &:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6
- }
- span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
- }
- small {
- font-weight: normal;
- display: block;
- }
- .buttons {
- font-weight: normal;
- float: right;
- }
-}
-
-.stylepress-header {
- background: #FFF;
- padding: 15px 20px;
- position: relative;
- margin: 0 0 30px;
- &:before {
- position: absolute;
- left: 0;
- content: '';
- display: block;
- top: 0;
- bottom: 0;
- width: 4px;
- background: #e6e6e6
- }
- span {
- font-weight: bold;
- display: block;
- padding: 0 0 5px;
- }
- small {
- font-weight: normal;
- display: block;
- }
- .buttons {
- font-weight: normal;
- float: right;
- }
-}
-
-.wp-admin.post-type-dtbaker_style.post-new-php {
- #elementor-editor {
- display: none !important;
- }
-}
-
-.sub2-dtbaker-stylepress a {
- color: #8bcc3c;
-}
-
-#stylepress-header {
- margin: 40px 0 40px;
- background: #FFF;
- padding: 20px;
- border-radius: 10px;
- .stylepress-logo {
- img {
- width: 334px;
- height: 75px;
- }
- }
- .icons {
- float: right;
- text-align: right;
- padding: 5px 4px 20px;
- a {
- text-decoration: none;
- color: #545c63;
- &:after {
- content: '|';
- color: #545c63;
- padding: 0 4px 0 7px;
- }
- &:last-child:after {
- display: none;
- }
- }
- }
- .buttons {
- float: right;
- clear: right;
- text-align: right
- }
-}
-
-@-webkit-keyframes sk-scaleout {
- 0% {
- -webkit-transform: scale(0)
- }
- 100% {
- -webkit-transform: scale(1.0);
- opacity: 0;
- }
-}
-
-@keyframes sk-scaleout {
- 0% {
- -webkit-transform: scale(0);
- transform: scale(0);
- }
- 100% {
- -webkit-transform: scale(1.0);
- transform: scale(1.0);
- opacity: 0;
- }
-}
-
-.stylepress-payment-popup {
- position: relative;
- &.processing {
-
- .loadingbar {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: -3px;
- z-index: 9999999;
- background: rgba(255, 255, 255, 0.72);
- &:before {
- top: 34%;
- left: 41%;
- z-index: 5;
- content: '';
- position: absolute;
- width: 80px;
- height: 80px;
- background-color: #55b2d8;
- border-radius: 100%;
- -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
- animation: sk-scaleout 1.0s infinite ease-in-out;
- }
- }
- }
-
- label {
- display: block;
- margin-bottom: 8px;
- font-weight: 500;
- font-size: 14px;
- }
- .form-row {
- margin-bottom: 16px;
- }
- .text-field,
- .StripeElement {
- background-color: white;
- padding: 8px 12px;
- border-radius: 4px;
- border: 1px solid rgba(226, 196, 196, 0.88);
- box-shadow: 0 1px 3px 0 #e6ebf1;
- -webkit-transition: box-shadow 150ms ease;
- transition: box-shadow 150ms ease;
- }
- .form-row > .text-field {
- padding: 12px 12px;
- }
- .slider-range {
- width: 100%;
- }
-
- .stripe-card-element {
- &:before {
- content: 'Loading...';
- }
- &.StripeElement:before {
- display: none;
- }
- }
-
- .StripeElement--focus {
- box-shadow: 0 1px 3px 0 #cfd7df;
- }
-
- .StripeElement--invalid {
- border-color: #fa755a;
- }
-
- .StripeElement--webkit-autofill {
- background-color: #fefde5 !important;
- }
-
- .slider {
- width: 100%;
- height: 0.7rem;
- border: 1px solid rgba(226, 196, 196, 0.88);
- position: relative;
- }
- .slider.one-way .handle.handle-left {
- visibility: hidden;
- }
- .slider .slider-circle {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background-color: #0a84c1;
- position: relative;
- display: inline-block;
- margin-top: 10px;
- pointer-events: none;
- -webkit-user-select: none;
- }
- .slider .handle {
- width: 30px;
- height: 30px;
- border-radius: 50%;
- position: absolute;
- top: -10px;
- border: 1px solid rgba(226, 196, 196, 0.88);
- background-color: #fff;
- text-align: center;
- cursor: pointer;
- z-index: 1;
- -webkit-tap-highlight-color: transparent;
- }
- .slider .handle.ontop {
- z-index: 2;
- }
- .slider .handle:active {
- border-color: #0a84c1;
- box-shadow: 0 0 0.5rem #0a84c1;
- }
- .slider .handle-left {
- left: 0;
- }
- .slider .handle-right {
- right: 0;
- }
- .slider .slider-fill {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background: #0a84c1;
- pointer-events: none;
- -webkit-user-select: none;
- }
- .slider .slider-transition {
- -webkit-transition: all 0.5s ease;
- transition: all 0.5s ease;
- }
-
-}
-
-.style-list {
- margin-bottom: 30px;
-}
\ No newline at end of file
diff --git a/assets/css/editor-in.css b/assets/css/editor-in.css
deleted file mode 100644
index f0a503f..0000000
--- a/assets/css/editor-in.css
+++ /dev/null
@@ -1,18 +0,0 @@
-.elementor-editor-active.dtbaker-elementor-template-component .elementor-edit-mode:before {
- content: 'Design Your Inner Style Below';
- position: absolute;
- display: block;
- left: 50%;
- padding: 18px;
- margin-left: -265px;
- font-size: 25px;
-}
-.elementor-editor-active.dtbaker-elementor-template-component .elementor-inner {
- margin-top: 0 !important;
- padding: 120px 50px;
- background: #f5f5f5;
-}
-.elementor-editor-active.dtbaker-elementor-template-component .elementor-inner > .elementor-section-wrap {
- background: #FFF;
- padding: 50px 0;
-}
diff --git a/assets/css/editor-in.less b/assets/css/editor-in.less
deleted file mode 100644
index 9ab8185..0000000
--- a/assets/css/editor-in.less
+++ /dev/null
@@ -1,28 +0,0 @@
-.elementor-editor-active.dtbaker-elementor-template-component {
- .elementor-edit-mode {
- &:before {
- content: 'Design Your Inner Style Below';
- position: absolute;
- display: block;
- left: 50%;
- padding: 18px;
- margin-left: -265px;
- font-size: 25px;
- }
- }
- .elementor-inner {
- margin-top: 0 !important;
- padding: 120px 50px;
- background: #f5f5f5;
- > .elementor-section-wrap {
- background: #FFF;
- padding: 50px 0;
- > section {
-
- }
- .elementor-editor-column-settings-list {
-
- }
- }
- }
-}
\ No newline at end of file
diff --git a/assets/css/editor.css b/assets/css/editor.css
deleted file mode 100644
index 15541bb..0000000
--- a/assets/css/editor.css
+++ /dev/null
@@ -1,44 +0,0 @@
-.dtbaker-elementor-page-style-item {
- text-align: center;
- padding: 30px;
-}
-.elementor-control-stylepress-modal {
- position: absolute;
- top: 0;
- right: 37px;
- padding: 0;
- height: 100%;
- width: 40px;
- border: none;
- border-left: 1px solid #CCC;
- background: none;
- cursor: pointer;
- font-size: 10px;
- border-radius: 0 3px 3px 0;
-}
-.elementor-control-stylepress-modal span {
- opacity: .5;
-}
-.elementor-panel .elementor-control-type-url .elementor-control-url-target {
- border-left: 1px solid #CCC;
-}
-.elementor-control-stylepress-modal-title {
- padding-top: 4px;
-}
-.dtbaker-stylepress-elementor-widget {
- background: url(../img/widget-logo.png) no-repeat center;
- background-size: contain;
- padding: 26px;
- font-size: 20px;
- line-height: 46px;
-}
-.dtbaker-elementor-page-style-item {
- text-align: center;
- padding: 30px;
-}
-#elementor-controls div[class*="elementor-control-section_stylepress_"] .elementor-panel-heading {
- background: #b1defb;
-}
-.stylepress-elementor-description p {
- padding: 7px 0;
-}
diff --git a/assets/css/editor.less b/assets/css/editor.less
deleted file mode 100644
index eaba5ac..0000000
--- a/assets/css/editor.less
+++ /dev/null
@@ -1,56 +0,0 @@
-.dtbaker-elementor-page-style-item {
- text-align: center;
- padding: 30px;
-}
-
-.elementor-control-stylepress-modal {
- position: absolute;
- top: 0;
- right: 37px;
- padding: 0;
- height: 100%;
- width: 40px;
- border: none;
- border-left: 1px solid #CCC;
- background: none;
- cursor: pointer;
- font-size: 10px;
- border-radius: 0 3px 3px 0;
- span {
- opacity: .5;
- }
-}
-
-.elementor-panel .elementor-control-type-url .elementor-control-url-target {
- border-left: 1px solid #CCC;
-}
-
-.elementor-control-stylepress-modal-title {
- padding-top: 4px;
-}
-
-.dtbaker-stylepress-elementor-widget {
- background: url(../img/widget-logo.png) no-repeat center;
- background-size: contain;
- padding: 26px;
- font-size: 20px;
- line-height: 46px;
-}
-
-.dtbaker-elementor-page-style-item {
- text-align: center;
- padding: 30px;
-}
-
-#elementor-controls [class*="elementor-control-stylepress"] {
-
-}
-
-#elementor-controls div[class*="elementor-control-section_stylepress_"] .elementor-panel-heading {
- background: #b1defb;
-
-}
-
-.stylepress-elementor-description p {
- padding: 7px 0;
-}
\ No newline at end of file
diff --git a/assets/css/frontend-css-editor.css b/assets/css/frontend-css-editor.css
deleted file mode 100644
index 6831b7f..0000000
--- a/assets/css/frontend-css-editor.css
+++ /dev/null
@@ -1,66 +0,0 @@
-@media screen and (min-width: 782px) {
- #stylepress_csser {
- direction: ltr;
- color: #ccc;
- font-size: 13px;
- font-weight: 400;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- line-height: 32px;
- height: 32px;
- position: fixed;
- top: 32px;
- left: 0;
- width: 100%;
- min-width: 600px;
- z-index: 99991;
- background: #363b40;
- }
- #stylepress_csser .stylepress-css-info,
- #stylepress_csser .stylepress-css-box {
- display: none;
- }
- #stylepress_csser .stylepress-css-buttons {
- position: absolute;
- bottom: 0;
- right: 0;
- z-index: 300;
- }
- #stylepress_csser .stylepress-css-buttons a {
- display: inline-block;
- padding: 5px;
- background: #23282d;
- color: #FFF;
- border-radius: 6px;
- margin: 5px;
- font-size: 11px;
- line-height: 13px;
- }
- #stylepress_csser .stylepress-css-buttons a:hover {
- background: #3c434a;
- }
- #stylepress_csser .stylepress-css-buttons a.stylepress-csser-save {
- displaY: none;
- }
- html.stylepress-csser {
- margin-top: 342px !important;
- }
- html.stylepress-csser #stylepress_csser {
- height: 310px;
- padding: 0;
- }
- html.stylepress-csser #stylepress_csser .stylepress-css-info,
- html.stylepress-csser #stylepress_csser .stylepress-css-box {
- display: block;
- }
- html.stylepress-csser #stylepress_csser .stylepress-css-buttons .stylepress-csser-save {
- display: inline-block;
- }
- html.stylepress-csser #stylepress_csser .stylepress-css-box {
- height: 270px;
- }
-}
-@media screen and (max-width: 782px) {
- html #stylepress_csser {
- display: none;
- }
-}
diff --git a/assets/css/frontend-css-editor.less b/assets/css/frontend-css-editor.less
deleted file mode 100644
index 7e8b492..0000000
--- a/assets/css/frontend-css-editor.less
+++ /dev/null
@@ -1,68 +0,0 @@
-@media screen and (min-width: 782px) {
- #stylepress_csser {
- direction: ltr;
- color: #ccc;
- font-size: 13px;
- font-weight: 400;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- line-height: 32px;
- height: 32px;
- position: fixed;
- top: 32px;
- left: 0;
- width: 100%;
- min-width: 600px;
- z-index: 99991;
- background: #363b40;
- .stylepress-css-info,
- .stylepress-css-box {
- display: none;
- }
- .stylepress-css-buttons {
- position: absolute;
- bottom: 0;
- right: 0;
- z-index: 300;
- a {
- display: inline-block;
- padding: 5px;
- background: #23282d;
- color: #FFF;
- border-radius: 6px;
- margin: 5px;
- font-size: 11px;
- line-height: 13px;
- &:hover {
- background: #3c434a;
- }
- }
- a.stylepress-csser-save {
- displaY: none;
- }
- }
- }
-
- html.stylepress-csser {
- margin-top: 32px + 310px !important;
- #stylepress_csser {
- height: 310px;
- padding: 0;
- .stylepress-css-info,
- .stylepress-css-box {
- display: block;
- }
- .stylepress-css-buttons .stylepress-csser-save {
- display: inline-block;
- }
- .stylepress-css-box {
- height: 270px;
- }
- }
- }
-}
-
-@media screen and (max-width: 782px) {
- html #stylepress_csser {
- display: none;
- }
-}
\ No newline at end of file
diff --git a/assets/css/frontend.css b/assets/css/frontend.css
deleted file mode 100644
index 3b71adf..0000000
--- a/assets/css/frontend.css
+++ /dev/null
@@ -1,67 +0,0 @@
-.inner-page-content-area {
- text-align: center;
- padding: 80px 20px;
- color: #000;
- background: #FFF;
- background: -webkit-repeating-linear-gradient(45deg, #efefef, #efefef 10px, #FFFFFF 10px, #FFFFFF 20px);
- background: repeating-linear-gradient(45deg, #efefef, #efefef 10px, #FFFFFF 10px, #FFFFFF 20px);
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section {
- position: relative;
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section:nth-child(1) {
- z-index: 7;
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section:nth-child(2) {
- z-index: 6;
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section:nth-child(3) {
- z-index: 5;
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section:nth-child(4) {
- z-index: 4;
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section:nth-child(5) {
- z-index: 3;
-}
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section:nth-child(6) {
- z-index: 2;
-}
-body.dtbaker-elementor-template.elementor-editor-active #site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap section.elementor-section {
- z-index: 1 !important;
-}
-.stylepress-debug {
- background: #fff;
- border-left: 4px solid #fff;
- -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
- margin: 10px 15px;
- padding: 5px 12px;
- position: relative;
- font-size: 13px;
- border-left-color: #46b450;
- color: #444;
-}
-.stylepress-debug span {
- color: #CCC;
-}
-/**
-StylePress Custom Addons:
- */
-.elementor-widget-icon-list[data-element_type="icon-list.stylepress-icons-inline"] ul.elementor-icon-list-items {
- display: flex;
-}
-.elementor-widget-icon-list[data-element_type="icon-list.stylepress-icons-inline"] ul.elementor-icon-list-items > li.elementor-icon-list-item {
- padding: 6px 10px;
-}
-.elementor-widget-icon-list[data-element_type="icon-list.stylepress-icons-inline"] ul.elementor-icon-list-items > li.elementor-icon-list-item:after {
- border-top: 0 !important;
- border-right-style: solid;
- border-right-width: 1px;
- border-right-color: #ddd;
- left: auto;
- bottom: auto;
- right: 0;
- height: 58%;
- width: auto;
-}
diff --git a/assets/css/frontend.less b/assets/css/frontend.less
deleted file mode 100644
index 9c99899..0000000
--- a/assets/css/frontend.less
+++ /dev/null
@@ -1,91 +0,0 @@
-
-.inner-page-content-area {
- text-align: center;
- padding: 80px 20px;
- color: #000;
- background: #FFF;
- background: -webkit-repeating-linear-gradient(45deg, #efefef, #efefef 10px, #FFFFFF 10px, #FFFFFF 20px);
- background: repeating-linear-gradient(45deg, #efefef, #efefef 10px, #FFFFFF 10px, #FFFFFF 20px);
-}
-
-#site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap {
- section.elementor-section {
- // fix for menu drop down
- position: relative;
- &:nth-child(1) {
- z-index: 7;
- }
- &:nth-child(2) {
- z-index: 6;
- }
- &:nth-child(3) {
- z-index: 5;
- }
- &:nth-child(4) {
- z-index: 4;
- }
- &:nth-child(5) {
- z-index: 3;
- }
- &:nth-child(6) {
- z-index: 2;
- }
- }
-}
-
-body.dtbaker-elementor-template.elementor-editor-active #site-offcanvas-wrap > .elementor > .elementor-inner > .elementor-section-wrap {
- section.elementor-section {
- z-index: 1 !important;
- }
-}
-
-.stylepress-debug {
- background: #fff;
- border-left: 4px solid #fff;
- -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
- margin: 10px 15px;
- padding: 5px 12px;
- position: relative;
- font-size: 13px;
- border-left-color: #46b450;
- color: #444;
- span {
- color: #CCC;
- }
-}
-
-/**
-StylePress Custom Addons:
- */
-.elementor-widget-icon-list[data-element_type="icon-list.stylepress-icons-inline"] {
- ul.elementor-icon-list-items {
- display: flex;
- //justify-content: center;
- > li.elementor-icon-list-item {
- padding: 6px 10px;
- &:after {
- border-top: 0 !important;
- border-right-style: solid;
- border-right-width: 1px;
- border-right-color: #ddd;
- left: auto;
- bottom: auto;
- right: 0;
- height: 58%;
- width: auto;
- }
- }
- }
-
- &.elementor-align-left {
- ul.elementor-icon-list-items {
- //justify-content: flex-start;
- }
- }
- &.elementor-align-right {
- ul.elementor-icon-list-items {
- //justify-content: flex-end;
- }
- }
-}
diff --git a/assets/css/theme-overwrites.css b/assets/css/theme-overwrites.css
deleted file mode 100644
index cb04c15..0000000
--- a/assets/css/theme-overwrites.css
+++ /dev/null
@@ -1,1806 +0,0 @@
-/* =Reset
--------------------------------------------------------------- */
-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,
-font,
-ins,
-kbd,
-q,
-s,
-samp,
-small,
-strike,
-strong,
-sub,
-sup,
-tt,
-var,
-dl,
-dt,
-dd,
-ol,
-ul,
-li,
-fieldset,
-form,
-label,
-legend,
-table,
-caption,
-tbody,
-tfoot,
-thead,
-tr,
-th,
-td {
- border: 0;
- margin: 0;
- outline: 0;
- padding: 0;
-}
-html {
- font-family: sans-serif;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
-}
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-main,
-nav,
-section {
- display: block;
-}
-audio,
-canvas,
-progress,
-video {
- display: inline-block;
- vertical-align: baseline;
-}
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-[hidden],
-template {
- display: none;
-}
-ol,
-ul {
- list-style: none;
-}
-table {
- /* tables still need 'cellspacing="0"' in the markup */
- border-collapse: separate;
- border-spacing: 0;
-}
-caption,
-th,
-td {
- font-weight: normal;
- text-align: left;
- padding: 5px;
-}
-blockquote:before,
-blockquote:after,
-q:before,
-q:after {
- content: "";
-}
-blockquote,
-q {
- quotes: "" "";
-}
-a {
- background-color: transparent;
-}
-a:active,
-a:hover {
- outline: 0;
-}
-a img {
- border: 0;
-}
-/* =Global
------------------------------------------------ */
-body,
-button,
-input,
-select,
-textarea {
- font-family: sans-serif;
- font-size: 16px;
- font-size: 1.6rem;
- line-height: 1.5;
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- transition: all 0.1s ease-in-out;
-}
-hr {
- background-color: #ccc;
- border: 0;
- height: 1px;
- margin-bottom: 40px;
- margin-top: 40px;
-}
-/* Text elements */
-p {
- margin-bottom: 1.5em;
-}
-ul,
-ol {
- margin: 0 0 1.5em 3em;
-}
-ul {
- list-style: disc;
-}
-ol {
- list-style: decimal;
-}
-li > ul,
-li > ol {
- margin-bottom: 0;
- margin-left: 1.5em;
-}
-dt {
- font-weight: bold;
-}
-dd {
- margin: 0 1.5em 1.5em;
-}
-b,
-strong {
- font-weight: bold;
-}
-dfn,
-cite,
-em,
-i {
- font-style: italic;
-}
-blockquote {
- margin: 0 1.5em 1.5em;
-}
-address {
- margin: 0 0 1.5em;
-}
-pre {
- background: #eee;
- font-family: "Courier 10 Pitch", Courier, monospace;
- font-size: 15px;
- font-size: 1.5rem;
- line-height: 1.6;
- margin-bottom: 1.6em;
- padding: 1.6em;
- overflow: auto;
- max-width: 100%;
-}
-code,
-kbd,
-tt,
-var {
- font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
-}
-abbr,
-acronym {
- border-bottom: 1px dotted #666;
- cursor: help;
-}
-mark,
-ins {
- text-decoration: none;
-}
-sup,
-sub {
- font-size: 75%;
- height: 0;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-sup {
- bottom: 1ex;
-}
-sub {
- top: .5ex;
-}
-small {
- font-size: 75%;
-}
-big {
- font-size: 125%;
-}
-figure {
- margin: 0;
-}
-table {
- margin: 0 0 1.5em;
- width: 100%;
-}
-th {
- font-weight: bold;
-}
-img {
- height: auto;
- /* Make sure images are scaled correctly. */
- max-width: 100%;
- /* Adhere to container width. */
-}
-button,
-input,
-select,
-textarea {
- font-size: 100%;
- /* Corrects font size not being inherited in all browsers */
- margin: 0;
- /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
- vertical-align: baseline;
- /* Improves appearance and consistency in all browsers */
- *vertical-align: middle;
- /* Improves appearance and consistency in all browsers */
-}
-button,
-input {
- line-height: normal;
- /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
-}
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"] {
- border: 0;
- background: #666;
- cursor: pointer;
- /* Improves usability and consistency of cursor style between image-type 'input' and others */
- -webkit-appearance: button;
- /* Corrects inability to style clickable 'input' types in iOS */
- padding: 10px 20px;
- color: #FFF;
-}
-button:hover,
-html input[type="button"]:hover,
-input[type="reset"]:hover,
-input[type="submit"]:hover {
- background: #606060;
-}
-button:focus,
-html input[type="button"]:focus,
-input[type="reset"]:focus,
-input[type="submit"]:focus,
-button:active,
-html input[type="button"]:active,
-input[type="reset"]:active,
-input[type="submit"]:active {
- background: #606060;
-}
-.button {
- padding: 10px 20px;
- display: inline-block;
- *display: inline;
-}
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box;
- /* Addresses box sizing set to content-box in IE8/9 */
- padding: 0;
- /* Addresses excess padding in IE8/9 */
-}
-input[type="search"] {
- -webkit-appearance: textfield;
- /* Addresses appearance set to searchfield in S5, Chrome */
- -webkit-box-sizing: content-box;
- /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
- -moz-box-sizing: content-box;
- box-sizing: content-box;
-}
-input[type="search"]::-webkit-search-decoration {
- /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
- -webkit-appearance: none;
-}
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
- border: 0;
- padding: 0;
-}
-input[type="text"],
-input[type="email"],
-input[type="url"],
-input[type="password"],
-input[type="search"],
-input[type="tel"],
-textarea {
- background: #FAFAFA;
- color: #666;
- border: 1px solid #ccc;
- border-radius: 0px;
- padding: 10px 15px;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- max-width: 100%;
-}
-input[type="text"]:focus,
-input[type="email"]:focus,
-input[type="url"]:focus,
-input[type="password"]:focus,
-input[type="tel"]:focus,
-input[type="search"]:focus,
-textarea:focus {
- color: #111;
- background: #FFF;
-}
-textarea {
- overflow: auto;
- /* Removes default vertical scrollbar in IE6/7/8/9 */
- vertical-align: top;
- /* Improves readability and alignment in all browsers */
- width: 100%;
-}
-input[type="file"] {
- max-width: 100%;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-/* Alignment */
-.alignleft {
- display: inline;
- float: left;
- margin-right: 1.5em;
-}
-.alignright {
- display: inline;
- float: right;
- margin-left: 1.5em;
-}
-.aligncenter {
- clear: both;
- display: block;
- margin: 0 auto;
-}
-.size-auto,
-.size-full,
-.size-large,
-.size-medium,
-.size-thumbnail {
- max-width: 100%;
- height: auto;
-}
-/* Text meant only for screen readers */
-.screen-reader-text {
- clip: rect(1px, 1px, 1px, 1px);
- position: absolute !important;
-}
-.screen-reader-text:hover,
-.screen-reader-text:active,
-.screen-reader-text:focus {
- background-color: #f1f1f1;
- border-radius: 3px;
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
- clip: auto !important;
- color: #21759b;
- display: block;
- font-size: 14px;
- font-weight: bold;
- height: auto;
- left: 5px;
- line-height: normal;
- padding: 15px 23px 14px;
- text-decoration: none;
- top: 5px;
- width: auto;
- z-index: 100000;
- /* Above WP toolbar */
-}
-/* Clearing */
-.clear:before,
-.clear:after,
-[class*="content"]:before,
-[class*="content"]:after,
-[class*="site"]:before,
-[class*="site"]:after {
- content: '';
- display: table;
-}
-.clear:after,
-[class*="content"]:after,
-[class*="site"]:after {
- clear: both;
-}
-/* =Menu
------------------------------------------------ */
-.main-navigation {
- z-index: 100;
-}
-.main-navigation {
- padding: 0;
-}
-.main-navigation ul li a {
- display: block;
-}
-.menu-toggle {
- margin: 0;
- padding: 0;
-}
-.menu-toggle:before {
- content: "\f0c9";
- font-family: FontAwesome;
- line-height: 1em;
- speak: none;
-}
-.toggled .menu-toggle:before {
- content: "\f00d";
- speak: none;
-}
-.menu-toggle .mobile-menu {
- margin-left: 10px;
-}
-.menu-toggle .mobile-menu:empty {
- display: none;
-}
-.main-navigation .main-nav ul ul li a {
- line-height: normal;
- padding: 10px 20px;
-}
-.main-navigation {
- clear: both;
- display: block;
-}
-.inside-navigation {
- position: relative;
-}
-.main-navigation ul,
-.menu-toggle li.search-item {
- list-style: none;
- margin: 0;
- padding-left: 0;
-}
-.search-item .screen-reader-text {
- top: 0;
- right: 0;
- left: auto;
-}
-.main-navigation li {
- float: left;
- position: relative;
-}
-.main-navigation a {
- display: block;
- text-decoration: none;
-}
-.main-navigation ul ul {
- box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
- display: none;
- float: left;
- position: absolute;
- left: 0;
- z-index: 99999;
- width: 200px;
- text-align: left;
- top: auto;
-}
-.main-navigation ul ul ul {
- left: 100%;
- top: 0;
-}
-.main-navigation ul ul a {
- display: block;
-}
-.main-navigation ul ul li {
- width: 100%;
-}
-.main-navigation ul li:hover > ul,
-.main-navigation ul li.sfHover > ul,
-.secondary-navigation ul li:hover > ul,
-.secondary-navigation ul li.sfHover > ul {
- display: block;
-}
-.dropdown-click .main-navigation ul li:hover > ul,
-.dropdown-click .main-navigation ul li.sfHover > ul,
-.dropdown-click .secondary-navigation ul li:hover > ul,
-.dropdown-click .secondary-navigation ul li.sfHover > ul {
- display: none;
-}
-.dropdown-click .main-navigation ul.toggled-on,
-.dropdown-click .main-navigation ul li:hover > ul.toggled-on,
-.dropdown-click .main-navigation ul li.sfHover > ul.toggled-on,
-.dropdown-click .secondary-navigation ul.toggled-on,
-.dropdown-click .secondary-navigation ul li:hover > ul.toggled-on,
-.dropdown-click .secondary-navigation ul li.sfHover > ul.toggled-on {
- display: block;
-}
-.dropdown-click nav ul ul ul {
- background-color: transparent;
-}
-.nav-float-right .inside-header .main-navigation {
- float: right;
- clear: right;
-}
-.nav-float-left .inside-header .main-navigation {
- float: left;
- clear: left;
-}
-.nav-float-left .inside-header .site-branding,
-.nav-float-left .inside-header .site-logo {
- float: right;
- clear: right;
-}
-.nav-float-left .inside-header:after {
- clear: both;
- content: '';
- display: table;
-}
-.nav-float-right .inside-header .site-branding {
- display: inline-block;
-}
-.site-header {
- position: relative;
-}
-.header-aligned-left .site-header {
- text-align: left;
-}
-.header-aligned-center .site-header {
- text-align: center;
-}
-.header-aligned-right .site-header {
- text-align: right;
-}
-.site-header .header-image {
- vertical-align: middle;
-}
-.main-navigation .main-nav ul ul li a,
-.nav-float-right .main-navigation .main-nav ul ul li a {
- line-height: normal;
-}
-.nav-float-right .main-navigation ul ul ul {
- top: 0;
-}
-.main-navigation li.search-item {
- float: right;
- z-index: 21;
-}
-.rtl .main-navigation li.search-item,
-.rtl.nav-aligned-right.nav-below-header .main-navigation .menu > li.search-item {
- float: left;
-}
-.nav-aligned-center .main-navigation li.search-item.current-menu-item {
- position: absolute;
- right: 0;
-}
-.rtl.nav-aligned-center .main-navigation li.search-item.current-menu-item {
- position: absolute;
- left: 0;
-}
-.main-navigation li.search-item i {
- transform: rotate(90deg);
-}
-.navigation-search {
- position: absolute;
- right: 0;
- display: none;
- z-index: 20;
- width: 100%;
- top: 0;
-}
-.gen-sidebar-nav .navigation-search {
- top: auto;
- bottom: 0;
-}
-.navigation-search input {
- border: 0;
- vertical-align: bottom;
- line-height: 0;
- opacity: 0.9;
- width: 100%;
- z-index: 20;
- border-radius: 0;
- -webkit-appearance: none;
-}
-.navigation-search input::-ms-clear {
- display: none;
- width: 0;
- height: 0;
-}
-.navigation-search input::-ms-reveal {
- display: none;
- width: 0;
- height: 0;
-}
-.navigation-search input::-webkit-search-decoration,
-.navigation-search input::-webkit-search-cancel-button,
-.navigation-search input::-webkit-search-results-button,
-.navigation-search input::-webkit-search-results-decoration {
- display: none;
-}
-.nav-left-sidebar .main-navigation li.search-item,
-.nav-right-sidebar .main-navigation li.search-item {
- width: auto;
- display: inline-block;
-}
-.nav-left-sidebar .main-navigation li.search-item.current-menu-item,
-.nav-right-sidebar .main-navigation li.search-item.current-menu-item {
- float: right;
-}
-.navigation-search input:focus {
- outline: 0;
-}
-.nav-aligned-right.nav-below-header .main-navigation .menu > li,
-.nav-aligned-right.nav-above-header .main-navigation .menu > li,
-.nav-aligned-center.nav-below-header .main-navigation .menu > li,
-.nav-aligned-center.nav-above-header .main-navigation .menu > li {
- float: none;
- display: inline-block;
- *display: inline;
- *zoom: 1;
-}
-.nav-aligned-right .main-navigation ul,
-.nav-aligned-center .main-navigation ul {
- letter-spacing: -0.31em;
- font-size: 1em;
-}
-.nav-aligned-right .main-navigation ul li,
-.nav-aligned-center .main-navigation ul li {
- letter-spacing: normal;
-}
-.nav-aligned-left.nav-below-header .main-navigation,
-.nav-aligned-left.nav-above-header .main-navigation {
- text-align: left;
-}
-.nav-aligned-center.nav-below-header .main-navigation,
-.nav-aligned-center.nav-above-header .main-navigation {
- text-align: center;
-}
-.nav-aligned-right.nav-below-header .main-navigation,
-.nav-aligned-right.nav-above-header .main-navigation {
- text-align: right;
-}
-.main-navigation ul li .dropdown-toggle,
-.secondary-navigation ul li .dropdown-toggle {
- display: none;
-}
-.menu-item-has-children .dropdown-menu-toggle {
- display: inline-block;
- height: 100%;
- clear: both;
- padding-left: 10px;
-}
-nav ul ul .menu-item-has-children .dropdown-menu-toggle {
- float: right;
-}
-nav:not(.toggled):not(.slideout-navigation) ul ul .menu-item-has-children .dropdown-menu-toggle {
- padding-right: 15px;
-}
-.sidebar .menu-item-has-children .dropdown-menu-toggle {
- float: right;
-}
-.dropdown-menu-toggle:before {
- content: "\f107";
- font-family: FontAwesome;
- line-height: 1em;
- speak: none;
-}
-.dropdown-click .menu-item-has-children.sfHover > a .dropdown-menu-toggle:before {
- content: "\f106";
-}
-.dropdown-hover .sub-menu .dropdown-menu-toggle:before,
-.dropdown-hover .children .dropdown-menu-toggle:before {
- content: "\f105";
-}
-.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle:before,
-.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle:before {
- content: "\f104";
-}
-.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle:before,
-.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle:before {
- content: "\f105";
-}
-.dropdown-click .main-navigation ul ul ul,
-.dropdown-click .secondary-navigation ul ul ul {
- left: 0;
- top: auto;
- position: relative;
-}
-.dropdown-click.both-right .widget-area .secondary-navigation ul ul,
-.dropdown-click.right-sidebar .widget-area .secondary-navigation ul ul,
-.dropdown-click.both-sidebars .widget-area .inside-right-sidebar .secondary-navigation ul ul {
- right: 0;
-}
-.dropdown-click .widget-area .main-navigation ul ul,
-.dropdown-click .widget-area .secondary-navigation ul ul {
- left: 0;
- right: 0;
- top: auto;
- position: relative;
- float: none;
- width: 100%;
-}
-.main-navigation .main-nav ul li.menu-item-has-children > a,
-.secondary-navigation .main-nav ul li.menu-item-has-children > a {
- padding-right: 0;
- position: relative;
-}
-.widget-area .main-navigation li,
-.widget-area .secondary-navigation li {
- float: none;
- display: block;
- width: 100%;
- padding: 0;
- margin: 0;
-}
-.widget-area .main-navigation ul ul,
-.widget-area .secondary-navigation ul ul {
- top: 0;
- left: 100%;
- width: 220px;
-}
-.dropdown-hover.both-right .widget-area .main-navigation ul ul,
-.dropdown-hover.right-sidebar .widget-area .main-navigation ul ul,
-.dropdown-hover.both-sidebars .widget-area .inside-right-sidebar .main-navigation ul ul {
- right: 100%;
- left: auto;
-}
-.slideout-navigation .dropdown-menu-toggle:before {
- content: "\f107" !important;
-}
-.slideout-navigation .sfHover > a .dropdown-menu-toggle:before {
- content: "\f106" !important;
-}
-/* =Content
------------------------------------------------ */
-.post {
- margin: 0 0 2em;
-}
-.posted-on .updated {
- display: none;
-}
-.byline {
- display: inline;
-}
-.single .byline,
-.group-blog .byline {
- display: inline;
-}
-.page-content,
-.entry-content,
-.entry-summary {
- margin: 2em 0 0;
-}
-.page-links {
- clear: both;
- margin: 0 0 1.5em;
-}
-.blog .format-status .entry-title,
-.archive .format-status .entry-title,
-.blog .format-aside .entry-header,
-.archive .format-aside .entry-header,
-.blog .format-status .entry-header,
-.archive .format-status .entry-header,
-.blog .format-status .entry-meta,
-.archive .format-status .entry-meta {
- display: none;
-}
-.blog .format-aside .entry-content,
-.archive .format-aside .entry-content,
-.blog .format-status .entry-content,
-.archive .format-status .entry-content {
- margin-top: 0;
-}
-.blog .format-status .entry-content p:last-child,
-.archive .format-status .entry-content p:last-child {
- margin-bottom: 0;
-}
-/* =Media
------------------------------------------------ */
-.page-content img.wp-smiley,
-.entry-content img.wp-smiley,
-.comment-content img.wp-smiley {
- border: none;
- margin-bottom: 0;
- margin-top: 0;
- padding: 0;
-}
-.wp-caption {
- margin-bottom: 1.5em;
- max-width: 100%;
- position: relative;
-}
-.wp-caption img[class*="wp-image-"] {
- display: block;
- margin: 0 auto 0;
- max-width: 100%;
-}
-.wp-caption .wp-caption-text {
- font-size: 75%;
- padding-top: 5px;
- opacity: 0.8;
-}
-.wp-caption img {
- position: relative;
- vertical-align: bottom;
-}
-/*--------------------------------------------------------------
-## Galleries
---------------------------------------------------------------*/
-.gallery {
- margin-bottom: 1.5em;
-}
-.gallery-item {
- display: inline-block;
- text-align: center;
- vertical-align: top;
- width: 100%;
-}
-.gallery-columns-2 .gallery-item {
- max-width: 50%;
-}
-.gallery-columns-3 .gallery-item {
- max-width: 33.33%;
-}
-.gallery-columns-4 .gallery-item {
- max-width: 25%;
-}
-.gallery-columns-5 .gallery-item {
- max-width: 20%;
-}
-.gallery-columns-6 .gallery-item {
- max-width: 16.66%;
-}
-.gallery-columns-7 .gallery-item {
- max-width: 14.28%;
-}
-.gallery-columns-8 .gallery-item {
- max-width: 12.5%;
-}
-.gallery-columns-9 .gallery-item {
- max-width: 11.11%;
-}
-.gallery-caption {
- display: block;
-}
-/* Make sure embeds and iframes fit their containers */
-embed,
-iframe,
-object {
- max-width: 100%;
-}
-/* =Navigation
------------------------------------------------ */
-.site-main [class*="navigation"] {
- margin: 0 0 2em;
- overflow: hidden;
-}
-/* =Comments
------------------------------------------------ */
-.comment-content a {
- word-wrap: break-word;
-}
-.comment,
-.comment-list {
- list-style-type: none;
- padding: 0;
- margin: 0;
-}
-.comment-author-info {
- display: inline-block;
- *display: inline;
- *zoom: 1;
- vertical-align: middle;
-}
-.comment-meta .avatar {
- float: left;
- margin-right: 10px;
- -moz-border-radius: 50%;
- -webkit-border-radius: 50%;
- border-radius: 50%;
-}
-.comment-author cite {
- font-style: normal;
- font-weight: bold;
-}
-.entry-meta.comment-metadata {
- margin-top: 0;
-}
-.comment-content {
- margin-top: 1.5em;
-}
-.comment-respond {
- margin-top: 1.5em;
-}
-.comment-form > .form-submit {
- margin-bottom: 0;
-}
-.comment-form input,
-.comment-form-comment {
- margin-bottom: 10px;
-}
-.comment-form #author,
-.comment-form #email,
-.comment-form #url {
- display: block;
-}
-.comment-metadata .edit-link:before {
- display: none;
-}
-.comment-body {
- padding: 30px 0;
-}
-.comment-content {
- padding: 30px;
- border: 1px solid rgba(0, 0, 0, 0.05);
-}
-.depth-1.parent > .children {
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
-}
-.comment .children {
- padding-left: 30px;
- margin-top: -30px;
- border-left: 1px solid rgba(0, 0, 0, 0.05);
-}
-.pingback .comment-body,
-.trackback .comment-body {
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
-}
-.pingback .edit-link {
- font-size: 13px;
-}
-.comment-content p:last-child {
- margin-bottom: 0;
-}
-.comment-list > .comment:first-child {
- padding-top: 0;
- margin-top: 0;
- border-top: 0;
-}
-ol.comment-list {
- margin-bottom: 1.5em;
-}
-/* =Widgets
------------------------------------------------ */
-.widget {
- margin: 0 0 30px;
-}
-/* Make sure select elements fit in widgets */
-.widget select {
- max-width: 100%;
-}
-/* Search widget */
-.widget_search .search-submit {
- display: none;
-}
-/* Categories widget */
-.widget_categories .children {
- margin-left: 1.5em;
- padding-top: 5px;
-}
-.widget_categories .children li:last-child {
- padding-bottom: 0;
-}
-/* =Infinite Scroll
------------------------------------------------ */
-/* Globally hidden elements when Infinite Scroll is supported and in use. */
-.infinite-scroll .paging-navigation,
-.infinite-scroll.neverending .site-footer {
- /* Theme Footer (when set to scrolling) */
- display: none;
-}
-/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
-.infinity-end.neverending .site-footer {
- display: block;
-}
-/* =Start custom CSS
------------------------------------------------ */
-body {
- font-size: 15px;
-}
-a {
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- transition: all 0.1s ease-in-out;
-}
-a,
-a:visited,
-a:hover,
-a:focus {
- text-decoration: none;
-}
-.main-title {
- word-wrap: break-word;
-}
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: inherit;
- font-size: 100%;
- font-style: inherit;
- font-weight: inherit;
-}
-pre {
- background: rgba(0, 0, 0, 0.05);
- font-family: inherit;
- font-size: inherit;
- line-height: normal;
- margin-bottom: 1.5em;
- padding: 20px;
- overflow: auto;
- max-width: 100%;
-}
-blockquote {
- border-left: 5px solid rgba(0, 0, 0, 0.05);
- padding: 20px;
- font-size: 1.2em;
- font-style: italic;
- margin: 0 0 1.5em;
- position: relative;
-}
-blockquote p:last-child {
- margin: 0;
-}
-table,
-th,
-td {
- border: 1px solid rgba(0, 0, 0, 0.1);
-}
-table {
- border-collapse: separate;
- border-spacing: 0;
- border-width: 1px 0 0 1px;
- margin: 0 0 1.5em;
- width: 100%;
-}
-th,
-td {
- padding: 8px;
-}
-th {
- border-width: 0 1px 1px 0;
-}
-td {
- border-width: 0 1px 1px 0;
-}
-hr {
- background-color: rgba(0, 0, 0, 0.1);
- border: 0;
- height: 1px;
- margin-bottom: 40px;
- margin-top: 40px;
-}
-fieldset {
- padding: 0;
- border: 0;
- min-width: inherit;
-}
-fieldset legend {
- padding: 0;
- margin-bottom: 1.5em;
-}
-.site-main .gallery {
- margin-bottom: 1.5em;
-}
-.gallery-item img {
- vertical-align: bottom;
-}
-.gallery-icon {
- padding: 5px;
-}
-.separate-containers .inside-article,
-.separate-containers .widget,
-.separate-containers .comments-area,
-.separate-containers .page-header,
-.separate-containers .paging-navigation {
- padding: 40px;
-}
-.one-container .comments-area {
- margin-top: 1.5em;
-}
-h1 {
- font-size: 35px;
- margin-bottom: 20px;
- line-height: 1.2em;
-}
-h2 {
- font-size: 25px;
- margin-bottom: 20px;
- line-height: 1.2em;
-}
-h3 {
- font-size: 20px;
- margin-bottom: 20px;
- line-height: 1.2em;
-}
-h4,
-h5,
-h6 {
- margin-bottom: 20px;
-}
-/* Full width inner elements */
-.inside-navigation:not(.grid-container):after,
-.inside-navigation:not(.grid-container):before,
-.inside-header:not(.grid-container):after,
-.inside-header:not(.grid-container):before,
-.inside-footer-widgets:not(.grid-container):after,
-.inside-footer-widgets:not(.grid-container):before {
- content: ".";
- display: block;
- overflow: hidden;
- visibility: hidden;
- font-size: 0;
- line-height: 0;
- width: 0;
- height: 0;
- clear: both;
-}
-/* Layout spacing */
-.one-container.both-left .inside-left-sidebar {
- margin-right: 15px;
-}
-.one-container.both-left .inside-right-sidebar {
- margin-left: 15px;
-}
-.one-container.both-right .inside-left-sidebar {
- margin-right: 15px;
-}
-.one-container.both-right .inside-right-sidebar {
- margin-left: 15px;
-}
-.site-content {
- word-wrap: break-word;
-}
-.separate-containers .site-main > *:last-child,
-.one-container .site-main > *:last-child {
- margin-bottom: 0;
-}
-.one-container .site-main {
- margin-top: 0;
- margin-bottom: 0;
-}
-.one-container .site-main {
- margin-top: 0;
- margin-left: 0;
- margin-right: 0;
-}
-.one-container .inside-right-sidebar,
-.one-container .inside-left-sidebar {
- margin-top: 0;
-}
-.one-container .inside-article {
- padding: 0 0 30px 0;
-}
-.one-container.page .inside-article {
- padding-bottom: 0;
-}
-.page-content > *:last-child,
-.entry-content > *:last-child,
-.entry-summary > *:last-child {
- margin-bottom: 0;
-}
-/* Widget styling */
-.sidebar .widget *:last-child,
-.footer-widgets .widget *:last-child {
- margin-bottom: 0;
-}
-.widget {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
-}
-.widget-title {
- margin-bottom: 30px;
- font-size: 20px;
- line-height: 1.5;
-}
-.widget ul,
-.widget ol {
- margin: 0;
-}
-.widget ul li {
- list-style-type: none;
- position: relative;
- padding-bottom: 5px;
-}
-.widget ul li ul li:before {
- opacity: .7;
-}
-.widget .search-field {
- width: 100%;
-}
-.widget:last-child,
-.separate-containers .widget:last-child {
- margin-bottom: 0;
-}
-.widget_nav_menu ul ul,
-.widget_pages ul ul {
- margin-left: 1em;
- margin-top: 5px;
-}
-.widget ul li.menu-item-has-children,
-.widget ul li.menu-item-has-children,
-.widget ul li.page_item_has_children,
-.widget ul li.page_item_has_children {
- padding-bottom: 0;
-}
-.header-widget .widget-title {
- margin-bottom: 15px;
-}
-#wp-calendar {
- table-layout: fixed;
- font-size: 80%;
-}
-#wp-calendar #prev,
-#wp-calendar #prev + .pad {
- border-right: 0;
-}
-.sidebar .grid-container {
- max-width: 100%;
- width: 100%;
-}
-.footer-widgets {
- padding: 40px 0;
-}
-.inside-footer-widgets .inner-padding {
- padding: 0 40px;
-}
-.site-info {
- text-align: center;
-}
-/* Footer bar */
-.footer-bar-active .footer-bar .widget {
- padding: 0;
-}
-.footer-bar .widget_nav_menu > div > ul {
- display: inline-block;
- vertical-align: top;
-}
-/* Footer bar aligned right */
-.footer-bar-align-right .copyright-bar {
- float: left;
-}
-.footer-bar-align-right .footer-bar {
- float: right;
- text-align: right;
-}
-/* Footer bar aligned left */
-.footer-bar-align-left .copyright-bar {
- float: right;
- text-align: right;
-}
-.footer-bar-align-left .footer-bar {
- float: left;
-}
-/* Footer bar aligned center */
-.footer-bar-align-center .copyright-bar {
- float: none;
- text-align: center;
-}
-.footer-bar-align-center .footer-bar {
- float: none;
- text-align: center;
- margin-bottom: 10px;
-}
-/* Footer bar menu */
-.footer-bar .widget_nav_menu li {
- margin: 0 10px;
- float: left;
- padding: 0;
-}
-.footer-bar .widget_nav_menu li:first-child {
- margin-left: 0;
-}
-.footer-bar .widget_nav_menu li:last-child {
- margin-right: 0;
-}
-.footer-bar .widget_nav_menu li ul {
- display: none;
-}
-/* Posts */
-.entry-title {
- margin-bottom: 0;
-}
-.entry-header {
- word-wrap: break-word;
-}
-.page-header {
- margin-bottom: 30px;
-}
-.page-header h1 {
- font-size: 25px;
-}
-.page-header .avatar {
- float: left;
- margin-right: 1.5em;
-}
-.page-header .author-info {
- overflow: hidden;
-}
-.page-header > *:last-child {
- margin-bottom: 0;
-}
-.entry-meta {
- font-size: 85%;
- margin-top: .5em;
- line-height: 1.5;
-}
-footer.entry-meta {
- margin-top: 2em;
-}
-footer.entry-meta .author:before,
-footer.entry-meta .posted-on:before,
-.cat-links:before,
-.tags-links:before,
-.comments-link:before,
-.nav-previous .prev:before,
-.nav-next .next:before {
- font-family: FontAwesome;
- font-weight: normal;
- font-style: normal;
- display: inline-block;
- text-decoration: inherit;
- position: relative;
- margin-right: 0.6em;
- width: 13px;
- text-align: center;
- speak: none;
-}
-footer.entry-meta .author:before {
- content: "\f007";
-}
-footer.entry-meta .posted-on:before {
- content: "\f073";
-}
-.cat-links:before {
- content: "\f07b";
-}
-.tags-links:before {
- content: "\f02c";
-}
-.comments-link:before {
- content: "\f086";
-}
-.nav-previous .prev:before {
- content: "\f104";
-}
-.nav-next .next:before {
- content: "\f105";
-}
-.cat-links,
-.tags-links,
-.comments-link,
-footer.entry-meta .posted-on,
-footer.entry-meta .byline {
- display: block;
-}
-.taxonomy-description p:last-child {
- margin-bottom: 0;
-}
-.paging-navigation:before,
-.paging-navigation:after {
- content: ".";
- display: block;
- overflow: hidden;
- visibility: hidden;
- font-size: 0;
- line-height: 0;
- width: 0;
- height: 0;
-}
-.paging-navigation:after {
- clear: both;
-}
-.paging-navigation .nav-previous,
-.paging-navigation .nav-next {
- display: none;
-}
-.comment-respond {
- margin-top: 0;
-}
-.read-more-container {
- margin-bottom: 0;
-}
-.site-main .post-navigation {
- margin-bottom: 0;
-}
-/* Site header */
-.main-title {
- margin: 0;
- font-size: 50px;
- line-height: 1.2em;
-}
-.site-logo {
- display: inline-block;
- *display: inline;
- *zoom: 1;
- max-width: 100%;
-}
-.site-description {
- margin: 0;
- line-height: 1.5;
-}
-.header-widget {
- float: right;
- overflow: hidden;
- max-width: 50%;
-}
-.header-widget .widget {
- padding: 0 0 20px;
- margin-bottom: 0;
-}
-.header-widget .widget:last-child {
- padding-bottom: 0;
-}
-.nav-float-right .header-widget .widget {
- padding: 0 0 10px;
-}
-.nav-float-right .header-widget .widget:last-child {
- padding-bottom: 0;
-}
-.nav-float-right .header-widget {
- position: relative;
- top: -10px;
-}
-.post-image {
- margin: 2em 0 0;
-}
-/* Page Header Add-on */
-.page-header-image,
-.page-header-image-single {
- line-height: 0;
- /* no more weird spacing */
-}
-.separate-containers .page-header-image,
-.separate-containers .page-header-content {
- margin-top: 30px;
-}
-.inside-page-header {
- padding: 40px;
-}
-.separate-containers .page-header-image-single,
-.separate-containers .page-header-content-single {
- margin-top: 30px;
-}
-.separate-containers .inside-article .page-header-image-single,
-.separate-containers .inside-article .page-header-content-single,
-.one-container .inside-article .page-header-image-single,
-.one-container .inside-article .page-header-content-single,
-.separate-containers .inside-article .page-header-image,
-.separate-containers .inside-article .page-header-content,
-.one-container .inside-article .page-header-image,
-.one-container .inside-article .page-header-content {
- margin-bottom: 2em;
- margin-top: 0;
-}
-.inside-article .page-header-image-single.page-header-below-title {
- margin-top: 2em;
-}
-/* Full width template */
-.full-width-content .container.grid-container {
- max-width: 100%;
-}
-.full-width-content.no-sidebar.separate-containers .site-main {
- margin: 0;
-}
-.full-width-content.separate-containers .inside-article,
-.full-width-content.one-container .site-content {
- padding: 0;
-}
-/* WooCommerce */
-.woocommerce .page-header-image-single {
- display: none;
-}
-.woocommerce .entry-content,
-.woocommerce .product .entry-summary {
- margin-top: 0;
-}
-.related.products {
- clear: both;
-}
-.checkout-subscribe-prompt.clear {
- visibility: visible;
- height: initial;
- width: initial;
-}
-/* bbPress */
-#bbpress-forums ul.bbp-lead-topic,
-#bbpress-forums ul.bbp-topics,
-#bbpress-forums ul.bbp-forums,
-#bbpress-forums ul.bbp-replies,
-#bbpress-forums ul.bbp-search-results,
-#bbpress-forums,
-div.bbp-breadcrumb,
-div.bbp-topic-tags {
- font-size: inherit;
-}
-.single-forum #subscription-toggle {
- display: block;
- margin: 1em 0;
- clear: left;
-}
-#bbpress-forums .bbp-search-form {
- margin-bottom: 10px;
-}
-.bbp-login-form fieldset {
- border: 0;
- padding: 0;
-}
-/* BuddyPress */
-#buddypress form#whats-new-form #whats-new-options[style] {
- min-height: 6rem;
- overflow: visible;
-}
-/* SiteOrigin Page Builder */
-.so-panel.widget {
- padding: 0;
-}
-/* Beaver Builder */
-.fl-builder.no-sidebar .container.grid-container {
- max-width: 100%;
-}
-.fl-builder.one-container.no-sidebar .site-content {
- padding: 0;
-}
-/* MailChimp CSS */
-#mc_embed_signup .clear {
- display: block;
- height: auto;
- visibility: visible;
- width: auto;
-}
-/* Bootstrap fix */
-.container.grid-container {
- width: auto;
-}
-/* Menu class for items to float right */
-.sf-menu > li.menu-item-float-right {
- float: right !important;
-}
-/* Back to top icon */
-.stylepress-back-to-top,
-.stylepress-back-to-top:visited {
- font-size: 20px;
- background: rgba(0, 0, 0, 0.4);
- color: #FFF;
- border-radius: 3px;
- position: fixed;
- bottom: 30px;
- right: 30px;
- line-height: 40px;
- width: 40px;
- text-align: center;
- z-index: 10;
-}
-.stylepress-back-to-top:hover,
-.stylepress-back-to-top:focus {
- background: rgba(0, 0, 0, 0.6);
- color: #FFF;
-}
-.stylepress-back-to-top .screen-reader-text {
- left: 0;
-}
-/* Mobile menu */
-.menu-toggle,
-.mobile-bar-items {
- display: none;
- cursor: pointer;
-}
-/*
- * Backwards compatibility until Slideout is updated
- * GP Premium 1.2.93
- */
-.slideout-navigation .menu-item-has-children .dropdown-menu-toggle {
- float: right;
-}
-body {
- background-color: #FFF;
- color: #3a3a3a;
-}
-a,
-a:visited {
- color: #1e73be;
- text-decoration: none;
-}
-a:hover,
-a:focus,
-a:active {
- color: #000000;
- text-decoration: none;
-}
-body .grid-container {
- max-width: 1100px;
-}
-.site-header {
- background-color: #ffffff;
- color: #3a3a3a;
-}
-.site-header a,
-.site-header a:visited {
- color: #3a3a3a;
-}
-.main-title a,
-.main-title a:hover,
-.main-title a:visited {
- color: #222222;
-}
-.site-description {
- color: #999999;
-}
-.main-navigation,
-.main-navigation ul ul {
- background-color: rgba(239, 239, 239, 0.44);
-}
-.main-navigation .main-nav ul li a,
-.menu-toggle {
- color: #000;
-}
-.main-navigation .main-nav ul li > a:hover,
-.main-navigation .main-nav ul li > a:focus,
-.main-navigation .main-nav ul li.sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-button.menu-toggle:hover,
-button.menu-toggle:focus,
-.main-navigation .mobile-bar-items a,
-.main-navigation .mobile-bar-items a:hover,
-.main-navigation .mobile-bar-items a:focus {
- color: #ffffff;
-}
-.main-navigation .main-nav ul li[class*="current-menu-"] > a {
- color: #000;
- background-color: #eaeaea;
-}
-.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
-.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-.main-navigation ul ul {
- background-color: #eaeaea;
-}
-.main-navigation .main-nav ul ul li a {
- color: #ffffff;
-}
-.main-navigation .main-nav ul ul li > a:hover,
-.main-navigation .main-nav ul ul li > a:focus,
-.main-navigation .main-nav ul ul li.sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
- color: #000;
- background-color: #eaeaea;
-}
-.main-navigation .main-nav ul ul li[class*="current-menu-"] > a:hover,
-.main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-.separate-containers .inside-article,
-.separate-containers .comments-area,
-.separate-containers .page-header,
-.one-container .container,
-.separate-containers .paging-navigation,
-.inside-page-header {
- background-color: rgba(239, 239, 239, 0.44);
-}
-.entry-meta {
- color: #888888;
-}
-.entry-meta a,
-.entry-meta a:visited {
- color: #666666;
-}
-.entry-meta a:hover {
- color: #1e73be;
-}
-.sidebar .widget {
- background-color: rgba(239, 239, 239, 0.44);
-}
-.sidebar .widget .widget-title {
- color: #000000;
-}
-.footer-widgets {
- background-color: #ffffff;
-}
-.footer-widgets .widget-title {
- color: #000000;
-}
-.site-info {
- color: #000;
- background-color: rgba(239, 239, 239, 0.44);
-}
-.site-info a,
-.site-info a:visited {
- color: #ffffff;
-}
-.site-info a:hover {
- color: #606060;
-}
-.footer-bar .widget_nav_menu .current-menu-item a {
- color: #606060;
-}
-input[type="text"],
-input[type="email"],
-input[type="url"],
-input[type="password"],
-input[type="search"],
-textarea {
- color: #666666;
- background-color: #fafafa;
- border-color: #cccccc;
-}
-input[type="text"]:focus,
-input[type="email"]:focus,
-input[type="url"]:focus,
-input[type="password"]:focus,
-input[type="search"]:focus,
-textarea:focus {
- color: #666666;
- background-color: #ffffff;
- border-color: #bfbfbf;
-}
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"],
-.button,
-.button:visited {
- color: #ffffff;
- background-color: #666666;
-}
-button:hover,
-html input[type="button"]:hover,
-input[type="reset"]:hover,
-input[type="submit"]:hover,
-.button:hover,
-button:focus,
-html input[type="button"]:focus,
-input[type="reset"]:focus,
-input[type="submit"]:focus,
-.button:focus {
- color: #666666;
- background-color: #eaeaea;
-}
-.main-navigation ul ul {
- top: auto;
-}
-@media (max-width: 768px) {
- .separate-containers .inside-article,
- .separate-containers .comments-area,
- .separate-containers .page-header,
- .separate-containers .paging-navigation,
- .one-container .site-content {
- padding: 30px;
- }
-}
diff --git a/assets/css/theme-overwrites.less b/assets/css/theme-overwrites.less
deleted file mode 100644
index f8001fa..0000000
--- a/assets/css/theme-overwrites.less
+++ /dev/null
@@ -1,2036 +0,0 @@
-/* =Reset
--------------------------------------------------------------- */
-
-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, font, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
- border: 0;
- margin: 0;
- outline: 0;
- padding: 0;
-}
-
-html {
- font-family: sans-serif;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
-}
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-main,
-nav,
-section {
- display: block;
-}
-
-audio,
-canvas,
-progress,
-video {
- display: inline-block;
- vertical-align: baseline;
-}
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-[hidden],
-template {
- display: none;
-}
-
-ol, ul {
- list-style: none;
-}
-
-table { /* tables still need 'cellspacing="0"' in the markup */
- border-collapse: separate;
- border-spacing: 0;
-}
-
-caption, th, td {
- font-weight: normal;
- text-align: left;
- padding: 5px;
-}
-
-blockquote:before, blockquote:after,
-q:before, q:after {
- content: "";
-}
-
-blockquote, q {
- quotes: "" "";
-}
-
-a {
- background-color: transparent;
-}
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-a img {
- border: 0;
-}
-
-/* =Global
------------------------------------------------ */
-
-body,
-button,
-input,
-select,
-textarea {
- font-family: sans-serif;
- font-size: 16px;
- font-size: 1.6rem;
- line-height: 1.5;
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- transition: all 0.1s ease-in-out;
-}
-
-hr {
- background-color: #ccc;
- border: 0;
- height: 1px;
- margin-bottom: 40px;
- margin-top: 40px;
-}
-
-/* Text elements */
-p {
- margin-bottom: 1.5em;
-}
-
-ul, ol {
- margin: 0 0 1.5em 3em;
-}
-
-ul {
- list-style: disc;
-}
-
-ol {
- list-style: decimal;
-}
-
-li > ul,
-li > ol {
- margin-bottom: 0;
- margin-left: 1.5em;
-}
-
-dt {
- font-weight: bold;
-}
-
-dd {
- margin: 0 1.5em 1.5em;
-}
-
-b, strong {
- font-weight: bold;
-}
-
-dfn, cite, em, i {
- font-style: italic;
-}
-
-blockquote {
- margin: 0 1.5em 1.5em;
-}
-
-address {
- margin: 0 0 1.5em;
-}
-
-pre {
- background: #eee;
- font-family: "Courier 10 Pitch", Courier, monospace;
- font-size: 15px;
- font-size: 1.5rem;
- line-height: 1.6;
- margin-bottom: 1.6em;
- padding: 1.6em;
- overflow: auto;
- max-width: 100%;
-}
-
-code, kbd, tt, var {
- font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
-}
-
-abbr, acronym {
- border-bottom: 1px dotted #666;
- cursor: help;
-}
-
-mark, ins {
- text-decoration: none;
-}
-
-sup,
-sub {
- font-size: 75%;
- height: 0;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-
-sup {
- bottom: 1ex;
-}
-
-sub {
- top: .5ex;
-}
-
-small {
- font-size: 75%;
-}
-
-big {
- font-size: 125%;
-}
-
-figure {
- margin: 0;
-}
-
-table {
- margin: 0 0 1.5em;
- width: 100%;
-}
-
-th {
- font-weight: bold;
-}
-
-img {
- height: auto; /* Make sure images are scaled correctly. */
- max-width: 100%; /* Adhere to container width. */
-}
-
-button,
-input,
-select,
-textarea {
- font-size: 100%; /* Corrects font size not being inherited in all browsers */
- margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
- vertical-align: baseline; /* Improves appearance and consistency in all browsers */
- *vertical-align: middle; /* Improves appearance and consistency in all browsers */
-}
-
-button,
-input {
- line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
-}
-
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"] {
- border: 0;
- background: #666;
- cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
- -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
- padding: 10px 20px;
- color: #FFF;
-}
-
-button:hover,
-html input[type="button"]:hover,
-input[type="reset"]:hover,
-input[type="submit"]:hover {
- background: #606060;
-}
-
-button:focus,
-html input[type="button"]:focus,
-input[type="reset"]:focus,
-input[type="submit"]:focus,
-button:active,
-html input[type="button"]:active,
-input[type="reset"]:active,
-input[type="submit"]:active {
- background: #606060;
-}
-
-.button {
- padding: 10px 20px;
- display: inline-block;
- *display: inline;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
- padding: 0; /* Addresses excess padding in IE8/9 */
-}
-
-input[type="search"] {
- -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
- -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
- -moz-box-sizing: content-box;
- box-sizing: content-box;
-}
-
-input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
- -webkit-appearance: none;
-}
-
-button::-moz-focus-inner,
-input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
- border: 0;
- padding: 0;
-}
-
-input[type="text"],
-input[type="email"],
-input[type="url"],
-input[type="password"],
-input[type="search"],
-input[type="tel"],
-textarea {
- background: #FAFAFA;
- color: #666;
- border: 1px solid #ccc;
- border-radius: 0px;
- padding: 10px 15px;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- max-width: 100%;
-}
-
-input[type="text"]:focus,
-input[type="email"]:focus,
-input[type="url"]:focus,
-input[type="password"]:focus,
-input[type="tel"]:focus,
-input[type="search"]:focus,
-textarea:focus {
- color: #111;
- background: #FFF;
-}
-
-textarea {
- overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
- vertical-align: top; /* Improves readability and alignment in all browsers */
- width: 100%;
-}
-
-input[type="file"] {
- max-width: 100%;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-/* Alignment */
-.alignleft {
- display: inline;
- float: left;
- margin-right: 1.5em;
-}
-
-.alignright {
- display: inline;
- float: right;
- margin-left: 1.5em;
-}
-
-.aligncenter {
- clear: both;
- display: block;
- margin: 0 auto;
-}
-
-.size-auto,
-.size-full,
-.size-large,
-.size-medium,
-.size-thumbnail {
- max-width: 100%;
- height: auto;
-}
-
-/* Text meant only for screen readers */
-.screen-reader-text {
- clip: rect(1px, 1px, 1px, 1px);
- position: absolute !important;
-}
-
-.screen-reader-text:hover,
-.screen-reader-text:active,
-.screen-reader-text:focus {
- background-color: #f1f1f1;
- border-radius: 3px;
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
- clip: auto !important;
- color: #21759b;
- display: block;
- font-size: 14px;
- font-weight: bold;
- height: auto;
- left: 5px;
- line-height: normal;
- padding: 15px 23px 14px;
- text-decoration: none;
- top: 5px;
- width: auto;
- z-index: 100000; /* Above WP toolbar */
-}
-
-/* Clearing */
-.clear:before,
-.clear:after,
-[class*="content"]:before,
-[class*="content"]:after,
-[class*="site"]:before,
-[class*="site"]:after {
- content: '';
- display: table;
-}
-
-.clear:after,
-[class*="content"]:after,
-[class*="site"]:after {
- clear: both;
-}
-
-/* =Menu
------------------------------------------------ */
-
-.main-navigation {
- z-index: 100;
-}
-
-.main-navigation {
- padding: 0;
-}
-
-.main-navigation ul li a {
- display: block;
-}
-
-.menu-toggle {
- margin: 0;
- padding: 0;
-}
-
-.menu-toggle:before {
- content: "\f0c9";
- font-family: FontAwesome;
- line-height: 1em;
- speak: none;
-}
-
-.toggled .menu-toggle:before {
- content: "\f00d";
- speak: none;
-}
-
-.menu-toggle .mobile-menu {
- margin-left: 10px;
-}
-
-.menu-toggle .mobile-menu:empty {
- display: none;
-}
-
-.main-navigation .main-nav ul ul li a {
- line-height: normal;
- padding: 10px 20px;
-}
-
-.main-navigation {
- clear: both;
- display: block;
-}
-
-.inside-navigation {
- position: relative;
-}
-
-.main-navigation ul,
-.menu-toggle li.search-item {
- list-style: none;
- margin: 0;
- padding-left: 0;
-}
-
-.search-item .screen-reader-text {
- top: 0;
- right: 0;
- left: auto;
-}
-
-.main-navigation li {
- float: left;
- position: relative;
-}
-
-.main-navigation a {
- display: block;
- text-decoration: none;
-}
-
-.main-navigation ul ul {
- box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
- display: none;
- float: left;
- position: absolute;
- left: 0;
- z-index: 99999;
- width: 200px;
- text-align: left;
- top: auto;
-}
-
-.main-navigation ul ul ul {
- left: 100%;
- top: 0;
-}
-
-.main-navigation ul ul a {
- display: block;
-}
-
-.main-navigation ul ul li {
- width: 100%;
-}
-
-.main-navigation ul li:hover > ul,
-.main-navigation ul li.sfHover > ul,
-.secondary-navigation ul li:hover > ul,
-.secondary-navigation ul li.sfHover > ul {
- display: block;
-}
-
-.dropdown-click .main-navigation ul li:hover > ul,
-.dropdown-click .main-navigation ul li.sfHover > ul,
-.dropdown-click .secondary-navigation ul li:hover > ul,
-.dropdown-click .secondary-navigation ul li.sfHover > ul {
- display: none;
-}
-
-.dropdown-click .main-navigation ul.toggled-on,
-.dropdown-click .main-navigation ul li:hover > ul.toggled-on,
-.dropdown-click .main-navigation ul li.sfHover > ul.toggled-on,
-.dropdown-click .secondary-navigation ul.toggled-on,
-.dropdown-click .secondary-navigation ul li:hover > ul.toggled-on,
-.dropdown-click .secondary-navigation ul li.sfHover > ul.toggled-on {
- display: block;
-}
-
-.dropdown-click nav ul ul ul {
- background-color: transparent;
-}
-
-.nav-float-right .inside-header .main-navigation {
- float: right;
- clear: right;
-}
-
-.nav-float-left .inside-header .main-navigation {
- float: left;
- clear: left;
-}
-
-.nav-float-left .inside-header .site-branding,
-.nav-float-left .inside-header .site-logo {
- float: right;
- clear: right;
-}
-
-.nav-float-left .inside-header:after {
- clear: both;
- content: '';
- display: table;
-}
-
-.nav-float-right .inside-header .site-branding {
- display: inline-block;
-}
-
-.site-header {
- position: relative;
-}
-
-.header-aligned-left .site-header {
- text-align: left;
-}
-
-.header-aligned-center .site-header {
- text-align: center;
-}
-
-.header-aligned-right .site-header {
- text-align: right;
-}
-
-.site-header .header-image {
- vertical-align: middle;
-}
-
-.main-navigation .main-nav ul ul li a,
-.nav-float-right .main-navigation .main-nav ul ul li a {
- line-height: normal;
-}
-
-.nav-float-right .main-navigation ul ul ul {
- top: 0
-}
-
-.main-navigation li.search-item {
- float: right;
- z-index: 21;
-}
-
-.rtl .main-navigation li.search-item,
-.rtl.nav-aligned-right.nav-below-header .main-navigation .menu > li.search-item {
- float: left;
-}
-
-.nav-aligned-center .main-navigation li.search-item.current-menu-item {
- position: absolute;
- right: 0;
-}
-
-.rtl.nav-aligned-center .main-navigation li.search-item.current-menu-item {
- position: absolute;
- left: 0;
-}
-
-.main-navigation li.search-item i {
- transform: rotate(90deg);
-}
-
-.navigation-search {
- position: absolute;
- right: 0;
- display: none;
- z-index: 20;
- width: 100%;
- top: 0;
-}
-
-.gen-sidebar-nav .navigation-search {
- top: auto;
- bottom: 0;
-}
-
-.navigation-search input {
- border: 0;
- vertical-align: bottom;
- line-height: 0;
- opacity: 0.9;
- width: 100%;
- z-index: 20;
- border-radius: 0;
- -webkit-appearance: none;
-}
-
-.navigation-search input::-ms-clear {
- display: none;
- width: 0;
- height: 0;
-}
-
-.navigation-search input::-ms-reveal {
- display: none;
- width: 0;
- height: 0;
-}
-
-.navigation-search input::-webkit-search-decoration,
-.navigation-search input::-webkit-search-cancel-button,
-.navigation-search input::-webkit-search-results-button,
-.navigation-search input::-webkit-search-results-decoration {
- display: none;
-}
-
-.nav-left-sidebar .main-navigation li.search-item,
-.nav-right-sidebar .main-navigation li.search-item {
- width: auto;
- display: inline-block;
-}
-
-.nav-left-sidebar .main-navigation li.search-item.current-menu-item,
-.nav-right-sidebar .main-navigation li.search-item.current-menu-item {
- float: right;
-}
-
-.navigation-search input:focus {
- outline: 0;
-}
-
-.nav-aligned-right.nav-below-header .main-navigation .menu > li,
-.nav-aligned-right.nav-above-header .main-navigation .menu > li,
-.nav-aligned-center.nav-below-header .main-navigation .menu > li,
-.nav-aligned-center.nav-above-header .main-navigation .menu > li {
- float: none;
- display: inline-block;
- *display: inline;
- *zoom: 1;
-}
-
-.nav-aligned-right .main-navigation ul,
-.nav-aligned-center .main-navigation ul {
- letter-spacing: -0.31em;
- font-size: 1em;
-}
-
-.nav-aligned-right .main-navigation ul li,
-.nav-aligned-center .main-navigation ul li {
- letter-spacing: normal;
-}
-
-.nav-aligned-left.nav-below-header .main-navigation,
-.nav-aligned-left.nav-above-header .main-navigation {
- text-align: left;
-}
-
-.nav-aligned-center.nav-below-header .main-navigation,
-.nav-aligned-center.nav-above-header .main-navigation {
- text-align: center;
-}
-
-.nav-aligned-right.nav-below-header .main-navigation,
-.nav-aligned-right.nav-above-header .main-navigation {
- text-align: right;
-}
-
-.main-navigation ul li .dropdown-toggle,
-.secondary-navigation ul li .dropdown-toggle {
- display: none;
-}
-
-.menu-item-has-children .dropdown-menu-toggle {
- display: inline-block;
- height: 100%;
- clear: both;
- padding-left: 10px;
-}
-
-nav ul ul .menu-item-has-children .dropdown-menu-toggle {
- float: right;
-}
-
-nav:not(.toggled):not(.slideout-navigation) ul ul .menu-item-has-children .dropdown-menu-toggle {
- padding-right: 15px;
-}
-
-.sidebar .menu-item-has-children .dropdown-menu-toggle {
- float: right;
-}
-
-.dropdown-menu-toggle:before {
- content: "\f107";
- font-family: FontAwesome;
- line-height: 1em;
- speak: none;
-}
-
-.dropdown-click .menu-item-has-children.sfHover > a .dropdown-menu-toggle:before {
- content: "\f106";
-}
-
-.dropdown-hover .sub-menu .dropdown-menu-toggle:before,
-.dropdown-hover .children .dropdown-menu-toggle:before {
- content: "\f105";
-}
-
-.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle:before,
-.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle:before {
- content: "\f104";
-}
-
-.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle:before,
-.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle:before {
- content: "\f105";
-}
-
-.dropdown-click .main-navigation ul ul ul,
-.dropdown-click .secondary-navigation ul ul ul {
- left: 0;
- top: auto;
- position: relative;
-}
-
-.dropdown-click.both-right .widget-area .secondary-navigation ul ul,
-.dropdown-click.right-sidebar .widget-area .secondary-navigation ul ul,
-.dropdown-click.both-sidebars .widget-area .inside-right-sidebar .secondary-navigation ul ul {
- right: 0;
-}
-
-.dropdown-click .widget-area .main-navigation ul ul,
-.dropdown-click .widget-area .secondary-navigation ul ul {
- left: 0;
- right: 0;
- top: auto;
- position: relative;
- float: none;
- width: 100%;
-}
-
-.main-navigation .main-nav ul li.menu-item-has-children > a,
-.secondary-navigation .main-nav ul li.menu-item-has-children > a {
- padding-right: 0;
- position: relative;
-}
-
-.widget-area .main-navigation li,
-.widget-area .secondary-navigation li {
- float: none;
- display: block;
- width: 100%;
- padding: 0;
- margin: 0;
-}
-
-.widget-area .main-navigation ul ul,
-.widget-area .secondary-navigation ul ul {
- top: 0;
- left: 100%;
- width: 220px;
-}
-
-.dropdown-hover.both-right .widget-area .main-navigation ul ul,
-.dropdown-hover.right-sidebar .widget-area .main-navigation ul ul,
-.dropdown-hover.both-sidebars .widget-area .inside-right-sidebar .main-navigation ul ul {
- right: 100%;
- left: auto;
-}
-
-.slideout-navigation .dropdown-menu-toggle:before {
- content: "\f107" !important;
-}
-
-.slideout-navigation .sfHover > a .dropdown-menu-toggle:before {
- content: "\f106" !important;
-}
-
-/* =Content
------------------------------------------------ */
-
-.sticky {
-}
-
-.post {
- margin: 0 0 2em;
-}
-
-.posted-on .updated {
- display: none;
-}
-
-.byline {
- display: inline;
-}
-
-.single .byline,
-.group-blog .byline {
- display: inline;
-}
-
-.page-content,
-.entry-content,
-.entry-summary {
- margin: 2em 0 0;
-}
-
-.page-links {
- clear: both;
- margin: 0 0 1.5em;
-}
-
-.blog .format-status .entry-title,
-.archive .format-status .entry-title,
-.blog .format-aside .entry-header,
-.archive .format-aside .entry-header,
-.blog .format-status .entry-header,
-.archive .format-status .entry-header,
-.blog .format-status .entry-meta,
-.archive .format-status .entry-meta {
- display: none;
-}
-
-.blog .format-aside .entry-content,
-.archive .format-aside .entry-content,
-.blog .format-status .entry-content,
-.archive .format-status .entry-content {
- margin-top: 0;
-}
-
-.blog .format-status .entry-content p:last-child,
-.archive .format-status .entry-content p:last-child {
- margin-bottom: 0;
-}
-
-/* =Media
------------------------------------------------ */
-
-.page-content img.wp-smiley,
-.entry-content img.wp-smiley,
-.comment-content img.wp-smiley {
- border: none;
- margin-bottom: 0;
- margin-top: 0;
- padding: 0;
-}
-
-.wp-caption {
- margin-bottom: 1.5em;
- max-width: 100%;
- position: relative;
-}
-
-.wp-caption img[class*="wp-image-"] {
- display: block;
- margin: 0 auto 0;
- max-width: 100%;
-}
-
-.wp-caption .wp-caption-text {
- font-size: 75%;
- padding-top: 5px;
- opacity: 0.8;
-}
-
-.wp-caption img {
- position: relative;
- vertical-align: bottom;
-}
-
-/*--------------------------------------------------------------
-## Galleries
---------------------------------------------------------------*/
-.gallery {
- margin-bottom: 1.5em;
-}
-
-.gallery-item {
- display: inline-block;
- text-align: center;
- vertical-align: top;
- width: 100%;
-}
-
-.gallery-columns-2 .gallery-item {
- max-width: 50%;
-}
-
-.gallery-columns-3 .gallery-item {
- max-width: 33.33%;
-}
-
-.gallery-columns-4 .gallery-item {
- max-width: 25%;
-}
-
-.gallery-columns-5 .gallery-item {
- max-width: 20%;
-}
-
-.gallery-columns-6 .gallery-item {
- max-width: 16.66%;
-}
-
-.gallery-columns-7 .gallery-item {
- max-width: 14.28%;
-}
-
-.gallery-columns-8 .gallery-item {
- max-width: 12.5%;
-}
-
-.gallery-columns-9 .gallery-item {
- max-width: 11.11%;
-}
-
-.gallery-caption {
- display: block;
-}
-
-/* Make sure embeds and iframes fit their containers */
-embed,
-iframe,
-object {
- max-width: 100%;
-}
-
-/* =Navigation
------------------------------------------------ */
-
-.site-main [class*="navigation"] {
- margin: 0 0 2em;
- overflow: hidden;
-}
-
-/* =Comments
------------------------------------------------ */
-
-.comment-content a {
- word-wrap: break-word;
-}
-
-.bypostauthor {
-}
-
-.comment,
-.comment-list {
- list-style-type: none;
- padding: 0;
- margin: 0;
-}
-
-.comment-author-info {
- display: inline-block;
- *display: inline;
- *zoom: 1;
- vertical-align: middle;
-}
-
-.comment-meta .avatar {
- float: left;
- margin-right: 10px;
- -moz-border-radius: 50%;
- -webkit-border-radius: 50%;
- border-radius: 50%;
-}
-
-.comment-author cite {
- font-style: normal;
- font-weight: bold;
-}
-
-.entry-meta.comment-metadata {
- margin-top: 0;
-}
-
-.comment-content {
- margin-top: 1.5em;
-}
-
-.comment-respond {
- margin-top: 1.5em;
-}
-
-.comment-form > .form-submit {
- margin-bottom: 0;
-}
-
-.comment-form input,
-.comment-form-comment {
- margin-bottom: 10px;
-}
-
-.comment-form #author,
-.comment-form #email,
-.comment-form #url {
- display: block;
-}
-
-.comment-metadata .edit-link:before {
- display: none;
-}
-
-.comment-body {
- padding: 30px 0;
-}
-
-.comment-content {
- padding: 30px;
- border: 1px solid rgba(0, 0, 0, 0.05);
-}
-
-.depth-1.parent > .children {
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
-}
-
-.comment .children {
- padding-left: 30px;
- margin-top: -30px;
- border-left: 1px solid rgba(0, 0, 0, 0.05);
-}
-
-.pingback .comment-body,
-.trackback .comment-body {
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
-}
-
-.pingback .edit-link {
- font-size: 13px;
-}
-
-.comment-content p:last-child {
- margin-bottom: 0;
-}
-
-.comment-list > .comment:first-child {
- padding-top: 0;
- margin-top: 0;
- border-top: 0;
-}
-
-ol.comment-list {
- margin-bottom: 1.5em;
-}
-
-/* =Widgets
------------------------------------------------ */
-
-.widget {
- margin: 0 0 30px;
-}
-
-/* Make sure select elements fit in widgets */
-.widget select {
- max-width: 100%;
-}
-
-/* Search widget */
-.widget_search .search-submit {
- display: none;
-}
-
-/* Categories widget */
-.widget_categories .children {
- margin-left: 1.5em;
- padding-top: 5px;
-}
-
-.widget_categories .children li:last-child {
- padding-bottom: 0;
-}
-
-/* =Infinite Scroll
------------------------------------------------ */
-
-/* Globally hidden elements when Infinite Scroll is supported and in use. */
-.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
-.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
- display: none;
-}
-
-/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
-.infinity-end.neverending .site-footer {
- display: block;
-}
-
-/* =Start custom CSS
------------------------------------------------ */
-
-body {
- font-size: 15px;
-}
-
-a {
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- transition: all 0.1s ease-in-out;
-}
-
-a, a:visited, a:hover, a:focus {
- text-decoration: none;
-}
-
-.main-title {
- word-wrap: break-word;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: inherit;
- font-size: 100%;
- font-style: inherit;
- font-weight: inherit;
-}
-
-pre {
- background: rgba(0, 0, 0, 0.05);
- font-family: inherit;
- font-size: inherit;
- line-height: normal;
- margin-bottom: 1.5em;
- padding: 20px;
- overflow: auto;
- max-width: 100%;
-}
-
-blockquote {
- border-left: 5px solid rgba(0, 0, 0, 0.05);
- padding: 20px;
- font-size: 1.2em;
- font-style: italic;
- margin: 0 0 1.5em;
- position: relative;
-}
-
-blockquote p:last-child {
- margin: 0;
-}
-
-table, th, td {
- border: 1px solid rgba(0, 0, 0, 0.1);
-}
-
-table {
- border-collapse: separate;
- border-spacing: 0;
- border-width: 1px 0 0 1px;
- margin: 0 0 1.5em;
- width: 100%;
-}
-
-th,
-td {
- padding: 8px;
-}
-
-th {
- border-width: 0 1px 1px 0;
-}
-
-td {
- border-width: 0 1px 1px 0;
-}
-
-hr {
- background-color: rgba(0, 0, 0, 0.1);
- border: 0;
- height: 1px;
- margin-bottom: 40px;
- margin-top: 40px;
-}
-
-fieldset {
- padding: 0;
- border: 0;
- min-width: inherit;
-}
-
-fieldset legend {
- padding: 0;
- margin-bottom: 1.5em;
-}
-
-.site-main .gallery {
- margin-bottom: 1.5em;
-}
-
-.gallery-item img {
- vertical-align: bottom;
-}
-
-.gallery-icon {
- padding: 5px;
-}
-
-.separate-containers .inside-article,
-.separate-containers .widget,
-.separate-containers .comments-area,
-.separate-containers .page-header,
-.separate-containers .paging-navigation {
- padding: 40px;
-}
-
-.one-container .comments-area {
- margin-top: 1.5em;
-}
-
-h1 {
- font-size: 35px;
- margin-bottom: 20px;
- line-height: 1.2em;
-}
-
-h2 {
- font-size: 25px;
- margin-bottom: 20px;
- line-height: 1.2em;
-}
-
-h3 {
- font-size: 20px;
- margin-bottom: 20px;
- line-height: 1.2em;
-}
-
-h4, h5, h6 {
- margin-bottom: 20px;
-}
-
-/* Full width inner elements */
-.inside-navigation:not(.grid-container):after,
-.inside-navigation:not(.grid-container):before,
-.inside-header:not(.grid-container):after,
-.inside-header:not(.grid-container):before,
-.inside-footer-widgets:not(.grid-container):after,
-.inside-footer-widgets:not(.grid-container):before {
- content: ".";
- display: block;
- overflow: hidden;
- visibility: hidden;
- font-size: 0;
- line-height: 0;
- width: 0;
- height: 0;
- clear: both;
-}
-
-/* Layout spacing */
-.one-container.both-left .inside-left-sidebar {
- margin-right: 15px;
-}
-
-.one-container.both-left .inside-right-sidebar {
- margin-left: 15px;
-}
-
-.one-container.both-right .inside-left-sidebar {
- margin-right: 15px;
-}
-
-.one-container.both-right .inside-right-sidebar {
- margin-left: 15px;
-}
-
-.site-content {
- word-wrap: break-word;
-}
-
-.separate-containers .site-main > *:last-child,
-.one-container .site-main > *:last-child {
- margin-bottom: 0;
-}
-
-.one-container .site-main {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.one-container .site-main {
- margin-top: 0;
- margin-left: 0;
- margin-right: 0;
-}
-
-.one-container .inside-right-sidebar,
-.one-container .inside-left-sidebar {
- margin-top: 0;
-}
-
-.one-container .inside-article {
- padding: 0 0 30px 0;
-}
-
-.one-container.page .inside-article {
- padding-bottom: 0;
-}
-
-.page-content > *:last-child,
-.entry-content > *:last-child,
-.entry-summary > *:last-child {
- margin-bottom: 0;
-}
-
-/* Widget styling */
-.sidebar .widget *:last-child,
-.footer-widgets .widget *:last-child {
- margin-bottom: 0;
-}
-
-.widget {
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
-}
-
-.widget-title {
- margin-bottom: 30px;
- font-size: 20px;
- line-height: 1.5;
-}
-
-.widget ul,
-.widget ol {
- margin: 0;
-}
-
-.widget ul li {
- list-style-type: none;
- position: relative;
- padding-bottom: 5px;
-}
-
-.widget ul li ul li:before {
- opacity: .7;
-}
-
-.widget .search-field {
- width: 100%;
-}
-
-.widget:last-child,
-.separate-containers .widget:last-child {
- margin-bottom: 0;
-}
-
-.widget_nav_menu ul ul,
-.widget_pages ul ul {
- margin-left: 1em;
- margin-top: 5px;
-}
-
-.widget ul li.menu-item-has-children,
-.widget ul li.menu-item-has-children,
-.widget ul li.page_item_has_children,
-.widget ul li.page_item_has_children {
- padding-bottom: 0;
-}
-
-.header-widget .widget-title {
- margin-bottom: 15px;
-}
-
-#wp-calendar {
- table-layout: fixed;
- font-size: 80%;
-}
-
-#wp-calendar #prev,
-#wp-calendar #prev + .pad {
- border-right: 0;
-}
-
-.sidebar .grid-container {
- max-width: 100%;
- width: 100%;
-}
-
-.footer-widgets {
- padding: 40px 0;
-}
-
-.inside-footer-widgets .inner-padding {
- padding: 0 40px;
-}
-
-.site-info {
- text-align: center;
-}
-
-/* Footer bar */
-.footer-bar-active .footer-bar .widget {
- padding: 0;
-}
-
-.footer-bar .widget_nav_menu > div > ul {
- display: inline-block;
- vertical-align: top;
-}
-
-/* Footer bar aligned right */
-.footer-bar-align-right .copyright-bar {
- float: left;
-}
-
-.footer-bar-align-right .footer-bar {
- float: right;
- text-align: right;
-}
-
-/* Footer bar aligned left */
-.footer-bar-align-left .copyright-bar {
- float: right;
- text-align: right;
-}
-
-.footer-bar-align-left .footer-bar {
- float: left;
-}
-
-/* Footer bar aligned center */
-.footer-bar-align-center .copyright-bar {
- float: none;
- text-align: center;
-}
-
-.footer-bar-align-center .footer-bar {
- float: none;
- text-align: center;
- margin-bottom: 10px;
-}
-
-/* Footer bar menu */
-.footer-bar .widget_nav_menu li {
- margin: 0 10px;
- float: left;
- padding: 0;
-}
-
-.footer-bar .widget_nav_menu li:first-child {
- margin-left: 0;
-}
-
-.footer-bar .widget_nav_menu li:last-child {
- margin-right: 0;
-}
-
-.footer-bar .widget_nav_menu li ul {
- display: none;
-}
-
-/* Posts */
-.entry-title {
- margin-bottom: 0;
-}
-
-.entry-header {
- word-wrap: break-word;
-}
-
-.page-header {
- margin-bottom: 30px;
-}
-
-.page-header h1 {
- font-size: 25px;
-}
-
-.page-header .avatar {
- float: left;
- margin-right: 1.5em;
-}
-
-.page-header .author-info {
- overflow: hidden;
-}
-
-.page-header > *:last-child {
- margin-bottom: 0;
-}
-
-.entry-meta {
- font-size: 85%;
- margin-top: .5em;
- line-height: 1.5;
-}
-
-footer.entry-meta {
- margin-top: 2em;
-}
-
-footer.entry-meta .author:before,
-footer.entry-meta .posted-on:before,
-.cat-links:before,
-.tags-links:before,
-.comments-link:before,
-.nav-previous .prev:before,
-.nav-next .next:before {
- font-family: FontAwesome;
- font-weight: normal;
- font-style: normal;
- display: inline-block;
- text-decoration: inherit;
- position: relative;
- margin-right: 0.6em;
- width: 13px;
- text-align: center;
- speak: none;
-}
-
-footer.entry-meta .author:before {
- content: "\f007";
-}
-
-footer.entry-meta .posted-on:before {
- content: "\f073";
-}
-
-.cat-links:before {
- content: "\f07b";
-}
-
-.tags-links:before {
- content: "\f02c";
-}
-
-.comments-link:before {
- content: "\f086";
-}
-
-.nav-previous .prev:before {
- content: "\f104";
-}
-
-.nav-next .next:before {
- content: "\f105";
-}
-
-.cat-links,
-.tags-links,
-.comments-link,
-footer.entry-meta .posted-on,
-footer.entry-meta .byline {
- display: block;
-}
-
-.taxonomy-description p:last-child {
- margin-bottom: 0;
-}
-
-.paging-navigation:before,
-.paging-navigation:after {
- content: ".";
- display: block;
- overflow: hidden;
- visibility: hidden;
- font-size: 0;
- line-height: 0;
- width: 0;
- height: 0;
-}
-
-.paging-navigation:after {
- clear: both;
-}
-
-.paging-navigation .nav-previous,
-.paging-navigation .nav-next {
- display: none;
-}
-
-.comment-respond {
- margin-top: 0;
-}
-
-.read-more-container {
- margin-bottom: 0;
-}
-
-.site-main .post-navigation {
- margin-bottom: 0;
-}
-
-/* Site header */
-
-.main-title {
- margin: 0;
- font-size: 50px;
- line-height: 1.2em;
-}
-
-.site-logo {
- display: inline-block;
- *display: inline;
- *zoom: 1;
- max-width: 100%;
-}
-
-.site-description {
- margin: 0;
- line-height: 1.5;
-}
-
-.header-widget {
- float: right;
- overflow: hidden;
- max-width: 50%;
-}
-
-.header-widget .widget {
- padding: 0 0 20px;
- margin-bottom: 0;
-}
-
-.header-widget .widget:last-child {
- padding-bottom: 0;
-}
-
-.nav-float-right .header-widget .widget {
- padding: 0 0 10px;
-}
-
-.nav-float-right .header-widget .widget:last-child {
- padding-bottom: 0;
-}
-
-.nav-float-right .header-widget {
- position: relative;
- top: -10px;
-}
-
-.post-image {
- margin: 2em 0 0;
-}
-
-/* Page Header Add-on */
-.page-header-image,
-.page-header-image-single {
- line-height: 0; /* no more weird spacing */
-}
-
-.separate-containers .page-header-image,
-.separate-containers .page-header-content {
- margin-top: 30px;
-}
-
-.inside-page-header {
- padding: 40px;
-}
-
-.separate-containers .page-header-image-single,
-.separate-containers .page-header-content-single {
- margin-top: 30px;
-}
-
-.separate-containers .inside-article .page-header-image-single,
-.separate-containers .inside-article .page-header-content-single,
-.one-container .inside-article .page-header-image-single,
-.one-container .inside-article .page-header-content-single,
-.separate-containers .inside-article .page-header-image,
-.separate-containers .inside-article .page-header-content,
-.one-container .inside-article .page-header-image,
-.one-container .inside-article .page-header-content {
- margin-bottom: 2em;
- margin-top: 0;
-}
-
-.inside-article .page-header-image-single.page-header-below-title {
- margin-top: 2em;
-}
-
-/* Full width template */
-.full-width-content .container.grid-container {
- max-width: 100%;
-}
-
-.full-width-content.no-sidebar.separate-containers .site-main {
- margin: 0;
-}
-
-.full-width-content.separate-containers .inside-article,
-.full-width-content.one-container .site-content {
- padding: 0;
-}
-
-/* WooCommerce */
-.woocommerce .page-header-image-single {
- display: none;
-}
-
-.woocommerce .entry-content,
-.woocommerce .product .entry-summary {
- margin-top: 0;
-}
-
-.related.products {
- clear: both;
-}
-
-.checkout-subscribe-prompt.clear {
- visibility: visible;
- height: initial;
- width: initial;
-}
-
-/* bbPress */
-#bbpress-forums ul.bbp-lead-topic,
-#bbpress-forums ul.bbp-topics,
-#bbpress-forums ul.bbp-forums,
-#bbpress-forums ul.bbp-replies,
-#bbpress-forums ul.bbp-search-results,
-#bbpress-forums,
-div.bbp-breadcrumb,
-div.bbp-topic-tags {
- font-size: inherit;
-}
-
-.single-forum #subscription-toggle {
- display: block;
- margin: 1em 0;
- clear: left;
-}
-
-#bbpress-forums .bbp-search-form {
- margin-bottom: 10px;
-}
-
-.bbp-login-form fieldset {
- border: 0;
- padding: 0;
-}
-
-/* BuddyPress */
-#buddypress form#whats-new-form #whats-new-options[style] {
- min-height: 6rem;
- overflow: visible;
-}
-
-/* SiteOrigin Page Builder */
-.so-panel.widget {
- padding: 0;
-}
-
-/* Beaver Builder */
-.fl-builder.no-sidebar .container.grid-container {
- max-width: 100%;
-}
-
-.fl-builder.one-container.no-sidebar .site-content {
- padding: 0;
-}
-
-/* MailChimp CSS */
-#mc_embed_signup .clear {
- display: block;
- height: auto;
- visibility: visible;
- width: auto;
-}
-
-/* Bootstrap fix */
-.container.grid-container {
- width: auto;
-}
-
-/* Menu class for items to float right */
-.sf-menu > li.menu-item-float-right {
- float: right !important;
-}
-
-/* Back to top icon */
-.stylepress-back-to-top,
-.stylepress-back-to-top:visited {
- font-size: 20px;
- background: rgba(0, 0, 0, 0.4);
- color: #FFF;
- border-radius: 3px;
- position: fixed;
- bottom: 30px;
- right: 30px;
- line-height: 40px;
- width: 40px;
- text-align: center;
- z-index: 10;
-}
-
-.stylepress-back-to-top:hover,
-.stylepress-back-to-top:focus {
- background: rgba(0, 0, 0, 0.6);
- color: #FFF;
-}
-
-.stylepress-back-to-top .screen-reader-text {
- left: 0;
-}
-
-/* Mobile menu */
-.menu-toggle,
-.mobile-bar-items {
- display: none;
- cursor: pointer;
-}
-
-/*
- * Backwards compatibility until Slideout is updated
- * GP Premium 1.2.93
- */
-.slideout-navigation .menu-item-has-children .dropdown-menu-toggle {
- float: right;
-}
-
-body {
- background-color: #FFF;
- color: #3a3a3a;
-}
-
-a, a:visited {
- color: #1e73be;
- text-decoration: none;
-}
-
-a:hover, a:focus, a:active {
- color: #000000;
- text-decoration: none;
-}
-
-body .grid-container {
- max-width: 1100px;
-}
-
-.site-header {
- background-color: #ffffff;
- color: #3a3a3a;
-}
-
-.site-header a, .site-header a:visited {
- color: #3a3a3a;
-}
-
-.main-title a, .main-title a:hover, .main-title a:visited {
- color: #222222;
-}
-
-.site-description {
- color: #999999;
-}
-
-.main-navigation, .main-navigation ul ul {
- background-color: rgba(239, 239, 239, 0.44);
-}
-
-.main-navigation .main-nav ul li a, .menu-toggle {
- color: #000;
-}
-
-.main-navigation .main-nav ul li > a:hover, .main-navigation .main-nav ul li > a:focus, .main-navigation .main-nav ul li.sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-
-button.menu-toggle:hover, button.menu-toggle:focus, .main-navigation .mobile-bar-items a, .main-navigation .mobile-bar-items a:hover, .main-navigation .mobile-bar-items a:focus {
- color: #ffffff;
-}
-
-.main-navigation .main-nav ul li[class*="current-menu-"] > a {
- color: #000;
- background-color: #eaeaea;
-}
-
-.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover, .main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-
-.main-navigation ul ul {
- background-color: #eaeaea;
-}
-
-.main-navigation .main-nav ul ul li a {
- color: #ffffff;
-}
-
-.main-navigation .main-nav ul ul li > a:hover, .main-navigation .main-nav ul ul li > a:focus, .main-navigation .main-nav ul ul li.sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-
-.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
- color: #000;
- background-color: #eaeaea;
-}
-
-.main-navigation .main-nav ul ul li[class*="current-menu-"] > a:hover, .main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a {
- color: #000;
- background-color: #eaeaea;
-}
-
-.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
- background-color: rgba(239, 239, 239, 0.44);
-}
-
-.entry-meta {
- color: #888888;
-}
-
-.entry-meta a, .entry-meta a:visited {
- color: #666666;
-}
-
-.entry-meta a:hover {
- color: #1e73be;
-}
-
-.sidebar .widget {
- background-color: rgba(239, 239, 239, 0.44);
-}
-
-.sidebar .widget .widget-title {
- color: #000000;
-}
-
-.footer-widgets {
- background-color: #ffffff;
-}
-
-.footer-widgets .widget-title {
- color: #000000;
-}
-
-.site-info {
- color: #000;
- background-color: rgba(239, 239, 239, 0.44);
-}
-
-.site-info a, .site-info a:visited {
- color: #ffffff;
-}
-
-.site-info a:hover {
- color: #606060;
-}
-
-.footer-bar .widget_nav_menu .current-menu-item a {
- color: #606060;
-}
-
-input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
- color: #666666;
- background-color: #fafafa;
- border-color: #cccccc;
-}
-
-input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus {
- color: #666666;
- background-color: #ffffff;
- border-color: #bfbfbf;
-}
-
-button, html input[type="button"], input[type="reset"], input[type="submit"], .button, .button:visited {
- color: #ffffff;
- background-color: #666666;
-}
-
-button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .button:focus {
- color: #666666;
- background-color: #eaeaea;
-}
-
-.main-navigation ul ul {
- top: auto;
-}
-
-@media (max-width: 768px) {
- .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content {
- padding: 30px;
- }
-}
\ No newline at end of file
diff --git a/assets/icons/font-awesome/css/font-awesome.css b/assets/icons/font-awesome/css/font-awesome.css
deleted file mode 100644
index 04cc256..0000000
--- a/assets/icons/font-awesome/css/font-awesome.css
+++ /dev/null
@@ -1,3049 +0,0 @@
-/*!
- * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
- */
-/* FONT PATH
- * -------------------------- */
-@font-face {
- font-family: 'FontAwesome';
- src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
- src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
- font-weight: normal;
- font-style: normal;
-}
-
-.fa {
- display: inline-block;
- font: normal normal normal 14px/1 FontAwesome;
- font-size: inherit;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-/* makes the font 33% larger relative to the icon container */
-.fa-lg {
- font-size: 1.33333333em;
- line-height: 0.75em;
- vertical-align: -15%;
-}
-
-.fa-2x {
- font-size: 2em;
-}
-
-.fa-3x {
- font-size: 3em;
-}
-
-.fa-4x {
- font-size: 4em;
-}
-
-.fa-5x {
- font-size: 5em;
-}
-
-.fa-fw {
- width: 1.28571429em;
- text-align: center;
-}
-
-.fa-ul {
- padding-left: 0;
- margin-left: 2.14285714em;
- list-style-type: none;
-}
-
-.fa-ul > li {
- position: relative;
-}
-
-.fa-li {
- position: absolute;
- left: -2.14285714em;
- width: 2.14285714em;
- top: 0.14285714em;
- text-align: center;
-}
-
-.fa-li.fa-lg {
- left: -1.85714286em;
-}
-
-.fa-border {
- padding: .2em .25em .15em;
- border: solid 0.08em #eeeeee;
- border-radius: .1em;
-}
-
-.fa-pull-left {
- float: left;
-}
-
-.fa-pull-right {
- float: right;
-}
-
-.fa.fa-pull-left {
- margin-right: .3em;
-}
-
-.fa.fa-pull-right {
- margin-left: .3em;
-}
-
-/* Deprecated as of 4.4.0 */
-.pull-right {
- float: right;
-}
-
-.pull-left {
- float: left;
-}
-
-.fa.pull-left {
- margin-right: .3em;
-}
-
-.fa.pull-right {
- margin-left: .3em;
-}
-
-.fa-spin {
- -webkit-animation: fa-spin 2s infinite linear;
- animation: fa-spin 2s infinite linear;
-}
-
-.fa-pulse {
- -webkit-animation: fa-spin 1s infinite steps(8);
- animation: fa-spin 1s infinite steps(8);
-}
-
-@-webkit-keyframes fa-spin {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(359deg);
- transform: rotate(359deg);
- }
-}
-
-@keyframes fa-spin {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(359deg);
- transform: rotate(359deg);
- }
-}
-
-.fa-rotate-90 {
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
- -webkit-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- transform: rotate(90deg);
-}
-
-.fa-rotate-180 {
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
-}
-
-.fa-rotate-270 {
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
- -webkit-transform: rotate(270deg);
- -ms-transform: rotate(270deg);
- transform: rotate(270deg);
-}
-
-.fa-flip-horizontal {
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
- -webkit-transform: scale(-1, 1);
- -ms-transform: scale(-1, 1);
- transform: scale(-1, 1);
-}
-
-.fa-flip-vertical {
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
- -webkit-transform: scale(1, -1);
- -ms-transform: scale(1, -1);
- transform: scale(1, -1);
-}
-
-:root .fa-rotate-90,
-:root .fa-rotate-180,
-:root .fa-rotate-270,
-:root .fa-flip-horizontal,
-:root .fa-flip-vertical {
- filter: none;
-}
-
-.fa-stack {
- position: relative;
- display: inline-block;
- width: 2em;
- height: 2em;
- line-height: 2em;
- vertical-align: middle;
-}
-
-.fa-stack-1x,
-.fa-stack-2x {
- position: absolute;
- left: 0;
- width: 100%;
- text-align: center;
-}
-
-.fa-stack-1x {
- line-height: inherit;
-}
-
-.fa-stack-2x {
- font-size: 2em;
-}
-
-.fa-inverse {
- color: #ffffff;
-}
-
-/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
- readers do not read off random characters that represent icons */
-.fa-glass:before {
- content: "\f000";
-}
-
-.fa-music:before {
- content: "\f001";
-}
-
-.fa-search:before {
- content: "\f002";
-}
-
-.fa-envelope-o:before {
- content: "\f003";
-}
-
-.fa-heart:before {
- content: "\f004";
-}
-
-.fa-star:before {
- content: "\f005";
-}
-
-.fa-star-o:before {
- content: "\f006";
-}
-
-.fa-user:before {
- content: "\f007";
-}
-
-.fa-film:before {
- content: "\f008";
-}
-
-.fa-th-large:before {
- content: "\f009";
-}
-
-.fa-th:before {
- content: "\f00a";
-}
-
-.fa-th-list:before {
- content: "\f00b";
-}
-
-.fa-check:before {
- content: "\f00c";
-}
-
-.fa-remove:before,
-.fa-close:before,
-.fa-times:before {
- content: "\f00d";
-}
-
-.fa-search-plus:before {
- content: "\f00e";
-}
-
-.fa-search-minus:before {
- content: "\f010";
-}
-
-.fa-power-off:before {
- content: "\f011";
-}
-
-.fa-signal:before {
- content: "\f012";
-}
-
-.fa-gear:before,
-.fa-cog:before {
- content: "\f013";
-}
-
-.fa-trash-o:before {
- content: "\f014";
-}
-
-.fa-home:before {
- content: "\f015";
-}
-
-.fa-file-o:before {
- content: "\f016";
-}
-
-.fa-clock-o:before {
- content: "\f017";
-}
-
-.fa-road:before {
- content: "\f018";
-}
-
-.fa-download:before {
- content: "\f019";
-}
-
-.fa-arrow-circle-o-down:before {
- content: "\f01a";
-}
-
-.fa-arrow-circle-o-up:before {
- content: "\f01b";
-}
-
-.fa-inbox:before {
- content: "\f01c";
-}
-
-.fa-play-circle-o:before {
- content: "\f01d";
-}
-
-.fa-rotate-right:before,
-.fa-repeat:before {
- content: "\f01e";
-}
-
-.fa-refresh:before {
- content: "\f021";
-}
-
-.fa-list-alt:before {
- content: "\f022";
-}
-
-.fa-lock:before {
- content: "\f023";
-}
-
-.fa-flag:before {
- content: "\f024";
-}
-
-.fa-headphones:before {
- content: "\f025";
-}
-
-.fa-volume-off:before {
- content: "\f026";
-}
-
-.fa-volume-down:before {
- content: "\f027";
-}
-
-.fa-volume-up:before {
- content: "\f028";
-}
-
-.fa-qrcode:before {
- content: "\f029";
-}
-
-.fa-barcode:before {
- content: "\f02a";
-}
-
-.fa-tag:before {
- content: "\f02b";
-}
-
-.fa-tags:before {
- content: "\f02c";
-}
-
-.fa-book:before {
- content: "\f02d";
-}
-
-.fa-bookmark:before {
- content: "\f02e";
-}
-
-.fa-print:before {
- content: "\f02f";
-}
-
-.fa-camera:before {
- content: "\f030";
-}
-
-.fa-font:before {
- content: "\f031";
-}
-
-.fa-bold:before {
- content: "\f032";
-}
-
-.fa-italic:before {
- content: "\f033";
-}
-
-.fa-text-height:before {
- content: "\f034";
-}
-
-.fa-text-width:before {
- content: "\f035";
-}
-
-.fa-align-left:before {
- content: "\f036";
-}
-
-.fa-align-center:before {
- content: "\f037";
-}
-
-.fa-align-right:before {
- content: "\f038";
-}
-
-.fa-align-justify:before {
- content: "\f039";
-}
-
-.fa-list:before {
- content: "\f03a";
-}
-
-.fa-dedent:before,
-.fa-outdent:before {
- content: "\f03b";
-}
-
-.fa-indent:before {
- content: "\f03c";
-}
-
-.fa-video-camera:before {
- content: "\f03d";
-}
-
-.fa-photo:before,
-.fa-image:before,
-.fa-picture-o:before {
- content: "\f03e";
-}
-
-.fa-pencil:before {
- content: "\f040";
-}
-
-.fa-map-marker:before {
- content: "\f041";
-}
-
-.fa-adjust:before {
- content: "\f042";
-}
-
-.fa-tint:before {
- content: "\f043";
-}
-
-.fa-edit:before,
-.fa-pencil-square-o:before {
- content: "\f044";
-}
-
-.fa-share-square-o:before {
- content: "\f045";
-}
-
-.fa-check-square-o:before {
- content: "\f046";
-}
-
-.fa-arrows:before {
- content: "\f047";
-}
-
-.fa-step-backward:before {
- content: "\f048";
-}
-
-.fa-fast-backward:before {
- content: "\f049";
-}
-
-.fa-backward:before {
- content: "\f04a";
-}
-
-.fa-play:before {
- content: "\f04b";
-}
-
-.fa-pause:before {
- content: "\f04c";
-}
-
-.fa-stop:before {
- content: "\f04d";
-}
-
-.fa-forward:before {
- content: "\f04e";
-}
-
-.fa-fast-forward:before {
- content: "\f050";
-}
-
-.fa-step-forward:before {
- content: "\f051";
-}
-
-.fa-eject:before {
- content: "\f052";
-}
-
-.fa-chevron-left:before {
- content: "\f053";
-}
-
-.fa-chevron-right:before {
- content: "\f054";
-}
-
-.fa-plus-circle:before {
- content: "\f055";
-}
-
-.fa-minus-circle:before {
- content: "\f056";
-}
-
-.fa-times-circle:before {
- content: "\f057";
-}
-
-.fa-check-circle:before {
- content: "\f058";
-}
-
-.fa-question-circle:before {
- content: "\f059";
-}
-
-.fa-info-circle:before {
- content: "\f05a";
-}
-
-.fa-crosshairs:before {
- content: "\f05b";
-}
-
-.fa-times-circle-o:before {
- content: "\f05c";
-}
-
-.fa-check-circle-o:before {
- content: "\f05d";
-}
-
-.fa-ban:before {
- content: "\f05e";
-}
-
-.fa-arrow-left:before {
- content: "\f060";
-}
-
-.fa-arrow-right:before {
- content: "\f061";
-}
-
-.fa-arrow-up:before {
- content: "\f062";
-}
-
-.fa-arrow-down:before {
- content: "\f063";
-}
-
-.fa-mail-forward:before,
-.fa-share:before {
- content: "\f064";
-}
-
-.fa-expand:before {
- content: "\f065";
-}
-
-.fa-compress:before {
- content: "\f066";
-}
-
-.fa-plus:before {
- content: "\f067";
-}
-
-.fa-minus:before {
- content: "\f068";
-}
-
-.fa-asterisk:before {
- content: "\f069";
-}
-
-.fa-exclamation-circle:before {
- content: "\f06a";
-}
-
-.fa-gift:before {
- content: "\f06b";
-}
-
-.fa-leaf:before {
- content: "\f06c";
-}
-
-.fa-fire:before {
- content: "\f06d";
-}
-
-.fa-eye:before {
- content: "\f06e";
-}
-
-.fa-eye-slash:before {
- content: "\f070";
-}
-
-.fa-warning:before,
-.fa-exclamation-triangle:before {
- content: "\f071";
-}
-
-.fa-plane:before {
- content: "\f072";
-}
-
-.fa-calendar:before {
- content: "\f073";
-}
-
-.fa-random:before {
- content: "\f074";
-}
-
-.fa-comment:before {
- content: "\f075";
-}
-
-.fa-magnet:before {
- content: "\f076";
-}
-
-.fa-chevron-up:before {
- content: "\f077";
-}
-
-.fa-chevron-down:before {
- content: "\f078";
-}
-
-.fa-retweet:before {
- content: "\f079";
-}
-
-.fa-shopping-cart:before {
- content: "\f07a";
-}
-
-.fa-folder:before {
- content: "\f07b";
-}
-
-.fa-folder-open:before {
- content: "\f07c";
-}
-
-.fa-arrows-v:before {
- content: "\f07d";
-}
-
-.fa-arrows-h:before {
- content: "\f07e";
-}
-
-.fa-bar-chart-o:before,
-.fa-bar-chart:before {
- content: "\f080";
-}
-
-.fa-twitter-square:before {
- content: "\f081";
-}
-
-.fa-facebook-square:before {
- content: "\f082";
-}
-
-.fa-camera-retro:before {
- content: "\f083";
-}
-
-.fa-key:before {
- content: "\f084";
-}
-
-.fa-gears:before,
-.fa-cogs:before {
- content: "\f085";
-}
-
-.fa-comments:before {
- content: "\f086";
-}
-
-.fa-thumbs-o-up:before {
- content: "\f087";
-}
-
-.fa-thumbs-o-down:before {
- content: "\f088";
-}
-
-.fa-star-half:before {
- content: "\f089";
-}
-
-.fa-heart-o:before {
- content: "\f08a";
-}
-
-.fa-sign-out:before {
- content: "\f08b";
-}
-
-.fa-linkedin-square:before {
- content: "\f08c";
-}
-
-.fa-thumb-tack:before {
- content: "\f08d";
-}
-
-.fa-external-link:before {
- content: "\f08e";
-}
-
-.fa-sign-in:before {
- content: "\f090";
-}
-
-.fa-trophy:before {
- content: "\f091";
-}
-
-.fa-github-square:before {
- content: "\f092";
-}
-
-.fa-upload:before {
- content: "\f093";
-}
-
-.fa-lemon-o:before {
- content: "\f094";
-}
-
-.fa-phone:before {
- content: "\f095";
-}
-
-.fa-square-o:before {
- content: "\f096";
-}
-
-.fa-bookmark-o:before {
- content: "\f097";
-}
-
-.fa-phone-square:before {
- content: "\f098";
-}
-
-.fa-twitter:before {
- content: "\f099";
-}
-
-.fa-facebook-f:before,
-.fa-facebook:before {
- content: "\f09a";
-}
-
-.fa-github:before {
- content: "\f09b";
-}
-
-.fa-unlock:before {
- content: "\f09c";
-}
-
-.fa-credit-card:before {
- content: "\f09d";
-}
-
-.fa-feed:before,
-.fa-rss:before {
- content: "\f09e";
-}
-
-.fa-hdd-o:before {
- content: "\f0a0";
-}
-
-.fa-bullhorn:before {
- content: "\f0a1";
-}
-
-.fa-bell:before {
- content: "\f0f3";
-}
-
-.fa-certificate:before {
- content: "\f0a3";
-}
-
-.fa-hand-o-right:before {
- content: "\f0a4";
-}
-
-.fa-hand-o-left:before {
- content: "\f0a5";
-}
-
-.fa-hand-o-up:before {
- content: "\f0a6";
-}
-
-.fa-hand-o-down:before {
- content: "\f0a7";
-}
-
-.fa-arrow-circle-left:before {
- content: "\f0a8";
-}
-
-.fa-arrow-circle-right:before {
- content: "\f0a9";
-}
-
-.fa-arrow-circle-up:before {
- content: "\f0aa";
-}
-
-.fa-arrow-circle-down:before {
- content: "\f0ab";
-}
-
-.fa-globe:before {
- content: "\f0ac";
-}
-
-.fa-wrench:before {
- content: "\f0ad";
-}
-
-.fa-tasks:before {
- content: "\f0ae";
-}
-
-.fa-filter:before {
- content: "\f0b0";
-}
-
-.fa-briefcase:before {
- content: "\f0b1";
-}
-
-.fa-arrows-alt:before {
- content: "\f0b2";
-}
-
-.fa-group:before,
-.fa-users:before {
- content: "\f0c0";
-}
-
-.fa-chain:before,
-.fa-link:before {
- content: "\f0c1";
-}
-
-.fa-cloud:before {
- content: "\f0c2";
-}
-
-.fa-flask:before {
- content: "\f0c3";
-}
-
-.fa-cut:before,
-.fa-scissors:before {
- content: "\f0c4";
-}
-
-.fa-copy:before,
-.fa-files-o:before {
- content: "\f0c5";
-}
-
-.fa-paperclip:before {
- content: "\f0c6";
-}
-
-.fa-save:before,
-.fa-floppy-o:before {
- content: "\f0c7";
-}
-
-.fa-square:before {
- content: "\f0c8";
-}
-
-.fa-navicon:before,
-.fa-reorder:before,
-.fa-bars:before {
- content: "\f0c9";
-}
-
-.fa-list-ul:before {
- content: "\f0ca";
-}
-
-.fa-list-ol:before {
- content: "\f0cb";
-}
-
-.fa-strikethrough:before {
- content: "\f0cc";
-}
-
-.fa-underline:before {
- content: "\f0cd";
-}
-
-.fa-table:before {
- content: "\f0ce";
-}
-
-.fa-magic:before {
- content: "\f0d0";
-}
-
-.fa-truck:before {
- content: "\f0d1";
-}
-
-.fa-pinterest:before {
- content: "\f0d2";
-}
-
-.fa-pinterest-square:before {
- content: "\f0d3";
-}
-
-.fa-google-plus-square:before {
- content: "\f0d4";
-}
-
-.fa-google-plus:before {
- content: "\f0d5";
-}
-
-.fa-money:before {
- content: "\f0d6";
-}
-
-.fa-caret-down:before {
- content: "\f0d7";
-}
-
-.fa-caret-up:before {
- content: "\f0d8";
-}
-
-.fa-caret-left:before {
- content: "\f0d9";
-}
-
-.fa-caret-right:before {
- content: "\f0da";
-}
-
-.fa-columns:before {
- content: "\f0db";
-}
-
-.fa-unsorted:before,
-.fa-sort:before {
- content: "\f0dc";
-}
-
-.fa-sort-down:before,
-.fa-sort-desc:before {
- content: "\f0dd";
-}
-
-.fa-sort-up:before,
-.fa-sort-asc:before {
- content: "\f0de";
-}
-
-.fa-envelope:before {
- content: "\f0e0";
-}
-
-.fa-linkedin:before {
- content: "\f0e1";
-}
-
-.fa-rotate-left:before,
-.fa-undo:before {
- content: "\f0e2";
-}
-
-.fa-legal:before,
-.fa-gavel:before {
- content: "\f0e3";
-}
-
-.fa-dashboard:before,
-.fa-tachometer:before {
- content: "\f0e4";
-}
-
-.fa-comment-o:before {
- content: "\f0e5";
-}
-
-.fa-comments-o:before {
- content: "\f0e6";
-}
-
-.fa-flash:before,
-.fa-bolt:before {
- content: "\f0e7";
-}
-
-.fa-sitemap:before {
- content: "\f0e8";
-}
-
-.fa-umbrella:before {
- content: "\f0e9";
-}
-
-.fa-paste:before,
-.fa-clipboard:before {
- content: "\f0ea";
-}
-
-.fa-lightbulb-o:before {
- content: "\f0eb";
-}
-
-.fa-exchange:before {
- content: "\f0ec";
-}
-
-.fa-cloud-download:before {
- content: "\f0ed";
-}
-
-.fa-cloud-upload:before {
- content: "\f0ee";
-}
-
-.fa-user-md:before {
- content: "\f0f0";
-}
-
-.fa-stethoscope:before {
- content: "\f0f1";
-}
-
-.fa-suitcase:before {
- content: "\f0f2";
-}
-
-.fa-bell-o:before {
- content: "\f0a2";
-}
-
-.fa-coffee:before {
- content: "\f0f4";
-}
-
-.fa-cutlery:before {
- content: "\f0f5";
-}
-
-.fa-file-text-o:before {
- content: "\f0f6";
-}
-
-.fa-building-o:before {
- content: "\f0f7";
-}
-
-.fa-hospital-o:before {
- content: "\f0f8";
-}
-
-.fa-ambulance:before {
- content: "\f0f9";
-}
-
-.fa-medkit:before {
- content: "\f0fa";
-}
-
-.fa-fighter-jet:before {
- content: "\f0fb";
-}
-
-.fa-beer:before {
- content: "\f0fc";
-}
-
-.fa-h-square:before {
- content: "\f0fd";
-}
-
-.fa-plus-square:before {
- content: "\f0fe";
-}
-
-.fa-angle-double-left:before {
- content: "\f100";
-}
-
-.fa-angle-double-right:before {
- content: "\f101";
-}
-
-.fa-angle-double-up:before {
- content: "\f102";
-}
-
-.fa-angle-double-down:before {
- content: "\f103";
-}
-
-.fa-angle-left:before {
- content: "\f104";
-}
-
-.fa-angle-right:before {
- content: "\f105";
-}
-
-.fa-angle-up:before {
- content: "\f106";
-}
-
-.fa-angle-down:before {
- content: "\f107";
-}
-
-.fa-desktop:before {
- content: "\f108";
-}
-
-.fa-laptop:before {
- content: "\f109";
-}
-
-.fa-tablet:before {
- content: "\f10a";
-}
-
-.fa-mobile-phone:before,
-.fa-mobile:before {
- content: "\f10b";
-}
-
-.fa-circle-o:before {
- content: "\f10c";
-}
-
-.fa-quote-left:before {
- content: "\f10d";
-}
-
-.fa-quote-right:before {
- content: "\f10e";
-}
-
-.fa-spinner:before {
- content: "\f110";
-}
-
-.fa-circle:before {
- content: "\f111";
-}
-
-.fa-mail-reply:before,
-.fa-reply:before {
- content: "\f112";
-}
-
-.fa-github-alt:before {
- content: "\f113";
-}
-
-.fa-folder-o:before {
- content: "\f114";
-}
-
-.fa-folder-open-o:before {
- content: "\f115";
-}
-
-.fa-smile-o:before {
- content: "\f118";
-}
-
-.fa-frown-o:before {
- content: "\f119";
-}
-
-.fa-meh-o:before {
- content: "\f11a";
-}
-
-.fa-gamepad:before {
- content: "\f11b";
-}
-
-.fa-keyboard-o:before {
- content: "\f11c";
-}
-
-.fa-flag-o:before {
- content: "\f11d";
-}
-
-.fa-flag-checkered:before {
- content: "\f11e";
-}
-
-.fa-terminal:before {
- content: "\f120";
-}
-
-.fa-code:before {
- content: "\f121";
-}
-
-.fa-mail-reply-all:before,
-.fa-reply-all:before {
- content: "\f122";
-}
-
-.fa-star-half-empty:before,
-.fa-star-half-full:before,
-.fa-star-half-o:before {
- content: "\f123";
-}
-
-.fa-location-arrow:before {
- content: "\f124";
-}
-
-.fa-crop:before {
- content: "\f125";
-}
-
-.fa-code-fork:before {
- content: "\f126";
-}
-
-.fa-unlink:before,
-.fa-chain-broken:before {
- content: "\f127";
-}
-
-.fa-question:before {
- content: "\f128";
-}
-
-.fa-info:before {
- content: "\f129";
-}
-
-.fa-exclamation:before {
- content: "\f12a";
-}
-
-.fa-superscript:before {
- content: "\f12b";
-}
-
-.fa-subscript:before {
- content: "\f12c";
-}
-
-.fa-eraser:before {
- content: "\f12d";
-}
-
-.fa-puzzle-piece:before {
- content: "\f12e";
-}
-
-.fa-microphone:before {
- content: "\f130";
-}
-
-.fa-microphone-slash:before {
- content: "\f131";
-}
-
-.fa-shield:before {
- content: "\f132";
-}
-
-.fa-calendar-o:before {
- content: "\f133";
-}
-
-.fa-fire-extinguisher:before {
- content: "\f134";
-}
-
-.fa-rocket:before {
- content: "\f135";
-}
-
-.fa-maxcdn:before {
- content: "\f136";
-}
-
-.fa-chevron-circle-left:before {
- content: "\f137";
-}
-
-.fa-chevron-circle-right:before {
- content: "\f138";
-}
-
-.fa-chevron-circle-up:before {
- content: "\f139";
-}
-
-.fa-chevron-circle-down:before {
- content: "\f13a";
-}
-
-.fa-html5:before {
- content: "\f13b";
-}
-
-.fa-css3:before {
- content: "\f13c";
-}
-
-.fa-anchor:before {
- content: "\f13d";
-}
-
-.fa-unlock-alt:before {
- content: "\f13e";
-}
-
-.fa-bullseye:before {
- content: "\f140";
-}
-
-.fa-ellipsis-h:before {
- content: "\f141";
-}
-
-.fa-ellipsis-v:before {
- content: "\f142";
-}
-
-.fa-rss-square:before {
- content: "\f143";
-}
-
-.fa-play-circle:before {
- content: "\f144";
-}
-
-.fa-ticket:before {
- content: "\f145";
-}
-
-.fa-minus-square:before {
- content: "\f146";
-}
-
-.fa-minus-square-o:before {
- content: "\f147";
-}
-
-.fa-level-up:before {
- content: "\f148";
-}
-
-.fa-level-down:before {
- content: "\f149";
-}
-
-.fa-check-square:before {
- content: "\f14a";
-}
-
-.fa-pencil-square:before {
- content: "\f14b";
-}
-
-.fa-external-link-square:before {
- content: "\f14c";
-}
-
-.fa-share-square:before {
- content: "\f14d";
-}
-
-.fa-compass:before {
- content: "\f14e";
-}
-
-.fa-toggle-down:before,
-.fa-caret-square-o-down:before {
- content: "\f150";
-}
-
-.fa-toggle-up:before,
-.fa-caret-square-o-up:before {
- content: "\f151";
-}
-
-.fa-toggle-right:before,
-.fa-caret-square-o-right:before {
- content: "\f152";
-}
-
-.fa-euro:before,
-.fa-eur:before {
- content: "\f153";
-}
-
-.fa-gbp:before {
- content: "\f154";
-}
-
-.fa-dollar:before,
-.fa-usd:before {
- content: "\f155";
-}
-
-.fa-rupee:before,
-.fa-inr:before {
- content: "\f156";
-}
-
-.fa-cny:before,
-.fa-rmb:before,
-.fa-yen:before,
-.fa-jpy:before {
- content: "\f157";
-}
-
-.fa-ruble:before,
-.fa-rouble:before,
-.fa-rub:before {
- content: "\f158";
-}
-
-.fa-won:before,
-.fa-krw:before {
- content: "\f159";
-}
-
-.fa-bitcoin:before,
-.fa-btc:before {
- content: "\f15a";
-}
-
-.fa-file:before {
- content: "\f15b";
-}
-
-.fa-file-text:before {
- content: "\f15c";
-}
-
-.fa-sort-alpha-asc:before {
- content: "\f15d";
-}
-
-.fa-sort-alpha-desc:before {
- content: "\f15e";
-}
-
-.fa-sort-amount-asc:before {
- content: "\f160";
-}
-
-.fa-sort-amount-desc:before {
- content: "\f161";
-}
-
-.fa-sort-numeric-asc:before {
- content: "\f162";
-}
-
-.fa-sort-numeric-desc:before {
- content: "\f163";
-}
-
-.fa-thumbs-up:before {
- content: "\f164";
-}
-
-.fa-thumbs-down:before {
- content: "\f165";
-}
-
-.fa-youtube-square:before {
- content: "\f166";
-}
-
-.fa-youtube:before {
- content: "\f167";
-}
-
-.fa-xing:before {
- content: "\f168";
-}
-
-.fa-xing-square:before {
- content: "\f169";
-}
-
-.fa-youtube-play:before {
- content: "\f16a";
-}
-
-.fa-dropbox:before {
- content: "\f16b";
-}
-
-.fa-stack-overflow:before {
- content: "\f16c";
-}
-
-.fa-instagram:before {
- content: "\f16d";
-}
-
-.fa-flickr:before {
- content: "\f16e";
-}
-
-.fa-adn:before {
- content: "\f170";
-}
-
-.fa-bitbucket:before {
- content: "\f171";
-}
-
-.fa-bitbucket-square:before {
- content: "\f172";
-}
-
-.fa-tumblr:before {
- content: "\f173";
-}
-
-.fa-tumblr-square:before {
- content: "\f174";
-}
-
-.fa-long-arrow-down:before {
- content: "\f175";
-}
-
-.fa-long-arrow-up:before {
- content: "\f176";
-}
-
-.fa-long-arrow-left:before {
- content: "\f177";
-}
-
-.fa-long-arrow-right:before {
- content: "\f178";
-}
-
-.fa-apple:before {
- content: "\f179";
-}
-
-.fa-windows:before {
- content: "\f17a";
-}
-
-.fa-android:before {
- content: "\f17b";
-}
-
-.fa-linux:before {
- content: "\f17c";
-}
-
-.fa-dribbble:before {
- content: "\f17d";
-}
-
-.fa-skype:before {
- content: "\f17e";
-}
-
-.fa-foursquare:before {
- content: "\f180";
-}
-
-.fa-trello:before {
- content: "\f181";
-}
-
-.fa-female:before {
- content: "\f182";
-}
-
-.fa-male:before {
- content: "\f183";
-}
-
-.fa-gittip:before,
-.fa-gratipay:before {
- content: "\f184";
-}
-
-.fa-sun-o:before {
- content: "\f185";
-}
-
-.fa-moon-o:before {
- content: "\f186";
-}
-
-.fa-archive:before {
- content: "\f187";
-}
-
-.fa-bug:before {
- content: "\f188";
-}
-
-.fa-vk:before {
- content: "\f189";
-}
-
-.fa-weibo:before {
- content: "\f18a";
-}
-
-.fa-renren:before {
- content: "\f18b";
-}
-
-.fa-pagelines:before {
- content: "\f18c";
-}
-
-.fa-stack-exchange:before {
- content: "\f18d";
-}
-
-.fa-arrow-circle-o-right:before {
- content: "\f18e";
-}
-
-.fa-arrow-circle-o-left:before {
- content: "\f190";
-}
-
-.fa-toggle-left:before,
-.fa-caret-square-o-left:before {
- content: "\f191";
-}
-
-.fa-dot-circle-o:before {
- content: "\f192";
-}
-
-.fa-wheelchair:before {
- content: "\f193";
-}
-
-.fa-vimeo-square:before {
- content: "\f194";
-}
-
-.fa-turkish-lira:before,
-.fa-try:before {
- content: "\f195";
-}
-
-.fa-plus-square-o:before {
- content: "\f196";
-}
-
-.fa-space-shuttle:before {
- content: "\f197";
-}
-
-.fa-slack:before {
- content: "\f198";
-}
-
-.fa-envelope-square:before {
- content: "\f199";
-}
-
-.fa-wordpress:before {
- content: "\f19a";
-}
-
-.fa-openid:before {
- content: "\f19b";
-}
-
-.fa-institution:before,
-.fa-bank:before,
-.fa-university:before {
- content: "\f19c";
-}
-
-.fa-mortar-board:before,
-.fa-graduation-cap:before {
- content: "\f19d";
-}
-
-.fa-yahoo:before {
- content: "\f19e";
-}
-
-.fa-google:before {
- content: "\f1a0";
-}
-
-.fa-reddit:before {
- content: "\f1a1";
-}
-
-.fa-reddit-square:before {
- content: "\f1a2";
-}
-
-.fa-stumbleupon-circle:before {
- content: "\f1a3";
-}
-
-.fa-stumbleupon:before {
- content: "\f1a4";
-}
-
-.fa-delicious:before {
- content: "\f1a5";
-}
-
-.fa-digg:before {
- content: "\f1a6";
-}
-
-.fa-pied-piper-pp:before {
- content: "\f1a7";
-}
-
-.fa-pied-piper-alt:before {
- content: "\f1a8";
-}
-
-.fa-drupal:before {
- content: "\f1a9";
-}
-
-.fa-joomla:before {
- content: "\f1aa";
-}
-
-.fa-language:before {
- content: "\f1ab";
-}
-
-.fa-fax:before {
- content: "\f1ac";
-}
-
-.fa-building:before {
- content: "\f1ad";
-}
-
-.fa-child:before {
- content: "\f1ae";
-}
-
-.fa-paw:before {
- content: "\f1b0";
-}
-
-.fa-spoon:before {
- content: "\f1b1";
-}
-
-.fa-cube:before {
- content: "\f1b2";
-}
-
-.fa-cubes:before {
- content: "\f1b3";
-}
-
-.fa-behance:before {
- content: "\f1b4";
-}
-
-.fa-behance-square:before {
- content: "\f1b5";
-}
-
-.fa-steam:before {
- content: "\f1b6";
-}
-
-.fa-steam-square:before {
- content: "\f1b7";
-}
-
-.fa-recycle:before {
- content: "\f1b8";
-}
-
-.fa-automobile:before,
-.fa-car:before {
- content: "\f1b9";
-}
-
-.fa-cab:before,
-.fa-taxi:before {
- content: "\f1ba";
-}
-
-.fa-tree:before {
- content: "\f1bb";
-}
-
-.fa-spotify:before {
- content: "\f1bc";
-}
-
-.fa-deviantart:before {
- content: "\f1bd";
-}
-
-.fa-soundcloud:before {
- content: "\f1be";
-}
-
-.fa-database:before {
- content: "\f1c0";
-}
-
-.fa-file-pdf-o:before {
- content: "\f1c1";
-}
-
-.fa-file-word-o:before {
- content: "\f1c2";
-}
-
-.fa-file-excel-o:before {
- content: "\f1c3";
-}
-
-.fa-file-powerpoint-o:before {
- content: "\f1c4";
-}
-
-.fa-file-photo-o:before,
-.fa-file-picture-o:before,
-.fa-file-image-o:before {
- content: "\f1c5";
-}
-
-.fa-file-zip-o:before,
-.fa-file-archive-o:before {
- content: "\f1c6";
-}
-
-.fa-file-sound-o:before,
-.fa-file-audio-o:before {
- content: "\f1c7";
-}
-
-.fa-file-movie-o:before,
-.fa-file-video-o:before {
- content: "\f1c8";
-}
-
-.fa-file-code-o:before {
- content: "\f1c9";
-}
-
-.fa-vine:before {
- content: "\f1ca";
-}
-
-.fa-codepen:before {
- content: "\f1cb";
-}
-
-.fa-jsfiddle:before {
- content: "\f1cc";
-}
-
-.fa-life-bouy:before,
-.fa-life-buoy:before,
-.fa-life-saver:before,
-.fa-support:before,
-.fa-life-ring:before {
- content: "\f1cd";
-}
-
-.fa-circle-o-notch:before {
- content: "\f1ce";
-}
-
-.fa-ra:before,
-.fa-resistance:before,
-.fa-rebel:before {
- content: "\f1d0";
-}
-
-.fa-ge:before,
-.fa-empire:before {
- content: "\f1d1";
-}
-
-.fa-git-square:before {
- content: "\f1d2";
-}
-
-.fa-git:before {
- content: "\f1d3";
-}
-
-.fa-y-combinator-square:before,
-.fa-yc-square:before,
-.fa-hacker-news:before {
- content: "\f1d4";
-}
-
-.fa-tencent-weibo:before {
- content: "\f1d5";
-}
-
-.fa-qq:before {
- content: "\f1d6";
-}
-
-.fa-wechat:before,
-.fa-weixin:before {
- content: "\f1d7";
-}
-
-.fa-send:before,
-.fa-paper-plane:before {
- content: "\f1d8";
-}
-
-.fa-send-o:before,
-.fa-paper-plane-o:before {
- content: "\f1d9";
-}
-
-.fa-history:before {
- content: "\f1da";
-}
-
-.fa-circle-thin:before {
- content: "\f1db";
-}
-
-.fa-header:before {
- content: "\f1dc";
-}
-
-.fa-paragraph:before {
- content: "\f1dd";
-}
-
-.fa-sliders:before {
- content: "\f1de";
-}
-
-.fa-share-alt:before {
- content: "\f1e0";
-}
-
-.fa-share-alt-square:before {
- content: "\f1e1";
-}
-
-.fa-bomb:before {
- content: "\f1e2";
-}
-
-.fa-soccer-ball-o:before,
-.fa-futbol-o:before {
- content: "\f1e3";
-}
-
-.fa-tty:before {
- content: "\f1e4";
-}
-
-.fa-binoculars:before {
- content: "\f1e5";
-}
-
-.fa-plug:before {
- content: "\f1e6";
-}
-
-.fa-slideshare:before {
- content: "\f1e7";
-}
-
-.fa-twitch:before {
- content: "\f1e8";
-}
-
-.fa-yelp:before {
- content: "\f1e9";
-}
-
-.fa-newspaper-o:before {
- content: "\f1ea";
-}
-
-.fa-wifi:before {
- content: "\f1eb";
-}
-
-.fa-calculator:before {
- content: "\f1ec";
-}
-
-.fa-paypal:before {
- content: "\f1ed";
-}
-
-.fa-google-wallet:before {
- content: "\f1ee";
-}
-
-.fa-cc-visa:before {
- content: "\f1f0";
-}
-
-.fa-cc-mastercard:before {
- content: "\f1f1";
-}
-
-.fa-cc-discover:before {
- content: "\f1f2";
-}
-
-.fa-cc-amex:before {
- content: "\f1f3";
-}
-
-.fa-cc-paypal:before {
- content: "\f1f4";
-}
-
-.fa-cc-stripe:before {
- content: "\f1f5";
-}
-
-.fa-bell-slash:before {
- content: "\f1f6";
-}
-
-.fa-bell-slash-o:before {
- content: "\f1f7";
-}
-
-.fa-trash:before {
- content: "\f1f8";
-}
-
-.fa-copyright:before {
- content: "\f1f9";
-}
-
-.fa-at:before {
- content: "\f1fa";
-}
-
-.fa-eyedropper:before {
- content: "\f1fb";
-}
-
-.fa-paint-brush:before {
- content: "\f1fc";
-}
-
-.fa-birthday-cake:before {
- content: "\f1fd";
-}
-
-.fa-area-chart:before {
- content: "\f1fe";
-}
-
-.fa-pie-chart:before {
- content: "\f200";
-}
-
-.fa-line-chart:before {
- content: "\f201";
-}
-
-.fa-lastfm:before {
- content: "\f202";
-}
-
-.fa-lastfm-square:before {
- content: "\f203";
-}
-
-.fa-toggle-off:before {
- content: "\f204";
-}
-
-.fa-toggle-on:before {
- content: "\f205";
-}
-
-.fa-bicycle:before {
- content: "\f206";
-}
-
-.fa-bus:before {
- content: "\f207";
-}
-
-.fa-ioxhost:before {
- content: "\f208";
-}
-
-.fa-angellist:before {
- content: "\f209";
-}
-
-.fa-cc:before {
- content: "\f20a";
-}
-
-.fa-shekel:before,
-.fa-sheqel:before,
-.fa-ils:before {
- content: "\f20b";
-}
-
-.fa-meanpath:before {
- content: "\f20c";
-}
-
-.fa-buysellads:before {
- content: "\f20d";
-}
-
-.fa-connectdevelop:before {
- content: "\f20e";
-}
-
-.fa-dashcube:before {
- content: "\f210";
-}
-
-.fa-forumbee:before {
- content: "\f211";
-}
-
-.fa-leanpub:before {
- content: "\f212";
-}
-
-.fa-sellsy:before {
- content: "\f213";
-}
-
-.fa-shirtsinbulk:before {
- content: "\f214";
-}
-
-.fa-simplybuilt:before {
- content: "\f215";
-}
-
-.fa-skyatlas:before {
- content: "\f216";
-}
-
-.fa-cart-plus:before {
- content: "\f217";
-}
-
-.fa-cart-arrow-down:before {
- content: "\f218";
-}
-
-.fa-diamond:before {
- content: "\f219";
-}
-
-.fa-ship:before {
- content: "\f21a";
-}
-
-.fa-user-secret:before {
- content: "\f21b";
-}
-
-.fa-motorcycle:before {
- content: "\f21c";
-}
-
-.fa-street-view:before {
- content: "\f21d";
-}
-
-.fa-heartbeat:before {
- content: "\f21e";
-}
-
-.fa-venus:before {
- content: "\f221";
-}
-
-.fa-mars:before {
- content: "\f222";
-}
-
-.fa-mercury:before {
- content: "\f223";
-}
-
-.fa-intersex:before,
-.fa-transgender:before {
- content: "\f224";
-}
-
-.fa-transgender-alt:before {
- content: "\f225";
-}
-
-.fa-venus-double:before {
- content: "\f226";
-}
-
-.fa-mars-double:before {
- content: "\f227";
-}
-
-.fa-venus-mars:before {
- content: "\f228";
-}
-
-.fa-mars-stroke:before {
- content: "\f229";
-}
-
-.fa-mars-stroke-v:before {
- content: "\f22a";
-}
-
-.fa-mars-stroke-h:before {
- content: "\f22b";
-}
-
-.fa-neuter:before {
- content: "\f22c";
-}
-
-.fa-genderless:before {
- content: "\f22d";
-}
-
-.fa-facebook-official:before {
- content: "\f230";
-}
-
-.fa-pinterest-p:before {
- content: "\f231";
-}
-
-.fa-whatsapp:before {
- content: "\f232";
-}
-
-.fa-server:before {
- content: "\f233";
-}
-
-.fa-user-plus:before {
- content: "\f234";
-}
-
-.fa-user-times:before {
- content: "\f235";
-}
-
-.fa-hotel:before,
-.fa-bed:before {
- content: "\f236";
-}
-
-.fa-viacoin:before {
- content: "\f237";
-}
-
-.fa-train:before {
- content: "\f238";
-}
-
-.fa-subway:before {
- content: "\f239";
-}
-
-.fa-medium:before {
- content: "\f23a";
-}
-
-.fa-yc:before,
-.fa-y-combinator:before {
- content: "\f23b";
-}
-
-.fa-optin-monster:before {
- content: "\f23c";
-}
-
-.fa-opencart:before {
- content: "\f23d";
-}
-
-.fa-expeditedssl:before {
- content: "\f23e";
-}
-
-.fa-battery-4:before,
-.fa-battery:before,
-.fa-battery-full:before {
- content: "\f240";
-}
-
-.fa-battery-3:before,
-.fa-battery-three-quarters:before {
- content: "\f241";
-}
-
-.fa-battery-2:before,
-.fa-battery-half:before {
- content: "\f242";
-}
-
-.fa-battery-1:before,
-.fa-battery-quarter:before {
- content: "\f243";
-}
-
-.fa-battery-0:before,
-.fa-battery-empty:before {
- content: "\f244";
-}
-
-.fa-mouse-pointer:before {
- content: "\f245";
-}
-
-.fa-i-cursor:before {
- content: "\f246";
-}
-
-.fa-object-group:before {
- content: "\f247";
-}
-
-.fa-object-ungroup:before {
- content: "\f248";
-}
-
-.fa-sticky-note:before {
- content: "\f249";
-}
-
-.fa-sticky-note-o:before {
- content: "\f24a";
-}
-
-.fa-cc-jcb:before {
- content: "\f24b";
-}
-
-.fa-cc-diners-club:before {
- content: "\f24c";
-}
-
-.fa-clone:before {
- content: "\f24d";
-}
-
-.fa-balance-scale:before {
- content: "\f24e";
-}
-
-.fa-hourglass-o:before {
- content: "\f250";
-}
-
-.fa-hourglass-1:before,
-.fa-hourglass-start:before {
- content: "\f251";
-}
-
-.fa-hourglass-2:before,
-.fa-hourglass-half:before {
- content: "\f252";
-}
-
-.fa-hourglass-3:before,
-.fa-hourglass-end:before {
- content: "\f253";
-}
-
-.fa-hourglass:before {
- content: "\f254";
-}
-
-.fa-hand-grab-o:before,
-.fa-hand-rock-o:before {
- content: "\f255";
-}
-
-.fa-hand-stop-o:before,
-.fa-hand-paper-o:before {
- content: "\f256";
-}
-
-.fa-hand-scissors-o:before {
- content: "\f257";
-}
-
-.fa-hand-lizard-o:before {
- content: "\f258";
-}
-
-.fa-hand-spock-o:before {
- content: "\f259";
-}
-
-.fa-hand-pointer-o:before {
- content: "\f25a";
-}
-
-.fa-hand-peace-o:before {
- content: "\f25b";
-}
-
-.fa-trademark:before {
- content: "\f25c";
-}
-
-.fa-registered:before {
- content: "\f25d";
-}
-
-.fa-creative-commons:before {
- content: "\f25e";
-}
-
-.fa-gg:before {
- content: "\f260";
-}
-
-.fa-gg-circle:before {
- content: "\f261";
-}
-
-.fa-tripadvisor:before {
- content: "\f262";
-}
-
-.fa-odnoklassniki:before {
- content: "\f263";
-}
-
-.fa-odnoklassniki-square:before {
- content: "\f264";
-}
-
-.fa-get-pocket:before {
- content: "\f265";
-}
-
-.fa-wikipedia-w:before {
- content: "\f266";
-}
-
-.fa-safari:before {
- content: "\f267";
-}
-
-.fa-chrome:before {
- content: "\f268";
-}
-
-.fa-firefox:before {
- content: "\f269";
-}
-
-.fa-opera:before {
- content: "\f26a";
-}
-
-.fa-internet-explorer:before {
- content: "\f26b";
-}
-
-.fa-tv:before,
-.fa-television:before {
- content: "\f26c";
-}
-
-.fa-contao:before {
- content: "\f26d";
-}
-
-.fa-500px:before {
- content: "\f26e";
-}
-
-.fa-amazon:before {
- content: "\f270";
-}
-
-.fa-calendar-plus-o:before {
- content: "\f271";
-}
-
-.fa-calendar-minus-o:before {
- content: "\f272";
-}
-
-.fa-calendar-times-o:before {
- content: "\f273";
-}
-
-.fa-calendar-check-o:before {
- content: "\f274";
-}
-
-.fa-industry:before {
- content: "\f275";
-}
-
-.fa-map-pin:before {
- content: "\f276";
-}
-
-.fa-map-signs:before {
- content: "\f277";
-}
-
-.fa-map-o:before {
- content: "\f278";
-}
-
-.fa-map:before {
- content: "\f279";
-}
-
-.fa-commenting:before {
- content: "\f27a";
-}
-
-.fa-commenting-o:before {
- content: "\f27b";
-}
-
-.fa-houzz:before {
- content: "\f27c";
-}
-
-.fa-vimeo:before {
- content: "\f27d";
-}
-
-.fa-black-tie:before {
- content: "\f27e";
-}
-
-.fa-fonticons:before {
- content: "\f280";
-}
-
-.fa-reddit-alien:before {
- content: "\f281";
-}
-
-.fa-edge:before {
- content: "\f282";
-}
-
-.fa-credit-card-alt:before {
- content: "\f283";
-}
-
-.fa-codiepie:before {
- content: "\f284";
-}
-
-.fa-modx:before {
- content: "\f285";
-}
-
-.fa-fort-awesome:before {
- content: "\f286";
-}
-
-.fa-usb:before {
- content: "\f287";
-}
-
-.fa-product-hunt:before {
- content: "\f288";
-}
-
-.fa-mixcloud:before {
- content: "\f289";
-}
-
-.fa-scribd:before {
- content: "\f28a";
-}
-
-.fa-pause-circle:before {
- content: "\f28b";
-}
-
-.fa-pause-circle-o:before {
- content: "\f28c";
-}
-
-.fa-stop-circle:before {
- content: "\f28d";
-}
-
-.fa-stop-circle-o:before {
- content: "\f28e";
-}
-
-.fa-shopping-bag:before {
- content: "\f290";
-}
-
-.fa-shopping-basket:before {
- content: "\f291";
-}
-
-.fa-hashtag:before {
- content: "\f292";
-}
-
-.fa-bluetooth:before {
- content: "\f293";
-}
-
-.fa-bluetooth-b:before {
- content: "\f294";
-}
-
-.fa-percent:before {
- content: "\f295";
-}
-
-.fa-gitlab:before {
- content: "\f296";
-}
-
-.fa-wpbeginner:before {
- content: "\f297";
-}
-
-.fa-wpforms:before {
- content: "\f298";
-}
-
-.fa-envira:before {
- content: "\f299";
-}
-
-.fa-universal-access:before {
- content: "\f29a";
-}
-
-.fa-wheelchair-alt:before {
- content: "\f29b";
-}
-
-.fa-question-circle-o:before {
- content: "\f29c";
-}
-
-.fa-blind:before {
- content: "\f29d";
-}
-
-.fa-audio-description:before {
- content: "\f29e";
-}
-
-.fa-volume-control-phone:before {
- content: "\f2a0";
-}
-
-.fa-braille:before {
- content: "\f2a1";
-}
-
-.fa-assistive-listening-systems:before {
- content: "\f2a2";
-}
-
-.fa-asl-interpreting:before,
-.fa-american-sign-language-interpreting:before {
- content: "\f2a3";
-}
-
-.fa-deafness:before,
-.fa-hard-of-hearing:before,
-.fa-deaf:before {
- content: "\f2a4";
-}
-
-.fa-glide:before {
- content: "\f2a5";
-}
-
-.fa-glide-g:before {
- content: "\f2a6";
-}
-
-.fa-signing:before,
-.fa-sign-language:before {
- content: "\f2a7";
-}
-
-.fa-low-vision:before {
- content: "\f2a8";
-}
-
-.fa-viadeo:before {
- content: "\f2a9";
-}
-
-.fa-viadeo-square:before {
- content: "\f2aa";
-}
-
-.fa-snapchat:before {
- content: "\f2ab";
-}
-
-.fa-snapchat-ghost:before {
- content: "\f2ac";
-}
-
-.fa-snapchat-square:before {
- content: "\f2ad";
-}
-
-.fa-pied-piper:before {
- content: "\f2ae";
-}
-
-.fa-first-order:before {
- content: "\f2b0";
-}
-
-.fa-yoast:before {
- content: "\f2b1";
-}
-
-.fa-themeisle:before {
- content: "\f2b2";
-}
-
-.fa-google-plus-circle:before,
-.fa-google-plus-official:before {
- content: "\f2b3";
-}
-
-.fa-fa:before,
-.fa-font-awesome:before {
- content: "\f2b4";
-}
-
-.fa-handshake-o:before {
- content: "\f2b5";
-}
-
-.fa-envelope-open:before {
- content: "\f2b6";
-}
-
-.fa-envelope-open-o:before {
- content: "\f2b7";
-}
-
-.fa-linode:before {
- content: "\f2b8";
-}
-
-.fa-address-book:before {
- content: "\f2b9";
-}
-
-.fa-address-book-o:before {
- content: "\f2ba";
-}
-
-.fa-vcard:before,
-.fa-address-card:before {
- content: "\f2bb";
-}
-
-.fa-vcard-o:before,
-.fa-address-card-o:before {
- content: "\f2bc";
-}
-
-.fa-user-circle:before {
- content: "\f2bd";
-}
-
-.fa-user-circle-o:before {
- content: "\f2be";
-}
-
-.fa-user-o:before {
- content: "\f2c0";
-}
-
-.fa-id-badge:before {
- content: "\f2c1";
-}
-
-.fa-drivers-license:before,
-.fa-id-card:before {
- content: "\f2c2";
-}
-
-.fa-drivers-license-o:before,
-.fa-id-card-o:before {
- content: "\f2c3";
-}
-
-.fa-quora:before {
- content: "\f2c4";
-}
-
-.fa-free-code-camp:before {
- content: "\f2c5";
-}
-
-.fa-telegram:before {
- content: "\f2c6";
-}
-
-.fa-thermometer-4:before,
-.fa-thermometer:before,
-.fa-thermometer-full:before {
- content: "\f2c7";
-}
-
-.fa-thermometer-3:before,
-.fa-thermometer-three-quarters:before {
- content: "\f2c8";
-}
-
-.fa-thermometer-2:before,
-.fa-thermometer-half:before {
- content: "\f2c9";
-}
-
-.fa-thermometer-1:before,
-.fa-thermometer-quarter:before {
- content: "\f2ca";
-}
-
-.fa-thermometer-0:before,
-.fa-thermometer-empty:before {
- content: "\f2cb";
-}
-
-.fa-shower:before {
- content: "\f2cc";
-}
-
-.fa-bathtub:before,
-.fa-s15:before,
-.fa-bath:before {
- content: "\f2cd";
-}
-
-.fa-podcast:before {
- content: "\f2ce";
-}
-
-.fa-window-maximize:before {
- content: "\f2d0";
-}
-
-.fa-window-minimize:before {
- content: "\f2d1";
-}
-
-.fa-window-restore:before {
- content: "\f2d2";
-}
-
-.fa-times-rectangle:before,
-.fa-window-close:before {
- content: "\f2d3";
-}
-
-.fa-times-rectangle-o:before,
-.fa-window-close-o:before {
- content: "\f2d4";
-}
-
-.fa-bandcamp:before {
- content: "\f2d5";
-}
-
-.fa-grav:before {
- content: "\f2d6";
-}
-
-.fa-etsy:before {
- content: "\f2d7";
-}
-
-.fa-imdb:before {
- content: "\f2d8";
-}
-
-.fa-ravelry:before {
- content: "\f2d9";
-}
-
-.fa-eercast:before {
- content: "\f2da";
-}
-
-.fa-microchip:before {
- content: "\f2db";
-}
-
-.fa-snowflake-o:before {
- content: "\f2dc";
-}
-
-.fa-superpowers:before {
- content: "\f2dd";
-}
-
-.fa-wpexplorer:before {
- content: "\f2de";
-}
-
-.fa-meetup:before {
- content: "\f2e0";
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
-}
-
-.sr-only-focusable:active,
-.sr-only-focusable:focus {
- position: static;
- width: auto;
- height: auto;
- margin: 0;
- overflow: visible;
- clip: auto;
-}
diff --git a/assets/icons/font-awesome/css/font-awesome.min.css b/assets/icons/font-awesome/css/font-awesome.min.css
deleted file mode 100644
index 540440c..0000000
--- a/assets/icons/font-awesome/css/font-awesome.min.css
+++ /dev/null
@@ -1,4 +0,0 @@
-/*!
- * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
- */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
diff --git a/assets/icons/font-awesome/fonts/FontAwesome.otf b/assets/icons/font-awesome/fonts/FontAwesome.otf
deleted file mode 100644
index 401ec0f..0000000
Binary files a/assets/icons/font-awesome/fonts/FontAwesome.otf and /dev/null differ
diff --git a/assets/icons/font-awesome/fonts/fontawesome-webfont.eot b/assets/icons/font-awesome/fonts/fontawesome-webfont.eot
deleted file mode 100644
index e9f60ca..0000000
Binary files a/assets/icons/font-awesome/fonts/fontawesome-webfont.eot and /dev/null differ
diff --git a/assets/icons/font-awesome/fonts/fontawesome-webfont.svg b/assets/icons/font-awesome/fonts/fontawesome-webfont.svg
deleted file mode 100644
index 76f1bae..0000000
--- a/assets/icons/font-awesome/fonts/fontawesome-webfont.svg
+++ /dev/null
@@ -1,2672 +0,0 @@
-
-
-
-
- Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016
- By ,,,
- Copyright Dave Gandy 2016. All rights reserved.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/assets/icons/font-awesome/fonts/fontawesome-webfont.ttf b/assets/icons/font-awesome/fonts/fontawesome-webfont.ttf
deleted file mode 100644
index 35acda2..0000000
Binary files a/assets/icons/font-awesome/fonts/fontawesome-webfont.ttf and /dev/null differ
diff --git a/assets/icons/font-awesome/fonts/fontawesome-webfont.woff b/assets/icons/font-awesome/fonts/fontawesome-webfont.woff
deleted file mode 100644
index 400014a..0000000
Binary files a/assets/icons/font-awesome/fonts/fontawesome-webfont.woff and /dev/null differ
diff --git a/assets/icons/font-awesome/fonts/fontawesome-webfont.woff2 b/assets/icons/font-awesome/fonts/fontawesome-webfont.woff2
deleted file mode 100644
index 4d13fc6..0000000
Binary files a/assets/icons/font-awesome/fonts/fontawesome-webfont.woff2 and /dev/null differ
diff --git a/assets/js/editor-in.js b/assets/js/editor-in.js
deleted file mode 100644
index 87bff02..0000000
--- a/assets/js/editor-in.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * Frontend Elementor Tweaks
- *
- * @package dtbaker-elementor
- */
-
-(function ($) {
-
- window.parent.elementor.on('elementor:init', function () {
- console.log('loaded');
- });
-
-})(jQuery);
diff --git a/assets/js/editor.js b/assets/js/editor.js
deleted file mode 100644
index aa96093..0000000
--- a/assets/js/editor.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * Frontend Elementor Tweaks
- *
- * @package dtbaker-elementor
- */
-
-(function ($) {
-
- $(window).on('elementor:init', function () {
-
- /*elementor.hooks.addFilter( 'panel/elements/regionViews', function( regionViews ) {
-
- var regions = elementor.getRegions();
-
- regionViews.dtbakerpage = {
- region: regionViews.global.region,
- view: Marionette.ItemView.extend({
- template: '#tmpl-elementor-panel-dtbakerpage',
-
- id: 'elementor-panel-dtbakerpage',
-
- initialize: function () {
- setTimeout(function () {
- elementor.getPanelView().getCurrentPageView().search.reset();
- }, 100);
- },
-
- onDestroy: function () {
- elementor.getPanelView().getCurrentPageView().showView('search');
- }
- }
- )
- };
-
- return regionViews;
- } );
-
-
- var $templatewrap = $( '#tmpl-elementor-panel-elements' );
- var $template = $( '' + $templatewrap.html() + '
' );
- $template.find( '.elementor-panel-navigation' ).append( 'Style
' );
- $templatewrap.html( $template.html() );
- elementor.on( 'elementor:init', function(){
- var $tabs = $( '#elementor-panel-elements-navigation' );
- } );*/
-
-
- //elementor.config.pro_library_url = 'https://elementor.com/pro/?ref=1164&campaign=prolib';
- console.log && console.log('Welcome to StylePress');
- });
-
- $('body').on('change', 'select[data-setting="dynamic_field_value"]', function () {
- $('#dtbaker-dynamic-code').text($(this).val() ? '{{' + $(this).val() + '}}' : '');
- });
-
- var $templatewrap = $('#tmpl-elementor-panel-categories');
- if ($templatewrap.length) {
- var $template = $('' + $templatewrap.html() + '
');
- $template.find('a[href^="https://go.elementor.com"]').each(function () {
- //$(this).attr('href', 'https://elementor.com/pro/?ref=1164&campaign=jslink');
- });
- $templatewrap.html($template.html());
- }
-
- var $templatewrap = $('#tmpl-elementor-panel-global');
- if ($templatewrap.length) {
- var $template = $('' + $templatewrap.html() + '
');
- $template.find('a[href^="https://go.elementor.com"]').each(function () {
- //$(this).attr('href', 'https://elementor.com/pro/?ref=1164&campaign=jslinkglobal');
- });
- $templatewrap.html($template.html());
- }
-
-
-})(jQuery);
diff --git a/assets/js/frontend-css-editor.js b/assets/js/frontend-css-editor.js
deleted file mode 100644
index f0a7df0..0000000
--- a/assets/js/frontend-css-editor.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Frontend CSS Editor
- *
- * @package dtbaker-elementor
- */
-
-
-(function ($) {
-
- function async(u, c) {
- var d = document, t = 'script',
- o = d.createElement(t),
- s = d.getElementsByTagName(t)[0];
- o.src = '//' + u;
- if (c) {
- o.addEventListener('load', function (e) {
- c(null, e);
- }, false);
- }
- s.parentNode.insertBefore(o, s);
- }
-
- var css_editor_active = false;
-
- var $editor_holder, $showhide, $savebutton, ace_editor;
-
- function save_css() {
-
- }
-
- function ace_loaded_show_editor() {
-
- if (!$editor_holder) {
- $editor_holder = $('
');
- $showhide = $('Show/Hide ');
- $showhide.click(function (e) {
- e.preventDefault();
- toggle_css_editor();
- return false;
- });
- $savebutton = $('Save CSS ');
- $savebutton.click(function (e) {
- e.preventDefault();
- save_css();
- return false;
- });
- $editor_holder.append('
');
- var $buttons = $('
');
- $buttons.append($showhide);
- $buttons.append($savebutton);
- $editor_holder.append($buttons);
- $editor_holder.append('/* loading */ ');
- $('#wpadminbar').after($editor_holder);
- }
-
- $('html').addClass('stylepress-csser');
-
-
- if (!ace_editor) {
- // load in the css content from ajax, then init the editor
- $.post(stylepress_css.ajaxurl, {
- nonce: stylepress_css.nonce,
- action: 'stylepress_get_css',
- style_id: stylepress_css.style_id,
- post_id: stylepress_css.post_id
- }, function (response) {
- if (response && response.success && response.data) {
- $('#stylepress_css').text(response.data.css);
- ace_editor = ace.edit("stylepress_css");
- ace_editor.setTheme("ace/theme/monokai");
- ace_editor.getSession().setMode("ace/mode/css");
- ace_editor.getSession().on('change', function (e) {
- // e.type, etc
- });
- } else {
- $('#stylepress_css').text('Failed to load css');
- }
- });
- }
- css_editor_active = true;
-
- }
-
-
- function toggle_css_editor() {
-
- if (!css_editor_active) {
- // show it
- if (typeof ace !== 'undefined') {
- ace_loaded_show_editor();
- } else {
- async('cdn.jsdelivr.net/ace/1.2.6/noconflict/ace.js', function () {
- ace_loaded_show_editor();
- });
- }
- } else {
- // hide it
- $('html').removeClass('stylepress-csser');
- css_editor_active = false;
- }
- }
-
-
- $('body').on('click', '#wp-admin-bar-stylepress_navc a', function (e) {
- e.preventDefault();
- toggle_css_editor();
- return false;
- });
-
-})(jQuery);
diff --git a/assets/js/frontend.js b/assets/js/frontend.js
deleted file mode 100644
index 0d56c71..0000000
--- a/assets/js/frontend.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Frontend Elementor Tweaks
- *
- * @package dtbaker-elementor
- */
-
-
-(function ($) {
-
-})(jQuery);
diff --git a/assets/js/omni-slider.js b/assets/js/omni-slider.js
deleted file mode 100644
index d357903..0000000
--- a/assets/js/omni-slider.js
+++ /dev/null
@@ -1,564 +0,0 @@
-;(function () {
- 'use strict';
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
-
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- /* Constructor function
- * elementContainer - this acts as a wrapper for the slider, all of the sliders DOM elements will be transcluded inside the provided
- * options - contains the options for the slider
- */
-
- var Slider = function () {
- function Slider() {
- var elementContainer = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
- var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
-
- _classCallCheck(this, Slider);
-
- // Validation of element, the only required argument
- if (!elementContainer || elementContainer.nodeName !== 'DIV' && elementContainer.tagName !== 'DIV') return;
-
- // Contains the options for this slider
- this.options = {
- isOneWay: null,
- isDate: null,
- overlap: null,
- callbackFunction: null,
- min: null,
- max: null,
- start: null,
- end: null
- };
-
- // Custom Logic for 1 way
- var oneWay = false;
- if (options.isOneWay) {
- options.isOneWay = false;
- options.overlap = true;
- if (options.start && !options.end) {
- options.end = options.start;
- }
- options.start = null;
- oneWay = true;
- }
-
- // Handles this.options creation and options initialization
- this.init(options);
-
- // Contain pub/sub listeners
- this.topics = {
- start: [],
- moving: [],
- stop: []
- };
-
- // Contains the DOM elements for the slider
- this.UI = {
- slider: null,
- handleLeft: null,
- handleRight: null,
- fill: null
- };
-
- // Slider element
- var sliderElem = document.createElement('div');
- if (oneWay) {
- sliderElem.className = 'slider one-way';
- } else {
- sliderElem.className = 'slider';
- }
- this.UI.slider = sliderElem;
-
- // Left handle
- var handleLeft = document.createElement('div');
- handleLeft.className = 'handle handle-left';
- var circleLeft = document.createElement('div');
- circleLeft.className = 'slider-circle';
- handleLeft.appendChild(circleLeft);
- this.UI.handleLeft = handleLeft;
- this.UI.slider.appendChild(this.UI.handleLeft);
-
- // Right handle
- var handleRight = document.createElement('div');
- handleRight.className = 'handle handle-right';
- var circleRight = document.createElement('div');
- circleRight.className = 'slider-circle';
- handleRight.appendChild(circleRight);
- this.UI.handleRight = handleRight;
- this.UI.slider.appendChild(this.UI.handleRight);
-
- // Fill element
- var fill = document.createElement('div');
- fill.className = 'slider-fill';
- this.UI.fill = fill;
- this.UI.slider.appendChild(this.UI.fill);
-
- elementContainer.appendChild(this.UI.slider);
-
- // Move handles to have it's center as the end pointer point
- this.UI.handleLeft.style.marginLeft = '-' + handleLeft.offsetWidth / 2 + 'px';
- this.UI.handleRight.style.marginRight = '-' + handleRight.offsetWidth / 2 + 'px';
-
- // Push elements to starting positions
- var data = {
- left: this.options.start,
- right: this.options.end
- };
- this.move.bind(this)(data, true);
-
- // Bind events to start listening
- this.startingHandler = this.starting.bind(this);
- this.UI.handleLeft.onmousedown = this.startingHandler;
- this.UI.handleLeft.ontouchstart = this.startingHandler;
- this.UI.handleRight.onmousedown = this.startingHandler;
- this.UI.handleRight.ontouchstart = this.startingHandler;
- }
-
- /* Default config
- * isOneWay (Boolean denotes if slider only has one handle)
- * isDate (Boolean denotes if returning a moment wrapped value)
- * overlap (Boolean denotes if handles will overlap or just sit next to each other)
- * min and max (isDate ? typeof String [yyyy-mm-ddThh:mm] : typeof Number) - bounds
- * start and end (isDate ? typeof String [yyyy-mm-ddThh:mm] : typeof Number) - starting position
- */
-
-
- _createClass(Slider, [{
- key: 'extend',
-
-
- /* Helper method (replace with shared function from library) */
- value: function extend() {
- var defaults = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
- var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
-
- var extended = {};
- var prop = void 0;
-
- for (prop in defaults) {
- if (Object.prototype.hasOwnProperty.call(defaults, prop)) {
- extended[prop] = defaults[prop];
- }
- }
-
- for (prop in options) {
- if (Object.prototype.hasOwnProperty.call(options, prop)) {
- extended[prop] = options[prop];
- }
- }
-
- return extended;
- }
-
- // Initialize options and browser sniffing
-
- }, {
- key: 'init',
- value: function init() {
- var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
-
- // Extend default options
- if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {
- this.options = this.extend(this.defaultOptions, options);
- } else {
- this.options = this.defaultOptions;
- }
-
- // Default start/end
- this.options.start = this.options.start || this.options.min;
- this.options.end = this.options.end || this.options.max;
-
- // Handle currency vs date type sanitization
- if (this.options.isDate) {
- this.options.max = new Date(this.options.max).valueOf();
- this.options.min = new Date(this.options.min).valueOf();
-
- // Check if max and min are proper
- if (this.options.max < this.options.min) {
- this.options.min = this.options.max;
- }
-
- // Check if start and end are within bounds
- if (typeof this.options.start !== 'undefined' && typeof this.options.end !== 'undefined' && this.options.start <= this.options.end && new Date(this.options.start).valueOf() >= this.options.min && new Date(this.options.end).valueOf() <= this.options.max) {
- this.options.start = new Date(this.options.start).valueOf();
- this.options.end = new Date(this.options.end).valueOf();
- } else {
- this.options.start = new Date(this.options.min).valueOf();
- this.options.end = new Date(this.options.max).valueOf();
- }
- } else {
- this.options.max = parseFloat(this.options.max);
- this.options.min = parseFloat(this.options.min);
-
- // Check if max and min are proper
- if (this.options.max < this.options.min) {
- this.options.min = this.options.max;
- }
-
- // Check if start and end are within bounds
- if (typeof this.options.start !== 'undefined' && typeof this.options.end !== 'undefined' && this.options.start <= this.options.end && this.options.start >= this.options.min && this.options.end <= this.options.max) {
- this.options.start = parseFloat(this.options.start);
- this.options.end = parseFloat(this.options.end);
- } else {
- this.options.start = this.options.min;
- this.options.end = this.options.max;
- }
- }
- }
-
- /* Provide information about the slider value
- * Returns an Object with property left and right denoting left and right values */
-
- }, {
- key: 'getInfo',
- value: function getInfo() {
- var info = {};
- var total = this.options.max - this.options.min;
- var left = this.UI.fill.style.left ? parseFloat(this.UI.fill.style.left.replace('%', '')) : 0;
- var right = this.UI.fill.style.right ? parseFloat(this.UI.fill.style.right.replace('%', '')) : 0;
-
- if (this.options.isDate) {
- info = {
- left: new Date(this.options.min + left / 100 * total),
- right: new Date(this.options.max - right / 100 * total)
- };
- } else {
- info = {
- left: this.options.min + left / 100 * total,
- right: this.options.max - right / 100 * total
- };
- }
-
- if (typeof this.options.callbackFunction === 'function') {
- info.left = this._applyCallback_(info.left, this.options.callbackFunction);
- info.right = this._applyCallback_(info.right, this.options.callbackFunction);
- }
-
- return info;
- }
-
- /*
- * Apply call back using data provided
- **/
-
- }, {
- key: '_applyCallback_',
- value: function _applyCallback_() {
- var data = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0];
- var callback = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
-
- try {
- if (!callback) return null;
-
- return callback.call(undefined, data);
- } catch (error) {
-
- throw error;
- }
- }
-
- /* When handle is pressed
- * Attach all the necessary event handlers */
-
- }, {
- key: 'starting',
- value: function starting() {
- var event = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0];
-
- if (!event) return;
-
- // Exit if disabled
- if (this.isDisabled) return;
-
- var x = 0;
- var y = 0;
-
- // Initialize drag object
- this.dragObj = {};
-
- // Get handle element node not the child nodes
- // If this is a child of the parent try to find the handle element
- this.dragObj.elNode = event.target;
-
- while (!this.dragObj.elNode.classList.contains('handle')) {
- this.dragObj.elNode = this.dragObj.elNode.parentNode;
- }
-
- // Direction where the slider control is going
- this.dragObj.dir = this.dragObj.elNode.classList.contains('handle-left') ? 'left' : 'right';
-
- // Get cursor position wrt the page
- // If touch screen (event.touches) and if IE11 (pageXOffset)
- x = (typeof event.clientX !== 'undefined' ? event.clientX : event.touches[0].pageX) + (window.scrollX || window.pageXOffset);
- y = (typeof event.clientY !== 'undefined' ? event.clientY : event.touches[0].pageY) + (window.scrollY || window.pageYOffset);
-
- // Save starting positions of cursor and element
- this.dragObj.cursorStartX = x;
- this.dragObj.cursorStartY = y;
- this.dragObj.elStartLeft = parseFloat(this.dragObj.elNode.style.left);
- this.dragObj.elStartRight = parseFloat(this.dragObj.elNode.style.right);
- if (isNaN(this.dragObj.elStartLeft)) this.dragObj.elStartLeft = 0;
- if (isNaN(this.dragObj.elStartRight)) this.dragObj.elStartRight = 0;
-
- // Update element's positioning for z-index
- // The element last moved will have a higher positioning
- this.UI.handleLeft.classList.remove('ontop');
- this.UI.handleRight.classList.remove('ontop');
- this.dragObj.elNode.classList.add('ontop');
-
- // Capture mousemove and mouseup events on the page
- this.movingHandler = this.moving.bind(this);
- this.stopHandler = this.stop.bind(this);
- document.addEventListener('mousemove', this.movingHandler, true);
- document.addEventListener('mouseup', this.stopHandler, true);
- document.addEventListener('touchmove', this.movingHandler, true);
- document.addEventListener('touchend', this.stopHandler, true);
-
- // Stop default events
- this.stopDefault.bind(this)(event);
- this.UI.fill.classList.remove('slider-transition');
- this.UI.handleLeft.classList.remove('slider-transition');
- this.UI.handleRight.classList.remove('slider-transition');
-
- // Pub/sub lifecycle - start
- this.publish('start', this.getInfo());
- }
-
- /* When handle is being moved */
-
- }, {
- key: 'moving',
- value: function moving(event) {
- // Get cursor position with respect to the page
- var x = (typeof event.clientX !== 'undefined' ? event.clientX : event.touches[0].pageX) + (window.scrollX || window.pageXOffset);
-
- // Move drag element by the same amount the cursor has moved
- var sliderWidth = this.UI.slider.offsetWidth;
- var calculatedVal = 0;
- if (this.dragObj.dir === 'left') {
- calculatedVal = this.dragObj.elStartLeft + (x - this.dragObj.cursorStartX) / sliderWidth * 100;
- } else if (this.dragObj.dir === 'right') {
- calculatedVal = this.dragObj.elStartRight + (this.dragObj.cursorStartX - x) / sliderWidth * 100;
- }
-
- // Keep handles within range
- if (calculatedVal < 0) {
- calculatedVal = 0;
- } else if (calculatedVal > 100) {
- calculatedVal = 100;
- }
-
- // Sanitize to work for both directions
- // Since we are adding to left and right there should not be a negative number
- calculatedVal = Math.abs(calculatedVal);
-
- // Take into account the handle when calculating space left
- var handleOffset = 0;
- if (!this.options.overlap) {
- handleOffset = this.UI.handleRight.offsetWidth / this.UI.slider.offsetWidth * 100;
- }
-
- // Add movement based on handle direction
- var remaining = 0;
- if (this.dragObj.dir === 'left') {
- remaining = 100 - handleOffset - this.UI.fill.style.right.replace('%', '');
- if (remaining <= calculatedVal) {
- calculatedVal = remaining;
- }
-
- this.dragObj.elNode.style.left = calculatedVal + '%';
- this.UI.fill.style.left = calculatedVal + '%';
- } else {
- remaining = 100 - handleOffset - this.UI.fill.style.left.replace('%', '');
- if (remaining <= calculatedVal) {
- calculatedVal = remaining;
- }
-
- this.dragObj.elNode.style.right = calculatedVal + '%';
- this.UI.fill.style.right = calculatedVal + '%';
- }
-
- // Stop default events
- this.stopDefault.bind(this)(event);
-
- // Pub/sub lifecycle - moving
- this.publish('moving', this.getInfo());
- }
-
- /* When handle is blured - do clean up */
-
- }, {
- key: 'stop',
- value: function stop(event) {
- // Stop capturing mousemove and mouseup events
- document.removeEventListener('mousemove', this.movingHandler, true);
- document.removeEventListener('mouseup', this.stopHandler, true);
- document.removeEventListener('touchmove', this.movingHandler, true);
- document.removeEventListener('touchend', this.stopHandler, true);
-
- // Stop default events
- this.stopDefault.bind(this)(event);
-
- // Pub/sub lifecycle - stop
- this.publish('stop', this.getInfo());
- }
-
- /* Push elements to position based on data */
-
- }, {
- key: 'move',
- value: function move(data, preventPublish) {
- var importedData = data;
-
- // Transition effects (cleaned up at Slider.prototype.starting);
- this.UI.fill.classList.add('slider-transition');
- this.UI.handleLeft.classList.add('slider-transition');
- this.UI.handleRight.classList.add('slider-transition');
-
- var total = this.options.max - this.options.min;
-
- if ((typeof importedData === 'undefined' ? 'undefined' : _typeof(importedData)) === 'object') {
- if (importedData.left) {
- if (importedData.left < this.options.min) importedData.left = this.options.min;
- if (importedData.left > this.options.max) importedData.left = this.options.max;
-
- var posLeft = (importedData.left - this.options.min) / total * 100;
- this.UI.handleLeft.style.left = posLeft + '%';
- this.UI.fill.style.left = posLeft + '%';
- }
-
- if (importedData.right) {
- if (importedData.right < this.options.min) importedData.right = this.options.min;
- if (importedData.right > this.options.max) importedData.right = this.options.max;
-
- var posRight = (this.options.max - importedData.right) / total * 100;
- this.UI.handleRight.style.right = posRight + '%';
- this.UI.fill.style.right = posRight + '%';
- }
-
- // If overlap is not enabled then check if the starting positions are overlapping - reset to full
- if (!this.options.overlap && this.UI.handleLeft.offsetLeft + this.UI.handleLeft.offsetWidth > this.UI.handleRight.offsetLeft - 1) {
- this.UI.fill.style.left = '0%';
- this.UI.fill.style.right = '0%';
- this.UI.handleLeft.style.left = '0%';
- this.UI.handleRight.style.right = '0%';
- }
- } else if (!isNaN(importedData)) {
- if (importedData < this.options.min) importedData = this.options.min;
- if (importedData > this.options.max) importedData = this.options.max;
-
- var pos = (importedData - this.options.min) / total * 100;
- this.UI.handleLeft.style.left = pos + '%';
- this.UI.fill.style.left = '0%';
- this.UI.fill.style.right = 100 - pos + '%';
- }
-
- // Pub/sub lifecycle - moving
- if (!preventPublish) {
- this.publish('moving', this.getInfo());
- }
- }
-
- /* Utility function to stop default events */
-
- }, {
- key: 'stopDefault',
- value: function stopDefault() {
- var event = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0];
-
- if (!event) return;
-
- event.preventDefault();
- }
-
- /* Accessor for disable property */
-
- }, {
- key: 'disable',
- value: function disable(boolean) {
- this.isDisabled = boolean;
- if (this.isDisabled) {
- this.UI.slider.classList.add('slider-disabled');
- } else {
- this.UI.slider.classList.remove('slider-disabled');
- }
- }
-
- /* Subscribe hook
- * Topic - keyword (start, moving, end)
- * Listener - function that will be called when topic is fired with argument of getInfo() data
- */
-
- }, {
- key: 'subscribe',
- value: function subscribe() {
- var topic = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0];
- var listener = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
-
-
- if (!topic || !listener) return {};
-
- // Check validity of topic and listener
- if (!this.topics.hasOwnProperty.call(this.topics, topic) || typeof topic !== 'string' || typeof listener !== 'function') return {};
-
- // Add the listener to queue
- // Retrieve the index for deletion
- var index = this.topics[topic].push(listener) - 1;
-
- // Return instance of the subscription for deletion
- return {
- remove: function () {
- delete this.topics[topic][index];
- }.bind(this)
- };
- }
-
- /* Publish hook
- * Topic - keyword (start, moving, end)
- * Data - getInfo() result to pass into the listener
- */
-
- }, {
- key: 'publish',
- value: function publish() {
- var topic = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0];
- var data = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
-
-
- if (!topic || !data) return;
-
- // Check validity of topic
- if (!this.topics.hasOwnProperty.call(this.topics, topic) || typeof topic !== 'string') return;
-
- // Cycle through events in the queue and fire them with the slider data
- this.topics[topic].forEach(function (event) {
- event(data);
- });
- }
- }, {
- key: 'defaultOptions',
- get: function get() {
- return {
- isOneWay: false,
- isDate: false,
- overlap: false,
- callbackFunction: null,
- min: 0,
- max: 100
- };
- }
- }]);
-
- return Slider;
- }();
-
- if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
- module.exports = Slider;
- } else {
- window.Slider = Slider;
- }
-}());
diff --git a/assets/js/payment.js b/assets/js/payment.js
deleted file mode 100644
index bf36957..0000000
--- a/assets/js/payment.js
+++ /dev/null
@@ -1,208 +0,0 @@
-/**
- * Payment pay
- *
- * @package dtbaker-elementor
- */
-
-
-(function ($) {
-
- var stripe_pub_key = 'pk_live_sHzlXhBGv3ySRTVbsCGkxcgd';
- var loading_stripe = false;
- var stripe_load_done = false;
- var purchasing_style = {};
- var $dialog = false;
- var stripe = false, card = false;
-
- function bind_stripe_elements() {
-
- stripe = Stripe(stripe_pub_key);
- var elements = stripe.elements();
-
- var style = {
- base: {
- color: '#32325d',
- lineHeight: '24px',
- fontFamily: 'Helvetica Neue',
- fontSmoothing: 'antialiased',
- fontSize: '16px',
- '::placeholder': {
- color: '#aab7c4'
- }
- },
- invalid: {
- color: '#fa755a',
- iconColor: '#fa755a'
- }
- };
-
-
- card = elements.create('card', {style: style});
- card.mount('.stripe-card-element');
-
- // Handle real-time validation errors from the card Element.
- card.addEventListener('change', function (event) {
- const displayError = document.getElementById('card-errors');
- if (event.error) {
- displayError.textContent = event.error.message;
- } else {
- displayError.textContent = '';
- }
- });
-
- }
-
- function stylepress_stripe_has_loaded() {
-
- loading_stripe = false;
- stripe_load_done = true;
-
- bind_stripe_elements();
-
-
- }
-
- function open_popup() {
- if ($('#stylepress-payment-pop').length) {
- $('#stylepress-payment-pop').remove();
- }
- $dialog = $('
');
- $dialog.html($('#tmpl-stylepress-payment-popup').html());
-
- $dialog.dialog({
- title: 'Purchase',
- dialogClass: 'wp-dialog',
- autoOpen: true,
- draggable: true,
- width: 'auto',
- modal: true,
- resizable: false,
- closeOnEscape: true,
- position: {
- my: "center",
- at: "center",
- of: window
- },
- open: function () {
- // close dialog by clicking the overlay behind it
- $dialog.find('.ui-widget-overlay').bind('click', function () {
- $dialog.dialog('close');
- });
- var slider4 = new Slider(document.getElementById('stylepress-card-amount'), {
- isOneWay: true,
- start: parseInt(purchasing_style.stylecost),
- min: 1,
- max: 40
- });
- slider4.subscribe('moving', function (data) {
- document.getElementById('stylepress-amount-update').innerHTML = '$' + Math.round(data.right);
- $('.stylepress-card-amount-value').val(Math.round(data.right));
- });
- document.getElementById('stylepress-amount-update').innerHTML = '$' + Math.round(slider4.getInfo().right);
- $('.stylepress-card-amount-value').val(parseInt(purchasing_style.stylecost));
-
- var $btn = $dialog.find('.stylepress-final-purchase-button');
- $btn.text('Purchase & Install Style: ' + purchasing_style.stylename);
- $btn.click(function () {
- $dialog.find('.stylepress-payment-popup').addClass('processing');
- stripe.createToken(card).then(function (result) {
- if (!result) {
- $dialog.find('.stylepress-payment-popup').removeClass('processing');
- alert('Failed to process stripe');
- } else if (result.error) {
- // Inform the user if there was an error
- $dialog.find('.stylepress-payment-popup').removeClass('processing');
- var errorElement = document.getElementById('card-errors');
- errorElement.textContent = result.error.message;
- } else {
- // Send the token to our stylepress server for processing.
- var postdata = stylepress_payment || {};
- postdata.token = result.token.id;
- postdata.purchase = purchasing_style.styleslug;
- postdata.name = $dialog.find('input[name="name"]').val();
- postdata.email = $dialog.find('input[name="email"]').val();
- postdata.amount = $dialog.find('input[name="amount"]').val();
- $.ajax({
- type: 'POST',
- url: 'https://styleserver.stylepress.org/wp-admin/admin-ajax.php?action=stylepress_payment',
- crossDomain: true,
- data: postdata,
- dataType: 'json',
- success: function (responseData, textStatus, jqXHR) {
- if (responseData && responseData.success && responseData.data) {
- // success! redirect to install page.
-
- // post our purchase token to the local wp install, we send this along with install requests to verify payment.
- $.post(ajaxurl, {
- 'action': 'stylepress_purchase_complete',
- 'payment': stylepress_payment,
- 'server': responseData.data
- }, function (response) {
-
- if (!response.success) {
- alert("failed to record local payment. Please contact dtbaker.");
- }
-
- window.location.href = purchasing_style.redirect;
-
- }, 'json').fail(function () {
- alert("Error saving local payment. Contact dtbaker.");
- });
-
- } else {
- $dialog.find('.stylepress-payment-popup').removeClass('processing');
- alert('Payment failed. ' + (typeof responseData.message != 'undefined' ? responseData.message : ''));
- }
- },
- error: function (responseData, textStatus, errorThrown) {
- $dialog.find('.stylepress-payment-popup').removeClass('processing');
- alert('Payment processing failed.');
- }
- });
- }
- });
- });
-
-
- },
- create: function () {
- // style fix for WordPress admin
- $dialog.find('.ui-dialog-titlebar-close').addClass('ui-button');
- }
- });
- }
-
- function stylepress_load_stripe() {
- if (loading_stripe) {
- return;
- }
- if (stripe_load_done) {
- stylepress_stripe_has_loaded();
- }
- loading_stripe = true;
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = 'https://js.stripe.com/v3/';
- document.head.appendChild(script);
- script.onload = stylepress_stripe_has_loaded;
- }
-
- $(function () {
- $('.button-stylepress-pay').click(function (e) {
- e.preventDefault();
-
- $(this).addClass('paying');
-
- purchasing_style = $(this).data();
- purchasing_style.redirect = $(this).attr('href');
-
- open_popup();
-
- stylepress_load_stripe();
-
- return false;
- });
- });
-
-})(jQuery);
-
diff --git a/components/backend/ui.php b/components/backend/ui.php
new file mode 100644
index 0000000..9bc1c9b
--- /dev/null
+++ b/components/backend/ui.php
@@ -0,0 +1,130 @@
+add_top_level_menu();
+
+ if($top_level_slug) {
+ \StylePress\Layout\Layout::get_instance()->add_submenu($top_level_slug);
+ \StylePress\Styles\Styles::get_instance()->add_submenu($top_level_slug);
+ }
+ }
+
+ /**
+ * Adds a meta box to every post type.
+ *
+ * @since 2.0.0
+ */
+ public function meta_box_add() {
+ if(\StylePress\Core\Permissions::get_instance()->can_edit_post_meta_boxes()) {
+ $post_types = get_post_types();
+ foreach ( $post_types as $post_type ) {
+ if ( ! in_array( $post_type, array( Cpt::CPT, 'elementor_library' ), true ) ) {
+ add_meta_box(
+ 'stylepress_style_metabox',
+ __( 'StylePress', 'stylepress' ),
+ array( $this, 'meta_box_display' ),
+ $post_type,
+ 'side',
+ 'high'
+ );
+ }
+ }
+ }
+ }
+
+ /**
+ * This renders our metabox on most page/post types.
+ *
+ * @param \WP_Post $post Current post object.
+ *
+ * @since 2.0.0
+ *
+ */
+ public function meta_box_display( $post ) {
+ if(\StylePress\Core\Permissions::get_instance()->can_edit_post_meta_boxes($post)) {
+ $default_styles = Data::get_instance()->get_default_styles();
+ $page_styles = Data::get_instance()->get_page_styles( $post->ID );
+ $page_status = Data::get_instance()->is_stylpress_enabled( $post );
+ $categories = Data::get_instance()->get_categories();
+ $page_type = Render::get_instance()->get_current_page_type();
+
+ include_once __DIR__ . '/views/post-meta-box.php';
+ }
+ }
+
+ /**
+ * Saves our metabox details, which is the style for a particular page.
+ *
+ * @param int $post_id The post we're current saving.
+ *
+ * @since 2.0.0
+ *
+ */
+ public function meta_box_save( $post_id ) {
+ // Check if our nonce is set.
+ if ( ! isset( $_POST['stylepress_style_nonce'] ) ) { // WPCS: input var okay.
+ return;
+ }
+
+ // Verify that the nonce is valid.
+ if ( ! wp_verify_nonce( $_POST['stylepress_style_nonce'], 'stylepress_style_nonce' ) ) { // WPCS: sanitization ok. input var okay.
+ return;
+ }
+
+ // If this is an autosave, our form has not been submitted, so we don't want to do anything.
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
+ return;
+ }
+
+ if ( isset( $_POST['stylepress_style'] ) && is_array( $_POST['stylepress_style'] ) ) { // WPCS: sanitization ok. input var okay.
+ $custom_post_styles = [];
+ $categories = Data::get_instance()->get_categories();
+ $default_styles = Data::get_instance()->get_default_styles();
+
+ foreach ( $categories as $category ) {
+ if ( $category['global_selector'] && !empty($_POST['stylepress_style'][$category['slug']])) {
+ $custom_post_styles[$category['slug']] = $_POST['stylepress_style'][$category['slug']];
+ }
+ }
+ update_post_meta( $post_id, 'stylepress_style', $custom_post_styles ); // WPCS: sanitization ok. input var okay.
+ }
+ }
+}
diff --git a/components/backend/views/post-meta-box.php b/components/backend/views/post-meta-box.php
new file mode 100644
index 0000000..f0afcd0
--- /dev/null
+++ b/components/backend/views/post-meta-box.php
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+ and the second %s is a closing link .
+ printf( esc_html__( 'Choose the styles for this "%s" below.', 'stylepress' ), $page_type ); ?>
+
+ get_all_styles( $category['slug'], true );
+ if ( $designs ) {
+ ?>
+
+
+
+
+
+
+
+ $design_name ) {
+ ?>
+ >
+
+
+
+
+ editor->is_edit_mode() ) {
+ $post = get_post();
+ if ( $post->post_type === Cpt::CPT ) {
+ $post_categories = get_the_terms( $post->ID, STYLEPRESS_SLUG . '-cat' );
+ $categories = \StylePress\Styles\Data::get_instance()->get_categories();
+ foreach ( $categories as $category ) {
+ foreach ( $post_categories as $post_category ) {
+ if ( $post_category->slug === $category['slug'] && ! empty( $category['inner'] ) ) {
+ $is_inner_content_page = true;
+ }
+ }
+ }
+ }
+ }
+
+ return $is_inner_content_page;
+ }
+
+
+ public function has_permission( $post = false ) {
+ return current_user_can( 'edit_posts' );
+ //current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' )
+ }
+
+
+
+ public function get_active_style_id() {
+ return get_theme_mod( 'stylepress_active_style_id' );
+ }
+
+ public function set_active_style_id( $style_id ) {
+ set_theme_mod( 'stylepress_active_style_id', $style_id );
+ }
+
+ public function get_active_style_data() {
+ $active_style_id = $this->get_active_style_id();
+ if($active_style_id) {
+ return $this->get_style_data( $active_style_id );
+ }
+ }
+
+ /**
+ * When a remote style is imported it comes with a bunch of data we use for TGM and other things.
+ * This is stored in the stylepress_data post meta object.
+ *
+ * @param $style_id
+ *
+ * @return mixed
+ */
+ public function get_style_data( $style_id ) {
+ return get_post_meta($style_id, 'stylepress_data', true);
+ }
+
+
+ public function stylepress_export() {
+
+ if ( ! isset( $_GET['stylepress_export_data'] ) || empty( $_GET['post_id'] ) ) { // WPCS: input var okay.
+ return;
+ }
+
+ // Verify that the nonce is valid.
+ if ( ! wp_verify_nonce( $_GET['stylepress_export_data'], 'stylepress_export_data' ) ) { // WPCS: sanitization ok. input var okay.
+ return;
+ }
+
+ $post_id = (int) $_GET['post_id'];
+
+ if ( ! $this->has_permission( $post_id ) ) {
+ return;
+ }
+
+ require_once STYLEPRESS_PATH . 'inc/class.import-export.php';
+ $import_export = StylepressImportExport::get_instance();
+ $data = $import_export->export_data( $post_id );
+
+ echo '';
+ print_r( $data );
+ echo ' ';
+ exit;
+
+ wp_send_json( $data );
+
+ exit;
+ }
+
+ public function stylepress_clone() {
+
+ if ( ! isset( $_GET['stylepress_clone'] ) || empty( $_GET['post_id'] ) ) { // WPCS: input var okay.
+ return;
+ }
+
+ // Verify that the nonce is valid.
+ if ( ! wp_verify_nonce( $_GET['stylepress_clone'], 'stylepress_clone' ) ) { // WPCS: sanitization ok. input var okay.
+ return;
+ }
+
+ $post_id = (int) $_GET['post_id'];
+
+ $post = get_post( $post_id );
+
+ /*
+ * if post data exists, create the post duplicate
+ */
+ if ( $post && Styles::CPT === $post->post_type ) {
+
+ if ( ! $post->post_parent ) {
+ $post->post_parent = $post_id; // we're cloaning the parent one, put it underneath itself.
+ }
+ $args = array(
+ 'comment_status' => $post->comment_status,
+ 'ping_status' => $post->ping_status,
+ 'post_author' => $post->post_author,
+ 'post_content' => $post->post_content,
+ 'post_excerpt' => $post->post_excerpt,
+ 'post_name' => $post->post_name,
+ 'post_parent' => $post->post_parent,
+ 'post_password' => $post->post_password,
+ 'post_status' => $post->post_status,
+ 'post_title' => '(clone) ' . $post->post_title,
+ 'post_type' => $post->post_type,
+ 'to_ping' => $post->to_ping,
+ 'menu_order' => $post->menu_order
+ );
+
+ /*
+ * insert the post by wp_insert_post() function
+ */
+ $new_post_id = wp_insert_post( $args );
+
+ if ( $new_post_id ) {
+ global $wpdb;
+ /*
+ * duplicate all post meta just in two SQL queries
+ */
+ $post_meta_infos = $wpdb->get_results( "SELECT meta_key, meta_value FROM $wpdb->postmeta WHERE post_id=$post_id" );
+ if ( count( $post_meta_infos ) != 0 ) {
+ $sql_query = "INSERT INTO $wpdb->postmeta (post_id, meta_key, meta_value) ";
+ $sql_query_sel = array();
+ foreach ( $post_meta_infos as $meta_info ) {
+ $meta_key = $meta_info->meta_key;
+ $meta_value = esc_sql( $meta_info->meta_value );
+ $sql_query_sel[] = "SELECT $new_post_id, '$meta_key', '$meta_value'";
+ }
+
+ $sql_query .= implode( " UNION ALL ", $sql_query_sel );
+ $wpdb->query( $sql_query );
+ }
+
+ wp_safe_redirect( get_edit_post_link( $new_post_id, 'edit' ) );
+ exit;
+
+ }
+
+
+ }
+
+ return false;
+
+ }
+
+
+
+}
+
diff --git a/components/core/settings.php b/components/core/settings.php
new file mode 100644
index 0000000..d9129e4
--- /dev/null
+++ b/components/core/settings.php
@@ -0,0 +1,82 @@
+get();
+ $settings[ $key ] = $value;
+ update_option( self::OPTION_KEY, $settings );
+ }
+
+ /**
+ * Returns a list of all our configuraable page types.
+ *
+ * @since 2.0.0
+ *
+ */
+ public function get_all_page_types() {
+ $defaults = array(
+ '_global' => 'Global Default',
+ 'front_page' => 'Front/Home Page',
+ 'page' => 'Single Page',
+ 'post' => 'Single Blog Post',
+ 'category' => 'Category',
+ 'search' => 'Search Results',
+ '404' => '404 Page',
+ 'archive' => 'Archive Pages',
+ 'tag' => 'Tag Pages',
+ 'attachment' => 'Image Attachment',
+ );
+
+ if ( function_exists( 'WC' ) ) {
+ // add our own woocommerce entries.
+ $defaults['products'] = 'WooCommerce Shop';
+ $defaults['product'] = 'WooCommerce Product';
+ $defaults['product_category'] = 'WooCommerce Category';
+ }
+
+ $post_types = get_post_types( array( 'public' => true ) );
+ foreach ( $post_types as $post_type ) {
+ if ( ! in_array( $post_type, array( \StylePress\Styles\Cpt::CPT, 'elementor_library', 'attachment' ), true ) ) {
+ if ( ! isset( $defaults[ $post_type ] ) ) {
+ $data = get_post_type_object( $post_type );
+ $defaults[ $post_type ] = $data->labels->singular_name;
+ }
+ }
+ }
+
+ return apply_filters( 'stylepress_page_types', $defaults );
+ }
+
+}
+
diff --git a/components/data/envato-setup-export.php b/components/data/envato-setup-export.php
new file mode 100644
index 0000000..b879679
--- /dev/null
+++ b/components/data/envato-setup-export.php
@@ -0,0 +1,249 @@
+ '' ) );
+$taxonomies = get_taxonomies();
+foreach ( $post_types_to_export as $post_type ) {
+ if ( in_array( $post_type, array( 'revision', 'event', 'event-recurring' ) ) ) {
+ continue;
+ } // post types to ignore.
+ $args = array( 'post_type' => $post_type, 'posts_per_page' => - 1 );
+ $args['post_status'] = array( 'publish', 'private', 'inherit' );
+ $post_datas = get_posts( $args );
+ if ( ! isset( $default_content[ $post_type ] ) ) {
+ $default_content[ $post_type ] = array();
+ }
+ $object = get_post_type_object( $post_type );
+ if ( $object && ! empty( $object->labels->singular_name ) ) {
+ $type_title = $object->labels->name;
+ } else {
+ $type_title = ucwords( $post_type ) . 's';
+ }
+
+ foreach ( $post_datas as $post_data ) {
+ $meta = get_post_meta( $post_data->ID, '', true );
+ if ( $post_data->ID == 65 ) {
+ // print_r($meta); exit;
+ }
+ foreach ( $meta as $meta_key => $meta_val ) {
+ if (
+ // which keys to nuke all the time
+ in_array( $meta_key, array( '_location_id' ) )
+ ||
+ (
+ // which keys we want to keep all the time, using strpos:
+ strpos( $meta_key, 'elementor' ) === false &&
+ strpos( $meta_key, 'dtbaker' ) === false &&
+ strpos( $meta_key, 'vc_' ) === false &&
+ strpos( $meta_key, 'wpb_' ) === false &&
+ strpos( $meta_key, 'dtbwp_' ) === false &&
+ strpos( $meta_key, '_slider' ) === false &&
+ // which post types we keep all meta values for:
+ ! in_array( $post_type, array(
+ 'nav_menu_item',
+ 'location',
+ 'event',
+ 'product',
+ 'wpcf7_contact_form',
+ ) ) &&
+ // other meta keys we always want to keep:
+ ! in_array( $meta_key, array(
+ 'dtbwp_post_title_details',
+ 'dtbwp_page_style',
+ 'sliderlink',
+ 'slidercolor',
+ '_wp_attached_file',
+ '_thumbnail_id',
+ ) )
+ )
+ ) {
+ unset( $meta[ $meta_key ] );
+ } else {
+ $meta[ $meta_key ] = maybe_unserialize( get_post_meta( $post_data->ID, $meta_key, true ) );
+ }
+ }
+ // copy stock images into the images/stock/ folder for theme import.
+ if ( $post_type === 'attachment' ) {
+ $file = get_attached_file( $post_data->ID );
+ if ( is_file( $file ) ) {
+ if ( filesize( $file ) > 1500000 ) {
+ $image = wp_get_image_editor( $file );
+ if ( ! is_wp_error( $image ) ) {
+ list( $width, $height, $type, $attr ) = getimagesize( $file );
+ $image->resize( min( $width, 1200 ), null, false );
+ $image->save( $file );
+ }
+ }
+ $post_data->guid = wp_get_attachment_url( $post_data->ID );
+ if ( is_dir( $export_images_path ) ) {
+ copy( $file, trailingslashit( $export_images_path ) . basename( $file ) );
+ }
+ }
+ // fix for incorrect GUID when renaming files with the rename plugin, causes import to bust.
+
+ }
+ $terms = array();
+ foreach ( $taxonomies as $taxonomy ) {
+ $terms[ $taxonomy ] = wp_get_post_terms( $post_data->ID, $taxonomy, array( 'fields' => 'all' ) );
+ if ( $terms[ $taxonomy ] ) {
+ foreach ( $terms[ $taxonomy ] as $tax_id => $tax ) {
+ if ( ! empty( $tax->term_id ) ) {
+ $terms[ $taxonomy ][ $tax_id ]->meta = get_term_meta( $tax->term_id );
+ if ( ! empty( $terms[ $taxonomy ][ $tax_id ]->meta ) ) {
+ foreach ( $terms[ $taxonomy ][ $tax_id ]->meta as $key => $val ) {
+ if ( is_array( $val ) && count( $val ) == 1 && isset( $val[0] ) ) {
+ $terms[ $taxonomy ][ $tax_id ]->meta[ $key ] = $val[0];
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ $default_content[ $post_type ][] = array(
+ 'type_title' => $type_title,
+ 'post_id' => $post_data->ID,
+ 'post_title' => $post_data->post_title,
+ 'post_status' => $post_data->post_status,
+ 'post_name' => $post_data->post_name,
+ 'post_content' => $post_data->post_content,
+ 'post_excerpt' => $post_data->post_excerpt,
+ 'post_parent' => $post_data->post_parent,
+ 'menu_order' => $post_data->menu_order,
+ 'post_date' => $post_data->post_date,
+ 'post_date_gmt' => $post_data->post_date_gmt,
+ 'guid' => $post_data->guid,
+ 'post_mime_type' => $post_data->post_mime_type,
+ 'meta' => $meta,
+ 'terms' => $terms,
+ // 'other' => $post_data,
+ );
+ }
+}
+// put certain content at very end.
+$nav = isset( $default_content['nav_menu_item'] ) ? $default_content['nav_menu_item'] : array();
+if ( $nav ) {
+ unset( $default_content['nav_menu_item'] );
+ $default_content['nav_menu_item'] = $nav;
+}
+// print_r($default_content);
+// exit;
+// find the ID of our menu names so we can import them into default menu locations and also the widget positions below.
+$menus = get_terms( 'nav_menu' );
+$menu_ids = array();
+foreach ( $menus as $menu ) {
+ if ( $menu->name == 'Main Menu' ) {
+ $menu_ids['primary'] = $menu->term_id;
+ } else if ( $menu->name == 'Quick Links' ) {
+ $menu_ids['footer_quick'] = $menu->term_id;
+ }
+}
+// used for me to export my widget settings.
+$widget_positions = get_option( 'sidebars_widgets' );
+$widget_options = array();
+$my_options = array();
+foreach ( $widget_positions as $sidebar_name => $widgets ) {
+ if ( is_array( $widgets ) ) {
+ foreach ( $widgets as $widget_name ) {
+ $widget_name_strip = preg_replace( '#-\d+$#', '', $widget_name );
+ $widget_options[ $widget_name_strip ] = get_option( 'widget_' . $widget_name_strip );
+ }
+ }
+}
+// choose which custom options to load into defaults
+$all_options = wp_load_alloptions();
+//print_r($all_options);exit;
+foreach ( $all_options as $name => $value ) {
+ if ( stristr( $name, 'elementor' ) ) {
+ $my_options[ $name ] = maybe_unserialize( $value );
+ }
+ if ( stristr( $name, '_widget_area_manager' ) ) {
+ $my_options[ $name ] = $value;
+ }
+ if ( stristr( $name, 'wam_' ) ) {
+ $my_options[ $name ] = $value;
+ }
+ //if ( stristr( $name, 'dbem_' ) !== false ) { $my_options[ $name ] = $value; }
+ // if ( stristr( $name, 'woo' ) !== false ) { $my_options[ $name ] = $value; }
+ if ( stristr( $name, 'dtbaker_featured_images' ) !== false ) {
+ $my_options[ $name ] = $value;
+ }
+ if ( 'theme_mods_theme-textdomain-here' === $name ) {
+ $my_options[ $name ] = maybe_unserialize( $value );
+ $my_options[ $name . '-child' ] = maybe_unserialize( $value );
+ unset( $my_options[ $name ]['nav_menu_locations'] );
+ }
+}
+$my_options['dbem_credits'] = 0;
+$my_options['woocommerce_cart_redirect_after_add'] = 'yes';
+$my_options['woocommerce_enable_ajax_add_to_cart'] = 'no';
+//$my_options['travel_settings'] = array( 'api_key' => 'AIzaSyBsnYWO4SSibatp0SjsU9D2aZ6urI-_cJ8' );
+//$my_options['tt-font-google-api-key'] = 'AIzaSyBsnYWO4SSibatp0SjsU9D2aZ6urI-_cJ8';
+$my_options = $this->filter_options( $my_options );
+
+if ( is_dir( $export_content_path ) ) {
+
+ // which style are we writing to?
+ $stylefolder = basename( get_theme_mod( 'dtbwp_site_style', $this->get_default_theme_style() ) );
+ if ( $stylefolder ) {
+ $export_content_path = trailingslashit( $export_content_path ) . $stylefolder;
+ if ( ! is_dir( $export_content_path ) ) {
+ wp_mkdir_p( $export_content_path ); // if directory didn't exist, let's create it
+ }
+ }
+ file_put_contents( trailingslashit( $export_content_path ) . 'default.json', json_encode( $default_content ) );
+ file_put_contents( trailingslashit( $export_content_path ) . 'widget_positions.json', json_encode( $widget_positions ) );
+ file_put_contents( trailingslashit( $export_content_path ) . 'widget_options.json', json_encode( $widget_options ) );
+ file_put_contents( trailingslashit( $export_content_path ) . 'menu.json', json_encode( $menu_ids ) );
+ file_put_contents( trailingslashit( $export_content_path ) . 'options.json', json_encode( $my_options ) );
+}
+
+?>
+ :
+
+
+
+
+
+
+
+
+
+get_current_site_style() );
+ $export_path = trailingslashit( WP_CONTENT_DIR ) . 'stylepress-export/' . basename( $stylefolder );
+ $export_images_path = trailingslashit( $export_path ) . 'images';
+ $export_content_path = trailingslashit( $export_path ) . 'content';
+ $return['current_style'] = $stylefolder;
+ $return['export_path'] = $export_path;
+ $return['export_images_path'] = $export_images_path;
+ $return['export_content_path'] = $export_content_path;
+
+ // if directory didn't exist, let's create it
+ if ( ! is_dir( $export_content_path ) ) {
+ wp_mkdir_p( $export_content_path );
+ }
+ if ( ! is_dir( $export_images_path ) ) {
+ wp_mkdir_p( $export_images_path );
+ }
+
+ $default_content = array();
+ $post_types_to_export = array( 'attachment', 'wpcf7_contact_form', 'post', 'page' );
+ foreach ( get_post_types() as $post_type ) {
+ if ( ! in_array( $post_type, $post_types_to_export ) ) { // which post types to ignore.
+ $post_types_to_export[] = $post_type;
+ }
+ }
+ $categories = get_categories( array( 'type' => '' ) );
+ $taxonomies = get_taxonomies();
+ foreach ( $post_types_to_export as $post_type ) {
+ if ( in_array( $post_type, array( 'revision', 'event', 'event-recurring' ) ) ) {
+ continue;
+ } // post types to ignore.
+ $args = array( 'post_type' => $post_type, 'posts_per_page' => - 1 );
+ $args['post_status'] = array( 'publish', 'private', 'inherit' );
+ $post_datas = get_posts( $args );
+ if ( ! isset( $default_content[ $post_type ] ) ) {
+ $default_content[ $post_type ] = array();
+ }
+ $object = get_post_type_object( $post_type );
+ if ( $object && ! empty( $object->labels->singular_name ) ) {
+ $type_title = $object->labels->name;
+ } else {
+ $type_title = ucwords( $post_type ) . 's';
+ }
+
+ foreach ( $post_datas as $post_data ) {
+ $meta = get_post_meta( $post_data->ID, '', true );
+ if ( $post_data->ID == 65 ) {
+ // print_r($meta); exit;
+ }
+ foreach ( $meta as $meta_key => $meta_val ) {
+ if (
+ // which keys to nuke all the time
+ in_array( $meta_key, array( '_location_id' ) )
+ ||
+ (
+ // which keys we want to keep all the time, using strpos:
+ strpos( $meta_key, 'elementor' ) === false &&
+ strpos( $meta_key, 'dtbaker' ) === false &&
+ strpos( $meta_key, 'stylepress_' ) === false &&
+ strpos( $meta_key, '_slider' ) === false &&
+ // which post types we keep all meta values for:
+ ! in_array( $post_type, array(
+ 'nav_menu_item',
+ 'location',
+ 'event',
+ 'product',
+ 'wpcf7_contact_form',
+ ) ) &&
+ // other meta keys we always want to keep:
+ ! in_array( $meta_key, array(
+ 'stylepress_post_title_details',
+ 'stylepress_page_style',
+ 'sliderlink',
+ 'slidercolor',
+ '_wp_attached_file',
+ '_thumbnail_id',
+ ) )
+ )
+ ) {
+ unset( $meta[ $meta_key ] );
+ } else {
+ $meta[ $meta_key ] = maybe_unserialize( get_post_meta( $post_data->ID, $meta_key, true ) );
+ }
+ }
+ // copy stock images into the images/stock/ folder for theme import.
+ if ( $post_type === 'attachment' ) {
+ $file = get_attached_file( $post_data->ID );
+ if ( is_file( $file ) ) {
+ if ( filesize( $file ) > 1500000 ) {
+ $image = wp_get_image_editor( $file );
+ if ( ! is_wp_error( $image ) ) {
+ list( $width, $height, $type, $attr ) = getimagesize( $file );
+ $image->resize( min( $width, 1200 ), null, false );
+ $image->save( $file );
+ }
+ }
+ $post_data->guid = wp_get_attachment_url( $post_data->ID );
+ if ( is_dir( $export_images_path ) ) {
+ copy( $file, trailingslashit( $export_images_path ) . basename( $file ) );
+ }
+ }
+ // fix for incorrect GUID when renaming files with the rename plugin, causes import to bust.
+
+ }
+ $terms = array();
+ foreach ( $taxonomies as $taxonomy ) {
+ $terms[ $taxonomy ] = wp_get_post_terms( $post_data->ID, $taxonomy, array( 'fields' => 'all' ) );
+ if ( $terms[ $taxonomy ] ) {
+ foreach ( $terms[ $taxonomy ] as $tax_id => $tax ) {
+ if ( ! empty( $tax->term_id ) ) {
+ $terms[ $taxonomy ][ $tax_id ]->meta = get_term_meta( $tax->term_id );
+ if ( ! empty( $terms[ $taxonomy ][ $tax_id ]->meta ) ) {
+ foreach ( $terms[ $taxonomy ][ $tax_id ]->meta as $key => $val ) {
+ if ( is_array( $val ) && count( $val ) == 1 && isset( $val[0] ) ) {
+ $terms[ $taxonomy ][ $tax_id ]->meta[ $key ] = $val[0];
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ $default_content[ $post_type ][] = array(
+ 'type_title' => $type_title,
+ 'post_id' => $post_data->ID,
+ 'post_title' => $post_data->post_title,
+ 'post_status' => $post_data->post_status,
+ 'post_name' => $post_data->post_name,
+ 'post_content' => $post_data->post_content,
+ 'post_excerpt' => $post_data->post_excerpt,
+ 'post_parent' => $post_data->post_parent,
+ 'menu_order' => $post_data->menu_order,
+ 'post_date' => $post_data->post_date,
+ 'post_date_gmt' => $post_data->post_date_gmt,
+ 'guid' => $post_data->guid,
+ 'post_mime_type' => $post_data->post_mime_type,
+ 'meta' => $meta,
+ 'terms' => $terms,
+ // 'other' => $post_data,
+ );
+ }
+ }
+ // put certain content at very end.
+ $nav = isset( $default_content['nav_menu_item'] ) ? $default_content['nav_menu_item'] : array();
+ if ( $nav ) {
+ unset( $default_content['nav_menu_item'] );
+ $default_content['nav_menu_item'] = $nav;
+ }
+ // print_r($default_content);
+ // exit;
+ // find the ID of our menu names so we can import them into default menu locations and also the widget positions below.
+ $menus = get_terms( 'nav_menu' );
+ $menu_ids = array();
+ foreach ( $menus as $menu ) {
+ if ( $menu->name == 'Main Menu' ) {
+ $menu_ids['primary'] = $menu->term_id;
+ } else if ( $menu->name == 'Quick Links' ) {
+ $menu_ids['footer_quick'] = $menu->term_id;
+ }
+ }
+
+ // choose which custom options to load into defaults
+ $all_options = wp_load_alloptions();
+ //print_r($all_options);exit;
+ foreach ( $all_options as $name => $value ) {
+ if ( stristr( $name, 'user_roles' ) ) {
+ continue;
+ }
+ if ( stristr( $name, 'stylepress' ) ) {
+ $my_options[ $name ] = maybe_unserialize( $value );
+ }
+ if ( stristr( $name, 'elementor' ) ) {
+ $my_options[ $name ] = maybe_unserialize( $value );
+ }
+ if ( stristr( $name, '_widget_area_manager' ) ) {
+ $my_options[ $name ] = $value;
+ }
+ if ( stristr( $name, 'wam_' ) ) {
+ $my_options[ $name ] = $value;
+ }
+ //if ( stristr( $name, 'dbem_' ) !== false ) { $my_options[ $name ] = $value; }
+ // if ( stristr( $name, 'woo' ) !== false ) { $my_options[ $name ] = $value; }
+ if ( stristr( $name, 'stylepress_featured_images' ) !== false ) {
+ $my_options[ $name ] = $value;
+ }
+ if ( 'theme_mods_stylepress' === $name ) {
+ $my_options[ $name ] = maybe_unserialize( $value );
+ $my_options[ $name . '-child' ] = maybe_unserialize( $value );
+ unset( $my_options[ $name ]['nav_menu_locations'] );
+ }
+ }
+ // $my_options['dbem_credits'] = 0;
+ // $my_options['woocommerce_cart_redirect_after_add'] = 'yes';
+ // $my_options['woocommerce_enable_ajax_add_to_cart'] = 'no';
+ //$my_options['travel_settings'] = array( 'api_key' => 'AIzaSyBsnYWO4SSibatp0SjsU9D2aZ6urI-_cJ8' );
+ //$my_options['tt-font-google-api-key'] = 'AIzaSyBsnYWO4SSibatp0SjsU9D2aZ6urI-_cJ8';
+
+ if ( is_dir( $export_content_path ) ) {
+
+ file_put_contents( trailingslashit( $export_content_path ) . 'default.json', json_encode( $default_content ) );
+ file_put_contents( trailingslashit( $export_content_path ) . 'menu.json', json_encode( $menu_ids ) );
+ file_put_contents( trailingslashit( $export_content_path ) . 'options.json', json_encode( $my_options ) );
+ }
+
+ return $return;
+ }
+
+ public function export_page_callback() {
+
+ $export_result = $this->do_the_export();
+ $this->content = $this->render_template( 'admin/export.php', [
+ 'export_result' => $export_result,
+ ] );
+ $this->header = $this->render_template( 'admin/header.php' );
+ echo $this->render_template( 'wrapper.php' );
+ }
+
+
+}
+
diff --git a/inc/class.import-export.php b/components/data/import.php
similarity index 95%
rename from inc/class.import-export.php
rename to components/data/import.php
index 11244cc..01d4de6 100644
--- a/inc/class.import-export.php
+++ b/components/data/import.php
@@ -1,44 +1,21 @@
array(),
);
- // Export code copied from dtbaker's theme setup wizard shindig.
- if ( $post_data && $post_data->post_type == 'dtbaker_style' && ! $post_data->post_parent ) {
+ // Export code copied from stylepress's theme setup wizard shindig.
+ if ( $post_data && $post_data->post_type == 'stylepress_style' && ! $post_data->post_parent ) {
// cool, we have out post parent ready to export.
- $post_type = 'dtbaker_style';
+ $post_type = 'stylepress_style';
$media_to_export = array();
// export child style data.
$args = array(
@@ -89,7 +66,7 @@ public function export_data( $post_id ) {
// which keys we want to keep all the time, using strpos:
strpos( $meta_key, 'elementor' ) === false &&
strpos( $meta_key, 'stylepress' ) === false &&
- strpos( $meta_key, 'dtbaker' ) === false &&
+ strpos( $meta_key, 'stylepress' ) === false &&
// other meta keys we always want to keep:
! in_array( $meta_key, array(
'_wp_attached_file',
@@ -163,7 +140,7 @@ public function export_data( $post_id ) {
// which keys we want to keep all the time, using strpos:
strpos( $meta_key, 'elementor' ) === false &&
strpos( $meta_key, 'stylepress' ) === false &&
- strpos( $meta_key, 'dtbaker' ) === false &&
+ strpos( $meta_key, 'stylepress' ) === false &&
// other meta keys we always want to keep:
! in_array( $meta_key, array(
'_wp_attached_file',
@@ -458,8 +435,8 @@ private function _process_post_data( $post_type, $post_data, $delayed = 0, $debu
// we have to fix up all the visual composer inserted image ids
$replace_post_id_keys = array(
'parallax_image',
- 'dtbwp_row_image_top',
- 'dtbwp_row_image_bottom',
+ 'stylepress_row_image_top',
+ 'stylepress_row_image_bottom',
'image',
'item', // vc grid
'post_id',
@@ -698,7 +675,7 @@ private function _elementor_id_import( &$item, $key ) {
$item = $new_meta_val;
}
}
- if ( $key == 'url' && ! empty( $item ) && ( strstr( $item, 'ocalhost' ) || strstr( $item, 'dev.dtbaker' ) ) ) {
+ if ( $key == 'url' && ! empty( $item ) && ( strstr( $item, 'ocalhost' ) || strstr( $item, 'dev.stylepress' ) ) ) {
// check if this has been imported before
$new_meta_val = $this->_imported_post_id( $item );
if ( $new_meta_val ) {
diff --git a/components/elementor/integration.php b/components/elementor/integration.php
new file mode 100644
index 0000000..4038637
--- /dev/null
+++ b/components/elementor/integration.php
@@ -0,0 +1,143 @@
+db->is_built_with_elementor( $post_id );
+ }
+
+ public static function edit_url_for_design( $design_id ){
+ return \Elementor\Plugin::$instance->documents->get( $design_id )->get_edit_url();
+ }
+
+ public static function is_in_edit_mode(){
+ return self::is_elementor_active() && (\Elementor\Plugin::$instance->editor->is_edit_mode() || \Elementor\Plugin::$instance->preview->is_preview_mode());
+ }
+
+ public function dont_allow_new( $types ) {
+ unset( $types['stylepress'] );
+
+ return $types;
+ }
+
+ public function include_our_styles_in_elementor_popup( $option_value ) {
+ require_once __DIR__ . '/source-stylepress.php';
+ \Elementor\Plugin::$instance->templates_manager->register_source( '\Elementor\TemplateLibrary\Source_StylePress' );
+
+ require_once __DIR__ . '/stylepress-document.php';
+ \Elementor\Plugin::$instance->documents
+ ->register_document_type( 'stylepress', \Elementor\Modules\Library\Documents\Stylepress_Document::get_class_full_name() );
+ }
+
+ /**
+ * Runs once elementor has completed loading.
+ * This method loads our custom Elementor classes and injects them into the elementor widget_manager
+ * so our widgets appear in the Elementor ui.
+ *
+ * @since 2.0.0
+ */
+ public function elementor_init_complete() {
+
+ if ( defined( 'ELEMENTOR_PATH' ) && class_exists( '\Elementor\Widget_Base' ) ) {
+ if ( class_exists( '\Elementor\Plugin' ) ) {
+ if ( is_callable( '\Elementor\Plugin', 'instance' ) ) {
+ $elementor = \Elementor\Plugin::instance();
+
+ // We have to enqueue styles on all pages, even non elementor pages, so global styles work.
+ // reference: wp-content/plugins/elementor/includes/frontend.php:209
+ add_action( 'wp_enqueue_scripts', [ $elementor->frontend, 'enqueue_styles' ] );
+
+ if ( $elementor && isset( $elementor->elements_manager ) ) {
+ if ( method_exists( $elementor->elements_manager, 'add_category' ) ) {
+ $elementor->elements_manager->add_category(
+ 'stylepress',
+ [
+ 'title' => 'StylePress',
+ 'icon' => 'eicon-font'
+ ]
+ );
+ }
+ }
+ }
+ }
+ }
+ }
+
+
+ public function load_extensions() {
+
+ if ( defined( 'ELEMENTOR_PATH' ) && class_exists( 'Elementor\Widget_Base' ) ) {
+ if ( class_exists( '\Elementor\Plugin' ) ) {
+
+ if ( is_callable( '\Elementor\Plugin', 'instance' ) ) {
+ $elementor = \Elementor\Plugin::instance();
+ if ( isset( $elementor->widgets_manager ) ) {
+ if ( method_exists( $elementor->widgets_manager, 'register_widget_type' ) ) {
+
+ //require_once STYLEPRESS_PATH . 'extensions/woocommerce/woocommerce.php';
+ do_action( 'stylepress_init_extensions' );
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+ /**
+ * Adds our new widgets to the Elementor widget area.
+ *
+ * @since 2.0.0
+ */
+ public function elementor_add_new_widgets() {
+ if ( defined( 'ELEMENTOR_PATH' ) && class_exists( 'Elementor\Widget_Base' ) ) {
+ if ( class_exists( '\Elementor\Plugin' ) ) {
+
+ if ( is_callable( '\Elementor\Plugin', 'instance' ) ) {
+ $elementor = \Elementor\Plugin::instance();
+ if ( isset( $elementor->widgets_manager ) ) {
+ if ( method_exists( $elementor->widgets_manager, 'register_widget_type' ) ) {
+
+ require_once STYLEPRESS_PATH . 'extensions/inner-content/inner-content.php';
+ do_action( 'stylepress_init_widgets' );
+
+ }
+ }
+ }
+ }
+ }
+ }
+
+}
diff --git a/components/elementor/source-stylepress.php b/components/elementor/source-stylepress.php
new file mode 100644
index 0000000..5946335
--- /dev/null
+++ b/components/elementor/source-stylepress.php
@@ -0,0 +1,720 @@
+get_all_styles( 'demo_content' ) as $post_id => $post_title ) {
+ $templates[] = $this->get_item( $post_id );
+ }
+
+ return $templates;
+ }
+
+ public function save_item( $template_data ) {
+ return true;
+ }
+
+ public function update_item( $new_data ) {
+ return true;
+ }
+
+ /**
+ * Get local template.
+ *
+ * Retrieve a single local template saved by the user on his site.
+ *
+ * @param int $template_id The template ID.
+ *
+ * @return array Local template.
+ * @since 1.0.0
+ * @access public
+ *
+ */
+ public function get_item( $template_id ) {
+ $post = get_post( $template_id );
+ $parent_style = get_post( $post->post_parent );
+
+ $user = get_user_by( 'id', $post->post_author );
+
+ $page = SettingsManager::get_settings_managers( 'page' )->get_model( $template_id );
+
+ $page_settings = $page->get_data( 'settings' );
+
+ $date = strtotime( $post->post_date );
+
+ $type = self::get_template_type( $post->ID );
+
+ $data = [
+ 'template_id' => $post->ID,
+ 'source' => 'local', //$this->get_id(),
+ 'type' => $type,
+ 'title' => $parent_style->post_title .' » ' . $post->post_title,
+ 'thumbnail' => get_the_post_thumbnail_url( $post ),
+ 'date' => $date,
+ 'human_date' => date_i18n( get_option( 'date_format' ), $date ),
+ 'author' => $user->display_name,
+ 'hasPageSettings' => ! empty( $page_settings ),
+ 'tags' => [],
+ 'export_link' => $this->get_export_link( $template_id ),
+ 'url' => get_permalink( $post->ID ),
+ ];
+
+ /**
+ * Get template library template.
+ *
+ * Filters the template data when retrieving a single template from the
+ * template library.
+ *
+ * @param array $data Template data.
+ *
+ * @since 1.0.0
+ *
+ */
+ $data = apply_filters( 'elementor/template-library/get_template', $data );
+
+ return $data;
+ }
+
+ /**
+ * Get template data.
+ *
+ * Retrieve the data of a single local template saved by the user on his site.
+ *
+ * @param array $args Custom template arguments.
+ *
+ * @return array Local template data.
+ * @since 1.5.0
+ * @access public
+ *
+ */
+ public function get_data( array $args ) {
+ $db = Plugin::$instance->db;
+
+ $template_id = $args['template_id'];
+
+ // TODO: Validate the data (in JS too!).
+ if ( ! empty( $args['display'] ) ) {
+ $content = $db->get_builder( $template_id );
+ } else {
+ $document = Plugin::$instance->documents->get( $template_id );
+ $content = $document ? $document->get_elements_data() : [];
+ }
+
+ if ( ! empty( $content ) ) {
+ $content = $this->replace_elements_ids( $content );
+ }
+
+ $data = [
+ 'content' => $content,
+ ];
+
+ if ( ! empty( $args['with_page_settings'] ) ) {
+ $page = SettingsManager::get_settings_managers( 'page' )->get_model( $args['template_id'] );
+
+ $data['page_settings'] = $page->get_data( 'settings' );
+ }
+
+ return $data;
+ }
+
+ /**
+ * Delete local template.
+ *
+ * Delete template from the database.
+ *
+ * @param int $template_id The template ID.
+ *
+ * @return \WP_Post|\WP_Error|false|null Post data on success, false or null
+ * or 'WP_Error' on failure.
+ * @since 1.0.0
+ * @access public
+ *
+ */
+ public function delete_template( $template_id ) {
+ if ( ! current_user_can( $this->post_type_object->cap->delete_post, $template_id ) ) {
+ return new \WP_Error( 'template_error', __( 'Access denied.', 'elementor' ) );
+ }
+
+ return wp_delete_post( $template_id, true );
+ }
+
+ /**
+ * Export local template.
+ *
+ * Export template to a file.
+ *
+ * @param int $template_id The template ID.
+ *
+ * @return \WP_Error WordPress error if template export failed.
+ * @since 1.0.0
+ * @access public
+ *
+ */
+ public function export_template( $template_id ) {
+ wp_die( 'Sorry not implemented' );
+ }
+
+
+ /**
+ * Block template frontend
+ *
+ * Don't display the single view of the template library post type in the
+ * frontend, for users that don't have the proper permissions.
+ *
+ * Fired by `template_redirect` action.
+ *
+ * @since 1.0.0
+ * @access public
+ */
+ public function block_template_frontend() {
+ if ( is_singular( self::CPT ) && ! current_user_can( Editor::EDITING_CAPABILITY ) ) {
+ wp_safe_redirect( site_url(), 301 );
+ die;
+ }
+ }
+
+ /**
+ * Is template library supports export.
+ *
+ * whether the template library supports export.
+ *
+ * Template saved by the user locally on his site, support export by default
+ * but this can be changed using a filter.
+ *
+ * @param int $template_id The template ID.
+ *
+ * @return bool Whether the template library supports export.
+ * @since 1.0.0
+ * @access public
+ *
+ */
+ public function is_template_supports_export( $template_id ) {
+ $export_support = true;
+
+ /**
+ * Is template library supports export.
+ *
+ * Filters whether the template library supports export.
+ *
+ * @param bool $export_support Whether the template library supports export.
+ * Default is true.
+ * @param int $template_id Post ID.
+ *
+ * @since 1.0.0
+ *
+ */
+ $export_support = apply_filters( 'elementor/template_library/is_template_supports_export', $export_support, $template_id );
+
+ return $export_support;
+ }
+
+
+ /**
+ * Get template export link.
+ *
+ * Retrieve the link used to export a single template based on the template
+ * ID.
+ *
+ * @param int $template_id The template ID.
+ *
+ * @return string Template export URL.
+ * @since 2.0.0
+ * @access private
+ *
+ */
+ private function get_export_link( $template_id ) {
+ // TODO: BC since 2.3.0 - Use `$ajax->create_nonce()`
+ /** @var \Elementor\Core\Common\Modules\Ajax\Module $ajax */
+ // $ajax = Plugin::$instance->common->get_component( 'ajax' );
+
+ return add_query_arg(
+ [
+ 'action' => 'elementor_library_direct_actions',
+ 'library_action' => 'export_template',
+ 'source' => $this->get_id(),
+ '_nonce' => wp_create_nonce( 'elementor_ajax' ),
+ 'template_id' => $template_id,
+ ],
+ admin_url( 'admin-ajax.php' )
+ );
+ }
+
+ /**
+ * On template save.
+ *
+ * Run this method when template is being saved.
+ *
+ * Fired by `save_post` action.
+ *
+ * @param int $post_id Post ID.
+ * @param \WP_Post $post The current post object.
+ *
+ * @since 1.0.1
+ * @access public
+ *
+ */
+ public function on_save_post( $post_id, \WP_Post $post ) {
+ if ( self::CPT !== $post->post_type ) {
+ return;
+ }
+
+ if ( self::get_template_type( $post_id ) === 'stylepress' ) { // It's already with a type
+ return;
+ }
+
+ // Don't save type on import, the importer will do it.
+ if ( did_action( 'import_start' ) ) {
+ return;
+ }
+
+ $this->save_item_type( $post_id, 'stylepress' );
+ }
+
+ /**
+ * Save item type.
+ *
+ * When saving/updating templates, this method is used to update the post
+ * meta data and the taxonomy.
+ *
+ * @param int $post_id Post ID.
+ * @param string $type Item type.
+ *
+ * @since 1.0.1
+ * @access private
+ *
+ */
+ private function save_item_type( $post_id, $type ) {
+ update_post_meta( $post_id, Document::TYPE_META_KEY, $type );
+ wp_cache_flush();
+ }
+
+
+ /**
+ * Maybe render blank state.
+ *
+ * When the template library has no saved templates, display a blank admin page offering
+ * to create the very first template.
+ *
+ * Fired by `manage_posts_extra_tablenav` action.
+ *
+ * @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
+ *
+ * @since 2.0.0
+ * @access public
+ *
+ */
+ public function maybe_render_blank_state( $which ) {
+ global $post_type;
+
+ if ( self::CPT !== $post_type || 'bottom' !== $which ) {
+ return;
+ }
+
+ global $wp_list_table;
+
+ $total_items = $wp_list_table->get_pagination_arg( 'total_items' );
+
+ if ( ! empty( $total_items ) || ! empty( $_REQUEST['s'] ) ) {
+ return;
+ }
+
+ $inline_style = '#posts-filter .wp-list-table, #posts-filter .tablenav.top, .tablenav.bottom .actions, .wrap .subsubsub { display:none;}';
+
+ $current_type = get_query_var( 'elementor_library_type' );
+
+ $document_types = Plugin::instance()->documents->get_document_types();
+
+ if ( empty( $document_types[ $current_type ] ) ) {
+ return;
+ }
+
+ // TODO: Better way to exclude widget type.
+ if ( 'widget' === $current_type ) {
+ return;
+ }
+
+ if ( empty( $current_type ) ) {
+ $counts = (array) wp_count_posts( self::CPT );
+ unset( $counts['auto-draft'] );
+ $count = array_sum( $counts );
+
+ if ( 0 < $count ) {
+ return;
+ }
+
+ $current_type = 'template';
+
+ $inline_style .= '#elementor-template-library-tabs-wrapper {display: none;}';
+ }
+
+ $current_type_label = $this->get_template_label_by_type( $current_type );
+ ?>
+
+
+ documents->get_document_types();
+
+ if ( isset( $document_types[ $template_type ] ) ) {
+ $template_label = call_user_func( [ $document_types[ $template_type ], 'get_title' ] );
+ } else {
+ $template_label = ucwords( str_replace( [ '_', '-' ], ' ', $template_type ) );
+ }
+
+ /**
+ * Template label by template type.
+ *
+ * Filters the template label by template type in the template library .
+ *
+ * @param string $template_label Template label.
+ * @param string $template_type Template type.
+ *
+ * @since 2.0.0
+ *
+ */
+ $template_label = apply_filters( 'elementor/template-library/get_template_label_by_type', $template_label, $template_type );
+
+ return $template_label;
+ }
+
+ /**
+ * Filter template types in admin query.
+ *
+ * Update the template types in the main admin query.
+ *
+ * Fired by `parse_query` action.
+ *
+ * @param \WP_Query $query The `WP_Query` instance.
+ *
+ * @since 2.4.0
+ * @access public
+ *
+ */
+ public function admin_query_filter_types( \WP_Query $query ) {
+ if ( empty( $query->query_vars['elementor_library_type'] ) || $query->query_vars['elementor_library_type'] !== 'stylepress' ) {
+ return;
+ }
+
+ $query->query_vars['post_type'] = \StylePress\Styles::CPT;
+ $query->query_vars['meta_key'] = '';
+ $query->query_vars['meta_value'] = '';
+
+ }
+
+ /**
+ * Add template library actions.
+ *
+ * Register filters and actions for the template library.
+ *
+ * @since 2.0.0
+ * @access private
+ */
+ private function add_actions() {
+ if ( is_admin() ) {
+ add_action( 'save_post', [ $this, 'on_save_post' ], 3, 2 );
+
+ add_action( 'parse_query', [ $this, 'admin_query_filter_types' ] );
+
+ // Template type column.
+ add_action( 'manage_' . self::CPT . '_posts_columns', [ $this, 'admin_columns_headers' ] );
+ add_action( 'manage_' . self::CPT . '_posts_custom_column', [ $this, 'admin_columns_content' ], 10, 2 );
+
+ if ( $this->is_current_screen() ) {
+ add_filter( 'the_title', [ $this, 'add_stylepress_parent_suffix' ], 11, 2 );
+ add_action( 'manage_elementor_library_posts_columns', [ $this, 'admin_columns_headers' ] );
+ add_action( 'manage_elementor_library_posts_custom_column', [ $this, 'admin_columns_content' ], 10, 2 );
+ }
+
+ // Show blank state.
+ add_action( 'manage_posts_extra_tablenav', [ $this, 'maybe_render_blank_state' ] );
+ }
+
+ add_action( 'template_redirect', [ $this, 'block_template_frontend' ] );
+ }
+
+ public function add_stylepress_parent_suffix($title, $post_id){
+ $post = get_post($post_id);
+ $parent = get_post($post->post_parent);
+ if($parent ){
+ return $parent->post_title .' » ' . $title;
+ }
+ return $title;
+ }
+
+ /**
+ * @since 2.0.6
+ * @access public
+ */
+ public function admin_columns_content( $column_name, $post_id ) {
+ if ( 'elementor_library_type' === $column_name ) {
+ /** @var Document $document */
+ $document = Plugin::$instance->documents->get( $post_id );
+
+ if ( $document && $document instanceof Library_Document ) {
+ $document->print_admin_column_type();
+ }
+ }
+ if ( 'stylepress_type' === $column_name ) {
+ $stylepress_type = get_the_terms( $post_id, STYLEPRESS_SLUG . '-cat' );
+ if ( $stylepress_type ) {
+ if ( $stylepress_type[0]->slug === 'styles' ) {
+ echo 'Main Style';
+ } else {
+ $categories = \StylePress\Styles::get_instance()->get_categories();
+ $found_match = false;
+ foreach ( $categories as $category ) {
+ if ( $category['slug'] === $stylepress_type[0]->slug ) {
+ echo esc_html( $category['title'] );
+ $found_match = true;
+ break;
+ }
+ }
+ if ( ! $found_match ) {
+ echo 'Unknown';
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * @since 2.0.6
+ * @access public
+ */
+ public function admin_columns_headers( $posts_columns ) {
+ // Replace original column that bind to the taxonomy - with another column.
+ unset( $posts_columns['taxonomy-elementor_library_type'] );
+
+ $offset = 2;
+
+ $posts_columns = array_slice( $posts_columns, 0, $offset, true ) + [
+ 'stylepress_type' => __( 'StylePress Category', 'elementor' ),
+ 'elementor_library_type' => __( 'Elementor Type', 'elementor' ),
+ ] + array_slice( $posts_columns, $offset, null, true );
+
+ return $posts_columns;
+ }
+
+ private function is_current_screen() {
+ return isset( $_GET['elementor_library_type'] ) && $_GET['elementor_library_type'] === 'stylepress';
+ }
+
+ /**
+ * Template library local source constructor.
+ *
+ * Initializing the template library local source base by registering custom
+ * template data and running custom actions.
+ *
+ * @since 1.0.0
+ * @access public
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->add_actions();
+ }
+}
diff --git a/components/elementor/stylepress-document.php b/components/elementor/stylepress-document.php
new file mode 100644
index 0000000..e0468bc
--- /dev/null
+++ b/components/elementor/stylepress-document.php
@@ -0,0 +1,58 @@
+populate_globals();
+
+ if ( ! empty( $GLOBALS['stylepress_render']['template'] ) ) {
+ return $GLOBALS['stylepress_render']['template'];
+ }
+
+ Debug::get_instance()->debug_message( 'Sorry no styles found for this page type' );
+
+ return $template_include;
+ }
+
+
+ /**
+ * Works out the type of page we're currently quer\ying.
+ * Copied from my Widget Area Manager plugin
+ *
+ * @return string
+ * @since 2.0.0
+ *
+ */
+ public function get_current_page_type() {
+ global $wp_query;
+ // print_r($wp_query->query_vars);
+ if ( is_search() ) {
+ return 'search';
+ } else if ( is_404() ) {
+ return '404';
+ } else if ( function_exists( 'is_product' ) && is_product() ) {
+ return 'product';
+ } else if ( function_exists( 'is_product_category' ) && is_product_category() ) {
+ return 'product_category';
+ } else if ( is_category() ) {
+ return 'category';
+ } else if ( isset( $wp_query->query_vars ) && ! empty( $wp_query->query_vars['post_type'] ) && ! is_array( $wp_query->query_vars['post_type'] ) ) {
+ // Elementor sets an array as post_type since the introduction of landing pages.
+ $post_type = $wp_query->query_vars['post_type'];
+
+ return $post_type . ( is_singular() ? '' : 's' );
+ } else if ( ! empty( $wp_query->query_vars['taxonomy'] ) ) {
+ $current_page_id = $wp_query->query_vars['taxonomy'];
+ $value = get_query_var( $wp_query->query_vars['taxonomy'] );
+ if ( $value ) {
+ $current_page_id .= '_' . $value;
+ }
+
+ return $current_page_id;
+ } else if ( isset( $wp_query->is_posts_page ) && $wp_query->is_posts_page ) {
+ return 'archive';
+ } else if ( is_archive() ) {
+ return 'archive';
+ } else if ( is_home() || is_front_page() ) {
+ return 'front_page';
+ } else if ( is_attachment() ) {
+ return 'attachment';
+ } else if ( is_page() ) {
+ return 'page';
+ } else if ( is_single() ) {
+ return 'post';
+ }
+
+ // todo - look for custom taxonomys
+ return 'post';
+ }
+
+
+ public function populate_globals() {
+ if ( isset( $GLOBALS['stylepress_render'] ) ) {
+ return;
+ }
+ global $post;
+ $GLOBALS['stylepress_render'] = [];
+
+ // TODO: remove integration with Elementor here
+ if ( $post && ! empty( $post->ID ) && 'elementor_library' === $post->post_type ) {
+ $page_templates_module = \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' );
+ $path = $page_templates_module->get_template_path( 'elementor_canvas' );
+ if ( is_file( $path ) ) {
+ $GLOBALS['stylepress_render']['template'] = $path;
+ }
+ } else if ( $post && ! empty( $post->ID ) && Cpt::CPT === $post->post_type ) {
+ // User is editing one of our stylepress templates, use a special template so we can show some stuff
+ // Really only useful in Elementor or when previewing the template on the frontend.
+ $GLOBALS['stylepress_render']['template'] = __DIR__ . '/views/editor.php';
+ }
+
+ $default_styles = Data::get_instance()->get_default_styles();
+ $page_type = $this->get_current_page_type();
+ $these_styles = isset( $default_styles[ $page_type ] ) ? $default_styles[ $page_type ] : false;
+
+ $queried_object = get_queried_object();
+ if ( $these_styles ) {
+ // If stylepress has been disabled for this particular post then we just use the normal template include.
+ // Not sure how to do this for category pages. We'll have to add a taxonomy settings area to each tax.
+ // It can be disabled because a custom template is chosen, or via the disabled flag in advanced layouts.
+ if ( ! empty( $these_styles['_disabled'] ) ) {
+ Debug::get_instance()->debug_message( 'Skipping stylepress because post type is flagged as disabled in layout settings.' );
+ $GLOBALS['stylepress_render']['template'] = false;
+ } else if ( $queried_object && $queried_object instanceof \WP_Post && $queried_object->ID ) {
+ $enabled = Data::get_instance()->is_stylpress_enabled( $post );
+ if ( ! $enabled['enabled'] ) {
+ Debug::get_instance()->debug_message( 'Skipping stylepress template because ' . $enabled['reason'] );
+ $GLOBALS['stylepress_render']['template'] = false;
+ }
+ // todo: confirm our queried object isn't the first blog post in a list of things view.. that would mess it up.
+ // We're doing a single object post, should be easy.
+ $page_styles = Data::get_instance()->get_page_styles( $queried_object->ID );
+ if ( $page_styles ) {
+ foreach ( $page_styles as $category_slug => $chosen_style_id ) {
+ if ( $chosen_style_id != 0 ) {
+ $these_styles[ $category_slug ] = $chosen_style_id;
+ }
+ }
+ }
+ }
+ }
+ if ( ! isset( $GLOBALS['stylepress_render']['template'] ) ) {
+ $GLOBALS['stylepress_render']['template'] = __DIR__ . '/views/render.php';
+ }
+ $GLOBALS['stylepress_render']['queried_object'] = $queried_object;
+ $GLOBALS['stylepress_render']['page_type'] = $page_type;
+ $GLOBALS['stylepress_render']['styles'] = $these_styles;
+ }
+
+
+ /**
+ * Register some frontend css files
+ *
+ * @since 2.0.0
+ */
+ public function frontend_css() {
+ wp_enqueue_style( 'stylepress-css', STYLEPRESS_URI . 'build/assets/frontend.css', false, STYLEPRESS_VERSION );
+
+ wp_register_script( 'stylepress-js', STYLEPRESS_URI . 'build/assets/frontend.js', false, STYLEPRESS_VERSION, true );
+ wp_localize_script( 'stylepress-js', 'stylepress_frontend', array(
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
+ 'public_nonce' => wp_create_nonce( 'stylepress-public-nonce' ),
+ )
+ );
+ wp_enqueue_script( 'stylepress-js' );
+
+ if ( \StylePress\Elementor\Integration::is_in_edit_mode() ) {
+ // This loads extra scripts into the editor iframe only in edit mode. Used for the styling of the helper text at the top of the edit iframe.
+ wp_enqueue_style( 'stylepress-editor-in', STYLEPRESS_URI . 'build/assets/frontend-edit.css', false, STYLEPRESS_VERSION );
+ wp_enqueue_script( 'stylepress-editor-in', STYLEPRESS_URI . 'build/assets/frontend-edit.js', false, STYLEPRESS_VERSION, true );
+ }
+ }
+
+ public function render_content( $post_id ) {
+ if ( post_password_required( $post_id ) ) {
+ return;
+ }
+
+ // TODO: remove reliance on Elementor like this
+ if ( \StylePress\Elementor\Integration::is_post_built_with_elementor( $post_id ) ) {
+ $with_css = false;
+ echo \Elementor\Plugin::$instance->frontend->get_builder_content( $post_id, $with_css );
+ } else {
+ echo apply_filters( 'the_content', get_the_content( null, null, $post_id ) );
+ }
+ }
+}
+
diff --git a/components/frontend/views/editor.php b/components/frontend/views/editor.php
new file mode 100644
index 0000000..3e4a676
--- /dev/null
+++ b/components/frontend/views/editor.php
@@ -0,0 +1,105 @@
+get_categories();
+$post = get_post();
+$is_inner_template = false;
+$current_page_category = false;
+$post_categories = get_the_terms( $post->ID, STYLEPRESS_SLUG . '-cat' );
+
+if($post_categories) {
+ foreach ( $categories as $category ) {
+ foreach ( $post_categories as $post_category ) {
+ if ( $post_category->slug === $category['slug'] ) {
+ $current_page_category = $category;
+ if ( ! empty( $category['inner'] ) ) {
+ $is_inner_template = true;
+ }
+ }
+ }
+ }
+}
+
+?>
+ class="no-js">
+
+
+
+
+ ID, '_elementor_template_type', true );
+// if ( $elementor_template_type === 'kit' ) {
+// add_action( 'pre_option_elementor_active_kit', function ( $kit_id ) use ( $post ) {
+// if ( $post && $post->ID ) {
+// $kit_id = $post->ID;
+// }
+//
+// return $kit_id;
+// } );
+// } else {
+// // we're editing another type of non kit page
+// add_action( 'pre_option_elementor_active_kit', function ( $kit_id ) use ( $current_page_category ) {
+// $default_styles = Styles::get_instance()->get_default_styles();
+// if ( $default_styles && ! empty( $default_styles['_global'] ) && ! empty( $default_styles['_global']['theme_styles'] ) ) {
+// $kit_id = $default_styles['_global']['theme_styles'];
+// }
+//
+// return $kit_id;
+// } );
+// }
+ wp_head(); ?>
+
+>
+
+
+
+
+
+
+
+
+
diff --git a/components/frontend/views/render.php b/components/frontend/views/render.php
new file mode 100644
index 0000000..b6ce5af
--- /dev/null
+++ b/components/frontend/views/render.php
@@ -0,0 +1,110 @@
+get_categories();
+
+$elementor_kit_template = false;
+
+?>
+
+>
+
+
+
+
+ 0 ) {
+// $elementor_kit_template = get_post( $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] );
+// // We override the Elementor default active kit here based on the current page selection:
+// add_action( 'pre_option_elementor_active_kit', function ( $kit_id ) use ( $elementor_kit_template ) {
+// if ( $elementor_kit_template && $elementor_kit_template->ID ) {
+// $elementor_template_type = get_post_meta( $elementor_kit_template->ID, '_elementor_template_type', true );
+// if ( $elementor_template_type === 'kit' ) {
+// $kit_id = $elementor_kit_template->ID;
+// }
+// }
+//
+// return $kit_id;
+// } );
+// }
+// }
+// }
+// }
+// }
+ wp_head();
+ ?>
+
+>
+debug_message( 'Using Elementor Kit: ' . esc_html( $elementor_kit_template->post_title ) . ' (#' . $elementor_kit_template->ID . ')' );
+//}
+Debug::get_instance()->debug_message( 'Page Type Detected as: ' . $GLOBALS['stylepress_render']['page_type'] );
+Debug::get_instance()->debug_message( 'Queried object detected as: ' . ( $GLOBALS['stylepress_render']['queried_object'] && isset( $GLOBALS['stylepress_render']['queried_object']->ID ) ? $GLOBALS['stylepress_render']['queried_object']->ID : 'Unknown' ) );
+
+do_action( 'stylepress/before-render' );
+if ( ! empty( $GLOBALS['stylepress_render'] ) ) {
+ foreach ( $categories as $category ) {
+ if ( ! $category['render_section'] ) {
+ continue;
+ }
+ if ( STYLEPRESS_DEBUG_OUTPUT ) {
+ if ( isset( $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] ) ) {
+ if ( $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] > 0 ) {
+ $template = get_post( $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] );
+ Debug::get_instance()->debug_message( 'Rendering template ' . esc_html( $template->post_title ) . ' (#' . $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] . ') for section ' . $category['slug'] );
+ } else {
+ Debug::get_instance()->debug_message( 'Blank template chosen for section ' . $category['slug'] );
+ }
+ } else {
+ Debug::get_instance()->debug_message( 'No template chosen for section ' . $category['slug'] );
+ }
+ }
+ if ( isset( $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] ) ) {
+ if ( $GLOBALS['stylepress_render']['styles'][ $category['slug'] ] > 0 ) {
+ Render::get_instance()->render_content($GLOBALS['stylepress_render']['styles'][ $category['slug'] ]);
+ }else{
+ // chose to render blank here. flag this inner section as blank if needed
+ if( ! empty( $category['inner'] ) ) {
+ $GLOBALS['stylepress_render']['has_done_inner_content'] = true;
+ }
+ }
+ }
+ if ( ! empty( $category['inner'] ) && empty( $GLOBALS['stylepress_render']['has_done_inner_content'] ) ) {
+ // todo: we may with to turn off this defualt behaviour for pages that don't want the default content displaying
+ // e.g. we got the first blog post content showing on archive page that had a stylepress-loop widget.
+ // this might be an issue for shops too
+ Debug::get_instance()->debug_message( 'Rendering default inner_content() from render.php' );
+ if ( have_posts() ) {
+ the_post();
+ the_content();
+ }
+ }
+ }
+}
+
+do_action( 'stylepress/after-render' );
+do_action( 'get_footer', 'stylepress' );
+wp_footer();
+?>
+
+
+
diff --git a/components/layout/layout.js b/components/layout/layout.js
new file mode 100644
index 0000000..76e273a
--- /dev/null
+++ b/components/layout/layout.js
@@ -0,0 +1 @@
+import './layout.scss';
diff --git a/components/layout/layout.php b/components/layout/layout.php
new file mode 100644
index 0000000..f334fe0
--- /dev/null
+++ b/components/layout/layout.php
@@ -0,0 +1,112 @@
+get_all_page_types();
+ $categories = \StylePress\Styles\Data::get_instance()->get_categories();
+ $defaults_to_save = [];
+
+ $user_provided_defaults = [];
+ $is_advanced_settings = ! empty( $_POST['stylepress_advanced'] );
+ \StylePress\Core\Settings::get_instance()->set( 'stylepress_advanced', $is_advanced_settings );
+ if ( $is_advanced_settings ) {
+ if ( isset( $_POST['default_style'] ) && is_array( $_POST['default_style'] ) ) {
+ $user_provided_defaults = $_POST['default_style'];
+ }
+ } else {
+ // simple styles.
+ if ( isset( $_POST['default_style_simple'] ) && is_array( $_POST['default_style_simple'] ) ) {
+ $user_provided_defaults = $_POST['default_style_simple'];
+ }
+ }
+ foreach ( $page_types as $page_type => $page_type_name ) {
+ $defaults_to_save[ $page_type ] = [];
+ if ( isset( $user_provided_defaults[ $page_type ] ) && is_array( $user_provided_defaults[ $page_type ] ) ) {
+ // check if user has disabled this type all together
+ if ( isset( $user_provided_defaults[ $page_type ][ '_disabled' ] ) ) {
+ $defaults_to_save[ $page_type ][ '_disabled' ] = 'disabled';
+ }
+ // store defaults for each page type here.
+ foreach ( $categories as $category ) {
+ if ( isset( $user_provided_defaults[ $page_type ][ $category['slug'] ] ) ) {
+ $chosen_default = $user_provided_defaults[ $page_type ][ $category['slug'] ];
+ $valid_answers = \StylePress\Styles\Data::get_instance()->get_all_styles( $category['slug'], true );
+ if ( isset( $valid_answers[ $chosen_default ] ) ) {
+ $defaults_to_save[ $page_type ][ $category['slug'] ] = $chosen_default;
+ }
+ }
+ }
+ }
+ }
+
+ foreach ( $defaults_to_save as $default_page_type => $default_styles ) {
+ if ( $default_page_type !== '_global' ) {
+ $defaults_to_save[ $default_page_type ] = array_merge( $defaults_to_save['_global'], $default_styles );
+ }
+ }
+
+ \StylePress\Core\Settings::get_instance()->set( 'stylepress_styles', $defaults_to_save );
+
+ wp_safe_redirect( admin_url( 'admin.php?page=' . self::PAGE_SLUG . '&saved' ) );
+ exit;
+ }
+}
+
diff --git a/components/layout/layout.scss b/components/layout/layout.scss
new file mode 100644
index 0000000..64eb764
--- /dev/null
+++ b/components/layout/layout.scss
@@ -0,0 +1,118 @@
+
+div.stylepress__layout--basic {
+ display: block;
+}
+
+div.stylepress__layout--advanced {
+ display: none;
+}
+
+#stylepress_advanced:checked ~ div.stylepress__layout--basic {
+ display: none;
+}
+
+#stylepress_advanced:checked ~ div.stylepress__layout--advanced {
+ display: block;
+}
+
+.stylepress__layout-page{
+ width: 500px;
+ border: 3px solid #ccc;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ background: #FFF;
+}
+.stylepress__layout-pagesection{
+ border-bottom: 1px solid #CCC;
+ padding: 20px 15px;
+ position:relative;
+ text-align: center;
+ &:last-child{
+ border-bottom: 0;
+ }
+ label{
+ position: absolute;
+ background: #f1f1f1;
+ border-radius: 5px;
+ top: 5px;
+ left: 5px;
+ padding: 4px 9px;
+ font-size: 12px;
+ }
+}
+
+.stylepress-chrome{
+ padding: 0;
+ text-align: center;
+ * {
+ box-sizing: border-box;
+ }
+
+ /* Container for columns and the top "toolbar" */
+ &-row {
+ padding: 10px;
+ background: #f1f1f1;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ display: flex;
+ justify-content: space-between;
+ }
+
+ /* Create three unequal columns that floats next to each other */
+ &-column {
+ }
+
+ &-left {
+ width: 55px;
+ margin-right: auto;
+ margin-left: 0;
+ }
+
+ &-right {
+ margin-right: 0;
+ margin-left: auto;
+ width: 20px;
+ }
+
+ &-middle {
+ width: 200px;
+ }
+
+ /* Clear floats after the columns */
+ &-row:after {
+ content: "";
+ display: table;
+ clear: both;
+ }
+
+ /* Three dots */
+ &-dot {
+ margin-top: 4px;
+ height: 12px;
+ width: 12px;
+ background-color: #bbb;
+ border-radius: 50%;
+ display: inline-block;
+ }
+
+ /* Style the input field */
+ &-addr {
+ width: 100%;
+ border-radius: 3px;
+ border: none;
+ background-color: white;
+ margin-top: -8px;
+ height: 25px;
+ color: #666;
+ padding: 5px;
+ }
+
+ /* Three bars (hamburger menu) */
+ &-bar {
+ width: 17px;
+ height: 3px;
+ background-color: #aaa;
+ margin: 3px 0;
+ display: block;
+ }
+}
diff --git a/components/layout/views/layout.php b/components/layout/views/layout.php
new file mode 100644
index 0000000..7675262
--- /dev/null
+++ b/components/layout/views/layout.php
@@ -0,0 +1,161 @@
+get_default_styles();
+$categories = \StylePress\Styles\Data::get_instance()->get_categories();
+$page_types = \StylePress\Core\Settings::get_instance()->get_all_page_types();
+
+?>
+
+
+ Settings updated.
+
Dismiss this notice.
+
+
+
+This is the default style settings page. Here you can choose the default styles that will apply in each section of
+ your website.
+
+
+
diff --git a/components/logging/debug.php b/components/logging/debug.php
new file mode 100644
index 0000000..4b3281c
--- /dev/null
+++ b/components/logging/debug.php
@@ -0,0 +1,29 @@
+';
+ echo 'StylePress: ';
+ echo $message;
+ echo "";
+ }
+ }
+}
+
diff --git a/components/php/classes/backend.php b/components/php/classes/backend.php
new file mode 100644
index 0000000..762b998
--- /dev/null
+++ b/components/php/classes/backend.php
@@ -0,0 +1,384 @@
+ admin_url( 'admin-ajax.php' ),
+ 'admin_nonce' => wp_create_nonce( 'stylepress-admin-nonce' ),
+ )
+ );
+ wp_enqueue_script( 'stylepress-admin' );
+
+ require_once STYLEPRESS_PATH . 'views/_help_text.php';
+
+ }
+
+ private function _timestamp_script( $name, $src, $requirements = [] ) {
+ wp_enqueue_script( $name, STYLEPRESS_URI . $src, $requirements, STYLEPRESS_VERSION );
+ }
+
+ private function _timestamp_style( $name, $src, $requirements = [] ) {
+ wp_enqueue_style( $name, STYLEPRESS_URI . $src, $requirements, STYLEPRESS_VERSION );
+ }
+
+ public function get_config() {
+ return [
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
+ 'admin_nonce' => wp_create_nonce( 'stylepress-react' ),
+ ];
+ }
+
+ /**
+ * This is our callback for rendering our custom menu page.
+ * This page shows all our site styles and currently selected defaults.
+ *
+ * @since 2.0.0
+ */
+ public function default_styles_page_callback() {
+
+ if ( isset( $_GET['style_id'] ) ) {
+ $this->content = $this->render_template(
+ 'admin/sections.php', [
+ ]
+ );
+ } else if ( isset( $_GET['remote_style_slug'] ) ) {
+ if ( isset( $_GET['import_step'] ) ) {
+ $this->content = $this->render_template(
+ 'admin/remote-style-import.php', [
+ ]
+ );
+ } else {
+ $this->content = $this->render_template(
+ 'admin/remote-style.php', [
+ ]
+ );
+ }
+ } else {
+ $this->content = $this->render_template(
+ 'admin/styles.php', [
+ ]
+ );
+ }
+ $this->header = $this->render_template( 'admin/header.php' );
+ echo $this->render_template( 'wrapper.php' );
+ }
+
+ /**
+ * This is our callback for rendering our custom menu page.
+ * This page shows all our site styles and currently selected defaults.
+ *
+ * @since 2.0.0
+ */
+ public function settings_page_callback() {
+ $this->content = $this->render_template(
+ 'admin/settings.php', [
+ ]
+ );
+ $this->header = $this->render_template( 'admin/header.php' );
+ echo $this->render_template( 'wrapper.php' );
+ }
+
+
+ public function stylepress_new_style() {
+ // Check if our nonce is set.
+ if ( ! isset( $_POST['stylepress_new_style'] ) ) { // WPCS: input var okay.
+ return;
+ }
+
+ // Verify that the nonce is valid.
+ if ( ! wp_verify_nonce( $_POST['stylepress_new_style'], 'stylepress_new_style' ) ) { // WPCS: sanitization ok. input var okay.
+ return;
+ }
+
+ $new_style_name = stripslashes( sanitize_text_field( trim( $_POST['new_style_name'] ) ) );
+ $new_category = sanitize_text_field( trim( $_POST['new_style_category'] ) );
+ $new_style_parent = (int) $_POST['new_style_parent'];
+
+ if ( ! $new_style_name ) {
+ wp_die( 'Please go back and enter a new style name' );
+ }
+
+ if ( ! $new_category ) {
+ wp_die( 'No category found' );
+ }
+
+ $post_id = wp_insert_post( [
+ 'post_type' => Cpt::CPT,
+ 'post_status' => 'publish',
+ 'post_title' => $new_style_name,
+ 'post_parent' => $new_style_parent,
+ ], true );
+
+ if ( is_wp_error( $post_id ) || ! $post_id ) {
+ wp_die( 'Failed to create new style' );
+ }
+
+ wp_set_object_terms( $post_id, $new_category, STYLEPRESS_SLUG . '-cat', false );
+
+ if ( $new_category === 'theme_styles' ) {
+ // hack to allow Elementor Theme Style editor:
+ update_post_meta( $post_id, '_elementor_template_type', 'kit' );
+ }
+
+ wp_safe_redirect( admin_url( 'admin.php?page=' . self::STYLES_PAGE_SLUG . ( $new_style_parent ? '&style_id=' . $new_style_parent : '' ) . '&saved#cat-' . $new_category ) );
+ exit;
+
+ }
+
+ public function stylepress_save() {
+
+ // Check if our nonce is set.
+ if ( ! isset( $_POST['stylepress_save_options'] ) ) { // WPCS: input var okay.
+ return;
+ }
+
+ // Verify that the nonce is valid.
+ if ( ! wp_verify_nonce( $_POST['stylepress_save_options'], 'stylepress_save_options' ) ) { // WPCS: sanitization ok. input var okay.
+ return;
+ }
+
+ $page_types = Settings::get_instance()->get_all_page_types();
+ $categories = Styles::get_instance()->get_categories();
+ $defaults_to_save = [];
+
+ $user_provided_defaults = [];
+ $is_advanced_settings = ! empty( $_POST['stylepress_advanced'] );
+ Settings::get_instance()->set( 'stylepress_advanced', $is_advanced_settings );
+ if ( $is_advanced_settings ) {
+ if ( isset( $_POST['default_style'] ) && is_array( $_POST['default_style'] ) ) {
+ $user_provided_defaults = $_POST['default_style'];
+ }
+ } else {
+ // simple styles.
+ if ( isset( $_POST['default_style_simple'] ) && is_array( $_POST['default_style_simple'] ) ) {
+ $user_provided_defaults = $_POST['default_style_simple'];
+ }
+ }
+ foreach ( $page_types as $page_type => $page_type_name ) {
+ $defaults_to_save[ $page_type ] = [];
+ if ( isset( $user_provided_defaults[ $page_type ] ) && is_array( $user_provided_defaults[ $page_type ] ) ) {
+ // store defaults for each page type here.
+ foreach ( $categories as $category ) {
+ if ( isset( $user_provided_defaults[ $page_type ][ $category['slug'] ] ) ) {
+ $chosen_default = $user_provided_defaults[ $page_type ][ $category['slug'] ];
+ $valid_answers = Styles::get_instance()->get_all_styles( $category['slug'], true );
+ if ( isset( $valid_answers[ $chosen_default ] ) ) {
+ $defaults_to_save[ $page_type ][ $category['slug'] ] = $chosen_default;
+ }
+ }
+ }
+ }
+ }
+
+ foreach ( $defaults_to_save as $default_page_type => $default_styles ) {
+ if ( $default_page_type !== '_global' ) {
+ $defaults_to_save[ $default_page_type ] = array_merge( $defaults_to_save['_global'], $default_styles );
+ }
+ }
+
+ Settings::get_instance()->set( 'stylepress_styles', $defaults_to_save );
+
+ wp_safe_redirect( admin_url( 'admin.php?page=' . self::SETTINGS_PAGE_SLUG . '&saved' ) );
+ exit;
+
+
+ }
+
+
+ /**
+ * Adds a meta box to every post type.
+ *
+ * @since 2.0.0
+ */
+ public function add_meta_box() {
+
+ if ( Plugin::get_instance()->has_permission() ) {
+ $post_types = get_post_types();
+ foreach ( $post_types as $post_type ) {
+ if ( ! in_array( $post_type, array( Styles::CPT, 'elementor_library' ), true ) ) {
+ add_meta_box(
+ 'stylepress_style_metabox',
+ __( 'StylePress', 'stylepress' ),
+ array( $this, 'meta_box_display' ),
+ $post_type,
+ 'side',
+ 'high'
+ );
+ }
+ }
+
+ }
+
+ }
+
+ /**
+ * This renders our metabox on most page/post types.
+ *
+ * @param \WP_Post $post Current post object.
+ *
+ * @since 2.0.0
+ *
+ */
+ public function meta_box_display( $post ) {
+
+ if ( Plugin::get_instance()->has_permission( $post ) ) {
+
+ include_once STYLEPRESS_PATH . 'metaboxes/post-meta-box.php';
+
+ }
+ }
+
+ /**
+ * Saves our metabox details, which is the style for a particular page.
+ *
+ * @param int $post_id The post we're current saving.
+ *
+ * @since 2.0.0
+ *
+ */
+ public function save_meta_box( $post_id ) {
+ // Check if our nonce is set.
+ if ( ! isset( $_POST['stylepress_style_nonce'] ) ) { // WPCS: input var okay.
+ return;
+ }
+
+ // Verify that the nonce is valid.
+ if ( ! wp_verify_nonce( $_POST['stylepress_style_nonce'], 'stylepress_style_nonce' ) ) { // WPCS: sanitization ok. input var okay.
+ return;
+ }
+
+ // If this is an autosave, our form has not been submitted, so we don't want to do anything.
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
+ return;
+ }
+
+ if ( isset( $_POST['stylepress_style'] ) && is_array( $_POST['stylepress_style'] ) ) { // WPCS: sanitization ok. input var okay.
+ $default_styles = [];
+ foreach ( $_POST['stylepress_style'] as $page_type ) {
+ // sanitise each one.
+ }
+ update_post_meta( $post_id, 'stylepress_style', sanitize_text_field( $_POST['stylepress_style'] ) ); // WPCS: sanitization ok. input var okay.
+ }
+
+ }
+
+
+}
+
diff --git a/inc/template-functions.php b/components/php/classes/template-functions.php
similarity index 51%
rename from inc/template-functions.php
rename to components/php/classes/template-functions.php
index 64e2c8a..e3ceca3 100644
--- a/inc/template-functions.php
+++ b/components/php/classes/template-functions.php
@@ -2,17 +2,17 @@
/**
* Template Functions
*
- * @package dtbaker-elementor
+ * @package stylepress
*
* (just the do_content hook for the elementor widget, maybe more later on)
*/
-defined( 'DTBAKER_ELEMENTOR_PATH' ) || exit;
+namespace StylePress;
+defined( 'STYLEPRESS_VERSION' ) || exit;
-
-if ( ! function_exists( 'dtbaker_elementor_page_content' ) ) {
+if ( ! function_exists( 'stylepress_page_content' ) ) {
/**
* Renderes the_content() from our Elementor widget hook.
@@ -20,21 +20,21 @@
*
* @param array $settings Elementor settings from this particular widget. Empty for now but may contain settings down the track.
*/
-function dtbaker_elementor_page_content( $settings = array() ) {
+function stylepress_page_content( $settings = array() ) {
-$current_page_type = DtbakerElementorManager::get_instance()->get_current_page_type();
+$current_page_type = Plugin::get_instance()->get_current_page_type();
if ( ! isset( $GLOBALS['stylepress_template_turtles'] ) ) {
$GLOBALS['stylepress_template_turtles'] = array();
}
-\DtbakerElementorManager::get_instance()->debug_message( "template-functions.php: Rendering from stylepress/render-inner action hook " );
+\Plugin::get_instance()->debug_message( "template-functions.php: Rendering from stylepress/render-inner action hook " );
if ( count( $GLOBALS['stylepress_template_turtles'] ) ) {
- \DtbakerElementorManager::get_instance()->debug_message( "template-functions.php: Nested inner content for " . $current_page_type . "." );
+ \Plugin::get_instance()->debug_message( "template-functions.php: Nested inner content for " . $current_page_type . "." );
// save and restore global post entry while we do this.
if ( isset( $GLOBALS['post'] ) ) {
@@ -88,17 +88,16 @@ function dtbaker_elementor_page_content( $settings = array() ) {
return;
}
-
-\DtbakerElementorManager::get_instance()->debug_message( "template-functions.php: Current page type for inner content style lookup is: $current_page_type " );
+\Plugin::get_instance()->debug_message( "template-functions.php: Current page type for inner content style lookup is: $current_page_type " );
if(! empty( $GLOBALS['stylepress_render_this_template_inside'] )){
-// hook here on our header/footer callbacks to strip double rendered content.
+ // hook here on our header/footer callbacks to strip double rendered content.
-$theme_hooks = apply_filters( 'stylepress_theme_hooks', array() );
+ $theme_hooks = apply_filters( 'stylepress_theme_hooks', array() );
-if(! empty( $theme_hooks['before'] ) && ! empty( $theme_hooks['after'] )){
+ if(! empty( $theme_hooks['before'] ) && ! empty( $theme_hooks['after'] )){
-ob_start();
+ ob_start();
?>
class="no-js">
@@ -110,48 +109,48 @@ function dtbaker_elementor_page_content( $settings = array() ) {
>
-get_current_page_type();
-DtbakerElementorManager::get_instance()->debug_message( "render.php: Rendering full page output for page type '$page_type' in render.php using the style: " . (
- ! empty( $GLOBALS['our_elementor_template'] ) ? '' . esc_html( get_the_title( $GLOBALS['our_elementor_template'] ) ) . ' ' . $GLOBALS['our_elementor_template'] : 'NONE'
- ) . '' );
+ $page_type = Plugin::get_instance()->get_current_page_type();
+ Plugin::get_instance()->debug_message( "render.php: Rendering full page output for page type '$page_type' in render.php using the style: " . (
+ ! empty( $GLOBALS['our_elementor_template'] ) ? '' . esc_html( get_the_title( $GLOBALS['our_elementor_template'] ) ) . ' ' . $GLOBALS['our_elementor_template'] : 'NONE'
+ ) . '' );
-if ( DtbakerElementorManager::get_instance()->removing_theme_css ) {
- DtbakerElementorManager::get_instance()->debug_message( "render.php: Removing the default theme CSS files" );
-}
+ if ( Plugin::get_instance()->removing_theme_css ) {
+ Plugin::get_instance()->debug_message( "render.php: Removing the default theme CSS files" );
+ }
-do_action( 'stylepress/before-render' );
-$GLOBALS['stylepressheader'] = ob_get_clean();
-ob_start(); // kill the theme header from the below include.
-add_action( $theme_hooks['before'], function () {
- $old_header = ob_get_clean(); // kill the header
- ob_start(); // capture all inner theme output and render it here.
-} );
-add_action( $theme_hooks['after'], function(){
-// we have to break out of the template rendering and continue to render the stylepress footer from here on in.
-$inner = ob_get_clean(); // capture all inner
-echo $inner;
-// render out stylepress footer
-ob_start();
-do_action( 'stylepress/after-render' );
-wp_footer();
-?>
+ do_action( 'stylepress/before-render' );
+ $GLOBALS['stylepressheader'] = ob_get_clean();
+ ob_start(); // kill the theme header from the below include.
+ add_action( $theme_hooks['before'], function () {
+ $old_header = ob_get_clean(); // kill the header
+ ob_start(); // capture all inner theme output and render it here.
+ } );
+ add_action( $theme_hooks['after'], function(){
+ // we have to break out of the template rendering and continue to render the stylepress footer from here on in.
+ $inner = ob_get_clean(); // capture all inner
+ echo $inner;
+ // render out stylepress footer
+ ob_start();
+ do_action( 'stylepress/after-render' );
+ wp_footer();
+ ?>