Skip to content

Commit b52e2d4

Browse files
committed
Initial pagination functionality, pagination example, less stylesheet update
1 parent 0ea1e98 commit b52e2d4

7 files changed

+456
-140
lines changed

dist/css/storelocator.css

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
margin-left: 20px;
1616
width: 875px;
1717
font: normal 12px Arial, Helvetica, sans-serif;
18-
color: #333;
18+
color: #333333;
1919
}
2020
.bh-storelocator-container .bh-storelocator-form-container {
2121
clear: left;
@@ -38,7 +38,7 @@
3838
.bh-storelocator-container .form-input input {
3939
padding: 4px;
4040
line-height: 16px;
41-
border: 1px solid #ccc;
41+
border: 1px solid #cccccc;
4242
}
4343
.bh-storelocator-container #address {
4444
margin: 0 0 0 10px;
@@ -50,7 +50,7 @@
5050
padding: 3px 6px;
5151
background: #ae2118;
5252
border: 1px solid #961f17;
53-
color: #fff;
53+
color: #ffffff;
5454
-webkit-border-radius: 4px;
5555
border-radius: 4px;
5656
}
@@ -103,14 +103,6 @@
103103
.bh-storelocator-container .bh-storelocator-map-container a:active {
104104
text-decoration: underline;
105105
}
106-
.bh-storelocator-container .bh-storelocator-map-container .custom-marker {
107-
width: 32px;
108-
height: 37px;
109-
color: #fff;
110-
background: url(../img/custom-marker.png) no-repeat;
111-
padding: 3px;
112-
cursor: pointer;
113-
}
114106
.bh-storelocator-container .bh-storelocator-loc-list {
115107
float: left;
116108
width: 240px;
@@ -132,7 +124,7 @@
132124
margin: 6px 10px;
133125
cursor: pointer;
134126
width: 200px;
135-
border: 1px solid #fff;
127+
border: 1px solid #ffffff;
136128
/* Adding this to prevent moving li elements when adding the list-focus class*/
137129
}
138130
.bh-storelocator-container .bh-storelocator-loc-list .list-label {
@@ -142,7 +134,7 @@
142134
width: 17px;
143135
text-align: center;
144136
background: #451400;
145-
color: #fff;
137+
color: #ffffff;
146138
font-weight: bold;
147139
}
148140
.bh-storelocator-container .bh-storelocator-loc-list .list-details {
@@ -167,14 +159,36 @@
167159
}
168160
.bh-storelocator-container .loc-name {
169161
/* Picked up by both list and infowindows */
170-
color: #AD2118;
162+
color: #ae2118;
171163
font-weight: bold;
172164
}
173165
.bh-storelocator-container .bh-storelocator-map {
174166
float: left;
175167
width: 635px;
176168
height: 530px;
177169
}
170+
.bh-storelocator-container .bh-storelocator-pagination-container {
171+
clear: both;
172+
}
173+
.bh-storelocator-container .bh-storelocator-pagination-container ol {
174+
list-style-type: none;
175+
text-align: center;
176+
margin: 0;
177+
padding: 10px 0;
178+
}
179+
.bh-storelocator-container .bh-storelocator-pagination-container ol li {
180+
display: inline-block;
181+
padding: 10px;
182+
cursor: pointer;
183+
font: bold 14px Arial, Helvetica, sans-serif;
184+
color: #ae2118;
185+
text-decoration: underline;
186+
}
187+
.bh-storelocator-container .bh-storelocator-pagination-container ol .bh-storelocator-current {
188+
color: #333333;
189+
cursor: auto;
190+
text-decoration: none;
191+
}
178192
/* Modal window */
179193
.bh-storelocator-overlay {
180194
position: fixed;
@@ -194,7 +208,7 @@
194208
width: 920px;
195209
height: 590px;
196210
z-index: 10010;
197-
background: #fff;
211+
background: #ffffff;
198212
border-radius: 10px;
199213
box-shadow: 0 0 10px #656565;
200214
}
@@ -211,7 +225,7 @@
211225
height: 18px;
212226
cursor: pointer;
213227
background: #2c2c2c url(../img/close-icon.png) 3px 3px no-repeat;
214-
border: 1px solid #000;
228+
border: 1px solid #000000;
215229
border-radius: 3px;
216230
box-shadow: 0 0 3px #656565;
217231
}

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)