breezeblocks 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +7 -1
- data/Rakefile +1 -1
- data/lib/breezeblocks/version.rb +1 -1
- data/source/_video.html.haml +1 -1
- data/source/index.html.haml +131 -127
- data/source/javascripts/maps_preview.js +52 -0
- data/source/layouts/layout.haml +3 -96
- data/source/stylesheets/{all.sass → all.css.sass} +4 -17
- data/source/stylesheets/breezeblocks-styles.css.sass +27 -0
- data/source/stylesheets/breezeblocks/_accordion-tabs-minimal.sass +1 -1
- data/source/stylesheets/breezeblocks/_accordion-tabs.sass +1 -1
- data/source/stylesheets/breezeblocks/_animate-info.sass +1 -1
- data/source/stylesheets/breezeblocks/_animate.sass +1 -1
- data/source/stylesheets/breezeblocks/_breadcrumbs.sass +1 -1
- data/source/stylesheets/breezeblocks/_button-group.sass +1 -1
- data/source/stylesheets/breezeblocks/_cards.sass +1 -1
- data/source/stylesheets/breezeblocks/_comment.sass +1 -1
- data/source/stylesheets/breezeblocks/_expander.sass +1 -1
- data/source/stylesheets/breezeblocks/_footer-2.sass +1 -1
- data/source/stylesheets/breezeblocks/_footer.sass +1 -1
- data/source/stylesheets/breezeblocks/_grid-items.sass +1 -1
- data/source/stylesheets/breezeblocks/_hero.sass +1 -1
- data/source/stylesheets/breezeblocks/_icon-bullet-points.sass +1 -1
- data/source/stylesheets/breezeblocks/_modal.sass +1 -1
- data/source/stylesheets/breezeblocks/_navigation.sass +1 -1
- data/source/stylesheets/breezeblocks/_pagination.sass +1 -1
- data/source/stylesheets/breezeblocks/_progress-bar-indication.sass +1 -1
- data/source/stylesheets/breezeblocks/_progress-bar.sass +1 -1
- data/source/stylesheets/breezeblocks/_ribbon.sass +1 -1
- data/source/stylesheets/breezeblocks/_scroll-on-page.sass +1 -1
- data/source/stylesheets/breezeblocks/_search-bar.sass +1 -1
- data/source/stylesheets/breezeblocks/_search-tools.sass +1 -1
- data/source/stylesheets/breezeblocks/_side-image.sass +1 -1
- data/source/stylesheets/breezeblocks/_sliding-menu.sass +2 -2
- data/source/stylesheets/breezeblocks/_stats.sass +1 -1
- data/source/stylesheets/breezeblocks/_switch.sass +1 -1
- data/source/stylesheets/breezeblocks/_tables-minimal.sass +1 -1
- data/source/stylesheets/breezeblocks/_tables.sass +1 -1
- data/source/stylesheets/breezeblocks/_vertical-tabs.sass +1 -1
- metadata +5 -9
- data/source/_maps.html.haml +0 -70
- data/source/components.html.haml +0 -162
- data/source/refills-hero.html.haml +0 -15
- data/source/refills-menu.html.haml +0 -4
- data/source/refills-page-scripts.html.haml +0 -65
- data/source/type-systems.html.haml +0 -54
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e4125f3059eecb6245eecd217ccb55693b2cfa8
|
|
4
|
+
data.tar.gz: 10e159db77697aa5fc9e02f359bf81610d1057d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e93728691990e0244ee8af9914061768aad5941931cb409018d957da7090f11699833458e3ca24eb3e34974a9d8ca3c49cafff8a48da53d1de75afe32d5dc32e
|
|
7
|
+
data.tar.gz: 8d6e067beb7c5de18067c04c123147a4d875453ecb10c72cc99226488ab54888fa127ff387f67870569f6a22d0eed66fb38a06ddeb63476bf73b1b9961f4a7e0
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
## Prepackaged patterns and components built with Bourbon and Neat, based on Refills
|
|
6
6
|
|
|
7
|
+
Demo here: [http://gazaston.github.io/breezeblocks](http://gazaston.github.io/breezeblocks)
|
|
8
|
+
|
|
7
9
|
## Requirements
|
|
8
10
|
|
|
9
11
|
- [Sass](https://github.com/sass/sass) 3.3+
|
|
@@ -48,12 +50,16 @@
|
|
|
48
50
|
|
|
49
51
|
## Contributing
|
|
50
52
|
|
|
51
|
-
If you want to improve or add a snippet, please do so via pull request. If you rename/remove/add any files to the repository, please make sure that the build reflects that change. Add your changed file to the `SNIPPETS` constant in the [test][spec_file] to have it tested.
|
|
53
|
+
If you want to improve or add a snippet, please do so via pull request. If you rename/remove/add any files to the repository, please make sure that the build reflects that change. Add your changed file to the `SNIPPETS` constant in the [test][spec_file] to have it tested. And make sure you add it to source/index so it can be previewed!
|
|
52
54
|
|
|
53
55
|
[spec_file]: https://github.com/thoughtbot/breezeblocks/blob/master/spec/breezeblocks/import_generator_spec.rb
|
|
54
56
|
|
|
55
57
|
Run `rake` to start the spec tests.
|
|
56
58
|
|
|
59
|
+
## GH Pages
|
|
60
|
+
|
|
61
|
+
Uses middleman with [middleman-gh-pages](https://github.com/neo/middleman-gh-pages) for GitHub Pages generation. Run `rake publish` to build and deploy changes.
|
|
62
|
+
|
|
57
63
|
## Credits
|
|
58
64
|
|
|
59
65
|
Breezeblocks owes everything to Refills, which is maintained and funded by [thoughtbot, inc](http://thoughtbot.com).
|
data/Rakefile
CHANGED
data/lib/breezeblocks/version.rb
CHANGED
data/source/_video.html.haml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
.video
|
|
2
2
|
.video-wrapper
|
|
3
|
-
%iframe{allowfullscreen: "", frameborder: "0", src: "http://www.youtube.com/embed/
|
|
3
|
+
%iframe{allowfullscreen: "", frameborder: "0", src: "http://www.youtube.com/embed/xS3qabIsAIo?showinfo=0&iv_load_policy=3&controls=0"}
|
data/source/index.html.haml
CHANGED
|
@@ -1,127 +1,131 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
=
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
=
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
=
|
|
44
|
-
.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
=
|
|
50
|
-
.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
=
|
|
111
|
-
.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
=
|
|
117
|
-
.
|
|
118
|
-
|
|
119
|
-
=
|
|
120
|
-
.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
=
|
|
126
|
-
.
|
|
127
|
-
|
|
1
|
+
%section.breezeblocks
|
|
2
|
+
.content
|
|
3
|
+
.wrapper
|
|
4
|
+
.container.intro
|
|
5
|
+
%h1 Breezeblocks
|
|
6
|
+
%a{href: "https://github.com/gazaston/breezeblocks"} Instructions for use on GitHub
|
|
7
|
+
%section
|
|
8
|
+
%h2 Hero
|
|
9
|
+
=partial 'hero'
|
|
10
|
+
%section
|
|
11
|
+
%h2 Flashes
|
|
12
|
+
=partial 'flashes'
|
|
13
|
+
%section
|
|
14
|
+
%h2 Parallax
|
|
15
|
+
=partial 'parallax'
|
|
16
|
+
%section
|
|
17
|
+
%h2 Centered Nav
|
|
18
|
+
=partial 'centered_navigation'
|
|
19
|
+
%section
|
|
20
|
+
%h2 Footer
|
|
21
|
+
=partial 'footer'
|
|
22
|
+
%section
|
|
23
|
+
%h2 Small Footer
|
|
24
|
+
=partial 'footer_2'
|
|
25
|
+
%section
|
|
26
|
+
%h2 Navigation
|
|
27
|
+
=partial 'navigation'
|
|
28
|
+
|
|
29
|
+
%section.container
|
|
30
|
+
%h2 Accordion Tabs
|
|
31
|
+
=partial 'accordion_tabs'
|
|
32
|
+
%section.container
|
|
33
|
+
%h2 Accordion Tabs (minimal)
|
|
34
|
+
=partial 'accordion_tabs_minimal'
|
|
35
|
+
%section.container
|
|
36
|
+
%h2 Cards
|
|
37
|
+
=partial 'cards'
|
|
38
|
+
%section.container
|
|
39
|
+
%h2 Comments
|
|
40
|
+
=partial 'comment'
|
|
41
|
+
%section.container
|
|
42
|
+
%h2 Grid Items
|
|
43
|
+
=partial 'grid_items'
|
|
44
|
+
%section.container
|
|
45
|
+
%h2 Grid Items (lines)
|
|
46
|
+
=partial 'grid_items_lines'
|
|
47
|
+
%section.container
|
|
48
|
+
%h2 Icon Bullet Points
|
|
49
|
+
=partial 'icon_bullet_points'
|
|
50
|
+
%section.container
|
|
51
|
+
%h2 Scroll on page
|
|
52
|
+
=partial 'scroll_on_page'
|
|
53
|
+
%section.container
|
|
54
|
+
%h2 Search Tools
|
|
55
|
+
=partial 'search_tools'
|
|
56
|
+
%section.container
|
|
57
|
+
%h2 Side Image
|
|
58
|
+
=partial 'side_image'
|
|
59
|
+
%section.container
|
|
60
|
+
%h2 Tables
|
|
61
|
+
=partial 'tables'
|
|
62
|
+
%section.container
|
|
63
|
+
%h2 Tables Minimal
|
|
64
|
+
=partial 'tables_minimal'
|
|
65
|
+
%section.container
|
|
66
|
+
%h2 Vertical Tabs
|
|
67
|
+
=partial 'vertical_tabs'
|
|
68
|
+
|
|
69
|
+
%section.container
|
|
70
|
+
%h2 Accordion
|
|
71
|
+
=partial 'accordion'
|
|
72
|
+
%section.container
|
|
73
|
+
%h2 Animate
|
|
74
|
+
=partial 'animate'
|
|
75
|
+
=partial 'animate_info'
|
|
76
|
+
%section.container
|
|
77
|
+
%h2 Badges
|
|
78
|
+
=partial 'badges'
|
|
79
|
+
%section.container
|
|
80
|
+
%h2 Breadcrumbs
|
|
81
|
+
=partial 'breadcrumbs'
|
|
82
|
+
%section.container
|
|
83
|
+
%h2 Button Group
|
|
84
|
+
=partial 'button_group'
|
|
85
|
+
%section.container
|
|
86
|
+
%h2 Dropdown
|
|
87
|
+
=partial 'dropdown'
|
|
88
|
+
%section.container
|
|
89
|
+
%h2 Expander
|
|
90
|
+
=partial 'expander'
|
|
91
|
+
%section.container
|
|
92
|
+
%h2 Fade In
|
|
93
|
+
=partial 'fade_in'
|
|
94
|
+
%section.container
|
|
95
|
+
%h2 Hover Tile Animation
|
|
96
|
+
=partial 'hover_tile_animation'
|
|
97
|
+
%section.container
|
|
98
|
+
%h2 Image Gradient (dynamic)
|
|
99
|
+
=partial 'image_gradient_dynamic'
|
|
100
|
+
%section.container
|
|
101
|
+
%h2 Modal
|
|
102
|
+
=partial 'modal'
|
|
103
|
+
%section.container
|
|
104
|
+
%h2 Pagination
|
|
105
|
+
=partial 'pagination'
|
|
106
|
+
%section.container
|
|
107
|
+
%h2 Progress Bar
|
|
108
|
+
=partial 'progress_bar'
|
|
109
|
+
%section.container
|
|
110
|
+
=partial 'progress_bar_indication'
|
|
111
|
+
%section.container
|
|
112
|
+
%h2 Ribbon
|
|
113
|
+
=partial 'ribbon'
|
|
114
|
+
%section.container
|
|
115
|
+
%h2 Search Bar
|
|
116
|
+
=partial 'search_bar'
|
|
117
|
+
%section.container
|
|
118
|
+
%h2 Sliding Menu
|
|
119
|
+
=partial 'sliding_menu'
|
|
120
|
+
%section.container
|
|
121
|
+
%h2 Switch
|
|
122
|
+
=partial 'switch'
|
|
123
|
+
%section.container
|
|
124
|
+
%h2 Stats
|
|
125
|
+
=partial 'stats'
|
|
126
|
+
%section.container
|
|
127
|
+
%h2 Tooltip
|
|
128
|
+
=partial 'tooltip'
|
|
129
|
+
%section.container
|
|
130
|
+
%h2 Responsive Video
|
|
131
|
+
=partial 'video'
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var bittersMap = (function () {
|
|
2
|
+
var myLatlng = new google.maps.LatLng(59.342457, 18.057340),
|
|
3
|
+
mapCenter = new google.maps.LatLng(59.340458, 18.057340),
|
|
4
|
+
mapCanvas = document.getElementById('map_canvas'),
|
|
5
|
+
mapOptions = {
|
|
6
|
+
center: mapCenter,
|
|
7
|
+
zoom: 13,
|
|
8
|
+
scrollwheel: false,
|
|
9
|
+
draggable: true,
|
|
10
|
+
disableDefaultUI: true,
|
|
11
|
+
mapTypeId: google.maps.MapTypeId.ROADMAP
|
|
12
|
+
},
|
|
13
|
+
map = new google.maps.Map(mapCanvas, mapOptions),
|
|
14
|
+
contentString =
|
|
15
|
+
'<div id="content">'+
|
|
16
|
+
'<div id="siteNotice">'+
|
|
17
|
+
'</div>'+
|
|
18
|
+
'<h1 id="firstHeading" class="firstHeading">thoughtbot</h1>'+
|
|
19
|
+
'<div id="bodyContent"'+
|
|
20
|
+
'<p>Sveavägen 98</p>'+
|
|
21
|
+
'</div>'+
|
|
22
|
+
'</div>',
|
|
23
|
+
infowindow = new google.maps.InfoWindow({
|
|
24
|
+
content: contentString,
|
|
25
|
+
maxWidth: 300
|
|
26
|
+
}),
|
|
27
|
+
marker = new google.maps.Marker({
|
|
28
|
+
position: myLatlng,
|
|
29
|
+
map: map,
|
|
30
|
+
title: 'thoughtbot (Sweden)'
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
init: function () {
|
|
35
|
+
map.set('styles', [{
|
|
36
|
+
featureType: 'landscape',
|
|
37
|
+
elementType: 'geometry',
|
|
38
|
+
stylers: [
|
|
39
|
+
{ hue: '#ffff00' },
|
|
40
|
+
{ saturation: 30 },
|
|
41
|
+
{ lightness: 10}
|
|
42
|
+
]}
|
|
43
|
+
]);
|
|
44
|
+
|
|
45
|
+
google.maps.event.addListener(marker, 'click', function () {
|
|
46
|
+
infowindow.open(map,marker);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}());
|
|
51
|
+
|
|
52
|
+
bittersMap.init();
|
data/source/layouts/layout.haml
CHANGED
|
@@ -6,103 +6,10 @@
|
|
|
6
6
|
%meta{content: "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
|
|
7
7
|
%meta{content: "width=device-width,initial-scale=1", name: "viewport"}/
|
|
8
8
|
%meta{content: "Breezeblocks are prepackaged patterns and components built with Bourbon, Neat and Bitters.", name: "description"}/
|
|
9
|
-
%title
|
|
10
|
-
Breezeblocks#{" - #{ current_page.data.title}" if current_page.data.title}
|
|
11
|
-
%link{href: "//fonts.googleapis.com/css?family=Oswald:400,300,700|Lusitana:400,700|Open+Sans:400,800", rel: "stylesheet"}/
|
|
9
|
+
%title Breezeblocks
|
|
12
10
|
= stylesheet_link_tag "all"
|
|
13
11
|
%script{src: "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"}
|
|
14
|
-
%script{src: "/javascripts/jquery.erToc.js"}
|
|
15
|
-
:javascript
|
|
16
|
-
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.0.1";
|
|
17
|
-
analytics.load("zqKH1nPNSA5uCwV1XiBz3LvGfPH6Muq9");
|
|
18
|
-
analytics.page()
|
|
19
|
-
}}();
|
|
20
|
-
%body{class: page_classes}
|
|
21
|
-
%nav.bourbon
|
|
22
|
-
%ul
|
|
23
|
-
%li
|
|
24
|
-
%a.bourbon{href: "//bourbon.io"} Bourbon
|
|
25
|
-
%li
|
|
26
|
-
%a.neat{href: "//neat.bourbon.io"} Neat
|
|
27
|
-
%li
|
|
28
|
-
%a.bitters{href: "//bitters.bourbon.io"} Bitters
|
|
29
|
-
%li
|
|
30
|
-
%a.breezeblocks.current{href: "//breezeblocks.bourbon.io"} Breezeblocks
|
|
31
|
-
%h1
|
|
32
|
-
Maintained by the design team at
|
|
33
|
-
%a{href: "//thoughtbot.com"} thoughtbot
|
|
34
|
-
%section.container
|
|
35
|
-
%section.inner-content
|
|
36
|
-
= yield
|
|
37
|
-
%footer.breezeblocks-footer
|
|
38
|
-
%ul.footer-links
|
|
39
|
-
%li= link_to 'Patterns', '/index.html'
|
|
40
|
-
%li= link_to 'Components', '/components.html'
|
|
41
|
-
%li= link_to 'Type Systems', '/type-systems.html'
|
|
42
|
-
.breezeblocks-footer-logo
|
|
43
|
-
%img{alt: "thoughtbot Ralph logo mark", src: "/images/ralph-gray.png"}/
|
|
44
|
-
%p
|
|
45
|
-
Breezeblocks is maintained and funded by
|
|
46
|
-
= succeed "." do
|
|
47
|
-
%a{href: "//thoughtbot.com"} thoughtbot, inc
|
|
48
|
-
%p
|
|
49
|
-
Copyright © 2014–2015
|
|
50
|
-
= succeed "." do
|
|
51
|
-
%a{href: "//thoughtbot.com"} thoughtbot, inc
|
|
52
|
-
= succeed "." do
|
|
53
|
-
%a{href: "//github.com/thoughtbot/breezeblocks/blob/master/LICENSE.md"} license
|
|
54
|
-
%script{src: "https://maps.googleapis.com/maps/api/js"}
|
|
55
|
-
:javascript
|
|
56
|
-
var bittersMap = (function () {
|
|
57
|
-
var myLatlng = new google.maps.LatLng(59.342457, 18.057340),
|
|
58
|
-
mapCenter = new google.maps.LatLng(59.340458, 18.057340),
|
|
59
|
-
mapCanvas = document.getElementById('map_canvas'),
|
|
60
|
-
mapOptions = {
|
|
61
|
-
center: mapCenter,
|
|
62
|
-
zoom: 13,
|
|
63
|
-
scrollwheel: false,
|
|
64
|
-
draggable: true,
|
|
65
|
-
disableDefaultUI: true,
|
|
66
|
-
mapTypeId: google.maps.MapTypeId.ROADMAP
|
|
67
|
-
},
|
|
68
|
-
map = new google.maps.Map(mapCanvas, mapOptions),
|
|
69
|
-
contentString =
|
|
70
|
-
'<div id="content">'+
|
|
71
|
-
'<div id="siteNotice">'+
|
|
72
|
-
'</div>'+
|
|
73
|
-
'<h1 id="firstHeading" class="firstHeading">thoughtbot</h1>'+
|
|
74
|
-
'<div id="bodyContent"'+
|
|
75
|
-
'<p>Sveavägen 98</p>'+
|
|
76
|
-
'</div>'+
|
|
77
|
-
'</div>',
|
|
78
|
-
infowindow = new google.maps.InfoWindow({
|
|
79
|
-
content: contentString,
|
|
80
|
-
maxWidth: 300
|
|
81
|
-
}),
|
|
82
|
-
marker = new google.maps.Marker({
|
|
83
|
-
position: myLatlng,
|
|
84
|
-
map: map,
|
|
85
|
-
title: 'thoughtbot (Sweden)'
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
init: function () {
|
|
90
|
-
map.set('styles', [{
|
|
91
|
-
featureType: 'landscape',
|
|
92
|
-
elementType: 'geometry',
|
|
93
|
-
stylers: [
|
|
94
|
-
{ hue: '#ffff00' },
|
|
95
|
-
{ saturation: 30 },
|
|
96
|
-
{ lightness: 10}
|
|
97
|
-
]}
|
|
98
|
-
]);
|
|
99
12
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
}());
|
|
106
|
-
|
|
107
|
-
bittersMap.init();
|
|
13
|
+
%body{class: page_classes}
|
|
14
|
+
= yield
|
|
108
15
|
= javascript_include_tag "all"
|