Skip to content

Commit 35d6154

Browse files
committed
(feat) - require handlebars, jquery and jquery-ui from node_modules
remove existing files
1 parent 1105aea commit 35d6154

File tree

9 files changed

+691
-12425
lines changed

9 files changed

+691
-12425
lines changed

demo/css/jquery.ui.slider.css

Lines changed: 0 additions & 74 deletions
This file was deleted.

demo/css/jquery.ui.theme.css

Lines changed: 0 additions & 54 deletions
This file was deleted.

demo/css/style.css

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ h1{
2121
}
2222

2323
h2{
24-
font-size:22px;
24+
font-size:22px;
2525
}
2626

2727
h3{
@@ -50,7 +50,7 @@ h6{
5050
src : url(../fonts/HelveticaNeue.otf);
5151
}
5252

53-
body{
53+
body{
5454
background: #ffffff;
5555
font-family: proxima-nova,Arial, sans-serif;
5656
font-size:12px;
@@ -436,6 +436,60 @@ input,textarea,select {
436436
margin-right: 5px;
437437
}
438438
/* search ends here*/
439+
.ui-widget-content {
440+
height: 10px;
441+
background: #54c5cf;
442+
border-radius:5px;
443+
color: #222222/*{fcContent}*/;
444+
cursor: pointer;
445+
}
446+
447+
.ui-widget-header {
448+
background: #d1d5d7;
449+
border-radius:5px;
450+
cursor: pointer;
451+
}
452+
453+
454+
/* Interaction states
455+
----------------------------------*/
456+
.ui-state-default,
457+
.ui-widget-content .ui-state-default,
458+
.ui-widget-header .ui-state-default {
459+
-webkit-border-radius: 10px;
460+
-moz-border-radius: 10px;
461+
border-radius: 20px;
462+
background: #54c5cf;
463+
border: 4px solid #fff;
464+
width: 20px;
465+
height: 20px;
466+
margin-top: 0px;
467+
outline:0;
468+
padding-left:1px;
469+
cursor: pointer;
470+
}
471+
472+
.slider-range-max {
473+
float: none !important;
474+
margin-left:auto;
475+
margin-right: auto;
476+
}
477+
.amount {
478+
border:0;
479+
outline:0;
480+
color:#1a1c1c;
481+
background-color:#e8eeef;
482+
margin-top: 10px;
483+
width:67px;
484+
text-align: right;
485+
font-family: Helvetica; font-size: 13px;
486+
}
487+
488+
.amount-text {
489+
font-weight: normal;
490+
font-family: Helvetica; font-size: 13px;
491+
margin-left:2px;
492+
}
439493

440494
.ui-widget-header {
441495
background-color: #45b5c1 !important;
@@ -446,6 +500,10 @@ background-color: #45b5c1 !important;
446500
background-color: #d1d5d7 !important;
447501
}
448502

503+
.ui-slider {
504+
width: 200px;
505+
}
506+
449507
.ui-slider-horizontal .ui-slider-handle {
450508
top: -0.5em !important;
451509
margin-left: -.6em;
@@ -468,4 +526,4 @@ margin-left: -.6em;
468526
color: #ffffff;
469527
background-color: rgb(60, 67, 69);
470528
}
471-
/* footer ends here */
529+
/* footer ends here */

demo/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<head>
33
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
44
<title>UNBXD - Search</title>
5-
<link rel="stylesheet" type="text/css" href="css/jquery.ui.theme.css">
6-
<link rel="stylesheet" type="text/css" href="css/jquery.ui.slider.css">
5+
<link rel="stylesheet" type="text/css" href="../node_modules/jquery-ui/themes/base/jquery.ui.theme.css">
6+
<link rel="stylesheet" type="text/css" href="../node_modules/jquery-ui/themes/base/jquery.ui.slider.css">
77
<link rel="stylesheet" type="text/css" href="css/style.css">
88

9-
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
9+
<script type="text/javascript" src="../node_modules/jquery/jquery.js"></script>
1010
<script type="text/javascript" src="js/jquery.ui.widget.js"></script>
1111
<script type="text/javascript" src="js/jquery.ui.mouse.js"></script>
1212
<script type="text/javascript" src="js/jquery.ui.slider.js"></script>
13-
<script type="text/javascript" src="js/handlebars.js"></script>
13+
<script type="text/javascript" src="../node_modules/handlebars/dist/handlebars.js"></script>
1414
<script type="text/javascript" src="../unbxdSearch.js"></script>
1515
</head>
1616
<body>
@@ -58,15 +58,15 @@ <h3 class="result-title-count" id="search_title">
5858
Copyright &copy; 2014 Unbxd
5959
</div>
6060
<script type="text/javascript">
61-
61+
6262
//search configuration here
6363
window.searchobj = new Unbxd.setSearch({
6464
// siteName: 'allianceonline_co_uk-u1423569528226',
6565
// APIKey: 'f2ada89f21e1345bc660786663fb1a09'
6666
// siteName: 'demosite-u1407617955968',
6767
// APIKey: '64a4a2592a648ac8415e13c561e44991'
68-
siteName : '2modern_com-u1435315921404'
69-
,APIKey : '2880cec60e264bc9b342a379666d4439'
68+
siteName : '2modern_com-u1435315921404'
69+
,APIKey : '2880cec60e264bc9b342a379666d4439'
7070
,type : 'search'
7171
,getCategoryId : ''
7272
,inputSelector : '#search_input'
@@ -241,7 +241,7 @@ <h3 class="result-title-count" id="search_title">
241241
,sortContainerSelector: '.result-sort-options'
242242
,pageSizeContainerSelector: '.result-page-size-options'
243243
});
244-
244+
245245
</script>
246246
</body>
247247
</html>

0 commit comments

Comments
 (0)