Version Description
- New menus: Performance Options and Support
- JSON responses transformed into HTML
- Input focusing after clicking on close button
- Added an option to control the facet change event
- Custom Ajax Handler implemented
- Image cropping disabled, added an option to control it
- Debug data gathering for more effective support
- Some scrolling issues fixes
- A category and term related bug fixed
Download this release
Release Info
Developer | wpdreams |
Plugin | Ajax Search Lite |
Version | 4.5 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.5
- ajax-search-lite.php +20 -4
- ajax_search.php +44 -0
- backend/help_and_support.php +57 -0
- backend/performance_options.php +51 -0
- backend/settings.php +6 -0
- backend/settings/assets/style.css +75 -0
- backend/settings/class/customposttypeseditable.class.php +1 -1
- backend/settings/class/customtaxonomyterm.class.php +1 -1
- backend/settings/default_options.php +8 -0
- backend/settings/functions.php +1 -1
- backend/settings/types.inc.php +3 -13
- backend/tabs/instance/general_options.php +8 -0
- css/style-classic-blue.css +46 -72
- css/style-simple-blue.css +205 -98
- css/style-simple-grey.css +50 -52
- css/style-simple-red.css +19 -252
- css/style-underline.css +49 -74
- css/style.basic.css +63 -446
- functions.php +98 -17
- includes/asl_init.class.php +26 -7
- includes/cache/timthumb_int_924fd749b06d87972550ce2462181116.timthumb.txt +0 -0
- includes/cache/timthumb_int_c85b341bfdcfa5f2c4847db20d8b52d1.timthumb.txt +0 -0
- includes/cache/timthumb_int_decd49cb06bfb5b66187e1919079ba6d.timthumb.txt +0 -0
- includes/cache/timthumb_int_f12d4dd7b87d24f6c7cfacf3f36a9231.timthumb.txt +0 -0
- includes/debug_data.class.php +53 -0
- includes/hooks.php +3 -2
- includes/search.class.php +1 -1
- includes/search_content.class.php +79 -10
- includes/views/asl.shortcode.php +5 -4
- includes/views/keyword-suggestions.php +31 -0
- includes/views/no-results.php +27 -0
- includes/views/result.php +90 -0
- js/nomin-scoped/jquery.ajaxsearchlite.js +30 -68
- readme.txt +16 -3
- search.php +6 -3
ajax-search-lite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ajax Search Lite
|
4 |
Plugin URI: http://wp-dreams.com
|
5 |
Description: The lite version of the most powerful ajax powered search engine for WordPress.
|
6 |
-
Version: 4.
|
7 |
Author: Ernest Marcinko
|
8 |
Author URI: http://wp-dreams.com
|
9 |
Text Domain: ajax-search-lite
|
@@ -15,23 +15,30 @@ Domain Path: /languages/
|
|
15 |
define('ASL_PATH', plugin_dir_path(__FILE__));
|
16 |
define('ASL_CSS_PATH', plugin_dir_path(__FILE__)."/css/");
|
17 |
define('ASL_CACHE_PATH', plugin_dir_path(__FILE__)."/cache/");
|
|
|
18 |
define('ASL_TT_CACHE_PATH', plugin_dir_path(__FILE__)."/includes/cache/");
|
19 |
define('ASL_DIR', 'ajax-search-lite');
|
20 |
define('ASL_URL', plugin_dir_url(__FILE__));
|
21 |
-
define('ASL_CURRENT_VERSION',
|
|
|
22 |
define('ASL_DEBUG', 0);
|
23 |
|
24 |
global $asl_admin_pages;
|
|
|
25 |
|
26 |
$asl_admin_pages = array(
|
27 |
"ajax-search-lite/backend/settings.php",
|
28 |
-
"ajax-search-lite/backend/analytics.php"
|
|
|
|
|
29 |
);
|
30 |
|
31 |
require_once(ASL_PATH . "/includes/asl_init.class.php");
|
|
|
32 |
require_once(ASL_PATH . "/functions.php");
|
33 |
require_once(ASL_PATH . "/backend/settings/functions.php");
|
34 |
|
|
|
35 |
|
36 |
/* Includes only on ASP ajax requests */
|
37 |
if (isset($_POST) && isset($_POST['action']) &&
|
@@ -70,4 +77,13 @@ if (is_admin() || (!is_admin() && !isset($_POST['action_']))) {
|
|
70 |
|
71 |
/* Includes on Post/Page/Custom post type edit pages */
|
72 |
|
73 |
-
require_once(ASL_PATH . "/includes/widgets.php");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Plugin Name: Ajax Search Lite
|
4 |
Plugin URI: http://wp-dreams.com
|
5 |
Description: The lite version of the most powerful ajax powered search engine for WordPress.
|
6 |
+
Version: 4.5
|
7 |
Author: Ernest Marcinko
|
8 |
Author URI: http://wp-dreams.com
|
9 |
Text Domain: ajax-search-lite
|
15 |
define('ASL_PATH', plugin_dir_path(__FILE__));
|
16 |
define('ASL_CSS_PATH', plugin_dir_path(__FILE__)."/css/");
|
17 |
define('ASL_CACHE_PATH', plugin_dir_path(__FILE__)."/cache/");
|
18 |
+
define('ASL_INCLUDES_PATH', plugin_dir_path(__FILE__)."/includes/");
|
19 |
define('ASL_TT_CACHE_PATH', plugin_dir_path(__FILE__)."/includes/cache/");
|
20 |
define('ASL_DIR', 'ajax-search-lite');
|
21 |
define('ASL_URL', plugin_dir_url(__FILE__));
|
22 |
+
define('ASL_CURRENT_VERSION', 4501);
|
23 |
+
define('ASL_CURR_VER_STRING', "4.5");
|
24 |
define('ASL_DEBUG', 0);
|
25 |
|
26 |
global $asl_admin_pages;
|
27 |
+
global $asl_debug_data;
|
28 |
|
29 |
$asl_admin_pages = array(
|
30 |
"ajax-search-lite/backend/settings.php",
|
31 |
+
"ajax-search-lite/backend/analytics.php",
|
32 |
+
"ajax-search-lite/backend/performance_options.php",
|
33 |
+
"ajax-search-lite/backend/help_and_support.php"
|
34 |
);
|
35 |
|
36 |
require_once(ASL_PATH . "/includes/asl_init.class.php");
|
37 |
+
require_once(ASL_PATH . "/includes/debug_data.class.php");
|
38 |
require_once(ASL_PATH . "/functions.php");
|
39 |
require_once(ASL_PATH . "/backend/settings/functions.php");
|
40 |
|
41 |
+
$asl_debug_data = new wdDebugData( 'asl_debug_data' );
|
42 |
|
43 |
/* Includes only on ASP ajax requests */
|
44 |
if (isset($_POST) && isset($_POST['action']) &&
|
77 |
|
78 |
/* Includes on Post/Page/Custom post type edit pages */
|
79 |
|
80 |
+
require_once(ASL_PATH . "/includes/widgets.php");
|
81 |
+
|
82 |
+
// Non-forcefully push the instance data
|
83 |
+
$asl_debug_data->pushData(
|
84 |
+
get_option('asl_options'),
|
85 |
+
'asl_options'
|
86 |
+
);
|
87 |
+
|
88 |
+
// Save everything we did
|
89 |
+
$asl_debug_data->save();
|
ajax_search.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// -- AJAX_SEARCH.PHP --
|
3 |
+
//mimic the actual admin-ajax
|
4 |
+
define('DOING_AJAX', true);
|
5 |
+
|
6 |
+
if (!isset( $_POST['action']))
|
7 |
+
die('-1');
|
8 |
+
|
9 |
+
//make sure you update this line
|
10 |
+
//to the relative location of the wp-load.php
|
11 |
+
require_once('../../../wp-load.php');
|
12 |
+
//require_once('search.php');
|
13 |
+
|
14 |
+
//Typical headers
|
15 |
+
header('Content-Type: text/html');
|
16 |
+
send_nosniff_header();
|
17 |
+
|
18 |
+
//Disable caching
|
19 |
+
header('Cache-Control: no-cache');
|
20 |
+
header('Pragma: no-cache');
|
21 |
+
|
22 |
+
|
23 |
+
$action = esc_attr(trim($_POST['action']));
|
24 |
+
|
25 |
+
//A bit of security
|
26 |
+
$allowed_actions = array(
|
27 |
+
'ajaxsearchlite_search'
|
28 |
+
);
|
29 |
+
|
30 |
+
//$action_name = "ajaxsearchpro_search";
|
31 |
+
//For logged in users
|
32 |
+
|
33 |
+
add_action('ASL_ajaxsearchlite_search', 'ajaxsearchlite_search');
|
34 |
+
add_action('ASL_nopriv_ajaxsearchlite_search', 'ajaxsearchlite_search');
|
35 |
+
|
36 |
+
|
37 |
+
if(in_array($action, $allowed_actions)) {
|
38 |
+
if(is_user_logged_in())
|
39 |
+
do_action('ASL_'.$action);
|
40 |
+
else
|
41 |
+
do_action('ASL_nopriv_'.$action);
|
42 |
+
} else {
|
43 |
+
die('-1');
|
44 |
+
}
|
backend/help_and_support.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php global $asl_debug_data; ?>
|
2 |
+
|
3 |
+
<div id="fb-root"></div>
|
4 |
+
<script>(function(d, s, id) {
|
5 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
6 |
+
if (d.getElementById(id)) return;
|
7 |
+
js = d.createElement(s); js.id = id;
|
8 |
+
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=470596109688127&version=v2.0";
|
9 |
+
fjs.parentNode.insertBefore(js, fjs);
|
10 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
11 |
+
|
12 |
+
<div id="wpdreams" class='asl_updates_help'>
|
13 |
+
<div class="wpdreams-box" style='vertical-align: middle;'>
|
14 |
+
<a class='gopro' href='http://demo.wp-dreams.com/?product=ajax_search_pro' target='_blank'>Get the pro version!</a>
|
15 |
+
or leave a like :)
|
16 |
+
<div style='display: inline-block;' class="fb-like" data-href="https://www.facebook.com/pages/WPDreams/383702515034741" data-layout="button_count" data-action="like" data-show-faces="true" data-share="false"></div>
|
17 |
+
or you can follow me
|
18 |
+
<a href="https://twitter.com/ernest_marcinko" class="twitter-follow-button" data-show-count="false">Follow @ernest_marcinko</a>
|
19 |
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div class="wpdreams-box">
|
23 |
+
|
24 |
+
<div class='wpdreams-slider'>
|
25 |
+
|
26 |
+
<div class="wpd-half">
|
27 |
+
<h3>Support</h3>
|
28 |
+
<div class="item">
|
29 |
+
<p>For support please visit the <a target='_blank' href="https://wordpress.org/support/plugin/ajax-search-lite">Ajax Search Lite support forums</a> on wordpress.org</p>
|
30 |
+
<p>
|
31 |
+
Before opening a ticket please:
|
32 |
+
<ul>
|
33 |
+
<li>Search through the threads, the problem might have been solved before</li>
|
34 |
+
<li>Make sure your search configuration is indeed correct</li>
|
35 |
+
<li>Upload the debug data to <a href="https://paste.ee" target="_blank">paste.ee</a> (or to any text paste provider) and <strong>share the url to the paste</strong> in the support message.
|
36 |
+
<br>Please <strong>do not paste this directly to the support forums</strong>, it is lots of data!
|
37 |
+
</li>
|
38 |
+
</ul>
|
39 |
+
</p>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<div class="wpd-half-last">
|
44 |
+
<div class="item">
|
45 |
+
<h3>Debug Data</h3>
|
46 |
+
<textarea><?php echo $asl_debug_data->getSerializedStorage(); ?></textarea>
|
47 |
+
|
48 |
+
<p class="descMsg" style="text-align: left;">
|
49 |
+
This is basic debugging information, mainly for support purposes. In case of contacting
|
50 |
+
the support forums, please copy and paste this data to <a href="https://paste.ee" target="_blank">paste.ee</a> (or to any text paste provider) and <strong>share the url to the paste</strong> in the support message.
|
51 |
+
<br>This data contains the configuration and the last 5 search queries executed, it can be extremely helpful for support.
|
52 |
+
</p>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</div>
|
backend/performance_options.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Prevent direct access */
|
3 |
+
defined( 'ABSPATH' ) or die( "You can't access this file directly." );
|
4 |
+
|
5 |
+
$cache_options = get_option( 'asl_performance' );
|
6 |
+
?>
|
7 |
+
<div id="wpdreams" class='wpdreams wrap'>
|
8 |
+
<div class="wpdreams-box">
|
9 |
+
<?php ob_start(); ?>
|
10 |
+
<div class="item">
|
11 |
+
<p class='infoMsg'>Turn it OFF if the search stops working correctly after enabling.</p>
|
12 |
+
<?php $o = new wpdreamsYesNo( "use_custom_ajax_handler", "Use custom ajax handler", wpdreams_setval_or_getoption( $cache_options, 'use_custom_ajax_handler', 'asl_performance_def' ) ); ?>
|
13 |
+
<p class="descMsg">The queries will be posted to a custom ajax handler file, which does not wait for whole WordPress loading process. Usually it has great performance impact.</p>
|
14 |
+
</div>
|
15 |
+
<div class="item">
|
16 |
+
<?php $o = new wpdreamsYesNo( "image_cropping", "Crop images for caching?",
|
17 |
+
wpdreams_setval_or_getoption( $cache_options, 'image_cropping', 'asl_performance_def' ) ); ?>
|
18 |
+
<p class="descMsg">When turned OFF, it disables thumbnail generator, and the full sized images are used as cover. Not much difference visually, but saves a lot of CPU.</p>
|
19 |
+
</div>
|
20 |
+
<div class="item">
|
21 |
+
<input type='submit' class='submit' value='Save options'/>
|
22 |
+
</div>
|
23 |
+
<?php $_r = ob_get_clean(); ?>
|
24 |
+
|
25 |
+
|
26 |
+
<?php
|
27 |
+
$updated = false;
|
28 |
+
if ( isset( $_POST ) && isset( $_POST['asl_performance'] ) ) {
|
29 |
+
$values = array(
|
30 |
+
"use_custom_ajax_handler" => $_POST['use_custom_ajax_handler'],
|
31 |
+
"image_cropping" => $_POST['image_cropping']
|
32 |
+
);
|
33 |
+
update_option( 'asl_performance', $values );
|
34 |
+
$updated = true;
|
35 |
+
}
|
36 |
+
?>
|
37 |
+
|
38 |
+
<div class='wpdreams-slider'>
|
39 |
+
<form name='asl_performance_form' method='post'>
|
40 |
+
<?php if ( $updated ): ?>
|
41 |
+
<div class='successMsg'>Performance settings successfuly updated!</div><?php endif; ?>
|
42 |
+
<fieldset>
|
43 |
+
<legend>Performance Options</legend>
|
44 |
+
<?php print $_r; ?>
|
45 |
+
<input type='hidden' name='asl_performance' value='1'/>
|
46 |
+
</fieldset>
|
47 |
+
</form>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
</div>
|
51 |
+
</div>
|
backend/settings.php
CHANGED
@@ -116,6 +116,12 @@ $_dk = 'asl_defaults';
|
|
116 |
|
117 |
update_option('asl_options', $_asl_options);
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
$messages .= "<div class='infoMsg'>" . __("Ajax Search Lite settings saved!", "ajax-search-lite") . "</div>";
|
120 |
}
|
121 |
|
116 |
|
117 |
update_option('asl_options', $_asl_options);
|
118 |
|
119 |
+
// Force instance data to the debug storage
|
120 |
+
$asl_debug_data->pushData(
|
121 |
+
$_asl_options,
|
122 |
+
'asl_options', true
|
123 |
+
);
|
124 |
+
|
125 |
$messages .= "<div class='infoMsg'>" . __("Ajax Search Lite settings saved!", "ajax-search-lite") . "</div>";
|
126 |
}
|
127 |
|
backend/settings/assets/style.css
CHANGED
@@ -1246,4 +1246,79 @@
|
|
1246 |
text-decoration: none;
|
1247 |
transition: all 0.2s linear 0s;
|
1248 |
background: url("icons/tie.png") no-repeat scroll 5px 5px #40B6AD;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1249 |
}
|
1246 |
text-decoration: none;
|
1247 |
transition: all 0.2s linear 0s;
|
1248 |
background: url("icons/tie.png") no-repeat scroll 5px 5px #40B6AD;
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
|
1252 |
+
/************************************************\
|
1253 |
+
Columns
|
1254 |
+
\************************************************/
|
1255 |
+
|
1256 |
+
.wpd-half,
|
1257 |
+
.wpd-half-last {
|
1258 |
+
width: 50%;
|
1259 |
+
min-height: 40px;
|
1260 |
+
padding: 2%;
|
1261 |
+
float: left;
|
1262 |
+
box-sizing: border-box;
|
1263 |
+
}
|
1264 |
+
|
1265 |
+
.wpd-half-last:before,
|
1266 |
+
.wpd-half-last:after {
|
1267 |
+
content: " "; /* 1 */
|
1268 |
+
display: table; /* 2 */
|
1269 |
+
}
|
1270 |
+
|
1271 |
+
.wpd-half-last:after {
|
1272 |
+
clear: both;
|
1273 |
+
}
|
1274 |
+
|
1275 |
+
|
1276 |
+
/************************************************\
|
1277 |
+
Updates and Help page
|
1278 |
+
\************************************************/
|
1279 |
+
|
1280 |
+
#wpdreams.asl_updates_help {
|
1281 |
+
font-family: 'PT Sans', Verdana, Tahoma, sans-serif;
|
1282 |
+
}
|
1283 |
+
|
1284 |
+
#wpdreams.asl_updates_help .wpdreams-box {
|
1285 |
+
width: 1024px;
|
1286 |
+
line-height: 1.5em;
|
1287 |
+
}
|
1288 |
+
|
1289 |
+
#wpdreams.asl_updates_help .item {
|
1290 |
+
text-align: left;
|
1291 |
+
padding: 0 0 8px;
|
1292 |
+
margin: 0 0 15px 0;
|
1293 |
+
}
|
1294 |
+
|
1295 |
+
#wpdreams.asl_updates_help .item:last-child {
|
1296 |
+
margin: 0;
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
#wpdreams.asl_updates_help pre {
|
1300 |
+
white-space: pre-line;
|
1301 |
+
}
|
1302 |
+
|
1303 |
+
#wpdreams.asl_updates_help h3 {
|
1304 |
+
font-family: 'PT Sans', Verdana, Tahoma, sans-serif;
|
1305 |
+
margin: 0 0 1em 0;
|
1306 |
+
font-weight: 700;
|
1307 |
+
color: #494949;
|
1308 |
+
}
|
1309 |
+
|
1310 |
+
#wpdreams.asl_updates_help dd {
|
1311 |
+
margin: 0px 10px 24px 0px;
|
1312 |
+
}
|
1313 |
+
#wpdreams.asl_updates_help dt {
|
1314 |
+
margin: 10px 0px 0px 0px;
|
1315 |
+
}
|
1316 |
+
|
1317 |
+
#wpdreams.asl_updates_help ul {
|
1318 |
+
list-style: inherit;
|
1319 |
+
padding: 0 0 0 40px;
|
1320 |
+
}
|
1321 |
+
|
1322 |
+
#wpdreams.asl_updates_help li {
|
1323 |
+
margin: 10px 0px 0px 0px;
|
1324 |
}
|
backend/settings/class/customposttypeseditable.class.php
CHANGED
@@ -23,7 +23,7 @@ if (!class_exists("wpdreamsCustomPostTypesEditable")) {
|
|
23 |
echo '<div class="sortablecontainer"><p>Available post types</p><ul id="sortable' . self::$_instancenumber . '" class="connectedSortable">';
|
24 |
if ($this->types != null && is_array($this->types)) {
|
25 |
foreach ($this->types as $k => $v) {
|
26 |
-
if ($this->selected == null || !
|
27 |
echo '<li class="ui-state-default ui-left" style="background: #ddd;">
|
28 |
<label>' . $k . '</label>
|
29 |
<input type="text" value="' . $k . '"/>
|
23 |
echo '<div class="sortablecontainer"><p>Available post types</p><ul id="sortable' . self::$_instancenumber . '" class="connectedSortable">';
|
24 |
if ($this->types != null && is_array($this->types)) {
|
25 |
foreach ($this->types as $k => $v) {
|
26 |
+
if ($this->selected == null || !wd_in_array_r($v, $this->selected)) {
|
27 |
echo '<li class="ui-state-default ui-left" style="background: #ddd;">
|
28 |
<label>' . $k . '</label>
|
29 |
<input type="text" value="' . $k . '"/>
|
backend/settings/class/customtaxonomyterm.class.php
CHANGED
@@ -34,7 +34,7 @@ if (!class_exists("wpdreamsCustomTaxonomyTerm")) {
|
|
34 |
if ($this->types != null && is_array($this->types)) {
|
35 |
foreach ($this->types as $kk => $vv) {
|
36 |
foreach ($vv as $k => $term) {
|
37 |
-
if ($this->selected == null || !
|
38 |
echo '<li class="ui-state-default" term_id="' . $term->term_id . '" taxonomy="' . $term->taxonomy . '">' . $term->name . '</li>';
|
39 |
}
|
40 |
}
|
34 |
if ($this->types != null && is_array($this->types)) {
|
35 |
foreach ($this->types as $kk => $vv) {
|
36 |
foreach ($vv as $k => $term) {
|
37 |
+
if ($this->selected == null || !wd_in_array_r($term->term_id, $this->selected)) {
|
38 |
echo '<li class="ui-state-default" term_id="' . $term->term_id . '" taxonomy="' . $term->taxonomy . '">' . $term->name . '</li>';
|
39 |
}
|
40 |
}
|
backend/settings/default_options.php
CHANGED
@@ -17,12 +17,16 @@
|
|
17 |
$options['asl_analytics_def']['analytics'] = 0;
|
18 |
$options['asl_analytics_def']['analytics_string'] = "ajax_search-{asl_term}";
|
19 |
|
|
|
|
|
|
|
20 |
|
21 |
/* Default new search options */
|
22 |
|
23 |
// General options
|
24 |
$options['asl_defaults']['theme'] = 'simple-red';
|
25 |
$options['asl_defaults']['triggeronclick'] = 1;
|
|
|
26 |
$options['asl_defaults']['redirectonclick'] = 0;
|
27 |
$options['asl_defaults']['triggerontype'] = 1;
|
28 |
$options['asl_defaults']['searchinposts'] = 1;
|
@@ -201,6 +205,10 @@ $options['asl_defaults']['wpml_compatibility'] = 1;
|
|
201 |
/* Save the defaul options if not exist */
|
202 |
$_asl_ver = get_option('asl_version');
|
203 |
|
|
|
|
|
|
|
|
|
204 |
// Update the default options if not exist/newer version available/debug mode is on
|
205 |
foreach($options as $key=>$value) {
|
206 |
if (get_option($key) === false || $_asl_ver != ASL_CURRENT_VERSION || ASL_DEBUG == 1) {
|
17 |
$options['asl_analytics_def']['analytics'] = 0;
|
18 |
$options['asl_analytics_def']['analytics_string'] = "ajax_search-{asl_term}";
|
19 |
|
20 |
+
$options['asl_performance_def']['use_custom_ajax_handler'] = 0;
|
21 |
+
$options['asl_performance_def']['image_cropping'] = 0;
|
22 |
+
|
23 |
|
24 |
/* Default new search options */
|
25 |
|
26 |
// General options
|
27 |
$options['asl_defaults']['theme'] = 'simple-red';
|
28 |
$options['asl_defaults']['triggeronclick'] = 1;
|
29 |
+
$options['asl_defaults']['trigger_on_facet_change'] = 0;
|
30 |
$options['asl_defaults']['redirectonclick'] = 0;
|
31 |
$options['asl_defaults']['triggerontype'] = 1;
|
32 |
$options['asl_defaults']['searchinposts'] = 1;
|
205 |
/* Save the defaul options if not exist */
|
206 |
$_asl_ver = get_option('asl_version');
|
207 |
|
208 |
+
// Reset the debug information on update
|
209 |
+
if ($_asl_ver != ASL_CURRENT_VERSION)
|
210 |
+
$asl_debug_data->destroy();
|
211 |
+
|
212 |
// Update the default options if not exist/newer version available/debug mode is on
|
213 |
foreach($options as $key=>$value) {
|
214 |
if (get_option($key) === false || $_asl_ver != ASL_CURRENT_VERSION || ASL_DEBUG == 1) {
|
backend/settings/functions.php
CHANGED
@@ -259,7 +259,7 @@ if (!function_exists("wpdreams_x2")) {
|
|
259 |
if (!function_exists("wpdreams_in_array_r")) {
|
260 |
function wpdreams_in_array_r($needle, $haystack, $strict = false) {
|
261 |
foreach ($haystack as $item) {
|
262 |
-
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) &&
|
263 |
return true;
|
264 |
}
|
265 |
}
|
259 |
if (!function_exists("wpdreams_in_array_r")) {
|
260 |
function wpdreams_in_array_r($needle, $haystack, $strict = false) {
|
261 |
foreach ($haystack as $item) {
|
262 |
+
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) && wpdreams_in_array_r($needle, $item, $strict))) {
|
263 |
return true;
|
264 |
}
|
265 |
}
|
backend/settings/types.inc.php
CHANGED
@@ -110,20 +110,10 @@ if (!function_exists("admin_stylesV04")) {
|
|
110 |
}
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
function isEmpty($v) {
|
116 |
-
if (trim($v) != "")
|
117 |
-
return false;
|
118 |
-
else
|
119 |
-
return true;
|
120 |
-
}
|
121 |
-
}
|
122 |
-
|
123 |
-
if (!function_exists("in_array_r")) {
|
124 |
-
function in_array_r($needle, $haystack, $strict = true) {
|
125 |
foreach ($haystack as $item) {
|
126 |
-
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) &&
|
127 |
return true;
|
128 |
}
|
129 |
}
|
110 |
}
|
111 |
}
|
112 |
|
113 |
+
if (!function_exists("wd_in_array_r")) {
|
114 |
+
function wd_in_array_r($needle, $haystack, $strict = true) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
foreach ($haystack as $item) {
|
116 |
+
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) && wd_in_array_r($needle, $item, $strict))) {
|
117 |
return true;
|
118 |
}
|
119 |
}
|
backend/tabs/instance/general_options.php
CHANGED
@@ -93,6 +93,14 @@ $themes = array(
|
|
93 |
$params[$o->getName()] = $o->getData();
|
94 |
?>
|
95 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
<div class="item">
|
97 |
<?php
|
98 |
$o = new wpdreamsYesNo("redirectonclick", __("Redirect to search results page when clicking on search icon?", "ajax-search-lite"),
|
93 |
$params[$o->getName()] = $o->getData();
|
94 |
?>
|
95 |
</div>
|
96 |
+
<div class="item">
|
97 |
+
<?php
|
98 |
+
$o = new wpdreamsYesNo("trigger_on_facet_change", __("Trigger search on facet change?", "ajax-search-lite"),
|
99 |
+
wpdreams_setval_or_getoption($sd, 'trigger_on_facet_change', $_dk));
|
100 |
+
$params[$o->getName()] = $o->getData();
|
101 |
+
?>
|
102 |
+
<p class="descMsg">Will trigger a search when the user clicks on a checkbox on the front-end.</p>
|
103 |
+
</div>
|
104 |
<div class="item">
|
105 |
<?php
|
106 |
$o = new wpdreamsYesNo("redirectonclick", __("Redirect to search results page when clicking on search icon?", "ajax-search-lite"),
|
css/style-classic-blue.css
CHANGED
@@ -4,12 +4,7 @@ div[id*="ajaxsearchlite"] {
|
|
4 |
height: auto;
|
5 |
border-radius: 5px;
|
6 |
background-color: rgb(219, 233, 238);
|
7 |
-
background-image:
|
8 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(219, 233, 238), rgb(219, 233, 238));
|
9 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(219, 233, 238), rgb(219, 233, 238));
|
10 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(219, 233, 238), rgb(219, 233, 238));
|
11 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(219, 233, 238), rgb(219, 233, 238));
|
12 |
-
background-image: radial-gradient(ellipse at center, rgb(219, 233, 238), rgb(219, 233, 238));;
|
13 |
overflow: hidden;
|
14 |
border: 0px none rgb(0, 0, 0);
|
15 |
border-radius: 5px 5px 5px 5px;
|
@@ -20,12 +15,7 @@ div[id*="ajaxsearchlite"] .probox {
|
|
20 |
margin: 4px;
|
21 |
height: 28px;
|
22 |
background-color: rgb(255, 255, 255);
|
23 |
-
background-image:
|
24 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(255, 255, 255), rgb(255, 255, 255));
|
25 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
26 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
27 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
28 |
-
background-image: radial-gradient(ellipse at center, rgb(255, 255, 255), rgb(255, 255, 255));;
|
29 |
border: 1px solid rgb(104, 174, 199);
|
30 |
border-radius: 3px 3px 3px 3px;
|
31 |
box-shadow: 1px 0px 6px -3px rgb(181, 181, 181) inset;
|
@@ -43,7 +33,7 @@ div[id*="ajaxsearchlite"] .probox div.proinput {
|
|
43 |
div[id*="ajaxsearchlite"] .probox div.proinput input {
|
44 |
font-weight: normal;
|
45 |
font-family: Open Sans;
|
46 |
-
color: rgb(0, 0, 0);
|
47 |
font-size: 12px;
|
48 |
line-height: 28px !important;
|
49 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
@@ -56,6 +46,36 @@ div[id*="ajaxsearchlite"].asl_msie .probox div.proinput input {
|
|
56 |
line-height: 24px !important;
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
60 |
font-weight: normal;
|
61 |
font-family: Open Sans;
|
@@ -166,58 +186,33 @@ div[id*="ajaxsearchliteres"].vertical .results .item:after {
|
|
166 |
|
167 |
div[id*="ajaxsearchliteres"] .results .item.hovered {
|
168 |
background-color: rgb(235, 250, 255);
|
169 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgb(235, 250, 255), rgb(235, 250, 255));
|
170 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(235, 250, 255), rgb(235, 250, 255));
|
171 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(235, 250, 255), rgb(235, 250, 255));
|
172 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(235, 250, 255), rgb(235, 250, 255));
|
173 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(235, 250, 255), rgb(235, 250, 255));
|
174 |
-
background-image: radial-gradient(ellipse at center, rgb(235, 250, 255), rgb(235, 250, 255));;
|
175 |
}
|
176 |
|
177 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
178 |
width: 70px;
|
179 |
height: 70px;
|
180 |
}
|
181 |
|
182 |
-
div[id*="ajaxsearchliteres"] .results .item .content {
|
183 |
-
overflow: hidden;
|
184 |
-
width: 50%;
|
185 |
-
height: auto;
|
186 |
-
background: transparent;
|
187 |
-
margin: 0;
|
188 |
-
padding: 0 10px;
|
189 |
-
}
|
190 |
|
191 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
|
|
192 |
margin: 0;
|
193 |
padding: 0;
|
194 |
line-height: inherit;
|
195 |
-
font-weight:
|
196 |
-
font-family: Open Sans;
|
197 |
-
color: rgb(20, 84, 169);
|
198 |
-
font-size: 14px;
|
199 |
-
line-height: 20px;
|
200 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
201 |
-
}
|
202 |
-
|
203 |
-
div[id*="ajaxsearchliteres"] .results .item .content h3 a {
|
204 |
-
margin: 0;
|
205 |
-
padding: 0;
|
206 |
-
line-height: inherit;
|
207 |
-
font-weight: bold;
|
208 |
-
font-family: Open Sans;
|
209 |
color: rgb(20, 84, 169);
|
210 |
-
font-size:
|
211 |
-
line-height:
|
212 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
213 |
}
|
214 |
|
215 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
216 |
-
font-weight:
|
217 |
font-family: Open Sans;
|
218 |
color: rgb(46, 107, 188);
|
219 |
-
font-size:
|
220 |
-
line-height:
|
221 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
222 |
}
|
223 |
|
@@ -232,7 +227,7 @@ div[id*="ajaxsearchliteres"] .results .item div.etc {
|
|
232 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
233 |
}
|
234 |
|
235 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
236 |
padding: 0;
|
237 |
font-weight: bold;
|
238 |
font-family: Open Sans;
|
@@ -242,7 +237,7 @@ div[id*="ajaxsearchliteres"] .results .item .etc .author {
|
|
242 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
243 |
}
|
244 |
|
245 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
246 |
margin: 0 0 0 10px;
|
247 |
padding: 0;
|
248 |
font-weight: normal;
|
@@ -315,27 +310,6 @@ div[id*="ajaxsearchliteres"] span.highlighted {
|
|
315 |
background-color: rgba(238, 238, 238, 1);
|
316 |
}
|
317 |
|
318 |
-
div[id*="ajaxsearchliteres"] p.showmore {
|
319 |
-
text-align: center;
|
320 |
-
padding: 0;
|
321 |
-
margin: 0;
|
322 |
-
font-weight: normal;
|
323 |
-
font-family: Open Sans;
|
324 |
-
color: rgb(5, 94, 148);
|
325 |
-
font-size: 12px;
|
326 |
-
line-height: 15px;
|
327 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
328 |
-
}
|
329 |
-
|
330 |
-
div[id*="ajaxsearchliteres"] p.showmore a {
|
331 |
-
font-weight: normal;
|
332 |
-
font-family: Open Sans;
|
333 |
-
color: rgb(5, 94, 148);
|
334 |
-
font-size: 12px;
|
335 |
-
line-height: 15px;
|
336 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
337 |
-
}
|
338 |
-
|
339 |
/* Search settings */
|
340 |
|
341 |
div[id*="ajaxsearchlitesettings"].searchsettings {
|
4 |
height: auto;
|
5 |
border-radius: 5px;
|
6 |
background-color: rgb(219, 233, 238);
|
7 |
+
background-image: radial-gradient(ellipse at center, rgb(219, 233, 238), rgb(219, 233, 238));
|
|
|
|
|
|
|
|
|
|
|
8 |
overflow: hidden;
|
9 |
border: 0px none rgb(0, 0, 0);
|
10 |
border-radius: 5px 5px 5px 5px;
|
15 |
margin: 4px;
|
16 |
height: 28px;
|
17 |
background-color: rgb(255, 255, 255);
|
18 |
+
background-image: radial-gradient(ellipse at center, rgb(255, 255, 255), rgb(255, 255, 255));
|
|
|
|
|
|
|
|
|
|
|
19 |
border: 1px solid rgb(104, 174, 199);
|
20 |
border-radius: 3px 3px 3px 3px;
|
21 |
box-shadow: 1px 0px 6px -3px rgb(181, 181, 181) inset;
|
33 |
div[id*="ajaxsearchlite"] .probox div.proinput input {
|
34 |
font-weight: normal;
|
35 |
font-family: Open Sans;
|
36 |
+
color: rgb(0, 0, 0) !important;
|
37 |
font-size: 12px;
|
38 |
line-height: 28px !important;
|
39 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
46 |
line-height: 24px !important;
|
47 |
}
|
48 |
|
49 |
+
/* EACH PLACEHOLDER MUST HAVE A DIFFERENT RULE TO WORK */
|
50 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-webkit-input-placeholder {
|
51 |
+
font-weight: normal;
|
52 |
+
font-family: Open Sans;
|
53 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
54 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
55 |
+
}
|
56 |
+
|
57 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-moz-placeholder {
|
58 |
+
font-weight: normal;
|
59 |
+
font-family: Open Sans;
|
60 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
61 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
62 |
+
}
|
63 |
+
|
64 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-ms-input-placeholder {
|
65 |
+
font-weight: normal;
|
66 |
+
font-family: Open Sans;
|
67 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
68 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
69 |
+
}
|
70 |
+
|
71 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-moz-placeholder {
|
72 |
+
font-weight: normal;
|
73 |
+
font-family: Open Sans;
|
74 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
75 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
76 |
+
}
|
77 |
+
|
78 |
+
|
79 |
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
80 |
font-weight: normal;
|
81 |
font-family: Open Sans;
|
186 |
|
187 |
div[id*="ajaxsearchliteres"] .results .item.hovered {
|
188 |
background-color: rgb(235, 250, 255);
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
}
|
190 |
|
191 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_image {
|
192 |
width: 70px;
|
193 |
height: 70px;
|
194 |
}
|
195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
|
197 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3,
|
198 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a {
|
199 |
margin: 0;
|
200 |
padding: 0;
|
201 |
line-height: inherit;
|
202 |
+
font-weight: normal;
|
203 |
+
font-family: 'Open Sans';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
color: rgb(20, 84, 169);
|
205 |
+
font-size: 13px;
|
206 |
+
line-height: 18px;
|
207 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
208 |
}
|
209 |
|
210 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a:hover {
|
211 |
+
font-weight: normal;
|
212 |
font-family: Open Sans;
|
213 |
color: rgb(46, 107, 188);
|
214 |
+
font-size: 13px;
|
215 |
+
line-height: 18px;
|
216 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
217 |
}
|
218 |
|
227 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
228 |
}
|
229 |
|
230 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_author {
|
231 |
padding: 0;
|
232 |
font-weight: bold;
|
233 |
font-family: Open Sans;
|
237 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
238 |
}
|
239 |
|
240 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_date {
|
241 |
margin: 0 0 0 10px;
|
242 |
padding: 0;
|
243 |
font-weight: normal;
|
310 |
background-color: rgba(238, 238, 238, 1);
|
311 |
}
|
312 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
/* Search settings */
|
314 |
|
315 |
div[id*="ajaxsearchlitesettings"].searchsettings {
|
css/style-simple-blue.css
CHANGED
@@ -3,43 +3,95 @@ div[id*="ajaxsearchlite"] {
|
|
3 |
height: auto;
|
4 |
border-radius: 5px;
|
5 |
background-color: rgb(92, 183, 225);
|
6 |
-
background-image: -moz-radial-gradient(center, ellipse cover,
|
7 |
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(92, 183, 225), rgb(92, 183, 225));
|
8 |
-
background-image: -webkit-radial-gradient(center, ellipse cover,
|
9 |
-
background-image: -o-radial-gradient(center, ellipse cover,
|
10 |
-
background-image: -ms-radial-gradient(center, ellipse cover,
|
11 |
-
background-image: radial-gradient(ellipse at center,
|
12 |
overflow: hidden;
|
13 |
-
border:0px none rgb(141, 213, 239);
|
|
|
|
|
|
|
14 |
|
15 |
div[id*="ajaxsearchlite"] .probox {
|
16 |
margin: 0px;
|
17 |
height: 34px;
|
18 |
background-color: rgb(92, 183, 225);
|
19 |
-
background-image: -moz-radial-gradient(center, ellipse cover,
|
20 |
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(92, 183, 225), rgb(92, 183, 225));
|
21 |
-
background-image: -webkit-radial-gradient(center, ellipse cover,
|
22 |
-
background-image: -o-radial-gradient(center, ellipse cover,
|
23 |
-
background-image: -ms-radial-gradient(center, ellipse cover,
|
24 |
-
background-image: radial-gradient(ellipse at center,
|
25 |
-
border:0px solid rgb(104, 174, 199);
|
|
|
|
|
|
|
26 |
|
27 |
div[id*="ajaxsearchlite"] .probox .proinput {
|
28 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
div[id*="ajaxsearchlite"] .probox .proinput input {
|
31 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
box-shadow: none;
|
33 |
}
|
34 |
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
div[id*="ajaxsearchlite"] .probox .proloading,
|
40 |
div[id*="ajaxsearchlite"] .probox .proclose,
|
41 |
div[id*="ajaxsearchlite"] .probox .promagnifier,
|
42 |
-
div[id*="ajaxsearchlite"] .probox .prosettings
|
43 |
width: 34px;
|
44 |
height: 34px;
|
45 |
}
|
@@ -56,8 +108,6 @@ div[id*="ajaxsearchlite"] .probox .prosettings .innericon svg {
|
|
56 |
fill: rgb(255, 255, 255);
|
57 |
}
|
58 |
|
59 |
-
|
60 |
-
|
61 |
div[id*="ajaxsearchlite"] .probox .promagnifier {
|
62 |
|
63 |
width: 34px;
|
@@ -67,19 +117,20 @@ div[id*="ajaxsearchlite"] .probox .promagnifier {
|
|
67 |
background-image: -ms-linear-gradient(180deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
68 |
background-image: -webkit-linear-gradient(180deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
69 |
background-image: linear-gradient(180deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
70 |
-
background-position:center center;
|
71 |
background-repeat: no-repeat;
|
72 |
|
73 |
-
border:0px solid rgb(0, 0, 0);
|
|
|
|
|
|
|
74 |
background-size: 100% 100%;
|
75 |
|
76 |
-
background-position:center center;
|
77 |
background-repeat: no-repeat;
|
78 |
cursor: pointer;
|
79 |
}
|
80 |
|
81 |
-
|
82 |
-
|
83 |
div[id*="ajaxsearchlite"] .probox .prosettings {
|
84 |
|
85 |
width: 34px;
|
@@ -89,34 +140,44 @@ div[id*="ajaxsearchlite"] .probox .prosettings {
|
|
89 |
background-image: -ms-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
90 |
background-image: -webkit-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
91 |
background-image: linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
92 |
-
background-position:center center;
|
93 |
background-repeat: no-repeat;
|
94 |
float: right;
|
95 |
-
border:0px solid rgb(104, 174, 199);
|
|
|
|
|
|
|
96 |
background-size: 100% 100%;
|
97 |
order: 7;
|
98 |
-webkit-order: 7;
|
99 |
}
|
100 |
|
101 |
-
|
102 |
div[id*="ajaxsearchliteres"] {
|
103 |
position: absolute;
|
104 |
-
z-index:1100;
|
105 |
}
|
106 |
|
107 |
div[id*="ajaxsearchliteres"].vertical {
|
108 |
padding: 4px;
|
109 |
background: rgb(92, 183, 225);
|
110 |
border-radius: 3px;
|
111 |
-
border:0px none rgb(0, 0, 0);
|
|
|
|
|
|
|
112 |
display: none;
|
113 |
}
|
114 |
|
115 |
-
|
116 |
-
div[id*="ajaxsearchliteres"] .results .nores .keyword{
|
117 |
padding: 0 6px;
|
118 |
cursor: pointer;
|
119 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
}
|
121 |
|
122 |
div[id*="ajaxsearchliteres"] .results .item {
|
@@ -128,93 +189,139 @@ div[id*="ajaxsearchliteres"].vertical .results .item:after {
|
|
128 |
background: rgb(204, 204, 204);
|
129 |
}
|
130 |
|
131 |
-
|
132 |
div[id*="ajaxsearchliteres"] .results .item.hovered {
|
133 |
background-color: rgb(245, 245, 245);
|
134 |
-
background-image: -moz-radial-gradient(center, ellipse cover,
|
135 |
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(245, 245, 245), rgb(245, 245, 245));
|
136 |
-
background-image: -webkit-radial-gradient(center, ellipse cover,
|
137 |
-
background-image: -o-radial-gradient(center, ellipse cover,
|
138 |
-
background-image: -ms-radial-gradient(center, ellipse cover,
|
139 |
-
background-image: radial-gradient(ellipse at center,
|
140 |
-
;
|
141 |
}
|
142 |
|
143 |
-
|
144 |
-
div[id*="ajaxsearchliteres"] .results .item .image {
|
145 |
width: 70px;
|
146 |
height: 70px;
|
147 |
}
|
148 |
|
149 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
}
|
157 |
|
158 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
|
|
159 |
margin: 0;
|
160 |
padding: 0;
|
161 |
line-height: inherit;
|
162 |
-
font-weight:normal;
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
|
170 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
171 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
div[id*="ajaxsearchliteres"] .results .item div.etc {
|
174 |
padding: 0;
|
175 |
line-height: 10px;
|
176 |
-
font-weight:bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
|
178 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
179 |
padding: 0;
|
180 |
-
font-weight:bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
183 |
margin: 0 0 0 10px;
|
184 |
padding: 0;
|
185 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
|
187 |
div[id*="ajaxsearchliteres"] .results .item p.desc {
|
188 |
margin: 2px 0px;
|
189 |
padding: 0;
|
190 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
-
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
|
193 |
-
background
|
194 |
-
background:rgba(rgb(255, 255, 255),0.9);
|
195 |
-
filter:
|
|
|
196 |
}
|
197 |
|
198 |
-
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
|
199 |
-
background:rgba(rgb(255, 255, 255),0.95);
|
200 |
-
filter:
|
|
|
201 |
}
|
|
|
202 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
203 |
-
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
|
204 |
-
background:rgba(rgb(255, 255, 255),1);
|
205 |
-
filter:
|
|
|
206 |
}
|
207 |
|
208 |
div[id*="ajaxsearchliteres"].horizontal .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
209 |
-
div[id*="ajaxsearchliteres"].horizontal .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
|
210 |
background: rgb(250, 250, 250);
|
211 |
-
filter:
|
|
|
212 |
}
|
213 |
|
214 |
-
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_buttonDown:after {
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
216 |
|
217 |
-
div[id*="ajaxsearchliteres"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
font-weight: bold;
|
219 |
color: #d9312b;
|
220 |
background-color: #eee;
|
@@ -222,18 +329,9 @@ div[id*="ajaxsearchliteres"] span.highlighted{
|
|
222 |
background-color: rgba(238, 238, 238, 1);
|
223 |
}
|
224 |
|
225 |
-
div[id*="ajaxsearchliteres"] p.showmore {
|
226 |
-
text-align: center;
|
227 |
-
padding: 0;
|
228 |
-
margin: 0;
|
229 |
-
font-weight:normal;font-family:Open Sans;color:rgb(5, 94, 148);font-size:12px;line-height:15px;text-shadow:0px 0px 0px rgba(255, 255, 255, 0);}
|
230 |
-
|
231 |
-
div[id*="ajaxsearchliteres"] p.showmore a{
|
232 |
-
font-weight:normal;font-family:Open Sans;color:rgb(5, 94, 148);font-size:12px;line-height:15px;text-shadow:0px 0px 0px rgba(255, 255, 255, 0);}
|
233 |
-
|
234 |
/* Search settings */
|
235 |
|
236 |
-
div[id*="ajaxsearchlitesettings"].searchsettings
|
237 |
background-color: rgb(70, 142, 190);
|
238 |
background-image: -webkit-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
239 |
background-image: -moz-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
@@ -243,14 +341,18 @@ div[id*="ajaxsearchlitesettings"].searchsettings {
|
|
243 |
background-image: -webkit-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
244 |
background-image: -moz-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
245 |
background-image: -o-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
246 |
-
background-image: -ms-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190))
|
247 |
-
|
248 |
-
box-shadow:0px 0px 0px 0px rgb(0, 0, 0) ;;
|
249 |
}
|
250 |
|
251 |
div[id*="ajaxsearchlitesettings"].searchsettings .label {
|
252 |
-
font-weight:bold;
|
253 |
-
|
|
|
|
|
|
|
|
|
|
|
254 |
|
255 |
div[id*="ajaxsearchlitesettings"].searchsettings .option label {
|
256 |
background-color: rgb(34, 34, 34);
|
@@ -258,8 +360,7 @@ div[id*="ajaxsearchlitesettings"].searchsettings .option label {
|
|
258 |
background-image: -webkit-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));
|
259 |
background-image: -moz-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));
|
260 |
background-image: -o-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));
|
261 |
-
background-image: -ms-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77))
|
262 |
-
;
|
263 |
}
|
264 |
|
265 |
div[id*="ajaxsearchlitesettings"].searchsettings .option label:after {
|
@@ -273,7 +374,13 @@ div[id*="ajaxsearchlitesettings"].searchsettings fieldset .categoryfilter {
|
|
273 |
overflow: auto;
|
274 |
}
|
275 |
|
276 |
-
div[id*="ajaxsearchlitesettings"].searchsettings
|
277 |
padding: 5px 0 0 10px;
|
278 |
margin: 0;
|
279 |
-
font-weight:normal;
|
|
|
|
|
|
|
|
|
|
|
|
3 |
height: auto;
|
4 |
border-radius: 5px;
|
5 |
background-color: rgb(92, 183, 225);
|
6 |
+
background-image: -moz-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
7 |
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(92, 183, 225), rgb(92, 183, 225));
|
8 |
+
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
9 |
+
background-image: -o-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
10 |
+
background-image: -ms-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
11 |
+
background-image: radial-gradient(ellipse at center, rgb(92, 183, 225), rgb(92, 183, 225));
|
12 |
overflow: hidden;
|
13 |
+
border: 0px none rgb(141, 213, 239);
|
14 |
+
border-radius: 0px 0px 0px 0px;
|
15 |
+
box-shadow: 0px 0px 0px 0px #000000;
|
16 |
+
}
|
17 |
|
18 |
div[id*="ajaxsearchlite"] .probox {
|
19 |
margin: 0px;
|
20 |
height: 34px;
|
21 |
background-color: rgb(92, 183, 225);
|
22 |
+
background-image: -moz-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
23 |
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(92, 183, 225), rgb(92, 183, 225));
|
24 |
+
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
25 |
+
background-image: -o-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
26 |
+
background-image: -ms-radial-gradient(center, ellipse cover, rgb(92, 183, 225), rgb(92, 183, 225));
|
27 |
+
background-image: radial-gradient(ellipse at center, rgb(92, 183, 225), rgb(92, 183, 225));
|
28 |
+
border: 0px solid rgb(104, 174, 199);
|
29 |
+
border-radius: 0px 0px 0px 0px;
|
30 |
+
box-shadow: 0px 0px 0px 0px rgb(181, 181, 181) inset;
|
31 |
+
}
|
32 |
|
33 |
div[id*="ajaxsearchlite"] .probox .proinput {
|
34 |
+
font-weight: normal;
|
35 |
+
font-family: Open Sans;
|
36 |
+
color: rgb(255, 255, 255) !important;
|
37 |
+
font-size: 12px;
|
38 |
+
line-height: 15px;
|
39 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
40 |
+
}
|
41 |
|
42 |
div[id*="ajaxsearchlite"] .probox .proinput input {
|
43 |
+
font-weight: normal;
|
44 |
+
font-family: Open Sans;
|
45 |
+
color: rgb(255, 255, 255) !important;
|
46 |
+
font-size: 12px;
|
47 |
+
line-height: 15px;
|
48 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
49 |
+
border: 0;
|
50 |
box-shadow: none;
|
51 |
}
|
52 |
|
53 |
+
/* EACH PLACEHOLDER MUST HAVE A DIFFERENT RULE TO WORK */
|
54 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-webkit-input-placeholder {
|
55 |
+
font-weight: normal;
|
56 |
+
font-family: Open Sans;
|
57 |
+
color: rgb(255, 255, 255) !important;
|
58 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
59 |
+
}
|
60 |
+
|
61 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-moz-placeholder {
|
62 |
+
font-weight: normal;
|
63 |
+
font-family: Open Sans;
|
64 |
+
color: rgb(255, 255, 255) !important;
|
65 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
66 |
+
}
|
67 |
|
68 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-ms-input-placeholder {
|
69 |
+
font-weight: normal;
|
70 |
+
font-family: Open Sans;
|
71 |
+
color: rgb(255, 255, 255) !important;
|
72 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
73 |
+
}
|
74 |
+
|
75 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-moz-placeholder {
|
76 |
+
font-weight: normal;
|
77 |
+
font-family: Open Sans;
|
78 |
+
color: rgb(255, 255, 255) !important;
|
79 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
80 |
+
}
|
81 |
+
|
82 |
+
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
83 |
+
font-weight: normal;
|
84 |
+
font-family: Open Sans;
|
85 |
+
color: rgb(255, 255, 255);
|
86 |
+
font-size: 12px;
|
87 |
+
line-height: 15px;
|
88 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
89 |
+
}
|
90 |
|
91 |
div[id*="ajaxsearchlite"] .probox .proloading,
|
92 |
div[id*="ajaxsearchlite"] .probox .proclose,
|
93 |
div[id*="ajaxsearchlite"] .probox .promagnifier,
|
94 |
+
div[id*="ajaxsearchlite"] .probox .prosettings {
|
95 |
width: 34px;
|
96 |
height: 34px;
|
97 |
}
|
108 |
fill: rgb(255, 255, 255);
|
109 |
}
|
110 |
|
|
|
|
|
111 |
div[id*="ajaxsearchlite"] .probox .promagnifier {
|
112 |
|
113 |
width: 34px;
|
117 |
background-image: -ms-linear-gradient(180deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
118 |
background-image: -webkit-linear-gradient(180deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
119 |
background-image: linear-gradient(180deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
120 |
+
background-position: center center;
|
121 |
background-repeat: no-repeat;
|
122 |
|
123 |
+
border: 0px solid rgb(0, 0, 0);
|
124 |
+
border-radius: 0px 0px 0px 0px;
|
125 |
+
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.61);
|
126 |
+
cursor: pointer;
|
127 |
background-size: 100% 100%;
|
128 |
|
129 |
+
background-position: center center;
|
130 |
background-repeat: no-repeat;
|
131 |
cursor: pointer;
|
132 |
}
|
133 |
|
|
|
|
|
134 |
div[id*="ajaxsearchlite"] .probox .prosettings {
|
135 |
|
136 |
width: 34px;
|
140 |
background-image: -ms-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
141 |
background-image: -webkit-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
142 |
background-image: linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
143 |
+
background-position: center center;
|
144 |
background-repeat: no-repeat;
|
145 |
float: right;
|
146 |
+
border: 0px solid rgb(104, 174, 199);
|
147 |
+
border-radius: 0px 0px 0px 0px;
|
148 |
+
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.63);
|
149 |
+
cursor: pointer;
|
150 |
background-size: 100% 100%;
|
151 |
order: 7;
|
152 |
-webkit-order: 7;
|
153 |
}
|
154 |
|
|
|
155 |
div[id*="ajaxsearchliteres"] {
|
156 |
position: absolute;
|
157 |
+
z-index: 1100;
|
158 |
}
|
159 |
|
160 |
div[id*="ajaxsearchliteres"].vertical {
|
161 |
padding: 4px;
|
162 |
background: rgb(92, 183, 225);
|
163 |
border-radius: 3px;
|
164 |
+
border: 0px none rgb(0, 0, 0);
|
165 |
+
border-radius: 0px 0px 0px 0px;
|
166 |
+
box-shadow: 0px 0px 0px 0px #000000;
|
167 |
+
visibility: hidden;
|
168 |
display: none;
|
169 |
}
|
170 |
|
171 |
+
div[id*="ajaxsearchliteres"] .results .nores .keyword {
|
|
|
172 |
padding: 0 6px;
|
173 |
cursor: pointer;
|
174 |
+
font-weight: normal;
|
175 |
+
font-family: Open Sans;
|
176 |
+
color: rgb(74, 74, 74);
|
177 |
+
font-size: 13px;
|
178 |
+
line-height: 13px;
|
179 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
180 |
+
font-weight: bold;
|
181 |
}
|
182 |
|
183 |
div[id*="ajaxsearchliteres"] .results .item {
|
189 |
background: rgb(204, 204, 204);
|
190 |
}
|
191 |
|
|
|
192 |
div[id*="ajaxsearchliteres"] .results .item.hovered {
|
193 |
background-color: rgb(245, 245, 245);
|
194 |
+
background-image: -moz-radial-gradient(center, ellipse cover, rgb(245, 245, 245), rgb(245, 245, 245));
|
195 |
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(245, 245, 245), rgb(245, 245, 245));
|
196 |
+
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(245, 245, 245), rgb(245, 245, 245));
|
197 |
+
background-image: -o-radial-gradient(center, ellipse cover, rgb(245, 245, 245), rgb(245, 245, 245));
|
198 |
+
background-image: -ms-radial-gradient(center, ellipse cover, rgb(245, 245, 245), rgb(245, 245, 245));
|
199 |
+
background-image: radial-gradient(ellipse at center, rgb(245, 245, 245), rgb(245, 245, 245));;
|
|
|
200 |
}
|
201 |
|
202 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_image {
|
|
|
203 |
width: 70px;
|
204 |
height: 70px;
|
205 |
}
|
206 |
|
207 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content {
|
208 |
+
font-weight: normal;
|
209 |
+
font-family: Open Sans;
|
210 |
+
color: rgb(74, 74, 74);
|
211 |
+
font-size: 12px;
|
212 |
+
line-height: 18px;
|
213 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
214 |
}
|
215 |
|
216 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3,
|
217 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a {
|
218 |
margin: 0;
|
219 |
padding: 0;
|
220 |
line-height: inherit;
|
221 |
+
font-weight: normal;
|
222 |
+
font-family: Open Sans;
|
223 |
+
color: rgb(20, 84, 169);
|
224 |
+
font-size: 13px;
|
225 |
+
line-height: 17px;
|
226 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
227 |
+
}
|
228 |
|
229 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a:hover {
|
230 |
+
font-weight: normal;
|
231 |
+
font-family: Open Sans;
|
232 |
+
color: rgb(46, 107, 188);
|
233 |
+
font-size: 13px;
|
234 |
+
line-height: 17px;
|
235 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
236 |
+
}
|
237 |
|
238 |
div[id*="ajaxsearchliteres"] .results .item div.etc {
|
239 |
padding: 0;
|
240 |
line-height: 10px;
|
241 |
+
font-weight: bold;
|
242 |
+
font-family: Open Sans;
|
243 |
+
color: rgb(161, 161, 161);
|
244 |
+
font-size: 10px;
|
245 |
+
line-height: 12px;
|
246 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
247 |
+
}
|
248 |
|
249 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_author {
|
250 |
padding: 0;
|
251 |
+
font-weight: bold;
|
252 |
+
font-family: Open Sans;
|
253 |
+
color: rgb(161, 161, 161);
|
254 |
+
font-size: 10px;
|
255 |
+
line-height: 12px;
|
256 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
257 |
+
}
|
258 |
|
259 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_date {
|
260 |
margin: 0 0 0 10px;
|
261 |
padding: 0;
|
262 |
+
font-weight: normal;
|
263 |
+
font-family: Open Sans;
|
264 |
+
color: rgb(173, 173, 173);
|
265 |
+
font-size: 10px;
|
266 |
+
line-height: 12px;
|
267 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
268 |
+
}
|
269 |
|
270 |
div[id*="ajaxsearchliteres"] .results .item p.desc {
|
271 |
margin: 2px 0px;
|
272 |
padding: 0;
|
273 |
+
font-weight: normal;
|
274 |
+
font-family: Open Sans;
|
275 |
+
color: rgb(74, 74, 74);
|
276 |
+
font-size: 13px;
|
277 |
+
line-height: 13px;
|
278 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
279 |
+
}
|
280 |
|
281 |
+
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
282 |
+
background: #fff; /* rgba fallback */
|
283 |
+
background: rgba(rgb(255, 255, 255), 0.9);
|
284 |
+
filter: "alpha(opacity=90)";
|
285 |
+
-ms-filter: "alpha(opacity=90)"; /* old ie */
|
286 |
}
|
287 |
|
288 |
+
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
|
289 |
+
background: rgba(rgb(255, 255, 255), 0.95);
|
290 |
+
filter: "alpha(opacity=95)";
|
291 |
+
-ms-filter: "alpha(opacity=95)"; /* old ie */
|
292 |
}
|
293 |
+
|
294 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
295 |
+
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
296 |
+
background: rgba(rgb(255, 255, 255), 1);
|
297 |
+
filter: "alpha(opacity=100)";
|
298 |
+
-ms-filter: "alpha(opacity=100)"; /* old ie */
|
299 |
}
|
300 |
|
301 |
div[id*="ajaxsearchliteres"].horizontal .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
302 |
+
div[id*="ajaxsearchliteres"].horizontal .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
303 |
background: rgb(250, 250, 250);
|
304 |
+
filter: "alpha(opacity=100)";
|
305 |
+
-ms-filter: "alpha(opacity=100)"; /* old ie */
|
306 |
}
|
307 |
|
308 |
+
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_buttonDown:after {
|
309 |
+
border-color: rgba(136, 183, 213, 0);
|
310 |
+
border-top-color: rgb(255, 255, 255);
|
311 |
+
border-width: 6px;
|
312 |
+
left: 50%;
|
313 |
+
margin-left: -6px;
|
314 |
+
}
|
315 |
|
316 |
+
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_buttonUp:after {
|
317 |
+
border-color: rgba(136, 183, 213, 0);
|
318 |
+
border-bottom-color: rgb(255, 255, 255);
|
319 |
+
border-width: 6px;
|
320 |
+
left: 50%;
|
321 |
+
margin-left: -6px;
|
322 |
+
}
|
323 |
+
|
324 |
+
div[id*="ajaxsearchliteres"] span.highlighted {
|
325 |
font-weight: bold;
|
326 |
color: #d9312b;
|
327 |
background-color: #eee;
|
329 |
background-color: rgba(238, 238, 238, 1);
|
330 |
}
|
331 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
/* Search settings */
|
333 |
|
334 |
+
div[id*="ajaxsearchlitesettings"].searchsettings {
|
335 |
background-color: rgb(70, 142, 190);
|
336 |
background-image: -webkit-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
337 |
background-image: -moz-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
341 |
background-image: -webkit-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
342 |
background-image: -moz-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
343 |
background-image: -o-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));
|
344 |
+
background-image: -ms-linear-gradient(185deg, rgb(70, 142, 190), rgb(70, 142, 190));;
|
345 |
+
box-shadow: 0px 0px 0px 0px rgb(0, 0, 0);;
|
|
|
346 |
}
|
347 |
|
348 |
div[id*="ajaxsearchlitesettings"].searchsettings .label {
|
349 |
+
font-weight: bold;
|
350 |
+
font-family: Open Sans;
|
351 |
+
color: rgb(255, 255, 255);
|
352 |
+
font-size: 12px;
|
353 |
+
line-height: 15px;
|
354 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
355 |
+
}
|
356 |
|
357 |
div[id*="ajaxsearchlitesettings"].searchsettings .option label {
|
358 |
background-color: rgb(34, 34, 34);
|
360 |
background-image: -webkit-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));
|
361 |
background-image: -moz-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));
|
362 |
background-image: -o-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));
|
363 |
+
background-image: -ms-linear-gradient(180deg, rgb(34, 34, 34), rgb(69, 72, 77));;
|
|
|
364 |
}
|
365 |
|
366 |
div[id*="ajaxsearchlitesettings"].searchsettings .option label:after {
|
374 |
overflow: auto;
|
375 |
}
|
376 |
|
377 |
+
div[id*="ajaxsearchlitesettings"].searchsettings fieldset legend {
|
378 |
padding: 5px 0 0 10px;
|
379 |
margin: 0;
|
380 |
+
font-weight: normal;
|
381 |
+
font-family: Open Sans;
|
382 |
+
color: rgb(31, 31, 31);
|
383 |
+
font-size: 13px;
|
384 |
+
line-height: 15px;
|
385 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
386 |
+
}
|
css/style-simple-grey.css
CHANGED
@@ -51,6 +51,35 @@ div[id*="ajaxsearchlite"] .probox .proinput input {
|
|
51 |
box-shadow: none;
|
52 |
}
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
55 |
font-weight: normal;
|
56 |
font-family: Open Sans;
|
@@ -171,50 +200,39 @@ div[id*="ajaxsearchliteres"] .results .item.hovered {
|
|
171 |
background-image: radial-gradient(ellipse at center, rgb(245, 245, 245), rgb(245, 245, 245));;
|
172 |
}
|
173 |
|
174 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
175 |
width: 70px;
|
176 |
height: 70px;
|
177 |
}
|
178 |
|
179 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
180 |
-
overflow: hidden;
|
181 |
-
width: 50%;
|
182 |
-
height: auto;
|
183 |
-
background: transparent;
|
184 |
-
margin: 0;
|
185 |
-
padding: 0 10px;
|
186 |
-
}
|
187 |
-
|
188 |
-
div[id*="ajaxsearchliteres"] .results .item .content h3 {
|
189 |
-
margin: 0;
|
190 |
-
padding: 0;
|
191 |
-
line-height: inherit;
|
192 |
font-weight: normal;
|
193 |
font-family: Open Sans;
|
194 |
-
color: rgb(
|
195 |
-
font-size:
|
196 |
-
line-height:
|
197 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
198 |
}
|
199 |
|
200 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
|
|
201 |
margin: 0;
|
202 |
padding: 0;
|
203 |
line-height: inherit;
|
204 |
font-weight: normal;
|
205 |
font-family: Open Sans;
|
206 |
color: rgb(20, 84, 169);
|
207 |
-
font-size:
|
208 |
-
line-height:
|
209 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
210 |
}
|
211 |
|
212 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
213 |
font-weight: normal;
|
214 |
font-family: Open Sans;
|
215 |
color: rgb(46, 107, 188);
|
216 |
-
font-size:
|
217 |
-
line-height:
|
218 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
219 |
}
|
220 |
|
@@ -224,29 +242,30 @@ div[id*="ajaxsearchliteres"] .results .item div.etc {
|
|
224 |
font-weight: bold;
|
225 |
font-family: Open Sans;
|
226 |
color: rgb(161, 161, 161);
|
227 |
-
font-size:
|
228 |
-
line-height:
|
229 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
|
|
230 |
}
|
231 |
|
232 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
233 |
padding: 0;
|
234 |
font-weight: bold;
|
235 |
font-family: Open Sans;
|
236 |
color: rgb(161, 161, 161);
|
237 |
-
font-size:
|
238 |
-
line-height:
|
239 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
240 |
}
|
241 |
|
242 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
243 |
margin: 0 0 0 10px;
|
244 |
padding: 0;
|
245 |
font-weight: normal;
|
246 |
font-family: Open Sans;
|
247 |
color: rgb(173, 173, 173);
|
248 |
-
font-size:
|
249 |
-
line-height:
|
250 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
251 |
}
|
252 |
|
@@ -312,27 +331,6 @@ div[id*="ajaxsearchliteres"] span.highlighted {
|
|
312 |
background-color: rgba(238, 238, 238, 1);
|
313 |
}
|
314 |
|
315 |
-
div[id*="ajaxsearchliteres"] p.showmore {
|
316 |
-
text-align: center;
|
317 |
-
padding: 0;
|
318 |
-
margin: 0;
|
319 |
-
font-weight: normal;
|
320 |
-
font-family: Open Sans;
|
321 |
-
color: rgb(5, 94, 148);
|
322 |
-
font-size: 12px;
|
323 |
-
line-height: 15px;
|
324 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
325 |
-
}
|
326 |
-
|
327 |
-
div[id*="ajaxsearchliteres"] p.showmore a {
|
328 |
-
font-weight: normal;
|
329 |
-
font-family: Open Sans;
|
330 |
-
color: rgb(5, 94, 148);
|
331 |
-
font-size: 12px;
|
332 |
-
line-height: 15px;
|
333 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
334 |
-
}
|
335 |
-
|
336 |
/* Search settings */
|
337 |
|
338 |
div[id*="ajaxsearchlitesettings"].searchsettings {
|
51 |
box-shadow: none;
|
52 |
}
|
53 |
|
54 |
+
/* EACH PLACEHOLDER MUST HAVE A DIFFERENT RULE TO WORK */
|
55 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-webkit-input-placeholder {
|
56 |
+
font-weight: normal;
|
57 |
+
font-family: Open Sans;
|
58 |
+
color: rgb(255, 255, 255) !important;
|
59 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
60 |
+
}
|
61 |
+
|
62 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-moz-placeholder {
|
63 |
+
font-weight: normal;
|
64 |
+
font-family: Open Sans;
|
65 |
+
color: rgb(255, 255, 255) !important;
|
66 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
67 |
+
}
|
68 |
+
|
69 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-ms-input-placeholder {
|
70 |
+
font-weight: normal;
|
71 |
+
font-family: Open Sans;
|
72 |
+
color: rgb(255, 255, 255) !important;
|
73 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
74 |
+
}
|
75 |
+
|
76 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-moz-placeholder {
|
77 |
+
font-weight: normal;
|
78 |
+
font-family: Open Sans;
|
79 |
+
color: rgb(255, 255, 255) !important;
|
80 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
81 |
+
}
|
82 |
+
|
83 |
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
84 |
font-weight: normal;
|
85 |
font-family: Open Sans;
|
200 |
background-image: radial-gradient(ellipse at center, rgb(245, 245, 245), rgb(245, 245, 245));;
|
201 |
}
|
202 |
|
203 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_image {
|
204 |
width: 70px;
|
205 |
height: 70px;
|
206 |
}
|
207 |
|
208 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
font-weight: normal;
|
210 |
font-family: Open Sans;
|
211 |
+
color: rgb(74, 74, 74);
|
212 |
+
font-size: 12px;
|
213 |
+
line-height: 18px;
|
214 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
215 |
}
|
216 |
|
217 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3,
|
218 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a {
|
219 |
margin: 0;
|
220 |
padding: 0;
|
221 |
line-height: inherit;
|
222 |
font-weight: normal;
|
223 |
font-family: Open Sans;
|
224 |
color: rgb(20, 84, 169);
|
225 |
+
font-size: 13px;
|
226 |
+
line-height: 17px;
|
227 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
228 |
}
|
229 |
|
230 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a:hover {
|
231 |
font-weight: normal;
|
232 |
font-family: Open Sans;
|
233 |
color: rgb(46, 107, 188);
|
234 |
+
font-size: 13px;
|
235 |
+
line-height: 17px;
|
236 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
237 |
}
|
238 |
|
242 |
font-weight: bold;
|
243 |
font-family: Open Sans;
|
244 |
color: rgb(161, 161, 161);
|
245 |
+
font-size: 10px;
|
246 |
+
line-height: 12px;
|
247 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
248 |
+
margin-top: 4px;
|
249 |
}
|
250 |
|
251 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_author {
|
252 |
padding: 0;
|
253 |
font-weight: bold;
|
254 |
font-family: Open Sans;
|
255 |
color: rgb(161, 161, 161);
|
256 |
+
font-size: 10px;
|
257 |
+
line-height: 12px;
|
258 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
259 |
}
|
260 |
|
261 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_date {
|
262 |
margin: 0 0 0 10px;
|
263 |
padding: 0;
|
264 |
font-weight: normal;
|
265 |
font-family: Open Sans;
|
266 |
color: rgb(173, 173, 173);
|
267 |
+
font-size: 10px;
|
268 |
+
line-height: 12px;
|
269 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
270 |
}
|
271 |
|
331 |
background-color: rgba(238, 238, 238, 1);
|
332 |
}
|
333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
/* Search settings */
|
335 |
|
336 |
div[id*="ajaxsearchlitesettings"].searchsettings {
|
css/style-simple-red.css
CHANGED
@@ -215,84 +215,43 @@ div[id*="ajaxsearchliteres"].horizontal .results .item:hover {
|
|
215 |
background-image: radial-gradient(ellipse at center, rgb(245, 245, 245), rgb(245, 245, 245));;
|
216 |
}
|
217 |
|
218 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
219 |
width: 70px;
|
220 |
height: 70px;
|
221 |
}
|
222 |
|
223 |
-
div[id*="ajaxsearchliteres"]
|
224 |
-
margin: 0 auto;
|
225 |
-
background-color: rgb(255, 255, 255);
|
226 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
227 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(255, 255, 255), rgb(255, 255, 255));
|
228 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
229 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
230 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
231 |
-
background-image: radial-gradient(ellipse at center, rgb(255, 255, 255), rgb(255, 255, 255));;
|
232 |
-
}
|
233 |
-
|
234 |
-
div[id*="ajaxsearchliteres"].horizontal .results .item .image {
|
235 |
-
width: 150px;
|
236 |
-
height: 150px;
|
237 |
-
border: 0px none rgb(250, 250, 250);
|
238 |
-
border-radius: 2px 2px 2px 2px;
|
239 |
-
float: none;
|
240 |
-
margin: 0 auto 6px;
|
241 |
-
position: relative;
|
242 |
-
}
|
243 |
-
|
244 |
-
div[id*="ajaxsearchliteres"].horizontal .results .item .image img + div {
|
245 |
-
box-shadow: 0px 0px 2px -1px rgb(0, 0, 0) inset;
|
246 |
-
position: absolute;
|
247 |
-
width: 150px;
|
248 |
-
height: 150px;
|
249 |
-
top: 0;
|
250 |
-
left: 0;
|
251 |
-
}
|
252 |
-
|
253 |
-
div[id*="ajaxsearchliteres"] .results .item .content {
|
254 |
-
overflow: hidden;
|
255 |
-
width: 50%;
|
256 |
-
height: auto;
|
257 |
-
background: transparent;
|
258 |
-
margin: 0;
|
259 |
-
padding: 0 10px;
|
260 |
-
}
|
261 |
-
|
262 |
-
div[id*="ajaxsearchliteres"] .results .item .content h3 {
|
263 |
-
margin: 0;
|
264 |
-
padding: 0;
|
265 |
-
line-height: inherit;
|
266 |
font-weight: normal;
|
267 |
font-family: Open Sans;
|
268 |
-
color: rgb(
|
269 |
-
font-size:
|
270 |
-
line-height:
|
271 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
272 |
}
|
273 |
|
274 |
-
div[id*="ajaxsearchliteres"].horizontal .results .item .
|
275 |
text-align: center;
|
276 |
}
|
277 |
|
278 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
|
|
279 |
margin: 0;
|
280 |
padding: 0;
|
281 |
line-height: inherit;
|
282 |
font-weight: normal;
|
283 |
font-family: Open Sans;
|
284 |
color: rgb(20, 84, 169);
|
285 |
-
font-size:
|
286 |
-
line-height:
|
287 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
288 |
}
|
289 |
|
290 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
291 |
font-weight: normal;
|
292 |
font-family: Open Sans;
|
293 |
color: rgb(46, 107, 188);
|
294 |
-
font-size:
|
295 |
-
line-height:
|
296 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
297 |
}
|
298 |
|
@@ -307,37 +266,27 @@ div[id*="ajaxsearchliteres"] .results .item div.etc {
|
|
307 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
308 |
}
|
309 |
|
310 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
311 |
padding: 0;
|
312 |
font-weight: bold;
|
313 |
font-family: Open Sans;
|
314 |
color: rgb(161, 161, 161);
|
315 |
-
font-size:
|
316 |
-
line-height:
|
317 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
318 |
}
|
319 |
|
320 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
321 |
margin: 0 0 0 10px;
|
322 |
padding: 0;
|
323 |
font-weight: normal;
|
324 |
font-family: Open Sans;
|
325 |
color: rgb(173, 173, 173);
|
326 |
-
font-size:
|
327 |
-
line-height:
|
328 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
329 |
}
|
330 |
|
331 |
-
div[id*="ajaxsearchliteres"] .results .item p.desc {
|
332 |
-
margin: 2px 0px;
|
333 |
-
padding: 0;
|
334 |
-
font-weight: normal;
|
335 |
-
font-family: Open Sans;
|
336 |
-
color: rgb(74, 74, 74);
|
337 |
-
font-size: 13px;
|
338 |
-
line-height: 13px;
|
339 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
340 |
-
}
|
341 |
|
342 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
343 |
background: #fff; /* rgba fallback */
|
@@ -405,27 +354,6 @@ div[id*="ajaxsearchliteres"] span.highlighted {
|
|
405 |
background-color: rgba(238, 238, 238, 1);
|
406 |
}
|
407 |
|
408 |
-
div[id*="ajaxsearchliteres"] p.showmore {
|
409 |
-
text-align: center;
|
410 |
-
padding: 0;
|
411 |
-
margin: 0;
|
412 |
-
font-weight: normal;
|
413 |
-
font-family: Open Sans;
|
414 |
-
color: rgb(5, 94, 148);
|
415 |
-
font-size: 12px;
|
416 |
-
line-height: 15px;
|
417 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
418 |
-
}
|
419 |
-
|
420 |
-
div[id*="ajaxsearchliteres"] p.showmore a {
|
421 |
-
font-weight: normal;
|
422 |
-
font-family: Open Sans;
|
423 |
-
color: rgb(5, 94, 148);
|
424 |
-
font-size: 12px;
|
425 |
-
line-height: 15px;
|
426 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
427 |
-
}
|
428 |
-
|
429 |
div[id*="ajaxsearchliteres"] .group {
|
430 |
background: #DDDDDD;
|
431 |
background: rgb(246, 246, 246);
|
@@ -445,56 +373,6 @@ div[id*="ajaxsearchliteres"] .group {
|
|
445 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
446 |
}
|
447 |
|
448 |
-
div[id*="ajaxsearchliteres"].isotopic {
|
449 |
-
margin: 0px 0px 0px 0px;
|
450 |
-
padding: 0px 0px 0px 0px;
|
451 |
-
background: rgba(255, 255, 255, 0);;
|
452 |
-
}
|
453 |
-
|
454 |
-
div[id*="ajaxsearchliteres"].isotopic .results .item {
|
455 |
-
width: 200px;
|
456 |
-
height: 200px;
|
457 |
-
}
|
458 |
-
|
459 |
-
div[id*="ajaxsearchliteres"].isotopic .results .item .content {
|
460 |
-
background: rgba(0, 0, 0, 0.28);;
|
461 |
-
}
|
462 |
-
|
463 |
-
/* Isotopic navigation */
|
464 |
-
div[id*="ajaxsearchliteres"].isotopic > nav,
|
465 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation {
|
466 |
-
background: rgb(228, 228, 228);;
|
467 |
-
}
|
468 |
-
|
469 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation a.asp_prev,
|
470 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation a.asp_next {
|
471 |
-
background: rgb(76, 76, 76);;
|
472 |
-
}
|
473 |
-
|
474 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation a.asp_prev svg,
|
475 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation a.asp_next svg {
|
476 |
-
fill: rgb(255, 255, 255);;
|
477 |
-
}
|
478 |
-
|
479 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation ul li.asp_active {
|
480 |
-
background: rgb(76, 76, 76);;
|
481 |
-
}
|
482 |
-
|
483 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation ul li:hover {
|
484 |
-
background: rgb(76, 76, 76);;
|
485 |
-
}
|
486 |
-
|
487 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation ul li.asp_active {
|
488 |
-
background: rgb(244, 244, 244);;
|
489 |
-
}
|
490 |
-
|
491 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation ul li:hover {
|
492 |
-
background: rgb(244, 244, 244);;
|
493 |
-
}
|
494 |
-
|
495 |
-
div[id*="ajaxsearchliteres"].isotopic nav.asp_navigation ul li span {
|
496 |
-
color: rgb(126, 126, 126);;
|
497 |
-
}
|
498 |
|
499 |
/* Search settings */
|
500 |
|
@@ -550,115 +428,4 @@ div[id*="ajaxsearchlitesettings"].searchsettings fieldset legend {
|
|
550 |
font-size: 13px;
|
551 |
line-height: 15px;
|
552 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
553 |
-
}
|
554 |
-
|
555 |
-
div[id*="ajaxsearchliteres"].horizontal .results .mCSB_scrollTools .mCSB_buttonLeft:after {
|
556 |
-
border-color: rgba(136, 183, 213, 0);
|
557 |
-
border-right-color: rgb(255, 255, 255);
|
558 |
-
border-width: 7px;
|
559 |
-
top: 50%;
|
560 |
-
margin-top: -7px;
|
561 |
-
left: 5px;
|
562 |
-
}
|
563 |
-
|
564 |
-
div[id*="ajaxsearchliteres"].horizontal .results .mCSB_scrollTools .mCSB_buttonRight:after {
|
565 |
-
border-color: rgba(136, 183, 213, 0);
|
566 |
-
border-left-color: rgb(255, 255, 255);
|
567 |
-
border-width: 7px;
|
568 |
-
top: 50%;
|
569 |
-
margin-top: -7px;
|
570 |
-
left: 5px;
|
571 |
-
}
|
572 |
-
|
573 |
-
div[id*="ajaxsearchliteres"] .photostack {
|
574 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgba(221, 221, 221, 1), rgba(221, 221, 221, 1));
|
575 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgba(221, 221, 221, 1), rgba(221, 221, 221, 1));
|
576 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgba(221, 221, 221, 1), rgba(221, 221, 221, 1));
|
577 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgba(221, 221, 221, 1), rgba(221, 221, 221, 1));
|
578 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgba(221, 221, 221, 1), rgba(221, 221, 221, 1));
|
579 |
-
background-image: radial-gradient(ellipse at center, rgba(221, 221, 221, 1), rgba(221, 221, 221, 1));;
|
580 |
-
}
|
581 |
-
|
582 |
-
div[id*="ajaxsearchliteres"] .photostack figure {
|
583 |
-
width: 200px;
|
584 |
-
height: 240px;
|
585 |
-
position: relative;
|
586 |
-
display: inline-block;
|
587 |
-
background: #fff;
|
588 |
-
padding: 25px;
|
589 |
-
text-align: center;
|
590 |
-
margin: 5px;
|
591 |
-
}
|
592 |
-
|
593 |
-
div[id*="ajaxsearchliteres"] .photostack figcaption h2 {
|
594 |
-
margin: 20px 0 0 0;
|
595 |
-
font-weight: normal;
|
596 |
-
font-family: Lato;
|
597 |
-
color: rgba(167, 160, 162, 1);
|
598 |
-
font-size: 16px;
|
599 |
-
line-height: 20px;;
|
600 |
-
}
|
601 |
-
|
602 |
-
div[id*="ajaxsearchliteres"] .photostack figcaption h2 a {
|
603 |
-
font-weight: normal;
|
604 |
-
font-family: Lato;
|
605 |
-
color: rgba(167, 160, 162, 1);
|
606 |
-
font-size: 16px;
|
607 |
-
line-height: 20px;;
|
608 |
-
}
|
609 |
-
|
610 |
-
div[id*="ajaxsearchliteres"] .photostack .etc {
|
611 |
-
font-weight: normal;
|
612 |
-
font-family: Open Sans;
|
613 |
-
color: rgba(133, 133, 133, 1);
|
614 |
-
font-size: 13px;
|
615 |
-
line-height: 18px;
|
616 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);;
|
617 |
-
}
|
618 |
-
|
619 |
-
div[id*="ajaxsearchliteres"] .photostack-img {
|
620 |
-
width: 150px;
|
621 |
-
height: 150px;
|
622 |
-
font-weight: normal;
|
623 |
-
font-family: Open Sans;
|
624 |
-
color: rgba(133, 133, 133, 1);
|
625 |
-
font-size: 13px;
|
626 |
-
line-height: 18px;
|
627 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);;
|
628 |
-
}
|
629 |
-
|
630 |
-
div[id*="ajaxsearchliteres"] .photostack-back {
|
631 |
-
font-weight: normal;
|
632 |
-
font-family: Open Sans;
|
633 |
-
color: rgba(167, 160, 162, 1);
|
634 |
-
font-size: 14px;
|
635 |
-
line-height: 17px;
|
636 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);;
|
637 |
-
}
|
638 |
-
|
639 |
-
div[id*="ajaxsearchliteres"] .photostack nav span {
|
640 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgba(170, 170, 170, 1), rgba(170, 170, 170, 1));
|
641 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgba(170, 170, 170, 1), rgba(170, 170, 170, 1));
|
642 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgba(170, 170, 170, 1), rgba(170, 170, 170, 1));
|
643 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgba(170, 170, 170, 1), rgba(170, 170, 170, 1));
|
644 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgba(170, 170, 170, 1), rgba(170, 170, 170, 1));
|
645 |
-
background-image: radial-gradient(ellipse at center, rgba(170, 170, 170, 1), rgba(170, 170, 170, 1));;
|
646 |
-
}
|
647 |
-
|
648 |
-
div[id*="ajaxsearchliteres"] .photostack nav span.current {
|
649 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgba(136, 136, 136, 1), rgba(136, 136, 136, 1));
|
650 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgba(136, 136, 136, 1), rgba(136, 136, 136, 1));
|
651 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgba(136, 136, 136, 1), rgba(136, 136, 136, 1));
|
652 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgba(136, 136, 136, 1), rgba(136, 136, 136, 1));
|
653 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgba(136, 136, 136, 1), rgba(136, 136, 136, 1));
|
654 |
-
background-image: radial-gradient(ellipse at center, rgba(136, 136, 136, 1), rgba(136, 136, 136, 1));;
|
655 |
-
}
|
656 |
-
|
657 |
-
div[id*="ajaxsearchliteres"] .photostack nav span.current.flip {
|
658 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgba(85, 85, 85, 1), rgba(85, 85, 85, 1));
|
659 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgba(85, 85, 85, 1), rgba(85, 85, 85, 1));
|
660 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgba(85, 85, 85, 1), rgba(85, 85, 85, 1));
|
661 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgba(85, 85, 85, 1), rgba(85, 85, 85, 1));
|
662 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgba(85, 85, 85, 1), rgba(85, 85, 85, 1));
|
663 |
-
background-image: radial-gradient(ellipse at center, rgba(85, 85, 85, 1), rgba(85, 85, 85, 1));;
|
664 |
}
|
215 |
background-image: radial-gradient(ellipse at center, rgb(245, 245, 245), rgb(245, 245, 245));;
|
216 |
}
|
217 |
|
218 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_image {
|
219 |
width: 70px;
|
220 |
height: 70px;
|
221 |
}
|
222 |
|
223 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
font-weight: normal;
|
225 |
font-family: Open Sans;
|
226 |
+
color: rgb(74, 74, 74);
|
227 |
+
font-size: 12px;
|
228 |
+
line-height: 18px;
|
229 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
230 |
}
|
231 |
|
232 |
+
div[id*="ajaxsearchliteres"].horizontal .results .item .asl_content h3 a {
|
233 |
text-align: center;
|
234 |
}
|
235 |
|
236 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3,
|
237 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a {
|
238 |
margin: 0;
|
239 |
padding: 0;
|
240 |
line-height: inherit;
|
241 |
font-weight: normal;
|
242 |
font-family: Open Sans;
|
243 |
color: rgb(20, 84, 169);
|
244 |
+
font-size: 13px;
|
245 |
+
line-height: 17px;
|
246 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
247 |
}
|
248 |
|
249 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a:hover {
|
250 |
font-weight: normal;
|
251 |
font-family: Open Sans;
|
252 |
color: rgb(46, 107, 188);
|
253 |
+
font-size: 13px;
|
254 |
+
line-height: 17px;
|
255 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
256 |
}
|
257 |
|
266 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
267 |
}
|
268 |
|
269 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_author {
|
270 |
padding: 0;
|
271 |
font-weight: bold;
|
272 |
font-family: Open Sans;
|
273 |
color: rgb(161, 161, 161);
|
274 |
+
font-size: 10px;
|
275 |
+
line-height: 12px;
|
276 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
277 |
}
|
278 |
|
279 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_date {
|
280 |
margin: 0 0 0 10px;
|
281 |
padding: 0;
|
282 |
font-weight: normal;
|
283 |
font-family: Open Sans;
|
284 |
color: rgb(173, 173, 173);
|
285 |
+
font-size: 10px;
|
286 |
+
line-height: 12px;
|
287 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
288 |
}
|
289 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
|
291 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
292 |
background: #fff; /* rgba fallback */
|
354 |
background-color: rgba(238, 238, 238, 1);
|
355 |
}
|
356 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
div[id*="ajaxsearchliteres"] .group {
|
358 |
background: #DDDDDD;
|
359 |
background: rgb(246, 246, 246);
|
373 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
374 |
}
|
375 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
|
377 |
/* Search settings */
|
378 |
|
428 |
font-size: 13px;
|
429 |
line-height: 15px;
|
430 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
431 |
}
|
css/style-underline.css
CHANGED
@@ -4,12 +4,6 @@ div[id*="ajaxsearchlite"] {
|
|
4 |
height: auto;
|
5 |
border-radius: 5px;
|
6 |
background-color: rgb(255, 255, 255);
|
7 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
8 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(255, 255, 255), rgb(255, 255, 255));
|
9 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
10 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
11 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
12 |
-
background-image: radial-gradient(ellipse at center, rgb(255, 255, 255), rgb(255, 255, 255));;
|
13 |
overflow: hidden;
|
14 |
border: 0px solid rgb(181, 181, 181);
|
15 |
border-radius: 0px 0px 0px 0px;
|
@@ -20,12 +14,6 @@ div[id*="ajaxsearchlite"] .probox {
|
|
20 |
margin: 0px;
|
21 |
height: 28px;
|
22 |
background-color: rgb(255, 255, 255);
|
23 |
-
background-image: -moz-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
24 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(255, 255, 255), rgb(255, 255, 255));
|
25 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
26 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
27 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(255, 255, 255), rgb(255, 255, 255));
|
28 |
-
background-image: radial-gradient(ellipse at center, rgb(255, 255, 255), rgb(255, 255, 255));;
|
29 |
border: 0px none rgb(255, 255, 255);
|
30 |
border-radius: 0px 0px 0px 0px;
|
31 |
box-shadow: 0px 0px 0px 0px rgb(181, 181, 181) inset;
|
@@ -55,6 +43,35 @@ div[id*="ajaxsearchlite"].asl_msie .probox .proinput input {
|
|
55 |
line-height: 24px !important;
|
56 |
}
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
59 |
font-weight: normal;
|
60 |
font-family: Open Sans;
|
@@ -164,41 +181,16 @@ div[id*="ajaxsearchliteres"].vertical .results .item:after {
|
|
164 |
}
|
165 |
|
166 |
div[id*="ajaxsearchliteres"] .results .item.hovered {
|
167 |
-
background
|
168 |
-
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, rgb(244, 244, 244), rgb(246, 246, 246));
|
169 |
-
background-image: -webkit-radial-gradient(center, ellipse cover, rgb(244, 244, 244), rgb(246, 246, 246));
|
170 |
-
background-image: -o-radial-gradient(center, ellipse cover, rgb(244, 244, 244), rgb(246, 246, 246));
|
171 |
-
background-image: -ms-radial-gradient(center, ellipse cover, rgb(244, 244, 244), rgb(246, 246, 246));
|
172 |
-
background-image: radial-gradient(ellipse at center, rgb(244, 244, 244), rgb(246, 246, 246));;
|
173 |
}
|
174 |
|
175 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
176 |
width: 70px;
|
177 |
height: 70px;
|
178 |
}
|
179 |
|
180 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
181 |
-
|
182 |
-
width: 50%;
|
183 |
-
height: auto;
|
184 |
-
background: transparent;
|
185 |
-
margin: 0;
|
186 |
-
padding: 0 10px;
|
187 |
-
}
|
188 |
-
|
189 |
-
div[id*="ajaxsearchliteres"] .results .item .content h3 {
|
190 |
-
margin: 0;
|
191 |
-
padding: 0;
|
192 |
-
line-height: inherit;
|
193 |
-
font-weight: normal;
|
194 |
-
font-family: Open Sans;
|
195 |
-
color: rgb(20, 104, 169);
|
196 |
-
font-size: 14px;
|
197 |
-
line-height: 22px;
|
198 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
199 |
-
}
|
200 |
-
|
201 |
-
div[id*="ajaxsearchliteres"] .results .item .content h3 a {
|
202 |
margin: 0;
|
203 |
padding: 0;
|
204 |
line-height: inherit;
|
@@ -210,7 +202,7 @@ div[id*="ajaxsearchliteres"] .results .item .content h3 a {
|
|
210 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
211 |
}
|
212 |
|
213 |
-
div[id*="ajaxsearchliteres"] .results .item .
|
214 |
font-weight: normal;
|
215 |
font-family: Open Sans;
|
216 |
color: rgb(46, 107, 188);
|
@@ -230,7 +222,7 @@ div[id*="ajaxsearchliteres"] .results .item div.etc {
|
|
230 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
231 |
}
|
232 |
|
233 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
234 |
padding: 0;
|
235 |
font-weight: bold;
|
236 |
font-family: Open Sans;
|
@@ -240,7 +232,7 @@ div[id*="ajaxsearchliteres"] .results .item .etc .author {
|
|
240 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
241 |
}
|
242 |
|
243 |
-
div[id*="ajaxsearchliteres"] .results .item .etc .
|
244 |
margin: 0 0 0 10px;
|
245 |
padding: 0;
|
246 |
font-weight: normal;
|
@@ -264,20 +256,20 @@ div[id*="ajaxsearchliteres"] .results .item p.desc {
|
|
264 |
|
265 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
266 |
background: #fff; /* rgba fallback */
|
267 |
-
background: rgba(
|
268 |
filter: "alpha(opacity=90)";
|
269 |
-ms-filter: "alpha(opacity=90)"; /* old ie */
|
270 |
}
|
271 |
|
272 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
|
273 |
-
background: rgba(
|
274 |
filter: "alpha(opacity=95)";
|
275 |
-ms-filter: "alpha(opacity=95)"; /* old ie */
|
276 |
}
|
277 |
|
278 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
279 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
280 |
-
background: rgba(
|
281 |
filter: "alpha(opacity=100)";
|
282 |
-ms-filter: "alpha(opacity=100)"; /* old ie */
|
283 |
}
|
@@ -313,40 +305,23 @@ div[id*="ajaxsearchliteres"] span.highlighted {
|
|
313 |
background-color: rgba(238, 238, 238, 1);
|
314 |
}
|
315 |
|
316 |
-
div[id*="ajaxsearchliteres"] p.showmore {
|
317 |
-
|
318 |
-
padding: 0;
|
319 |
-
margin: 0;
|
320 |
-
font-weight: normal;
|
321 |
-
font-family: Open Sans;
|
322 |
-
color: rgb(5, 94, 148);
|
323 |
-
font-size: 12px;
|
324 |
-
line-height: 15px;
|
325 |
-
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
326 |
}
|
327 |
|
328 |
-
div[id*=
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
}
|
336 |
|
337 |
/* Search settings */
|
338 |
|
339 |
div[id*="ajaxsearchlitesettings"].searchsettings {
|
340 |
-
background:
|
341 |
-
background-image: -webkit-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
342 |
-
background-image: -moz-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
343 |
-
background-image: -o-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
344 |
-
background-image: -ms-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
345 |
-
background-image: linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
346 |
-
background-image: -webkit-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
347 |
-
background-image: -moz-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
348 |
-
background-image: -o-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));
|
349 |
-
background-image: -ms-linear-gradient(185deg, rgb(255, 255, 255), rgb(255, 255, 255));;
|
350 |
box-shadow: 0px 0px 0px 1px rgb(181, 181, 181) inset;;
|
351 |
}
|
352 |
|
4 |
height: auto;
|
5 |
border-radius: 5px;
|
6 |
background-color: rgb(255, 255, 255);
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
overflow: hidden;
|
8 |
border: 0px solid rgb(181, 181, 181);
|
9 |
border-radius: 0px 0px 0px 0px;
|
14 |
margin: 0px;
|
15 |
height: 28px;
|
16 |
background-color: rgb(255, 255, 255);
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
border: 0px none rgb(255, 255, 255);
|
18 |
border-radius: 0px 0px 0px 0px;
|
19 |
box-shadow: 0px 0px 0px 0px rgb(181, 181, 181) inset;
|
43 |
line-height: 24px !important;
|
44 |
}
|
45 |
|
46 |
+
/* EACH PLACEHOLDER MUST HAVE A DIFFERENT RULE TO WORK */
|
47 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-webkit-input-placeholder {
|
48 |
+
font-weight: normal;
|
49 |
+
font-family: Open Sans;
|
50 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
51 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
52 |
+
}
|
53 |
+
|
54 |
+
div[id*="ajaxsearchlite"] .probox .proinput input::-moz-placeholder {
|
55 |
+
font-weight: normal;
|
56 |
+
font-family: Open Sans;
|
57 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
58 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
59 |
+
}
|
60 |
+
|
61 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-ms-input-placeholder {
|
62 |
+
font-weight: normal;
|
63 |
+
font-family: Open Sans;
|
64 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
65 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
66 |
+
}
|
67 |
+
|
68 |
+
div[id*="ajaxsearchlite"] .probox .proinput input:-moz-placeholder {
|
69 |
+
font-weight: normal;
|
70 |
+
font-family: Open Sans;
|
71 |
+
color: rgba(0, 0, 0, 0.6) !important;
|
72 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
73 |
+
}
|
74 |
+
|
75 |
div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
|
76 |
font-weight: normal;
|
77 |
font-family: Open Sans;
|
181 |
}
|
182 |
|
183 |
div[id*="ajaxsearchliteres"] .results .item.hovered {
|
184 |
+
background: rgb(244, 244, 244);
|
|
|
|
|
|
|
|
|
|
|
185 |
}
|
186 |
|
187 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_image {
|
188 |
width: 70px;
|
189 |
height: 70px;
|
190 |
}
|
191 |
|
192 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3,
|
193 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
margin: 0;
|
195 |
padding: 0;
|
196 |
line-height: inherit;
|
202 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
203 |
}
|
204 |
|
205 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a:hover {
|
206 |
font-weight: normal;
|
207 |
font-family: Open Sans;
|
208 |
color: rgb(46, 107, 188);
|
222 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
223 |
}
|
224 |
|
225 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_author {
|
226 |
padding: 0;
|
227 |
font-weight: bold;
|
228 |
font-family: Open Sans;
|
232 |
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
233 |
}
|
234 |
|
235 |
+
div[id*="ajaxsearchliteres"] .results .item .etc .asl_date {
|
236 |
margin: 0 0 0 10px;
|
237 |
padding: 0;
|
238 |
font-weight: normal;
|
256 |
|
257 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
|
258 |
background: #fff; /* rgba fallback */
|
259 |
+
background: rgba(255, 255, 255, 0.9);
|
260 |
filter: "alpha(opacity=90)";
|
261 |
-ms-filter: "alpha(opacity=90)"; /* old ie */
|
262 |
}
|
263 |
|
264 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
|
265 |
+
background: rgba(255, 255, 255, 0.95);
|
266 |
filter: "alpha(opacity=95)";
|
267 |
-ms-filter: "alpha(opacity=95)"; /* old ie */
|
268 |
}
|
269 |
|
270 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
271 |
div[id*="ajaxsearchliteres"] .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
|
272 |
+
background: rgba(255, 255, 255, 1);
|
273 |
filter: "alpha(opacity=100)";
|
274 |
-ms-filter: "alpha(opacity=100)"; /* old ie */
|
275 |
}
|
305 |
background-color: rgba(238, 238, 238, 1);
|
306 |
}
|
307 |
|
308 |
+
div[id*="ajaxsearchliteres"] p.showmore a {
|
309 |
+
border: 1px solid #EAEAEA;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
}
|
311 |
|
312 |
+
div[id*='ajaxsearchliteres'].vertical .results .asl_spacer {
|
313 |
+
background: none repeat scroll 0 0 #D8D8D8;
|
314 |
+
display: block;
|
315 |
+
height: 1px;
|
316 |
+
width: 100%;
|
317 |
+
margin: 0;
|
318 |
+
padding: 0;
|
319 |
}
|
320 |
|
321 |
/* Search settings */
|
322 |
|
323 |
div[id*="ajaxsearchlitesettings"].searchsettings {
|
324 |
+
background: rgb(255, 255, 255);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
box-shadow: 0px 0px 0px 1px rgb(181, 181, 181) inset;;
|
326 |
}
|
327 |
|
css/style.basic.css
CHANGED
@@ -38,6 +38,10 @@ div[id*='ajaxsearchliteres'] * {
|
|
38 |
div[id*='ajaxsearchlite'] .proinput input::-ms-clear { display: none !important; width : 0 !important; height: 0 !important; }
|
39 |
div[id*='ajaxsearchlite'] .proinput input::-ms-reveal { display: none !important; width : 0 !important; height: 0 !important; }
|
40 |
|
|
|
|
|
|
|
|
|
41 |
div[id*='ajaxsearchlite'] input[type="search"]::-webkit-search-decoration,
|
42 |
div[id*='ajaxsearchlite'] input[type="search"]::-webkit-search-cancel-button,
|
43 |
div[id*='ajaxsearchlite'] input[type="search"]::-webkit-search-results-button,
|
@@ -238,7 +242,7 @@ div[id*='ajaxsearchliteres'] * {
|
|
238 |
text-shadow: none;
|
239 |
}
|
240 |
|
241 |
-
div[id*='ajaxsearchliteres'] .results .
|
242 |
overflow: hidden;
|
243 |
width: auto;
|
244 |
height: 100%;
|
@@ -301,13 +305,13 @@ div[id*='ajaxsearchliteres'].vertical .results .item:last-child {
|
|
301 |
margin-bottom: 0px;
|
302 |
}
|
303 |
|
304 |
-
div[id*='ajaxsearchliteres'].vertical .results .
|
305 |
background: none repeat scroll 0 0 #CCCCCC;
|
306 |
-
content: "";
|
307 |
display: block;
|
308 |
height: 2px;
|
309 |
-
|
310 |
-
|
|
|
311 |
}
|
312 |
|
313 |
div[id*='ajaxsearchliteres'].vertical .results .item:last-child:after {
|
@@ -316,23 +320,44 @@ div[id*='ajaxsearchliteres'].vertical .results .item:last-child:after {
|
|
316 |
width: 0;
|
317 |
}
|
318 |
|
319 |
-
div[id*='ajaxsearchliteres'] .results .item .
|
320 |
overflow: hidden;
|
321 |
background: transparent;
|
322 |
-
margin:
|
323 |
padding: 0;
|
324 |
float: left;
|
|
|
|
|
325 |
}
|
326 |
|
327 |
-
div[id*='ajaxsearchliteres'] .results .item .
|
328 |
width: 100%;
|
329 |
height: 100%;
|
330 |
}
|
331 |
|
332 |
-
div[id*=
|
|
|
333 |
height: auto;
|
334 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
}
|
337 |
|
338 |
div[id*='ajaxsearchliteres'] .results a span.overlap {
|
@@ -344,6 +369,34 @@ div[id*='ajaxsearchliteres'] .results a span.overlap {
|
|
344 |
z-index: 1;
|
345 |
}
|
346 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
div[id*='ajaxsearchliteres'] .resdrg {
|
348 |
height: auto;
|
349 |
}
|
@@ -951,79 +1004,6 @@ div[id*="ajaxsearchlite"].asl_msie .probox .proloading {
|
|
951 |
background-image: url("../img/ie.gif");
|
952 |
}
|
953 |
|
954 |
-
div[id*='ajaxsearchliteres'].isotopic>nav,
|
955 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation {
|
956 |
-
display: none;
|
957 |
-
background: rgba(255, 255, 255, 0.6);
|
958 |
-
margin: 2px 3px;
|
959 |
-
}
|
960 |
-
|
961 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a svg {
|
962 |
-
-webkit-backface-visibility: hidden;
|
963 |
-
}
|
964 |
-
|
965 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_prev,
|
966 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_next {
|
967 |
-
background: #3F3F3F;
|
968 |
-
height: 36px;
|
969 |
-
padding: 0 10px;
|
970 |
-
cursor: pointer;
|
971 |
-
}
|
972 |
-
|
973 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_prev,
|
974 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation ul {
|
975 |
-
float: left;
|
976 |
-
}
|
977 |
-
|
978 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_next {
|
979 |
-
float: right;
|
980 |
-
}
|
981 |
-
|
982 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_prev svg,
|
983 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_next svg {
|
984 |
-
fill: #eee;
|
985 |
-
height: 100%;
|
986 |
-
width: 18px;
|
987 |
-
}
|
988 |
-
|
989 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation a.asl_prev svg {
|
990 |
-
-moz-transform: scale(-1, 1);
|
991 |
-
-webkit-transform: scale(-1, 1);
|
992 |
-
-o-transform: scale(-1, 1);
|
993 |
-
-ms-transform: scale(-1, 1);
|
994 |
-
transform: scale(-1, 1);
|
995 |
-
}
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation ul li {
|
1000 |
-
display: inline-block;
|
1001 |
-
list-style-type: none;
|
1002 |
-
margin: 0;
|
1003 |
-
height: 36px;
|
1004 |
-
width: 36px;
|
1005 |
-
cursor: pointer;
|
1006 |
-
text-align: center;
|
1007 |
-
}
|
1008 |
-
|
1009 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation ul li.asl_active {
|
1010 |
-
background: rgba(255, 255, 255, 0.6);
|
1011 |
-
}
|
1012 |
-
|
1013 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation ul li:hover {
|
1014 |
-
background: rgba(255, 255, 255, 0.6);
|
1015 |
-
}
|
1016 |
-
|
1017 |
-
div[id*='ajaxsearchliteres'].isotopic nav.asl_navigation ul li span {
|
1018 |
-
font-family: sans-serif;
|
1019 |
-
font-size: 11px;
|
1020 |
-
vertical-align: middle;
|
1021 |
-
color: #333;
|
1022 |
-
line-height: 36px;
|
1023 |
-
font-weight: bold;
|
1024 |
-
text-shadow: none;
|
1025 |
-
}
|
1026 |
-
|
1027 |
div[id*='ajaxsearchliteres'].horizontal .results .mCSB_scrollTools .mCSB_buttonLeft,
|
1028 |
div[id*='ajaxsearchlitesettings'] .mCSB_scrollTools .mCSB_buttonLeft {
|
1029 |
position: relative;
|
@@ -1094,367 +1074,4 @@ div[id*='ajaxsearchlitesettings'] .mCSB_scrollTools .mCSB_buttonRight:active,
|
|
1094 |
opacity: 0.9;
|
1095 |
filter: "alpha(opacity=90)";
|
1096 |
-ms-filter: "alpha(opacity=90)"; /* old ie */
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
/* Isotopic styles */
|
1100 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item {
|
1101 |
-
width: 193px;
|
1102 |
-
height: 193px;
|
1103 |
-
margin: 3px;
|
1104 |
-
background-size: 100% 100%;
|
1105 |
-
border: 0;
|
1106 |
-
backface-visibility: visible;
|
1107 |
-
-webkit-backface-visibility: visible;
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .content {
|
1111 |
-
width: 100%;
|
1112 |
-
height: 100%;
|
1113 |
-
position: absolute;
|
1114 |
-
top: 0;
|
1115 |
-
left: 0;
|
1116 |
-
background: rgba(255, 255, 255, 0.8);
|
1117 |
-
border: 0;
|
1118 |
-
backface-visibility: visible;
|
1119 |
-
-webkit-backface-visibility: visible;
|
1120 |
-
box-sizing: border-box;
|
1121 |
-
z-index: 3;
|
1122 |
-
padding: 4px 6px;
|
1123 |
-
}
|
1124 |
-
|
1125 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_img+.content {
|
1126 |
-
height: auto;
|
1127 |
-
top: auto;
|
1128 |
-
bottom: 0;
|
1129 |
-
}
|
1130 |
-
|
1131 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_img {
|
1132 |
-
width: 100%;
|
1133 |
-
height: 100%;
|
1134 |
-
position: absolute;
|
1135 |
-
top: 0;
|
1136 |
-
left: 0;
|
1137 |
-
z-index: 1;
|
1138 |
-
backface-visibility: hidden;
|
1139 |
-
-webkit-backface-visibility: hidden;
|
1140 |
-
}
|
1141 |
-
|
1142 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_overlay_img {
|
1143 |
-
width: 100%;
|
1144 |
-
height: 100%;
|
1145 |
-
position: absolute;
|
1146 |
-
top: 0;
|
1147 |
-
left: 0;
|
1148 |
-
z-index: 3;
|
1149 |
-
filter: url('#aslblur');
|
1150 |
-
-moz-filter: url('#aslblur');
|
1151 |
-
-webkit-filter: url('#aslblur');
|
1152 |
-
-ms-filter: url('#aslblur');
|
1153 |
-
-o-filter: url('#aslblur');
|
1154 |
-
display: none;
|
1155 |
-
cursor: pointer;
|
1156 |
-
}
|
1157 |
-
|
1158 |
-
#asl_hidden_data,
|
1159 |
-
#asl_hidden_data * {
|
1160 |
-
display: none;
|
1161 |
-
}
|
1162 |
-
|
1163 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_overlay,
|
1164 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_overlay_m{
|
1165 |
-
width: 100%;
|
1166 |
-
height: 100%;
|
1167 |
-
position: absolute;
|
1168 |
-
text-align: center;
|
1169 |
-
background: rgba(0, 0, 0, 0.2);
|
1170 |
-
top: 0;
|
1171 |
-
left: 0;
|
1172 |
-
display: none;
|
1173 |
-
z-index: 4;
|
1174 |
-
cursor: pointer;
|
1175 |
-
}
|
1176 |
-
|
1177 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_overlay_m {
|
1178 |
-
display: block;
|
1179 |
-
background: transparent;
|
1180 |
-
}
|
1181 |
-
|
1182 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_inner {
|
1183 |
-
position: absolute;
|
1184 |
-
top: 50%;
|
1185 |
-
left: 50%;
|
1186 |
-
width: 70px;
|
1187 |
-
height: 70px;
|
1188 |
-
margin: -35px 0 0 -35px;
|
1189 |
-
background: #ddd;
|
1190 |
-
box-sizing: padding-box;
|
1191 |
-
border-radius: 50%;
|
1192 |
-
background: rgba(0, 0, 0, 0.7);
|
1193 |
-
text-align: center;
|
1194 |
-
z-index: 2;
|
1195 |
-
}
|
1196 |
-
|
1197 |
-
div[id*='ajaxsearchliteres'].isotopic .results .item .asl_item_inner svg {
|
1198 |
-
height: 100%;
|
1199 |
-
width: 32px;
|
1200 |
-
fill: #fff;
|
1201 |
-
}
|
1202 |
-
|
1203 |
-
|
1204 |
-
/* Polaroid stlyes */
|
1205 |
-
div[id*='ajaxsearchliteres'] .photostack,
|
1206 |
-
div[id*='ajaxsearchliteres'] .photostack * {
|
1207 |
-
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
1208 |
-
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
1209 |
-
-ms-box-sizing: border-box;
|
1210 |
-
-o-box-sizing: border-box;
|
1211 |
-
box-sizing: border-box;
|
1212 |
-
}
|
1213 |
-
|
1214 |
-
div[id*='ajaxsearchliteres'] .photostack {
|
1215 |
-
background: transparent;
|
1216 |
-
position: relative;
|
1217 |
-
text-align: center;
|
1218 |
-
overflow: hidden;
|
1219 |
-
}
|
1220 |
-
|
1221 |
-
div[id*='ajaxsearchliteres'] .photostack-start {
|
1222 |
-
cursor: pointer;
|
1223 |
-
}
|
1224 |
-
|
1225 |
-
div[id*='ajaxsearchliteres'] .photostack > div {
|
1226 |
-
width: 100%;
|
1227 |
-
height: 100%;
|
1228 |
-
margin: 0 auto;
|
1229 |
-
}
|
1230 |
-
|
1231 |
-
.js div[id*='ajaxsearchliteres'] .photostack figure {
|
1232 |
-
position: absolute;
|
1233 |
-
display: block;
|
1234 |
-
margin: 0;
|
1235 |
-
}
|
1236 |
-
|
1237 |
-
div[id*='ajaxsearchliteres'] .photostack-img {
|
1238 |
-
outline: none;
|
1239 |
-
display: block;
|
1240 |
-
background: #f9f9f9;
|
1241 |
-
}
|
1242 |
-
|
1243 |
-
div[id*='ajaxsearchliteres'] .photostack-img img {
|
1244 |
-
width: 100%;
|
1245 |
-
height: 100%;
|
1246 |
-
}
|
1247 |
-
|
1248 |
-
div[id*='ajaxsearchliteres'] .photostack-back {
|
1249 |
-
display: none;
|
1250 |
-
position: absolute;
|
1251 |
-
width: 100%;
|
1252 |
-
height: 100%;
|
1253 |
-
top: 0;
|
1254 |
-
left: 0;
|
1255 |
-
background: #fff;
|
1256 |
-
padding: 50px 40px;
|
1257 |
-
text-align: left;
|
1258 |
-
}
|
1259 |
-
|
1260 |
-
div[id*='ajaxsearchliteres'] .photostack-back p {
|
1261 |
-
margin: 0;
|
1262 |
-
}
|
1263 |
-
|
1264 |
-
div[id*='ajaxsearchliteres'] .photostack-back p span {
|
1265 |
-
text-decoration: line-through;
|
1266 |
-
}
|
1267 |
-
|
1268 |
-
/* Navigation dots */
|
1269 |
-
div[id*='ajaxsearchliteres'] .photostack nav {
|
1270 |
-
position: absolute;
|
1271 |
-
width: 100%;
|
1272 |
-
bottom: 30px;
|
1273 |
-
z-index: 90;
|
1274 |
-
text-align: center;
|
1275 |
-
left: 0;
|
1276 |
-
-webkit-transition: opacity 0.3s;
|
1277 |
-
transition: opacity 0.3s;
|
1278 |
-
}
|
1279 |
-
|
1280 |
-
div[id*='ajaxsearchliteres'] .photostack-start nav {
|
1281 |
-
opacity: 0;
|
1282 |
-
}
|
1283 |
-
|
1284 |
-
div[id*='ajaxsearchliteres'] .photostack nav span {
|
1285 |
-
position: relative;
|
1286 |
-
display: inline-block;
|
1287 |
-
margin: 0 5px;
|
1288 |
-
width: 30px;
|
1289 |
-
height: 30px;
|
1290 |
-
cursor: pointer;
|
1291 |
-
background: #aaa;
|
1292 |
-
border-radius: 50%;
|
1293 |
-
text-align: center;
|
1294 |
-
-webkit-transition: -webkit-transform 0.6s ease-in-out, background 0.3s;
|
1295 |
-
transition: transform 0.6s ease-in-out, background 0.3s;
|
1296 |
-
-webkit-transform: scale(0.48);
|
1297 |
-
transform: scale(0.48);
|
1298 |
-
}
|
1299 |
-
|
1300 |
-
div[id*='ajaxsearchliteres'] .photostack nav span:last-child {
|
1301 |
-
margin-right: 0;
|
1302 |
-
}
|
1303 |
-
|
1304 |
-
|
1305 |
-
div[id*='ajaxsearchliteres'] .photostack nav span.current {
|
1306 |
-
background: #888;
|
1307 |
-
-webkit-transform: scale(1);
|
1308 |
-
transform: scale(1);
|
1309 |
-
}
|
1310 |
-
|
1311 |
-
div[id*='ajaxsearchliteres'] .photostack nav span.current.flip {
|
1312 |
-
-webkit-transform: scale(1) rotateY(-180deg) translateZ(-1px);
|
1313 |
-
transform: scale(1) rotateY(-180deg) translateZ(-1px);
|
1314 |
-
background: #555;
|
1315 |
-
}
|
1316 |
-
|
1317 |
-
div[id*='ajaxsearchliteres'] .photostack nav span.flippable::after {
|
1318 |
-
opacity: 1;
|
1319 |
-
-webkit-transition-delay: 0.4s;
|
1320 |
-
transition-delay: 0.4s;
|
1321 |
-
}
|
1322 |
-
|
1323 |
-
.js div[id*='ajaxsearchliteres'] .photostack::before {
|
1324 |
-
content: '';
|
1325 |
-
position: absolute;
|
1326 |
-
width: 100%;
|
1327 |
-
height: 100%;
|
1328 |
-
background: rgba(0, 0, 0, 0.5);
|
1329 |
-
top: 0;
|
1330 |
-
left: 0;
|
1331 |
-
z-index: 100;
|
1332 |
-
-webkit-transition: opacity 0.3s, visibility 0s 0.3s;
|
1333 |
-
transition: opacity 0.3s, visibility 0s 0.3s;
|
1334 |
-
}
|
1335 |
-
|
1336 |
-
.js div[id*='ajaxsearchliteres'] .photostack-start::before {
|
1337 |
-
-webkit-transition: opacity 0.3s;
|
1338 |
-
transition: opacity 0.3s;
|
1339 |
-
}
|
1340 |
-
|
1341 |
-
/* Button on photostack container */
|
1342 |
-
.js div[id*='ajaxsearchliteres'] .photostack::after {
|
1343 |
-
content: 'View Gallery';
|
1344 |
-
font-weight: 400;
|
1345 |
-
position: absolute;
|
1346 |
-
border: 3px solid #fff;
|
1347 |
-
text-align: center;
|
1348 |
-
white-space: nowrap;
|
1349 |
-
left: 50%;
|
1350 |
-
top: 50%;
|
1351 |
-
-webkit-transform: translateY(-50%) translateX(-50%);
|
1352 |
-
transform: translateY(-50%) translateX(-50%);
|
1353 |
-
padding: 10px 20px;
|
1354 |
-
color: #fff;
|
1355 |
-
text-transform: uppercase;
|
1356 |
-
letter-spacing: 1px;
|
1357 |
-
cursor: pointer;
|
1358 |
-
z-index: 101;
|
1359 |
-
}
|
1360 |
-
|
1361 |
-
.js div[id*='ajaxsearchliteres'] .photostack::before,
|
1362 |
-
.js div[id*='ajaxsearchliteres'] .photostack::after {
|
1363 |
-
opacity: 0;
|
1364 |
-
visibility: hidden;
|
1365 |
-
}
|
1366 |
-
|
1367 |
-
.js div[id*='ajaxsearchliteres'] .photostack-start::before,
|
1368 |
-
.js div[id*='ajaxsearchliteres'] .photostack-start:hover::after,
|
1369 |
-
.touch .photostack-start::after {
|
1370 |
-
opacity: 1;
|
1371 |
-
visibility: visible;
|
1372 |
-
}
|
1373 |
-
|
1374 |
-
div[id*='ajaxsearchliteres'] .photostack figure::after {
|
1375 |
-
content: '';
|
1376 |
-
position: absolute;
|
1377 |
-
width: 100%;
|
1378 |
-
height: 100%;
|
1379 |
-
top: 0;
|
1380 |
-
left: 0;
|
1381 |
-
visibility: visible;
|
1382 |
-
opacity: 1;
|
1383 |
-
background: rgba(0, 0, 0, 0.05);
|
1384 |
-
-webkit-transition: opacity 0.6s;
|
1385 |
-
transition: opacity 0.6s;
|
1386 |
-
}
|
1387 |
-
|
1388 |
-
/* Hide figure overlay when it becomes current */
|
1389 |
-
div[id*='ajaxsearchliteres'] figure.photostack-current::after {
|
1390 |
-
-webkit-transition: opacity 0.6s, visibility 0s 0.6s;
|
1391 |
-
transition: opacity 0.6s, visibility 0s 0.6s;
|
1392 |
-
opacity: 0;
|
1393 |
-
visibility: hidden;
|
1394 |
-
}
|
1395 |
-
|
1396 |
-
/* Special classes for transitions and perspective */
|
1397 |
-
div[id*='ajaxsearchliteres'] .photostack-transition figure {
|
1398 |
-
-webkit-transition: -webkit-transform 0.6s ease-in-out;
|
1399 |
-
transition: transform 0.6s ease-in-out;
|
1400 |
-
}
|
1401 |
-
|
1402 |
-
div[id*='ajaxsearchliteres'] .photostack-perspective {
|
1403 |
-
-webkit-perspective: 1800px;
|
1404 |
-
perspective: 1800px;
|
1405 |
-
}
|
1406 |
-
|
1407 |
-
div[id*='ajaxsearchliteres'] .photostack-perspective > div,
|
1408 |
-
div[id*='ajaxsearchliteres'] .photostack-perspective figure {
|
1409 |
-
-webkit-transform-style: preserve-3d;
|
1410 |
-
transform-style: preserve-3d;
|
1411 |
-
}
|
1412 |
-
|
1413 |
-
div[id*='ajaxsearchliteres'] .photostack-perspective figure,
|
1414 |
-
div[id*='ajaxsearchliteres'] .photostack-perspective figure div {
|
1415 |
-
-webkit-backface-visibility: hidden;
|
1416 |
-
backface-visibility: hidden;
|
1417 |
-
}
|
1418 |
-
|
1419 |
-
div[id*='ajaxsearchliteres'] .photostack-perspective figure.photostack-flip {
|
1420 |
-
-webkit-transform-origin: 0% 50%;
|
1421 |
-
transform-origin: 0% 50%;
|
1422 |
-
}
|
1423 |
-
|
1424 |
-
.csstransformspreserve3d figure.photostack-flip .photostack-back {
|
1425 |
-
-webkit-transform: rotateY(180deg) !important;
|
1426 |
-
transform: rotateY(180deg) !important;
|
1427 |
-
display: block !important;
|
1428 |
-
}
|
1429 |
-
|
1430 |
-
.no-csstransformspreserve3d figure.photostack-showback .photostack-back {
|
1431 |
-
display: block !important;
|
1432 |
-
}
|
1433 |
-
|
1434 |
-
/* The no-JS fallback look does not need to be boring ;) */
|
1435 |
-
.no-js .photostack figure {
|
1436 |
-
box-shadow: -2px 2px 0 rgba(0, 0, 0, 0.05) !important;
|
1437 |
-
}
|
1438 |
-
|
1439 |
-
.no-js .photostack figure::after {
|
1440 |
-
display: none !important;
|
1441 |
-
}
|
1442 |
-
|
1443 |
-
.no-js .photostack figure:nth-child(3n) {
|
1444 |
-
-webkit-transform: translateX(-10%) rotate(5deg) !important;
|
1445 |
-
transform: translateX(-10%) rotate(5deg) !important;
|
1446 |
-
}
|
1447 |
-
|
1448 |
-
.no-js .photostack figure:nth-child(3n-2) {
|
1449 |
-
-webkit-transform: translateY(10%) rotate(-3deg) !important;
|
1450 |
-
transform: translateY(10%) rotate(-3deg) !important;
|
1451 |
-
}
|
1452 |
-
|
1453 |
-
/* Some custom styles for the demo */
|
1454 |
-
|
1455 |
-
/* Since we don't have back sides for the first photo stack, we don't want the current dot to become too big */
|
1456 |
-
#photostack-1 nav span.current {
|
1457 |
-
background: #888;
|
1458 |
-
-webkit-transform: scale(0.61);
|
1459 |
-
transform: scale(0.61);
|
1460 |
}
|
38 |
div[id*='ajaxsearchlite'] .proinput input::-ms-clear { display: none !important; width : 0 !important; height: 0 !important; }
|
39 |
div[id*='ajaxsearchlite'] .proinput input::-ms-reveal { display: none !important; width : 0 !important; height: 0 !important; }
|
40 |
|
41 |
+
div[id*='ajaxsearchlite'] input[type="search"] {
|
42 |
+
-webkit-appearance: textfield !important;
|
43 |
+
}
|
44 |
+
|
45 |
div[id*='ajaxsearchlite'] input[type="search"]::-webkit-search-decoration,
|
46 |
div[id*='ajaxsearchlite'] input[type="search"]::-webkit-search-cancel-button,
|
47 |
div[id*='ajaxsearchlite'] input[type="search"]::-webkit-search-results-button,
|
242 |
text-shadow: none;
|
243 |
}
|
244 |
|
245 |
+
div[id*='ajaxsearchliteres'] .results .asl_nores {
|
246 |
overflow: hidden;
|
247 |
width: auto;
|
248 |
height: 100%;
|
305 |
margin-bottom: 0px;
|
306 |
}
|
307 |
|
308 |
+
div[id*='ajaxsearchliteres'].vertical .results .asl_spacer {
|
309 |
background: none repeat scroll 0 0 #CCCCCC;
|
|
|
310 |
display: block;
|
311 |
height: 2px;
|
312 |
+
width: 100%;
|
313 |
+
margin: 0;
|
314 |
+
padding: 0;
|
315 |
}
|
316 |
|
317 |
div[id*='ajaxsearchliteres'].vertical .results .item:last-child:after {
|
320 |
width: 0;
|
321 |
}
|
322 |
|
323 |
+
div[id*='ajaxsearchliteres'] .results .item .asl_image {
|
324 |
overflow: hidden;
|
325 |
background: transparent;
|
326 |
+
margin: 2px 8px 0px 0;
|
327 |
padding: 0;
|
328 |
float: left;
|
329 |
+
background-position: center;
|
330 |
+
background-size: cover;
|
331 |
}
|
332 |
|
333 |
+
div[id*='ajaxsearchliteres'] .results .item .asl_image img {
|
334 |
width: 100%;
|
335 |
height: 100%;
|
336 |
}
|
337 |
|
338 |
+
div[id*="ajaxsearchliteres"] .results .item .asl_content {
|
339 |
+
overflow: hidden;
|
340 |
height: auto;
|
341 |
+
background: transparent;
|
342 |
+
margin: 0;
|
343 |
+
padding: 3px 3px 5px 3px;
|
344 |
+
}
|
345 |
+
|
346 |
+
div[id*='ajaxsearchliteres'] .results .item .asl_content h3 {
|
347 |
+
margin: 0;
|
348 |
padding: 0;
|
349 |
+
display: inline-block;
|
350 |
+
line-height: inherit;
|
351 |
+
}
|
352 |
+
|
353 |
+
div[id*='ajaxsearchliteres'] .results .item .asl_content .asl_desc {
|
354 |
+
margin-top: 4px;
|
355 |
+
font-size: 12px;
|
356 |
+
line-height: 18px;
|
357 |
+
}
|
358 |
+
|
359 |
+
div[id*="ajaxsearchliteres"] .results .item div.etc {
|
360 |
+
margin-top: 4px;
|
361 |
}
|
362 |
|
363 |
div[id*='ajaxsearchliteres'] .results a span.overlap {
|
369 |
z-index: 1;
|
370 |
}
|
371 |
|
372 |
+
div[id*="ajaxsearchliteres"] p.showmore {
|
373 |
+
text-align: center;
|
374 |
+
padding: 0;
|
375 |
+
/* display: block; */
|
376 |
+
margin: 0;
|
377 |
+
/* width: 100%; */
|
378 |
+
font-weight: normal;
|
379 |
+
font-family: Open Sans;
|
380 |
+
color: rgb(5, 94, 148);
|
381 |
+
font-size: 12px;
|
382 |
+
line-height: 30px;
|
383 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
384 |
+
background-color: white;
|
385 |
+
/* border: 2px solid #E1635C; */
|
386 |
+
margin-top: 3px;
|
387 |
+
}
|
388 |
+
|
389 |
+
div[id*="ajaxsearchliteres"] p.showmore a {
|
390 |
+
font-weight: normal;
|
391 |
+
font-family: Open Sans;
|
392 |
+
color: rgb(5, 94, 148);
|
393 |
+
font-size: 12px;
|
394 |
+
line-height: 30px;
|
395 |
+
text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
|
396 |
+
display: block;
|
397 |
+
text-align: center;
|
398 |
+
}
|
399 |
+
|
400 |
div[id*='ajaxsearchliteres'] .resdrg {
|
401 |
height: auto;
|
402 |
}
|
1004 |
background-image: url("../img/ie.gif");
|
1005 |
}
|
1006 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1007 |
div[id*='ajaxsearchliteres'].horizontal .results .mCSB_scrollTools .mCSB_buttonLeft,
|
1008 |
div[id*='ajaxsearchlitesettings'] .mCSB_scrollTools .mCSB_buttonLeft {
|
1009 |
position: relative;
|
1074 |
opacity: 0.9;
|
1075 |
filter: "alpha(opacity=90)";
|
1076 |
-ms-filter: "alpha(opacity=90)"; /* old ie */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1077 |
}
|
functions.php
CHANGED
@@ -1,4 +1,96 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
if (!function_exists("mysql_escape_mimic")) {
|
3 |
function mysql_escape_mimic($inp) {
|
4 |
if(is_array($inp))
|
@@ -12,10 +104,10 @@ if (!function_exists("mysql_escape_mimic")) {
|
|
12 |
}
|
13 |
}
|
14 |
|
15 |
-
if (!function_exists("
|
16 |
-
function
|
17 |
foreach ($haystack as $item) {
|
18 |
-
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) &&
|
19 |
return true;
|
20 |
}
|
21 |
}
|
@@ -189,21 +281,10 @@ if (!function_exists("wpdreams_on_backend_page")) {
|
|
189 |
}
|
190 |
}
|
191 |
|
192 |
-
|
193 |
-
|
194 |
-
if (!function_exists("isEmpty")) {
|
195 |
-
function isEmpty($v) {
|
196 |
-
if (trim($v) != "")
|
197 |
-
return false;
|
198 |
-
else
|
199 |
-
return true;
|
200 |
-
}
|
201 |
-
}
|
202 |
-
|
203 |
-
if (!function_exists("in_array_r")) {
|
204 |
-
function in_array_r($needle, $haystack, $strict = true) {
|
205 |
foreach ($haystack as $item) {
|
206 |
-
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) &&
|
207 |
return true;
|
208 |
}
|
209 |
}
|
1 |
<?php
|
2 |
+
|
3 |
+
if (!function_exists("asl_generate_html_results")) {
|
4 |
+
/**
|
5 |
+
* Converts the results array to HTML code
|
6 |
+
*
|
7 |
+
* Since ASP 4.5 the results are returned as plain HTML codes instead of JSON
|
8 |
+
* to allow templating. This function includes the needed template files
|
9 |
+
* to generate the correct HTML code. Supports grouping.
|
10 |
+
*
|
11 |
+
* @since 4.5
|
12 |
+
* @param $results
|
13 |
+
* @param $s_options
|
14 |
+
* @return string
|
15 |
+
*/
|
16 |
+
function asl_generate_html_results($results, $s_options ) {
|
17 |
+
$html = "";
|
18 |
+
if (empty($results) || !empty($results['nores'])) {
|
19 |
+
if (!empty($results['keywords'])) {
|
20 |
+
$s_keywords = $results['keywords'];
|
21 |
+
// Get the keyword suggestions template
|
22 |
+
ob_start();
|
23 |
+
include(ASL_INCLUDES_PATH . "views/keyword-suggestions.php");
|
24 |
+
$html .= ob_get_clean();
|
25 |
+
} else {
|
26 |
+
// No results at all.
|
27 |
+
ob_start();
|
28 |
+
include(ASL_INCLUDES_PATH . "views/no-results.php");
|
29 |
+
$html .= ob_get_clean();
|
30 |
+
}
|
31 |
+
} else {
|
32 |
+
|
33 |
+
// Get the item HTML
|
34 |
+
foreach($results as $k=>$r) {
|
35 |
+
ob_start();
|
36 |
+
include(ASL_INCLUDES_PATH . "views/result.php");
|
37 |
+
$html .= ob_get_clean();
|
38 |
+
}
|
39 |
+
|
40 |
+
}
|
41 |
+
return preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $html);
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
if (!function_exists("wd_closetags")) {
|
46 |
+
/**
|
47 |
+
* Close unclosed HTML tags
|
48 |
+
*
|
49 |
+
* @param $html
|
50 |
+
* @return string
|
51 |
+
*/
|
52 |
+
function wd_closetags( $html ) {
|
53 |
+
$unpaired = array('hr', 'br', 'img');
|
54 |
+
|
55 |
+
// put all opened tags into an array
|
56 |
+
preg_match_all ( "#<([a-z]+)( .*)?(?!/)>#iU", $html, $result );
|
57 |
+
$openedtags = $result[1];
|
58 |
+
// remove unpaired tags
|
59 |
+
if (is_array($openedtags) && count($openedtags)>0) {
|
60 |
+
foreach ($openedtags as $k=>$tag) {
|
61 |
+
if (in_array($tag, $unpaired))
|
62 |
+
unset($openedtags[$k]);
|
63 |
+
}
|
64 |
+
} else {
|
65 |
+
// Replace a possible un-closed tag from the end, 30 characters backwards check
|
66 |
+
$html = preg_replace('/(.*)(\<[a-zA-Z].{0,30})$/', '$1', $html);
|
67 |
+
return $html;
|
68 |
+
}
|
69 |
+
// put all closed tags into an array
|
70 |
+
preg_match_all ( "#</([a-z]+)>#iU", $html, $result );
|
71 |
+
$closedtags = $result[1];
|
72 |
+
$len_opened = count ( $openedtags );
|
73 |
+
// all tags are closed
|
74 |
+
if( count ( $closedtags ) == $len_opened ) {
|
75 |
+
// Replace a possible un-closed tag from the end, 30 characters backwards check
|
76 |
+
$html = preg_replace('/(.*)(\<[a-zA-Z].{0,30})$/', '$1', $html);
|
77 |
+
return $html;
|
78 |
+
}
|
79 |
+
$openedtags = array_reverse ( $openedtags );
|
80 |
+
// close tags
|
81 |
+
for( $i = 0; $i < $len_opened; $i++ ) {
|
82 |
+
if ( !in_array ( $openedtags[$i], $closedtags ) ) {
|
83 |
+
$html .= "</" . $openedtags[$i] . ">";
|
84 |
+
} else {
|
85 |
+
unset ( $closedtags[array_search ( $openedtags[$i], $closedtags)] );
|
86 |
+
}
|
87 |
+
}
|
88 |
+
// Replace a possible un-closed tag from the end, 30 characters backwards check
|
89 |
+
$html = preg_replace('/(.*)(\<[a-zA-Z].{0,30})$/', '$1', $html);
|
90 |
+
return $html;
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
if (!function_exists("mysql_escape_mimic")) {
|
95 |
function mysql_escape_mimic($inp) {
|
96 |
if(is_array($inp))
|
104 |
}
|
105 |
}
|
106 |
|
107 |
+
if (!function_exists("wd_in_array_r")) {
|
108 |
+
function wd_in_array_r($needle, $haystack, $strict = true) {
|
109 |
foreach ($haystack as $item) {
|
110 |
+
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) && wd_in_array_r($needle, $item, $strict))) {
|
111 |
return true;
|
112 |
}
|
113 |
}
|
281 |
}
|
282 |
}
|
283 |
|
284 |
+
if (!function_exists("wd_in_array_r")) {
|
285 |
+
function wd_in_array_r($needle, $haystack, $strict = true) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
foreach ($haystack as $item) {
|
287 |
+
if (($strict ? $item === $needle : $item == $needle) || (is_array($item) && wd_in_array_r($needle, $item, $strict))) {
|
288 |
return true;
|
289 |
}
|
290 |
}
|
includes/asl_init.class.php
CHANGED
@@ -27,6 +27,20 @@ class aslInit {
|
|
27 |
'manage_options',
|
28 |
ASL_DIR.'/backend/analytics.php'
|
29 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
}
|
32 |
|
@@ -37,22 +51,27 @@ class aslInit {
|
|
37 |
function scripts() {
|
38 |
$prereq = 'wpdreams-asljquery';
|
39 |
$js_source = 'nomin-scoped';
|
40 |
-
|
|
|
|
|
41 |
wp_enqueue_script('wpdreams-asljquery');
|
42 |
-
wp_register_script('wpdreams-gestures', ASL_URL.'js/'.$js_source.'/jquery.gestures.js', array($prereq));
|
43 |
wp_enqueue_script('wpdreams-gestures');
|
44 |
-
wp_register_script('wpdreams-easing', ASL_URL.'js/'.$js_source.'/jquery.easing.js', array($prereq));
|
45 |
wp_enqueue_script('wpdreams-easing');
|
46 |
-
wp_register_script('wpdreams-mousewheel',ASL_URL.'js/'.$js_source.'/jquery.mousewheel.js', array($prereq));
|
47 |
wp_enqueue_script('wpdreams-mousewheel');
|
48 |
-
wp_register_script('wpdreams-scroll', ASL_URL.'js/'.$js_source.'/jquery.mCustomScrollbar.js', array($prereq, 'wpdreams-mousewheel'));
|
49 |
wp_enqueue_script('wpdreams-scroll');
|
50 |
-
wp_register_script('wpdreams-ajaxsearchlite', ASL_URL.'js/'.$js_source.'/jquery.ajaxsearchlite.js', array($prereq, "wpdreams-scroll"));
|
51 |
wp_enqueue_script('wpdreams-ajaxsearchlite');
|
52 |
|
|
|
|
|
|
|
53 |
|
54 |
wp_localize_script( 'wpdreams-ajaxsearchlite', 'ajaxsearchlite', array(
|
55 |
-
'ajaxurl' =>
|
56 |
'backend_ajaxurl' => admin_url( 'admin-ajax.php')
|
57 |
));
|
58 |
|
27 |
'manage_options',
|
28 |
ASL_DIR.'/backend/analytics.php'
|
29 |
);
|
30 |
+
add_submenu_page(
|
31 |
+
ASL_DIR.'/backend/settings.php',
|
32 |
+
__("Ajax Search Lite", 'ajax-search-lite'),
|
33 |
+
__("Performance Options", 'ajax-search-lite'),
|
34 |
+
'manage_options',
|
35 |
+
ASL_DIR.'/backend/performance_options.php'
|
36 |
+
);
|
37 |
+
add_submenu_page(
|
38 |
+
ASL_DIR.'/backend/settings.php',
|
39 |
+
__("Ajax Search Lite", 'ajax-search-lite'),
|
40 |
+
__("Help and support", 'ajax-search-lite'),
|
41 |
+
'manage_options',
|
42 |
+
ASL_DIR.'/backend/help_and_support.php'
|
43 |
+
);
|
44 |
}
|
45 |
}
|
46 |
|
51 |
function scripts() {
|
52 |
$prereq = 'wpdreams-asljquery';
|
53 |
$js_source = 'nomin-scoped';
|
54 |
+
$performance_options = get_option('asl_performance');
|
55 |
+
|
56 |
+
wp_register_script('wpdreams-asljquery', ASL_URL.'js/'.$js_source.'/asljquery.js', array(), ASL_CURR_VER_STRING);
|
57 |
wp_enqueue_script('wpdreams-asljquery');
|
58 |
+
wp_register_script('wpdreams-gestures', ASL_URL.'js/'.$js_source.'/jquery.gestures.js', array($prereq), ASL_CURR_VER_STRING);
|
59 |
wp_enqueue_script('wpdreams-gestures');
|
60 |
+
wp_register_script('wpdreams-easing', ASL_URL.'js/'.$js_source.'/jquery.easing.js', array($prereq), ASL_CURR_VER_STRING);
|
61 |
wp_enqueue_script('wpdreams-easing');
|
62 |
+
wp_register_script('wpdreams-mousewheel',ASL_URL.'js/'.$js_source.'/jquery.mousewheel.js', array($prereq), ASL_CURR_VER_STRING);
|
63 |
wp_enqueue_script('wpdreams-mousewheel');
|
64 |
+
wp_register_script('wpdreams-scroll', ASL_URL.'js/'.$js_source.'/jquery.mCustomScrollbar.js', array($prereq, 'wpdreams-mousewheel'), ASL_CURR_VER_STRING);
|
65 |
wp_enqueue_script('wpdreams-scroll');
|
66 |
+
wp_register_script('wpdreams-ajaxsearchlite', ASL_URL.'js/'.$js_source.'/jquery.ajaxsearchlite.js', array($prereq, "wpdreams-scroll"), ASL_CURR_VER_STRING);
|
67 |
wp_enqueue_script('wpdreams-ajaxsearchlite');
|
68 |
|
69 |
+
$ajax_url = admin_url('admin-ajax.php');
|
70 |
+
if ( w_isset_def($performance_options['use_custom_ajax_handler'], 0) == 1 )
|
71 |
+
$ajax_url = ASL_URL . 'ajax_search.php';
|
72 |
|
73 |
wp_localize_script( 'wpdreams-ajaxsearchlite', 'ajaxsearchlite', array(
|
74 |
+
'ajaxurl' => $ajax_url,
|
75 |
'backend_ajaxurl' => admin_url( 'admin-ajax.php')
|
76 |
));
|
77 |
|
includes/cache/timthumb_int_924fd749b06d87972550ce2462181116.timthumb.txt
DELETED
Binary file
|
includes/cache/timthumb_int_c85b341bfdcfa5f2c4847db20d8b52d1.timthumb.txt
DELETED
Binary file
|
includes/cache/timthumb_int_decd49cb06bfb5b66187e1919079ba6d.timthumb.txt
DELETED
Binary file
|
includes/cache/timthumb_int_f12d4dd7b87d24f6c7cfacf3f36a9231.timthumb.txt
DELETED
Binary file
|
includes/debug_data.class.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!class_exists('wdDebugData')) {
|
3 |
+
class wdDebugData {
|
4 |
+
|
5 |
+
private $storage_key;
|
6 |
+
|
7 |
+
private $storage;
|
8 |
+
|
9 |
+
function __construct($storage_key) {
|
10 |
+
$this->storage_key = $storage_key;
|
11 |
+
$this->storage = get_option($storage_key, array());
|
12 |
+
}
|
13 |
+
|
14 |
+
function pushData($data, $key, $force_override = true, $force_save = false, $singular = true, $limit = 10) {
|
15 |
+
if ($singular) {
|
16 |
+
if ($force_override)
|
17 |
+
$this->storage[$key] = $data;
|
18 |
+
else if ( !isset($this->storage[$key]) )
|
19 |
+
$this->storage[$key] = $data;
|
20 |
+
} else {
|
21 |
+
$this->storage[$key][] = $data;
|
22 |
+
$this->storage[$key] = array_slice($this->storage[$key], (-1) * $limit);
|
23 |
+
}
|
24 |
+
|
25 |
+
if ($force_save)
|
26 |
+
$this->save();
|
27 |
+
}
|
28 |
+
|
29 |
+
function getData($key, $default = null) {
|
30 |
+
if ( isset($this->storage[$key]) )
|
31 |
+
return $this->storage[$key];
|
32 |
+
|
33 |
+
return $default;
|
34 |
+
}
|
35 |
+
|
36 |
+
function save() {
|
37 |
+
return update_option($this->storage_key, $this->storage);
|
38 |
+
}
|
39 |
+
|
40 |
+
function destroy() {
|
41 |
+
$this->storage = array();
|
42 |
+
delete_option( $this->storage_key );
|
43 |
+
}
|
44 |
+
|
45 |
+
function getSerializedStorage() {
|
46 |
+
return base64_encode( serialize( $this-> storage ) );
|
47 |
+
}
|
48 |
+
|
49 |
+
function getStorage() {
|
50 |
+
return $this->storage;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
}
|
includes/hooks.php
CHANGED
@@ -3,11 +3,12 @@
|
|
3 |
defined('ABSPATH') or die("You can't access this file directly.");
|
4 |
|
5 |
function asl_search_stylesheets() {
|
|
|
6 |
if (!is_admin()) {
|
7 |
$asl_options = get_option('asl_options');
|
8 |
-
wp_register_style('wpdreams-asl-basic', ASL_URL.'css/style.basic.css',
|
9 |
wp_enqueue_style('wpdreams-asl-basic');
|
10 |
-
wp_enqueue_style('wpdreams-ajaxsearchlite', plugins_url('css/style-'.w_isset_def($asl_options['theme'], 'polaroid').'.css', dirname(__FILE__)),
|
11 |
}
|
12 |
}
|
13 |
|
3 |
defined('ABSPATH') or die("You can't access this file directly.");
|
4 |
|
5 |
function asl_search_stylesheets() {
|
6 |
+
// Don't print if on the back-end
|
7 |
if (!is_admin()) {
|
8 |
$asl_options = get_option('asl_options');
|
9 |
+
wp_register_style('wpdreams-asl-basic', ASL_URL.'css/style.basic.css', array(), ASL_CURR_VER_STRING);
|
10 |
wp_enqueue_style('wpdreams-asl-basic');
|
11 |
+
wp_enqueue_style('wpdreams-ajaxsearchlite', plugins_url('css/style-'.w_isset_def($asl_options['theme'], 'polaroid').'.css', dirname(__FILE__)), array(), ASL_CURR_VER_STRING);
|
12 |
}
|
13 |
}
|
14 |
|
includes/search.class.php
CHANGED
@@ -92,7 +92,7 @@ if (!class_exists('wpdreams_search')) {
|
|
92 |
|
93 |
$this->s = $this->escape( $keyword );
|
94 |
|
95 |
-
$this->_s = $this->escape( array_unique( explode(" ", $
|
96 |
|
97 |
$this->do_search();
|
98 |
$this->post_process();
|
92 |
|
93 |
$this->s = $this->escape( $keyword );
|
94 |
|
95 |
+
$this->_s = $this->escape( array_unique( explode(" ", $keyword) ) );
|
96 |
|
97 |
$this->do_search();
|
98 |
$this->post_process();
|
includes/search_content.class.php
CHANGED
@@ -8,6 +8,7 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
8 |
protected function do_search() {
|
9 |
global $wpdb;
|
10 |
global $q_config;
|
|
|
11 |
|
12 |
$options = $this->options;
|
13 |
$searchData = $this->searchData;
|
@@ -201,6 +202,9 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
201 |
$searchData['selected-exsearchincategories'] = w_isset_def( $searchData['selected-exsearchincategories'], array() );
|
202 |
$searchData['selected-excludecategories'] = w_isset_def( $searchData['selected-excludecategories'], array() );
|
203 |
|
|
|
|
|
|
|
204 |
if ( count( $searchData['selected-exsearchincategories'] ) > 0 ||
|
205 |
count( $searchData['selected-excludecategories'] ) > 0 ||
|
206 |
count( $options['categoryset'] ) > 0
|
@@ -225,6 +229,40 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
225 |
$exclude_categories = array();
|
226 |
}
|
227 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
|
229 |
$exclude_terms = array();
|
230 |
|
@@ -232,7 +270,6 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
232 |
$exclude_terms = explode( ",", str_replace( array("\r", "\n"), '', $searchData['exclude_term_ids'] ) );
|
233 |
}
|
234 |
|
235 |
-
$all_terms = array();
|
236 |
$all_terms = array_unique( array_merge( $exclude_categories, $exclude_terms ) );
|
237 |
|
238 |
/**
|
@@ -328,6 +365,20 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
328 |
)";
|
329 |
/*---------------------------------------------------------------*/
|
330 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
|
332 |
$orderby = ( ( isset( $searchData['selected-orderby'] ) && $searchData['selected-orderby'] != '' ) ? $searchData['selected-orderby'] : "post_date DESC" );
|
333 |
$querystr = "
|
@@ -335,8 +386,9 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
335 |
$wpdb->posts.post_title as title,
|
336 |
$wpdb->posts.ID as id,
|
337 |
$wpdb->posts.post_date as date,
|
338 |
-
$
|
339 |
-
$
|
|
|
340 |
(SELECT
|
341 |
$wpdb->users.display_name as author
|
342 |
FROM $wpdb->users
|
@@ -362,7 +414,18 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
362 |
LIMIT " . $searchData['maxresults'];
|
363 |
|
364 |
$pageposts = $wpdb->get_results( $querystr, OBJECT );
|
365 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
//var_dump($pageposts);die("!!");
|
367 |
|
368 |
$this->results = $pageposts;
|
@@ -380,6 +443,7 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
380 |
$s = $this->s;
|
381 |
$_s = $this->_s;
|
382 |
|
|
|
383 |
|
384 |
if ( is_multisite() ) {
|
385 |
$home_url = network_home_url();
|
@@ -412,6 +476,7 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
412 |
|
413 |
$image_settings = $searchData['image_options'];
|
414 |
|
|
|
415 |
if ( $image_settings['show_images'] != 0 ) {
|
416 |
/*
|
417 |
$im = $this->getTimThumbImage($r);
|
@@ -421,7 +486,7 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
421 |
$r->image = $im;
|
422 |
*/
|
423 |
$im = $this->getBFIimage( $r );
|
424 |
-
if ( $im != '' && strpos( $im, "mshots/v1" ) === false ) {
|
425 |
if ( w_isset_def( $image_settings['image_transparency'], 1 ) == 1 ) {
|
426 |
$bfi_params = array( 'width' => $image_settings['image_width'],
|
427 |
'height' => $image_settings['image_height'],
|
@@ -486,7 +551,7 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
486 |
if ( isset( $mykey_values[0] ) ) {
|
487 |
$_content = strip_tags( $mykey_values[0] );
|
488 |
} else {
|
489 |
-
$_content = strip_tags(
|
490 |
}
|
491 |
}
|
492 |
}
|
@@ -498,17 +563,21 @@ if ( ! class_exists( 'wpdreams_searchContent' ) ) {
|
|
498 |
}
|
499 |
|
500 |
if ( $_content != "" ) {
|
501 |
-
$_content = apply_filters( 'the_content', $
|
502 |
-
}
|
503 |
-
if ( $_content != "" ) {
|
504 |
-
$_content = preg_replace( '#<script(.*?)>(.*?)</script>#is', '', $_content );
|
505 |
}
|
506 |
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
$_content = strip_tags( $_content );
|
508 |
|
509 |
if ( $_content != '' && ( strlen( $_content ) > $searchData['descriptionlength'] ) )
|
510 |
$_content = wd_substr_at_word( $_content, $searchData['descriptionlength'] ) . "...";
|
511 |
|
|
|
512 |
$r->content = $_content;
|
513 |
|
514 |
// -------------------------- Woocommerce Fixes -----------------------------
|
8 |
protected function do_search() {
|
9 |
global $wpdb;
|
10 |
global $q_config;
|
11 |
+
global $asl_debug_data;
|
12 |
|
13 |
$options = $this->options;
|
14 |
$searchData = $this->searchData;
|
202 |
$searchData['selected-exsearchincategories'] = w_isset_def( $searchData['selected-exsearchincategories'], array() );
|
203 |
$searchData['selected-excludecategories'] = w_isset_def( $searchData['selected-excludecategories'], array() );
|
204 |
|
205 |
+
/*
|
206 |
+
* OLD SOLUTION, MIGHT BE BUGGY
|
207 |
+
*
|
208 |
if ( count( $searchData['selected-exsearchincategories'] ) > 0 ||
|
209 |
count( $searchData['selected-excludecategories'] ) > 0 ||
|
210 |
count( $options['categoryset'] ) > 0
|
229 |
$exclude_categories = array();
|
230 |
}
|
231 |
}
|
232 |
+
*/
|
233 |
+
|
234 |
+
// New solution
|
235 |
+
if ( count( $searchData['selected-exsearchincategories'] ) > 0 ||
|
236 |
+
count( $searchData['selected-excludecategories'] ) > 0 ||
|
237 |
+
count( $options['categoryset'] ) > 0 ||
|
238 |
+
$searchData['showsearchincategories'] == 1
|
239 |
+
) {
|
240 |
+
|
241 |
+
// If the category settings are invisible, ignore the excluded frontend categories, reset to empty array
|
242 |
+
if ( $searchData['showsearchincategories'] == 0 ) {
|
243 |
+
$searchData['selected-exsearchincategories'] = array();
|
244 |
+
}
|
245 |
+
|
246 |
+
$_all_cat = get_terms( 'category', array( 'fields' => 'ids' ) );
|
247 |
+
$_needed_cat = array_diff( $_all_cat, $searchData['selected-exsearchincategories'] );
|
248 |
+
$_needed_cat = ! is_array( $_needed_cat ) ? array() : $_needed_cat;
|
249 |
+
|
250 |
+
// I am pretty sure this is where the devil is born
|
251 |
+
/*
|
252 |
+
AND -> Posts NOT in an array of term ids
|
253 |
+
OR -> Posts in an array of term ids
|
254 |
+
*/
|
255 |
+
|
256 |
+
if ( $searchData['showsearchincategories'] == 1 ) // If the settings is visible, count for the options
|
257 |
+
{
|
258 |
+
$exclude_categories = array_diff( array_merge( $_needed_cat, $searchData['selected-excludecategories'] ), $options['categoryset'] );
|
259 |
+
} else // ..if the settings is not visible, then only the excluded categories count
|
260 |
+
{
|
261 |
+
$exclude_categories = $searchData['selected-excludecategories'];
|
262 |
+
}
|
263 |
+
|
264 |
+
|
265 |
+
}
|
266 |
|
267 |
$exclude_terms = array();
|
268 |
|
270 |
$exclude_terms = explode( ",", str_replace( array("\r", "\n"), '', $searchData['exclude_term_ids'] ) );
|
271 |
}
|
272 |
|
|
|
273 |
$all_terms = array_unique( array_merge( $exclude_categories, $exclude_terms ) );
|
274 |
|
275 |
/**
|
365 |
)";
|
366 |
/*---------------------------------------------------------------*/
|
367 |
|
368 |
+
/*--------------------- Other Query stuff -----------------------*/
|
369 |
+
// If the content is hidden, why select it..
|
370 |
+
if ($searchData['showdescription'] == 0)
|
371 |
+
$select_content = "''";
|
372 |
+
else
|
373 |
+
$select_content = $wpdb->posts. ".post_content";
|
374 |
+
|
375 |
+
// Dont select excerpt if its not used at all
|
376 |
+
$select_excerpt = (
|
377 |
+
w_isset_def($searchData['titlefield'], 0) == 1 ||
|
378 |
+
w_isset_def($searchData['descriptionfield'], 0) == 1
|
379 |
+
) ? $wpdb->posts. ".post_excerpt" : "''";
|
380 |
+
/*---------------------------------------------------------------*/
|
381 |
+
|
382 |
|
383 |
$orderby = ( ( isset( $searchData['selected-orderby'] ) && $searchData['selected-orderby'] != '' ) ? $searchData['selected-orderby'] : "post_date DESC" );
|
384 |
$querystr = "
|
386 |
$wpdb->posts.post_title as title,
|
387 |
$wpdb->posts.ID as id,
|
388 |
$wpdb->posts.post_date as date,
|
389 |
+
$select_content as content,
|
390 |
+
$select_excerpt as excerpt,
|
391 |
+
'pagepost' as content_type,
|
392 |
(SELECT
|
393 |
$wpdb->users.display_name as author
|
394 |
FROM $wpdb->users
|
414 |
LIMIT " . $searchData['maxresults'];
|
415 |
|
416 |
$pageposts = $wpdb->get_results( $querystr, OBJECT );
|
417 |
+
|
418 |
+
$asl_debug_data->pushData(
|
419 |
+
array(
|
420 |
+
"phrase" => $s,
|
421 |
+
"options" => $options,
|
422 |
+
"query" => $querystr,
|
423 |
+
"results" => count($pageposts)
|
424 |
+
),
|
425 |
+
"queries", false, true, false, 5
|
426 |
+
);
|
427 |
+
|
428 |
+
//var_dump($querystr);//die("!!");
|
429 |
//var_dump($pageposts);die("!!");
|
430 |
|
431 |
$this->results = $pageposts;
|
443 |
$s = $this->s;
|
444 |
$_s = $this->_s;
|
445 |
|
446 |
+
$performance_options = get_option('asl_performance');
|
447 |
|
448 |
if ( is_multisite() ) {
|
449 |
$home_url = network_home_url();
|
476 |
|
477 |
$image_settings = $searchData['image_options'];
|
478 |
|
479 |
+
|
480 |
if ( $image_settings['show_images'] != 0 ) {
|
481 |
/*
|
482 |
$im = $this->getTimThumbImage($r);
|
486 |
$r->image = $im;
|
487 |
*/
|
488 |
$im = $this->getBFIimage( $r );
|
489 |
+
if ( $im != '' && strpos( $im, "mshots/v1" ) === false && w_isset_def($performance_options['image_cropping'], 0) == 1 ) {
|
490 |
if ( w_isset_def( $image_settings['image_transparency'], 1 ) == 1 ) {
|
491 |
$bfi_params = array( 'width' => $image_settings['image_width'],
|
492 |
'height' => $image_settings['image_height'],
|
551 |
if ( isset( $mykey_values[0] ) ) {
|
552 |
$_content = strip_tags( $mykey_values[0] );
|
553 |
} else {
|
554 |
+
$_content = strip_tags( $r->content );
|
555 |
}
|
556 |
}
|
557 |
}
|
563 |
}
|
564 |
|
565 |
if ( $_content != "" ) {
|
566 |
+
$_content = apply_filters( 'the_content', $_content );
|
|
|
|
|
|
|
567 |
}
|
568 |
|
569 |
+
// Remove styles and scripts
|
570 |
+
$_content = preg_replace( array(
|
571 |
+
'#<script(.*?)>(.*?)</script>#is',
|
572 |
+
'#<style(.*?)>(.*?)</style>#is'
|
573 |
+
), '', $_content );
|
574 |
+
|
575 |
$_content = strip_tags( $_content );
|
576 |
|
577 |
if ( $_content != '' && ( strlen( $_content ) > $searchData['descriptionlength'] ) )
|
578 |
$_content = wd_substr_at_word( $_content, $searchData['descriptionlength'] ) . "...";
|
579 |
|
580 |
+
$_content = wd_closetags( $_content );
|
581 |
$r->content = $_content;
|
582 |
|
583 |
// -------------------------- Woocommerce Fixes -----------------------------
|
includes/views/asl.shortcode.php
CHANGED
@@ -39,7 +39,7 @@
|
|
39 |
|
40 |
<div class='proinput'>
|
41 |
<form action='' autocomplete="off">
|
42 |
-
<input type='search' class='orig' name='phrase' value='' autocomplete="off"/>
|
43 |
<input type='text' class='autocomplete' name='phrase' value='' autocomplete="off"/>
|
44 |
<span class='loading'></span>
|
45 |
<input type='submit' style='width:0; height: 0; visibility: hidden;'>
|
@@ -259,9 +259,9 @@
|
|
259 |
|
260 |
<?php if ($style['showmoreresults'] == 1): ?>
|
261 |
<?php do_action('asl_layout_before_showmore', $id); ?>
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
<?php do_action('asl_layout_after_showmore', $id); ?>
|
266 |
<?php endif; ?>
|
267 |
|
@@ -312,6 +312,7 @@
|
|
312 |
triggerontype: <?php echo ((isset($style['triggerontype']) && $style['triggerontype']!="")?$style['triggerontype']:1); ?>,
|
313 |
triggeronclick: <?php echo ((isset($style['triggeronclick']) && $style['triggeronclick']!="")?$style['triggeronclick']:1); ?>,
|
314 |
redirectonclick: <?php echo ((isset($style['redirectonclick']) && $style['redirectonclick']!="")?$style['redirectonclick']:0); ?>,
|
|
|
315 |
settingsimagepos: '<?php echo w_isset_def($style['theme'], 'classic-blue')=='classic-blue'?'left':'right'; ?>',
|
316 |
hresultanimation: 'fx-none',
|
317 |
vresultanimation: 'fx-none',
|
39 |
|
40 |
<div class='proinput'>
|
41 |
<form action='' autocomplete="off">
|
42 |
+
<input type='search' class='orig' name='phrase' placeholder='<?php echo w_isset_def($style["defaultsearchtext"], ""); ?>' value='<?php echo get_search_query(); ?>' autocomplete="off"/>
|
43 |
<input type='text' class='autocomplete' name='phrase' value='' autocomplete="off"/>
|
44 |
<span class='loading'></span>
|
45 |
<input type='submit' style='width:0; height: 0; visibility: hidden;'>
|
259 |
|
260 |
<?php if ($style['showmoreresults'] == 1): ?>
|
261 |
<?php do_action('asl_layout_before_showmore', $id); ?>
|
262 |
+
<p class='showmore'>
|
263 |
+
<a href='<?php home_url('/'); ?>?s='><?php echo $style['showmoreresultstext']; ?></a>
|
264 |
+
</p>
|
265 |
<?php do_action('asl_layout_after_showmore', $id); ?>
|
266 |
<?php endif; ?>
|
267 |
|
312 |
triggerontype: <?php echo ((isset($style['triggerontype']) && $style['triggerontype']!="")?$style['triggerontype']:1); ?>,
|
313 |
triggeronclick: <?php echo ((isset($style['triggeronclick']) && $style['triggeronclick']!="")?$style['triggeronclick']:1); ?>,
|
314 |
redirectonclick: <?php echo ((isset($style['redirectonclick']) && $style['redirectonclick']!="")?$style['redirectonclick']:0); ?>,
|
315 |
+
trigger_on_facet_change: <?php echo w_isset_def($style['trigger_on_facet_change'], 0); ?>,
|
316 |
settingsimagepos: '<?php echo w_isset_def($style['theme'], 'classic-blue')=='classic-blue'?'left':'right'; ?>',
|
317 |
hresultanimation: 'fx-none',
|
318 |
vresultanimation: 'fx-none',
|
includes/views/keyword-suggestions.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Prevent direct access */
|
3 |
+
defined('ABSPATH') or die("You can't access this file directly.");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* This is the default template for the keyword suggestions
|
7 |
+
*
|
8 |
+
* The keyword should must always hold the 'asp_keyword' class and only
|
9 |
+
* contain the keyword text as the content.
|
10 |
+
*
|
11 |
+
* You can use any WordPress function here.
|
12 |
+
* Variables to mention:
|
13 |
+
* Array[] $s_keywords - array of the keywords
|
14 |
+
* Array[] $s_options - holding the search options
|
15 |
+
*
|
16 |
+
* You can leave empty lines for better visibility, they are cleared before output.
|
17 |
+
*
|
18 |
+
* MORE INFO: https://wp-dreams.com/knowledge-base/result-templating/
|
19 |
+
*
|
20 |
+
* @since: 4.0
|
21 |
+
*/
|
22 |
+
?>
|
23 |
+
<div class="asl_nores">
|
24 |
+
|
25 |
+
<span class="asl_nores_header"><?php echo $s_options['noresultstext'] . " " . $s_options['didyoumeantext']; ?></span>
|
26 |
+
|
27 |
+
<?php foreach($s_keywords as $keyword): ?>
|
28 |
+
<span class='asl_keyword'><?php echo $keyword; ?></span>
|
29 |
+
<?php endforeach; ?>
|
30 |
+
|
31 |
+
</div>
|
includes/views/no-results.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Prevent direct access */
|
3 |
+
defined('ABSPATH') or die("You can't access this file directly.");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* This is the default template for the keyword suggestions
|
7 |
+
*
|
8 |
+
* The keyword should must always hold the 'asl_keyword' class and only
|
9 |
+
* contain the keyword text as the content.
|
10 |
+
*
|
11 |
+
* You can use any WordPress function here.
|
12 |
+
* Variables to mention:
|
13 |
+
* Array[] $s_keywords - array of the keywords
|
14 |
+
* Array[] $s_options - holding the search options
|
15 |
+
*
|
16 |
+
* You can leave empty lines for better visibility, they are cleared before output.
|
17 |
+
*
|
18 |
+
* MORE INFO: https://wp-dreams.com/knowledge-base/result-templating/
|
19 |
+
*
|
20 |
+
* @since: 4.0
|
21 |
+
*/
|
22 |
+
?>
|
23 |
+
<div class="asl_nores">
|
24 |
+
|
25 |
+
<span class="asl_nores_header"><?php echo $s_options['noresultstext']; ?></span>
|
26 |
+
|
27 |
+
</div>
|
includes/views/result.php
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Prevent direct access */
|
3 |
+
defined('ABSPATH') or die("You can't access this file directly.");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* This is the default template for one vertical result
|
7 |
+
*
|
8 |
+
* You should rather make a copy of this in this folder and use that,
|
9 |
+
* instead of modifying this one.
|
10 |
+
* It's also a good idea to use the actions to insert content instead of modifications.
|
11 |
+
*
|
12 |
+
* WARNING: Modifying anything in this file might result in search malfunctioning,
|
13 |
+
* so be careful and use your test environment.
|
14 |
+
*
|
15 |
+
* You can use any WordPress function here.
|
16 |
+
* Variables to mention:
|
17 |
+
* Object() $r - holding the result details
|
18 |
+
* Array[] $s_options - holding the search options
|
19 |
+
*
|
20 |
+
* I DO NOT RECOMMEND PUTTING ANYTHING BEFORE OR AFTER THE
|
21 |
+
* <div class='item'>..</div><div class="asl_spacer"></div> structure
|
22 |
+
*
|
23 |
+
* You can leave empty lines for better visibility, they are cleared before output.
|
24 |
+
*
|
25 |
+
* MORE INFO: https://wp-dreams.com/knowledge-base/result-templating/
|
26 |
+
*
|
27 |
+
* @since: 4.0
|
28 |
+
*/
|
29 |
+
?>
|
30 |
+
<div class='item asl_result_<?php echo $r->content_type; ?>'>
|
31 |
+
|
32 |
+
<?php do_action('asl_res_vertical_begin_item'); ?>
|
33 |
+
|
34 |
+
<div class='asl_content'>
|
35 |
+
|
36 |
+
|
37 |
+
<?php if (!empty($r->image)): ?>
|
38 |
+
|
39 |
+
<?php do_action('asl_res_vertical_before_image'); ?>
|
40 |
+
|
41 |
+
<div class='asl_image' style='background-image: url("<?php echo $r->image; ?>");'>
|
42 |
+
<div class='void'></div>
|
43 |
+
</div>
|
44 |
+
|
45 |
+
<?php do_action('asl_res_vertical_after_image'); ?>
|
46 |
+
|
47 |
+
<?php endif; ?>
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
<h3><a href='<?php echo $r->link; ?>'>
|
52 |
+
<?php echo $r->title; ?>
|
53 |
+
<?php if ($s_options['resultareaclickable'] == 1): ?>
|
54 |
+
<span class='overlap'></span>
|
55 |
+
<?php endif; ?>
|
56 |
+
</a></h3>
|
57 |
+
|
58 |
+
|
59 |
+
<?php if ( !empty($r->date) || !empty($r->author) ): ?>
|
60 |
+
|
61 |
+
<div class='etc'>
|
62 |
+
|
63 |
+
<?php if ( $s_options['showauthor'] == 1 && !empty($r->author) ): ?>
|
64 |
+
<span class='asl_author'><?php echo $r->author; ?></span>
|
65 |
+
<?php endif; ?>
|
66 |
+
|
67 |
+
<?php if ( $s_options['showdate'] == 1 && !empty($r->date) ): ?>
|
68 |
+
<span class='asl_date'><?php echo $r->date; ?></span>
|
69 |
+
<?php endif; ?>
|
70 |
+
|
71 |
+
</div>
|
72 |
+
|
73 |
+
<?php endif; ?>
|
74 |
+
|
75 |
+
<?php if ($s_options['showdescription'] == 1): ?>
|
76 |
+
<p class="asl_desc">
|
77 |
+
<?php echo $r->content; ?>
|
78 |
+
</p>
|
79 |
+
<?php endif; ?>
|
80 |
+
|
81 |
+
</div>
|
82 |
+
|
83 |
+
<?php do_action('asl_res_vertical_after_content'); ?>
|
84 |
+
|
85 |
+
<div class='clear'></div>
|
86 |
+
|
87 |
+
<?php do_action('asl_res_vertical_end_item'); ?>
|
88 |
+
|
89 |
+
</div>
|
90 |
+
<div class="asl_spacer"></div>
|
js/nomin-scoped/jquery.ajaxsearchlite.js
CHANGED
@@ -47,7 +47,6 @@
|
|
47 |
$this.post = null;
|
48 |
$this.postAuto = null;
|
49 |
$this.cleanUp();
|
50 |
-
$this.n.text.val($this.o.defaultsearchtext);
|
51 |
$this.n.textAutocomplete.val('');
|
52 |
$this.o.resultitemheight = parseInt($this.o.resultitemheight);
|
53 |
$this.scroll = new Object();
|
@@ -222,6 +221,7 @@
|
|
222 |
$this.n.text.val("");
|
223 |
$this.n.textAutocomplete.val("");
|
224 |
$this.hideResults();
|
|
|
225 |
});
|
226 |
$($this.elem).bind("click touchend", function (e) {
|
227 |
e.stopImmediatePropagation();
|
@@ -465,12 +465,12 @@
|
|
465 |
|
466 |
initFacetEvents: function() {
|
467 |
var $this = this;
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
},
|
475 |
|
476 |
destroy: function () {
|
@@ -531,77 +531,39 @@
|
|
531 |
options: $('form', $this.n.searchsettings).serialize()
|
532 |
};
|
533 |
$this.analytics($this.n.text.val());
|
|
|
|
|
534 |
$this.post = $.post(ajaxsearchlite.ajaxurl, data, function (response) {
|
535 |
response = response.replace(/^\s*[\r\n]/gm, "");
|
536 |
-
response = response.match(/!!
|
537 |
-
|
|
|
|
|
538 |
$this.n.resdrg.html("");
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
$this.n.resdrg.append("<div class='nores'>" + str + "</div>");
|
547 |
-
$(".keyword", $this.n.resdrg).bind('click', function () {
|
548 |
-
$this.n.text.val($(this).html());
|
549 |
-
$this.n.promagnifier.trigger('click');
|
550 |
-
});
|
551 |
-
if ($this.n.showmore != null) {
|
552 |
-
$this.n.showmore.css({
|
553 |
-
'display': 'none'
|
554 |
-
});
|
555 |
-
}
|
556 |
-
} else if (response.length > 0 || response.grouped != null) {
|
557 |
-
if (response.grouped != null && $this.o.resultstype == 'vertical') {
|
558 |
-
$.each(response.items, function () {
|
559 |
-
group = $this.createGroup(this.name);
|
560 |
-
group = $(group);
|
561 |
-
$this.n.resdrg.append(group);
|
562 |
-
$.each(this.data, function () {
|
563 |
-
result = $this.createResult(this, 0);
|
564 |
-
if (result != null) {
|
565 |
-
result = $(result);
|
566 |
-
$this.n.resdrg.append(result);
|
567 |
-
}
|
568 |
-
});
|
569 |
-
});
|
570 |
-
} else {
|
571 |
-
var skipped = 0;
|
572 |
-
for (var i = 0; i < response.length; i++) {
|
573 |
-
result = $this.createResult(response[i], i-skipped);
|
574 |
-
if (result != null) {
|
575 |
-
result = $(result);
|
576 |
-
$this.n.resdrg.append(result);
|
577 |
-
} else {
|
578 |
-
skipped++;
|
579 |
-
}
|
580 |
-
}
|
581 |
-
}
|
582 |
|
583 |
-
if ($this.n.showmore != null) {
|
584 |
-
$this.n.showmore.css({
|
585 |
-
'display': 'inline-block'
|
586 |
-
});
|
587 |
-
}
|
588 |
-
}
|
589 |
-
if ($this.n.resdrg.get(0).innerHTML == "") {
|
590 |
-
$this.n.resdrg.append("<div class='nores'>" + $this.o.noresultstext + "</div>");
|
591 |
-
if ($this.n.showmore != null) {
|
592 |
-
$this.n.showmore.css({
|
593 |
-
'display': 'none'
|
594 |
-
});
|
595 |
-
}
|
596 |
-
}
|
597 |
$this.n.items = $('.item', $this.n.resultsDiv);
|
598 |
|
599 |
$this.showResults();
|
600 |
$this.scrollToResults();
|
601 |
|
602 |
-
if ($this.n.
|
603 |
-
$this.n.showmore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
604 |
}
|
|
|
605 |
}, "text");
|
606 |
},
|
607 |
|
47 |
$this.post = null;
|
48 |
$this.postAuto = null;
|
49 |
$this.cleanUp();
|
|
|
50 |
$this.n.textAutocomplete.val('');
|
51 |
$this.o.resultitemheight = parseInt($this.o.resultitemheight);
|
52 |
$this.scroll = new Object();
|
221 |
$this.n.text.val("");
|
222 |
$this.n.textAutocomplete.val("");
|
223 |
$this.hideResults();
|
224 |
+
$this.n.text.focus();
|
225 |
});
|
226 |
$($this.elem).bind("click touchend", function (e) {
|
227 |
e.stopImmediatePropagation();
|
465 |
|
466 |
initFacetEvents: function() {
|
467 |
var $this = this;
|
468 |
+
if ($this.o.trigger_on_facet_change == 1)
|
469 |
+
$('input', $this.n.searchsettings).change(function(){
|
470 |
+
if ($this.n.text.val().length < $this.o.charcount) return;
|
471 |
+
if ($this.post != null) $this.post.abort();
|
472 |
+
$this.search();
|
473 |
+
});
|
474 |
},
|
475 |
|
476 |
destroy: function () {
|
531 |
options: $('form', $this.n.searchsettings).serialize()
|
532 |
};
|
533 |
$this.analytics($this.n.text.val());
|
534 |
+
|
535 |
+
// New method without JSON
|
536 |
$this.post = $.post(ajaxsearchlite.ajaxurl, data, function (response) {
|
537 |
response = response.replace(/^\s*[\r\n]/gm, "");
|
538 |
+
response = response.match(/!!ASLSTART!!(.*[\s\S]*)!!ASLEND!!/)[1];
|
539 |
+
|
540 |
+
// bye bye JSON
|
541 |
+
|
542 |
$this.n.resdrg.html("");
|
543 |
+
$this.n.resdrg.html(response);
|
544 |
+
|
545 |
+
$(".asl_keyword", $this.n.resdrg).bind('click', function () {
|
546 |
+
$this.n.text.val($(this).html());
|
547 |
+
$('input.orig', $this.n.container).val($(this).html()).keydown();
|
548 |
+
$('form', $this.n.container).trigger('submit', 'ajax');
|
549 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
551 |
$this.n.items = $('.item', $this.n.resultsDiv);
|
552 |
|
553 |
$this.showResults();
|
554 |
$this.scrollToResults();
|
555 |
|
556 |
+
if ($this.n.items.length == 0) {
|
557 |
+
if ($this.n.showmore != null) {
|
558 |
+
$this.n.showmore.css('display', 'none');
|
559 |
+
}
|
560 |
+
} else {
|
561 |
+
if ($this.n.showmore != null) {
|
562 |
+
$this.n.showmore.css('display', 'block');
|
563 |
+
$this.n.showmore.attr('href', $this.o.homeurl + '?s=' + $this.n.text.val());
|
564 |
+
}
|
565 |
}
|
566 |
+
|
567 |
}, "text");
|
568 |
},
|
569 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Ajax Search Lite ===
|
2 |
Contributors: wpdreams
|
3 |
Donate link: http://wp-dreams.com
|
4 |
-
Tags: search, better wordpress search, search plugin, relevance search,
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -37,12 +37,14 @@ Twitter: https://twitter.com/ernest_marcinko
|
|
37 |
* 40+ options on the backend
|
38 |
* Google analytics integration
|
39 |
* Caches images for faster response time
|
|
|
|
|
40 |
|
41 |
Homepage: [wp-dreams.com](http://wp-dreams.com)
|
42 |
|
43 |
Pro version Demo: [Ajax Search Pro](http://demo.wp-dreams.com/?product=ajax_search_pro)
|
44 |
|
45 |
-
**New In pro version 4.
|
46 |
|
47 |
* Frontend Demo: [Ajax Search Pro](http://demo.wp-dreams.com/?product=ajax_search_pro)
|
48 |
* The search now can affect the default WordPress search results
|
@@ -103,6 +105,17 @@ and will let you know what to do.
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 4.0 =
|
107 |
* Major Query optimizations
|
108 |
* Scrolling calculation and experience fixes
|
1 |
=== Ajax Search Lite ===
|
2 |
Contributors: wpdreams
|
3 |
Donate link: http://wp-dreams.com
|
4 |
+
Tags: search, better wordpress search, search plugin, relevance search, widget, Post, ajax search, wp ajax search, custom fields search, better search, ajax search plugin, wp search, wp search plugin, relevant search plugin, wordpress search, live search, shortcode, google, woocommerce, woocommerce search, product, product search, custom search, ajax, suggest, autosuggest, autocomplete, search autocomplete, live, plugin, sidebar, product tag search, woocommerce tag search, WooCommerce Plugin, shop, search by sku, relevant search, highlight, term, image
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
37 |
* 40+ options on the backend
|
38 |
* Google analytics integration
|
39 |
* Caches images for faster response time
|
40 |
+
* Performance Options
|
41 |
+
* Google analytics integration
|
42 |
|
43 |
Homepage: [wp-dreams.com](http://wp-dreams.com)
|
44 |
|
45 |
Pro version Demo: [Ajax Search Pro](http://demo.wp-dreams.com/?product=ajax_search_pro)
|
46 |
|
47 |
+
**New In pro version 4.5.1 (2015.08.31):**
|
48 |
|
49 |
* Frontend Demo: [Ajax Search Pro](http://demo.wp-dreams.com/?product=ajax_search_pro)
|
50 |
* The search now can affect the default WordPress search results
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
= 4.5 =
|
109 |
+
* New menus: Performance Options and Support
|
110 |
+
* JSON responses transformed into HTML
|
111 |
+
* Input focusing after clicking on close button
|
112 |
+
* Added an option to control the facet change event
|
113 |
+
* Custom Ajax Handler implemented
|
114 |
+
* Image cropping disabled, added an option to control it
|
115 |
+
* Debug data gathering for more effective support
|
116 |
+
* Some scrolling issues fixes
|
117 |
+
* A category and term related bug fixed
|
118 |
+
|
119 |
= 4.0 =
|
120 |
* Major Query optimizations
|
121 |
* Scrolling calculation and experience fixes
|
search.php
CHANGED
@@ -111,11 +111,14 @@ function ajaxsearchlite_search() {
|
|
111 |
|
112 |
do_action('asl_after_search', $s, $results);
|
113 |
|
|
|
|
|
|
|
114 |
/* Clear output buffer, possible warnings */
|
115 |
-
print "!!
|
116 |
//var_dump($results);die();
|
117 |
-
print_r(
|
118 |
-
print "!!
|
119 |
die();
|
120 |
|
121 |
}
|
111 |
|
112 |
do_action('asl_after_search', $s, $results);
|
113 |
|
114 |
+
// Generate the results here
|
115 |
+
$html_results = asl_generate_html_results( $results, $search['data'] );
|
116 |
+
|
117 |
/* Clear output buffer, possible warnings */
|
118 |
+
print "!!ASLSTART!!";
|
119 |
//var_dump($results);die();
|
120 |
+
print_r($html_results);
|
121 |
+
print "!!ASLEND!!";
|
122 |
die();
|
123 |
|
124 |
}
|