PageSourceSearch

https://dmorph.com/js/_front.js

js dmorph.com collected 2026-10-04 02:28:59 UTC 28,606 bytes, 590 lines download raw bytes

1/* global jQuery:false */
2
3// GLOBAL SETTINGS
4var MENU_FIXED = true;
5
6
7var error_msg_box = null;
8var menu_offset = 0;
9
10jQuery(document).ready(function() {
11	"use strict";
12
13	// toTop link setup
14	showToTop();
15	jQuery(window).scroll(showToTop);
16	jQuery('#toTop').click(function(e) {
17		"use strict";
18		jQuery('body,html').animate({scrollTop:0}, 800);
19		e.preventDefault();
20		return false;
21	});
22
23	// Search link
24	var linkWidth = 0;
25	jQuery('.search_link').click(function(e) {
26		if (jQuery('.search_link').width() < 50) {
27			linkWidth = jQuery('.search_link').width();
28			jQuery('.search_link').animate({width:'250px'}, 200);
29			jQuery('.search_over').animate({width:'250px'}, 200);
30			jQuery('#header_top_inner .header_icons .searchform').show();
31		} else if (jQuery('#header_top_inner .header_icons .field_search').val()!=='') {
32			jQuery('#header_top_inner .header_icons .searchform').get(0).submit();
33		} else {
34			jQuery('#header_top_inner .header_icons .searchform').hide();
35			jQuery('.search_link').animate({width:linkWidth+'px'}, 200);
36			jQuery('.search_over').animate({width:linkWidth+'px'}, 200);
37		}
38		e.preventDefault();
39		return false;
40	});
41
42	// Search form link
43	jQuery('.search_form_link').click(function(e) {
44		if (jQuery(this).parents('form').find('.field_search').val()!=='') {
45			jQuery(this).parents('form').get(0).submit();
46		}
47		e.preventDefault();
48		return false;
49	});
50	
51	// Main menu substitute
52	jQuery('#mainmenu').mobileMenu();
53
54	// Main menu handler
55	jQuery('#mainmenu').superfish({
56		autoArrows: false,
57		speed: 'fast',
58		speedOut: 'fast',
59		animation: {height:'show'},
60		animationOut: {opacity: 'hide'},
61		useClick: false,
62		delay: 100,
63		disableHI: true
64	});
65
66	// Menu fixed position
67	if (MENU_FIXED) {
68		menu_offset = jQuery('#header_middle').offset().top;
69		mainMenuFixed();
70		jQuery(window).scroll(mainMenuFixed);
71	}
72
73	// Video and Audio tag wrapper
74	if (jQuery('video,audio').length > 0) {
75		jQuery('video,audio').mediaelementplayer(/* Options */);
76	}
77
78	// Pretty photo
79	jQuery("a[href$='jpg'],a[href$='jpeg'],a[href$='png'],a[href$='gif']").toggleClass('prettyPhoto', true);
80	jQuery("a[class*='prettyPhoto']").click(function(e) {
81		if (jQuery(window).width()<480)	{
82			e.stopImmediatePropagation();
83			window.location = jQuery(this).attr('href');
84		}
85		e.preventDefault();
86		return false;
87	});
88	if (jQuery("a[class*='prettyPhoto']").length > 0) {
89		jQuery("a[class*='prettyPhoto']").prettyPhoto({
90			social_tools: '',
91			theme: 'light_rounded'
92		});
93	}
94	
95
96	// ----------------------- Shortcodes setup -------------------
97
98	// Galleries Slider
99	if (jQuery('.sc_slider_flex').length > 0) {
100		jQuery('.sc_slider_flex').flexslider({
101			directionNav: true,
102			controlNav: true,
103			animation: 'fade',
104			animationLoop: true,
105			slideshow: true,
106			slideshowSpeed: 7000,
107			animationSpeed: 600,
108			pauseOnAction: true,
109			pauseOnHover: false,
110			useCSS: false,
111			manualControls: '',
112			/*
113			start: function(slider){},
114			before: function(slider){},
115			after: function(slider){},
116			end: function(slider){},              
117			added: function(){},            
118			removed: function(){} 
119			*/
120		});
121	}
122
123	// Infoboxes
124	jQuery('div.sc_infobox_closeable').click(function() {
125		jQuery(this).fadeOut();
126	});
127
128	// Tooltips
129	jQuery('.sc_tooltip_parent').hover(
130		function(){
131			var obj = jQuery(this);
132			obj.find('.sc_tooltip').stop().animate({'marginTop': '5'}, 100).show();
133		},
134		function(){
135			var obj = jQuery(this);
136			obj.find('.sc_tooltip').stop().animate({'marginTop': '0'}, 100).hide();
137		}
138	);
139
140	// Tabs
141	jQuery('div.sc_tabs').tabs('div.content', 
142		{
143			tabs: '.tab_names > a',
144			initialIndex : 0
145		}
146	);
147
148	// Accordion
149	jQuery('div.sc_accordion').tabs('div.sc_accordion_item > div.sc_accordion_content', {
150		tabs: '.sc_accordion_title > a',
151		effect : 'slide',
152		currentClose: true,
153		initialIndex : 0
154	});
155
156	// Toggles
157	jQuery('div.sc_toggles').tabs('div.sc_toggles_item > div.sc_toggles_content', {
158		tabs: '.sc_toggles_title > a',
159		effect : 'slide',
160		currentClose: true,
161		anotherClose: false,
162		initialIndex : 0
163	});
164
165	// Blogger slider
166	jQuery(".sc_blogger_slider").each(function() {
167		var slider = jQuery(this);
168		slider.elastislide({
169			minItems: slider.data('items'),
170			margin: slider.data('margin'),
171			border: slider.data('border'),
172			imageW: slider.data('width')
173		});
174	});
175
176	// Blogger slider links fix
177	jQuery(".sc_blogger_slider a").click(function(e) {
178		if (!jQuery(this).hasClass('image_zoom')) {
179			window.location.href = jQuery(this).attr("href");
180		}
181		e.preventDefault();
182		return false;
183	});
184
185	// Contact form submit
186	jQuery(".sc_contact_form .button a").click(function(e){
187		userSubmitForm(jQuery(this).parents('form'), 'php/sendform.php');
188		e.preventDefault();
189		return false;
190	});
191
192
193	// ----------------------- Comment form submit ----------------
194	jQuery("form#commentform").submit(function(e) {
195		var error = formValidate(jQuery(this), {
196			error_message_text: GLOBAL_ERROR_TEXT,	// Global error message text (if don't write in checked field)
197			error_message_show: true,				// Display or not error message
198			error_message_time: 10000,				// Error message display time
199			error_message_class: 'sc_infobox sc_infobox_style_error',	// Class appended to error message block
200			error_fields_class: 'error_fields_class',					// Class appended to error fields
201			exit_after_first_error: false,								// Cancel validation and exit after first error
202			rules: [
203				{
204					field: 'author',
205					min_length: { value: 1, message: NAME_EMPTY},
206					max_length: { value: 60, message: NAME_LONG}
207				},
208				{
209					field: 'email',
210					min_length: { value: 7, message: EMAIL_EMPTY},
211					max_length: { value: 60, message: EMAIL_LONG},
212					mask: { value: '^([a-z0-9_\\-]+\\.)*[a-z0-9_\\-]+@[a-z0-9_\\-]+(\\.[a-z0-9_\\-]+)*\\.[a-z]{2,6}$', message: EMAIL_NOT_VALID}
213				},
214				{
215					field: 'comment',
216					min_length: { value: 1, message: MESSAGE_EMPTY },
217					max_length: { value: 400, message: MESSAGE_LONG}
218				}
219			]
220		});
221		if (error) { e.preventDefault(); }
222		return !error;
223	});
224});
225
226
227// Set equal height in blocks
228function setEqualHeight(selector) {
229	"use strict";
230	var maxHeight = 0;
231	for (var i=0; i<2; i++) {
232		jQuery(selector).each(function(){
233			if (i > 0) {
234				if (maxHeight>0) jQuery(this).height(maxHeight);
235			} else if (jQuery(this).height() > maxHeight)
236				maxHeight = jQuery(this).height();
237		});
238	}
239}
240
241
242// Show/Hide "to Top" button
243function showToTop() {
244	"use strict";
245	var s = jQuery(this).scrollTop();
246	if (s >= 110) {
247		jQuery('#toTop').show();
248	} else {
249		jQuery('#toTop').hide();	
250	}
251}
252
253// Main menu fixed
254function mainMenuFixed() {
255	"use strict";
256	var s = jQuery(window).scrollTop();
257	if (s >= menu_offset) {
258		jQuery('body').addClass('menu_fixed');
259	} else {
260		jQuery('body').removeClass('menu_fixed');
261	}
262}
263
264
265
266/* Login & registration
267---------------------------------------------------------------------------------------------- */
268jQuery(document).ready(function () {
269	"use strict";
270	jQuery('.link_login,.link_register,.popup_form .popup_title .popup_close').click(function(e) {
271		var obj = jQuery(this);
272		var popup = obj.hasClass('link_login') ? jQuery('#popup_login') : (obj.hasClass('link_register') ? jQuery('#popup_register') : jQuery(this).parents('.popup_form'));
273		if (popup.length === 1) {
274			if (popup.hasClass('visible')) {
275				popup.removeClass('visible').slideUp();
276			} else {
277				jQuery('.popup_form').removeClass('visible').fadeOut();
278				if (parseInt(popup.css('left'), 10) === 0) {
279					var offset = jQuery(this).offset();
280					popup.css({
281						left: offset.left-10,
282						top: offset.top+jQuery(this).height()+4
283					});
284				}
285				popup.addClass('visible').slideDown();
286			}
287		}
288		e.preventDefault();
289		return false;
290	});
291	jQuery('.popup_form form').keypress(function(e){
292		if (e.keyCode === 27) {
293			jQuery(this).parents('.popup_form').find('.popup_title .popup_close').trigger('click');
294			e.preventDefault();
295			return false;
296		} else if (e.keyCode === 13) {
297			jQuery(this).parents('.popup_form').find('.popup_button a').trigger('click');
298			e.preventDefault();
299			return false;
300		}
301	});
302	jQuery('#popup_login .popup_button a').click(function(e){
303		jQuery('#popup_login form input').removeClass('error_fields_class');
304		var error = formValidate(jQuery('#popup_login form'), {
305			error_message_show: true,
306			error_message_time: 4000,
307			error_message_class: 'sc_infobox sc_infobox_style_error',
308			error_fields_class: 'error_fields_class',
309			exit_after_first_error: true,
310			rules: [
311				{
312					field: "log",
313					min_length: { value: 1, message: LOGIN_EMPTY},
314					max_length: { value: 60, message: LOGIN_LONG}
315				},
316				{
317					field: "pwd",
318					min_length: { value: 4, message: PASSWORD_EMPTY},
319					max_length: { value: 20, message: PASSWORD_LONG}
320				}
321			]
322		});
323		if (!error) {
324			document.forms.login_form.submit();
325		}
326		e.preventDefault();
327		return false;
328	});
329	jQuery('#popup_register .popup_button a').click(function(e){
330		jQuery('#popup_register form input').removeClass('error_fields_class');
331		var error = formValidate(jQuery("#popup_register form"), {
332			error_message_show: true,
333			error_message_time: 4000,
334			error_message_class: "sc_infobox sc_infobox_style_error",
335			error_fields_class: "error_fields_class",
336			exit_after_first_error: true,
337			rules: [
338				{
339					field: "registration_username",
340					min_length: { value: 1, message: LOGIN_EMPTY },
341					max_length: { value: 60, message: LOGIN_LONG }
342				},
343				{
344					field: "registration_email",
345					min_length: { value: 7, message: EMAIL_EMPTY },
346					max_length: { value: 60, message: EMAIL_LONG },
347					mask: { value: "^([a-z0-9_\\-]+\\.)*[a-z0-9_\\-]+@[a-z0-9_\\-]+(\\.[a-z0-9_\\-]+)*\\.[a-z]{2,6}$", message: EMAIL_NOT_VALID }
348				},
349				{
350					field: "registration_pwd",
351					min_length: { value: 4, message: PASSWORD_EMPTY },
352					max_length: { value: 20, message: PASSWORD_LONG }
353				},
354				{
355					field: "registration_pwd2",
356					equal_to: { value: 'registration_pwd', message: PASSWORD_NOT_EQUAL }
357				}
358			]
359		});
360		if (!error) {
361			jQuery.post(ajax_url, {
362				action: 'registration_user',
363				nonce: ajax_nonce,
364				user_name: jQuery('#popup_register #registration_username').val(),
365				user_email: jQuery('#popup_register #registration_email').val(),
366				user_pwd: jQuery('#popup_register #registration_pwd').val()
367			}).done(function(response) {
368				var rez = JSON.parse(response);
369				var result_box = jQuery('#popup_register .result');
370				result_box.toggleClass('sc_infobox_style_error', false).toggleClass('sc_infobox_style_success', false);
371				if (rez.error === '') {
372					result_box.addClass('sc_infobox_style_success').html(REGISTRATION_SUCCESS);
373					setTimeout(function() { jQuery('#popup_register .popup_close').trigger('click'); jQuery('.link_login').trigger('click'); }, 2000);
374				} else {
375					result_box.addClass('sc_infobox_style_error').html(REGISTRATION_FAILED + ' ' + rez.error);
376				}
377				result_box.fadeIn();
378				setTimeout(function() { jQuery('#popup_register .result').fadeOut(); }, 5000);
379			});
380		}
381		e.preventDefault();
382		return false;
383	});
384});
385
386
387
388
389/* Customizer
390---------------------------------------------------------------------------------------------- */
391jQuery(document).ready(function () {
392	"use strict";
393	if (jQuery("#custom_options").length===1) {
394
395		var body_style = jQuery.cookie('body_style');
396		var box = jQuery('#custom_options .switcher').eq(0);
397		switchBox(box, body_style, true);
398		jQuery(document).find('body').addClass(body_style);
399		jQuery(document).trigger('resize');
400
401		var theme_color = jQuery.cookie('theme_color');
402		if (theme_color != '' && theme_color != undefined) {
403			jQuery('#co_theme_color div').css('backgroundColor', theme_color);
404			setThemeColor(theme_color);
405		}
406		
407		var bg_inited = false;
408		
409		var bg_image = jQuery.cookie('bg_image');
410		if (bg_image > 0) {
411			jQuery('#custom_options #co_bg_images_list #image_'+bg_image).addClass('current');
412			jQuery(document).find('body').addClass('bg_image_'+bg_image);
413			bg_inited = true;
414		}
415		
416		var bg_pattern = jQuery.cookie('bg_pattern');
417		if (bg_pattern > 0) {
418			if (!bg_inited) {
419				jQuery('#custom_options #co_bg_pattern_list #pattern_'+bg_pattern).addClass('current');
420				jQuery(document).find('body').addClass('bg_pattern_'+bg_pattern);
421				bg_inited = true;
422			}
423		}
424		
425		var bg_color = jQuery.cookie('bg_color');
426		if (bg_color != '' && bg_color != undefined) {
427			if (!bg_inited) {
428				jQuery('#co_bg_color div').css('backgroundColor', bg_color);
429				jQuery(document).find('body').css('backgroundColor', bg_color);
430				bg_inited = true;
431			}
432		}
433
434		jQuery('#co_toggle').click(function(e) {
435			var co = jQuery('#custom_options').eq(0);
436			if (co.hasClass('opened')) {
437				co.removeClass('opened').animate({marginRight:-237}, 300);
438			} else {
439				co.addClass('opened').animate({marginRight:-15}, 300);
440			}
441			e.preventDefault();
442			return false;
443		});
444		// Body style
445		jQuery("#custom_options .switcher a" ).draggable({
446			axis: 'x',
447			containment: 'parent',
448			stop: function() {
449				var left = parseInt(jQuery(this).css('left'), 10);
450				var curStyle = left < 25 ? 'wide' : 'boxed';
451				switchBox(jQuery(this).parent(), curStyle, true);
452			}
453		});
454		jQuery("#custom_options .switcher" ).click(function(e) {
455			switchBox(jQuery(this));
456			e.preventDefault();
457			return false;
458		});
459		jQuery("#custom_options .co_switch_box .boxed" ).click(function(e) {
460			switchBox(jQuery('#custom_options .switcher'), 'boxed');
461			e.preventDefault();
462			return false;
463		});
464		jQuery("#custom_options .co_switch_box .stretched" ).click(function(e) {
465			switchBox(jQuery('#custom_options .switcher'), 'wide');
466			e.preventDefault();
467			return false;
468		});
469		// Main theme color and Background color
470		var clickedObj = null;
471		jQuery('#custom_options .colorSelector').ColorPicker({
472			onBeforeShow: function () {
473				clickedObj = jQuery(this);
474				jQuery(this).ColorPickerSetColor(jQuery(this).siblings('input').attr('value'));
475			},
476			onShow: function (colpkr) {
477				jQuery(colpkr).fadeIn(500);
478				return false;
479			},
480			onHide: function (colpkr) {
481				jQuery(colpkr).fadeOut(500);
482				return false;
483			},
484			onSubmit: function (hsb, hex, rgb) {
485				jQuery(clickedObj).find('div').css('backgroundColor', '#' + hex);
486				jQuery(clickedObj).siblings('input').attr('value','#' + hex);
487				if (clickedObj.attr('id')==='co_theme_color') {
488					jQuery.cookie('theme_color', '#' + hex, {expires: 365, path: '/'});
489					setThemeColor('#'+hex);
490					//window.location = jQuery("#custom_options #co_site_url").val();
491				} else {
492					jQuery("#custom_options .co_switch_box .boxed").trigger('click');
493					jQuery('#custom_options #co_bg_pattern_list .co_pattern_wrapper,#custom_options #co_bg_images_list .co_image_wrapper').removeClass('current');
494					jQuery.cookie('bg_image', null, {expires: -1, path: '/'});
495					jQuery.cookie('bg_pattern', null, {expires: -1, path: '/'});
496					jQuery.cookie('bg_color', '#' + hex, {expires: 365, path: '/'});
497					jQuery(document).find('body').removeClass('bg_pattern_1 bg_pattern_2 bg_pattern_3 bg_pattern_4 bg_pattern_5 bg_image_1 bg_image_2 bg_image_3').css('backgroundColor', '#'+hex);
498				}
499			}
500		});
501		// Background patterns
502		jQuery('#custom_options #co_bg_pattern_list a').click(function(e) {
503			jQuery("#custom_options .co_switch_box .boxed").trigger('click');
504			jQuery('#custom_options #co_bg_pattern_list .co_pattern_wrapper,#custom_options #co_bg_images_list .co_image_wrapper').removeClass('current');
505			var obj = jQuery(this).addClass('current');
506			var val = obj.attr('id').substr(-1);
507			jQuery.cookie('bg_color', null, {expires: -1, path: '/'});
508			jQuery.cookie('bg_image', null, {expires: -1, path: '/'});
509			jQuery.cookie('bg_pattern', val, {expires: 365, path: '/'});
510			jQuery(document).find('body').removeClass('bg_pattern_1 bg_pattern_2 bg_pattern_3 bg_pattern_4 bg_pattern_5 bg_image_1 bg_image_2 bg_image_3').addClass('bg_pattern_' + val);
511			e.preventDefault();
512			return false;
513		});
514		// Background images
515		jQuery('#custom_options #co_bg_images_list a').click(function(e) {
516			jQuery("#custom_options .co_switch_box .boxed").trigger('click');
517			jQuery('#custom_options #co_bg_images_list .co_image_wrapper,#custom_options #co_bg_pattern_list .co_pattern_wrapper').removeClass('current');
518			var obj = jQuery(this).addClass('current');
519			var val = obj.attr('id').substr(-1);
520			jQuery.cookie('bg_color', null, {expires: -1, path: '/'});
521			jQuery.cookie('bg_pattern', null, {expires: -1, path: '/'});
522			jQuery.cookie('bg_image', val, {expires: 365, path: '/'});
523			jQuery(document).find('body').removeClass('bg_pattern_1 bg_pattern_2 bg_pattern_3 bg_pattern_4 bg_pattern_5 bg_image_1 bg_image_2 bg_image_3').addClass('bg_image_' + val);
524			e.preventDefault();
525			return false;
526		});
527	}
528});
529
530// Switch body style between 'boxed' and 'wide'
531function switchBox(box) {
532	"use strict";
533	var toStyle = arguments[1] ? arguments[1] : '';
534	var important = arguments[2] ? arguments[2] : false;
535	var switcher = box.find('a').eq(0);
536	var left = parseInt(switcher.css('left'), 10);
537	var newStyle = left < 5 ? 'boxed' : 'wide';
538	if (toStyle==='' || important || newStyle === toStyle) {
539		if (toStyle==='') {toStyle = newStyle;}
540		var right = box.width() - switcher.width() + 2;
541		if (toStyle === 'wide') {switcher.animate({left: -2}, 200);}
542		else {switcher.animate({left: right}, 200);}
543		jQuery.cookie('body_style', toStyle, {expires: 365, path: '/'});
544		jQuery(document).find('body').removeClass(toStyle==='boxed' ? 'wide' : 'boxed').addClass(toStyle);
545		jQuery(document).trigger('resize');
546	}
547	return newStyle;
548}
549
550
551// Set theme accent color for each themed elements
552function setThemeColor(theme_color) {
553	"use strict";
554	var hsb = hex_hsb(theme_color);
555	hsb.s = Math.round(hsb.s*0.5);
556	hsb.b = Math.min(100, Math.round(hsb.b*1.2));
557	var tc_light = hsb_hex(hsb);
558	var style = THEMEREX_custom_styles.replace(/#\$\$\$\$\$\$/g, theme_color).replace(/#@@@@@@/g, tc_light);
559	var css = jQuery('head style#custom_stylesheet');
560	if (css.length===1)
561		css.html(style);
562	else
563		jQuery('head').append('<style id="custom_stylesheet">'+style+'</style>');
564}
565
566var THEMEREX_custom_styles = '.image_wrapper .image_link:hover,.image_wrapper .image_zoom:hover {background-color:#$$$$$$;} .post_info a:hover {color:#$$$$$$ !important;} a, a:hover, a:visited { color: #$$$$$$; } .post_views a:hover,.post_comments a:hover {color:#$$$$$$ !important;} .post_comments a:hover .comments_number {color:#$$$$$$ !important;}.post_views a:hover [class^="icon-"]:before,.post_views a:hover [class*=" icon-"]:before,.post_comments a:hover [class^="icon-"]:before,.post_comments a:hover [class*=" icon-"]:before {color:#$$$$$$ !important;} #header_top_inner .login_or_register a:hover { color:#$$$$$$; }#header_top_inner .social:hover [class^="icon-"]:before,#header_top_inner .social:hover [class*=" icon-"]:before {color:#$$$$$$;} #header_top_inner .header_icons .search_link [class^="icon-"]:before,#header_top_inner .header_icons .search_link [class*=" icon-"]:before {color:#$$$$$$;} #header_middle_inner .logo_default a:hover {color:#$$$$$$;} #header_middle_inner .logo_norma_top { background-color:#$$$$$$; } #header_middle_inner .logo_norma_top:before { background-color:#$$$$$$; } #header_middle_inner .logo_norma_top:after { background-color:#$$$$$$; } #header_middle_inner #mainmenu > li > a:hover, #header_middle_inner #mainmenu > li.sfHover > a { border-bottom-color:#$$$$$$; } #header_middle_inner #mainmenu > li ul { background: #$$$$$$; } .breadcrumbs li a:hover { color: #$$$$$$; } #content .more-link:hover { color: #$$$$$$; } .content_blog .post_title a:hover { color: #$$$$$$; } .content_blog .post_format_quote .post_content:before { color:#$$$$$$; } .content_blog .post_format_quote .post_content a:hover { color:#$$$$$$; } .content_blog #portfolio_iso_filters a.current, .content_blog #portfolio_iso_filters a:hover {	color:#$$$$$$; } #nav_pages li a:hover, .nav_pages_parts a:hover, .nav_comments a:hover { color: #$$$$$$; }
566 .sc_slider_flex .flex-direction-nav li:before { background-color: #$$$$$$; } .sc_slider_flex .flex-control-nav a.flex-active, .sc_slider_flex .flex-control-nav a:hover { background-color:#$$$$$$; } .post_info_1 .post_format {	background-color:#$$$$$$; } .blog_style_b2 .title_area { border-left-color: #$$$$$$;} .blog_style_b3 .post_title:after, .content_blog.post_single .subtitle_area .post_subtitle:after, .content_blog.post_single #comments #reply-title:after { border-bottom-color: #$$$$$$; } .blog_style_p1 .title_area .post_categories a:hover { color: #$$$$$$; } .blog_style_p2 .title_area .post_categories a:hover, .blog_style_p3 .title_area .post_categories a:hover, .blog_style_p4 .title_area .post_categories a:hover {	color: #$$$$$$; } .content_blog .post_social .social:hover [class^="icon-"]:before, .content_blog .post_social .social:hover [class*=" icon-"]:before { color:#$$$$$$; } .content_blog .post_author_details .extra_wrap h3 a:hover { color:#$$$$$$; } .content_blog.post_single #related_posts .related_posts_item .title_area a:hover { color:#$$$$$$; } .content_blog.post_single #comments .comment_title_area .comment_reply a:hover { color: #$$$$$$; } .content_blog.post_single #comments .comment_title_area .comment_title a:hover { color: #$$$$$$; } .content_blog.post_single #commentform #submit:hover { color:#$$$$$$; } .blog_style_p1.post_single #related_posts .post_info a:hover { color:#$$$$$$ !important;}  .blog_style_p1.post_single .post_details .post_url a { color:#$$$$$$ !important; } .content_blog article.page_404 .post_content .post_subtitle { color:#$$$$$$; } .content_blog article.page_404 .post_content .search_form_link:hover .icon-search:before { color:#$$$$$$; } #sidebar_main .widget .widget_title:after { border-bottom-color: #$$$$$$; } #sidebar_main .widget ul li:hover:before, #advert_sidebar_inner .widget ul li:hover:before { background:#$$$$$$; border-color:#$$$$$$; } #sidebar_main .widget ul li a:hover, #advert_sidebar_inner .widget ul li a:hover { color:#$$$$$$; } #sidebar_main .widget.widget_tag_cloud a:hover, #advert_sidebar_inner .widget.widget_tag_cloud a:hover { border-color:#$$$$$$; background-color:#$$$$$$; } #sidebar_main .widget.widget_calendar table tbody a:hover, #advert_sidebar_inner .widget.widget_calendar table tbody a:hover { color:#$$$$$$;} #sidebar_main .widget.widget_calendar table tfoot a:hover, #advert_sidebar_inner .widget.widget_calendar table tfoot a:hover { color:#$$$$$$; } #sidebar_main .widget .post_title a:hover, #advert_sidebar_inner .widget .post_title a:hover { color:#$$$$$$; } #sidebar_main .widget .post_author a:hover, #advert_sidebar_inner .widget .post_author a:hover { color:#$$$$$$; } #sidebar_main .sc_contact_form .button a, #advert_sidebar_inner .sc_contact_form .button a { background-color:#$$$$$$; } #sidebar_main .widget_contacts .widget_inner a:hover, #advert_sidebar_inner .widget_contacts .widget_inner a:hover { color:#$$$$$$; } #sidebar_main .widget_social a:hover [class^="icon-"]:before, #advert_sidebar_inner .widget_social a:hover [class*=" icon-"]:before { color:#$$$$$$; } #sidebar_main .widget_qrcode_vcard .personal_data a:hover, #advert_sidebar_inner .widget_qrcode_vcard .personal_data a:hover { color:#$$$$$$; } #advert_sidebar_inner .widget.widget_text { border-right-color:#$$$$$$; } #footer_sidebar_inner .widget .widget_title:after { border-bottom-color: #$$$$$$; } #footer_sidebar_inner .widget ul li:hover:before { background:#$$$$$$;	border-color:#$$$$$$; } #footer_sidebar_inner .widget ul li a:hover { color:#$$$$$$; } #footer_sidebar_inner .widget.widget_tag_cloud a:hover { border-color:#$$$$$$; background-color:#$$$$$$; } #footer_sidebar_inner .widget .post_title a:hover { color:#$$$$$$; } #footer_sidebar_inner .widget .post_author a:hover { color:#$$$$$$; } #footer_sidebar_inner .widget.widget_popular_posts .tabs a:hover:after,#footer_sidebar_inner .widget.widget_popular_posts .tabs a.current:after {border-bottom-color: #$$$$$$;} #footer_sidebar_inner .sc_contact_form .button a {background-color:#$$$$$$;} #footer_sidebar_inner .widget_contacts .widget_inner a:hover {color:#$$$$$$;} #footer_sidebar_inner .widget_social a:hover [class^="icon-"]:before { color:#$$$$$$; } #footer_sidebar_inner .widget_qrcode_vcard a:hover { color:#$$$$$$; }
566 .popup_form .popup_title { border-bottom-color:#$$$$$$; } .popup_form .popup_title .popup_arrow:after { border-color: transparent transparent #$$$$$$ transparent; } .popup_form .popup_field.popup_button a {	background-color:#$$$$$$; } .popup_form .popup_body .result.sc_infobox_style_error { color:#$$$$$$; } .popup_form .popup_field input.error_fields_class { border-color:#$$$$$$; } .sc_title:after { border-bottom-color: #$$$$$$; } .sc_title_bubble_right .sc_title_bubble_icon { 	background-color:#$$$$$$; } .sc_title_bubble_down .sc_title_bubble_icon { background-color:#$$$$$$; } blockquote.sc_quote {	border-left-color: #$$$$$$; } blockquote.sc_quote cite a:hover { color:#$$$$$$; } .sc_dropcaps.sc_dropcaps_style_2 span.sc_dropcap { background-color: #$$$$$$; } ul.sc_list.sc_list_style_mark li span.sc_list_icon, ul.sc_list li.sc_list_style_mark span.sc_list_icon { background: #$$$$$$; } .sc_accordion .sc_accordion_item .sc_accordion_title a:hover { color:#$$$$$$; } .sc_accordion .sc_accordion_item .sc_accordion_title a.current { color:#$$$$$$; } .sc_accordion .sc_accordion_item .sc_accordion_title a:hover span:before, .sc_accordion .sc_accordion_item .sc_accordion_title a:hover span:after, .sc_accordion .sc_accordion_item .sc_accordion_title a.current span:before { background: #$$$$$$; } .sc_toggles .sc_toggles_item .sc_toggles_title a:hover { color:#$$$$$$; } .sc_toggles .sc_toggles_item .sc_toggles_title a.current { color:#$$$$$$; } .sc_toggles .sc_toggles_item .sc_toggles_title a:hover span:before, .sc_toggles .sc_toggles_item .sc_toggles_title a:hover span:after, .sc_toggles .sc_toggles_item .sc_toggles_title a.current span:before { background: #$$$$$$; } .sc_skills .sc_skills_item .sc_skills_level { background:#$$$$$$; } .sc_team .sc_team_item_social a:hover [class^="icon-"]:before, .sc_team .sc_team_item_social a:hover [class*=" icon-"]:before { color:#$$$$$$; } .sc_contact_form .button a { background-color:#$$$$$$; } .sc_blogger .sc_blogger_title a:hover { color:#$$$$$$;} .sc_blogger.style_date .date_month {background-color:#$$$$$$; } .sc_blogger.sc_blogger_slider .es-nav span:hover { background:#$$$$$$; border-color:#$$$$$$; } #custom_options .co_options #co_bg_images_list a.current, #custom_options .co_options #co_bg_pattern_list a.current { background-color:#$$$$$$; } .tp-caption.big_red { color:#$$$$$$; } .tp-caption.bg_red { background-color:#$$$$$$; } .tp-caption.norma-top { background-color:#$$$$$$; } .tp-caption.norma-top:before { background-color:#$$$$$$; } .tp-caption.norma-top:after { background-color:#$$$$$$; } .tp-caption a.button-red { border:1px solid #$$$$$$; background: #$$$$$$; background: -webkit-gradient(linear, 0 0, 0 100%, from(#@@@@@@), to(#$$$$$$)); background: -webkit-linear-gradient(#@@@@@@ 0%, #$$$$$$ 100%); background: -moz-linear-gradient(#@@@@@@ 0%, #$$$$$$ 100%); background: -ms-linear-gradient(#@@@@@@ 0%, #$$$$$$ 100%); background: -o-linear-gradient(#@@@@@@ 0%, #$$$$$$ 100%); background: linear-gradient(#@@@@@@ 0%, #$$$$$$ 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#@@@@@@", endColorstr="#$$$$$$",GradientType=0 ); text-shadow:#$$$$$$ 1px 1px; } .tp-caption a.button-red:hover { background: #$$$$$$; }';
567
568
569
570
571/* Javascript String constants for translation
572---------------------------------------------------------------------------------------------- */
573var GLOBAL_ERROR_TEXT	= "Global error text";
574var NAME_EMPTY 			= "The name can't be empty";
575var NAME_LONG 			= "Too long name";
576var EMAIL_EMPTY 		= "Too short (or empty) email address";
577var EMAIL_LONG 			= "Too long email address";
578var EMAIL_NOT_VALID 	= "Invalid email address";
579var MESSAGE_EMPTY 		= "The message text can't be empty";
580var MESSAGE_LONG 		= "Too long message text";
581var SEND_COMPLETE 		= "Message Sent! Thank You.";
582var SEND_ERROR 			= "Transmit failed!";
583var GEOCODE_ERROR 		= "Geocode was not successful for the following reason:";
584var LOGIN_EMPTY			= "The Login field can't be empty";
585var LOGIN_LONG			= "Too long login field";
586var PASSWORD_EMPTY		= "The password can't be empty and shorter then 5 characters";
587var PASSWORD_LONG		= "Too long password";
588var PASSWORD_NOT_EQUAL	= "The passwords in both fields are not equal";
589var REGISTRATION_SUCCESS= "Registration success! Please log in!";
590var REGISTRATION_FAILED	= "Registration failed!";

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.