Skip to content

Commit 1ed149c

Browse files
committed
Added name search functionality and example. changed mapping function arguments to an object, fixed no results functionality,
1 parent 41a776f commit 1ed149c

7 files changed

+393
-205
lines changed

dist/css/storelocator.css

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,15 @@
3636
font-weight: bold;
3737
}
3838
.bh-sl-container .form-input input {
39+
margin: 0 15px 0 10px;
3940
padding: 4px;
4041
line-height: 16px;
4142
border: 1px solid #cccccc;
4243
}
43-
.bh-sl-container #address {
44-
margin: 0 0 0 10px;
45-
}
4644
.bh-sl-container button {
4745
float: left;
4846
cursor: pointer;
49-
margin: 3px 0 0 10px;
47+
margin-top: 3px;
5048
padding: 3px 6px;
5149
background: #ae2118;
5250
border: 1px solid #961f17;
@@ -88,6 +86,18 @@
8886
float: left;
8987
margin: 2px 8px 2px 0;
9088
}
89+
.bh-sl-container .bh-sl-noresults {
90+
clear: left;
91+
float: left;
92+
width: 100%;
93+
padding: 30px 0;
94+
text-align: center;
95+
}
96+
.bh-sl-container .bh-sl-noresults .bh-sl-noresults-title {
97+
font-size: 20px;
98+
font-weight: bold;
99+
color: #ae2118;
100+
}
91101
.bh-sl-container .bh-sl-map-container {
92102
clear: left;
93103
float: left;
@@ -105,14 +115,15 @@
105115
}
106116
.bh-sl-container .bh-sl-loc-list {
107117
float: left;
108-
width: 240px;
118+
width: 30%;
109119
height: 530px;
110-
overflow: auto;
120+
overflow-x: auto;
111121
}
112122
.bh-sl-container .bh-sl-loc-list ul {
113123
display: block;
114124
clear: left;
115125
float: left;
126+
width: 100%;
116127
list-style: none;
117128
margin: 0;
118129
padding: 0;
@@ -121,9 +132,9 @@
121132
display: block;
122133
clear: left;
123134
float: left;
124-
margin: 6px 10px;
135+
margin: 3% 4%;
125136
cursor: pointer;
126-
width: 200px;
137+
width: 92%;
127138
border: 1px solid #ffffff;
128139
/* Adding this to prevent moving li elements when adding the list-focus class*/
129140
}
@@ -173,7 +184,7 @@
173184
}
174185
.bh-sl-container .bh-sl-map {
175186
float: left;
176-
width: 635px;
187+
width: 70%;
177188
height: 530px;
178189
}
179190
.bh-sl-container .bh-sl-pagination-container {

dist/css/storelocator.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)