Skip to content

Commit 09980ef

Browse files
committed
Updated Bootstrap example styling
1 parent d7ef64f commit 09980ef

File tree

9 files changed

+157
-193
lines changed

9 files changed

+157
-193
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = function (grunt) {
107107
},
108108
src : {
109109
files : ['src/**/*'],
110-
tasks : ['less', 'sass', 'concat', 'uglify', 'usebanner', 'cssmin', 'handlebars'],
110+
tasks : ['less', 'sass', 'concat', 'uglify', 'usebanner', 'cssmin'],
111111
options: {
112112
spawn : false,
113113
livereload: true
@@ -134,7 +134,7 @@ module.exports = function (grunt) {
134134
grunt.loadNpmTasks('grunt-contrib-handlebars');
135135

136136
// Build
137-
grunt.registerTask('build', ['less', 'sass', 'concat', 'uglify', 'usebanner', 'cssmin', 'handlebars']);
137+
grunt.registerTask('build', ['less', 'sass', 'concat', 'uglify', 'usebanner', 'cssmin']);
138138

139139
//Watch src build
140140
grunt.registerTask('watchsrc', ['watch:src']);

dist/assets/css/bootstrap-example.css

Lines changed: 63 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@
1515
}
1616
.bh-sl-container {
1717
color: #333333;
18+
/* Avoid image issues with Google Maps and CSS resets */
19+
/* Avoid issues with Google Maps and CSS frameworks */
20+
}
21+
.bh-sl-container img {
22+
max-width: none !important;
23+
border-radius: 0 !important;
24+
box-shadow: none !important;
25+
}
26+
.bh-sl-container > * {
27+
box-sizing: content-box !important;
1828
}
1929
.bh-sl-container .jumbotron {
2030
padding-top: 30px;
@@ -61,7 +71,7 @@
6171
margin-top: 27px;
6272
}
6373
.bh-sl-container .bh-sl-map-container a {
64-
color: #e76737;
74+
color: #005293;
6575
text-decoration: none;
6676
}
6777
.bh-sl-container .bh-sl-map-container a:hover,
@@ -71,6 +81,7 @@
7181
.bh-sl-container .bh-sl-loc-list {
7282
height: 530px;
7383
overflow-x: auto;
84+
font-size: 13px;
7485
}
7586
.bh-sl-container .bh-sl-loc-list ul {
7687
display: block;
@@ -94,13 +105,13 @@
94105
.bh-sl-container .bh-sl-loc-list .list-label {
95106
float: left;
96107
margin: 10px 0 0 6px;
97-
padding: 2px 3px;
98-
width: 10%;
99-
max-width: 25px;
108+
padding: 4px;
109+
width: 29px;
100110
text-align: center;
101-
background: #451400;
111+
background: #00192d;
102112
color: #ffffff;
103113
font-weight: bold;
114+
border-radius: 15px;
104115
}
105116
.bh-sl-container .bh-sl-loc-list .list-details {
106117
float: left;
@@ -116,10 +127,10 @@
116127
color: #8e8e8e;
117128
}
118129
.bh-sl-container .bh-sl-loc-list .list-focus {
119-
border: 1px solid rgba(150, 31, 23, 0.4);
120-
-moz-box-shadow: 0 0 8px rgba(150, 31, 23, 0.4);
121-
-webkit-box-shadow: 0 0 8px rgba(150, 31, 23, 0.4);
122-
box-shadow: 0 0 8px rgba(150, 31, 23, 0.4);
130+
border: 1px solid rgba(0, 82, 147, 0.4);
131+
-moz-box-shadow: 0 0 8px rgba(0, 82, 147, 0.4);
132+
-webkit-box-shadow: 0 0 8px rgba(0, 82, 147, 0.4);
133+
box-shadow: 0 0 8px rgba(0, 100, 180, 0.4);
123134
transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
124135
}
125136
.bh-sl-container .bh-sl-loc-list .bh-sl-close-directions-container {
@@ -133,11 +144,10 @@
133144
}
134145
.bh-sl-container .bh-sl-loc-list .bh-sl-noresults-title {
135146
font-weight: bold;
136-
color: #ae2118;
137147
}
138148
.bh-sl-container .loc-name {
139149
/* Picked up by both list and infowindows */
140-
color: #ae2118;
150+
font-size: 15px;
141151
font-weight: bold;
142152
}
143153
.bh-sl-container .bh-sl-map {
@@ -157,8 +167,7 @@
157167
padding: 10px;
158168
cursor: pointer;
159169
font: bold 14px Arial, Helvetica, sans-serif;
160-
color: #ae2118;
161-
text-decoration: underline;
170+
color: #005293;
162171
}
163172
.bh-sl-container .bh-sl-pagination-container ol .bh-sl-current {
164173
color: #333333;
@@ -168,8 +177,8 @@
168177
/* Modal window */
169178
.bh-sl-overlay {
170179
position: fixed;
171-
left: 0px;
172-
top: 0px;
180+
left: 0;
181+
top: 0;
173182
width: 100%;
174183
height: 100%;
175184
z-index: 10000;
@@ -182,28 +191,58 @@
182191
/* width divided by 2 */
183192
margin-top: 60px;
184193
width: 920px;
185-
height: 590px;
194+
height: 620px;
186195
z-index: 10010;
187196
background: #ffffff;
188197
border-radius: 10px;
189198
box-shadow: 0 0 10px #656565;
190199
}
200+
.bh-sl-overlay .bh-sl-modal-window .bh-sl-map-container {
201+
margin-top: 50px;
202+
/* increase map container margin */
203+
}
191204
.bh-sl-overlay .bh-sl-modal-window .bh-sl-modal-content {
192205
float: left;
193206
padding: 0 22px;
194207
/* there's already a margin on the top of the map-container div */
195208
}
196209
.bh-sl-overlay .bh-sl-modal-window .bh-sl-close-icon {
197-
top: -6px;
198-
right: -6px;
210+
top: 13px;
211+
right: 22px;
199212
}
200213
.bh-sl-close-icon {
201214
position: absolute;
202-
width: 18px;
203-
height: 18px;
204215
cursor: pointer;
205-
background: #2c2c2c url(../img/close-icon.png) 3px 3px no-repeat;
206-
border: 1px solid #000000;
207-
border-radius: 3px;
208-
box-shadow: 0 0 3px #656565;
216+
height: 24px;
217+
width: 24px;
218+
}
219+
.bh-sl-close-icon:after,
220+
.bh-sl-close-icon:before {
221+
position: absolute;
222+
top: 3px;
223+
right: 3px;
224+
bottom: 0;
225+
left: 50%;
226+
background: #cccccc;
227+
content: '';
228+
display: block;
229+
height: 24px;
230+
margin: -3px 0 0 -1px;
231+
width: 3px;
232+
-webkit-transform: rotate(45deg);
233+
-moz-transform: rotate(45deg);
234+
-ms-transform: rotate(45deg);
235+
-o-transform: rotate(45deg);
236+
transform: rotate(45deg);
237+
}
238+
.bh-sl-close-icon:hover:after,
239+
.bh-sl-close-icon:hover:before {
240+
background: #b3b3b3;
241+
}
242+
.bh-sl-close-icon:before {
243+
-webkit-transform: rotate(-45deg);
244+
-moz-transform: rotate(-45deg);
245+
-ms-transform: rotate(-45deg);
246+
-o-transform: rotate(-45deg);
247+
transform: rotate(-45deg);
209248
}

dist/assets/css/bootstrap-example.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.

dist/assets/css/storelocator.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@
2222
margin-left: 20px;
2323
width: 875px;
2424
font: normal 14px/20px Arial, Helvetica, sans-serif;
25-
color: #555555; }
25+
color: #555555;
26+
/* Avoid image issues with Google Maps and CSS resets */
27+
/* Avoid issues with Google Maps and CSS frameworks */ }
28+
.bh-sl-container img {
29+
max-width: none !important;
30+
border-radius: 0 !important;
31+
box-shadow: none !important; }
32+
.bh-sl-container > * {
33+
box-sizing: content-box !important; }
2634
.bh-sl-container .bh-sl-form-container {
2735
clear: left;
2836
float: left;

0 commit comments

Comments
 (0)