Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
b7f23d0
todo done
danyj Feb 2, 2019
7479538
recommend creatus-extended instead thz-core
danyj Feb 2, 2019
6141ebe
removed child theme from autosetup
danyj Feb 2, 2019
348e390
added Creatus Extended to autosetup
danyj Feb 2, 2019
ee00b90
removed child theme zip link
danyj Feb 2, 2019
1b722b7
removed thz plugins reinstall
danyj Feb 2, 2019
df54af4
moved widgets to plugin
danyj Feb 2, 2019
56fccc2
moved builder templates to plugin
danyj Feb 3, 2019
cec929e
moved demos utility to plugin
danyj Feb 3, 2019
5256c04
removed unused filter
danyj Feb 3, 2019
e0a407f
moved API fonts to plugin
danyj Feb 3, 2019
2f41570
introduce thz_creatus_extended function
danyj Feb 3, 2019
d5f64d9
check thz_creatus_extended first
danyj Feb 3, 2019
51968c7
updated language
danyj Feb 3, 2019
b71d524
updated placeholder images
danyj Feb 6, 2019
486cbb5
added stocksnap images credits
danyj Feb 6, 2019
002475f
display images in a list
danyj Feb 6, 2019
fa78307
load custom hero defaults if fw not active
danyj Feb 6, 2019
1a5d9ab
if no fw and is home turn off page title
danyj Feb 6, 2019
8ac2fe9
added customizer default hero and branding options
danyj Feb 6, 2019
4b2318b
fixed missing tranlation strings
danyj Feb 7, 2019
fe5ff8f
better description
danyj Feb 7, 2019
70d308e
updated screenshot
danyj Feb 7, 2019
2e5af54
updated lang
danyj Feb 8, 2019
030ccea
added notice for theme plugins
danyj Feb 8, 2019
decb4ac
only include for customizer
danyj Feb 8, 2019
db5070a
version bump
danyj Feb 8, 2019
93e8341
Merge branch 'master' into WP-Org-Prep
danyj Feb 20, 2019
4378750
Version bump for WP org
danyj Feb 20, 2019
d9468a4
Merge branch 'master' into WP-Org-Prep
danyj Feb 23, 2019
3a9eab4
Merge branch 'master' into WP-Org-Prep
danyj Feb 27, 2019
59ce082
Merge branch 'master' into WP-Org-Prep
danyj Feb 27, 2019
57d8a93
Merge branch 'master' into WP-Org-Prep
danyj Feb 28, 2019
acd6dd6
Merge branch 'master' into WP-Org-Prep
danyj Mar 4, 2019
0f12fd8
Version bump for WP org
danyj Mar 4, 2019
1b190c6
Merge branch 'master' into WP-Org-Prep
danyj Mar 13, 2019
32e387e
prefix global variables
danyj Mar 13, 2019
2428f0a
ignore
danyj Mar 13, 2019
77ce80f
Merge branch 'master' into WP-Org-Prep
danyj Mar 13, 2019
af9e5a4
ignore
danyj Mar 13, 2019
7dff895
Version bump for WP org
danyj Mar 13, 2019
0fd27cf
removed jQuery Easing and unused plugins, iScroll and Scrollify
danyj Mar 17, 2019
1bd8be0
added images credits to readme.txt
danyj Mar 17, 2019
2e9a89c
updated license for jQuery Easing
danyj Mar 18, 2019
bcb7745
added scripts dev folder for unminified plugins
danyj Mar 18, 2019
7940dbe
added missing license to ThzScrollFade
danyj Mar 18, 2019
1df08e0
Version bump for WP org
danyj Mar 18, 2019
b32a7bb
Merge branch 'master' into WP-Org-Prep
danyj Mar 25, 2019
d5b6e62
bs 3.4.1 update
danyj Mar 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Have a bug or a request? Please open an issue [here](https://github.com/Themezly
## Credits

jQuery Easing, Copyright 2008 George McGinley Smith
Licenses: BSD
Licenses: Open source under the 3-Clause BSD License
Source: http://gsgd.co.uk/sandbox/jquery/easing/

Isotope, Copyright 2015 Metafizzy
Expand Down Expand Up @@ -185,4 +185,15 @@ Source: https://necolas.github.io/normalize.css/

Font Awesome icons, Copyright Dave Gandy
License: SIL Open Font License, version 1.1.
Source: http://fontawesome.io/
Source: http://fontawesome.io/

## Images

License: Creative Commons CC0
Source: https://stocksnap.io

* https://stocksnap.io/photo/J2KJ6CNZTC
* https://stocksnap.io/photo/0PTTRQX5L1
* https://stocksnap.io/photo/NOFSYE1P0V
* https://stocksnap.io/photo/BBA96CDDCD
* https://stocksnap.io/photo/O9V8SGL6FD
29 changes: 28 additions & 1 deletion assets/css/thz-layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
# Panels
# Thz Sliders Extension
# Thz Sections slider
# Site offline
# Site offline
# Customizer Hero
# Clearings


Expand Down Expand Up @@ -4061,6 +4062,32 @@ html.searchOpen:not(.canvasOpen) .thz-body-box {
opacity:0.8;
}

/* ============================================
# Customizer Hero
============================================ */

#thz-customizer-hero{
padding:14vw 0;
text-align:center;
background:#fafafa;
}
#thz-customizer-hero .thz-heading-before{
display:block;
font-weight: 600;
letter-spacing:1px;
color: #ccc;
text-transform: uppercase;
margin:0 0 15px;
}
#thz-customizer-hero .thz-heading-title{
font-size:58px;
text-align: center;
margin:0 auto;
}
#thz-customizer-hero .thz-heading-sub{
font-size:16px;
}

/* ============================================
# Clearings
============================================ */
Expand Down
Binary file modified assets/images/placeholders/1.jpg
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 assets/images/placeholders/2.jpg
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 assets/images/placeholders/3.jpg
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 assets/images/placeholders/4.jpg
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 assets/images/placeholders/5.jpg
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 assets/images/placeholders/thumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 112 additions & 0 deletions assets/js/dev/ThzCountdown.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/**
* @plugin ThzCountdown
* @version 1.0.0
* @package Thz Framework
* @copyright Copyright(C) since 2015 Themezly.com. All Rights Reserved.
* @author Themezly
* @license MIT License (MIT) http://www.opensource.org/licenses/mit-license.php
* @websites http://www.themezly.com | http://www.youjoomla.com
*/
(function($) {
$.fn.ThzCountdown = function(options, callback) {


return this.each(function() {

var settings = JSON.parse($(this).attr('data-settings'));

// date is not set
if (!settings.date) {
$.error('Date is not defined.');
}

// incorrect date
if (!Date.parse(settings.date)) {
$.error('Please insert folowing date format; 12/24/2012 12:00:00.');
}


// Save container
var container = $(this);

/**
* Change client's local date to match offset timezone
* @return {Object} Fixed Date object.
*/

var currentDate = function() {
// get client's current date
var date = new Date();

// turn date to utc
var utc = date.getTime() + (date.getTimezoneOffset() * 60000);

// set new Date object
var new_date = new Date(utc + (3600000 * settings.offset));

return new_date;
};

/**
* Main countdown function that calculates everything
*/
function countdown() {
var target_date = new Date(settings.date), // set target date
current_date = currentDate(); // get fixed current date

// difference of dates
var difference = target_date - current_date;

// if difference is negative than it's pass the target date
if (difference < 0) {
// stop timer
clearInterval(interval);

if (callback && typeof callback === 'function') callback();

return;
}

// basic math variables
var _second = 1000,
_minute = _second * 60,
_hour = _minute * 60,
_day = _hour * 24;

// calculate dates
var days = Math.floor(difference / _day),
hours = Math.floor((difference % _day) / _hour),
minutes = Math.floor((difference % _hour) / _minute),
seconds = Math.floor((difference % _minute) / _second);

// based on the date change the reference text
var text_days = (days === 1) ? settings.day : settings.days,
text_hours = (hours === 1) ? settings.hour : settings.hours,
text_minutes = (minutes === 1) ? settings.minute : settings.minutes,
text_seconds = (seconds === 1) ? settings.second : settings.seconds;

// fix dates so that it will show two digits
days = (String(days).length >= 2) ? days : '0' + days;
hours = (String(hours).length >= 2) ? hours : '0' + hours;
minutes = (String(minutes).length >= 2) ? minutes : '0' + minutes;
seconds = (String(seconds).length >= 2) ? seconds : '0' + seconds;

// set to DOM
container.find('.thz-cd-d').text(days);
container.find('.thz-cd-h').text(hours);
container.find('.thz-cd-m').text(minutes);
container.find('.thz-cd-s').text(seconds);

container.find('.thz-cd-dt').text(text_days);
container.find('.thz-cd-ht').text(text_hours);
container.find('.thz-cd-mt').text(text_minutes);
container.find('.thz-cd-st').text(text_seconds);
}
// start

var interval = setInterval(countdown, 1000);
});

};

})(jQuery);
112 changes: 112 additions & 0 deletions assets/js/dev/ThzGetTransform.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/**
* @package Thz Get Transform Decompose Matrix
* @copyright Copyright(C) FT Web Studio Inc since 2015. All Rights Reserved.
* @author Themezly
* @license MIT License (MIT) http://www.opensource.org/licenses/mit-license.php
* @websites http://www.themezly.com | http://www.youjoomla.com
*/
(function($) {

$.fn.ThzGetTransform = function(options) {

var matrix = this.is(":visible") ? this.css( 'transform' ) : this.actual( 'transform' );

if( matrix == 'none' ){
return;
}

var a = matrix.split('(')[1].split(')')[0].split(',');

var angle = Math.atan2(a[1], a[0]),
denom = Math.pow(a[0], 2) + Math.pow(a[1], 2),
scaleX = Math.sqrt(denom),
scaleY = (a[0] * a[3] - a[2] * a[1]) / scaleX,
skewX = Math.atan2(a[0] * a[2] + a[1] * a[3], denom);
var data = {
angle: angle / (Math.PI / 180), // this is rotation angle in degrees
scaleX: scaleX, // scaleX factor
scaleY: scaleY, // scaleY factor
skewX: skewX / (Math.PI / 180), // skewX angle degrees
skewY: 0, // skewY angle degrees
translateX: a[4], // translation point x
translateY: a[5] // translation point y
};

function ThzHas3d() {

if (!window.getComputedStyle) {
return false;
}

var el = document.createElement('p'),
has3d,
transforms = {
'webkitTransform':'-webkit-transform',
'OTransform':'-o-transform',
'msTransform':'-ms-transform',
'MozTransform':'-moz-transform',
'transform':'transform'
};

// Add it to the body to get the computed style.
document.body.insertBefore(el, null);

for (var t in transforms) {
if (el.style[t] !== undefined) {
el.style[t] = "translate3d(1px,1px,1px)";
has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]);
}
}

document.body.removeChild(el);

return (has3d !== undefined && has3d.length > 0 && has3d !== "none");
}




if( options.current ){

var current = [];

if( data.angle != 0 ){
current.push('rotate('+data.angle+'deg)');
}

var scale = parseFloat(data.scaleX) + parseFloat(data.scaleY);
if( scale.toFixed(2) != 2 ){
current.push('scale('+data.scaleX+','+data.scaleY+')');
}

var skew = parseFloat(data.skewX) + parseFloat(data.skewY);
if( skew != 0){
current.push('skew('+data.skewX+','+data.skewY+')');
}

if( data.translateX != 0 || data.translateY != 0 ){

var $translate = ThzHas3d() ? 'translate3d('+data.translateY+','+data.translateX+',0px)' : 'translate('+data.translateY+','+data.translateX+')' ;

current.push($translate);
}

if( current.length > 0){

return current.join(' ');

}else{

return false;

}

}else{

return data;

}

};

})(jQuery);
Loading