Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
41 changes: 37 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,50 @@ const purgecss = require("@fullhuman/postcss-purgecss")({
return [...(els.tags || []), ...(els.classes || []), ...(els.ids || [])]
},
safelist: {
deep: [/^swiper-/, /^is-/, /^has-/, /^js-/, /^fl-builder-content/, /^fl-/, /^pp-/],
greedy: [/^swiper-/, /^is-/, /^has-/, /^js-/, /^fl-builder-content/, /^fl-/, /^pp-/]
standard: [
"button, input[type=button], input[type=submit]",
// pp adv menu
"pp-advanced-menu", "pp-advanced-menu-accordion-collapse", "off-canvas", "pp-menu-position-below",
"menu-close", "menu-open",
"pp-active", "focus", "pp-menu-submenu-right", "mega-menu-disabled", "mega-menu",
"pp-off-canvas-menu-module", "pp-off-canvas-menu-open", "pp-full-screen-menu-module",
"pp-full-screen-menu-open", "fl-node-menu-clone", "pp-search-form--focus", "first-click",

"pp-advanced-menu", "pp-advanced-menu-accordion-collapse", "pp-menu-default", "pp-menu-align-right",
"pp-menu-position-below", "fl-module-content", "fl-node-content",

// pp adv tabs
"pp-tabs", "pp-tabs-label", "pp-tab-active", "pp-tabs-panel", "pp-tabs-panel-content",
"pp-tabs-animation", "pp-no-border",

// fl-theme
"collapse", "fl-mobile-sub-menu-open", "current-menu-item", "fl-sub-menu-right", "fl-shrink-header-enabled",
"fl-show", "mega-menu-disabled", "mega-menu", /^mega-menu-items-/, "fl-responsive-nav-enabled",
"fl-nav-offcanvas-collapse",

// pp google form
// /^pp-gf/, "fl-button", "pp-button",

// sdb
"jt-active",
],

deep: [
/^fl-page/
],

greedy: [
/^swiper-/, /^is-/, /^has-/, /^js-/, /^fl-builder-content/, /^fl-col/, /^fl-node/,
]
},
blocklist: ["fl-theme-builder-header-sticky"]
})

module.exports = {
plugins: [
require("postcss-nested"),
require("postcss-delete-duplicate-css")({ isRemoveNull: true, isRemoveComment: true }),
purgecss,
require("postcss-delete-duplicate-css")({isRemoveNull: true, isRemoveComment: true}),
require("postcss-delete-duplicate-css")({ isRemoveNull: true, isRemoveComment: true }),
...(process.env.HUGO_ENVIRONMENT === "production" ? [require("autoprefixer"), require("cssnano")] : []),
],
}
Binary file modified tests/fixtures/screenshots/blog/index.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 tests/fixtures/screenshots/blog/post.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 tests/fixtures/screenshots/contact_us.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 tests/fixtures/screenshots/mobile/blog/index.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 tests/fixtures/screenshots/mobile/blog/post.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 tests/fixtures/screenshots/mobile/contact_us.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 2 additions & 25 deletions themes/beaver/assets/css/586.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Saved: Nov 25 2022 | 22:27:19 */
* icon and description on the Services menu
*/
/* General */
body:not(.fl-builder-edit) a, body:not(.fl-builder-edit) .fl-button, body:not(.fl-builder-edit) .pp-button, body:not(.fl-builder-edit) button, body:not(.fl-builder-edit) input[type="submit"] {
body a, body .fl-button, body .pp-button, body button, body input[type="submit"] {
transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
Expand All @@ -35,7 +35,7 @@ body:not(.fl-builder-edit) a, body:not(.fl-builder-edit) .fl-button, body:not(.f
}

@media (min-width: 861px) {
body:not(.fl-builder-edit) .single-sidebar {
body .single-sidebar {
position: sticky;
top: 12rem;
align-self: start;
Expand Down Expand Up @@ -698,29 +698,6 @@ footer .footer-menu.careers-text .fl-rich-text p:last-child a strong {
font-size: 0;
}

.jt-reviews-box .pp-reviews-wrapper .pp-reviews-swiper .swiper-wrapper .pp-review-item .pp-review .pp-review-header .pp-review-cite .pp-rating .pp-star-full::before {
content: "";
background: url("/wp-content/uploads/2022/09/single-star.png");
background-repeat: no-repeat;
background-size: contain;
width: 18px;
height: 18px;
}

.jt-reviews-box .pp-reviews-wrapper .pp-reviews-swiper .swiper-wrapper .pp-review-item .pp-review .pp-review-header .pp-review-cite .pp-rating .pp-star-0 {
font-size: 0;
}

.jt-reviews-box .pp-reviews-wrapper .pp-reviews-swiper .swiper-wrapper .pp-review-item .pp-review .pp-review-header .pp-review-cite .pp-rating .pp-star-0::before {
content: "";
background: url("/wp-content/uploads/2022/09/single-star.png");
background-repeat: no-repeat;
background-size: contain;
width: 18px;
height: 18px;
filter: grayscale(1);
}

.jt-reviews-box .pp-reviews-wrapper .pp-reviews-swiper .swiper-wrapper .pp-review-item .pp-review .pp-review-header .pp-review-cite .pp-rating i:not(:last-of-type) {
margin-right: 21px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}
}

Expand All @@ -1064,7 +1064,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}

.fl-node-menu .pp-advanced-menu-mobile-toggle {
Expand Down
4 changes: 2 additions & 2 deletions themes/beaver/assets/css/blog-layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}
}

Expand All @@ -2175,7 +2175,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}

.fl-node-menu .pp-advanced-menu-mobile-toggle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}
}

Expand All @@ -1054,7 +1054,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}

.fl-node-menu .pp-advanced-menu-mobile-toggle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}
}

Expand All @@ -1995,7 +1995,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}

.fl-node-menu .pp-advanced-menu-mobile-toggle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}
}

Expand All @@ -1995,7 +1995,7 @@ ul.pp-advanced-menu-horizontal li.mega-menu > ul.sub-menu ul.sub-menu {
}

.fl-node-menu .pp-advanced-menu-mobile {
justify-content: center;
justify-content: flex-end;
}

.fl-node-menu .pp-advanced-menu-mobile-toggle {
Expand Down
4 changes: 2 additions & 2 deletions themes/beaver/assets/css/qq.css
Original file line number Diff line number Diff line change
Expand Up @@ -18086,7 +18086,7 @@ body.fl-framework-base-4 .fl-woo-content-right,body.fl-framework-bootstrap-4 .fl
animation-name: slideOutUp;
}

@charset "UTF-8";body:not(.fl-builder-edit) a,body:not(.fl-builder-edit) .fl-button,body:not(.fl-builder-edit) .pp-button,body:not(.fl-builder-edit) button,body:not(.fl-builder-edit) input[type="submit"] {
@charset "UTF-8";body a,body .fl-button,body .pp-button,body button,body input[type="submit"] {
transition: all .3s ease-in-out;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
Expand All @@ -18113,7 +18113,7 @@ body.fl-framework-base-4 .fl-woo-content-right,body.fl-framework-bootstrap-4 .fl
}

@media (min-width: 861px) {
body:not(.fl-builder-edit) .single-sidebar {
body .single-sidebar {
position:sticky;
top: 12rem;
align-self: start;
Expand Down
5 changes: 3 additions & 2 deletions themes/beaver/assets/js/587.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
$(".career-form .form-title").hide()
})
}

// Add Active Class to Clients, Careers & Blog
if (SDB.App.exists("body.single")) {
if ($("body").hasClass("single-post")) {
Expand All @@ -73,8 +74,8 @@
}
// Number Counter
if (SDB.App.exists(".jt-counter-number-ready")) {
$(document).ready(startCounterReady)
flag = 1
// $(document).ready(startCounterReady)
// flag = 1

function startCounterReady () {
if ($(".jt-counter-number-ready").length > 0) {
Expand Down
Loading