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: login.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
this.get_expand('bg', [
[4] Fix | Delete
this.get_tab({
[5] Fix | Delete
n: [
[6] Fix | Delete
this.get_image('', 'b_i', 'bg_c', 'b_r', 'b_p')
[7] Fix | Delete
],
[8] Fix | Delete
h: [
[9] Fix | Delete
this.get_image('', 'b_i', 'bg_c', 'b_r', 'b_p', 'h')
[10] Fix | Delete
]
[11] Fix | Delete
})
[12] Fix | Delete
]),
[13] Fix | Delete
this.get_expand('f', [
[14] Fix | Delete
this.get_tab({
[15] Fix | Delete
n: [
[16] Fix | Delete
this.get_font_family('', 'f_f'),
[17] Fix | Delete
this.get_color_type([' label', ' a'], '', 'f_c_t', 'f_c', 'f_g_c'),
[18] Fix | Delete
this.get_font_size('', 'f_s'),
[19] Fix | Delete
this.get_line_height('', 'l_h'),
[20] Fix | Delete
this.get_letter_spacing('', 'l_s'),
[21] Fix | Delete
this.get_text_align('', 't_a'),
[22] Fix | Delete
this.get_text_transform('', 't_t'),
[23] Fix | Delete
this.get_font_style('', 'f_st', 'f_w'),
[24] Fix | Delete
this.get_text_decoration(['', ' .tb_login_remember_text'], 't_d_r'),
[25] Fix | Delete
this.get_text_shadow()
[26] Fix | Delete
],
[27] Fix | Delete
h: [
[28] Fix | Delete
this.get_font_family('', 'f_f', 'h'),
[29] Fix | Delete
this.get_color_type([' label', ' a'], 'h'),
[30] Fix | Delete
this.get_font_size('', 'f_s', '', 'h'),
[31] Fix | Delete
this.get_font_style('', 'f_st', 'f_w', 'h'),
[32] Fix | Delete
this.get_text_decoration(['', ' .tb_login_remember_text'], 't_d_r', '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('', 'p')
[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('', 'm')
[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('', 'b')
[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([' .tb_login_form', ' .tb_lostpassword_form'], 'g_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
// 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
labels = [
[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(' label', 'f_f_l'),
[133] Fix | Delete
this.get_color(' label', 'f_c_l'),
[134] Fix | Delete
this.get_font_size(' label', 'f_s_l'),
[135] Fix | Delete
this.get_font_style(' label', 'f_st_l', 'f_fw_l'),
[136] Fix | Delete
this.get_text_shadow(' label', 't_sh_l')
[137] Fix | Delete
],
[138] Fix | Delete
h: [
[139] Fix | Delete
this.get_font_family(' label', 'f_f_l', 'h'),
[140] Fix | Delete
this.get_color(' label', 'f_c_l', null, null, 'h'),
[141] Fix | Delete
this.get_font_size(' label', 'f_s_l', '', 'h'),
[142] Fix | Delete
this.get_font_style(' label', 'f_st_l', 'f_fw_l', 'h'),
[143] Fix | Delete
this.get_text_shadow(' label', 't_sh_l', 'h')
[144] Fix | Delete
]
[145] Fix | Delete
})
[146] Fix | Delete
],
[147] Fix | Delete
inputs = [
[148] Fix | Delete
//bacground
[149] Fix | Delete
this.get_expand('bg', [
[150] Fix | Delete
this.get_tab({
[151] Fix | Delete
n: [
[152] Fix | Delete
this.get_color(' input', 'bg_c_i', 'bg_c', 'background-color')
[153] Fix | Delete
],
[154] Fix | Delete
h: [
[155] Fix | Delete
this.get_color(' input', 'bg_c_i', 'bg_c', 'background-color', 'h')
[156] Fix | Delete
]
[157] Fix | Delete
})
[158] Fix | Delete
]),
[159] Fix | Delete
// Font
[160] Fix | Delete
this.get_expand('f', [
[161] Fix | Delete
this.get_tab({
[162] Fix | Delete
n: [
[163] Fix | Delete
this.get_font_family(' input', 'f_f_i'),
[164] Fix | Delete
this.get_color(' input', 'f_c_i'),
[165] Fix | Delete
this.get_font_size(' input', 'f_s_i'),
[166] Fix | Delete
this.get_font_style(' input', 'f_st_i', 'f_fw_i'),
[167] Fix | Delete
this.get_text_shadow(' input', 't_sh_i')
[168] Fix | Delete
],
[169] Fix | Delete
h: [
[170] Fix | Delete
this.get_font_family(' input', 'f_f_i', 'h'),
[171] Fix | Delete
this.get_color(' input', 'f_c_i', null, null, 'h'),
[172] Fix | Delete
this.get_font_size(' input', 'f_s_i', '', 'h'),
[173] Fix | Delete
this.get_font_style(' input', 'f_st_i', 'f_fw_i', 'h'),
[174] Fix | Delete
this.get_text_shadow(' input', 't_sh_i', 'h')
[175] Fix | Delete
]
[176] Fix | Delete
})
[177] Fix | Delete
]),
[178] Fix | Delete
// Placeholder
[179] Fix | Delete
this.get_expand('placeh', [
[180] Fix | Delete
this.get_tab({
[181] Fix | Delete
n: [
[182] Fix | Delete
this.get_font_family(' input::placeholder', 'f_f_in_ph'),
[183] Fix | Delete
this.get_color(' input::placeholder', 'f_c_in_ph'),
[184] Fix | Delete
this.get_font_size(' input::placeholder', 'f_s_in_ph'),
[185] Fix | Delete
this.get_font_style(' input::placeholder', 'f_st_in_ph', 'f_fw_in_ph'),
[186] Fix | Delete
this.get_text_shadow(' input::placeholder', 't_sh_in_ph')
[187] Fix | Delete
],
[188] Fix | Delete
h: [
[189] Fix | Delete
this.get_font_family(' input:hover::placeholder', 'f_f_in_ph_h', ''),
[190] Fix | Delete
this.get_color(' input:hover::placeholder', 'f_c_in_ph_h', null, null, ''),
[191] Fix | Delete
this.get_font_size(' input:hover::placeholder', 'f_s_in_ph_h', '', ''),
[192] Fix | Delete
this.get_font_style(' input:hover::placeholder', 'f_st_in_ph', 'f_fw_in_ph', 'h'),
[193] Fix | Delete
this.get_text_shadow(' input:hover::placeholder', 't_sh_in_ph_h', '')
[194] Fix | Delete
]
[195] Fix | Delete
})
[196] Fix | Delete
]),
[197] Fix | Delete
// Border
[198] Fix | Delete
this.get_expand('b', [
[199] Fix | Delete
this.get_tab({
[200] Fix | Delete
n: [
[201] Fix | Delete
this.get_border(' input', 'b_in')
[202] Fix | Delete
],
[203] Fix | Delete
h: [
[204] Fix | Delete
this.get_border(' input', 'b_in', 'h')
[205] Fix | Delete
]
[206] Fix | Delete
})
[207] Fix | Delete
]),
[208] Fix | Delete
// Padding
[209] Fix | Delete
this.get_expand('p', [
[210] Fix | Delete
this.get_tab({
[211] Fix | Delete
n: [
[212] Fix | Delete
this.get_padding(' input', 'in_p')
[213] Fix | Delete
],
[214] Fix | Delete
h: [
[215] Fix | Delete
this.get_padding(' input', 'in_p', 'h')
[216] Fix | Delete
]
[217] Fix | Delete
})
[218] Fix | Delete
]),
[219] Fix | Delete
// Width
[220] Fix | Delete
this.get_expand('w', [
[221] Fix | Delete
this.get_width([' input[type="text"]', ' input[type="password"]'], 'in_w')
[222] Fix | Delete
]),
[223] Fix | Delete
// Rounded Corners
[224] Fix | Delete
this.get_expand('r_c', [
[225] Fix | Delete
this.get_tab({
[226] Fix | Delete
n: [
[227] Fix | Delete
this.get_border_radius(' input', 'in_r_c')
[228] Fix | Delete
],
[229] Fix | Delete
h: [
[230] Fix | Delete
this.get_border_radius(' input', 'in_r_c', 'h')
[231] Fix | Delete
]
[232] Fix | Delete
})
[233] Fix | Delete
]),
[234] Fix | Delete
// Shadow
[235] Fix | Delete
this.get_expand('sh', [
[236] Fix | Delete
this.get_tab({
[237] Fix | Delete
n: [
[238] Fix | Delete
this.get_box_shadow(' input', 'in_b_sh')
[239] Fix | Delete
],
[240] Fix | Delete
h: [
[241] Fix | Delete
this.get_box_shadow(' input', 'in_b_sh', 'h')
[242] Fix | Delete
]
[243] Fix | Delete
})
[244] Fix | Delete
])
[245] Fix | Delete
],
[246] Fix | Delete
sendButton = [
[247] Fix | Delete
//bacground
[248] Fix | Delete
this.get_expand('bg', [
[249] Fix | Delete
this.get_tab({
[250] Fix | Delete
n: [
[251] Fix | Delete
this.get_color(' .tb_login_submit button, .tb_lostpassword_submit button', 'bg_c_s', 'bg_c', 'background-color')
[252] Fix | Delete
],
[253] Fix | Delete
h: [
[254] Fix | Delete
this.get_color(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'bg_c_s_h', 'bg_c', 'background-color', '')
[255] Fix | Delete
]
[256] Fix | Delete
})
[257] Fix | Delete
]),
[258] Fix | Delete
// Font
[259] Fix | Delete
this.get_expand('f', [
[260] Fix | Delete
this.get_tab({
[261] Fix | Delete
n: [
[262] Fix | Delete
this.get_font_family(' .tb_login_submit button, .tb_lostpassword_submit button', 'f_f_s'),
[263] Fix | Delete
this.get_color(' .tb_login_submit button, .tb_lostpassword_submit button', 'f_c_s'),
[264] Fix | Delete
this.get_font_size(' .tb_login_submit button, .tb_lostpassword_submit button', 'f_s_s'),
[265] Fix | Delete
this.get_font_style(' .tb_login_submit button, .tb_lostpassword_submit button', 'f_st_s', 'f_fw_s'),
[266] Fix | Delete
this.get_text_shadow(' .tb_login_submit button, .tb_lostpassword_submit button', 't_sh_b')
[267] Fix | Delete
],
[268] Fix | Delete
h: [
[269] Fix | Delete
this.get_font_family(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'f_f_s_h', ''),
[270] Fix | Delete
this.get_color(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'f_c_s_h', null, null, ''),
[271] Fix | Delete
this.get_font_size(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'f_s_s_h', '', ''),
[272] Fix | Delete
this.get_font_style(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'f_st_s', 'f_fw_s', 'h'),
[273] Fix | Delete
this.get_text_shadow(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 't_sh_b_h', '')
[274] Fix | Delete
]
[275] Fix | Delete
})
[276] Fix | Delete
]),
[277] Fix | Delete
// Border
[278] Fix | Delete
this.get_expand('b', [
[279] Fix | Delete
this.get_tab({
[280] Fix | Delete
n: [
[281] Fix | Delete
this.get_border(' .tb_login_submit button, .tb_lostpassword_submit button', 'b_s')
[282] Fix | Delete
],
[283] Fix | Delete
h: [
[284] Fix | Delete
this.get_border(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'b_s_s', '')
[285] Fix | Delete
]
[286] Fix | Delete
})
[287] Fix | Delete
]),
[288] Fix | Delete
// Padding
[289] Fix | Delete
this.get_expand('p', [
[290] Fix | Delete
this.get_tab({
[291] Fix | Delete
n: [
[292] Fix | Delete
this.get_padding(' .tb_login_submit button, .tb_lostpassword_submit button', 'bt_p')
[293] Fix | Delete
],
[294] Fix | Delete
h: [
[295] Fix | Delete
this.get_padding(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'bt_p', 'h')
[296] Fix | Delete
]
[297] Fix | Delete
})
[298] Fix | Delete
]),
[299] Fix | Delete
// Rounded Corners
[300] Fix | Delete
this.get_expand('r_c', [
[301] Fix | Delete
this.get_tab({
[302] Fix | Delete
n: [
[303] Fix | Delete
this.get_border_radius(' .tb_login_submit button, .tb_lostpassword_submit button', 'bt_r_c')
[304] Fix | Delete
],
[305] Fix | Delete
h: [
[306] Fix | Delete
this.get_border_radius(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'bt_r_c', 'h')
[307] Fix | Delete
]
[308] Fix | Delete
})
[309] Fix | Delete
]),
[310] Fix | Delete
// Shadow
[311] Fix | Delete
this.get_expand('sh', [
[312] Fix | Delete
this.get_tab({
[313] Fix | Delete
n: [
[314] Fix | Delete
this.get_box_shadow(' .tb_login_submit button, .tb_lostpassword_submit button', 'bt_sh')
[315] Fix | Delete
],
[316] Fix | Delete
h: [
[317] Fix | Delete
this.get_box_shadow(' .tb_login_submit button:hover, .tb_lostpassword_submit button:hover', 'bt_sh', 'h')
[318] Fix | Delete
]
[319] Fix | Delete
})
[320] Fix | Delete
])
[321] Fix | Delete
],
[322] Fix | Delete
loginError = [
[323] Fix | Delete
//background
[324] Fix | Delete
this.get_expand('bg', [
[325] Fix | Delete
this.get_tab({
[326] Fix | Delete
n: [
[327] Fix | Delete
this.get_color(' .tb_login_error', 'bg_c_e', 'bg_c', 'background-color')
[328] Fix | Delete
],
[329] Fix | Delete
h: [
[330] Fix | Delete
this.get_color(' .tb_login_error:hover', 'bg_c_e_h', 'bg_c', 'background-color', '')
[331] Fix | Delete
]
[332] Fix | Delete
})
[333] Fix | Delete
]),
[334] Fix | Delete
// Font
[335] Fix | Delete
this.get_expand('f', [
[336] Fix | Delete
this.get_tab({
[337] Fix | Delete
n: [
[338] Fix | Delete
this.get_font_family(' .tb_login_error', 'f_f_e'),
[339] Fix | Delete
this.get_color(' .tb_login_error', 'f_c_e'),
[340] Fix | Delete
this.get_font_size(' .tb_login_error', 'f_s_e'),
[341] Fix | Delete
this.get_font_style(' .tb_login_error', 'f_st_e', 'f_fw_e'),
[342] Fix | Delete
this.get_text_shadow(' .tb_login_error', 't_sh_e')
[343] Fix | Delete
],
[344] Fix | Delete
h: [
[345] Fix | Delete
this.get_font_family(' tb_login_error:hover', 'f_f_e_h', ''),
[346] Fix | Delete
this.get_color(' .tb_login_error:hover', 'f_c_e_h', null, null, ''),
[347] Fix | Delete
this.get_font_size(' .tb_login_error:hover', 'f_s_e_h', '', ''),
[348] Fix | Delete
this.get_font_style(' .tb_login_error:hover', 'f_st_e', 'f_fw_e', 'h'),
[349] Fix | Delete
this.get_text_shadow(' .tb_login_error:hover', 't_sh_e_h', '')
[350] Fix | Delete
]
[351] Fix | Delete
})
[352] Fix | Delete
]),
[353] Fix | Delete
// Border
[354] Fix | Delete
this.get_expand('b', [
[355] Fix | Delete
this.get_tab({
[356] Fix | Delete
n: [
[357] Fix | Delete
this.get_border(' .tb_login_error', 'b_e')
[358] Fix | Delete
],
[359] Fix | Delete
h: [
[360] Fix | Delete
this.get_border(' .tb_login_error:hover', 'b_e_s', '')
[361] Fix | Delete
]
[362] Fix | Delete
})
[363] Fix | Delete
]),
[364] Fix | Delete
// Padding
[365] Fix | Delete
this.get_expand('p', [
[366] Fix | Delete
this.get_tab({
[367] Fix | Delete
n: [
[368] Fix | Delete
this.get_padding(' .tb_login_error', 'e_p')
[369] Fix | Delete
],
[370] Fix | Delete
h: [
[371] Fix | Delete
this.get_padding(' .tb_login_error:hover', 'e_p_h', 'h')
[372] Fix | Delete
]
[373] Fix | Delete
})
[374] Fix | Delete
]),
[375] Fix | Delete
// Rounded Corners
[376] Fix | Delete
this.get_expand('r_c', [
[377] Fix | Delete
this.get_tab({
[378] Fix | Delete
n: [
[379] Fix | Delete
this.get_border_radius(' .tb_login_error', 'e_r_c')
[380] Fix | Delete
],
[381] Fix | Delete
h: [
[382] Fix | Delete
this.get_border_radius(' .tb_login_error:hover', 'e_r_c', 'h')
[383] Fix | Delete
]
[384] Fix | Delete
})
[385] Fix | Delete
]),
[386] Fix | Delete
// Shadow
[387] Fix | Delete
this.get_expand('sh', [
[388] Fix | Delete
this.get_tab({
[389] Fix | Delete
n: [
[390] Fix | Delete
this.get_box_shadow(' .tb_login_error', 'e_sh')
[391] Fix | Delete
],
[392] Fix | Delete
h: [
[393] Fix | Delete
this.get_box_shadow(' .tb_login_error:hover', 'e_sh', 'h')
[394] Fix | Delete
]
[395] Fix | Delete
})
[396] Fix | Delete
])
[397] Fix | Delete
];
[398] Fix | Delete
[399] Fix | Delete
return {
[400] Fix | Delete
type: 'tabs',
[401] Fix | Delete
options: {
[402] Fix | Delete
g: general,
[403] Fix | Delete
m_t: this.module_title_custom_style(),
[404] Fix | Delete
labels: labels,
[405] Fix | Delete
inpf: inputs,
[406] Fix | Delete
submitbtn: sendButton,
[407] Fix | Delete
lgerrmsg: loginError
[408] Fix | Delete
}
[409] Fix | Delete
};
[410] Fix | Delete
}
[411] Fix | Delete
}
[412] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function