Skip to content

Commit

Permalink
Merge pull request #214 from addonify/development
Browse files Browse the repository at this point in the history
New color options
  • Loading branch information
Asok17 authored Jan 17, 2024
2 parents 1682861 + 7447169 commit 78f1f15
Show file tree
Hide file tree
Showing 92 changed files with 13,313 additions and 31,553 deletions.
5 changes: 3 additions & 2 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/.github
/node_modules
/admin/src/
/admin/assets/scss/
/admin/assets/scss/
/public/assets/src/

.distignore
Expand All @@ -20,4 +20,5 @@ package.json
package-lock.json
sftp-config.json
composer.json
composer.lock
composer.lock
notice.json
26 changes: 4 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
# ignore everything in the root except the "wp-content" directory.
!wp-content/
# DIR

# ignore everything in the "wp-content" directory, except:
# "mu-plugins", "plugins", "themes" directory
wp-content/*
!wp-content/mu-plugins/
!wp-content/plugins/
!wp-content/themes/
node_modules

# ignore these plugins
wp-content/plugins/hello.php

# ignore specific themes
wp-content/themes/twenty*/

# ignore node dependency directories
node_modules/

# ignore log files and databases
*.log
*.sql
*.sqlite
.vscode/sftp.json
# FILES
.env
Binary file modified .wordpress-org/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Contributors: addonify
Tags: compare, woocommerce compare, products comparison, compare products, compare woocommerce, addonify, woocommerce
Requires at least: 5.9
Tested up to: 6.4.0
Stable tag: 1.1.12
Requires at least: 6.3
Tested up to: 6.4.2
Stable tag: 1.1.13
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -102,6 +102,16 @@ Yes, you can do it. Copy template from "/public/templates" the plugin's folder a

== Changelog ==

= 1.1.13 - 17 January, 2024 =

- Fixed: Comparison table not displaying in comparison page.
- New: Plugin setting page user interface.
- Added: Color options for comparison modal.
- Added: Color optoins for product search modal.
- Added: Dashboard notice in plugin setting page.
- Tested: WooCommerce version 8.5.1.
- Tested: WordPress version 6.4.2.

= 1.1.12 - 09 November, 2023 =

- Tested: WordPress v6.4.0
Expand Down
7 changes: 5 additions & 2 deletions addonify-compare-products.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
* Plugin Name: Addonify - Compare Products For WooCommerce
* Plugin URI: https://wordpress.org/plugins/addonify-compare-products/
* Description: Addonify Compare Products is a WooCommerce extension that allows website visitors to compare multiple products on your online store.
* Version: 1.1.12
* Version: 1.1.13
* Tested up to: 6.4.2
* Requires at least: 6.3
* Requires PHP: 7.4
* Author: Addonify
* Author URI: https://addonify.com/
* License: GPL-2.0+
Expand All @@ -24,7 +27,7 @@
die;
}

define( 'ADDONIFY_COMPARE_PRODUCTS_VERSION', '1.1.12' );
define( 'ADDONIFY_COMPARE_PRODUCTS_VERSION', '1.1.13' );
define( 'ADDONIFY_COMPARE_PRODUCTS_BASENAME', plugin_basename( __FILE__ ) );
define( 'ADDONIFY_CP_DB_INITIALS', 'addonify_cp_' );
define( 'ADDONIFY_CP_PLUGIN_PATH', dirname( __FILE__ ) );
Expand Down
3 changes: 2 additions & 1 deletion admin/assets/css/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/assets/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/assets/js/vendor.js

Large diffs are not rendered by default.

18 changes: 13 additions & 5 deletions admin/assets/js/vendor.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/

/*!
* jQuery JavaScript Library v3.7.0
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-05-11T18:29Z
* Date: 2023-08-28T13:37Z
*/

/*! Element Plus Icons Vue v2.0.10 */
/*! #__NO_SIDE_EFFECTS__ */

/*! Element Plus Icons Vue v2.3.1 */

/**
* @vue/shared v3.4.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/

/**!
* Sortable 1.14.0
Expand Down
87 changes: 22 additions & 65 deletions admin/assets/scss/abstract/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* --------------------------------------------------------------------------
Mixin: Better Font Randering
Mixin: Better font rendering
-------------------------------------------------------------------------- */

@mixin better_font_rendering() {
Expand All @@ -8,10 +8,6 @@
-webkit-font-smoothing: antialiased;
}

@function make_rem($pxValue) {
@return #{stripUnit($pxValue) / stripUnit($html-font-size)}rem;
}

/* --------------------------------------------------------------------------
Mixin: Flex
-------------------------------------------------------------------------- */
Expand Down Expand Up @@ -46,16 +42,11 @@
Mixin: Transitions
-------------------------------------------------------------------------- */

@mixin transation_delay() {
@mixin transition_delay() {

transition: all 0.5s ease;
}

@mixin transation_delay_dymanic($value) {

transition: all $value ease;
}

/* --------------------------------------------------------------------------
Mixin: Visibility
-------------------------------------------------------------------------- */
Expand All @@ -64,12 +55,14 @@

opacity: 0;
visibility: hidden;
backface-visibility: hidden;
}

@mixin visibility_visible () {

opacity: 1;
visibility: visible;
backface-visibility: visible;
}

/* --------------------------------------------------------------------------
Expand All @@ -81,70 +74,34 @@
transform: scale($value);
}


/* --------------------------------------------------------------------------
Mixin: WooCommerce product columns.
Mixin: Gradient
-------------------------------------------------------------------------- */

@mixin grid_columns($columns) {

@if $columns == 1 {
grid-template-columns: repeat(1, 1fr);
}
@else if $columns == 2 {
grid-template-columns: repeat(2, 1fr);
}
@else if $columns == 3 {
grid-template-columns: repeat(3, 1fr);
}
@else if $columns == 4 {
grid-template-columns: repeat(4, 1fr);
}
@else if $columns == 5 {
grid-template-columns: repeat(5, 1fr);
}
@else if $columns == 6 {
grid-template-columns: repeat(6, 1fr);
}
@else {
grid-template-columns: repeat(1, 1fr);
}
@mixin background-clip() {

-webkit-background-clip: text;
-moz-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
}

@mixin heading_gradient( $color: 'purple') {

/* --------------------------------------------------------------------------
Mixin: Screen reader text
-------------------------------------------------------------------------- */
@if $color == 'purple' {

@mixin screen_reader_text() {

border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
}

@include background-clip();
}

/* --------------------------------------------------------------------------
Mixin: Clearfix
Mixin: Jumbo Box Shadow
-------------------------------------------------------------------------- */

@mixin jumbo_box_shadow() {

@mixin clearfix() {

&::before,
&::after {

content: "";
display: table;
}

&::after {

clear: both;
}
box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
}
12 changes: 7 additions & 5 deletions admin/assets/scss/abstract/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

// Base colors
--addonify_primary_color: #0286e7;
--addonify_seconary_color: #00b32a;
--addonify_secondary_color: #00b32a;
--addonify_base_text_color: #585858;
--addonify_base_link_color: #0366E0; // default link color
--addonify_base_link_hover_color: var(--addonify_seconary_color);
--addonify_base_link_hover_color: var(--addonify_secondary_color);
--addonify_border_color: #d5d5d5;

// Buttons
Expand All @@ -31,9 +31,9 @@
--addonify_button_border_style: solid;

--addonify_text_button_color: var(--addonify_primary_color);
--addonify_text_button_hover_color: var(--addonify_seconary_color);
--addonify_text_button_hover_color: var(--addonify_secondary_color);
--addonify_text_button_underline_color: var(--addonify_primary_color);
--addonify_text_button_hover_underline_color: var(--addonify_seconary_color);
--addonify_text_button_hover_underline_color: var(--addonify_secondary_color);
--addonify_text_button_underline_height: 3px;

--addonify_button_is_link_style_text_color: #ef2c2c;
Expand All @@ -46,9 +46,11 @@
-------------------------------------------------------------------------- */

// typography
--addonify_system_font_family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, Inter, Roboto, Segoe ui, System ui, sans-serif; // websafe
--addonify_system_font_family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, Inter, Roboto, Segoe ui, System ui, sans-serif; // web-safe
--addonify_monospace_font_family: monospace;

--addonify_font_family: 'Inter', sans-serif;

--addonify_button_font_size: 15px; // 14px: 15px: 0.9375rem [16px: 1rem]
--addonify_button_font_weight: normal;
--addonify_button_line_height: 1;
Expand Down
68 changes: 0 additions & 68 deletions admin/assets/scss/base/_alerts.scss

This file was deleted.

Loading

0 comments on commit 78f1f15

Please sign in to comment.