This commit is contained in:
Roman Pyrih
2024-11-12 12:13:27 +01:00
parent 5f2ea3a3d0
commit 87667291e5
11 changed files with 1010 additions and 258 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,195 +1,197 @@
/*! elementor - v3.17.0 - 08-11-2023 */ // /*! elementor - v3.17.0 - 08-11-2023 */
'use strict' // 'use strict'
;(self.webpackChunkelementor = self.webpackChunkelementor || []).push([ // ;(self.webpackChunkelementor = self.webpackChunkelementor || []).push([
[209], // [209],
{ // {
8470: (e, t, a) => { // 8470: (e, t, a) => {
var i = a(3203) // var i = a(3203)
Object.defineProperty(t, '__esModule', { value: !0 }), // Object.defineProperty(t, '__esModule', { value: !0 }),
(t.default = void 0) // (t.default = void 0)
var s = i(a(9728)) // var s = i(a(9728))
class Accordion extends s.default { // class Accordion extends s.default {
getDefaultSettings() { // getDefaultSettings() {
return { // return {
...super.getDefaultSettings(), // ...super.getDefaultSettings(),
showTabFn: 'slideDown', // showTabFn: 'slideDown',
hideTabFn: 'slideUp', // hideTabFn: 'slideUp',
} // }
} // }
} // }
t.default = Accordion // t.default = Accordion
}, // },
9728: (e, t) => { // 9728: (e, t) => {
Object.defineProperty(t, '__esModule', { value: !0 }), // Object.defineProperty(t, '__esModule', { value: !0 }),
(t.default = void 0) // (t.default = void 0)
class baseTabs extends elementorModules.frontend.handlers.Base { // class baseTabs extends elementorModules.frontend.handlers.Base {
getDefaultSettings() { // getDefaultSettings() {
return { // return {
selectors: { // selectors: {
tablist: '[role="tablist"]', // tablist: '[role="tablist"]',
tabTitle: '.elementor-tab-title', // tabTitle: '.elementor-tab-title',
tabContent: '.elementor-tab-content', // tabContent: '.elementor-tab-content',
}, // },
classes: { active: 'elementor-active' }, // classes: { active: 'elementor-active' },
showTabFn: 'show', // showTabFn: 'show',
hideTabFn: 'hide', // hideTabFn: 'hide',
toggleSelf: !0, // toggleSelf: !0,
hidePrevious: !0, // hidePrevious: !0,
autoExpand: !0, // autoExpand: !0,
keyDirection: { // keyDirection: {
ArrowLeft: elementorFrontendConfig.is_rtl ? 1 : -1, // ArrowLeft: elementorFrontendConfig.is_rtl ? 1 : -1,
ArrowUp: -1, // ArrowUp: -1,
ArrowRight: elementorFrontendConfig.is_rtl ? -1 : 1, // ArrowRight: elementorFrontendConfig.is_rtl ? -1 : 1,
ArrowDown: 1, // ArrowDown: 1,
}, // },
} // }
} // }
getDefaultElements() { // getDefaultElements() {
const e = this.getSettings('selectors') // const e = this.getSettings('selectors')
return { // return {
$tabTitles: this.findElement(e.tabTitle), // $tabTitles: this.findElement(e.tabTitle),
$tabContents: this.findElement(e.tabContent), // $tabContents: this.findElement(e.tabContent),
} // }
} // }
activateDefaultTab() { // activateDefaultTab() {
const e = this.getSettings() // const e = this.getSettings()
if (!e.autoExpand || ('editor' === e.autoExpand && !this.isEdit)) // if (!e.autoExpand || ('editor' === e.autoExpand && !this.isEdit))
return // return
const t = this.getEditSettings('activeItemIndex') || 1, // const t = this.getEditSettings('activeItemIndex') || 1,
a = { showTabFn: e.showTabFn, hideTabFn: e.hideTabFn } // a = { showTabFn: e.showTabFn, hideTabFn: e.hideTabFn }
this.setSettings({ showTabFn: 'show', hideTabFn: 'hide' }), // this.setSettings({ showTabFn: 'show', hideTabFn: 'hide' }),
this.changeActiveTab(t), // this.changeActiveTab(t),
this.setSettings(a) // this.setSettings(a)
} // }
handleKeyboardNavigation(e) { // handleKeyboardNavigation(e) {
const t = e.currentTarget, // const t = e.currentTarget,
a = jQuery(t.closest(this.getSettings('selectors').tablist)), // a = jQuery(t.closest(this.getSettings('selectors').tablist)),
i = a.find(this.getSettings('selectors').tabTitle), // i = a.find(this.getSettings('selectors').tabTitle),
s = 'vertical' === a.attr('aria-orientation') // s = 'vertical' === a.attr('aria-orientation')
switch (e.key) { // switch (e.key) {
case 'ArrowLeft': // case 'ArrowLeft':
case 'ArrowRight': // case 'ArrowRight':
if (s) return // if (s) return
break // break
case 'ArrowUp': // case 'ArrowUp':
case 'ArrowDown': // case 'ArrowDown':
if (!s) return // if (!s) return
e.preventDefault() // e.preventDefault()
break // break
case 'Home': // case 'Home':
return e.preventDefault(), void i.first().trigger('focus') // return e.preventDefault(), void i.first().trigger('focus')
case 'End': // case 'End':
return e.preventDefault(), void i.last().trigger('focus') // return e.preventDefault(), void i.last().trigger('focus')
default: // default:
return // return
} // }
const n = t.getAttribute('data-tab') - 1, // const n = t.getAttribute('data-tab') - 1,
r = this.getSettings('keyDirection')[e.key], // r = this.getSettings('keyDirection')[e.key],
o = i[n + r] // o = i[n + r]
o // o
? o.focus() // ? o.focus()
: -1 === n + r // : -1 === n + r
? i.last().trigger('focus') // ? i.last().trigger('focus')
: i.first().trigger('focus') // : i.first().trigger('focus')
} // }
deactivateActiveTab(e) { // deactivateActiveTab(e) {
const t = this.getSettings(), // const t = this.getSettings(),
a = t.classes.active, // a = t.classes.active,
i = e ? '[data-tab="' + e + '"]' : '.' + a, // i = e ? '[data-tab="' + e + '"]' : '.' + a,
s = this.elements.$tabTitles.filter(i), // s = this.elements.$tabTitles.filter(i),
n = this.elements.$tabContents.filter(i) // n = this.elements.$tabContents.filter(i)
s.add(n).removeClass(a), // s.add(n).removeClass(a),
s.attr({ // s.attr({
tabindex: '-1', // tabindex: '-1',
'aria-selected': 'false', // 'aria-selected': 'false',
'aria-expanded': 'false', // 'aria-expanded': 'false',
}), // }),
n[t.hideTabFn](), // n[t.hideTabFn](),
n.attr('hidden', 'hidden') // n.attr('hidden', 'hidden')
} // }
activateTab(e) { // activateTab(e) {
const t = this.getSettings(), // const t = this.getSettings(),
a = t.classes.active, // a = t.classes.active,
i = this.elements.$tabTitles.filter('[data-tab="' + e + '"]'), // i = this.elements.$tabTitles.filter('[data-tab="' + e + '"]'),
s = this.elements.$tabContents.filter('[data-tab="' + e + '"]'), // s = this.elements.$tabContents.filter('[data-tab="' + e + '"]'),
n = 'show' === t.showTabFn ? 0 : 400 // n = 'show' === t.showTabFn ? 0 : 400
i.add(s).addClass(a), // i.add(s).addClass(a),
i.attr({ // i.attr({
tabindex: '0', // tabindex: '0',
'aria-selected': 'true', // 'aria-selected': 'true',
'aria-expanded': 'true', // 'aria-expanded': 'true',
}), // }),
s[t.showTabFn](n, () => // s[t.showTabFn](n, () =>
elementorFrontend.elements.$window.trigger( // elementorFrontend.elements.$window.trigger(
'elementor-pro/motion-fx/recalc' // 'elementor-pro/motion-fx/recalc'
) // )
), // ),
s.removeAttr('hidden') // s.removeAttr('hidden')
} // }
isActiveTab(e) { // isActiveTab(e) {
return this.elements.$tabTitles // return this.elements.$tabTitles
.filter('[data-tab="' + e + '"]') // .filter('[data-tab="' + e + '"]')
.hasClass(this.getSettings('classes.active')) // .hasClass(this.getSettings('classes.active'))
} // }
bindEvents() { // bindEvents() {
this.elements.$tabTitles.on({ // this.elements.$tabTitles.on({
keydown: (e) => { // keydown: (e) => {
jQuery(e.target).is('a') && // jQuery(e.target).is('a') &&
'Enter' === e.key && // 'Enter' === e.key &&
e.preventDefault(), // e.preventDefault(),
['End', 'Home', 'ArrowUp', 'ArrowDown'].includes(e.key) && // ['End', 'Home', 'ArrowUp', 'ArrowDown'].includes(e.key) &&
this.handleKeyboardNavigation(e) // this.handleKeyboardNavigation(e)
}, // },
keyup: (e) => { // keyup: (e) => {
switch (e.code) { // switch (e.code) {
case 'ArrowLeft': // case 'ArrowLeft':
case 'ArrowRight': // case 'ArrowRight':
this.handleKeyboardNavigation(e) // this.handleKeyboardNavigation(e)
break // break
case 'Enter': // case 'Enter':
case 'Space': // case 'Space':
e.preventDefault(), // e.preventDefault(),
this.changeActiveTab( // this.changeActiveTab(
e.currentTarget.getAttribute('data-tab') // e.currentTarget.getAttribute('data-tab')
) // )
} // }
}, // },
click: (e) => { // click: (e) => {
e.preventDefault(),
this.changeActiveTab(e.currentTarget.getAttribute('data-tab'))
},
})
}
onInit() {
super.onInit(...arguments), this.activateDefaultTab()
}
onEditSettingsChange(e) {
'activeItemIndex' === e && this.activateDefaultTab()
}
changeActiveTab(e) {
const t = this.isActiveTab(e),
a = this.getSettings();
if (t) { // console.log(e);
this.deactivateActiveTab(e); // e.preventDefault(),
} else { // this.changeActiveTab(e.currentTarget.getAttribute('data-tab'))
if (a.toggleSelf) { // },
this.activateTab(e); // })
} // }
} // onInit() {
// super.onInit(...arguments), this.activateDefaultTab()
// }
// onEditSettingsChange(e) {
// 'activeItemIndex' === e && this.activateDefaultTab()
// }
// changeActiveTab(e) {
// const t = this.isActiveTab(e),
// a = this.getSettings();
// if (t) {
// this.deactivateActiveTab(e);
// } else {
// if (a.toggleSelf) {
// this.activateTab(e);
// }
// }
// const t = this.isActiveTab(e), // // const t = this.isActiveTab(e),
// a = this.getSettings() // // a = this.getSettings()
// ;(!a.toggleSelf && t) || // // ;(!a.toggleSelf && t) ||
// !a.hidePrevious || // // !a.hidePrevious ||
// this.deactivateActiveTab(), // // this.deactivateActiveTab(),
// !a.hidePrevious && t && this.deactivateActiveTab(e), // // !a.hidePrevious && t && this.deactivateActiveTab(e),
// t || this.activateTab(e) // // t || this.activateTab(e)
} // }
} // }
t.default = baseTabs // t.default = baseTabs
}, // },
}, // },
]) // ])

View File

@@ -1861,64 +1861,64 @@ button.button .cmplz-icon.rsssl-icon-loading > div {
margin-bottom: 24px; margin-bottom: 24px;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(1) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(1) {
width: 84%; width: 88%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(2) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(2) {
width: 68%; width: 90%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(3) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(3) {
width: 64%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(4) {
width: 81%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(5) {
width: 80%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(6) {
width: 64%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(7) {
width: 80%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(8) {
width: 82%; width: 82%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(9) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(4) {
width: 81%; width: 83%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(10) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(5) {
width: 62%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(11) {
width: 61%; width: 61%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(6) {
width: 69%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(7) {
width: 73%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(8) {
width: 70%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(9) {
width: 67%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(10) {
width: 67%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(11) {
width: 99%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(12) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(12) {
width: 100%; width: 97%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(13) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(13) {
width: 77%; width: 67%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(14) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(14) {
width: 96%; width: 67%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(15) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(15) {
width: 66%; width: 87%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(16) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(16) {
width: 80%; width: 100%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(17) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(17) {
width: 95%; width: 75%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(18) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(18) {
width: 81%; width: 72%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(19) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(19) {
width: 65%; width: 88%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(20) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(20) {
width: 76%; width: 66%;
} }
.rsssl-placeholder .rsssl-placeholder-line ~ .rsssl-placeholder-line { .rsssl-placeholder .rsssl-placeholder-line ~ .rsssl-placeholder-line {
background-color: #ddd; background-color: #ddd;

File diff suppressed because one or more lines are too long

View File

@@ -40,64 +40,64 @@
margin-bottom: 24px; margin-bottom: 24px;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(1) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(1) {
width: 61%; width: 68%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(2) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(2) {
width: 95%; width: 81%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(3) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(3) {
width: 65%; width: 67%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(4) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(4) {
width: 77%; width: 80%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(5) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(5) {
width: 75%; width: 70%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(6) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(6) {
width: 75%; width: 66%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(7) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(7) {
width: 85%; width: 90%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(8) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(8) {
width: 68%; width: 93%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(9) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(9) {
width: 87%; width: 87%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(10) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(10) {
width: 73%; width: 72%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(11) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(11) {
width: 95%; width: 75%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(12) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(12) {
width: 93%; width: 65%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(13) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(13) {
width: 99%; width: 90%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(14) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(14) {
width: 61%; width: 100%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(15) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(15) {
width: 88%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(16) {
width: 88%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(17) {
width: 92%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(18) {
width: 89%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(19) {
width: 82%; width: 82%;
} }
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(16) {
width: 91%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(17) {
width: 90%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(18) {
width: 100%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(19) {
width: 84%;
}
.rsssl-placeholder .rsssl-placeholder-line:nth-of-type(20) { .rsssl-placeholder .rsssl-placeholder-line:nth-of-type(20) {
width: 85%; width: 64%;
} }
.rsssl-placeholder .rsssl-placeholder-line ~ .rsssl-placeholder-line { .rsssl-placeholder .rsssl-placeholder-line ~ .rsssl-placeholder-line {
background-color: #ddd; background-color: #ddd;

View File

@@ -1 +1 @@
{"version":3,"sources":["placeholder.scss","placeholder.css"],"names":[],"mappings":"AAeE;EACE,qCAAA;EACA,YAAA;ACdJ;ADeI;EACI,sBAAA;ACbR;;ADkBA;EACE,YAAA;ACfF;ADgBE;EACE,gBAAA;EACA,YAAA;ACdJ;;ADkBA;EACE,sBAAA;EACA,WAAA;EACA,gBAAA;EACA,SAAA;EACA,oBAAA;EACA,cAAA;EACA,yCAAA;EACA,4CAAA;EACA,kBAAA;EACA,cAAA;ACfF;ADiBE;EACE,WAAA;EACA,WAAA;EACA,YAAA;EACA,gBAAA;EACA,kBAAA;EAtCF,2EAAA;EACA,sBAAA;EA0CE,2CAAA;ACjBJ;ADaI;EACE,mBAAA;ACXN;ADgBM;EACE,UAAA;ACdR;ADaM;EACE,UAAA;ACXR;ADUM;EACE,UAAA;ACRR;ADOM;EACE,UAAA;ACLR;ADIM;EACE,UAAA;ACFR;ADCM;EACE,UAAA;ACCR;ADFM;EACE,UAAA;ACIR;ADLM;EACE,UAAA;ACOR;ADRM;EACE,UAAA;ACUR;ADXM;EACE,UAAA;ACaR;ADdM;EACE,UAAA;ACgBR;ADjBM;EACE,UAAA;ACmBR;ADpBM;EACE,UAAA;ACsBR;ADvBM;EACE,UAAA;ACyBR;AD1BM;EACE,UAAA;AC4BR;AD7BM;EACE,UAAA;AC+BR;ADhCM;EACE,UAAA;ACkCR;ADnCM;EACE,UAAA;ACqCR;ADtCM;EACE,UAAA;ACwCR;ADzCM;EACE,UAAA;AC2CR;ADtCE;EACE,sBAAA;ACwCJ;;ADnCE;EACE,gBAAA;ACsCJ;;ADlCE;EACE,iBAAA;ACqCJ;;ADlCA;EACE,iBAAA;ACqCF;;ADlCA;EACE;IACE,2BAAA;ECqCF;EDnCA;IACE,0BAAA;ECqCF;AACF","file":"placeholder.css"} {"version":3,"sources":["placeholder.scss","placeholder.css"],"names":[],"mappings":"AAeE;EACE,qCAAA;EACA,YAAA;ACdJ;ADeI;EACI,sBAAA;ACbR;;ADkBA;EACE,YAAA;ACfF;ADgBE;EACE,gBAAA;EACA,YAAA;ACdJ;;ADkBA;EACE,sBAAA;EACA,WAAA;EACA,gBAAA;EACA,SAAA;EACA,oBAAA;EACA,cAAA;EACA,yCAAA;EACA,4CAAA;EACA,kBAAA;EACA,cAAA;ACfF;ADiBE;EACE,WAAA;EACA,WAAA;EACA,YAAA;EACA,gBAAA;EACA,kBAAA;EAtCF,2EAAA;EACA,sBAAA;EA0CE,2CAAA;ACjBJ;ADaI;EACE,mBAAA;ACXN;ADgBM;EACE,UAAA;ACdR;ADaM;EACE,UAAA;ACXR;ADUM;EACE,UAAA;ACRR;ADOM;EACE,UAAA;ACLR;ADIM;EACE,UAAA;ACFR;ADCM;EACE,UAAA;ACCR;ADFM;EACE,UAAA;ACIR;ADLM;EACE,UAAA;ACOR;ADRM;EACE,UAAA;ACUR;ADXM;EACE,UAAA;ACaR;ADdM;EACE,UAAA;ACgBR;ADjBM;EACE,UAAA;ACmBR;ADpBM;EACE,UAAA;ACsBR;ADvBM;EACE,WAAA;ACyBR;AD1BM;EACE,UAAA;AC4BR;AD7BM;EACE,UAAA;AC+BR;ADhCM;EACE,UAAA;ACkCR;ADnCM;EACE,WAAA;ACqCR;ADtCM;EACE,UAAA;ACwCR;ADzCM;EACE,UAAA;AC2CR;ADtCE;EACE,sBAAA;ACwCJ;;ADnCE;EACE,gBAAA;ACsCJ;;ADlCE;EACE,iBAAA;ACqCJ;;ADlCA;EACE,iBAAA;ACqCF;;ADlCA;EACE;IACE,2BAAA;ECqCF;EDnCA;IACE,0BAAA;ECqCF;AACF","file":"placeholder.css"}

View File

@@ -37,3 +37,44 @@ jQuery(function($) {
}); });
} }
}) })
jQuery(function($) {
$(window).scroll(function() {
if ($(this).scrollTop() >= 100) {
$('header#masthead').addClass('fixed');
} else {
$('header#masthead').removeClass('fixed');
}
});
});
jQuery(document).ready(function ($) {
$('.elementor-tab-title').on('click', function (e) {
e.preventDefault();
const $clickedTitle = $(this);
const tabId = $clickedTitle.data('tab');
const $content = $('.elementor-tab-content[data-tab="' + tabId + '"]');
$('.elementor-tab-content')
.not($content)
.slideUp(300)
.prev('.elementor-tab-title')
.attr('aria-expanded', 'false')
.find('.elementor-accordion-icon-opened').hide()
.siblings('.elementor-accordion-icon-closed').show();
if ($clickedTitle.attr('aria-expanded') === 'true') {
$clickedTitle.attr('aria-expanded', 'false');
$content.slideUp(300);
$clickedTitle.find('.elementor-accordion-icon-opened').hide();
$clickedTitle.find('.elementor-accordion-icon-closed').show();
} else {
$clickedTitle.attr('aria-expanded', 'true');
$content.slideDown(300);
$clickedTitle.find('.elementor-accordion-icon-closed').hide();
$clickedTitle.find('.elementor-accordion-icon-opened').show();
}
});
});

View File

@@ -624,6 +624,10 @@ body.home .homa-page-hero .restly-home-banner-forms label {
body.home .homa-page-hero .restly-home-banner-forms .form-input.inputlist { body.home .homa-page-hero .restly-home-banner-forms .form-input.inputlist {
margin-bottom: 10px; margin-bottom: 10px;
} }
body.home .home-case-studies .restly-portfolio-list-item {
width: -moz-fit-content;
width: fit-content;
}
body.home .home-case-studies .restly-portfolio-list-item .restly-portfolio-three-content .restly-portfolio-item .restly-portfolio-dec h6 a { body.home .home-case-studies .restly-portfolio-list-item .restly-portfolio-three-content .restly-portfolio-item .restly-portfolio-dec h6 a {
font-size: 32px; font-size: 32px;
line-height: 1.2; line-height: 1.2;
@@ -659,12 +663,14 @@ body.home .home-case-studies .restly-portfolio-list-item .restly-portfolio-three
} }
@media (max-width: 576px) { @media (max-width: 576px) {
body.blog .post-title h2.entry-title { body.blog .post-title h2.entry-title,
body.single-post .post-title h2.entry-title {
font-size: 24px; font-size: 24px;
line-height: 1.2; line-height: 1.2;
} }
} }
body.blog .wp-block-heading { body.blog .wp-block-heading,
body.single-post .wp-block-heading {
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
line-height: 60px; line-height: 60px;
@@ -922,4 +928,46 @@ body.restly_team-template-default #primary .fab.fa-linkedin-in {
} }
body.restly_team-template-default #primary .fab.fa-linkedin-in:hover { body.restly_team-template-default #primary .fab.fa-linkedin-in:hover {
color: #4588b1; color: #4588b1;
}
header#masthead {
position: fixed;
left: 0;
right: 0;
}
header#masthead.fixed > .main-header {
background: #f4f0f1;
}
header#masthead.fixed.header-three .main-navigation ul li a {
color: #1d2c38;
}
header#masthead > .main-header {
transition: background 250ms ease-in-out;
}
.contact-page-form .restly-input.message textarea,
.contact-page-form .restly-home-form-input textarea {
margin-bottom: 0;
}
.contact-page-form .restly-input input[type=text],
.contact-page-form .restly-input input[type=email],
.contact-page-form .restly-input.message textarea,
.contact-page-form .restly-home-form-input input[type=text],
.contact-page-form .restly-home-form-input input[type=tel],
.contact-page-form .restly-home-form-input input[type=email],
.contact-page-form .restly-input input[type=url] {
margin-bottom: 0;
}
.contact-page-form .wpcf7-form-control-wrap {
margin-bottom: 25px;
display: block;
}
.nav-links .nav-previous,
.nav-links .nav-next {
line-height: 1.5;
}
.nav-links .nav-previous a,
.nav-links .nav-next a {
line-height: 1.5 !important;
}/*# sourceMappingURL=custom.css.map */ }/*# sourceMappingURL=custom.css.map */

File diff suppressed because one or more lines are too long

View File

@@ -765,6 +765,8 @@ body.home {
} }
.home-case-studies { .home-case-studies {
.restly-portfolio-list-item { .restly-portfolio-list-item {
width: fit-content;
.restly-portfolio-three-content { .restly-portfolio-three-content {
.restly-portfolio-item { .restly-portfolio-item {
.restly-portfolio-dec { .restly-portfolio-dec {
@@ -818,7 +820,8 @@ body.page-id-7984 {
} }
//* news *// //* news *//
body.blog { body.blog,
body.single-post {
.post-title { .post-title {
h2.entry-title { h2.entry-title {
@media (max-width: 576px) { @media (max-width: 576px) {
@@ -1167,3 +1170,65 @@ body.restly_team-template-default {
} }
} }
} }
header {
&#masthead {
position: fixed;
left: 0;
right: 0;
&.fixed {
> .main-header {
background: #f4f0f1;
}
&.header-three {
.main-navigation {
ul {
li {
a {
color: #1d2c38;
}
}
}
}
}
}
> .main-header {
transition: background 250ms ease-in-out;
}
}
}
.contact-page-form {
.restly-input.message textarea,
.restly-home-form-input textarea {
margin-bottom: 0;
}
.restly-input input[type='text'],
.restly-input input[type='email'],
.restly-input.message textarea,
.restly-home-form-input input[type='text'],
.restly-home-form-input input[type='tel'],
.restly-home-form-input input[type='email'],
.restly-input input[type='url'] {
margin-bottom: 0;
}
.wpcf7-form-control-wrap {
margin-bottom: 25px;
display: block;
}
}
.nav-links {
.nav-previous,
.nav-next {
line-height: 1.5;
a {
line-height: 1.5 !important;
}
}
}

View File

@@ -1165,7 +1165,7 @@
position: absolute; position: absolute;
width: 100%; width: 100%;
z-index: 99; z-index: 99;
min-height: 100px; /* min-height: 100px; */
} }
.header-six .main-header { .header-six .main-header {