Skip to content

Commit

Permalink
v3.4.6 build
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeo committed Oct 25, 2018
1 parent 8cef66f commit 6fef147
Show file tree
Hide file tree
Showing 25 changed files with 261 additions and 97 deletions.
2 changes: 1 addition & 1 deletion __grunt-tasks-config__
Submodule __grunt-tasks-config__ updated from fb8134 to 06a25e
41 changes: 41 additions & 0 deletions assets/front/css/dev-common.css
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,47 @@ a + span.hu-external:after {
font-variant: normal;
text-rendering: auto;
line-height: 1;
}

/* Gutenberg
/* ------------------------------------ */
/* cover images */
/*
* Real alignfull and alignwide
* allowed only in layouts with no sidebars and full-width
*/
.full-width.col-1c #wrapper {
overflow-x: hidden;
}
.content .post,
.content .page {
overflow: visible;
}
/* alignfull */
.full-width.col-1c .wp-block-cover-image.alignfull {
width: 100vw;
max-width: 100vw;
position: relative;
margin-left: 0;
margin-right: 0;
}
.full-width.col-1c .wp-block-cover-image.alignfull:not(.has-parallax) {
left: 50%;
-moz-transform: translateX(-50);
-webkit-transform: translateX(-50);
transform: translateX(-50%);
}
.full-width.col-1c .wp-block-cover-image.alignfull.has-parallax:not(.hu-alignfull-p) {
width: 100%;
}
/* alignwide and alignfull in boxed layouts */
/* only reset the .pad container horizontal padding*/
.entry-inner > .wp-block-cover-image.alignfull,
.entry-inner > .wp-block-cover-image.alignwide {
margin-right: -30px;
margin-left: -30px;
clear: both;
width: auto;
}/* ------------------------------------------------------------------------- *
* Post Formats
/* ------------------------------------------------------------------------- */
Expand Down
41 changes: 41 additions & 0 deletions assets/front/css/main-not-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,47 @@ a + span.hu-external:after {
font-variant: normal;
text-rendering: auto;
line-height: 1;
}

/* Gutenberg
/* ------------------------------------ */
/* cover images */
/*
* Real alignfull and alignwide
* allowed only in layouts with no sidebars and full-width
*/
.full-width.col-1c #wrapper {
overflow-x: hidden;
}
.content .post,
.content .page {
overflow: visible;
}
/* alignfull */
.full-width.col-1c .wp-block-cover-image.alignfull {
width: 100vw;
max-width: 100vw;
position: relative;
margin-left: 0;
margin-right: 0;
}
.full-width.col-1c .wp-block-cover-image.alignfull:not(.has-parallax) {
left: 50%;
-moz-transform: translateX(-50);
-webkit-transform: translateX(-50);
transform: translateX(-50%);
}
.full-width.col-1c .wp-block-cover-image.alignfull.has-parallax:not(.hu-alignfull-p) {
width: 100%;
}
/* alignwide and alignfull in boxed layouts */
/* only reset the .pad container horizontal padding*/
.entry-inner > .wp-block-cover-image.alignfull,
.entry-inner > .wp-block-cover-image.alignwide {
margin-right: -30px;
margin-left: -30px;
clear: both;
width: auto;
}/* ------------------------------------------------------------------------- *
* Post Formats
/* ------------------------------------------------------------------------- */
Expand Down
2 changes: 1 addition & 1 deletion assets/front/css/main-not-responsive.min.css

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions assets/front/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,47 @@ a + span.hu-external:after {
font-variant: normal;
text-rendering: auto;
line-height: 1;
}

/* Gutenberg
/* ------------------------------------ */
/* cover images */
/*
* Real alignfull and alignwide
* allowed only in layouts with no sidebars and full-width
*/
.full-width.col-1c #wrapper {
overflow-x: hidden;
}
.content .post,
.content .page {
overflow: visible;
}
/* alignfull */
.full-width.col-1c .wp-block-cover-image.alignfull {
width: 100vw;
max-width: 100vw;
position: relative;
margin-left: 0;
margin-right: 0;
}
.full-width.col-1c .wp-block-cover-image.alignfull:not(.has-parallax) {
left: 50%;
-moz-transform: translateX(-50);
-webkit-transform: translateX(-50);
transform: translateX(-50%);
}
.full-width.col-1c .wp-block-cover-image.alignfull.has-parallax:not(.hu-alignfull-p) {
width: 100%;
}
/* alignwide and alignfull in boxed layouts */
/* only reset the .pad container horizontal padding*/
.entry-inner > .wp-block-cover-image.alignfull,
.entry-inner > .wp-block-cover-image.alignwide {
margin-right: -30px;
margin-left: -30px;
clear: both;
width: auto;
}/* ------------------------------------------------------------------------- *
* Post Formats
/* ------------------------------------------------------------------------- */
Expand Down
2 changes: 1 addition & 1 deletion assets/front/css/main.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/front/js/_parts
36 changes: 36 additions & 0 deletions assets/front/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4044,6 +4044,41 @@ var czrapp = czrapp || {};
});
}
);
},
gutenbergAlignfull : function() {
var _coverImageSelector = '.full-width.col-1c .wp-block-cover-image.alignfull',
_coverWParallaxImageSelector = _coverImageSelector + '.has-parallax',
_classParallaxTreatmentApplied = 'hu-alignfull-p',
_styleId = 'hu-gutenberg-alignfull',
$_RefWidthElement = czrapp.$_body;

if ( $( _coverImageSelector ).length > 0 ) {
_add_alignfull_style();
_add_parallax_treatment_style();
czrapp.userXP.windowWidth.bind( function() {
_add_alignfull_style();
_add_parallax_treatment_style();
});
}
function _add_parallax_treatment_style() {
$( _coverWParallaxImageSelector ).each(function() {
$(this)
.css( 'left', '' )
.css( 'left', -1 * $(this).offset().left )
.addClass(_classParallaxTreatmentApplied);
});
}
function _add_alignfull_style() {
var newWidth = $_RefWidthElement[0].getBoundingClientRect().width,
$_style = $( 'head #' + _styleId );

if ( 1 > $_style.length ) {
$_style = $('<style />', { 'id' : _styleId });
$( 'head' ).append( $_style );
$_style = $( 'head #' + _styleId );
}
$_style.html( _coverImageSelector + '{width:'+ newWidth +'px}' );
}
}

};//_methods{}
Expand Down Expand Up @@ -4270,6 +4305,7 @@ var czrapp = czrapp || {};
'dropdownMenu',
'mobileMenu',
'topNavToLife',
'gutenbergAlignfull',
'mayBePrintWelcomeNote'
]
}
Expand Down
2 changes: 1 addition & 1 deletion assets/front/js/scripts.min.js

Large diffs are not rendered by default.

Binary file modified languages/en_CA.mo
Binary file not shown.
25 changes: 13 additions & 12 deletions languages/en_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Themes - Hueman\n"
"Report-Msgid-Bugs-To: https://presscustomizr.com/contact/\n"
"POT-Creation-Date: 2018-10-13 09:13:22+00:00\n"
"POT-Creation-Date: 2018-10-25 09:20:14+00:00\n"
"PO-Revision-Date: 2016-11-04 13:55+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -218,7 +218,8 @@ msgstr ""
"(Mac)."

#: functions/admin/class-admin-update-notification.php:96
msgid "Good, you've just upgraded to"
#, fuzzy
msgid "Good, you've recently upgraded to"
msgstr "Good, you've just upgraded to"

#: functions/admin/class-admin-update-notification.php:98
Expand Down Expand Up @@ -768,7 +769,7 @@ msgid "Body Background"
msgstr "Body Background"

#: functions/class-utils-settings-map.php:324
#: functions/init-after-setup-theme.php:203
#: functions/init-after-setup-theme.php:206
msgid "Set the website background color"
msgstr ""

Expand All @@ -795,7 +796,7 @@ msgid "Open external links in a new tab"
msgstr ""

#: functions/class-utils-settings-map.php:388
#: functions/init-after-setup-theme.php:163
#: functions/init-after-setup-theme.php:166
msgid "Create and organize your social links"
msgstr ""

Expand Down Expand Up @@ -1745,12 +1746,12 @@ msgid "SITE ICON"
msgstr "SITE ICON"

#: functions/czr/class-czr-init.php:461
#: functions/init-after-setup-theme.php:242
#: functions/init-after-setup-theme.php:245
msgid "Create And Order Widget Areas"
msgstr ""

#: functions/czr/class-czr-init.php:465 functions/czr/class-czr-init.php:496
#: functions/init-after-setup-theme.php:244
#: functions/init-after-setup-theme.php:247
msgid ""
"You must save changes for the new areas to appear below. <br /><i>Warning: "
"Make sure each area has a unique ID.</i>"
Expand Down Expand Up @@ -2568,29 +2569,29 @@ msgstr ""
msgid "Select a layout for this page."
msgstr ""

#: functions/init-after-setup-theme.php:97
#: functions/init-after-setup-theme.php:100
msgid "Topbar"
msgstr ""

#: functions/init-after-setup-theme.php:98
#: functions/init-after-setup-theme.php:101
msgid ""
"Mobile. You can set a specific menu for mobile devices. If not set, the "
"theme will use the menu assigned to the Topbar, or the Header."
msgstr ""

#: functions/init-after-setup-theme.php:99
#: functions/init-after-setup-theme.php:102
msgid "Header"
msgstr "Header"

#: functions/init-after-setup-theme.php:100
#: functions/init-after-setup-theme.php:103
msgid "Footer"
msgstr "Footer"

#: functions/init-after-setup-theme.php:156
#: functions/init-after-setup-theme.php:159
msgid "Social links"
msgstr "Social links"

#: functions/init-after-setup-theme.php:202
#: functions/init-after-setup-theme.php:205
#, fuzzy
msgid "Site Wide Body Background"
msgstr "Body Background"
Expand Down
Binary file modified languages/es_VE.mo
Binary file not shown.
26 changes: 13 additions & 13 deletions languages/es_VE.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Hueman v3.4.5\n"
"Project-Id-Version: Hueman v3.4.6\n"
"Report-Msgid-Bugs-To: https://presscustomizr.com/contact/\n"
"POT-Creation-Date: 2018-10-13 09:13:22+00:00\n"
"POT-Creation-Date: 2018-10-25 09:20:14+00:00\n"
"PO-Revision-Date: 2016-05-30 08:46+0200\n"
"Last-Translator: José Subero | @arawako and Ernesto Chapon <jose.Language-"
"Team: Press Customizr>\n"
Expand Down Expand Up @@ -222,7 +222,7 @@ msgid ""
msgstr ""

#: functions/admin/class-admin-update-notification.php:96
msgid "Good, you've just upgraded to"
msgid "Good, you've recently upgraded to"
msgstr ""

#: functions/admin/class-admin-update-notification.php:98
Expand Down Expand Up @@ -761,7 +761,7 @@ msgid "Body Background"
msgstr ""

#: functions/class-utils-settings-map.php:324
#: functions/init-after-setup-theme.php:203
#: functions/init-after-setup-theme.php:206
msgid "Set the website background color"
msgstr ""

Expand All @@ -788,7 +788,7 @@ msgid "Open external links in a new tab"
msgstr ""

#: functions/class-utils-settings-map.php:388
#: functions/init-after-setup-theme.php:163
#: functions/init-after-setup-theme.php:166
msgid "Create and organize your social links"
msgstr ""

Expand Down Expand Up @@ -1735,12 +1735,12 @@ msgid "SITE ICON"
msgstr ""

#: functions/czr/class-czr-init.php:461
#: functions/init-after-setup-theme.php:242
#: functions/init-after-setup-theme.php:245
msgid "Create And Order Widget Areas"
msgstr ""

#: functions/czr/class-czr-init.php:465 functions/czr/class-czr-init.php:496
#: functions/init-after-setup-theme.php:244
#: functions/init-after-setup-theme.php:247
msgid ""
"You must save changes for the new areas to appear below. <br /><i>Warning: "
"Make sure each area has a unique ID.</i>"
Expand Down Expand Up @@ -2526,29 +2526,29 @@ msgstr ""
msgid "Select a layout for this page."
msgstr ""

#: functions/init-after-setup-theme.php:97
#: functions/init-after-setup-theme.php:100
msgid "Topbar"
msgstr ""

#: functions/init-after-setup-theme.php:98
#: functions/init-after-setup-theme.php:101
msgid ""
"Mobile. You can set a specific menu for mobile devices. If not set, the "
"theme will use the menu assigned to the Topbar, or the Header."
msgstr ""

#: functions/init-after-setup-theme.php:99
#: functions/init-after-setup-theme.php:102
msgid "Header"
msgstr ""

#: functions/init-after-setup-theme.php:100
#: functions/init-after-setup-theme.php:103
msgid "Footer"
msgstr ""

#: functions/init-after-setup-theme.php:156
#: functions/init-after-setup-theme.php:159
msgid "Social links"
msgstr ""

#: functions/init-after-setup-theme.php:202
#: functions/init-after-setup-theme.php:205
msgid "Site Wide Body Background"
msgstr ""

Expand Down
Binary file modified languages/hr_HR.mo
Binary file not shown.
Loading

0 comments on commit 6fef147

Please sign in to comment.