Skip to content

Commit

Permalink
Merge pull request #150 from rupok/development
Browse files Browse the repository at this point in the history
update to v2.9.0
  • Loading branch information
rupok authored Jan 22, 2019
2 parents 87d94b0 + 02322c9 commit 9379ace
Show file tree
Hide file tree
Showing 62 changed files with 3,142 additions and 1,044 deletions.
1 change: 0 additions & 1 deletion admin/assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ textarea.eael-form-control {
animation-iteration-count: infinite;
animation-timing-function: linear;
}
}

@-webkit-keyframes rotate {
from {-webkit-transform: rotate(0deg);}
Expand Down
157 changes: 95 additions & 62 deletions admin/assets/css/eael-notice.css
Original file line number Diff line number Diff line change
@@ -1,65 +1,98 @@

/* review notice */

.eael-review-notice {
padding: 10px;
background-color: #fff;
border-radius: 3px;
margin: 15px;
border-left: 4px solid transparent;
display: flex;
align-items: center;
}
.eael-review-notice:after{
content: '';
display: table;
clear: both;
}
.eael-review-thumbnail{
width: 90px;
float: left;
padding: 5px;
text-align: center;
border-right: 4px solid transparent;
}
.eael-review-thumbnail img {
width: 72px;
opacity: .85;
transition: all .3s;
}
.eael-review-thumbnail img:hover {
opacity: 1;
}
.eael-review-text{
overflow: hidden;
}
.eael-review-text h3{
font-size: 24px;
margin: 0 0 5px;
font-weight: 400;
line-height: 1.3;
}
.eael-review-text p{
font-size: 13px;
margin: 0 0 5px;
}
.eael-review-ul {
margin: 8px 0 0 0;
padding: 0;
}
.eael-review-ul li{
display: inline-block;
margin-right: 15px;
}
.eael-review-ul li a{
display: inline-block;
color: #10738B;
text-decoration: none;
padding-left: 26px;
position: relative;
}
.eael-review-ul li a span{
position: absolute;
left: 0;
top: -2px;
.wpdeveloper-review-notice {
padding: 10px;
background-color: #fff;
border-radius: 3px;
margin: 15px;
border-left: 4px solid transparent;
display: flex;
align-items: center;
}

.wpdeveloper-review-notice:after {
content: '';
display: table;
clear: both;
}

.wpdeveloper-notice-thumbnail {
width: 90px;
float: left;
padding: 5px;
text-align: center;
border-right: 4px solid transparent;
}

.wpdeveloper-notice-thumbnail img {
width: 72px;
opacity: .85;
transition: all .3s;
}

.wpdeveloper-notice-thumbnail img:hover {
opacity: 1;
}

.eael-review-text {
overflow: hidden;
}

.eael-review-text h3 {
font-size: 24px;
margin: 0 0 5px;
font-weight: 400;
line-height: 1.3;
}

.eael-review-text p {
font-size: 13px;
margin: 0 0 5px;
}

.wpdeveloper-notice-link {
margin: 8px 0 0 0;
padding: 0;
}

.wpdeveloper-notice-link li {
display: inline-block;
margin-right: 15px;
}

.wpdeveloper-notice-link li a {
display: inline-block;
color: #10738B;
text-decoration: none;
padding-left: 26px;
position: relative;
}

.wpdeveloper-notice-link li a span {
position: absolute;
left: 0;
top: -2px;
}

.wpdeveloper-upsale-notice .wpdeveloper-notice-message {
display: flex;
align-items: center;
padding: 10px 0;
}
.wpdeveloper-upsale-notice .wpdeveloper-notice-message + .notice-dismiss {
top: 18px;
}
.wpdeveloper-upsale-notice #plugin-install-core {
margin-left: 10px;
}
.notice.notice-has-thumbnail {
padding-left: 0px;
}

.wpdeveloper-upsale-notice {
display: flex;
}
.wpdeveloper-upsale-notice .wpdeveloper-notice-thumbnail {
padding: 0;
width: 80px;
}
4 changes: 4 additions & 0 deletions admin/assets/images/icon-extensions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions admin/assets/images/wpsp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions admin/partials/elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,27 @@
<?php _e( 'Offcanvas Content', 'essential-addons-elementor' ) ?>
</p>
</div>
<div class="eael-checkbox">
<input type="checkbox" id="advanced-menu" name="advanced-menu" disabled>
<label for="advanced-menu" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
<p class="eael-el-title">
<?php _e( 'Advanced Menu', 'essential-addons-elementor' ) ?>
</p>
</div>
<div class="eael-checkbox">
<input type="checkbox" id="image-scroller" name="image-scroller" disabled>
<label for="image-scroller" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
<p class="eael-el-title">
<?php _e( 'Image Scroller', 'essential-addons-elementor' ) ?>
</p>
</div>
<div class="eael-checkbox">
<input type="checkbox" id="woo-collections" name="woo-collections" disabled>
<label for="woo-collections" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
<p class="eael-el-title">
<?php _e( 'WooCommerce Product Collections', 'essential-addons-elementor' ) ?>
</p>
</div>
</div><!--./checkbox-container-->
<div class="eael-save-btn-wrap">
<button type="submit" class="button eael-btn js-eael-settings-save"><?php _e('Save settings', 'essential-addons-elementor'); ?></button>
Expand Down
32 changes: 32 additions & 0 deletions admin/partials/extensions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<div id="extensions" class="eael-settings-tab eael-extensions-list">
<div class="row">
<div class="col-full">
<!-- Content Element Starts -->
<h3>Available Extensions</h3>
<div class="eael-checkbox-container">

<div class="eael-checkbox">
<input type="checkbox" id="section-particles" name="section-particles" <?php checked( 1, $this->eael_get_settings['section-particles'], true ); ?> >
<label for="section-particles"></label>
<p class="eael-el-title"><?php _e( 'Section Particles Effect', 'essential-addons-elementor' ) ?></p>
</div>

</div>
<h3>Premium Extensions</h3>
<div class="eael-checkbox-container">

<div class="eael-checkbox">
<input type="checkbox" id="section-parallax" name="section-parallax" disabled>
<label for="section-parallax" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
<p class="eael-el-title"><?php _e( 'Section Parallax Scrolling', 'essential-addons-elementor' ) ?></p>
</div>

</div>
<!-- Content Element Ends -->

<div class="eael-save-btn-wrap">
<button type="submit" class="button eael-btn js-eael-settings-save"><?php _e('Save settings', 'essential-addons-elementor'); ?></button>
</div>
</div>
</div>
</div>
4 changes: 3 additions & 1 deletion admin/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Eael_Admin_Settings {
* @var array
* @since 2.3.0
*/
public $eael_default_keys = [ 'contact-form-7', 'count-down', 'creative-btn', 'fancy-text', 'img-comparison', 'instagram-gallery', 'interactive-promo', 'lightbox', 'post-block', 'post-grid', 'post-timeline', 'product-grid', 'team-members', 'testimonial-slider', 'testimonials', 'testimonials', 'weforms', 'static-product', 'call-to-action', 'flip-box', 'info-box', 'dual-header', 'price-table', 'flip-carousel', 'interactive-cards', 'ninja-form', 'gravity-form', 'caldera-form', 'wpforms', 'wisdom_registered_setting', 'twitter-feed', 'facebook-feed', 'twitter-feed-carousel', 'facebook-feed-carousel', 'data-table', 'filter-gallery', 'dynamic-filter-gallery', 'image-accordion', 'content-ticker', 'tooltip', 'adv-accordion', 'adv-tabs', 'progress-bar' ];
public $eael_default_keys = [ 'contact-form-7', 'count-down', 'creative-btn', 'fancy-text', 'interactive-promo', 'post-grid', 'post-block', 'post-timeline', 'product-grid', 'team-members', 'testimonials', 'weforms', 'call-to-action', 'flip-box', 'info-box', 'dual-header', 'price-table','ninja-form', 'gravity-form', 'caldera-form', 'wpforms', 'twitter-feed', 'facebook-feed', 'data-table', 'filter-gallery', 'image-accordion', 'content-ticker', 'tooltip', 'adv-accordion', 'adv-tabs', 'progress-bar', 'section-particles'];

/**
* Will Contain All Components Default Values
Expand Down Expand Up @@ -169,12 +169,14 @@ public function eael_admin_settings_page() {
<ul class="eael-tabs">
<li><a href="#general" class="active"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-settings.svg'; ?>"><span>General</span></a></li>
<li><a href="#elements"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-modules.svg'; ?>"><span>Elements</span></a></li>
<li><a href="#extensions"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-extensions.svg'; ?>"><span>Extensions</span></a></li>
<li><a href="#version-control"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-version-control.svg'; ?>"><span>Version Control</span></a></li>
<li><a href="#go-pro"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-upgrade.svg'; ?>"><span>Go Premium</span></a></li>
</ul>
<?php
include('partials/general.php');
include('partials/elements.php');
include('partials/extensions.php');
include('partials/version-control.php');
include('partials/go-pro.php');
?>
Expand Down
Loading

0 comments on commit 9379ace

Please sign in to comment.