Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/themify-.../js/module-s.../src
File: box.mjs
const {BaseStyles} = await import('../../editor/base-styles.mjs');
[0] Fix | Delete
export class Module extends BaseStyles {
[1] Fix | Delete
static get_styles() {
[2] Fix | Delete
const general = [
[3] Fix | Delete
//bacground
[4] Fix | Delete
this.get_expand('bg', [
[5] Fix | Delete
this.get_tab({
[6] Fix | Delete
n: [
[7] Fix | Delete
this.get_image(' .ui')
[8] Fix | Delete
],
[9] Fix | Delete
h: [
[10] Fix | Delete
this.get_image(' .ui', 'b_i', 'bg_c', 'b_r', 'b_p', 'h')
[11] Fix | Delete
]
[12] Fix | Delete
})
[13] Fix | Delete
]),
[14] Fix | Delete
// Font
[15] Fix | Delete
this.get_expand('f', [
[16] Fix | Delete
this.get_tab({
[17] Fix | Delete
n: [
[18] Fix | Delete
this.get_font_family(' .tb_text_wrap'),
[19] Fix | Delete
this.get_color_type(' .tb_text_wrap'),
[20] Fix | Delete
this.get_font_size(),
[21] Fix | Delete
this.get_line_height(),
[22] Fix | Delete
this.get_letter_spacing(),
[23] Fix | Delete
this.get_text_align(),
[24] Fix | Delete
this.get_text_transform(),
[25] Fix | Delete
this.get_font_style(' .tb_text_wrap'),
[26] Fix | Delete
this.get_text_decoration(' .tb_text_wrap', 'text_decoration_regular'),
[27] Fix | Delete
this.get_text_shadow(' .tb_text_wrap')
[28] Fix | Delete
],
[29] Fix | Delete
h: [
[30] Fix | Delete
this.get_font_family(':hover .tb_text_wrap', 'f_f_h'),
[31] Fix | Delete
this.get_color_type(':hover .tb_text_wrap', '', 'f_c_t_h', 'f_c_h', 'f_g_c_h'),
[32] Fix | Delete
this.get_font_size('', 'f_s', '', 'h'),
[33] Fix | Delete
this.get_font_style(':hover .tb_text_wrap', 'f_st', 'f_w', 'h'),
[34] Fix | Delete
this.get_text_decoration(' .tb_text_wrap', 't_d_r', 'h'),
[35] Fix | Delete
this.get_text_shadow(' .tb_text_wrap', 't_sh', 'h')
[36] Fix | Delete
]
[37] Fix | Delete
})
[38] Fix | Delete
]),
[39] Fix | Delete
// Link
[40] Fix | Delete
this.get_expand('l', [
[41] Fix | Delete
this.get_tab({
[42] Fix | Delete
n: [
[43] Fix | Delete
this.get_color(' .ui a', 'link_color'),
[44] Fix | Delete
this.get_text_decoration(' a')
[45] Fix | Delete
],
[46] Fix | Delete
h: [
[47] Fix | Delete
this.get_color(' .ui a', 'link_color', null, null, 'hover'),
[48] Fix | Delete
this.get_text_decoration(' a', 't_d', 'h')
[49] Fix | Delete
]
[50] Fix | Delete
})
[51] Fix | Delete
]),
[52] Fix | Delete
// Padding
[53] Fix | Delete
this.get_expand('p', [
[54] Fix | Delete
this.get_tab({
[55] Fix | Delete
n: [
[56] Fix | Delete
this.get_padding(' .ui')
[57] Fix | Delete
],
[58] Fix | Delete
h: [
[59] Fix | Delete
this.get_padding(' .ui', 'p', 'h')
[60] Fix | Delete
]
[61] Fix | Delete
})
[62] Fix | Delete
]),
[63] Fix | Delete
// Margin
[64] Fix | Delete
this.get_expand('m', [
[65] Fix | Delete
this.get_tab({
[66] Fix | Delete
n: [
[67] Fix | Delete
this.get_margin('')
[68] Fix | Delete
],
[69] Fix | Delete
h: [
[70] Fix | Delete
this.get_margin('', 'm', 'h')
[71] Fix | Delete
]
[72] Fix | Delete
})
[73] Fix | Delete
]),
[74] Fix | Delete
// Border
[75] Fix | Delete
this.get_expand('b', [
[76] Fix | Delete
this.get_tab({
[77] Fix | Delete
n: [
[78] Fix | Delete
this.get_border(' .ui')
[79] Fix | Delete
],
[80] Fix | Delete
h: [
[81] Fix | Delete
this.get_border(' .ui', 'b', 'h')
[82] Fix | Delete
]
[83] Fix | Delete
})
[84] Fix | Delete
]),
[85] Fix | Delete
// Filter
[86] Fix | Delete
this.get_expand('f_l', [
[87] Fix | Delete
this.get_tab({
[88] Fix | Delete
n: [
[89] Fix | Delete
this.get_blend()
[90] Fix | Delete
],
[91] Fix | Delete
h: [
[92] Fix | Delete
this.get_blend('', '', 'h')
[93] Fix | Delete
]
[94] Fix | Delete
})
[95] Fix | Delete
]),
[96] Fix | Delete
// Width
[97] Fix | Delete
this.get_expand('w', [
[98] Fix | Delete
this.get_width('', 'w')
[99] Fix | Delete
]),
[100] Fix | Delete
// Height & Min Height
[101] Fix | Delete
this.get_expand('ht', [
[102] Fix | Delete
this.get_height(' .module-box-content')
[103] Fix | Delete
]),
[104] Fix | Delete
// Rounded Corners
[105] Fix | Delete
this.get_expand('r_c', [
[106] Fix | Delete
this.get_tab({
[107] Fix | Delete
n: [
[108] Fix | Delete
this.get_border_radius(' .module-box-content')
[109] Fix | Delete
],
[110] Fix | Delete
h: [
[111] Fix | Delete
this.get_border_radius(' .module-box-content', 'r_c', 'h')
[112] Fix | Delete
]
[113] Fix | Delete
})
[114] Fix | Delete
]),
[115] Fix | Delete
// Shadow
[116] Fix | Delete
this.get_expand('sh', [
[117] Fix | Delete
this.get_tab({
[118] Fix | Delete
n: [
[119] Fix | Delete
this.get_box_shadow(' .module-box-content')
[120] Fix | Delete
],
[121] Fix | Delete
h: [
[122] Fix | Delete
this.get_box_shadow(' .module-box-content', 'sh', 'h')
[123] Fix | Delete
]
[124] Fix | Delete
})
[125] Fix | Delete
]),
[126] Fix | Delete
//this.get_expand('disp', this.get_self_align()),
[127] Fix | Delete
this.get_expand('zi', [
[128] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[129] Fix | Delete
]
[130] Fix | Delete
),
[131] Fix | Delete
this.get_expand('tr', [
[132] Fix | Delete
this.get_tab({
[133] Fix | Delete
n: [
[134] Fix | Delete
this.get_transform()
[135] Fix | Delete
],
[136] Fix | Delete
h: [
[137] Fix | Delete
this.get_transform('', 'tr', 'h')
[138] Fix | Delete
]
[139] Fix | Delete
})
[140] Fix | Delete
])
[141] Fix | Delete
];
[142] Fix | Delete
[143] Fix | Delete
let heading = [];
[144] Fix | Delete
for (let i = 1; i <= 6; ++i) {
[145] Fix | Delete
let h = 'h' + i,
[146] Fix | Delete
selector = h,
[147] Fix | Delete
selH = '.module ' + h;
[148] Fix | Delete
heading = heading.concat([
[149] Fix | Delete
this.get_expand(h + '_f', [
[150] Fix | Delete
this.get_tab({
[151] Fix | Delete
n: [
[152] Fix | Delete
this.get_font_family('.module .tb_text_wrap ' + selector, 'font_family_' + h),
[153] Fix | Delete
this.get_color_type('.module .tb_text_wrap ' + selector, '', 'font_color_type_' + h, 'font_color_' + h, 'font_gradient_color_' + h),
[154] Fix | Delete
this.get_font_size(selH, 'font_size_' + h),
[155] Fix | Delete
this.get_line_height(selH, 'line_height_' + h),
[156] Fix | Delete
this.get_letter_spacing(selH, 'letter_spacing_' + h),
[157] Fix | Delete
this.get_text_transform(selH, 'text_transform_' + h),
[158] Fix | Delete
this.get_font_style('.module .tb_text_wrap ' + selector, 'font_style_' + h, 'font_weight_' + h),
[159] Fix | Delete
this.get_text_shadow(selH, 't_sh_' + h),
[160] Fix | Delete
// Heading Margin
[161] Fix | Delete
this.get_margin_top_bottom_opposity(selH, h + '_margin_top', h + '_margin_bottom')
[162] Fix | Delete
],
[163] Fix | Delete
h: [
[164] Fix | Delete
this.get_font_family('.module:hover .tb_text_wrap ' + selector, 'f_f_' + h + '_h'),
[165] Fix | Delete
this.get_color_type('.module:hover .tb_text_wrap ' + selector, '', 'f_c_t_' + h + '_h', 'f_c_' + h + '_h', 'f_g_c_' + h + '_h'),
[166] Fix | Delete
this.get_font_size('.module:hover ' + h, 'f_s_' + h + '_h'),
[167] Fix | Delete
this.get_font_style('.module:hover .tb_text_wrap ' + selector, 'f_st_' + h + '_h', 'f_w_' + h + '_h'),
[168] Fix | Delete
this.get_text_shadow('.module:hover ' + h, 't_sh_' + h + '_h', 'h'),
[169] Fix | Delete
// Heading Margin
[170] Fix | Delete
this.get_margin_top_bottom_opposity(selH, h + '_margin_top', h + '_margin_bottom','h')
[171] Fix | Delete
]
[172] Fix | Delete
})
[173] Fix | Delete
])
[174] Fix | Delete
[175] Fix | Delete
]);
[176] Fix | Delete
}
[177] Fix | Delete
[178] Fix | Delete
return {
[179] Fix | Delete
type: 'tabs',
[180] Fix | Delete
options: {
[181] Fix | Delete
g: general,
[182] Fix | Delete
head: heading
[183] Fix | Delete
}
[184] Fix | Delete
};
[185] Fix | Delete
}
[186] Fix | Delete
}
[187] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function