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: callout.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_image('.module')
[8] Fix | Delete
],
[9] Fix | Delete
h: [
[10] Fix | Delete
this.get_image('.module', 'b_i', 'bg_c', 'b_r', 'b_p', 'h')
[11] Fix | Delete
]
[12] Fix | Delete
})
[13] Fix | Delete
]),
[14] Fix | Delete
this.get_expand('f', [
[15] Fix | Delete
this.get_tab({
[16] Fix | Delete
n: [
[17] Fix | Delete
this.get_font_family(' .callout-content'),
[18] Fix | Delete
this.get_color_type([' .tb_text_wrap', ' .callout-heading']),
[19] Fix | Delete
this.get_font_size(' .callout-content'),
[20] Fix | Delete
this.get_line_height(' .callout-content'),
[21] Fix | Delete
this.get_letter_spacing([' .callout-content', ' .callout-heading']),
[22] Fix | Delete
this.get_text_align([' .callout-content', ' .callout-heading']),
[23] Fix | Delete
this.get_text_transform([' .callout-content', ' .callout-heading']),
[24] Fix | Delete
this.get_font_style([' .callout-content', ' .callout-heading']),
[25] Fix | Delete
this.get_text_decoration([' .callout-content'], 'text_decoration_regular'),
[26] Fix | Delete
this.get_text_shadow(' .callout-content')
[27] Fix | Delete
],
[28] Fix | Delete
h: [
[29] Fix | Delete
this.get_font_family(' .callout-content', 'f_f', 'h'),
[30] Fix | Delete
this.get_color_type([':hover .tb_text_wrap', ':hover .callout-heading'], '', 'f_c_t_h', 'f_c_h', 'f_g_c_h'),
[31] Fix | Delete
this.get_font_size(' .callout-content', 'f_s', '', 'h'),
[32] Fix | Delete
this.get_font_style([' .callout-content', ' .callout-heading'], 'f_st', 'f_w', 'h'),
[33] Fix | Delete
this.get_text_decoration([' .callout-content'], 't_d_r', 'h'),
[34] Fix | Delete
this.get_text_shadow(' .callout-content', 't_sh', 'h')
[35] Fix | Delete
]
[36] Fix | Delete
})
[37] Fix | Delete
]),
[38] Fix | Delete
this.get_expand('l', [
[39] Fix | Delete
this.get_tab({
[40] Fix | Delete
n: [
[41] Fix | Delete
this.get_color(['.module .tb_text_wrap a', '.module .tb_callout_text'], 'link_color'),
[42] Fix | Delete
this.get_text_decoration(['.module a', '.module .callout-content'])
[43] Fix | Delete
],
[44] Fix | Delete
h: [
[45] Fix | Delete
this.get_color(['.module .tb_text_wrap a', '.module .tb_callout_text'], 'link_color', null, null, 'hover'),
[46] Fix | Delete
this.get_text_decoration(['.module a', '.module .callout-content'], 't_d', 'h')
[47] Fix | Delete
]
[48] Fix | Delete
})
[49] Fix | Delete
]),
[50] Fix | Delete
this.get_expand('p', [
[51] Fix | Delete
this.get_tab({
[52] Fix | Delete
n: [
[53] Fix | Delete
this.get_padding()
[54] Fix | Delete
],
[55] Fix | Delete
h: [
[56] Fix | Delete
this.get_padding('', 'p', 'h')
[57] Fix | Delete
]
[58] Fix | Delete
})
[59] Fix | Delete
]),
[60] Fix | Delete
this.get_expand('m', [
[61] Fix | Delete
this.get_tab({
[62] Fix | Delete
n: [
[63] Fix | Delete
this.get_margin()
[64] Fix | Delete
],
[65] Fix | Delete
h: [
[66] Fix | Delete
this.get_margin('', 'm', 'h')
[67] Fix | Delete
]
[68] Fix | Delete
})
[69] Fix | Delete
]),
[70] Fix | Delete
this.get_expand('b', [
[71] Fix | Delete
this.get_tab({
[72] Fix | Delete
n: [
[73] Fix | Delete
this.get_border()
[74] Fix | Delete
],
[75] Fix | Delete
h: [
[76] Fix | Delete
this.get_border('', 'b', 'h')
[77] Fix | Delete
]
[78] Fix | Delete
})
[79] Fix | Delete
]),
[80] Fix | Delete
this.get_expand('f_l', [
[81] Fix | Delete
this.get_tab({
[82] Fix | Delete
n: [
[83] Fix | Delete
this.get_blend()
[84] Fix | Delete
],
[85] Fix | Delete
h: [
[86] Fix | Delete
this.get_blend('', '', 'h')
[87] Fix | Delete
]
[88] Fix | Delete
})
[89] Fix | Delete
]),
[90] Fix | Delete
this.get_expand('w', [
[91] Fix | Delete
this.get_width('', 'w')
[92] Fix | Delete
]),
[93] Fix | Delete
// Height & Min Height
[94] Fix | Delete
this.get_expand('ht', [
[95] Fix | Delete
this.get_height()
[96] Fix | Delete
]),
[97] Fix | Delete
this.get_expand('r_c', [
[98] Fix | Delete
this.get_tab({
[99] Fix | Delete
n: [
[100] Fix | Delete
this.get_border_radius()
[101] Fix | Delete
],
[102] Fix | Delete
h: [
[103] Fix | Delete
this.get_border_radius('', 'r_c', 'h')
[104] Fix | Delete
]
[105] Fix | Delete
})
[106] Fix | Delete
]),
[107] Fix | Delete
this.get_expand('sh', [
[108] Fix | Delete
this.get_tab({
[109] Fix | Delete
n: [
[110] Fix | Delete
this.get_box_shadow('.module')
[111] Fix | Delete
],
[112] Fix | Delete
h: [
[113] Fix | Delete
this.get_box_shadow('.module', 'sh', 'h')
[114] Fix | Delete
]
[115] Fix | Delete
})
[116] Fix | Delete
]),
[117] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[118] Fix | Delete
this.get_expand('zi', [
[119] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[120] Fix | Delete
]
[121] Fix | Delete
),
[122] Fix | Delete
this.get_expand('tr', [
[123] Fix | Delete
this.get_tab({
[124] Fix | Delete
n: [
[125] Fix | Delete
this.get_transform()
[126] Fix | Delete
],
[127] Fix | Delete
h: [
[128] Fix | Delete
this.get_transform('', 'tr', 'h')
[129] Fix | Delete
]
[130] Fix | Delete
})
[131] Fix | Delete
])
[132] Fix | Delete
],
[133] Fix | Delete
calloutTitle = [
[134] Fix | Delete
// Font
[135] Fix | Delete
this.get_seperator('f'),
[136] Fix | Delete
this.get_tab({
[137] Fix | Delete
n: [
[138] Fix | Delete
this.get_font_family('.module .callout-heading', 'font_family_alert_title'),
[139] Fix | Delete
this.get_color('.module .callout-heading', 'font_color_alert_title'),
[140] Fix | Delete
this.get_font_size('.module .callout-heading', 'font_size_alert_title'),
[141] Fix | Delete
this.get_line_height('.module .callout-heading', 'line_height_alert_title'),
[142] Fix | Delete
this.get_letter_spacing('.module .callout-heading', 'letter_spacing_alert_title'),
[143] Fix | Delete
this.get_text_transform('.module .callout-heading', 'text_transform_title'),
[144] Fix | Delete
this.get_font_style('.module .callout-heading', 'font_style_title', 'font_title_bold'),
[145] Fix | Delete
this.get_text_shadow('.module .callout-heading', 't_sh_c_t')
[146] Fix | Delete
],
[147] Fix | Delete
h: [
[148] Fix | Delete
this.get_font_family('.module .callout-heading', 'f_f_a_t', 'h'),
[149] Fix | Delete
this.get_color('.module .callout-heading', 'font_color_alert_title', null, null, 'h'),
[150] Fix | Delete
this.get_font_size('.module .callout-heading', 'f_s_a_t', '', 'h'),
[151] Fix | Delete
this.get_font_style('.module .callout-heading', 'f_s_t', 'f_t_b', 'h'),
[152] Fix | Delete
this.get_text_shadow('.module .callout-heading', 't_sh_c_t', 'h')
[153] Fix | Delete
]
[154] Fix | Delete
})
[155] Fix | Delete
],
[156] Fix | Delete
calloutButton = [
[157] Fix | Delete
// Background
[158] Fix | Delete
this.get_expand('bg', [
[159] Fix | Delete
this.get_tab({
[160] Fix | Delete
n: [
[161] Fix | Delete
this.get_color(' .callout-button a', 'background_color_button', 'bg_c', 'background-color')
[162] Fix | Delete
],
[163] Fix | Delete
h: [
[164] Fix | Delete
this.get_color(' .callout-button a', 'background_color_button', 'bg_c', 'background-color', 'hover')
[165] Fix | Delete
]
[166] Fix | Delete
})
[167] Fix | Delete
]),
[168] Fix | Delete
// Font
[169] Fix | Delete
this.get_expand('f', [
[170] Fix | Delete
this.get_tab({
[171] Fix | Delete
n: [
[172] Fix | Delete
this.get_font_family(' .callout-button a', 'font_family_button'),
[173] Fix | Delete
this.get_color('.module .callout-button a', 'font_color_button'),
[174] Fix | Delete
this.get_font_size(' .callout-button a', 'font_size_button'),
[175] Fix | Delete
this.get_font_style(' .callout-button a', 'f_fs_c', 'f_fw_c'),
[176] Fix | Delete
this.get_line_height(' .callout-button a', 'line_height_button'),
[177] Fix | Delete
this.get_text_shadow(' .callout-button a', 't_sh_c_b')
[178] Fix | Delete
],
[179] Fix | Delete
h: [
[180] Fix | Delete
this.get_font_family(' .callout-button a', 'f_f_b', 'h'),
[181] Fix | Delete
this.get_color('.module .callout-button a', 'font_color_button', null, null, 'hover'),
[182] Fix | Delete
this.get_font_size(' .callout-button a', 'f_s_b', '', 'h'),
[183] Fix | Delete
this.get_font_style(' .callout-button a', 'f_fs_c', 'f_fw_c', 'h'),
[184] Fix | Delete
this.get_text_shadow(' .callout-button a', 't_sh_c_b', 'h')
[185] Fix | Delete
]
[186] Fix | Delete
})
[187] Fix | Delete
]),
[188] Fix | Delete
// Rounded Corners
[189] Fix | Delete
this.get_expand('r_c', [
[190] Fix | Delete
this.get_tab({
[191] Fix | Delete
n: [
[192] Fix | Delete
this.get_border_radius(' .callout-button a', 'c_b_r_c')
[193] Fix | Delete
],
[194] Fix | Delete
h: [
[195] Fix | Delete
this.get_border_radius(' .callout-button a', 'c_b_r_c', 'h')
[196] Fix | Delete
]
[197] Fix | Delete
})
[198] Fix | Delete
]),
[199] Fix | Delete
// Shadow
[200] Fix | Delete
this.get_expand('sh', [
[201] Fix | Delete
this.get_tab({
[202] Fix | Delete
n: [
[203] Fix | Delete
this.get_box_shadow(' .callout-button a', 'c_b_sh')
[204] Fix | Delete
],
[205] Fix | Delete
h: [
[206] Fix | Delete
this.get_box_shadow(' .callout-button a', 'c_b_sh', 'h')
[207] Fix | Delete
]
[208] Fix | Delete
})
[209] Fix | Delete
])
[210] Fix | Delete
];
[211] Fix | Delete
[212] Fix | Delete
return {
[213] Fix | Delete
type: 'tabs',
[214] Fix | Delete
options: {
[215] Fix | Delete
g: general,
[216] Fix | Delete
m_t: this.module_title_custom_style(),
[217] Fix | Delete
calhead: calloutTitle,
[218] Fix | Delete
calbtn: calloutButton
[219] Fix | Delete
}
[220] Fix | Delete
};
[221] Fix | Delete
}
[222] Fix | Delete
}
[223] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function