staple 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/Gemfile +13 -0
- data/LICENSE.md +23 -0
- data/README.md +51 -0
- data/Rakefile +0 -0
- data/config.rb +24 -0
- data/lib/snippet_helpers.rb +69 -0
- data/lib/staple/import_generator.rb +50 -0
- data/lib/staple/list_generator.rb +22 -0
- data/lib/staple.rb +2 -0
- data/source/CNAME +1 -0
- data/source/_accordion.html.erb +24 -0
- data/source/_accordion_tabs.html.erb +26 -0
- data/source/_accordion_tabs_minimal.html.erb +26 -0
- data/source/_badges.html.erb +7 -0
- data/source/_breadcrumbs.html.erb +7 -0
- data/source/_browser.html.erb +29 -0
- data/source/_button_group.html.erb +18 -0
- data/source/_cards.html.erb +59 -0
- data/source/_centered_navigation.html.erb +38 -0
- data/source/_code.html.erb +10 -0
- data/source/_comment.html.erb +21 -0
- data/source/_device.html.erb +10 -0
- data/source/_dropdown.html.erb +12 -0
- data/source/_expander.html.erb +6 -0
- data/source/_flashes.html.erb +15 -0
- data/source/_footer.html.erb +28 -0
- data/source/_footer_2.html.erb +33 -0
- data/source/_grid_items.html.erb +37 -0
- data/source/_grid_items_lines.html.erb +44 -0
- data/source/_hero.html.erb +11 -0
- data/source/_hover_tile_animation.html.erb +11 -0
- data/source/_icon_bullet_points.html.erb +30 -0
- data/source/_image_gradient_dynamic.html.erb +7 -0
- data/source/_intro_text.html.erb +6 -0
- data/source/_label_alerts.html.erb +5 -0
- data/source/_modal.html.erb +14 -0
- data/source/_navigation.html.erb +44 -0
- data/source/_pagination.html.erb +17 -0
- data/source/_progress_bar.html.erb +3 -0
- data/source/_progress_bar_indication.html.erb +5 -0
- data/source/_search_bar.html.erb +8 -0
- data/source/_search_tools.html.erb +58 -0
- data/source/_side_image.html.erb +10 -0
- data/source/_sliding_menu.html.erb +13 -0
- data/source/_snippet.html.erb +4 -0
- data/source/_switch.html.erb +4 -0
- data/source/_tables.html.erb +31 -0
- data/source/_tables_minimal.html.erb +31 -0
- data/source/_texture-legend.html.erb +24 -0
- data/source/_textures.html.erb +4 -0
- data/source/_tooltip.html.erb +6 -0
- data/source/_type_system_geometric.html.erb +18 -0
- data/source/_type_system_rounded.html.erb +18 -0
- data/source/_type_system_sans.html.erb +18 -0
- data/source/_type_system_serif.html.erb +19 -0
- data/source/_type_system_slab.html.erb +18 -0
- data/source/_type_system_traditional.html.erb +18 -0
- data/source/_vertical_tabs.html.erb +30 -0
- data/source/_video.html.erb +5 -0
- data/source/components.html.erb +174 -0
- data/source/index.html.erb +162 -0
- data/source/javascripts/all.js +11 -0
- data/source/javascripts/jquery.erToc.js +477 -0
- data/source/javascripts/jquery.glide.js +941 -0
- data/source/javascripts/staple/accordion.js +5 -0
- data/source/javascripts/staple/accordion_tabs.js +19 -0
- data/source/javascripts/staple/accordion_tabs_minimal.js +19 -0
- data/source/javascripts/staple/centered_navigation.js +14 -0
- data/source/javascripts/staple/dropdown.js +9 -0
- data/source/javascripts/staple/expander.js +53 -0
- data/source/javascripts/staple/navigation.js +23 -0
- data/source/javascripts/staple/search_tools.js +110 -0
- data/source/javascripts/staple/sliding_menu.js +13 -0
- data/source/javascripts/staple/vertical_tabs.js +32 -0
- data/source/layouts/layout.erb +1 -0
- data/source/refills-hero.html.erb +7 -0
- data/source/refills-menu.html.erb +5 -0
- data/source/refills-page-scripts.html.erb +66 -0
- data/source/stylesheets/_bourbon-nav.scss +86 -0
- data/source/stylesheets/_normalize.scss +425 -0
- data/source/stylesheets/_refills-nav.scss +102 -0
- data/source/stylesheets/_refills-styles.scss +543 -0
- data/source/stylesheets/all.scss +61 -0
- data/source/stylesheets/staple/_accordion-tabs-minimal.scss +60 -0
- data/source/stylesheets/staple/_accordion-tabs.scss +88 -0
- data/source/stylesheets/staple/_accordion.scss +55 -0
- data/source/stylesheets/staple/_badges.scss +44 -0
- data/source/stylesheets/staple/_breadcrumbs.scss +84 -0
- data/source/stylesheets/staple/_browser.scss +141 -0
- data/source/stylesheets/staple/_button-group.scss +81 -0
- data/source/stylesheets/staple/_cards.scss +132 -0
- data/source/stylesheets/staple/_centered-navigation.scss +251 -0
- data/source/stylesheets/staple/_comment.scss +60 -0
- data/source/stylesheets/staple/_device.scss +83 -0
- data/source/stylesheets/staple/_dropdown.scss +127 -0
- data/source/stylesheets/staple/_expander.scss +30 -0
- data/source/stylesheets/staple/_flashes.scss +29 -0
- data/source/stylesheets/staple/_footer-2.scss +117 -0
- data/source/stylesheets/staple/_footer.scss +76 -0
- data/source/stylesheets/staple/_grid-items-lines.scss +86 -0
- data/source/stylesheets/staple/_grid-items.scss +97 -0
- data/source/stylesheets/staple/_hero.scss +54 -0
- data/source/stylesheets/staple/_hover-tile-animation.scss +52 -0
- data/source/stylesheets/staple/_icon-bullet-points.scss +63 -0
- data/source/stylesheets/staple/_image-gradient-dynamic.scss +59 -0
- data/source/stylesheets/staple/_intro-text.scss +67 -0
- data/source/stylesheets/staple/_label-alerts.scss +11 -0
- data/source/stylesheets/staple/_modal.scss +147 -0
- data/source/stylesheets/staple/_navigation.scss +329 -0
- data/source/stylesheets/staple/_pagination.scss +51 -0
- data/source/stylesheets/staple/_progress-bar-indication.scss +39 -0
- data/source/stylesheets/staple/_progress-bar.scss +83 -0
- data/source/stylesheets/staple/_search-bar.scss +40 -0
- data/source/stylesheets/staple/_search-tools.scss +67 -0
- data/source/stylesheets/staple/_side-image.scss +59 -0
- data/source/stylesheets/staple/_sliding-menu.scss +63 -0
- data/source/stylesheets/staple/_switch.scss +77 -0
- data/source/stylesheets/staple/_tables-minimal.scss +60 -0
- data/source/stylesheets/staple/_tables.scss +88 -0
- data/source/stylesheets/staple/_texture-legend.scss +182 -0
- data/source/stylesheets/staple/_textures.scss +119 -0
- data/source/stylesheets/staple/_tooltip.scss +57 -0
- data/source/stylesheets/staple/_type-system-geometric.scss +103 -0
- data/source/stylesheets/staple/_type-system-rounded.scss +107 -0
- data/source/stylesheets/staple/_type-system-sans.scss +110 -0
- data/source/stylesheets/staple/_type-system-serif.scss +111 -0
- data/source/stylesheets/staple/_type-system-slab.scss +107 -0
- data/source/stylesheets/staple/_type-system-traditional.scss +114 -0
- data/source/stylesheets/staple/_vertical-tabs.scss +105 -0
- data/source/stylesheets/staple/_video.scss +21 -0
- data/source/type-systems.html.erb +67 -0
- data/source/vendor/javascripts/ZeroClipboard.min.js +9 -0
- data/source/vendor/javascripts/fixedsticky.js +185 -0
- data/source/vendor/javascripts/prism.js +13 -0
- data/source/vendor/javascripts/smooth-scroll.js +125 -0
- data/source/vendor/stylesheets/fixedsticky.css +22 -0
- data/source/vendor/stylesheets/prism.css +126 -0
- data/staple.gemspec +19 -0
- metadata +184 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
<head>
|
2
|
+
<link href='http://fonts.googleapis.com/css?family=Radley:400,400italic' rel='stylesheet' type='text/css'>
|
3
|
+
<link href='http://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<article class="type-system-traditional">
|
7
|
+
<p class="type">Article Type</p>
|
8
|
+
<h1>Article Heading</h1>
|
9
|
+
<h2>These override some of the styles specified in the <code>_variables.scss</code> and <code>_typography.scss</code> partials in <a href="//bitters.bourbon.io">Bitters</a>. You can replace the typography variables and the header font specifications in Bitters with these styles. Then you won’t need the wrapping class <code>.type-system-name</code>.</h2>
|
10
|
+
<p class="date">30 Mar 2014</p>
|
11
|
+
<p><span>Lorem ipsum dolor sit amet</span>, consectetur adipisicing elit. Consequatur a, ullam, voluptatum incidunt neque doloremque vel inventore distinctio laudantium harum</a> illo quam nulla dolor alias iure impedit! Accusamus! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur, a, ullam, voluptatum incidunt neque porro numquam doloremque vel inventore distinctio laudantium harum illo quam nulla dolor alias iure impedit.
|
12
|
+
<a href="javascript:void(0)" class="read-more">Read More <span>›</span></a>
|
13
|
+
</p>
|
14
|
+
<h3>Subheading lorem</h3>
|
15
|
+
<p><span>Consequatur ullam, voluptatum</span> incidunt neque porro numquam doloremque vel inventore distinctio laudantium harum illo quam nulla dolor alias iure impedit. Accusamus. Consequatur, a, ullam, voluptatum incidunt neque porro numquam doloremque vel inventore distinctio laudantium harum illo quam nulla dolor alias iure impedit! Accusamus.</p>
|
16
|
+
<hr>
|
17
|
+
<p class="author">Author Name</p>
|
18
|
+
</article>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<div class="vertical-tabs-container">
|
2
|
+
<div class="vertical-tabs">
|
3
|
+
<a href="#" class="js-vertical-tab vertical-tab is-active" rel="tab1">Item 1</a>
|
4
|
+
<a href="#" class="js-vertical-tab vertical-tab" rel="tab2">Item 2</a>
|
5
|
+
<a href="#" class="js-vertical-tab vertical-tab" rel="tab3">Item 3</a>
|
6
|
+
<a href="#" class="js-vertical-tab vertical-tab" rel="tab4">Item 4</a>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="vertical-tab-content-container">
|
10
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading is-active" rel="tab1">Item 1</a>
|
11
|
+
<div id="tab1" class="js-vertical-tab-content vertical-tab-content">
|
12
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt pellentesque lorem, id suscipit dolor rutrum id. Morbi facilisis porta volutpat. Fusce adipiscing, mauris quis congue tincidunt, sapien purus suscipit odio, quis dictum odio tortor in sem. Ut sit amet libero nec orci mattis fringilla. Praesent eu ipsum in sapien tincidunt molestie sed ut magna. Nam accumsan dui at orci rhoncus pharetra tincidunt elit ullamcorper. Sed ac mauris ipsum. Nullam imperdiet sapien id purus pretium id aliquam mi ullamcorper.</p>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading" rel="tab2">Item 2</a>
|
16
|
+
<div id="tab2" class="js-vertical-tab-content vertical-tab-content">
|
17
|
+
<p>Ut laoreet augue et neque pretium non sagittis nibh pulvinar. Etiam ornare tincidunt orci quis ultrices. Pellentesque ac sapien ac purus gravida ullamcorper. Duis rhoncus sodales lacus, vitae adipiscing tellus pharetra sed. Praesent bibendum.</p>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading" rel="tab3">Item 3</a>
|
21
|
+
<div id="tab3" class="js-vertical-tab-content vertical-tab-content">
|
22
|
+
<p>Donec mattis mauris gravida metus laoreet non rutrum sem viverra. Aenean nibh libero, viverra vel vestibulum in, porttitor ut sapien. Phasellus tempor lorem id justo ornare tincidunt. Nulla faucibus, purus eu placerat fermentum, velit mi iaculis nunc, bibendum tincidunt ipsum justo eu mauris. Nulla facilisi. Vestibulum vel lectus ac purus tempus suscipit nec sit amet eros. Nullam fringilla, enim eu lobortis dapibus, quam magna tincidunt nibh, sit amet imperdiet dolor justo congue turpis.</p>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<a href="" class="js-vertical-tab-accordion-heading vertical-tab-accordion-heading" rel="tab4">Item 4</a>
|
26
|
+
<div id="tab4" class="js-vertical-tab-content vertical-tab-content">
|
27
|
+
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
@@ -0,0 +1,174 @@
|
|
1
|
+
<div class="refills-components">
|
2
|
+
|
3
|
+
<a class="js-menu-trigger-refills refills-menu-anchor fixedsticky">
|
4
|
+
<img src="/images/menu.png" alt="Menu icon">
|
5
|
+
</a>
|
6
|
+
<div class="js-menu-screen-refills refills-menu-screen"></div>
|
7
|
+
|
8
|
+
<%= partial "refills-hero" %>
|
9
|
+
<%= partial "refills-menu" %>
|
10
|
+
|
11
|
+
<div id="example">
|
12
|
+
|
13
|
+
<div id="accordion" class="refill">
|
14
|
+
<div class="refills-wrapper">
|
15
|
+
<div class="line-behind-text"><h6>Accordion</h6></div>
|
16
|
+
<div class="refill-centering"><%= partial "accordion" %></div>
|
17
|
+
</div>
|
18
|
+
<div class="refill-snippet"><%= code_for('accordion') %></div>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div id="badges" class="refill">
|
22
|
+
<div class="refills-wrapper">
|
23
|
+
<div class="line-behind-text"><h6>Badges</h6></div>
|
24
|
+
<div class="refill-centering"><%= partial "badges" %></div>
|
25
|
+
</div>
|
26
|
+
<div class="refill-snippet"><%= code_for('badges') %></div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="breadcrumbs" class="refill">
|
30
|
+
<div class="refills-wrapper">
|
31
|
+
<div class="line-behind-text"><h6>Breadcrumbs</h6></div>
|
32
|
+
<div class="refill-centering"><%= partial "breadcrumbs" %></div>
|
33
|
+
</div>
|
34
|
+
<div class="refill-snippet"><%= code_for('breadcrumbs') %></div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="button-group" class="refill">
|
38
|
+
<div class="refills-wrapper">
|
39
|
+
<div class="line-behind-text"><h6>Button Group</h6></div>
|
40
|
+
<div class="refill-centering"><%= partial "button_group" %></div>
|
41
|
+
</div>
|
42
|
+
<div class="refill-snippet"><%= code_for('button_group') %></div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div id="dropdown" class="refill">
|
46
|
+
<div class="refills-wrapper">
|
47
|
+
<div class="line-behind-text"><h6>Dropdown</h6></div>
|
48
|
+
<%= partial "dropdown" %>
|
49
|
+
</div>
|
50
|
+
<div class="refill-snippet"><%= code_for('dropdown') %></div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
<div id="expander" class="refill">
|
54
|
+
<div class="refills-wrapper">
|
55
|
+
<div class="line-behind-text"><h6>Expander</h6></div>
|
56
|
+
<div class="refill-centering">
|
57
|
+
<%= partial "expander" %>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
<div class="refill-snippet"><%= code_for('expander') %></div>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<div id="flashes" class="refill">
|
64
|
+
<div class="refills-wrapper">
|
65
|
+
<div class="line-behind-text"><h6>Flashes</h6></div>
|
66
|
+
<div class="refill-centering"><%= partial "flashes" %></div>
|
67
|
+
</div>
|
68
|
+
<div class="refill-snippet"><%= code_for('flashes') %></div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div id="hover-tile-animation" class="refill">
|
72
|
+
<div class="refills-wrapper">
|
73
|
+
<div class="line-behind-text"><h6>Hover Tile Animation</h6></div>
|
74
|
+
<div class="refill-centering"><%= partial "hover_tile_animation" %></div>
|
75
|
+
</div>
|
76
|
+
<div class="refill-snippet"><%= code_for('hover_tile_animation') %></div>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="image-gradient" class="refill">
|
80
|
+
<div class="refills-wrapper">
|
81
|
+
<div class="line-behind-text"><h6>Image with gradient overlays</h6></div>
|
82
|
+
<div class="refill-centering"><%= partial "image_gradient_dynamic" %></div>
|
83
|
+
</div>
|
84
|
+
<div class="refill-snippet"><%= code_for('image_gradient_dynamic') %></div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="label-alerts" class="refill">
|
88
|
+
<div class="refills-wrapper">
|
89
|
+
<div class="line-behind-text"><h6>Label Alerts</h6></div>
|
90
|
+
<div class="refill-centering"><%= partial "label_alerts" %></div>
|
91
|
+
</div>
|
92
|
+
<div class="refill-snippet"><%= code_for('label_alerts') %></div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div id="modal" class="refill">
|
96
|
+
<div class="refills-wrapper">
|
97
|
+
<div class="line-behind-text"><h6>Modal</h6></div>
|
98
|
+
<div class="refill-centering"><%= partial "modal" %></div>
|
99
|
+
</div>
|
100
|
+
<div class="refill-snippet"><%= code_for('modal') %></div>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div id="pagination" class="refill">
|
104
|
+
<div class="refills-wrapper">
|
105
|
+
<div class="line-behind-text"><h6>Pagination</h6></div>
|
106
|
+
<%= partial "pagination" %>
|
107
|
+
</div>
|
108
|
+
<div class="refill-snippet"><%= code_for('pagination') %></div>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<div id="progress-bar" class="refill">
|
112
|
+
<div class="refills-wrapper">
|
113
|
+
<div class="line-behind-text"><h6>Progress Bars</h6></div>
|
114
|
+
<div class="refill-centering"><%= partial "progress_bar" %></div>
|
115
|
+
</div>
|
116
|
+
<div class="refill-snippet"><%= code_for('progress_bar') %></div>
|
117
|
+
<div class="refills-wrapper">
|
118
|
+
<div class="refill-centering"><%= partial "progress_bar_indication" %></div>
|
119
|
+
</div>
|
120
|
+
<div class="refill-snippet"><%= code_for('progress_bar_indication') %></div>
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<div id="video" class="refill">
|
124
|
+
<div class="refills-wrapper">
|
125
|
+
<div class="line-behind-text"><h6>Responsive Video Embed</h6></div>
|
126
|
+
<%= partial "video" %>
|
127
|
+
</div>
|
128
|
+
<div class="refill-snippet"><%= code_for('video') %></div>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div id="search-bar" class="refill">
|
132
|
+
<div class="refills-wrapper">
|
133
|
+
<div class="line-behind-text"><h6>Search bar</h6></div>
|
134
|
+
<div class="refill-centering"><%= partial "search_bar" %></div>
|
135
|
+
</div>
|
136
|
+
<div class="refill-snippet"><%= code_for('search_bar') %></div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div id="sliding-menu" class="refill">
|
140
|
+
<div class="refills-wrapper">
|
141
|
+
<div class="line-behind-text"><h6>Sliding Menu</h6></div>
|
142
|
+
<div class="refill-centering"><%= partial "sliding_menu" %></div>
|
143
|
+
</div>
|
144
|
+
<div class="refill-snippet"><%= code_for('sliding_menu') %></div>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<div id="switch" class="refill">
|
148
|
+
<div class="refills-wrapper">
|
149
|
+
<div class="line-behind-text"><h6>Switch</h6></div>
|
150
|
+
<div class="refill-centering"><%= partial "switch" %></div>
|
151
|
+
</div>
|
152
|
+
<div class="refill-snippet"><%= code_for('switch') %></div>
|
153
|
+
</div>
|
154
|
+
|
155
|
+
<div id="textures" class="refill">
|
156
|
+
<div class="refills-wrapper">
|
157
|
+
<div class="line-behind-text"><h6>Textures</h6></div>
|
158
|
+
<%= partial "texture-legend" %>
|
159
|
+
<%= partial "textures" %>
|
160
|
+
</div>
|
161
|
+
<div class="refill-snippet"><%= code_for('textures') %></div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div id="tooltip" class="refill">
|
165
|
+
<div class="refills-wrapper">
|
166
|
+
<div class="line-behind-text"><h6>Tooltip</h6></div>
|
167
|
+
<div class="refill-centering"><%= partial "tooltip" %></div>
|
168
|
+
</div>
|
169
|
+
<div class="refill-snippet"><%= code_for('tooltip') %></div>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
<%= partial "refills-page-scripts" %>
|
@@ -0,0 +1,162 @@
|
|
1
|
+
---
|
2
|
+
title: Refills
|
3
|
+
---
|
4
|
+
<div class="refills-patterns">
|
5
|
+
<a class="js-menu-trigger-refills refills-menu-anchor fixedsticky">
|
6
|
+
<img src="/images/menu.png" alt="Menu icon">
|
7
|
+
</a>
|
8
|
+
<div class="js-menu-screen-refills refills-menu-screen"></div>
|
9
|
+
|
10
|
+
<%= partial "refills-hero" %>
|
11
|
+
<%= partial "refills-menu" %>
|
12
|
+
|
13
|
+
<div id="example">
|
14
|
+
|
15
|
+
<div id="accordion-tabs" class="refill">
|
16
|
+
<div class="refills-wrapper">
|
17
|
+
<div class="line-behind-text"><h6>Accordion / Tabs</h6></div>
|
18
|
+
<%= partial "accordion_tabs" %>
|
19
|
+
</div>
|
20
|
+
<div class="refill-snippet"><%= code_for('accordion_tabs') %></div>
|
21
|
+
<div class="refills-wrapper">
|
22
|
+
<%= partial "accordion_tabs_minimal" %>
|
23
|
+
</div>
|
24
|
+
<div class="refill-snippet"><%= code_for('accordion_tabs_minimal') %></div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div id="browser" class="refill">
|
28
|
+
<div class="refills-wrapper">
|
29
|
+
<div class="line-behind-text"><h6>Browser</h6></div>
|
30
|
+
<%= partial "browser" %>
|
31
|
+
</div>
|
32
|
+
<div class="refill-snippet"><%= code_for('browser') %></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="cards" class="refill">
|
36
|
+
<div class="refills-wrapper">
|
37
|
+
<div class="line-behind-text"><h6>Cards</h6></div>
|
38
|
+
<div class="refill-centering"><%= partial "cards" %></div>
|
39
|
+
</div>
|
40
|
+
<div class="refill-snippet"><%= code_for('cards') %></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="centered-navigation" class="refill">
|
44
|
+
<div class="refills-wrapper">
|
45
|
+
<div class="line-behind-text"><h6>Centered Navigation</h6></div>
|
46
|
+
<%= partial "centered_navigation" %>
|
47
|
+
</div>
|
48
|
+
<div class="refill-snippet"><%= code_for('centered_navigation') %></div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="comment" class="refill">
|
52
|
+
<div class="refills-wrapper">
|
53
|
+
<div class="line-behind-text"><h6>Comments</h6></div>
|
54
|
+
<div class="refill-centering">
|
55
|
+
<div class="refill-smaller"><%= partial "comment" %></div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
<div class="refill-snippet"><%= code_for('comment') %></div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<div id="device" class="refill">
|
62
|
+
<div class="refills-wrapper">
|
63
|
+
<div class="line-behind-text"><h6>Device</h6></div>
|
64
|
+
<%= partial "device" %>
|
65
|
+
</div>
|
66
|
+
<div class="refill-snippet"><%= code_for('device') %></div>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<div id="footer" class="refill">
|
70
|
+
<div class="refills-wrapper">
|
71
|
+
<div class="line-behind-text"><h6>Footers</h6></div>
|
72
|
+
<div class="refill-centering"><%= partial "footer" %></div>
|
73
|
+
</div>
|
74
|
+
<div class="refill-snippet"><%= code_for('footer') %></div>
|
75
|
+
<div class="refills-wrapper">
|
76
|
+
<div class="refill-centering"><%= partial "footer_2" %></div>
|
77
|
+
</div>
|
78
|
+
<div class="refill-snippet"><%= code_for('footer_2') %></div>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<div id="grid-items" class="refill">
|
82
|
+
<div class="refills-wrapper">
|
83
|
+
<div class="line-behind-text"><h6>Grid Items</h6></div>
|
84
|
+
<div class="refill-centering"><%= partial "grid_items" %></div>
|
85
|
+
</div>
|
86
|
+
<div class="refill-snippet"><%= code_for('grid_items') %></div>
|
87
|
+
<div class="refills-wrapper">
|
88
|
+
<div class="refill-centering"><%= partial "grid_items_lines" %></div>
|
89
|
+
</div>
|
90
|
+
<div class="refill-snippet"><%= code_for('grid_items_lines') %></div>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="hero" class="refill">
|
94
|
+
<div class="refills-wrapper">
|
95
|
+
<div class="line-behind-text"><h6>Hero Unit</h6></div>
|
96
|
+
<%= partial "hero" %>
|
97
|
+
</div>
|
98
|
+
<div class="refill-snippet"><%= code_for('hero') %></div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div id="icon-bullet-points" class="refill">
|
102
|
+
<div class="refills-wrapper">
|
103
|
+
<div class="line-behind-text"><h6>Icon Bullet Points</h6></div>
|
104
|
+
<%= partial "icon_bullet_points" %>
|
105
|
+
</div>
|
106
|
+
<div class="refill-snippet"><%= code_for('icon_bullet_points') %></div>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<div id="intro_text" class="refill">
|
110
|
+
<div class="refills-wrapper">
|
111
|
+
<div class="line-behind-text"><h6>Intro Text</h6></div>
|
112
|
+
<%= partial "intro_text" %>
|
113
|
+
</div>
|
114
|
+
<div class="refill-snippet"><%= code_for('intro_text') %></div>
|
115
|
+
</div>
|
116
|
+
|
117
|
+
<div id="navigation" class="refill">
|
118
|
+
<div class="refills-wrapper">
|
119
|
+
<div class="line-behind-text"><h6>Navigation</h6></div>
|
120
|
+
<%= partial "navigation" %>
|
121
|
+
</div>
|
122
|
+
<div class="refill-snippet"><%= code_for('navigation') %></div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div id="search-tools" class="refill">
|
126
|
+
<div class="refills-wrapper">
|
127
|
+
<div class="line-behind-text"><h6>Search Tools</h6></div>
|
128
|
+
<%= partial "search_tools" %>
|
129
|
+
</div>
|
130
|
+
<div class="refill-snippet"><%= code_for('search_tools') %></div>
|
131
|
+
</div>
|
132
|
+
|
133
|
+
<div id="side-image" class="refill">
|
134
|
+
<div class="refills-wrapper">
|
135
|
+
<div class="line-behind-text"><h6>Side Image</h6></div>
|
136
|
+
<%= partial "side_image" %>
|
137
|
+
</div>
|
138
|
+
<div class="refill-snippet"><%= code_for('side_image') %></div>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div id="tables" class="refill">
|
142
|
+
<div class="refills-wrapper">
|
143
|
+
<div class="line-behind-text"><h6>Tables</h6></div>
|
144
|
+
<%= partial "tables" %>
|
145
|
+
</div>
|
146
|
+
<div class="refill-snippet"><%= code_for('tables') %></div>
|
147
|
+
<div class="refills-wrapper">
|
148
|
+
<%= partial "tables_minimal" %>
|
149
|
+
</div>
|
150
|
+
<div class="refill-snippet"><%= code_for('tables_minimal') %></div>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<div id="vertical-tabs" class="refill">
|
154
|
+
<div class="refills-wrapper">
|
155
|
+
<div class="line-behind-text"><h6>Vertical Tabs</h6></div>
|
156
|
+
<%= partial "vertical_tabs" %>
|
157
|
+
</div>
|
158
|
+
<div class="refill-snippet"><%= code_for('vertical_tabs') %></div>
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
<%= partial "refills-page-scripts" %>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
//= require prism
|
2
|
+
//= require ZeroClipboard.min
|
3
|
+
//= require smooth-scroll
|
4
|
+
//= require fixedsticky
|
5
|
+
//= require_tree .
|
6
|
+
|
7
|
+
|
8
|
+
$(document).ready(function() {
|
9
|
+
$('#example').erToc({'goTopNode':'#example', 'startLevel': 'h2', 'numberedSuffix':'. '});
|
10
|
+
$( '.refills-menu-anchor' ).fixedsticky();
|
11
|
+
});
|