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: star.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()
[8] Fix | Delete
],
[9] Fix | Delete
h: [
[10] Fix | Delete
this.get_image('', '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(),
[19] Fix | Delete
this.get_color('', 'st_g'),
[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(),
[26] Fix | Delete
this.get_text_shadow()
[27] Fix | Delete
],
[28] Fix | Delete
h: [
[29] Fix | Delete
this.get_font_family('', 'f_f_h'),
[30] Fix | Delete
this.get_color('', 'f_c_h', null, null, 'h'),
[31] Fix | Delete
this.get_font_size('', 'f_s', '', 'h'),
[32] Fix | Delete
this.get_font_style('', 'f_st', 'f_w', 'h'),
[33] Fix | Delete
this.get_text_shadow('', 't_sh', 'h')
[34] Fix | Delete
]
[35] Fix | Delete
})
[36] Fix | Delete
]),
[37] Fix | Delete
// Padding
[38] Fix | Delete
this.get_expand('p', [
[39] Fix | Delete
this.get_tab({
[40] Fix | Delete
n: [
[41] Fix | Delete
this.get_padding()
[42] Fix | Delete
],
[43] Fix | Delete
h: [
[44] Fix | Delete
this.get_padding('', 'p', 'h')
[45] Fix | Delete
]
[46] Fix | Delete
})
[47] Fix | Delete
]),
[48] Fix | Delete
// Margin
[49] Fix | Delete
this.get_expand('m', [
[50] Fix | Delete
this.get_tab({
[51] Fix | Delete
n: [
[52] Fix | Delete
this.get_margin()
[53] Fix | Delete
],
[54] Fix | Delete
h: [
[55] Fix | Delete
this.get_margin('', 'm', 'h')
[56] Fix | Delete
]
[57] Fix | Delete
})
[58] Fix | Delete
]),
[59] Fix | Delete
// Border
[60] Fix | Delete
this.get_expand('b', [
[61] Fix | Delete
this.get_tab({
[62] Fix | Delete
n: [
[63] Fix | Delete
this.get_border()
[64] Fix | Delete
],
[65] Fix | Delete
h: [
[66] Fix | Delete
this.get_border('', 'b', 'h')
[67] Fix | Delete
]
[68] Fix | Delete
})
[69] Fix | Delete
]),
[70] Fix | Delete
// Filter
[71] Fix | Delete
this.get_expand('f_l', [
[72] Fix | Delete
this.get_tab({
[73] Fix | Delete
n: [
[74] Fix | Delete
this.get_blend()
[75] Fix | Delete
],
[76] Fix | Delete
h: [
[77] Fix | Delete
this.get_blend('', '', 'h')
[78] Fix | Delete
]
[79] Fix | Delete
})
[80] Fix | Delete
]),
[81] Fix | Delete
// Width
[82] Fix | Delete
this.get_expand('w', [
[83] Fix | Delete
this.get_width('', 'w')
[84] Fix | Delete
]),
[85] Fix | Delete
// Height & Min Height
[86] Fix | Delete
this.get_expand('ht', [
[87] Fix | Delete
this.get_height()
[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
// Position
[112] Fix | Delete
this.get_expand('po', [this.get_css_position()]),
[113] Fix | Delete
// this.get_expand('disp', this.get_self_align()),
[114] Fix | Delete
this.get_expand('zi', [
[115] Fix | Delete
this.get_zindex('', 'custom_parallax_scroll_zindex')
[116] Fix | Delete
]
[117] Fix | Delete
),
[118] Fix | Delete
this.get_expand('tr', [
[119] Fix | Delete
this.get_tab({
[120] Fix | Delete
n: [
[121] Fix | Delete
this.get_transform()
[122] Fix | Delete
],
[123] Fix | Delete
h: [
[124] Fix | Delete
this.get_transform('', 'tr', 'h')
[125] Fix | Delete
]
[126] Fix | Delete
})
[127] Fix | Delete
])
[128] Fix | Delete
],
[129] Fix | Delete
star = [
[130] Fix | Delete
//Gaps
[131] Fix | Delete
this.get_expand('gap', [
[132] Fix | Delete
this.get_row_gap(' .tb_star_wrap'),
[133] Fix | Delete
this.get_column_gap(' .tb_star_item')
[134] Fix | Delete
]),
[135] Fix | Delete
// Star Base Color
[136] Fix | Delete
this.get_expand('strbasec', [
[137] Fix | Delete
this.get_tab({
[138] Fix | Delete
n: [
[139] Fix | Delete
this.get_color(' .tb_star_container', 'st_c')
[140] Fix | Delete
],
[141] Fix | Delete
h: [
[142] Fix | Delete
this.get_color(' .tb_star_container', 'st_c', null, null, 'hover')
[143] Fix | Delete
]
[144] Fix | Delete
})
[145] Fix | Delete
]),
[146] Fix | Delete
// Star Highlight Color
[147] Fix | Delete
this.get_expand('strhghlghtc', [
[148] Fix | Delete
this.get_color([' .tb_star_fill',' .tb_star_half'], 'st_h_c')
[149] Fix | Delete
])
[150] Fix | Delete
],
[151] Fix | Delete
textBefore = [
[152] Fix | Delete
// Text Before Font
[153] Fix | Delete
this.get_expand('f', [
[154] Fix | Delete
this.get_tab({
[155] Fix | Delete
n: [
[156] Fix | Delete
this.get_font_family(' .tb_star_text_b', 'f_f_t_b'),
[157] Fix | Delete
this.get_color(' .tb_star_text_b', 'c_t_b'),
[158] Fix | Delete
this.get_font_size(' .tb_star_text_b', 'f_s_t_b'),
[159] Fix | Delete
this.get_line_height(' .tb_star_text_b', 'l_h_t_b'),
[160] Fix | Delete
this.get_letter_spacing(' .tb_star_text_b', 'l_s_t_b'),
[161] Fix | Delete
this.get_text_transform(' .tb_star_text_b', 't_t_t_b'),
[162] Fix | Delete
this.get_font_style(' .tb_star_text_b', 'f_sy_t_b', 'f_w_t_b'),
[163] Fix | Delete
this.get_text_shadow(' .tb_star_text_b', 't_sh_t_b')
[164] Fix | Delete
],
[165] Fix | Delete
h: [
[166] Fix | Delete
this.get_font_family(' .tb_star_text_b', 'f_f_t_b', 'h'),
[167] Fix | Delete
this.get_color(' .tb_star_text_b', 'c_t_b', null, null, 'h'),
[168] Fix | Delete
this.get_font_size(' .tb_star_text_b', 'f_s_t_b', '', 'h'),
[169] Fix | Delete
this.get_font_style(' .tb_star_text_b', 'f_sy_t_b', 'f_w_t_b', 'h'),
[170] Fix | Delete
this.get_text_shadow(' .tb_star_text_b', 't_sh_t_b', 'h')
[171] Fix | Delete
]
[172] Fix | Delete
})
[173] Fix | Delete
]),
[174] Fix | Delete
// Margin
[175] Fix | Delete
this.get_expand('m', [
[176] Fix | Delete
this.get_tab({
[177] Fix | Delete
n: [
[178] Fix | Delete
this.get_margin(' .tb_star_text_b', 'm_t_b')
[179] Fix | Delete
],
[180] Fix | Delete
h: [
[181] Fix | Delete
this.get_margin(' .tb_star_text_b', 'm_t_b', 'h')
[182] Fix | Delete
]
[183] Fix | Delete
})
[184] Fix | Delete
]),
[185] Fix | Delete
// Width
[186] Fix | Delete
this.get_expand('w', [
[187] Fix | Delete
this.get_width(' .tb_star_text_b', 'w_t_b')
[188] Fix | Delete
])
[189] Fix | Delete
],
[190] Fix | Delete
textAfter = [
[191] Fix | Delete
// Text After Font
[192] Fix | Delete
this.get_expand('f', [
[193] Fix | Delete
this.get_tab({
[194] Fix | Delete
n: [
[195] Fix | Delete
this.get_font_family(' .tb_star_text_a', 'f_f_t_a'),
[196] Fix | Delete
this.get_color(' .tb_star_text_a', 'c_t_a'),
[197] Fix | Delete
this.get_font_size(' .tb_star_text_a', 'f_s_t_a'),
[198] Fix | Delete
this.get_line_height(' .tb_star_text_a', 'l_h_t_a'),
[199] Fix | Delete
this.get_letter_spacing(' .tb_star_text_a', 'l_s_t_a'),
[200] Fix | Delete
this.get_text_transform(' .tb_star_text_a', 't_t_t_a'),
[201] Fix | Delete
this.get_font_style(' .tb_star_text_a', 'f_sy_t_a', 'f_w_t_a'),
[202] Fix | Delete
this.get_text_shadow(' .tb_star_text_a', 't_sh_t_a')
[203] Fix | Delete
],
[204] Fix | Delete
h: [
[205] Fix | Delete
this.get_font_family(' .tb_star_text_a', 'f_f_t_a', 'h'),
[206] Fix | Delete
this.get_color(' .tb_star_text_a', 'c_t_a', null, null, 'h'),
[207] Fix | Delete
this.get_font_size(' .tb_star_text_a', 'f_s_t_a', '', 'h'),
[208] Fix | Delete
this.get_font_style(' .tb_star_text_a', 'f_sy_t_a', 'f_w_t_a', 'h'),
[209] Fix | Delete
this.get_text_shadow(' .tb_star_text_a', 't_sh_t_a', 'h')
[210] Fix | Delete
]
[211] Fix | Delete
})
[212] Fix | Delete
]),
[213] Fix | Delete
// Margin
[214] Fix | Delete
this.get_expand('m', [
[215] Fix | Delete
this.get_tab({
[216] Fix | Delete
n: [
[217] Fix | Delete
this.get_margin(' .tb_star_text_a', 'm_t_a')
[218] Fix | Delete
],
[219] Fix | Delete
h: [
[220] Fix | Delete
this.get_margin(' .tb_star_text_a', 'm_t_a', 'h')
[221] Fix | Delete
]
[222] Fix | Delete
})
[223] Fix | Delete
]),
[224] Fix | Delete
// Width
[225] Fix | Delete
this.get_expand('w', [
[226] Fix | Delete
this.get_width(' .tb_star_text_a', 'w_t_a')
[227] Fix | Delete
])
[228] Fix | Delete
];
[229] Fix | Delete
[230] Fix | Delete
return {
[231] Fix | Delete
type: 'tabs',
[232] Fix | Delete
options: {
[233] Fix | Delete
g: general,
[234] Fix | Delete
m_t: this.module_title_custom_style(),
[235] Fix | Delete
star: star,
[236] Fix | Delete
tbefore: textBefore,
[237] Fix | Delete
tafter: textAfter
[238] Fix | Delete
}
[239] Fix | Delete
};
[240] Fix | Delete
}
[241] Fix | Delete
}
[242] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function