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: highlight.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
// Background
[4] Fix | Delete
this.get_expand('bg', [
[5] Fix | Delete
this.get_tab({
[6] Fix | Delete
n: [
[7] Fix | Delete
this.get_color(' .post', 'background_color', 'bg_c', 'background-color')
[8] Fix | Delete
],
[9] Fix | Delete
h: [
[10] Fix | Delete
this.get_color(' .post', 'bg_c', 'bg_c', 'background-color', '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([' .post-title', ' .post-title a']),
[19] Fix | Delete
this.get_color([' .post', ' h1', ' h2', ' h3', ' h4', ' h5', ' h6', ' .post-title', ' .post-title a'], 'font_color'),
[20] Fix | Delete
this.get_font_size(' .post'),
[21] Fix | Delete
this.get_line_height(' .post'),
[22] Fix | Delete
this.get_letter_spacing(' .post'),
[23] Fix | Delete
this.get_text_align(' .post'),
[24] Fix | Delete
this.get_text_transform(' .post'),
[25] Fix | Delete
this.get_font_style(' .post'),
[26] Fix | Delete
this.get_text_decoration(' .post', 'text_decoration_regular'),
[27] Fix | Delete
this.get_text_shadow([' .post-title', ' .post-title a'])
[28] Fix | Delete
],
[29] Fix | Delete
h: [
[30] Fix | Delete
this.get_font_family([' .post-title', ' .post-title a'], 'f_f', 'h'),
[31] Fix | Delete
this.get_color([':hover .post', ':hover h1', ':hover h2', ':hover h3', ':hover h4', ':hover h5', ':hover h6', ':hover .post-title', ':hover .post-title a'], 'f_c_h'),
[32] Fix | Delete
this.get_font_size(' .post', 'f_s', '', 'h'),
[33] Fix | Delete
this.get_font_style(' .post', 'f_st', 'f_w', 'h'),
[34] Fix | Delete
this.get_text_decoration(' .post', 't_d_r', 'h'),
[35] Fix | Delete
this.get_text_shadow([' .post-title', ' .post-title a'], '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(' a', 'link_color'),
[44] Fix | Delete
this.get_text_decoration(' a')
[45] Fix | Delete
],
[46] Fix | Delete
h: [
[47] Fix | Delete
this.get_color(' 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
// Margin
[53] Fix | Delete
this.get_expand('m', [
[54] Fix | Delete
this.get_tab({
[55] Fix | Delete
n: [
[56] Fix | Delete
this.get_margin(' .post')
[57] Fix | Delete
],
[58] Fix | Delete
h: [
[59] Fix | Delete
this.get_margin(' .post', 'm', 'h')
[60] Fix | Delete
]
[61] Fix | Delete
})
[62] Fix | Delete
]),
[63] Fix | Delete
// Border
[64] Fix | Delete
this.get_expand('b', [
[65] Fix | Delete
this.get_tab({
[66] Fix | Delete
n: [
[67] Fix | Delete
this.get_border(' .post')
[68] Fix | Delete
],
[69] Fix | Delete
h: [
[70] Fix | Delete
this.get_border(' .post', 'b', 'h')
[71] Fix | Delete
]
[72] Fix | Delete
})
[73] Fix | Delete
]),
[74] Fix | Delete
// Filter
[75] Fix | Delete
this.get_expand('f_l', [
[76] Fix | Delete
this.get_tab({
[77] Fix | Delete
n: [
[78] Fix | Delete
this.get_blend()
[79] Fix | Delete
],
[80] Fix | Delete
h: [
[81] Fix | Delete
this.get_blend('', '', 'h')
[82] Fix | Delete
]
[83] Fix | Delete
})
[84] Fix | Delete
]),
[85] Fix | Delete
// Width
[86] Fix | Delete
this.get_expand('w', [
[87] Fix | Delete
this.get_width('', 'w')
[88] Fix | Delete
]),
[89] Fix | Delete
// Rounded Corners
[90] Fix | Delete
this.get_expand('r_c', [
[91] Fix | Delete
this.get_tab({
[92] Fix | Delete
n: [
[93] Fix | Delete
this.get_border_radius()
[94] Fix | Delete
],
[95] Fix | Delete
h: [
[96] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[97] Fix | Delete
]
[98] Fix | Delete
})
[99] Fix | Delete
]),
[100] Fix | Delete
// Shadow
[101] Fix | Delete
this.get_expand('sh', [
[102] Fix | Delete
this.get_tab({
[103] Fix | Delete
n: [
[104] Fix | Delete
this.get_box_shadow()
[105] Fix | Delete
],
[106] Fix | Delete
h: [
[107] Fix | Delete
this.get_box_shadow('', 'sh', 'h')
[108] Fix | Delete
]
[109] Fix | Delete
})
[110] Fix | Delete
]),
[111] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[112] Fix | Delete
this.get_expand('zi', [
[113] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[114] Fix | Delete
]
[115] Fix | Delete
),
[116] Fix | Delete
this.get_expand('tr', [
[117] Fix | Delete
this.get_tab({
[118] Fix | Delete
n: [
[119] Fix | Delete
this.get_transform()
[120] Fix | Delete
],
[121] Fix | Delete
h: [
[122] Fix | Delete
this.get_transform('', 'tr', 'h')
[123] Fix | Delete
]
[124] Fix | Delete
})
[125] Fix | Delete
])
[126] Fix | Delete
],
[127] Fix | Delete
highlightTitle = [
[128] Fix | Delete
// Font
[129] Fix | Delete
this.get_seperator('f'),
[130] Fix | Delete
this.get_tab({
[131] Fix | Delete
n: [
[132] Fix | Delete
this.get_font_family(['.module .post-title', '.module .post-title a'], 'font_family_title'),
[133] Fix | Delete
this.get_color(['.module .post-title', '.module .post-title a'], 'font_color_title'),
[134] Fix | Delete
this.get_font_size('.module .post-title', 'font_size_title'),
[135] Fix | Delete
this.get_line_height('.module .post-title', 'line_height_title'),
[136] Fix | Delete
this.get_letter_spacing('.module .post-title', 'letter_spacing_title'),
[137] Fix | Delete
this.get_text_shadow(['.module .post-title', '.module .post-title a'], 't_sh_h_t')
[138] Fix | Delete
],
[139] Fix | Delete
h: [
[140] Fix | Delete
this.get_font_family(['.module .post-title', '.module .post-title a'], 'f_f_t', 'h'),
[141] Fix | Delete
this.get_color(['.module .post-title', '.module .post-title a'], 'f_c_t', null, null, 'h'),
[142] Fix | Delete
this.get_font_size('.module .post-title', 'f_s_t', '', 'h'),
[143] Fix | Delete
this.get_text_shadow(['.module .post-title', '.module .post-title a'], 't_sh_h_t', 'h')
[144] Fix | Delete
]
[145] Fix | Delete
})
[146] Fix | Delete
],
[147] Fix | Delete
highlightContent = [
[148] Fix | Delete
// Font
[149] Fix | Delete
this.get_seperator('f'),
[150] Fix | Delete
this.get_tab({
[151] Fix | Delete
n: [
[152] Fix | Delete
this.get_font_family(' .highlight-post .post-content', 'font_family_content'),
[153] Fix | Delete
this.get_color(' .highlight-post .post-content', 'font_color_content'),
[154] Fix | Delete
this.get_font_size(' .highlight-post .post-content', 'font_size_content'),
[155] Fix | Delete
this.get_line_height(' .highlight-post .post-content', 'line_height_content'),
[156] Fix | Delete
this.get_text_shadow(' .highlight-post .post-content', 't_sh_h_c')
[157] Fix | Delete
],
[158] Fix | Delete
h: [
[159] Fix | Delete
this.get_font_family(' .highlight-post .post-content', 'f_f_c', 'h'),
[160] Fix | Delete
this.get_color(' .highlight-post .post-content', 'f_c_c', null, null, 'h'),
[161] Fix | Delete
this.get_font_size(' .highlight-post .post-content', 'f_s_c', '', 'h'),
[162] Fix | Delete
this.get_text_shadow(' .highlight-post .post-content', 't_sh_h_c', 'h')
[163] Fix | Delete
]
[164] Fix | Delete
})
[165] Fix | Delete
];
[166] Fix | Delete
[167] Fix | Delete
return {
[168] Fix | Delete
type: 'tabs',
[169] Fix | Delete
options: {
[170] Fix | Delete
g: general,
[171] Fix | Delete
m_t: this.module_title_custom_style(),
[172] Fix | Delete
highlgtit: highlightTitle,
[173] Fix | Delete
highlgtc: highlightContent
[174] Fix | Delete
}
[175] Fix | Delete
};
[176] Fix | Delete
}
[177] Fix | Delete
}
[178] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function