├── screenshot.png
├── assets
├── images
│ ├── 30.User.png
│ ├── member1.jpg
│ ├── member2.jpg
│ ├── 03.Office.png
│ ├── phone_bck.png
│ ├── 48.Dashboard.png
│ ├── wordpress_logo.png
│ ├── image_layout_left.png
│ ├── image_layout_right.png
│ ├── StockSnap_1A3MXAT0M6.jpg
│ ├── StockSnap_JBW2PXDOL6.jpg
│ └── StockSnap_R7GVMRJWW9.jpg
├── less
│ ├── font-bonkers
│ │ └── fonts
│ │ │ ├── bonkers.ttf
│ │ │ └── bonkers.woff
│ ├── font-awesome
│ │ ├── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ ├── fontawesome-webfont.woff
│ │ │ └── fontawesome-webfont.woff2
│ │ └── less
│ │ │ ├── screen-reader.less
│ │ │ ├── fixed-width.less
│ │ │ ├── larger.less
│ │ │ ├── list.less
│ │ │ ├── core.less
│ │ │ ├── stacked.less
│ │ │ ├── font-awesome.less
│ │ │ ├── bordered-pulled.less
│ │ │ ├── rotated-flipped.less
│ │ │ ├── path.less
│ │ │ ├── animated.less
│ │ │ └── mixins.less
│ ├── mixins
│ │ ├── center-block.less
│ │ ├── size.less
│ │ ├── opacity.less
│ │ ├── text-emphasis.less
│ │ ├── text-overflow.less
│ │ ├── background-variant.less
│ │ ├── labels.less
│ │ ├── resize.less
│ │ ├── progress-bar.less
│ │ ├── nav-divider.less
│ │ ├── reset-filter.less
│ │ ├── alerts.less
│ │ ├── tab-focus.less
│ │ ├── nav-vertical-align.less
│ │ ├── responsive-visibility.less
│ │ ├── border-radius.less
│ │ ├── reset-text.less
│ │ ├── pagination.less
│ │ ├── panels.less
│ │ ├── hide-text.less
│ │ ├── list-group.less
│ │ ├── clearfix.less
│ │ ├── table-row.less
│ │ ├── image.less
│ │ ├── buttons.less
│ │ ├── forms.less
│ │ └── grid-framework.less
│ ├── wells.less
│ ├── breadcrumbs.less
│ ├── responsive-embed.less
│ ├── component-animations.less
│ ├── close.less
│ ├── thumbnails.less
│ ├── utilities.less
│ ├── pager.less
│ ├── media.less
│ ├── mixins.less
│ ├── labels.less
│ ├── jumbotron.less
│ ├── badges.less
│ ├── bootstrap.less
│ ├── code.less
│ ├── grid.less
│ ├── alerts.less
│ ├── progress-bars.less
│ ├── pagination.less
│ └── print.less
├── css
│ ├── editor-style.css
│ ├── admin-styles.less
│ └── flickity.css
└── theme-less
│ ├── _gallery.less
│ ├── _mediaquery-md.less
│ ├── _mediaquery-lg.less
│ └── _pace.less
├── inc
├── libraries
│ ├── epsilon-framework
│ │ ├── README.md
│ │ ├── assets
│ │ │ ├── vendors
│ │ │ │ ├── epsilon-framework
│ │ │ │ │ ├── customizer
│ │ │ │ │ │ ├── components
│ │ │ │ │ │ │ ├── panels
│ │ │ │ │ │ │ │ └── regular
│ │ │ │ │ │ │ │ │ └── regular.js
│ │ │ │ │ │ │ ├── epsilon-object.js
│ │ │ │ │ │ │ ├── controls
│ │ │ │ │ │ │ │ ├── repeater
│ │ │ │ │ │ │ │ │ ├── repeater-object.js
│ │ │ │ │ │ │ │ │ └── repeater-row.js
│ │ │ │ │ │ │ │ ├── section-repeater
│ │ │ │ │ │ │ │ │ ├── section-repeater-object.js
│ │ │ │ │ │ │ │ │ └── section-repeater-section.js
│ │ │ │ │ │ │ │ ├── text-editor
│ │ │ │ │ │ │ │ │ └── text-editor.js
│ │ │ │ │ │ │ │ ├── customizer-navigation
│ │ │ │ │ │ │ │ │ └── customizer-navigation.js
│ │ │ │ │ │ │ │ ├── range-slider
│ │ │ │ │ │ │ │ │ └── range-sliders.js
│ │ │ │ │ │ │ │ ├── color-picker
│ │ │ │ │ │ │ │ │ └── color-picker.js
│ │ │ │ │ │ │ │ └── icon-picker
│ │ │ │ │ │ │ │ │ └── icon-picker.js
│ │ │ │ │ │ │ └── wp-customize-extenders
│ │ │ │ │ │ │ │ ├── controls
│ │ │ │ │ │ │ │ ├── image.js
│ │ │ │ │ │ │ │ ├── customizer-navigation.js
│ │ │ │ │ │ │ │ ├── toggle.js
│ │ │ │ │ │ │ │ ├── color-schemes.js
│ │ │ │ │ │ │ │ ├── text-editor.js
│ │ │ │ │ │ │ │ ├── layouts.js
│ │ │ │ │ │ │ │ ├── range-sliders.js
│ │ │ │ │ │ │ │ ├── icon-picker.js
│ │ │ │ │ │ │ │ ├── color-picker.js
│ │ │ │ │ │ │ │ ├── typography.js
│ │ │ │ │ │ │ │ └── upsell.js
│ │ │ │ │ │ │ │ └── sections
│ │ │ │ │ │ │ │ ├── section-pro.js
│ │ │ │ │ │ │ │ ├── section-doubled.js
│ │ │ │ │ │ │ │ └── recommended-actions.js
│ │ │ │ │ │ └── epsilon.js
│ │ │ │ │ ├── admin
│ │ │ │ │ │ ├── epsilon-admin.js
│ │ │ │ │ │ └── components
│ │ │ │ │ │ │ ├── epsilon-admin-object.js
│ │ │ │ │ │ │ └── notices.js
│ │ │ │ │ └── previewer
│ │ │ │ │ │ ├── components
│ │ │ │ │ │ ├── epsilon-previewer-object.js
│ │ │ │ │ │ ├── section-editor.js
│ │ │ │ │ │ ├── color-schemes.js
│ │ │ │ │ │ └── typography.js
│ │ │ │ │ │ └── epsilon-previewer.js
│ │ │ │ ├── fontawesome
│ │ │ │ │ └── fonts
│ │ │ │ │ │ ├── FontAwesome.otf
│ │ │ │ │ │ ├── fontawesome-webfont.eot
│ │ │ │ │ │ ├── fontawesome-webfont.ttf
│ │ │ │ │ │ ├── fontawesome-webfont.woff
│ │ │ │ │ │ └── fontawesome-webfont.woff2
│ │ │ │ └── minicolors
│ │ │ │ │ └── jquery.minicolors.png
│ │ │ ├── img
│ │ │ │ ├── four-column.png
│ │ │ │ ├── one-column.png
│ │ │ │ ├── two-column.png
│ │ │ │ └── three-column.png
│ │ │ ├── css
│ │ │ │ ├── scss
│ │ │ │ │ ├── controls
│ │ │ │ │ │ ├── customizer-navigation.scss
│ │ │ │ │ │ ├── tooltip.scss
│ │ │ │ │ │ ├── image.scss
│ │ │ │ │ │ ├── color-picker.scss
│ │ │ │ │ │ ├── upsell.scss
│ │ │ │ │ │ ├── color-schemes.scss
│ │ │ │ │ │ ├── toggle.scss
│ │ │ │ │ │ └── icon-picker.scss
│ │ │ │ │ └── sections
│ │ │ │ │ │ ├── pro-section.scss
│ │ │ │ │ │ ├── section-doubled.scss
│ │ │ │ │ │ └── recommended-actions.scss
│ │ │ │ ├── style-admin.scss
│ │ │ │ └── style-admin.css
│ │ │ └── js
│ │ │ │ ├── epsilon-admin.min.js
│ │ │ │ ├── epsilon-admin.js
│ │ │ │ └── epsilon-previewer.min.js
│ │ ├── package.json
│ │ ├── class-epsilon-autoloader.php
│ │ ├── customizer
│ │ │ ├── panels
│ │ │ │ └── class-epsilon-panel-regular.php
│ │ │ ├── controls
│ │ │ │ ├── class-epsilon-control-toggle.php
│ │ │ │ ├── class-epsilon-control-customizer-navigation.php
│ │ │ │ ├── class-epsilon-control-text-editor.php
│ │ │ │ └── class-epsilon-control-color-picker.php
│ │ │ └── sections
│ │ │ │ ├── class-epsilon-section-pro.php
│ │ │ │ └── class-epsilon-section-doubled.php
│ │ └── classes
│ │ │ ├── class-epsilon-notifications.php
│ │ │ ├── class-epsilon-notify-system.php
│ │ │ └── class-epsilon-sanitizers.php
│ └── welcome-screen
│ │ ├── img
│ │ ├── colorlib.png
│ │ └── ajax-loader.gif
│ │ ├── sections
│ │ ├── support.php
│ │ ├── recommended-plugins.php
│ │ ├── getting-started.php
│ │ ├── registration.php
│ │ └── recommended-actions.php
│ │ └── data
│ │ └── demo.json
├── scripts
│ └── stylesheets.php
├── theme-functions
│ └── custom-header.php
├── jetpack.php
├── customizer-controls
│ └── class-bonkers-multiple-checkbox-control.php
└── back-compat.php
├── .gitignore
├── languages
└── readme.txt
├── sidebar-shop.php
├── sidebar.php
├── template-parts
├── social-menu.php
├── section-services.php
├── section-team.php
├── pagination.php
├── section-clients.php
├── content-page.php
├── section-video.php
├── section-cta.php
├── content-none.php
├── content-single.php
├── section-phone.php
├── section-contact.php
├── content-search.php
├── section-welcome.php
├── content.php
├── section-subscribe.php
└── section-image.php
├── package.json
├── single.php
├── page.php
├── page-templates
└── template-front-page.php
├── search.php
├── index.php
├── archive.php
├── 404.php
└── header.php
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/screenshot.png
--------------------------------------------------------------------------------
/assets/images/30.User.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/30.User.png
--------------------------------------------------------------------------------
/assets/images/member1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/member1.jpg
--------------------------------------------------------------------------------
/assets/images/member2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/member2.jpg
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/README.md:
--------------------------------------------------------------------------------
1 | # Epsilon Framework v1.0.0
2 |
3 | MachoThemes' theme framework.
--------------------------------------------------------------------------------
/assets/images/03.Office.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/03.Office.png
--------------------------------------------------------------------------------
/assets/images/phone_bck.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/phone_bck.png
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/panels/regular/regular.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/images/48.Dashboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/48.Dashboard.png
--------------------------------------------------------------------------------
/assets/images/wordpress_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/wordpress_logo.png
--------------------------------------------------------------------------------
/assets/images/image_layout_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/image_layout_left.png
--------------------------------------------------------------------------------
/assets/images/image_layout_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/image_layout_right.png
--------------------------------------------------------------------------------
/assets/images/StockSnap_1A3MXAT0M6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/StockSnap_1A3MXAT0M6.jpg
--------------------------------------------------------------------------------
/assets/images/StockSnap_JBW2PXDOL6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/StockSnap_JBW2PXDOL6.jpg
--------------------------------------------------------------------------------
/assets/images/StockSnap_R7GVMRJWW9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/images/StockSnap_R7GVMRJWW9.jpg
--------------------------------------------------------------------------------
/assets/less/font-bonkers/fonts/bonkers.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-bonkers/fonts/bonkers.ttf
--------------------------------------------------------------------------------
/assets/less/font-bonkers/fonts/bonkers.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-bonkers/fonts/bonkers.woff
--------------------------------------------------------------------------------
/assets/less/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/img/colorlib.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/welcome-screen/img/colorlib.png
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/img/ajax-loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/welcome-screen/img/ajax-loader.gif
--------------------------------------------------------------------------------
/assets/less/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/assets/less/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/assets/less/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/assets/less/font-awesome/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/assets/less/font-awesome/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/img/four-column.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/img/four-column.png
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/img/one-column.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/img/one-column.png
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/img/two-column.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/img/two-column.png
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/admin/epsilon-admin.js:
--------------------------------------------------------------------------------
1 | jQuery( document ).ready( function( $ ) {
2 | EpsilonAdmin.notices.init();
3 | } );
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/img/three-column.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/img/three-column.png
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/screen-reader.less:
--------------------------------------------------------------------------------
1 | // Screen Readers
2 | // -------------------------
3 |
4 | .sr-only { .sr-only(); }
5 | .sr-only-focusable { .sr-only-focusable(); }
6 |
--------------------------------------------------------------------------------
/assets/less/mixins/center-block.less:
--------------------------------------------------------------------------------
1 | // Center-align a block level element
2 |
3 | .center-block() {
4 | display: block;
5 | margin-left: auto;
6 | margin-right: auto;
7 | }
8 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/fixed-width.less:
--------------------------------------------------------------------------------
1 | // Fixed Width Icons
2 | // -------------------------
3 | .@{fa-css-prefix}-fw {
4 | width: (18em / 14);
5 | text-align: center;
6 | }
7 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/controls/customizer-navigation.scss:
--------------------------------------------------------------------------------
1 | .epsilon-customizer-navigation {
2 | margin-top: 10px;
3 | margin-top: 10px;
4 | display: inline-block;
5 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/*
2 | .idea/*
3 | .jscsrc
4 | .jshintignore
5 | .jshintrc
6 | .travis.yml
7 | Gruntfile.js
8 | phpcs.ruleset.xml
9 | .standard.json
10 | bonkers.zip
11 | package-lock.json
--------------------------------------------------------------------------------
/assets/less/mixins/size.less:
--------------------------------------------------------------------------------
1 | // Sizing shortcuts
2 |
3 | .size(@width; @height) {
4 | width: @width;
5 | height: @height;
6 | }
7 |
8 | .square(@size) {
9 | .size(@size; @size);
10 | }
11 |
--------------------------------------------------------------------------------
/assets/less/mixins/opacity.less:
--------------------------------------------------------------------------------
1 | // Opacity
2 |
3 | .opacity(@opacity) {
4 | opacity: @opacity;
5 | // IE8 filter
6 | @opacity-ie: (@opacity * 100);
7 | filter: ~"alpha(opacity=@{opacity-ie})";
8 | }
9 |
--------------------------------------------------------------------------------
/assets/less/mixins/text-emphasis.less:
--------------------------------------------------------------------------------
1 | // Typography
2 |
3 | .text-emphasis-variant(@color) {
4 | color: @color;
5 | a&:hover,
6 | a&:focus {
7 | color: darken(@color, 10%);
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/minicolors/jquery.minicolors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/vendors/minicolors/jquery.minicolors.png
--------------------------------------------------------------------------------
/assets/css/editor-style.css:
--------------------------------------------------------------------------------
1 | /*
2 | Description: Used to style the TinyMCE editor.
3 | */
4 |
5 | html{
6 | padding: 30px;
7 | }
8 | body {
9 | font-family: Lato, sans-serif;
10 | background-color: #fff;
11 | }
12 |
--------------------------------------------------------------------------------
/assets/less/mixins/text-overflow.less:
--------------------------------------------------------------------------------
1 | // Text overflow
2 | // Requires inline-block or block for proper styling
3 |
4 | .text-overflow() {
5 | overflow: hidden;
6 | text-overflow: ellipsis;
7 | white-space: nowrap;
8 | }
9 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/admin/components/epsilon-admin-object.js:
--------------------------------------------------------------------------------
1 | /*
2 | EpsilonAdminObject
3 | */
4 |
5 | var EpsilonAdmin = 'undefined' === typeof( EpsilonAdmin ) ? {} : EpsilonAdmin;
6 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ColorlibHQ/bonkers/master/inc/libraries/epsilon-framework/assets/vendors/fontawesome/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/assets/less/mixins/background-variant.less:
--------------------------------------------------------------------------------
1 | // Contextual backgrounds
2 |
3 | .bg-variant(@color) {
4 | background-color: @color;
5 | a&:hover,
6 | a&:focus {
7 | background-color: darken(@color, 10%);
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/epsilon-object.js:
--------------------------------------------------------------------------------
1 | /*
2 | EpsilonFramework Object
3 | */
4 |
5 | var EpsilonFramework = 'undefined' === typeof( EpsilonFramework ) ? {} : EpsilonFramework;
6 |
--------------------------------------------------------------------------------
/assets/less/mixins/labels.less:
--------------------------------------------------------------------------------
1 | // Labels
2 |
3 | .label-variant(@color) {
4 | background-color: @color;
5 |
6 | &[href] {
7 | &:hover,
8 | &:focus {
9 | background-color: darken(@color, 10%);
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/assets/less/mixins/resize.less:
--------------------------------------------------------------------------------
1 | // Resize anything
2 |
3 | .resizable(@direction) {
4 | resize: @direction; // Options: horizontal, vertical, both
5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
6 | }
7 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/previewer/components/epsilon-previewer-object.js:
--------------------------------------------------------------------------------
1 | /*
2 | EpsilonPreviewer Object
3 | */
4 |
5 | var EpsilonPreviewer = 'undefined' === typeof( EpsilonPreviewer ) ? {} : EpsilonPreviewer;
6 |
--------------------------------------------------------------------------------
/assets/less/mixins/progress-bar.less:
--------------------------------------------------------------------------------
1 | // Progress bars
2 |
3 | .progress-bar-variant(@color) {
4 | background-color: @color;
5 |
6 | // Deprecated parent class requirement as of v3.2.0
7 | .progress-striped & {
8 | #gradient > .striped();
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/repeater/repeater-object.js:
--------------------------------------------------------------------------------
1 | /*
2 | EpsilonFramework.Repeater Object
3 | */
4 | EpsilonFramework.repeater = 'undefined' === typeof( EpsilonFramework.repeater ) ? {} : EpsilonFramework.repeater;
5 |
--------------------------------------------------------------------------------
/assets/less/mixins/nav-divider.less:
--------------------------------------------------------------------------------
1 | // Horizontal dividers
2 | //
3 | // Dividers (basically an hr) within dropdowns and nav lists
4 |
5 | .nav-divider(@color: #e5e5e5) {
6 | height: 1px;
7 | margin: ((@line-height-computed / 2) - 1) 0;
8 | overflow: hidden;
9 | background-color: @color;
10 | }
11 |
--------------------------------------------------------------------------------
/assets/less/mixins/reset-filter.less:
--------------------------------------------------------------------------------
1 | // Reset filters for IE
2 | //
3 | // When you need to remove a gradient background, do not forget to use this to reset
4 | // the IE filter for IE9 and below.
5 |
6 | .reset-filter() {
7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
8 | }
9 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/section-repeater/section-repeater-object.js:
--------------------------------------------------------------------------------
1 | /*
2 | EpsilonFramework.sectionRepeater Object
3 | */
4 | EpsilonFramework.sectionRepeater = 'undefined' === typeof( EpsilonFramework.sectionRepeater ) ? {} : EpsilonFramework.sectionRepeater;
5 |
--------------------------------------------------------------------------------
/assets/less/mixins/alerts.less:
--------------------------------------------------------------------------------
1 | // Alerts
2 |
3 | .alert-variant(@background; @border; @text-color) {
4 | background-color: @background;
5 | border-color: @border;
6 | color: @text-color;
7 |
8 | hr {
9 | border-top-color: darken(@border, 5%);
10 | }
11 | .alert-link {
12 | color: darken(@text-color, 10%);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/previewer/epsilon-previewer.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Framework Previewer Initiator
3 | */
4 |
5 | wp.customize.bind( 'preview-ready', function() {
6 | EpsilonPreviewer.colorSchemes.init();
7 | EpsilonPreviewer.sectionEditor.init();
8 | EpsilonPreviewer.typography.init();
9 | } );
10 |
--------------------------------------------------------------------------------
/languages/readme.txt:
--------------------------------------------------------------------------------
1 | Place your theme language files in this directory.
2 |
3 | Please visit the following links to learn more about translating WordPress themes:
4 |
5 | https://make.wordpress.org/polyglots/teams/
6 | https://developer.wordpress.org/themes/functionality/localization/
7 | https://developer.wordpress.org/reference/functions/load_theme_textdomain/
8 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/image.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Image Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-image' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 | EpsilonFramework.image.init( this );
8 | }
9 | } );
10 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/sections/section-pro.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Pro Section Constructor
3 | */
4 | wp.customize.sectionConstructor[ 'epsilon-section-pro' ] = wp.customize.Section.extend( {
5 | attachEvents: function() {
6 | },
7 | isContextuallyActive: function() {
8 | return true;
9 | }
10 | } );
11 |
--------------------------------------------------------------------------------
/assets/less/mixins/tab-focus.less:
--------------------------------------------------------------------------------
1 | // WebKit-style focus
2 |
3 | .tab-focus() {
4 | // WebKit-specific. Other browsers will keep their default outline style.
5 | // (Initially tried to also force default via `outline: initial`,
6 | // but that seems to erroneously remove the outline in Firefox altogether.)
7 | outline: 5px auto -webkit-focus-ring-color;
8 | outline-offset: -2px;
9 | }
10 |
--------------------------------------------------------------------------------
/sidebar-shop.php:
--------------------------------------------------------------------------------
1 |
6 |
17 |
20 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/customizer-navigation.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Customizer Navigation Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-customizer-navigation' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | EpsilonFramework.customizerNavigation.init( this.container );
7 | }
8 | } );
--------------------------------------------------------------------------------
/assets/less/mixins/nav-vertical-align.less:
--------------------------------------------------------------------------------
1 | // Navbar vertical align
2 | //
3 | // Vertically center elements in the navbar.
4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
5 |
6 | .navbar-vertical-align(@element-height) {
7 | margin-top: ((@navbar-height - @element-height) / 2);
8 | margin-bottom: ((@navbar-height - @element-height) / 2);
9 | }
10 |
--------------------------------------------------------------------------------
/sidebar.php:
--------------------------------------------------------------------------------
1 |
14 |
17 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/larger.less:
--------------------------------------------------------------------------------
1 | // Icon Sizes
2 | // -------------------------
3 |
4 | /* makes the font 33% larger relative to the icon container */
5 | .@{fa-css-prefix}-lg {
6 | font-size: (4em / 3);
7 | line-height: (3em / 4);
8 | vertical-align: -15%;
9 | }
10 | .@{fa-css-prefix}-2x { font-size: 2em; }
11 | .@{fa-css-prefix}-3x { font-size: 3em; }
12 | .@{fa-css-prefix}-4x { font-size: 4em; }
13 | .@{fa-css-prefix}-5x { font-size: 5em; }
14 |
--------------------------------------------------------------------------------
/assets/less/mixins/responsive-visibility.less:
--------------------------------------------------------------------------------
1 | // Responsive utilities
2 |
3 | //
4 | // More easily include all the states for responsive-utilities.less.
5 | .responsive-visibility() {
6 | display: block !important;
7 | table& { display: table !important; }
8 | tr& { display: table-row !important; }
9 | th&,
10 | td& { display: table-cell !important; }
11 | }
12 |
13 | .responsive-invisibility() {
14 | display: none !important;
15 | }
16 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/list.less:
--------------------------------------------------------------------------------
1 | // List Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-ul {
5 | padding-left: 0;
6 | margin-left: @fa-li-width;
7 | list-style-type: none;
8 | > li { position: relative; }
9 | }
10 | .@{fa-css-prefix}-li {
11 | position: absolute;
12 | left: -@fa-li-width;
13 | width: @fa-li-width;
14 | top: (2em / 14);
15 | text-align: center;
16 | &.@{fa-css-prefix}-lg {
17 | left: (-@fa-li-width + (4em / 14));
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/sections/section-doubled.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Doubled Section Constructor
3 | */
4 | wp.customize.sectionConstructor[ 'epsilon-section-doubled' ] = wp.customize.Section.extend( {
5 | ready: function() {
6 | EpsilonFramework.sectionDoubled.init( this );
7 | },
8 | attachEvents: function() {
9 | },
10 | isContextuallyActive: function() {
11 | return true;
12 | }
13 | } );
14 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/epsilon.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Framework Initiator
3 | */
4 |
5 | /**
6 | * Load the range sliders for the widget updates
7 | */
8 | jQuery( document ).on( 'widget-updated widget-added', function( a, selector ) {
9 | if ( jQuery().slider ) {
10 | EpsilonFramework.rangeSliders.init( selector );
11 | }
12 | } );
13 |
14 | wp.customize.bind( 'ready', function() {
15 | EpsilonFramework.colorSchemes.init();
16 | } );
17 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/sections/recommended-actions.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Recommended Section Constructor
3 | */
4 | wp.customize.sectionConstructor[ 'epsilon-section-recommended-actions' ] = wp.customize.Section.extend( {
5 | ready: function() {
6 | EpsilonFramework.recommendedActions.init();
7 | },
8 | attachEvents: function() {
9 | },
10 | isContextuallyActive: function() {
11 | return true;
12 | }
13 | } );
14 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/style-admin.scss:
--------------------------------------------------------------------------------
1 | .epsilon-framework-notice {
2 | &.epsilon-big {
3 | background: #e9eff3;
4 | border: 10px solid #fff;
5 | color: #608299;
6 | padding: 30px 10px;
7 | text-align: center;
8 | box-shadow: none;
9 | &:after,
10 | &:before {
11 | content: "";
12 | display: table
13 | }
14 | &:after {
15 | clear: both
16 | }
17 | .epsilon-author-logo {
18 | max-width: 100px;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/core.less:
--------------------------------------------------------------------------------
1 | // Base Class Definition
2 | // -------------------------
3 |
4 | .@{fa-css-prefix} {
5 | display: inline-block;
6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
7 | font-size: inherit; // can't have font-size inherit on line above, so need to override
8 | text-rendering: auto; // optimizelegibility throws things off #1094
9 | -webkit-font-smoothing: antialiased;
10 | -moz-osx-font-smoothing: grayscale;
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/toggle.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Toggle Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-toggle' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 |
8 | control.container.on( 'change', 'input.onoffswitch-checkbox',
9 | function() {
10 | control.setting.set( jQuery( this ).prop( 'checked' ) );
11 | }
12 | );
13 | }
14 | } );
15 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/color-schemes.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Color Schemes Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-color-scheme' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this, section, instance;
7 |
8 | jQuery( this.container ).find( '.epsilon-color-scheme-input' ).on( 'change', function() {
9 | control.setting.set( jQuery( this ).val() );
10 | } );
11 | }
12 | } );
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/text-editor.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Text Editor Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-text-editor' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 |
8 | EpsilonFramework.textEditor.init( this.container );
9 |
10 | control.container.on( 'change keyup', 'textarea', function() {
11 | control.setting.set( jQuery( this ).val() );
12 | } );
13 | }
14 | } );
--------------------------------------------------------------------------------
/template-parts/social-menu.php:
--------------------------------------------------------------------------------
1 | 'social',
6 | 'container' => 'div',
7 | 'container_id' => 'menu-social',
8 | 'container_class' => 'menu',
9 | 'menu_id' => 'menu-social-items',
10 | 'menu_class' => 'menu-items nav nav_social',
11 | 'depth' => 1,
12 | 'link_before' => '',
13 | 'link_after' => '',
14 | 'fallback_cb' => '',
15 | )
16 | );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/assets/less/mixins/border-radius.less:
--------------------------------------------------------------------------------
1 | // Single side border-radius
2 |
3 | .border-top-radius(@radius) {
4 | border-top-right-radius: @radius;
5 | border-top-left-radius: @radius;
6 | }
7 | .border-right-radius(@radius) {
8 | border-bottom-right-radius: @radius;
9 | border-top-right-radius: @radius;
10 | }
11 | .border-bottom-radius(@radius) {
12 | border-bottom-right-radius: @radius;
13 | border-bottom-left-radius: @radius;
14 | }
15 | .border-left-radius(@radius) {
16 | border-bottom-left-radius: @radius;
17 | border-top-left-radius: @radius;
18 | }
19 |
--------------------------------------------------------------------------------
/assets/less/mixins/reset-text.less:
--------------------------------------------------------------------------------
1 | .reset-text() {
2 | font-family: @font-family-base;
3 | // We deliberately do NOT reset font-size.
4 | font-style: normal;
5 | font-weight: normal;
6 | letter-spacing: normal;
7 | line-break: auto;
8 | line-height: @line-height-base;
9 | text-align: left; // Fallback for where `start` is not supported
10 | text-align: start;
11 | text-decoration: none;
12 | text-shadow: none;
13 | text-transform: none;
14 | white-space: normal;
15 | word-break: normal;
16 | word-spacing: normal;
17 | word-wrap: normal;
18 | }
19 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/style-admin.css:
--------------------------------------------------------------------------------
1 | .epsilon-framework-notice.epsilon-big {
2 | background: #e9eff3;
3 | border: 10px solid #fff;
4 | color: #608299;
5 | padding: 30px 10px;
6 | text-align: center;
7 | box-shadow: none;
8 | }
9 | .epsilon-framework-notice.epsilon-big:after, .epsilon-framework-notice.epsilon-big:before {
10 | content: "";
11 | display: table;
12 | }
13 | .epsilon-framework-notice.epsilon-big:after {
14 | clear: both;
15 | }
16 | .epsilon-framework-notice.epsilon-big .epsilon-author-logo {
17 | max-width: 100px;
18 | }
19 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/layouts.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Layouts Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-layouts' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 | EpsilonFramework.layouts.init( this.container );
8 | /**
9 | * Save the layout
10 | */
11 | jQuery( this.container ).find( 'input' ).on( 'change', function() {
12 | control.setting.set( jQuery( this ).val() );
13 | } );
14 | }
15 | } );
16 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/range-sliders.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Range Slider Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-slider' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 |
8 | EpsilonFramework.rangeSliders.init( this.container );
9 |
10 | control.container.on( 'change', 'input.rl-slider',
11 | function() {
12 | control.setting.set( jQuery( this ).val() );
13 | }
14 | );
15 | }
16 | } );
17 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/stacked.less:
--------------------------------------------------------------------------------
1 | // Stacked Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-stack {
5 | position: relative;
6 | display: inline-block;
7 | width: 2em;
8 | height: 2em;
9 | line-height: 2em;
10 | vertical-align: middle;
11 | }
12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
13 | position: absolute;
14 | left: 0;
15 | width: 100%;
16 | text-align: center;
17 | }
18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; }
19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; }
20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; }
21 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/icon-picker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Icon Picker Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-icon-picker' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 |
8 | EpsilonFramework.iconPickers.init( control, false );
9 |
10 | control.container.on( 'change', 'input.epsilon-icon-picker',
11 | function() {
12 | control.setting.set( jQuery( this ).val() );
13 | }
14 | );
15 | }
16 | } );
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/color-picker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Color Picker Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-color-picker' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 |
8 | EpsilonFramework.colorPickers.init( this.container );
9 |
10 | control.container.on( 'change', 'input.epsilon-color-picker',
11 | function() {
12 | control.setting.set( jQuery( this ).val() );
13 | }
14 | );
15 | }
16 | } );
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/font-awesome.less:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */
5 |
6 | @import "variables.less";
7 | @import "mixins.less";
8 | @import "path.less";
9 | @import "core.less";
10 | @import "larger.less";
11 | @import "fixed-width.less";
12 | @import "list.less";
13 | @import "bordered-pulled.less";
14 | @import "animated.less";
15 | @import "rotated-flipped.less";
16 | @import "stacked.less";
17 | @import "icons.less";
18 | @import "screen-reader.less";
19 |
--------------------------------------------------------------------------------
/assets/less/mixins/pagination.less:
--------------------------------------------------------------------------------
1 | // Pagination
2 |
3 | .pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
4 | > li {
5 | > a,
6 | > span {
7 | padding: @padding-vertical @padding-horizontal;
8 | font-size: @font-size;
9 | line-height: @line-height;
10 | }
11 | &:first-child {
12 | > a,
13 | > span {
14 | .border-left-radius(@border-radius);
15 | }
16 | }
17 | &:last-child {
18 | > a,
19 | > span {
20 | .border-right-radius(@border-radius);
21 | }
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/assets/theme-less/_gallery.less:
--------------------------------------------------------------------------------
1 | /* Gallery Fullscreen */
2 | /*----------------------------------------------------------------------*/
3 | .page-template-template-gallery-fullscreen #main{
4 | position: initial;
5 | padding-top: 90vh;
6 | }
7 | .page-template-template-gallery-fullscreen .svg-square, .page-template-template-gallery-fullscreen .svg-triangle, .page-template-template-gallery-fullscreen .svg-circle{
8 | display: none;
9 | }
10 |
11 |
12 | /* Gallery Masonry */
13 | /*----------------------------------------------------------------------*/
14 | .gallery-masonry .portfolio-item{
15 | .transition(all 400ms);
16 | }
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/typography.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Typography Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-typography' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 |
8 | EpsilonFramework.typography.init( this );
9 | /**
10 | * Save the typography
11 | */
12 | jQuery( this.container ).find( '.customize-control-content > .epsilon-typography-input' ).on( 'change', function() {
13 | control.setting.set( jQuery( this ).val() );
14 | } );
15 | }
16 | } );
17 |
--------------------------------------------------------------------------------
/assets/less/mixins/panels.less:
--------------------------------------------------------------------------------
1 | // Panels
2 |
3 | .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
4 | border-color: @border;
5 |
6 | & > .panel-heading {
7 | color: @heading-text-color;
8 | background-color: @heading-bg-color;
9 | border-color: @heading-border;
10 |
11 | + .panel-collapse > .panel-body {
12 | border-top-color: @border;
13 | }
14 | .badge {
15 | color: @heading-bg-color;
16 | background-color: @heading-text-color;
17 | }
18 | }
19 | & > .panel-footer {
20 | + .panel-collapse > .panel-body {
21 | border-bottom-color: @border;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/upsell.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Epsilon Upsell Control Constructor
3 | */
4 | wp.customize.controlConstructor[ 'epsilon-upsell' ] = wp.customize.Control.extend( {
5 | ready: function() {
6 | var control = this;
7 | control.container.on( 'click', '.epsilon-upsell-label', function( e ) {
8 | e.preventDefault();
9 | jQuery( this ).toggleClass( 'opened' ).find('i').toggleClass('dashicons-arrow-down-alt2 dashicons-arrow-up-alt2');
10 | control.container.find( '.epsilon-upsell-container' ).slideToggle( 200 );
11 | } );
12 | }
13 | } );
--------------------------------------------------------------------------------
/assets/less/wells.less:
--------------------------------------------------------------------------------
1 | //
2 | // Wells
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | .well {
8 | min-height: 20px;
9 | padding: 19px;
10 | margin-bottom: 20px;
11 | background-color: @well-bg;
12 | border: 1px solid @well-border;
13 | border-radius: @border-radius-base;
14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
15 | blockquote {
16 | border-color: #ddd;
17 | border-color: rgba(0,0,0,.15);
18 | }
19 | }
20 |
21 | // Sizes
22 | .well-lg {
23 | padding: 24px;
24 | border-radius: @border-radius-large;
25 | }
26 | .well-sm {
27 | padding: 9px;
28 | border-radius: @border-radius-small;
29 | }
30 |
--------------------------------------------------------------------------------
/template-parts/section-services.php:
--------------------------------------------------------------------------------
1 |
6 |
19 | li {
14 | display: inline-block;
15 |
16 | + li:before {
17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
18 | padding: 0 5px;
19 | color: @breadcrumb-color;
20 | }
21 | }
22 |
23 | > .active {
24 | color: @breadcrumb-active-color;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/template-parts/section-team.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
18 |
19 |
20 |
21 |
22 |
2 | esc_attr__( 'Previous page', 'bonkers' ),
13 | 'next_text' => esc_attr__( 'Next page', 'bonkers' ),
14 | )
15 | );
16 |
17 | if ( $pagination ) {
18 | echo '';
21 | }
22 | $wp_query = $temp_query;
23 | wp_reset_postdata();
24 | endif;
25 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/controls/tooltip.scss:
--------------------------------------------------------------------------------
1 | .mte-tooltip {
2 | width: 150px;
3 | position: absolute;
4 | background: #55AAD3;
5 | color: #EEE;
6 | font-size: 12px;
7 | min-height: 50px;
8 | border-radius: 5px;
9 | left: -75px; /* half of its width */
10 | bottom: 25px;
11 | z-index: 9999;
12 | display: none;
13 | padding: 12px;
14 | line-height: 1.5;
15 | font-family: 'Arial', sans-serif;
16 | }
17 |
18 | .accordion-section-content > li:nth-of-type(2) .mte-tooltip {
19 | bottom: initial;
20 | top: 25px;
21 | }
22 |
23 | .dashicons.dashicons-editor-help {
24 | cursor: pointer;
25 | color: #55AAD3;
26 | }
27 |
28 | .dashicons.dashicons-editor-help:hover > .mte-tooltip {
29 | display: block;
30 | }
31 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/previewer/components/section-editor.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Tell customizer which section to "focus"
3 | *
4 | * @type {{}}
5 | */
6 | EpsilonPreviewer.sectionEditor = {
7 | /**
8 | * Initiate the click event
9 | */
10 | init: function() {
11 | jQuery( document ).on( 'click', '.epsilon-section-editor', function( e ) {
12 | e.preventDefault();
13 |
14 | var object = {
15 | section: jQuery( this ).parents( '[data-section]' ).attr( 'data-section' ),
16 | customizerSection: jQuery( this ).parents( '[data-section]' ).attr( 'data-customizer-section-id' )
17 | };
18 |
19 | wp.customize.preview.send( 'epsilon-section-edit', object );
20 | } );
21 | }
22 | };
--------------------------------------------------------------------------------
/template-parts/section-clients.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
18 |
19 |
20 |
21 |
22 | thead > tr,
7 | .table > tbody > tr,
8 | .table > tfoot > tr {
9 | > td.@{state},
10 | > th.@{state},
11 | &.@{state} > td,
12 | &.@{state} > th {
13 | background-color: @background;
14 | }
15 | }
16 |
17 | // Hover states for `.table-hover`
18 | // Note: this is not available for cells or rows within `thead` or `tfoot`.
19 | .table-hover > tbody > tr {
20 | > td.@{state}:hover,
21 | > th.@{state}:hover,
22 | &.@{state}:hover > td,
23 | &:hover > .@{state},
24 | &.@{state}:hover > th {
25 | background-color: darken(@background, 5%);
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/path.less:
--------------------------------------------------------------------------------
1 | /* FONT PATH
2 | * -------------------------- */
3 |
4 | @font-face {
5 | font-family: 'FontAwesome';
6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
13 | font-weight: normal;
14 | font-style: normal;
15 | }
16 |
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/animated.less:
--------------------------------------------------------------------------------
1 | // Animated Icons
2 | // --------------------------
3 |
4 | .@{fa-css-prefix}-spin {
5 | -webkit-animation: fa-spin 2s infinite linear;
6 | animation: fa-spin 2s infinite linear;
7 | }
8 |
9 | .@{fa-css-prefix}-pulse {
10 | -webkit-animation: fa-spin 1s infinite steps(8);
11 | animation: fa-spin 1s infinite steps(8);
12 | }
13 |
14 | @-webkit-keyframes fa-spin {
15 | 0% {
16 | -webkit-transform: rotate(0deg);
17 | transform: rotate(0deg);
18 | }
19 | 100% {
20 | -webkit-transform: rotate(359deg);
21 | transform: rotate(359deg);
22 | }
23 | }
24 |
25 | @keyframes fa-spin {
26 | 0% {
27 | -webkit-transform: rotate(0deg);
28 | transform: rotate(0deg);
29 | }
30 | 100% {
31 | -webkit-transform: rotate(359deg);
32 | transform: rotate(359deg);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/controls/image.scss:
--------------------------------------------------------------------------------
1 | .epsilon-controller-image-container {
2 |
3 | .placeholder {
4 | width: 100%;
5 | position: relative;
6 | text-align: center;
7 | cursor: default;
8 | border: 1px dashed #b4b9be;
9 | -webkit-box-sizing: border-box;
10 | -moz-box-sizing: border-box;
11 | box-sizing: border-box;
12 | padding: 9px 0;
13 | line-height: 20px;
14 | .recommended-size {
15 | display: block;
16 | font-style: italic;
17 | }
18 | }
19 | .epsilon-image {
20 |
21 | border: 1px dashed #EEE;
22 | padding: 5px 5px 0 5px;
23 |
24 | img {
25 | width: 100%;
26 | }
27 | }
28 | .actions {
29 | display: block;
30 | text-align: center;
31 | .image-upload-button,
32 | .image-default-button {
33 | margin-top: 12px;
34 | }
35 |
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/template-parts/content-page.php:
--------------------------------------------------------------------------------
1 |
11 |
12 | >
13 |
17 |
20 |
21 |
22 |
23 |
24 | '
' . esc_html__( 'Pages:', 'bonkers' ),
27 | 'after' => '
',
28 | ) );
29 | ?>
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/assets/less/close.less:
--------------------------------------------------------------------------------
1 | //
2 | // Close icons
3 | // --------------------------------------------------
4 |
5 |
6 | .close {
7 | float: right;
8 | font-size: (@font-size-base * 1.5);
9 | font-weight: @close-font-weight;
10 | line-height: 1;
11 | color: @close-color;
12 | text-shadow: @close-text-shadow;
13 | .opacity(.2);
14 |
15 | &:hover,
16 | &:focus {
17 | color: @close-color;
18 | text-decoration: none;
19 | cursor: pointer;
20 | .opacity(.5);
21 | }
22 |
23 | // Additional properties for button version
24 | // iOS requires the button element instead of an anchor tag.
25 | // If you want the anchor version, it requires `href="#"`.
26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27 | button& {
28 | padding: 0;
29 | cursor: pointer;
30 | background: transparent;
31 | border: 0;
32 | -webkit-appearance: none;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/single.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
23 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/assets/less/thumbnails.less:
--------------------------------------------------------------------------------
1 | //
2 | // Thumbnails
3 | // --------------------------------------------------
4 |
5 |
6 | // Mixin and adjust the regular image class
7 | .thumbnail {
8 | display: block;
9 | padding: @thumbnail-padding;
10 | margin-bottom: @line-height-computed;
11 | line-height: @line-height-base;
12 | background-color: @thumbnail-bg;
13 | border: 1px solid @thumbnail-border;
14 | border-radius: @thumbnail-border-radius;
15 | .transition(border .2s ease-in-out);
16 |
17 | > img,
18 | a > img {
19 | &:extend(.img-responsive);
20 | margin-left: auto;
21 | margin-right: auto;
22 | }
23 |
24 | // Add a hover state for linked versions only
25 | a&:hover,
26 | a&:focus,
27 | a&.active {
28 | border-color: @link-color;
29 | }
30 |
31 | // Image captions
32 | .caption {
33 | padding: @thumbnail-caption-padding;
34 | color: @thumbnail-caption-color;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/customizer-navigation/customizer-navigation.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Customizer navigation
3 | * @type {{}}
4 | */
5 | EpsilonFramework.customizerNavigation = {
6 | /**
7 | * Initiate customizer navigation
8 | *
9 | * @param selector
10 | */
11 | init: function( selector ) {
12 | selector.find( '.epsilon-customizer-navigation' ).on( 'click', function( e ) {
13 | e.preventDefault();
14 | if ( 'undefined' !== typeof( wp.customize.section( jQuery( this ).attr( 'data-customizer-section' ) ) ) ) {
15 | if ( jQuery( this ).attr( 'data-doubled' ) ) {
16 | wp.customize.section( jQuery( this ).attr( 'data-customizer-section' ) ).headContainer.trigger( 'click' );
17 | } else {
18 | wp.customize.section( jQuery( this ).attr( 'data-customizer-section' ) ).trigger('focus');
19 | }
20 |
21 | }
22 | } );
23 | }
24 | };
--------------------------------------------------------------------------------
/assets/less/utilities.less:
--------------------------------------------------------------------------------
1 | //
2 | // Utility classes
3 | // --------------------------------------------------
4 |
5 |
6 | // Floats
7 | // -------------------------
8 |
9 | .clearfix {
10 | .clearfix();
11 | }
12 | .center-block {
13 | .center-block();
14 | }
15 | .pull-right {
16 | float: right !important;
17 | }
18 | .pull-left {
19 | float: left !important;
20 | }
21 |
22 |
23 | // Toggling content
24 | // -------------------------
25 |
26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
27 | .hide {
28 | display: none !important;
29 | }
30 | .show {
31 | display: block !important;
32 | }
33 | .invisible {
34 | visibility: hidden;
35 | }
36 | .text-hide {
37 | .text-hide();
38 | }
39 |
40 |
41 | // Hide from screenreaders and browsers
42 | //
43 | // Credit: HTML5 Boilerplate
44 |
45 | .hidden {
46 | display: none !important;
47 | }
48 |
49 |
50 | // For Affix plugin
51 | // -------------------------
52 |
53 | .affix {
54 | position: fixed;
55 | }
56 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/sections/pro-section.scss:
--------------------------------------------------------------------------------
1 | #customize-controls .control-section-epsilon-section-pro .accordion-section-title:hover,
2 | #customize-controls .control-section-epsilon-section-pro .accordion-section-title:focus {
3 | background-color: #fff;
4 | }
5 |
6 | .control-section-epsilon-section-pro .accordion-section-title .button {
7 | margin-top: -4px;
8 | font-weight: 400;
9 | margin-left: 8px;
10 | }
11 |
12 | .rtl .control-section-epsilon-section-pro .accordion-section-title .button {
13 | margin-left: 0;
14 | margin-right: 8px;
15 | }
16 |
17 | .epsilon-full-section-button {
18 | width: 100%;
19 | z-index: 1;
20 | position: absolute;
21 | top: 0;
22 | left: 0;
23 | right: 0;
24 | bottom: 0;
25 | }
26 |
27 | #customize-theme-controls .accordion-section-title.epsilon-pro-section-title {
28 | background: #008ec2;
29 | color: #FFF;
30 | }
31 |
32 | #customize-theme-controls .accordion-section-title.epsilon-pro-section-title:hover {
33 | background: #DF4D21;
34 | color: #FFF;
35 | }
--------------------------------------------------------------------------------
/template-parts/section-video.php:
--------------------------------------------------------------------------------
1 |
5 | >
6 |
7 |
8 |
9 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
16 |
17 |
18 |
19 |
23 |
24 |
25 |
26 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/controls/color-picker.scss:
--------------------------------------------------------------------------------
1 | .epsilon-color-picker-title {
2 | margin-left: 50px;
3 | .epsilon-color-picker-description {
4 | font-family: 'Open Sans';
5 | font-size: 13px;
6 | line-height: 16px;
7 | font-weight: initial;
8 | color: #959696;
9 | display: block;
10 | }
11 |
12 | .epsilon-color-picker-default {
13 | font-style: italic;
14 | font-weight: 300;
15 | color: #959696;
16 | cursor: pointer;
17 | &:hover,
18 | &:focus {
19 | color: #55AAD3;
20 | }
21 | }
22 | }
23 |
24 | .minicolors-theme-default {
25 | .epsilon-color-picker {
26 | display: none;
27 | }
28 | .minicolors-input-swatch {
29 | width: 31px;
30 | height: 21px;
31 | -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .15);
32 | -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .15);
33 | box-shadow: 0 0 5px rgba(0, 0, 0, .15);
34 | cursor: pointer;
35 | }
36 | }
37 |
38 | .lite {
39 | opacity:0;
40 | visibility:hidden;
41 | }
42 |
43 | .minicolors-position-left .minicolors-panel {
44 | left: 50px;
45 | }
--------------------------------------------------------------------------------
/assets/less/pager.less:
--------------------------------------------------------------------------------
1 | //
2 | // Pager pagination
3 | // --------------------------------------------------
4 |
5 |
6 | .pager {
7 | padding-left: 0;
8 | margin: @line-height-computed 0;
9 | list-style: none;
10 | text-align: center;
11 | &:extend(.clearfix all);
12 | li {
13 | display: inline;
14 | > a,
15 | > span {
16 | display: inline-block;
17 | padding: 5px 14px;
18 | background-color: @pager-bg;
19 | border: 1px solid @pager-border;
20 | border-radius: @pager-border-radius;
21 | }
22 |
23 | > a:hover,
24 | > a:focus {
25 | text-decoration: none;
26 | background-color: @pager-hover-bg;
27 | }
28 | }
29 |
30 | .next {
31 | > a,
32 | > span {
33 | float: right;
34 | }
35 | }
36 |
37 | .previous {
38 | > a,
39 | > span {
40 | float: left;
41 | }
42 | }
43 |
44 | .disabled {
45 | > a,
46 | > a:hover,
47 | > a:focus,
48 | > span {
49 | color: @pager-disabled-color;
50 | background-color: @pager-bg;
51 | cursor: @cursor-disabled;
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/page-templates/template-front-page.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 | $value ) {
30 | $value = str_replace( 'bonkers_addons_', '', $value );
31 | $value = str_replace( '_section', '', $value );
32 | $value = str_replace( '_', '-', $value );
33 | get_template_part( 'template-parts/section-' . $value, 'front-page' );
34 | }
35 | ?>
36 |
37 |
38 |
16 |
20 |
8 | *
9 | *
11 | *
12 | *
13 | *
14 | * @link http://codex.wordpress.org/Custom_Headers
15 | *
16 | * @package Bonkers
17 | */
18 |
19 | /**
20 | * Set up the WordPress core custom header feature.
21 | *
22 | * @uses bonkers_header_style()
23 | */
24 | function bonkers_custom_header_setup() {
25 | add_theme_support( 'custom-header', apply_filters( 'bonkers_custom_header_args', array(
26 | 'default-image' => '',
27 | 'width' => 1425,
28 | 'height' => 152,
29 | 'flex-height' => true,
30 | 'flex-width' => true,
31 | 'header-text' => false,
32 | ) ) );
33 | }
34 |
35 | add_action( 'after_setup_theme', 'bonkers_custom_header_setup' );
36 |
--------------------------------------------------------------------------------
/assets/less/media.less:
--------------------------------------------------------------------------------
1 | .media {
2 | // Proper spacing between instances of .media
3 | margin-top: 15px;
4 |
5 | &:first-child {
6 | margin-top: 0;
7 | }
8 | }
9 |
10 | .media,
11 | .media-body {
12 | zoom: 1;
13 | overflow: hidden;
14 | }
15 |
16 | .media-body {
17 | width: 10000px;
18 | }
19 |
20 | .media-object {
21 | display: block;
22 |
23 | // Fix collapse in webkit from max-width: 100% and display: table-cell.
24 | &.img-thumbnail {
25 | max-width: none;
26 | }
27 | }
28 |
29 | .media-right,
30 | .media > .pull-right {
31 | padding-left: 10px;
32 | }
33 |
34 | .media-left,
35 | .media > .pull-left {
36 | padding-right: 10px;
37 | }
38 |
39 | .media-left,
40 | .media-right,
41 | .media-body {
42 | display: table-cell;
43 | vertical-align: top;
44 | }
45 |
46 | .media-middle {
47 | vertical-align: middle;
48 | }
49 |
50 | .media-bottom {
51 | vertical-align: bottom;
52 | }
53 |
54 | // Reset margins on headings for tighter default spacing
55 | .media-heading {
56 | margin-top: 0;
57 | margin-bottom: 5px;
58 | }
59 |
60 | // Media list variation
61 | //
62 | // Undo default ul/ol styles
63 | .media-list {
64 | padding-left: 0;
65 | list-style: none;
66 | }
67 |
--------------------------------------------------------------------------------
/assets/less/mixins/image.less:
--------------------------------------------------------------------------------
1 | // Image Mixins
2 | // - Responsive image
3 | // - Retina image
4 |
5 |
6 | // Responsive image
7 | //
8 | // Keep images from scaling beyond the width of their parents.
9 | .img-responsive(@display: block) {
10 | display: @display;
11 | max-width: 100%; // Part 1: Set a maximum relative to the parent
12 | height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
13 | }
14 |
15 |
16 | // Retina image
17 | //
18 | // Short retina mixin for setting background-image and -size. Note that the
19 | // spelling of `min--moz-device-pixel-ratio` is intentional.
20 | .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
21 | background-image: url("@{file-1x}");
22 |
23 | @media
24 | only screen and (-webkit-min-device-pixel-ratio: 2),
25 | only screen and ( min--moz-device-pixel-ratio: 2),
26 | only screen and ( -o-min-device-pixel-ratio: 2/1),
27 | only screen and ( min-device-pixel-ratio: 2),
28 | only screen and ( min-resolution: 192dpi),
29 | only screen and ( min-resolution: 2dppx) {
30 | background-image: url("@{file-2x}");
31 | background-size: @width-1x @height-1x;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/class-epsilon-autoloader.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
', '' ); ?>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/assets/less/mixins.less:
--------------------------------------------------------------------------------
1 | // Mixins
2 | // --------------------------------------------------
3 |
4 | // Utilities
5 | @import "mixins/hide-text.less";
6 | @import "mixins/opacity.less";
7 | @import "mixins/image.less";
8 | @import "mixins/labels.less";
9 | @import "mixins/reset-filter.less";
10 | @import "mixins/resize.less";
11 | @import "mixins/responsive-visibility.less";
12 | @import "mixins/size.less";
13 | @import "mixins/tab-focus.less";
14 | @import "mixins/reset-text.less";
15 | @import "mixins/text-emphasis.less";
16 | @import "mixins/text-overflow.less";
17 | @import "mixins/vendor-prefixes.less";
18 |
19 | // Components
20 | @import "mixins/alerts.less";
21 | @import "mixins/buttons.less";
22 | @import "mixins/panels.less";
23 | @import "mixins/pagination.less";
24 | @import "mixins/list-group.less";
25 | @import "mixins/nav-divider.less";
26 | @import "mixins/forms.less";
27 | @import "mixins/progress-bar.less";
28 | @import "mixins/table-row.less";
29 |
30 | // Skins
31 | @import "mixins/background-variant.less";
32 | @import "mixins/border-radius.less";
33 | @import "mixins/gradients.less";
34 |
35 | // Layout
36 | @import "mixins/clearfix.less";
37 | @import "mixins/center-block.less";
38 | @import "mixins/nav-vertical-align.less";
39 | @import "mixins/grid-framework.less";
40 | @import "mixins/grid.less";
41 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/admin/components/notices.js:
--------------------------------------------------------------------------------
1 | EpsilonAdmin.notices = {
2 | init: function() {
3 | var notices = jQuery( '.epsilon-framework-notice' ),
4 | id, args;
5 | jQuery.each( notices, function() {
6 | jQuery( this ).on( 'click', '.notice-dismiss', function() {
7 | id = jQuery( this ).parent().attr( 'data-unique-id' );
8 | args = {
9 | action: [ 'Epsilon_Notifications', 'dismiss_notice' ],
10 | nonce: EpsilonWPUrls.ajax_nonce,
11 | args: {
12 | notice_id: jQuery( this ).parent().attr( 'data-unique-id' ),
13 | user_id: userSettings.uid,
14 | }
15 | },
16 | EpsilonAdmin.notices.request( args );
17 | } );
18 | } );
19 | },
20 |
21 | request: function( args ) {
22 | jQuery.ajax( {
23 | type: 'POST',
24 | data: { action: 'epsilon_framework_ajax_action', args: args },
25 | dataType: 'json',
26 | url: ajaxurl,
27 | /**
28 | * Throw errors
29 | *
30 | * @param jqXHR
31 | * @param textStatus
32 | * @param errorThrown
33 | */
34 | error: function( jqXHR, textStatus, errorThrown ) {
35 | console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown );
36 | }
37 |
38 | } );
39 | }
40 | };
41 |
--------------------------------------------------------------------------------
/assets/less/labels.less:
--------------------------------------------------------------------------------
1 | //
2 | // Labels
3 | // --------------------------------------------------
4 |
5 | .label {
6 | display: inline;
7 | padding: .2em .6em .3em;
8 | font-size: 75%;
9 | font-weight: bold;
10 | line-height: 1;
11 | color: @label-color;
12 | text-align: center;
13 | white-space: nowrap;
14 | vertical-align: baseline;
15 | border-radius: .25em;
16 |
17 | // Add hover effects, but only for links
18 | a& {
19 | &:hover,
20 | &:focus {
21 | color: @label-link-hover-color;
22 | text-decoration: none;
23 | cursor: pointer;
24 | }
25 | }
26 |
27 | // Empty labels collapse automatically (not available in IE8)
28 | &:empty {
29 | display: none;
30 | }
31 |
32 | // Quick fix for labels in buttons
33 | .btn & {
34 | position: relative;
35 | top: -1px;
36 | }
37 | }
38 |
39 | // Colors
40 | // Contextual variations (linked labels get darker on :hover)
41 |
42 | .label-default {
43 | .label-variant(@label-default-bg);
44 | }
45 |
46 | .label-primary {
47 | .label-variant(@label-primary-bg);
48 | }
49 |
50 | .label-success {
51 | .label-variant(@label-success-bg);
52 | }
53 |
54 | .label-info {
55 | .label-variant(@label-info-bg);
56 | }
57 |
58 | .label-warning {
59 | .label-variant(@label-warning-bg);
60 | }
61 |
62 | .label-danger {
63 | .label-variant(@label-danger-bg);
64 | }
65 |
--------------------------------------------------------------------------------
/template-parts/content-single.php:
--------------------------------------------------------------------------------
1 |
11 |
12 | >
13 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
34 |
35 |
36 |
37 | '
' . esc_html__( 'Pages:', 'bonkers' ),
42 | 'after' => '
',
43 | )
44 | );
45 | ?>
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/repeater/repeater-row.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Row object
3 | */
4 | EpsilonFramework.repeater.row = {
5 | /**
6 | * Trigger a new row
7 | *
8 | * @param rowIndex
9 | * @param container
10 | * @param label
11 | * @param control
12 | */
13 | constructor: function( rowIndex, container, label, control ) {
14 | var self = this;
15 | this.rowIndex = rowIndex;
16 | this.container = container;
17 | this.label = label;
18 | this.header = this.container.find( '.repeater-row-header' );
19 |
20 | /**
21 | * Events
22 | */
23 | this.header.on( 'click', function() {
24 | EpsilonFramework.repeater.base.toggleMinimize( self );
25 | } );
26 |
27 | this.container.on( 'click', '.repeater-row-minimize', function() {
28 | EpsilonFramework.repeater.base.toggleMinimize( self );
29 | } );
30 |
31 | this.container.on( 'click', '.repeater-row-remove', function() {
32 | EpsilonFramework.repeater.base.removeRow( self );
33 | } );
34 |
35 | this.container.on( 'keyup change', 'input, select, textarea', function( e ) {
36 | self.container.trigger( 'row:update', [ self.rowIndex, jQuery( e.target ).data( 'field' ), e.target, control ] );
37 | } );
38 |
39 | EpsilonFramework.repeater.base.updateLabel( self, control );
40 | }
41 | };
42 |
--------------------------------------------------------------------------------
/search.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
21 |
25 |
26 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/assets/less/jumbotron.less:
--------------------------------------------------------------------------------
1 | //
2 | // Jumbotron
3 | // --------------------------------------------------
4 |
5 |
6 | .jumbotron {
7 | padding-top: @jumbotron-padding;
8 | padding-bottom: @jumbotron-padding;
9 | margin-bottom: @jumbotron-padding;
10 | color: @jumbotron-color;
11 | background-color: @jumbotron-bg;
12 |
13 | h1,
14 | .h1 {
15 | color: @jumbotron-heading-color;
16 | }
17 |
18 | p {
19 | margin-bottom: (@jumbotron-padding / 2);
20 | font-size: @jumbotron-font-size;
21 | font-weight: 200;
22 | }
23 |
24 | > hr {
25 | border-top-color: darken(@jumbotron-bg, 10%);
26 | }
27 |
28 | .container &,
29 | .container-fluid & {
30 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
31 | padding-left: (@grid-gutter-width / 2);
32 | padding-right: (@grid-gutter-width / 2);
33 | }
34 |
35 | .container {
36 | max-width: 100%;
37 | }
38 |
39 | @media screen and (min-width: @screen-sm-min) {
40 | padding-top: (@jumbotron-padding * 1.6);
41 | padding-bottom: (@jumbotron-padding * 1.6);
42 |
43 | .container &,
44 | .container-fluid & {
45 | padding-left: (@jumbotron-padding * 2);
46 | padding-right: (@jumbotron-padding * 2);
47 | }
48 |
49 | h1,
50 | .h1 {
51 | font-size: @jumbotron-heading-font-size;
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/previewer/components/color-schemes.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Realtime changes in the preview window for the color schemes
3 | *
4 | * @type {{}}
5 | */
6 | EpsilonPreviewer.colorSchemes = {
7 | /**
8 | * Initiate function, listens to update-inline-color-schemes-css
9 | */
10 | init: function() {
11 | var self = this;
12 | wp.customize.preview.bind( 'update-inline-color-schemes-css', function( object ) {
13 | var data = {
14 | 'action': object.action,
15 | 'class': object.class,
16 | 'args': object.data,
17 | 'id': object.id
18 | };
19 |
20 | self.request( data );
21 | } );
22 | },
23 |
24 | /**
25 | * AJAX Request
26 | *
27 | * @param data
28 | */
29 | request: function( data ) {
30 | jQuery.ajax( {
31 | dataType: 'json',
32 | type: 'POST',
33 | url: EpsilonWPUrls.ajaxurl,
34 | data: data,
35 | complete: function( json ) {
36 | var sufix = data.action + data.id,
37 | style = jQuery( '#epsilon-stylesheet-' + sufix );
38 |
39 | if ( ! style.length ) {
40 | style = jQuery( 'body' ).
41 | append( '' ).
42 | find( '#epsilon-stylesheet-' + sufix );
43 | }
44 |
45 | style.html( json.responseText );
46 | }
47 | } );
48 | }
49 | };
--------------------------------------------------------------------------------
/template-parts/section-phone.php:
--------------------------------------------------------------------------------
1 |
5 | >
6 |
7 | ';
11 |
12 | dynamic_sidebar( 'phone-section-left' );
13 |
14 | echo '
';
15 | }
16 |
17 | $bonkers_phone_image = get_option( 'bonkers_addons_phone_image' );
18 | if ( is_numeric( $bonkers_phone_image ) ) {
19 | $bonkers_phone_image = wp_get_attachment_url( $bonkers_phone_image );
20 | }
21 | ?>
22 |
23 |
24 |
>
25 |
 ); ?>/assets/images/phone_bck.png)
26 |
27 |
28 | ';
32 |
33 | dynamic_sidebar( 'phone-section-right' );
34 |
35 | echo '';
36 |
37 | }
38 | ?>
39 |
40 |
41 |
7 |
32 | .btn & {
34 | top: 0;
35 | padding: 1px 5px;
36 | }
37 |
38 | // Hover state, but only for links
39 | a& {
40 | &:hover,
41 | &:focus {
42 | color: @badge-link-hover-color;
43 | text-decoration: none;
44 | cursor: pointer;
45 | }
46 | }
47 |
48 | // Account for badges in navs
49 | .list-group-item.active > &,
50 | .nav-pills > .active > a > & {
51 | color: @badge-active-color;
52 | background-color: @badge-active-bg;
53 | }
54 |
55 | .list-group-item > & {
56 | float: right;
57 | }
58 |
59 | .list-group-item > & + & {
60 | margin-right: 5px;
61 | }
62 |
63 | .nav-pills > li > a > & {
64 | margin-left: 3px;
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/section-repeater/section-repeater-section.js:
--------------------------------------------------------------------------------
1 | EpsilonFramework.sectionRepeater.section = {
2 | /**
3 | * Basic section constructor
4 | *
5 | * @param sectionIndex
6 | * @param container
7 | * @param label
8 | * @param control
9 | */
10 | constructor: function( sectionIndex, container, type, label, control ) {
11 | var self = this;
12 | this.sectionIndex = sectionIndex;
13 | this.container = container;
14 | this.label = label;
15 | this.type = type;
16 | this.header = this.container.find( '.repeater-row-header' );
17 |
18 | /**
19 | * Events
20 | */
21 | this.header.on( 'click', function() {
22 | EpsilonFramework.sectionRepeater.base.toggleMinimize( self );
23 | } );
24 |
25 | this.container.on( 'click', '.repeater-row-minimize', function() {
26 | EpsilonFramework.sectionRepeater.base.toggleMinimize( self );
27 | } );
28 |
29 | this.container.on( 'keyup change', 'input, select, textarea', function( e ) {
30 | self.container.trigger( 'section:update', [ self.sectionIndex, self.type, jQuery( e.target ).data( 'field' ), e.target, control ] );
31 | } );
32 |
33 | /**
34 | * Remove event
35 | */
36 | this.container.on( 'click', '.repeater-row-remove', function() {
37 | EpsilonFramework.sectionRepeater.base.removeSection( self );
38 | } );
39 |
40 | EpsilonFramework.sectionRepeater.base.updateLabel( self, control );
41 | },
42 | };
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/js/epsilon-admin.js:
--------------------------------------------------------------------------------
1 | /*
2 | EpsilonAdminObject
3 | */
4 |
5 | var EpsilonAdmin = 'undefined' === typeof( EpsilonAdmin ) ? {} : EpsilonAdmin;
6 |
7 | EpsilonAdmin.notices = {
8 | init: function() {
9 | var notices = jQuery( '.epsilon-framework-notice' ),
10 | id, args;
11 | jQuery.each( notices, function() {
12 | jQuery( this ).on( 'click', '.notice-dismiss', function() {
13 | id = jQuery( this ).parent().attr( 'data-unique-id' );
14 | args = {
15 | action: [ 'Epsilon_Notifications', 'dismiss_notice' ],
16 | nonce: EpsilonWPUrls.ajax_nonce,
17 | args: {
18 | notice_id: jQuery( this ).parent().attr( 'data-unique-id' ),
19 | user_id: userSettings.uid,
20 | }
21 | },
22 | EpsilonAdmin.notices.request( args );
23 | } );
24 | } );
25 | },
26 |
27 | request: function( args ) {
28 | jQuery.ajax( {
29 | type: 'POST',
30 | data: { action: 'epsilon_framework_ajax_action', args: args },
31 | dataType: 'json',
32 | url: ajaxurl,
33 | /**
34 | * Throw errors
35 | *
36 | * @param jqXHR
37 | * @param textStatus
38 | * @param errorThrown
39 | */
40 | error: function( jqXHR, textStatus, errorThrown ) {
41 | console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown );
42 | }
43 |
44 | } );
45 | }
46 | };
47 |
48 | jQuery( document ).ready( function( $ ) {
49 | EpsilonAdmin.notices.init();
50 | } );
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/sections/support.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/template-parts/content-search.php:
--------------------------------------------------------------------------------
1 |
11 |
12 | >
13 |
14 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
28 |
34 |
35 |
36 |
37 |
40 |
41 | '
' . esc_html__( 'Pages:', 'bonkers' ),
44 | 'after' => '
',
45 | ) );
46 | ?>
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/template-parts/section-welcome.php:
--------------------------------------------------------------------------------
1 |
18 |
19 | >
20 |
21 |
22 |
Starts With An Idea', 'bonkers' ) ) ) ); ?>
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | ' : null;
38 | if ( ! style.length ) {
39 | style = jQuery( 'body' ).append( '' ).find( '#' + object.args.stylesheet + '-inline-css' );
40 | }
41 | jQuery( 'head' ).append( fontImport );
42 | style.html( json.responseText );
43 | }
44 | } );
45 | }
46 | };
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/customizer/panels/class-epsilon-panel-regular.php:
--------------------------------------------------------------------------------
1 | register_panel_type( 'Epsilon_Panel_Regular' );
39 | }
40 |
41 | /**
42 | * @return array
43 | */
44 | public function json() {
45 | $array = wp_array_slice_assoc(
46 | (array) $this,
47 | array(
48 | 'id',
49 | 'description',
50 | 'priority',
51 | 'type',
52 | 'panel',
53 | )
54 | );
55 |
56 | $array['title'] = html_entity_decode( $this->title, ENT_QUOTES, get_bloginfo( 'charset' ) );
57 | $array['content'] = $this->get_content();
58 | $array['active'] = $this->active();
59 | $array['instanceNumber'] = $this->instance_number;
60 | $array['hidden'] = $this->hidden;
61 |
62 | return $array;
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
28 |
29 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/assets/less/bootstrap.less:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap v3.3.7 (http://getbootstrap.com)
3 | * Copyright 2011-2016 Twitter, Inc.
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5 | */
6 |
7 | // Core variables and mixins
8 | @import "variables.less";
9 | @import "mixins.less";
10 |
11 | // Reset and dependencies
12 | @import "normalize.less";
13 | @import "print.less";
14 | //@import "glyphicons.less";
15 |
16 | // Core CSS
17 | @import "scaffolding.less";
18 | @import "type.less";
19 | @import "code.less";
20 | @import "grid.less";
21 | @import "tables.less";
22 | @import "forms.less";
23 | @import "buttons.less";
24 |
25 | // Components
26 | @import "component-animations.less";
27 | @import "dropdowns.less";
28 | @import "button-groups.less";
29 | @import "input-groups.less";
30 | @import "navs.less";
31 | @import "navbar.less";
32 | @import "breadcrumbs.less";
33 | @import "pagination.less";
34 | @import "pager.less";
35 | @import "labels.less";
36 | @import "badges.less";
37 | @import "jumbotron.less";
38 | @import "thumbnails.less";
39 | @import "alerts.less";
40 | @import "progress-bars.less";
41 | @import "media.less";
42 | @import "list-group.less";
43 | @import "panels.less";
44 | @import "responsive-embed.less";
45 | @import "wells.less";
46 | @import "close.less";
47 |
48 | // Custom Icon Fonts
49 | @import "font-awesome/less/font-awesome.less";
50 | @import "font-bonkers/font-bonkers.less";
51 |
52 | // Components w/ JavaScript
53 | @import "modals.less";
54 | @import "tooltip.less";
55 | @import "popovers.less";
56 | @import "carousel.less";
57 |
58 | // Utility classes
59 | @import "utilities.less";
60 | @import "responsive-utilities.less";
61 |
--------------------------------------------------------------------------------
/inc/jetpack.php:
--------------------------------------------------------------------------------
1 | 'sub-content',
18 | 'render' => 'bonkers_infinite_scroll_render',
19 | 'footer' => false,
20 | ) );
21 |
22 | if ( class_exists( 'Jetpack' ) ) {
23 | //Enable Custom CSS
24 | Jetpack::activate_module( 'custom-css', false, false );
25 | //Enable Contact Form
26 | Jetpack::activate_module( 'contact-form', false, false );
27 | //Enable Tiled Galleries
28 | Jetpack::activate_module( 'tiled-gallery', false, false );
29 | }
30 |
31 | } // end function bonkers_jetpack_setup
32 | add_action( 'after_setup_theme', 'bonkers_jetpack_setup' );
33 |
34 | /**
35 | * Custom render function for Infinite Scroll.
36 | */
37 | function bonkers_infinite_scroll_render() {
38 | while ( have_posts() ) {
39 | the_post();
40 | get_template_part( 'template-parts/content', get_post_format() );
41 | }
42 | } // end function bonkers_infinite_scroll_render
43 |
44 |
45 |
46 | /**
47 | * Remove sharing from content
48 | */
49 | function bonkers_remove_share() {
50 | //remove_filter( 'the_content', 'sharing_display', 19 );
51 | //remove_filter( 'the_excerpt', 'sharing_display', 19 );
52 | if ( class_exists( 'Jetpack_Likes' ) ) {
53 | //remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
54 | }
55 | }
56 |
57 | add_action( 'loop_start', 'bonkers_remove_share' );
58 |
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/data/demo.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | "fontpage" : {
4 |
5 | "title" : "Front Page Settings",
6 | "options" : {
7 | "setstaticfrontpage" : {
8 | "title" : "Set Front Page as static page",
9 | "action" : "set_frontpage"
10 | }
11 | }
12 |
13 | },
14 |
15 | "sections" : {
16 | "title" : "Populate Sections with content",
17 | "options" : {
18 | "welcome" : {
19 | "title" : "Welcome Section",
20 | "action" : "populate_welcome_section"
21 | },
22 | "services" : {
23 | "title" : "Services Section",
24 | "action" : "populate_services_section"
25 | },
26 | "image" : {
27 | "title" : "Image Section",
28 | "action" : "populate_image_section"
29 | },
30 | "phone" : {
31 | "title" : "Phone Section",
32 | "action" : "populate_phone_section"
33 | },
34 | "cta" : {
35 | "title" : "Call to Action Section",
36 | "action" : "populate_cta_section"
37 | },
38 | "video" : {
39 | "title" : "Video Section",
40 | "action" : "populate_video_section"
41 | },
42 | "team" : {
43 | "title" : "Team Section",
44 | "action" : "populate_team_section"
45 | },
46 | "subscribe" : {
47 | "title" : "Subscribe Section",
48 | "action" : "populate_subscribe_section"
49 | },
50 | "clients" : {
51 | "title" : "Clients Section",
52 | "action" : "populate_clients_section"
53 | },
54 | "contact" : {
55 | "title" : "Contact Section",
56 | "action" : "populate_contact_section"
57 | }
58 | }
59 | }
60 |
61 | }
62 |
--------------------------------------------------------------------------------
/assets/less/code.less:
--------------------------------------------------------------------------------
1 | //
2 | // Code (inline and block)
3 | // --------------------------------------------------
4 |
5 |
6 | // Inline and block code styles
7 | code,
8 | kbd,
9 | pre,
10 | samp {
11 | font-family: @font-family-monospace;
12 | }
13 |
14 | // Inline code
15 | code {
16 | padding: 2px 4px;
17 | font-size: 90%;
18 | color: @code-color;
19 | background-color: @code-bg;
20 | border-radius: @border-radius-base;
21 | }
22 |
23 | // User input typically entered via keyboard
24 | kbd {
25 | padding: 2px 4px;
26 | font-size: 90%;
27 | color: @kbd-color;
28 | background-color: @kbd-bg;
29 | border-radius: @border-radius-small;
30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
31 |
32 | kbd {
33 | padding: 0;
34 | font-size: 100%;
35 | font-weight: bold;
36 | box-shadow: none;
37 | }
38 | }
39 |
40 | // Blocks of code
41 | pre {
42 | display: block;
43 | padding: ((@line-height-computed - 1) / 2);
44 | margin: 0 0 (@line-height-computed / 2);
45 | font-size: (@font-size-base - 1); // 14px to 13px
46 | line-height: @line-height-base;
47 | word-break: break-all;
48 | word-wrap: break-word;
49 | color: @pre-color;
50 | background-color: @pre-bg;
51 | border: 1px solid @pre-border-color;
52 | border-radius: @border-radius-base;
53 |
54 | // Account for some code outputs that place code tags in pre tags
55 | code {
56 | padding: 0;
57 | font-size: inherit;
58 | color: inherit;
59 | white-space: pre-wrap;
60 | background-color: transparent;
61 | border-radius: 0;
62 | }
63 | }
64 |
65 | // Enable scrollable blocks of code
66 | .pre-scrollable {
67 | max-height: @pre-scrollable-max-height;
68 | overflow-y: scroll;
69 | }
70 |
--------------------------------------------------------------------------------
/assets/less/mixins/buttons.less:
--------------------------------------------------------------------------------
1 | // Button variants
2 | //
3 | // Easily pump out default styles, as well as :hover, :focus, :active,
4 | // and disabled options for all buttons
5 |
6 | .button-variant(@color; @background; @border) {
7 | color: @color;
8 | background-color: @background;
9 | border-color: @border;
10 |
11 | &:focus,
12 | &.focus {
13 | color: @color;
14 | background-color: darken(@background, 10%);
15 | border-color: darken(@border, 25%);
16 | }
17 | &:hover {
18 | color: @color;
19 | background-color: darken(@background, 10%);
20 | border-color: darken(@border, 12%);
21 | }
22 | &:active,
23 | &.active,
24 | .open > .dropdown-toggle& {
25 | color: @color;
26 | background-color: darken(@background, 10%);
27 | border-color: darken(@border, 12%);
28 |
29 | &:hover,
30 | &:focus,
31 | &.focus {
32 | color: @color;
33 | background-color: darken(@background, 17%);
34 | border-color: darken(@border, 25%);
35 | }
36 | }
37 | &:active,
38 | &.active,
39 | .open > .dropdown-toggle& {
40 | background-image: none;
41 | }
42 | &.disabled,
43 | &[disabled],
44 | fieldset[disabled] & {
45 | &:hover,
46 | &:focus,
47 | &.focus {
48 | background-color: @background;
49 | border-color: @border;
50 | }
51 | }
52 |
53 | .badge {
54 | color: @background;
55 | background-color: @color;
56 | }
57 | }
58 |
59 | // Button sizes
60 | .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
61 | padding: @padding-vertical @padding-horizontal;
62 | font-size: @font-size;
63 | line-height: @line-height;
64 | border-radius: @border-radius;
65 | }
66 |
--------------------------------------------------------------------------------
/assets/less/grid.less:
--------------------------------------------------------------------------------
1 | //
2 | // Grid system
3 | // --------------------------------------------------
4 |
5 |
6 | // Container widths
7 | //
8 | // Set the container width, and override it for fixed navbars in media queries.
9 |
10 | .container {
11 | .container-fixed();
12 |
13 | @media (min-width: @screen-sm-min) {
14 | width: @container-sm;
15 | }
16 | @media (min-width: @screen-md-min) {
17 | width: @container-md;
18 | }
19 | @media (min-width: @screen-lg-min) {
20 | width: @container-lg;
21 | }
22 | }
23 |
24 |
25 | // Fluid container
26 | //
27 | // Utilizes the mixin meant for fixed width containers, but without any defined
28 | // width for fluid, full width layouts.
29 |
30 | .container-fluid {
31 | .container-fixed();
32 | }
33 |
34 |
35 | // Row
36 | //
37 | // Rows contain and clear the floats of your columns.
38 |
39 | .row {
40 | .make-row();
41 | }
42 |
43 |
44 | // Columns
45 | //
46 | // Common styles for small and large grid columns
47 |
48 | .make-grid-columns();
49 |
50 |
51 | // Extra small grid
52 | //
53 | // Columns, offsets, pushes, and pulls for extra small devices like
54 | // smartphones.
55 |
56 | .make-grid(xs);
57 |
58 |
59 | // Small grid
60 | //
61 | // Columns, offsets, pushes, and pulls for the small device range, from phones
62 | // to tablets.
63 |
64 | @media (min-width: @screen-sm-min) {
65 | .make-grid(sm);
66 | }
67 |
68 |
69 | // Medium grid
70 | //
71 | // Columns, offsets, pushes, and pulls for the desktop device range.
72 |
73 | @media (min-width: @screen-md-min) {
74 | .make-grid(md);
75 | }
76 |
77 |
78 | // Large grid
79 | //
80 | // Columns, offsets, pushes, and pulls for the large desktop device range.
81 |
82 | @media (min-width: @screen-lg-min) {
83 | .make-grid(lg);
84 | }
85 |
--------------------------------------------------------------------------------
/assets/less/alerts.less:
--------------------------------------------------------------------------------
1 | //
2 | // Alerts
3 | // --------------------------------------------------
4 |
5 |
6 | // Base styles
7 | // -------------------------
8 |
9 | .alert {
10 | padding: @alert-padding;
11 | margin-bottom: @line-height-computed;
12 | border: 1px solid transparent;
13 | border-radius: @alert-border-radius;
14 |
15 | // Headings for larger alerts
16 | h4 {
17 | margin-top: 0;
18 | // Specified for the h4 to prevent conflicts of changing @headings-color
19 | color: inherit;
20 | }
21 |
22 | // Provide class for links that match alerts
23 | .alert-link {
24 | font-weight: @alert-link-font-weight;
25 | }
26 |
27 | // Improve alignment and spacing of inner content
28 | > p,
29 | > ul {
30 | margin-bottom: 0;
31 | }
32 |
33 | > p + p {
34 | margin-top: 5px;
35 | }
36 | }
37 |
38 | // Dismissible alerts
39 | //
40 | // Expand the right padding and account for the close button's positioning.
41 |
42 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43 | .alert-dismissible {
44 | padding-right: (@alert-padding + 20);
45 |
46 | // Adjust close link position
47 | .close {
48 | position: relative;
49 | top: -2px;
50 | right: -21px;
51 | color: inherit;
52 | }
53 | }
54 |
55 | // Alternate styles
56 | //
57 | // Generate contextual modifier classes for colorizing the alert.
58 |
59 | .alert-success {
60 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
61 | }
62 |
63 | .alert-info {
64 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
65 | }
66 |
67 | .alert-warning {
68 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
69 | }
70 |
71 | .alert-danger {
72 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
73 | }
74 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/js/epsilon-previewer.min.js:
--------------------------------------------------------------------------------
1 | var EpsilonPreviewer="undefined"==typeof EpsilonPreviewer?{}:EpsilonPreviewer;EpsilonPreviewer.colorSchemes={init:function(){var a=this;wp.customize.preview.bind("update-inline-color-schemes-css",function(b){var c={action:b.action,"class":b["class"],args:b.data,id:b.id};a.request(c)})},request:function(a){jQuery.ajax({dataType:"json",type:"POST",url:EpsilonWPUrls.ajaxurl,data:a,complete:function(b){var c=a.action+a.id,d=jQuery("#epsilon-stylesheet-"+c);d.length||(d=jQuery("body").append('').find("#epsilon-stylesheet-"+c)),d.html(b.responseText)}})}},EpsilonPreviewer.sectionEditor={init:function(){jQuery(document).on("click",".epsilon-section-editor",function(a){a.preventDefault();var b={section:jQuery(this).parents("[data-section]").attr("data-section"),customizerSection:jQuery(this).parents("[data-section]").attr("data-customizer-section-id")};wp.customize.preview.send("epsilon-section-edit",b)})}},EpsilonPreviewer.typography={init:function(){var a=this;wp.customize.preview.bind("update-inline-typography-css",function(b){var c={action:b.action,"class":b["class"],args:b.data,id:b.id};a.request(c)})},request:function(a){jQuery.ajax({dataType:"json",type:"POST",url:EpsilonWPUrls.ajaxurl,data:a,complete:function(b){var c=jQuery("#"+a.args.stylesheet+"-inline-css"),d="default_font"!==a.args.json["font-family"]?'':null;c.length||(c=jQuery("body").append('').find("#"+a.args.stylesheet+"-inline-css")),jQuery("head").append(d),c.html(b.responseText)}})}},wp.customize.bind("preview-ready",function(){EpsilonPreviewer.colorSchemes.init(),EpsilonPreviewer.sectionEditor.init(),EpsilonPreviewer.typography.init()});
--------------------------------------------------------------------------------
/assets/less/font-awesome/less/mixins.less:
--------------------------------------------------------------------------------
1 | // Mixins
2 | // --------------------------
3 |
4 | .fa-icon() {
5 | display: inline-block;
6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
7 | font-size: inherit; // can't have font-size inherit on line above, so need to override
8 | text-rendering: auto; // optimizelegibility throws things off #1094
9 | -webkit-font-smoothing: antialiased;
10 | -moz-osx-font-smoothing: grayscale;
11 |
12 | }
13 |
14 | .fa-icon-rotate(@degrees, @rotation) {
15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})";
16 | -webkit-transform: rotate(@degrees);
17 | -ms-transform: rotate(@degrees);
18 | transform: rotate(@degrees);
19 | }
20 |
21 | .fa-icon-flip(@horiz, @vert, @rotation) {
22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)";
23 | -webkit-transform: scale(@horiz, @vert);
24 | -ms-transform: scale(@horiz, @vert);
25 | transform: scale(@horiz, @vert);
26 | }
27 |
28 |
29 | // Only display content to screen readers. A la Bootstrap 4.
30 | //
31 | // See: http://a11yproject.com/posts/how-to-hide-content/
32 |
33 | .sr-only() {
34 | position: absolute;
35 | width: 1px;
36 | height: 1px;
37 | padding: 0;
38 | margin: -1px;
39 | overflow: hidden;
40 | clip: rect(0,0,0,0);
41 | border: 0;
42 | }
43 |
44 | // Use in conjunction with .sr-only to only display content when it's focused.
45 | //
46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
47 | //
48 | // Credit: HTML5 Boilerplate
49 |
50 | .sr-only-focusable() {
51 | &:active,
52 | &:focus {
53 | position: static;
54 | width: auto;
55 | height: auto;
56 | margin: 0;
57 | overflow: visible;
58 | clip: auto;
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/sections/recommended-plugins.php:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | plugins as $plugin => $prop ) {
20 | $info = $this->get_plugin_information( $plugin );
21 | ?>
22 |
23 |
24 |
25 |
26 |
27 |
28 |
; ?>)
29 |
version ); ?>
30 |
| author ); ?>
31 |
32 | name ); ?>
33 |
34 |
35 |
36 |
37 |
38 |
41 |
42 |
--------------------------------------------------------------------------------
/template-parts/content.php:
--------------------------------------------------------------------------------
1 |
11 |
12 | >
13 |
14 |
26 |
27 |
28 |
29 |
30 |
33 |
34 |
37 |
38 | '
' . esc_html__( 'Pages:', 'bonkers' ),
41 | 'after' => '
',
42 | ) );
43 | ?>
44 |
45 |
46 |
47 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/inc/customizer-controls/class-bonkers-multiple-checkbox-control.php:
--------------------------------------------------------------------------------
1 | id;
37 | $json['link'] = $this->get_link();
38 | $json['value'] = $this->value();
39 | $json['choices'] = $this->choices;
40 |
41 | return $json;
42 |
43 | }
44 |
45 | public function render_content() { }
46 |
47 | public function content_template() {
48 | ?>
49 | <# var values = _.invert( data.value ); #>
50 |
72 |
73 |
74 |
75 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 |
19 |
24 |
32 |
35 |
36 |
37 |
38 |
39 |
40 | %3$s';
26 |
27 | /**
28 | * Epsilon_Notifications constructor.
29 | */
30 | public function __construct() {
31 | add_action( 'admin_notices', array( $this, 'display_notices' ) );
32 | }
33 |
34 | /**
35 | * We need to grab instances of this object, so we can add multiple notices at the same time
36 | *
37 | * @return Epsilon_Notifications
38 | */
39 | public static function get_instance() {
40 | if ( is_null( self::$instance ) ) {
41 | self::$instance = new self();
42 | }
43 |
44 | return self::$instance;
45 | }
46 |
47 | /**
48 | * Adds a notice to the array
49 | *
50 | * @param array $notice
51 | */
52 | public function add_notice( $notice = array() ) {
53 | $this->notices[] = $notice;
54 | }
55 |
56 | /**
57 | * Displays notices in the frontend
58 | *
59 | * @since 1.2.0
60 | */
61 | public function display_notices() {
62 | foreach ( $this->notices as $notice ) {
63 | if ( get_user_meta( get_current_user_id(), $notice['id'], true ) ) {
64 | continue;
65 | }
66 |
67 | printf( $this->html, esc_attr( $notice['type'] ), esc_attr( $notice['id'] ), wp_kses_post( $notice['message'] ) );
68 | }
69 | }
70 |
71 | /**
72 | * Dismiss notice AJAX
73 | *
74 | * @since 1.2.0
75 | *
76 | * @param $args
77 | */
78 | public static function dismiss_notice( $args ) {
79 | add_user_meta( $args['user_id'], $args['notice_id'], 'true', true );
80 |
81 | return 'ok';
82 | }
83 | }
84 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/range-slider/range-sliders.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Range Slider Initiator
3 | *
4 | * @type {{init: EpsilonFramework.rangeSliders.init}}
5 | */
6 | EpsilonFramework.rangeSliders = {
7 | /**
8 | * Init wrapper
9 | *
10 | * @param selector
11 | */
12 | init: function( selector ) {
13 | var context = jQuery( selector ).hasClass( 'slider-container' ) ? jQuery( selector ) : jQuery( selector ).find( '.slider-container' ),
14 | slider = context.find( '.ss-slider' ),
15 | input = context.find( '.rl-slider' ),
16 | inputId = input.attr( 'id' ),
17 | id = slider.attr( 'id' );
18 |
19 | if ( ! context.length ) {
20 | return;
21 | }
22 |
23 | jQuery( '#' + id ).slider( {
24 | value: parseFloat( jQuery( '#' + inputId ).attr( 'value' ) ),
25 | range: 'min',
26 | min: parseFloat( jQuery( '#' + id ).attr( 'data-attr-min' ) ),
27 | max: parseFloat( jQuery( '#' + id ).attr( 'data-attr-max' ) ),
28 | step: parseFloat( jQuery( '#' + id ).attr( 'data-attr-step' ) ),
29 | /**
30 | * Removed Change event because server was flooded with requests from
31 | * javascript, sending changesets on each increment.
32 | *
33 | * @param event
34 | * @param ui
35 | */
36 | slide: function( event, ui ) {
37 | jQuery( '#' + inputId ).attr( 'value', ui.value );
38 | },
39 | /**
40 | * Bind the change event to the "actual" stop
41 | * @param event
42 | * @param ui
43 | */
44 | stop: function( event, ui ) {
45 | jQuery( '#' + inputId ).trigger( 'change' );
46 | }
47 | } );
48 |
49 | jQuery( input ).on( 'focus', function() {
50 | jQuery( this ).blur();
51 | } );
52 |
53 | jQuery( '#' + inputId ).attr( 'value', ( jQuery( '#' + id ).slider( 'value' ) ) );
54 | jQuery( '#' + inputId ).on( 'change', function() {
55 | jQuery( '#' + id ).slider( {
56 | value: jQuery( this ).val()
57 | } );
58 | } );
59 | },
60 | };
--------------------------------------------------------------------------------
/template-parts/section-image.php:
--------------------------------------------------------------------------------
1 |
11 | >
12 |
13 |
21 |
22 |
>
23 |
24 |
25 |
26 |
27 |
28 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | %s
', $message );
39 | }
40 |
41 | /**
42 | * Prevents the Customizer from being loaded on PHP versions prior to 5.4.
43 | *
44 | * @since Bonkers 1.0.1
45 | *
46 | * @global string $php_version PHP version.
47 | */
48 | function bonkers_customize() {
49 | $php_version = phpversion();
50 | wp_die( sprintf( __( 'Bonkers requires at least PHP version 5.4. You are running version %s. Please upgrade and try again.', 'bonkers' ), $php_version ), '', array(
51 | 'back_link' => true,
52 | ) );
53 | }
54 | add_action( 'load-customize.php', 'bonkers_customize' );
55 |
56 | /**
57 | * Prevents the Theme Preview from being loaded on PHP versions prior to 5.4.
58 | *
59 | * @since Bonkers 1.0.1
60 | *
61 | * @global string $php_version PHP version.
62 | */
63 | function bonkers_preview() {
64 | if ( isset( $_GET['preview'] ) ) {
65 | $php_version = phpversion();
66 | wp_die( sprintf( __( 'Bonkers requires at least PHP version 5.4. You are running version %s. Please upgrade and try again.', 'bonkers' ), $php_version ) );
67 | }
68 | }
69 | add_action( 'template_redirect', 'bonkers_preview' );
70 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/sections/section-doubled.scss:
--------------------------------------------------------------------------------
1 | .doubled-section-parent {
2 | display: inline-block;
3 | top: 0;
4 | bottom: 0;
5 | position: absolute;
6 | right: 0;
7 | left: -450px;
8 | max-width: 450px;
9 | overflow-x: hidden;
10 | overflow-y: auto;
11 | background: #eee;
12 | -webkit-transition: left .18s;
13 | transition: left .18s;
14 | border-top: 1px solid #ddd;
15 | border-right: 1px solid #ddd;
16 | padding-top: 35px;
17 |
18 | .epsilon-close-doubled-section {
19 | position: absolute;
20 | top: 0;
21 | right: 0;
22 | border-radius: 0;
23 | background: #eee;
24 | border: none;
25 | width: 45px;
26 | height: 45px;
27 | border-top: 4px solid #eee;
28 | border-left: 1px solid #ddd;
29 | -webkit-box-shadow: none;
30 | box-shadow: none;
31 | -webkit-transition: all .2s;
32 | transition: all .2s;
33 | &:before {
34 | font: 400 22px/45px dashicons;
35 | content: "\f335";
36 | position: relative;
37 | top: -3px;
38 | display: block;
39 | }
40 | &:hover {
41 | background: #fff;
42 | border-top-color: #0073aa;
43 | border-left-color: #ddd;
44 | color: #0073aa;
45 | outline: none;
46 | -webkit-box-shadow: none;
47 | box-shadow: none;
48 | -webkit-transition: all .2s;
49 | transition: all .2s;
50 | }
51 | }
52 | }
53 |
54 | body.adding-doubled-section {
55 | .wp-full-overlay-main {
56 | left: 450px;
57 | }
58 |
59 | #customize-preview {
60 | opacity: 0.4;
61 | }
62 |
63 | .doubled-section-parent {
64 | left: 0;
65 | }
66 | }
67 |
68 | .customize-pane-child.control-section-epsilon-section-doubled {
69 | &.doubled-section-opened {
70 | display: inline-block;
71 | max-width: 450px;
72 | width: 100%;
73 | box-sizing: border-box;
74 | background: #eee;
75 | }
76 |
77 | .customize-section-title {
78 | margin: -1px -24px 0;
79 | padding: 5px 0;
80 | border-top: 1px solid #ddd;
81 | h3 {
82 | font-weight: 200;
83 | font-size: 20px;
84 | padding: 10px 10px 11px 14px;
85 | }
86 | .customize-action {
87 | font-size: 13px;
88 | display: block;
89 | font-weight: 400;
90 | }
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/customizer/controls/class-epsilon-control-toggle.php:
--------------------------------------------------------------------------------
1 | register_control_type( 'Epsilon_Control_Toggle' );
26 | }
27 |
28 | /**
29 | * Add custom parameters to pass to the JS via JSON.
30 | *
31 | * @since 1.2.0
32 | * @access public
33 | */
34 | public function json() {
35 | $json = parent::json();
36 |
37 | $json['id'] = $this->id;
38 | $json['link'] = $this->get_link();
39 | $json['value'] = $this->value();
40 |
41 | return $json;
42 | }
43 |
44 | /**
45 | * Empty, as it should.
46 | *
47 | * @since 1.0.0
48 | * @access public
49 | * @return void
50 | */
51 | public function render_content() {}
52 |
53 | /**
54 | * @since 1.2.0
55 | * @access public
56 | */
57 | public function content_template() {
58 | //@formatter:off
59 | ?>
60 |
61 |
62 | {{{ data.label }}}
63 | <# if( data.description ){ #>
64 |
65 |
66 | {{{ data.description }}}
67 |
68 |
69 | <# } #>
70 |
71 |
72 | checked="checked" <# } #> >
73 |
74 |
75 |
76 | register_control_type( 'Epsilon_Control_Customizer_Navigation' );
52 | }
53 |
54 | /**
55 | * Add custom parameters to pass to the JS via JSON.
56 | *
57 | * @since 1.2.0
58 | * @access public
59 | */
60 | public function json() {
61 | $json = parent::json();
62 |
63 | $json['id'] = $this->id;
64 | $json['navigateToId'] = $this->navigate_to_id;
65 | $json['navigateToLabel'] = $this->navigate_to_label;
66 | $json['opensDoubled'] = $this->opens_doubled;
67 |
68 | return $json;
69 | }
70 |
71 | /**
72 | * Empty as it should be
73 | *
74 | * @since 1.2.0
75 | */
76 | public function render_content() {
77 |
78 | }
79 |
80 | /**
81 | * Render the content template
82 | *
83 | * @since 1.2.0
84 | */
85 | public function content_template() {
86 | //@formatter:off ?>
87 | {{{ data.label }}}
88 |
89 | {{{ data.navigateToLabel }}}
90 |
91 | .striped();
57 | background-size: 40px 40px;
58 | }
59 |
60 | // Call animation for the active one
61 | //
62 | // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
63 | // `.progress-bar.active` approach.
64 | .progress.active .progress-bar,
65 | .progress-bar.active {
66 | .animation(progress-bar-stripes 2s linear infinite);
67 | }
68 |
69 |
70 | // Variations
71 | // -------------------------
72 |
73 | .progress-bar-success {
74 | .progress-bar-variant(@progress-bar-success-bg);
75 | }
76 |
77 | .progress-bar-info {
78 | .progress-bar-variant(@progress-bar-info-bg);
79 | }
80 |
81 | .progress-bar-warning {
82 | .progress-bar-variant(@progress-bar-warning-bg);
83 | }
84 |
85 | .progress-bar-danger {
86 | .progress-bar-variant(@progress-bar-danger-bg);
87 | }
88 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/customizer/controls/class-epsilon-control-text-editor.php:
--------------------------------------------------------------------------------
1 | register_control_type( 'Epsilon_Control_Text_Editor' );
29 | }
30 |
31 | /**
32 | * @since 1.2.0
33 | * @return array
34 | */
35 | public function json() {
36 | $json = parent::json();
37 | $json['id'] = $this->id;
38 | $json['link'] = $this->get_link();
39 | $json['value'] = $this->value();
40 |
41 | return $json;
42 | }
43 |
44 | /**
45 | * @since 1.2.0
46 | */
47 | public function enqueue() {
48 | if ( function_exists( 'wp_enqueue_editor' ) ) {
49 | wp_enqueue_editor();
50 | } else {
51 | if ( ! class_exists( '_WP_Editors', false ) ) {
52 | require( ABSPATH . WPINC . '/class-wp-editor.php' );
53 | }
54 |
55 | _WP_Editors::enqueue_scripts();
56 | }
57 |
58 | }
59 |
60 | /**
61 | * @since 1.2.0
62 | * Display the control's content
63 | */
64 | public function content_template() {
65 | //@formatter:off ?>
66 |
78 |
11 |
12 |
13 |
14 |
15 |
16 |
22 |
23 | taxonomy ) ) {
27 |
28 | echo "
\n\n";
29 | /* Start the Loop */
30 | while ( have_posts() ) :
31 | the_post();
32 |
33 | get_template_part( 'template-parts/content-portfolio', 'portfolio' );
34 |
35 | endwhile;
36 | echo "
\n\n";
37 |
38 | get_template_part( 'template-parts/pagination', 'portfolio' );
39 |
40 |
41 | }
42 | } else { //is_tax()
43 | ?>
44 |
45 |
46 |
47 |
48 |
52 |
53 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/controls/icon-picker/icon-picker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Icon Picker Initiator
3 | *
4 | * @type {{init: EpsilonFramework.iconPickers.init}}
5 | */
6 | EpsilonFramework.iconPickers = {
7 | /**
8 | * Context
9 | */
10 | control: null,
11 | /**
12 | * Init the icon picker
13 | *
14 | * @param control
15 | * @param inRepeater
16 | */
17 | init: function( control, inRepeater ) {
18 | this.control = control;
19 | var icon, label, filter, temp, collection = control.container.find( '.epsilon-icons > i' ), input = control.container.find( '.search-container input' );
20 |
21 | /**
22 | * Icon container toggler
23 | */
24 | control.container.on( 'click', '.epsilon-open-icon-picker', function( e ) {
25 | e.preventDefault();
26 | jQuery( this ).toggleClass( 'opened-icon-picker' );
27 | control.container.find( '.epsilon-icon-picker-container' ).toggleClass( 'opened' );
28 | } );
29 |
30 | /**
31 | * Icon selection
32 | */
33 | control.container.on( 'click', '.epsilon-icons-container .epsilon-icons > i', function( e ) {
34 | control.container.find( '.epsilon-icons > i.selected' ).removeClass( 'selected' );
35 | icon = jQuery( this ).addClass( 'selected' ).attr( 'data-icon' );
36 | label = jQuery( this ).addClass( 'selected' ).attr( 'data-search' );
37 | control.container.find( '.epsilon-icon-name > i' ).removeClass().addClass( icon );
38 | control.container.find( '.epsilon-icon-name > .icon-label' ).html( label );
39 |
40 | /**
41 | * Set value
42 | */
43 | if ( ! inRepeater ) {
44 | control.setting.set( icon );
45 | } else {
46 | control.container.find( '.epsilon-icon-picker' ).attr( 'value', icon ).trigger( 'change' );
47 | }
48 | } );
49 |
50 | /**
51 | * Search functionality
52 | */
53 | control.container.on( 'keyup change', '.search-container input', _.debounce( function( e ) {
54 | filter = input.val().toLowerCase();
55 |
56 | jQuery.each( collection, function() {
57 | temp = jQuery( this ).attr( 'data-search' ).toLowerCase();
58 | jQuery( this )[ temp.indexOf( filter ) !== - 1 ? 'show' : 'hide' ]();
59 | } );
60 |
61 | }, 1000 ) );
62 | }
63 | };
--------------------------------------------------------------------------------
/assets/theme-less/_pace.less:
--------------------------------------------------------------------------------
1 | .pace {
2 | -webkit-pointer-events: none;
3 | pointer-events: none;
4 | -webkit-user-select: none;
5 | -moz-user-select: none;
6 | user-select: none;
7 | }
8 |
9 | .pace-inactive {
10 | display: none;
11 | }
12 |
13 | .pace .pace-progress {
14 | background: #fff;
15 | position: fixed;
16 | z-index: 2000;
17 | top: 0;
18 | right: 100%;
19 | width: 100%;
20 | height: 2px;
21 | }
22 |
23 | .pace .pace-progress-inner {
24 | display: block;
25 | position: absolute;
26 | right: 0px;
27 | width: 100px;
28 | height: 100%;
29 | opacity: 1.0;
30 | -webkit-transform: rotate(3deg) translate(0px, -4px);
31 | -moz-transform: rotate(3deg) translate(0px, -4px);
32 | -ms-transform: rotate(3deg) translate(0px, -4px);
33 | -o-transform: rotate(3deg) translate(0px, -4px);
34 | transform: rotate(3deg) translate(0px, -4px);
35 | }
36 |
37 | .pace .pace-activity {
38 | display: block;
39 | position: fixed;
40 | z-index: 2000;
41 | top: 20px;
42 | right: 20px;
43 | width: 14px;
44 | height: 14px;
45 | border: solid 2px transparent;
46 | border-top-color: @heroColor;
47 | border-left-color: @heroColor;
48 | border-radius: 10px;
49 | -webkit-animation: pace-spinner 400ms linear infinite;
50 | -moz-animation: pace-spinner 400ms linear infinite;
51 | -ms-animation: pace-spinner 400ms linear infinite;
52 | -o-animation: pace-spinner 400ms linear infinite;
53 | animation: pace-spinner 400ms linear infinite;
54 | }
55 |
56 | @-webkit-keyframes pace-spinner {
57 | 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
58 | 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
59 | }
60 | @-moz-keyframes pace-spinner {
61 | 0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
62 | 100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
63 | }
64 | @-o-keyframes pace-spinner {
65 | 0% { -o-transform: rotate(0deg); transform: rotate(0deg); }
66 | 100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
67 | }
68 | @-ms-keyframes pace-spinner {
69 | 0% { -ms-transform: rotate(0deg); transform: rotate(0deg); }
70 | 100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
71 | }
72 | @keyframes pace-spinner {
73 | 0% { transform: rotate(0deg); transform: rotate(0deg); }
74 | 100% { transform: rotate(360deg); transform: rotate(360deg); }
75 | }
--------------------------------------------------------------------------------
/404.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/assets/css/admin-styles.less:
--------------------------------------------------------------------------------
1 | .sortable-sections-desc{
2 | padding-left: 15px;
3 | padding-right: 15px;
4 | }
5 |
6 |
7 | /*
8 | Customizer
9 | =========================================================*/
10 | #accordion-section-bonkers_shop_options, #accordion-section-bonkers_blog_section, #accordion-section-bonkers_site_options_section, #accordion-section-bonkers_portfolio_options_section, #accordion-section-bonkers_typography_section, #accordion-section-bonkers_map_section, #accordion-section-bonkers_topbar_section, #accordion-section-bonkers_header_section{
11 | .accordion-section-title{
12 | position: relative;
13 | padding-left: 40px;
14 |
15 | &::before{
16 | font-family: 'bonkers' !important;
17 | speak: none;
18 | font-style: normal;
19 | font-weight: normal;
20 | font-variant: normal;
21 | text-transform: none;
22 | line-height: 1;
23 | -webkit-font-smoothing: antialiased;
24 | -moz-osx-font-smoothing: grayscale;
25 | position: absolute;
26 | left: 14px;
27 | top: 50%;
28 | -webkit-transform: translate(0, -50%);
29 | -ms-transform: translate(0, -50%);
30 | -o-transform: translate(0, -50%);
31 | transform: translate(0, -50%);
32 | font-size: 15px;
33 | }
34 | }
35 |
36 | }
37 | #accordion-section-bonkers_shop_options .accordion-section-title::before{
38 | content: "\e900";
39 | }
40 | #accordion-section-bonkers_blog_section .accordion-section-title::before{
41 | content: "\e90a";
42 | }
43 | #accordion-section-bonkers_site_options_section .accordion-section-title::before{
44 | content: "\e909";
45 | }
46 | #accordion-section-bonkers_portfolio_options_section .accordion-section-title::before{
47 | content: "\e90c";
48 | }
49 | #accordion-section-bonkers_map_section .accordion-section-title::before{
50 | content: "\e90b";
51 | }
52 | #accordion-section-bonkers_typography_section .accordion-section-title::before{
53 | content: "\e90d";
54 | }
55 | #accordion-section-bonkers_topbar_section .accordion-section-title::before{
56 | content: "\e917";
57 | }
58 | #accordion-section-bonkers_header_section .accordion-section-title::before{
59 | content: "\e923";
60 | }
61 | .epsilon-typography-container.group-of-one > div {
62 | width: 100%;
63 | }
64 |
65 |
66 |
67 | // Custom Icon Fonts
68 | @import "../less/font-awesome/less/font-awesome.less";
69 | @import "../less/font-bonkers/font-bonkers.less";
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/sections/getting-started.php:
--------------------------------------------------------------------------------
1 | count_actions();
16 | ?>
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/assets/less/pagination.less:
--------------------------------------------------------------------------------
1 | //
2 | // Pagination (multiple pages)
3 | // --------------------------------------------------
4 | .pagination {
5 | display: inline-block;
6 | padding-left: 0;
7 | margin: @line-height-computed 0;
8 | border-radius: @border-radius-base;
9 |
10 | > li {
11 | display: inline; // Remove list-style and block-level defaults
12 | > a,
13 | > span {
14 | position: relative;
15 | float: left; // Collapse white-space
16 | padding: @padding-base-vertical @padding-base-horizontal;
17 | line-height: @line-height-base;
18 | text-decoration: none;
19 | color: @pagination-color;
20 | background-color: @pagination-bg;
21 | border: 1px solid @pagination-border;
22 | margin-left: -1px;
23 | }
24 | &:first-child {
25 | > a,
26 | > span {
27 | margin-left: 0;
28 | .border-left-radius(@border-radius-base);
29 | }
30 | }
31 | &:last-child {
32 | > a,
33 | > span {
34 | .border-right-radius(@border-radius-base);
35 | }
36 | }
37 | }
38 |
39 | > li > a,
40 | > li > span {
41 | &:hover,
42 | &:focus {
43 | z-index: 2;
44 | color: @pagination-hover-color;
45 | background-color: @pagination-hover-bg;
46 | border-color: @pagination-hover-border;
47 | }
48 | }
49 |
50 | > .active > a,
51 | > .active > span {
52 | &,
53 | &:hover,
54 | &:focus {
55 | z-index: 3;
56 | color: @pagination-active-color;
57 | background-color: @pagination-active-bg;
58 | border-color: @pagination-active-border;
59 | cursor: default;
60 | }
61 | }
62 |
63 | > .disabled {
64 | > span,
65 | > span:hover,
66 | > span:focus,
67 | > a,
68 | > a:hover,
69 | > a:focus {
70 | color: @pagination-disabled-color;
71 | background-color: @pagination-disabled-bg;
72 | border-color: @pagination-disabled-border;
73 | cursor: @cursor-disabled;
74 | }
75 | }
76 | }
77 |
78 | // Sizing
79 | // --------------------------------------------------
80 |
81 | // Large
82 | .pagination-lg {
83 | .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
84 | }
85 |
86 | // Small
87 | .pagination-sm {
88 | .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
89 | }
90 |
--------------------------------------------------------------------------------
/assets/less/print.less:
--------------------------------------------------------------------------------
1 | /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
2 |
3 | // ==========================================================================
4 | // Print styles.
5 | // Inlined to avoid the additional HTTP request: h5bp.com/r
6 | // ==========================================================================
7 |
8 | @media print {
9 | *,
10 | *:before,
11 | *:after {
12 | background: transparent !important;
13 | color: #000 !important; // Black prints faster: h5bp.com/s
14 | box-shadow: none !important;
15 | text-shadow: none !important;
16 | }
17 |
18 | a,
19 | a:visited {
20 | text-decoration: underline;
21 | }
22 |
23 | a[href]:after {
24 | content: " (" attr(href) ")";
25 | }
26 |
27 | abbr[title]:after {
28 | content: " (" attr(title) ")";
29 | }
30 |
31 | // Don't show links that are fragment identifiers,
32 | // or use the `javascript:` pseudo protocol
33 | a[href^="#"]:after,
34 | a[href^="javascript:"]:after {
35 | content: "";
36 | }
37 |
38 | pre,
39 | blockquote {
40 | border: 1px solid #999;
41 | page-break-inside: avoid;
42 | }
43 |
44 | thead {
45 | display: table-header-group; // h5bp.com/t
46 | }
47 |
48 | tr,
49 | img {
50 | page-break-inside: avoid;
51 | }
52 |
53 | img {
54 | max-width: 100% !important;
55 | }
56 |
57 | p,
58 | h2,
59 | h3 {
60 | orphans: 3;
61 | widows: 3;
62 | }
63 |
64 | h2,
65 | h3 {
66 | page-break-after: avoid;
67 | }
68 |
69 | // Bootstrap specific changes start
70 |
71 | // Bootstrap components
72 | .navbar {
73 | display: none;
74 | }
75 | .btn,
76 | .dropup > .btn {
77 | > .caret {
78 | border-top-color: #000 !important;
79 | }
80 | }
81 | .label {
82 | border: 1px solid #000;
83 | }
84 |
85 | .table {
86 | border-collapse: collapse !important;
87 |
88 | td,
89 | th {
90 | background-color: #fff !important;
91 | }
92 | }
93 | .table-bordered {
94 | th,
95 | td {
96 | border: 1px solid #ddd !important;
97 | }
98 | }
99 |
100 | // Bootstrap specific changes end
101 | }
102 |
--------------------------------------------------------------------------------
/inc/libraries/welcome-screen/sections/registration.php:
--------------------------------------------------------------------------------
1 |
12 |
13 | strings;
15 | $license = trim( get_option( $this->theme_slug . '_license_key' ) );
16 | $status = get_option( $this->theme_slug . '_license_key_status', false );
17 |
18 | // Checks license status to display under license key.
19 | if ( ! $license ) {
20 | $message = $strings['enter-key'];
21 | } else {
22 | if ( ! get_transient( $this->theme_slug . '_license_message', false ) ) {
23 | set_transient( $this->theme_slug . '_license_message', EDD_Theme_Helper::check_license(), ( 60 * 60 * 24 ) );
24 | }
25 | $message = get_transient( $this->theme_slug . '_license_message' );
26 | }
27 |
28 | $theme = wp_get_theme();
29 | if ( $theme->parent_theme ) {
30 | $template_dir = basename( get_template_directory() );
31 | $theme = wp_get_theme( $template_dir );
32 | }
33 | $macho_version = $theme->get( 'Version' );
34 |
35 | ?>
36 |
37 |
72 |
73 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/customizer/sections/class-epsilon-section-pro.php:
--------------------------------------------------------------------------------
1 | allowed = apply_filters( 'epsilon_upsell_section_display', true );
53 | $manager->register_section_type( 'Epsilon_Section_Pro' );
54 | parent::__construct( $manager, $id, $args );
55 | }
56 |
57 | /**
58 | * Add custom parameters to pass to the JS via JSON.
59 | *
60 | * @since 1.0.0
61 | * @access public
62 | */
63 | public function json() {
64 | $json = parent::json();
65 | $json['button_url'] = $this->button_url;
66 | $json['button_text'] = esc_html( $this->button_text );
67 | $json['allowed'] = $this->allowed;
68 |
69 | return $json;
70 | }
71 |
72 | /**
73 | * Outputs the Underscore.js template.
74 | *
75 | * @since 1.0.0
76 | * @access public
77 | * @return void
78 | */
79 | protected function render_template() {
80 | ?>
81 | allowed ) : //@formatter:off ?>
82 |
84 | {{ data.title }}
85 | <# if ( data.button_url ) { #>
86 | {{ data.button_text }}
87 | <# } #>
88 |
89 |
90 |
91 |
92 | =' );
23 | }
24 |
25 | /**
26 | * @return bool
27 | */
28 | public static function is_not_static_page() {
29 | return 'page' == get_option( 'show_on_front' ) ? true : false;
30 | }
31 |
32 | /**
33 | * @return array
34 | */
35 | public static function _get_plugins() {
36 |
37 | if ( ! function_exists( 'get_plugins' ) ) {
38 | require_once ABSPATH . 'wp-admin/includes/plugin.php';
39 | }
40 |
41 | return get_plugins();
42 |
43 | }
44 |
45 | /**
46 | * @param $slug
47 | *
48 | * @return mixed
49 | */
50 | public static function _get_plugin_basename_from_slug( $slug ) {
51 |
52 | if ( empty( self::$plugins ) ) {
53 | self::$plugins = array_keys( self::_get_plugins() );
54 | }
55 |
56 | $keys = self::$plugins;
57 | foreach ( $keys as $key ) {
58 | if ( preg_match( '|^' . $slug . '/|', $key ) ) {
59 | return $key;
60 | }
61 | }
62 |
63 | return $slug;
64 | }
65 |
66 | /**
67 | * @param $slug
68 | *
69 | * @return bool
70 | */
71 | public static function check_plugin_is_installed( $slug ) {
72 | $plugin_path = self::_get_plugin_basename_from_slug( $slug );
73 | if ( file_exists( ABSPATH . 'wp-content/plugins/' . $plugin_path ) ) {
74 | return true;
75 | }
76 |
77 | return false;
78 | }
79 |
80 | /**
81 | * @param $slug
82 | *
83 | * @return bool
84 | */
85 | public static function check_plugin_is_active( $slug ) {
86 | $plugin_path = self::_get_plugin_basename_from_slug( $slug );
87 | if ( file_exists( ABSPATH . 'wp-content/plugins/' . $plugin_path ) ) {
88 | include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
89 |
90 | return is_plugin_active( $plugin_path );
91 | }
92 | }
93 |
94 | /**
95 | * @param $args
96 | *
97 | * @return string
98 | */
99 | public static function dismiss_required_action( $args ) {
100 | $option = get_option( $args['option'] );
101 |
102 | if ( $option ) :
103 | $option[ $args['id'] ] = false;
104 | update_option( $args['option'], $option );
105 | else :
106 | $option = array(
107 | $args['id'] => false,
108 | );
109 | update_option( $args['option'], $option );
110 | endif;
111 |
112 | return 'ok';
113 | }
114 |
115 | }
116 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/controls/color-schemes.scss:
--------------------------------------------------------------------------------
1 | .epsilon-color-scheme-option {
2 | padding: 10px 15px 12px;
3 | border-bottom: 1px solid #eaeaea;
4 | &:last-of-type {
5 | border-bottom: none;
6 | }
7 |
8 | &:hover,
9 | &:focus,
10 | &.selected {
11 | background: #eef1f2;
12 | }
13 | }
14 |
15 | .epsilon-color-scheme-name {
16 | display: block;
17 | font-size: 14px;
18 | line-height: 17px;
19 | color: #555;
20 | margin-bottom: 5px;
21 | }
22 |
23 | .epsilon-color-scheme {
24 | display: none;
25 | background: #f4f4f4;
26 | position: relative;
27 | z-index: 10;
28 | padding: 0;
29 | top: 0;
30 | border-bottom-left-radius: 3px;
31 | border-bottom-right-radius: 3px;
32 | -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .05);
33 | -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .05);
34 | box-shadow: 0 4px 5px rgba(0, 0, 0, .05);
35 | }
36 |
37 | .epsilon-color-scheme-selected {
38 | position: relative;
39 | }
40 |
41 | .epsilon-color-schemes-advanced {
42 | width: 38px;
43 | height: 35px;
44 | -webkit-border-radius: 3px;
45 | -moz-border-radius: 3px;
46 | border-radius: 3px;
47 | background-color: #fefefe;
48 | -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .1);
49 | -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .1);
50 | box-shadow: 0 0 4px rgba(0, 0, 0, .1);
51 | font-size: 22px;
52 | color: #000;
53 | text-decoration: none;
54 | text-align: center;
55 | line-height: 38px;
56 | outline: none;
57 | position: absolute;
58 | top: 0;
59 | right: 0;
60 |
61 | &:hover,
62 | &.active {
63 | color: #57a7c9;
64 | }
65 | &.active {
66 | background: #f4f4f4;
67 | }
68 | &:focus {
69 | outline: none;
70 | box-shadow: none;
71 | -webkit-box-shadow: none;
72 | -moz-box-shadow: none;
73 | }
74 | .dashicons {
75 | line-height: 38px;
76 | }
77 | }
78 |
79 | .epsilon-control-styles {
80 | height: 35px;
81 | position: relative;
82 | overflow: hidden;
83 | border-radius: 3px 0 0 3px;
84 | display: table;
85 | width: 100%;
86 | table-layout: fixed;
87 | }
88 |
89 | .epsilon-control-styles a:first-child {
90 | border-radius: 3px 0 0 3px;
91 | }
92 |
93 | .epsilon-control-styles a {
94 | height: 35px;
95 | display: table-cell;
96 | position: relative;
97 | }
98 |
99 | .epsilon-control-styles a:first-child:before,
100 | .epsilon-control-styles a:last-child:before {
101 | position: absolute;
102 | content: " ";
103 | background: #000;
104 | opacity: .2;
105 | width: 1px;
106 | height: 35px;
107 | top: 0;
108 | }
109 |
110 | .epsilon-control-styles a:first-child:before {
111 | left: 0;
112 | }
113 |
114 | .epsilon-control-styles a:last-child:before {
115 | right: 0;
116 | }
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/customizer/sections/class-epsilon-section-doubled.php:
--------------------------------------------------------------------------------
1 | register_section_type( 'Epsilon_Section_Doubled' );
31 | parent::__construct( $manager, $id, $args );
32 | }
33 |
34 | /**
35 | * Add custom parameters to pass to the JS via JSON.
36 | *
37 | * @since 1.4.0
38 | * @access public
39 | */
40 | public function json() {
41 | $json = parent::json();
42 |
43 | return $json;
44 | }
45 |
46 | protected function render_template() {
47 | ?>
48 |
49 |
50 | {{ data.title }}
51 |
52 |
53 |
54 | -
55 |
58 |
59 |
60 | {{{ data.customizeAction }}}
61 | {{ data.title }}
62 |
63 | <# if ( data.description && data.description_hidden ) { #>
64 |
65 |
66 | {{{ data.description }}}
67 |
68 | <# } #>
69 |
70 |
71 | <# if ( data.description && ! data.description_hidden ) { #>
72 |
73 | {{{ data.description }}}
74 |
75 | <# } #>
76 |
77 |
78 |
79 | get_control( $setting->id );
61 |
62 | if ( is_array( $control->choices ) && array_key_exists( $input, $control->choices ) ) {
63 | return $input;
64 | }
65 |
66 | return $setting->default;
67 | }
68 |
69 | /**
70 | * @since 1.2.0
71 | *
72 | * @param $input
73 | *
74 | * @return string
75 | */
76 | public static function textarea_nl2br( $input ) {
77 | return nl2br( $input );
78 | }
79 |
80 | /**
81 | * @since 1.2.0
82 | *
83 | * @param $input
84 | *
85 | * @return array
86 | */
87 | public static function selectize( $input ) {
88 | $input = array_map( 'sanitize_text_field', $input );
89 |
90 | return $input;
91 | }
92 |
93 | /**
94 | * Recursive array map functionality ( for field sanitize)
95 | *
96 | * @param $callback
97 | * @param $array
98 | *
99 | * @return array
100 | */
101 | public static function array_map_recursive( $callback, $array ) {
102 | $func = function ( $item ) use ( &$func, &$callback ) {
103 | return is_array( $item ) ? array_map( $func, $item ) : call_user_func( $callback, $item );
104 | };
105 |
106 | return array_map( $func, $array );
107 | }
108 | }
109 |
--------------------------------------------------------------------------------
/header.php:
--------------------------------------------------------------------------------
1 | section and everything up until
6 | *
7 | * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
8 | *
9 | * @package Bonkers
10 | */
11 |
12 | ?>
13 | >
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | >
25 |
26 |
27 |
28 |
34 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/inc/libraries/epsilon-framework/assets/css/scss/controls/toggle.scss:
--------------------------------------------------------------------------------
1 | .wp-admin .checkbox_switch {
2 | display: inline-block;
3 | width: 100%;
4 | margin-bottom: 15px;
5 | }
6 |
7 | .customize-control-title.onoffswitch_label {
8 | width: 71%;
9 | }
10 |
11 | .onoffswitch_label {
12 | display: inline-block;
13 | vertical-align: top;
14 | margin-right: 21px;
15 | margin-top: -1px;
16 | }
17 |
18 | .onoffswitch {
19 | position: relative;
20 | width: 52px;
21 | display: inline-block;
22 | float: right;
23 | -webkit-user-select: none;
24 | -moz-user-select: none;
25 | -ms-user-select: none;
26 | }
27 |
28 | .onoffswitch-checkbox {
29 | display: none !important;
30 | }
31 |
32 | .onoffswitch-label {
33 | display: block;
34 | overflow: hidden;
35 | cursor: pointer;
36 | height: 22px;
37 | padding: 0;
38 | line-height: 19px;
39 | transition: background-color 0.2s ease-in;
40 | -webkit-border-radius: 11px;
41 | -moz-border-radius: 11px;
42 | border-radius: 30px;
43 | background-color: #c4c4c4;
44 | -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, .11);
45 | -moz-box-shadow: inset 0 2px 1px rgba(0, 0, 0, .11);
46 | box-shadow: inset 0 2px 1px rgba(0, 0, 0, .11);
47 | &:before {
48 | content: "";
49 | display: block;
50 | width: 18px;
51 | height: 18px;
52 | margin: 0;
53 | position: absolute;
54 | top: 2px;
55 | bottom: 0;
56 | right: 32px;
57 | background-color: #fff;
58 | -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .1);
59 | -moz-box-shadow: 0 0 3px rgba(0, 0, 0, .1);
60 | box-shadow: 0 0 3px rgba(0, 0, 0, .1);
61 | -webkit-border-radius: 10px;
62 | -moz-border-radius: 10px;
63 | border-radius: 10px;
64 | transition: all 0.2s ease-in 0s;
65 | }
66 | &:after {
67 | content: "OFF";
68 | display: block;
69 | color: #FFF;
70 | position: absolute;
71 | top: 2px;
72 | bottom: 2px;
73 | right: 6px;
74 | font-size: 11px;
75 | font-family: 'Arial';
76 | }
77 | }
78 |
79 |
80 |
81 | .onoffswitch-checkbox:checked + .onoffswitch-label {
82 | background-color: #3caf0e;
83 | }
84 |
85 | .onoffswitch-checkbox:checked + .onoffswitch-label,
86 | .onoffswitch-checkbox:checked + .onoffswitch-label:before {
87 | border-color: #3caf0e;
88 | }
89 |
90 | .onoffswitch-checkbox:checked + .onoffswitch-label:before {
91 | right: 2px;
92 | }
93 |
94 | .onoffswitch-checkbox:checked + .onoffswitch-label:after {
95 | content: "ON";
96 | display: block;
97 | color: #FFF;
98 | position: absolute;
99 | top: 2px;
100 | bottom: 2px;
101 | right: 27px;
102 | font-size: 11px;
103 | font-family: 'Arial';
104 | }
105 |
106 | .widget-content .customize-control-title {
107 | font-weight: 400;
108 | }
109 |
110 | .widget-content .customize-control-title.onoffswitch_label {
111 | width: 65%;
112 | margin-right: 26px;
113 | }
--------------------------------------------------------------------------------
/assets/less/mixins/forms.less:
--------------------------------------------------------------------------------
1 | // Form validation states
2 | //
3 | // Used in forms.less to generate the form validation CSS for warnings, errors,
4 | // and successes.
5 |
6 | .form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
7 | // Color the label and help text
8 | .help-block,
9 | .control-label,
10 | .radio,
11 | .checkbox,
12 | .radio-inline,
13 | .checkbox-inline,
14 | &.radio label,
15 | &.checkbox label,
16 | &.radio-inline label,
17 | &.checkbox-inline label {
18 | color: @text-color;
19 | }
20 | // Set the border and box shadow on specific inputs to match
21 | .form-control {
22 | border-color: @border-color;
23 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
24 | &:focus {
25 | border-color: darken(@border-color, 10%);
26 | @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
27 | .box-shadow(@shadow);
28 | }
29 | }
30 | // Set validation states also for addons
31 | .input-group-addon {
32 | color: @text-color;
33 | border-color: @border-color;
34 | background-color: @background-color;
35 | }
36 | // Optional feedback icon
37 | .form-control-feedback {
38 | color: @text-color;
39 | }
40 | }
41 |
42 |
43 | // Form control focus state
44 | //
45 | // Generate a customized focus state and for any input with the specified color,
46 | // which defaults to the `@input-border-focus` variable.
47 | //
48 | // We highly encourage you to not customize the default value, but instead use
49 | // this to tweak colors on an as-needed basis. This aesthetic change is based on
50 | // WebKit's default styles, but applicable to a wider range of browsers. Its
51 | // usability and accessibility should be taken into account with any change.
52 | //
53 | // Example usage: change the default blue border and shadow to white for better
54 | // contrast against a dark gray background.
55 | .form-control-focus(@color: @input-border-focus) {
56 | @color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
57 | &:focus {
58 | border-color: @color;
59 | .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
60 | }
61 | }
62 |
63 | // Form control sizing
64 | //
65 | // Relative text size, padding, and border-radii changes for form controls. For
66 | // horizontal sizing, wrap controls in the predefined grid classes. `