zurb-foundation 4.0.3 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +1 -1
- data/README.md +5 -0
- data/docs/Gemfile +2 -1
- data/docs/Gemfile.lock +1 -1
- data/docs/_sidebar-components.html.erb +40 -40
- data/docs/_sidebar.html.erb +9 -9
- data/docs/changelog.html.erb +30 -6
- data/docs/components/alert-boxes.html.erb +1 -1
- data/docs/components/block-grid.html.erb +10 -10
- data/docs/components/breadcrumbs.html.erb +1 -1
- data/docs/components/button-groups.html.erb +57 -3
- data/docs/components/buttons.html.erb +1 -1
- data/docs/components/clearing.html.erb +12 -14
- data/docs/components/custom-forms.html.erb +3 -3
- data/docs/components/dropdown-buttons.html.erb +1 -1
- data/docs/components/dropdown.html.erb +2 -2
- data/docs/components/flex-video.html.erb +1 -1
- data/docs/components/forms.html.erb +4 -3
- data/docs/components/grid.html.erb +2 -2
- data/docs/components/inline-lists.html.erb +1 -1
- data/docs/components/keystrokes.html.erb +1 -1
- data/docs/components/labels.html.erb +1 -1
- data/docs/components/orbit.html.erb +11 -11
- data/docs/components/pagination.html.erb +1 -1
- data/docs/components/panels.html.erb +1 -1
- data/docs/components/pricing-tables.html.erb +1 -1
- data/docs/components/progress-bars.html.erb +1 -1
- data/docs/components/reveal.html.erb +8 -0
- data/docs/components/section.html.erb +29 -3
- data/docs/components/side-nav.html.erb +1 -1
- data/docs/components/split-buttons.html.erb +1 -1
- data/docs/components/sub-nav.html.erb +1 -1
- data/docs/components/switch.html.erb +1 -1
- data/docs/components/thumbnails.html.erb +5 -5
- data/docs/components/top-bar.html.erb +65 -2
- data/docs/components/type.html.erb +1 -1
- data/docs/css/docs.scss +2 -0
- data/docs/faq.html.erb +2 -0
- data/docs/img/demos/demo1-th.jpg +0 -0
- data/docs/img/demos/demo1.jpg +0 -0
- data/docs/img/demos/demo2-th.jpg +0 -0
- data/docs/img/demos/demo2.jpg +0 -0
- data/docs/img/demos/demo3-th.jpg +0 -0
- data/docs/img/demos/demo3.jpg +0 -0
- data/docs/img/demos/demo4-th.jpg +0 -0
- data/docs/img/demos/demo4.jpg +0 -0
- data/docs/img/demos/demo5-th.jpg +0 -0
- data/docs/img/demos/demo5.jpg +0 -0
- data/docs/index.html.erb +1 -1
- data/docs/javascript.html.erb +2 -2
- data/docs/layout.html.erb +18 -2
- data/docs/rails.html.erb +10 -2
- data/docs/sass.html.erb +49 -19
- data/docs/support.html.erb +1 -1
- data/js/foundation/foundation.forms.js +1 -1
- data/js/foundation/foundation.js +1 -1
- data/js/foundation/foundation.reveal.js +9 -3
- data/js/foundation/foundation.topbar.js +7 -5
- data/lib/foundation/engine.rb +12 -4
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation.scss +1 -2
- data/scss/foundation/_foundation-global.scss +25 -74
- data/scss/foundation/components/_block-grid.scss +2 -2
- data/scss/foundation/components/_button-groups.scss +17 -2
- data/scss/foundation/components/_buttons.scss +2 -2
- data/scss/foundation/components/_custom-forms.scss +10 -7
- data/scss/foundation/components/_forms.scss +28 -0
- data/scss/foundation/components/_global.scss +62 -0
- data/scss/foundation/components/_orbit.scss +1 -1
- data/scss/foundation/components/_section.scss +4 -4
- data/scss/foundation/components/_switch.scss +17 -9
- data/scss/foundation/components/_tooltips.scss +1 -2
- data/scss/foundation/components/_top-bar.scss +11 -2
- data/scss/foundation/components/_type.scss +3 -2
- data/scss/foundation/components/_visibility.scss +2 -2
- data/templates/project/config.rb +4 -4
- data/templates/project/index.html +9 -9
- data/templates/project/manifest.rb +8 -8
- data/templates/project/scss/_settings.scss +11 -10
- data/templates/project/scss/app.scss +1 -0
- metadata +15 -14
- data/docs/img/demos/demo1-th.png +0 -0
- data/docs/img/demos/demo1.png +0 -0
- data/docs/img/demos/demo2-th.png +0 -0
- data/docs/img/demos/demo2.png +0 -0
- data/docs/img/demos/demo3-th.png +0 -0
- data/docs/img/demos/demo3.png +0 -0
- data/docs/img/demos/demo4-th.png +0 -0
- data/docs/img/demos/demo4.png +0 -0
- data/docs/img/demos/demo5-th.png +0 -0
- data/docs/img/demos/demo5.png +0 -0
@@ -66,7 +66,7 @@
|
|
66
66
|
<hr>
|
67
67
|
|
68
68
|
<h3>Build with Mixins</h3>
|
69
|
-
<p>We've included SCSS mixins used to style buttons. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
69
|
+
<p>We've included SCSS mixins used to style buttons. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
70
70
|
|
71
71
|
<%= code_example '
|
72
72
|
@import "foundation/foundation-global", "foundation/buttons";
|
@@ -15,11 +15,11 @@
|
|
15
15
|
<div class="large-12 columns">
|
16
16
|
|
17
17
|
<ul class="clearing-thumbs" data-clearing>
|
18
|
-
<li><a class="th" href="../img/demos/demo1.
|
19
|
-
<li><a class="th" href="../img/demos/demo2.
|
20
|
-
<li><a class="th" href="../img/demos/demo3.
|
21
|
-
<li><a class="th" href="../img/demos/demo4.
|
22
|
-
<li><a class="th" href="../img/demos/demo5.
|
18
|
+
<li><a class="th" href="../img/demos/demo1.jpg"><img data-caption="Nulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum." src="../img/demos/demo1-th.jpg"></a></li>
|
19
|
+
<li><a class="th" href="../img/demos/demo2.jpg"><img src="../img/demos/demo2-th.jpg"></a></li>
|
20
|
+
<li><a class="th" href="../img/demos/demo3.jpg"><img data-caption="Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus." src="../img/demos/demo3-th.jpg"></a></li>
|
21
|
+
<li><a class="th" href="../img/demos/demo4.jpg"><img src="../img/demos/demo4-th.jpg"></a></li>
|
22
|
+
<li><a class="th" href="../img/demos/demo5.jpg"><img data-caption="Integer posuere erat a ante venenatis dapibus posuere velit aliquet." src="../img/demos/demo5-th.jpg"></a></li>
|
23
23
|
</ul>
|
24
24
|
|
25
25
|
</div>
|
@@ -64,9 +64,9 @@
|
|
64
64
|
<div class="row">
|
65
65
|
<div class="large-12 columns">
|
66
66
|
<ul class="clearing-thumbs" data-clearing>
|
67
|
-
<li class="clearing-feature"><a class="th" href="../img/demos/demo1.
|
68
|
-
<li><a class="th" href="../img/demos/demo2.
|
69
|
-
<li><a class="th" href="../img/demos/demo3.
|
67
|
+
<li class="clearing-feature"><a class="th" href="../img/demos/demo1.jpg"><img src="../img/demos/demo1-th.jpg"></a></li>
|
68
|
+
<li><a class="th" href="../img/demos/demo2.jpg"><img src="../img/demos/demo2-th.jpg"></a></li>
|
69
|
+
<li><a class="th" href="../img/demos/demo3.jpg"><img src="../img/demos/demo3-th.jpg"></a></li>
|
70
70
|
</ul>
|
71
71
|
</div>
|
72
72
|
</div>
|
@@ -86,9 +86,9 @@
|
|
86
86
|
<div class="row">
|
87
87
|
<div class="large-12 columns">
|
88
88
|
<ul class="clearing-thumbs" data-clearing>
|
89
|
-
<li><a class="th" href="../img/demos/demo1.
|
90
|
-
<li><a class="th" href="../img/demos/demo2.
|
91
|
-
<li><a class="th" href="../img/demos/demo3.
|
89
|
+
<li><a class="th" href="../img/demos/demo1.jpg"><img data-caption="caption here..." src="../img/demos/demo1-th.jpg"></a></li>
|
90
|
+
<li><a class="th" href="../img/demos/demo2.jpg"><img data-caption="caption 2 here..." src="../img/demos/demo2-th.jpg"></a></li>
|
91
|
+
<li><a class="th" href="../img/demos/demo3.jpg"><img data-caption="caption 3 here..." src="../img/demos/demo3-th.jpg"></a></li>
|
92
92
|
</ul>
|
93
93
|
</div>
|
94
94
|
</div>
|
@@ -134,14 +134,12 @@ $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
|
|
134
134
|
|
135
135
|
<p>Clearing options can only be passed in during initialization at this time.</p>
|
136
136
|
|
137
|
-
|
137
|
+
<%= code_example "
|
138
138
|
{
|
139
139
|
// specify the classes or IDs will close clearing when clicked.
|
140
140
|
close_selectors : '.clearing-close'
|
141
141
|
}", :json %>
|
142
142
|
|
143
|
-
|
144
|
-
|
145
143
|
</div>
|
146
144
|
</div>
|
147
145
|
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</form>', :html %>
|
125
125
|
|
126
126
|
<form class="custom">
|
127
|
-
<label for="customDropdown2">
|
127
|
+
<label for="customDropdown2">Default Example</label>
|
128
128
|
<select id="customDropdown2">
|
129
129
|
<option DISABLED>This is a dropdown</option>
|
130
130
|
<option>This is another option</option>
|
@@ -228,7 +228,7 @@
|
|
228
228
|
</select>
|
229
229
|
</div>
|
230
230
|
<div class="small-4 columns">
|
231
|
-
<a href="#" class="button postfix
|
231
|
+
<a href="#" class="button postfix">Button</a>
|
232
232
|
</div>
|
233
233
|
</div>
|
234
234
|
</form>', :html %>
|
@@ -273,7 +273,7 @@
|
|
273
273
|
</select>
|
274
274
|
</div>
|
275
275
|
<div class="small-4 columns">
|
276
|
-
<a href="#" class="button postfix
|
276
|
+
<a href="#" class="button postfix">Button</a>
|
277
277
|
</div>
|
278
278
|
</div>
|
279
279
|
</form>
|
@@ -54,7 +54,7 @@
|
|
54
54
|
<hr>
|
55
55
|
|
56
56
|
<h3>Build with Mixins</h3>
|
57
|
-
<p>We've included SCSS mixins used to style buttons. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_dropdown-buttons.scss">_dropdown-buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
57
|
+
<p>We've included SCSS mixins used to style buttons. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_dropdown-buttons.scss">_dropdown-buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
58
58
|
|
59
59
|
<%= code_example '
|
60
60
|
@import "foundation/foundation-global", "foundation/buttons", "foundation/dropdown-buttons";
|
@@ -57,7 +57,7 @@
|
|
57
57
|
<hr>
|
58
58
|
|
59
59
|
<h3>Build With Our Mixins</h3>
|
60
|
-
<p>We've included SCSS mixins used to style dropdowns. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_dropdown.scss">_dropdown.scss</a> from Github and throw them into a foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
60
|
+
<p>We've included SCSS mixins used to style dropdowns. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_dropdown.scss">_dropdown.scss</a> from Github and throw them into a foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
61
61
|
|
62
62
|
<%= code_example '
|
63
63
|
@import "foundation/foundation-global", "foundation/dropdown";
|
@@ -174,7 +174,7 @@ $f-dropdown-list-hover-bg: #eeeeee;', :css %>
|
|
174
174
|
<div id="contentDrop" class="f-dropdown content medium" data-dropdown-content>
|
175
175
|
<h4>Title</h4>
|
176
176
|
<p>Some text that people will think is awesome! Some text that people will think is awesome! Some text that people will think is awesome!</p>
|
177
|
-
<img src="../img/demos/demo1.
|
177
|
+
<img src="../img/demos/demo1.jpg">
|
178
178
|
<p>More test.</p>
|
179
179
|
<a href="#" class="button">Button</a>
|
180
180
|
</div>
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<hr>
|
53
53
|
|
54
54
|
<h3>Build with our Mixins</h3>
|
55
|
-
<p>We've included SCSS mixins used to style labels. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_flex-video.scss">_flex-video.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
55
|
+
<p>We've included SCSS mixins used to style labels. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_flex-video.scss">_flex-video.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
56
56
|
|
57
57
|
<%= code_example '
|
58
58
|
@import "foundation/foundation-global", "foundation/flex-video";
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= @page_title %></h2>
|
10
10
|
<h4 class="subheader">With Foundation, we set out to create an easy to handle, powerful and versatile form layout system. A combination of form styles and the Foundation grid means you can do basically anything.</h4>
|
11
11
|
|
12
|
-
<form>
|
12
|
+
<form class="custom">
|
13
13
|
<fieldset>
|
14
14
|
<legend>Fieldset</legend>
|
15
15
|
|
@@ -329,10 +329,11 @@
|
|
329
329
|
<hr>
|
330
330
|
|
331
331
|
<h3>Build with Mixins</h3>
|
332
|
-
|
332
|
+
<p>A lot of elements in Foundation can be created using SCSS mixins so that you can include your own classes and just enough style as needed for the job at hand. To use these mixins, you'll need to have the extension installed or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_forms.scss">_forms.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
333
333
|
|
334
334
|
<%= code_example '
|
335
|
-
@import "foundation/foundation-global", "foundation/forms";', :css %>
|
335
|
+
@import "foundation/foundation-global", "foundation/buttons", "foundation/forms";', :css %>
|
336
|
+
|
336
337
|
|
337
338
|
<p>We include most of the form styles by default, but the ones that are attached to HTML classes can be accessed via the mixins below. The error states have mixins, but we suggest using the classes since they are usually only visible temporarily.</p>
|
338
339
|
|
@@ -249,7 +249,7 @@
|
|
249
249
|
<hr>
|
250
250
|
|
251
251
|
<h4>Small Grid</h4>
|
252
|
-
<p>As you've probably noticed in the examples above, you have access to a small and large grid. If you know that your grid structure will be the same for small devices as it will be on large devices, just use the small grid. You can override your small grid classes by adding large grid classes to it. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a target="_blank" href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_foundation-global.scss</a> and <a target="_blank" href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_grid.scss</a> from Github and throw them into a Foundation folder in your project directory.</p>
|
252
|
+
<p>As you've probably noticed in the examples above, you have access to a small and large grid. If you know that your grid structure will be the same for small devices as it will be on large devices, just use the small grid. You can override your small grid classes by adding large grid classes to it. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a target="_blank" href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a target="_blank" href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_grid.scss</a> from Github and throw them into a Foundation folder in your project directory.</p>
|
253
253
|
|
254
254
|
<%= code_example '
|
255
255
|
<div class="row">
|
@@ -355,7 +355,7 @@ $total-columns: 12 !default;
|
|
355
355
|
<hr>
|
356
356
|
|
357
357
|
<h4>Get Advanced With Media Query Changes</h4>
|
358
|
-
<p>We kept media queries out of the code for our grid mixins. This will enable you to include the mixins inside of whatever breakpoint you'd like, putting you in complete control. If you want to create 10 breakpoints and shift the layout around between each one, by all means. If you want to use only the default breakpoints, <a href="sass.html">we've got variables for that</a>.</p>
|
358
|
+
<p>We kept media queries out of the code for our grid mixins. This will enable you to include the mixins inside of whatever breakpoint you'd like, putting you in complete control. If you want to create 10 breakpoints and shift the layout around between each one, by all means. If you want to use only the default breakpoints, <a href="../sass.html">we've got variables for that</a>.</p>
|
359
359
|
|
360
360
|
</div>
|
361
361
|
</div>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<hr>
|
42
42
|
|
43
43
|
<h3>Build with a Mixin</h3>
|
44
|
-
<p>We've included SCSS mixins used to style inline lists. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_inline-lists.scss">_inline-lists.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
44
|
+
<p>We've included SCSS mixins used to style inline lists. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_inline-lists.scss">_inline-lists.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
45
45
|
|
46
46
|
<%= code_example '
|
47
47
|
@import "foundation/foundation-global", "foundation/inline-lists";
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<hr>
|
29
29
|
|
30
30
|
<h3>Build with a Mixin</h3>
|
31
|
-
<p>We've included SCSS mixins used to style keystrokes. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_keystrokes.scss">_keystrokes.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
31
|
+
<p>We've included SCSS mixins used to style keystrokes. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_keystrokes.scss">_keystrokes.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
32
32
|
|
33
33
|
<%= code_example '
|
34
34
|
@import "foundation/foundation-global", "foundation/keystrokes";
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<hr>
|
44
44
|
|
45
45
|
<h3>Build With Our Mixins</h3>
|
46
|
-
<p>We've included SCSS mixins used to style labels. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_labels.scss">_labels.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
46
|
+
<p>We've included SCSS mixins used to style labels. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_labels.scss">_labels.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
47
47
|
|
48
48
|
<%= code_example '
|
49
49
|
@import "foundation/foundation-global", "foundation/labels";
|
@@ -11,19 +11,19 @@
|
|
11
11
|
|
12
12
|
<ul id="featured1" data-orbit>
|
13
13
|
<li>
|
14
|
-
<img src="../img/demos/demo1.
|
14
|
+
<img src="../img/demos/demo1.jpg" />
|
15
15
|
<div class="orbit-caption">
|
16
16
|
Caption One. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
17
17
|
</div>
|
18
18
|
</li>
|
19
19
|
<li>
|
20
|
-
<img src="../img/demos/demo2.
|
20
|
+
<img src="../img/demos/demo2.jpg" />
|
21
21
|
<div class="orbit-caption">
|
22
22
|
Caption Two. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
23
23
|
</div>
|
24
24
|
</li>
|
25
25
|
<li>
|
26
|
-
<img src="../img/demos/demo3.
|
26
|
+
<img src="../img/demos/demo3.jpg" />
|
27
27
|
<div class="orbit-caption">
|
28
28
|
Caption Three. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
29
29
|
</div>
|
@@ -45,15 +45,15 @@
|
|
45
45
|
<!-- Basic orbit markup -->
|
46
46
|
<ul data-orbit>
|
47
47
|
<li>
|
48
|
-
<img src="../img/demos/demo1.
|
48
|
+
<img src="../img/demos/demo1.jpg" />
|
49
49
|
<div class="orbit-caption">...</div>
|
50
50
|
</li>
|
51
51
|
<li>
|
52
|
-
<img src="../img/demos/demo2.
|
52
|
+
<img src="../img/demos/demo2.jpg" />
|
53
53
|
<div class="orbit-caption">...</div>
|
54
54
|
</li>
|
55
55
|
<li>
|
56
|
-
<img src="../img/demos/demo3.
|
56
|
+
<img src="../img/demos/demo3.jpg" />
|
57
57
|
<div class="orbit-caption">...</div>
|
58
58
|
</li>
|
59
59
|
</ul>', :html %>
|
@@ -66,23 +66,23 @@
|
|
66
66
|
<div class="orbit-container">
|
67
67
|
<ul data-orbit="" class="orbit-slides-container">
|
68
68
|
<li>
|
69
|
-
<img src="../img/demos/demo3.
|
69
|
+
<img src="../img/demos/demo3.jpg">
|
70
70
|
<div class="orbit-caption">...</div>
|
71
71
|
</li>
|
72
72
|
<li class="active">
|
73
|
-
<img src="../img/demos/demo1.
|
73
|
+
<img src="../img/demos/demo1.jpg">
|
74
74
|
<div class="orbit-caption">...</div>
|
75
75
|
</li>
|
76
76
|
<li>
|
77
|
-
<img src="../img/demos/demo2.
|
77
|
+
<img src="../img/demos/demo2.jpg">
|
78
78
|
<div class="orbit-caption">...</div>
|
79
79
|
</li>
|
80
80
|
<li>
|
81
|
-
<img src="../img/demos/demo3.
|
81
|
+
<img src="../img/demos/demo3.jpg">
|
82
82
|
<div class="orbit-caption">...</div>
|
83
83
|
</li>
|
84
84
|
<li>
|
85
|
-
<img src="../img/demos/demo1.
|
85
|
+
<img src="../img/demos/demo1.jpg">
|
86
86
|
<div class="orbit-caption">...</div>
|
87
87
|
</li>
|
88
88
|
</ul>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
<hr>
|
89
89
|
|
90
90
|
<h3>Build with a Mixin</h3>
|
91
|
-
<p>We've included SCSS mixins used to style pagination. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_pagination.scss">_pagination.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
91
|
+
<p>We've included SCSS mixins used to style pagination. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_pagination.scss">_pagination.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
92
92
|
|
93
93
|
<%= code_example '
|
94
94
|
@import "foundation/foundation-global", "foundation/pagination";
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<hr>
|
53
53
|
|
54
54
|
<h3>Build with a Mixin</h3>
|
55
|
-
<p>We've included SCSS mixins used to style panels so that you can code smarter. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_panels.scss">_panels.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
55
|
+
<p>We've included SCSS mixins used to style panels so that you can code smarter. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_panels.scss">_panels.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
56
56
|
|
57
57
|
<%= code_example '
|
58
58
|
@import "foundation/foundation-global", "foundation/panels";
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<hr>
|
59
59
|
|
60
60
|
<h3>Build with a Mixin</h3>
|
61
|
-
<p>We've included SCSS mixins used to style pricing tables so that you can code how you want to. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_pricing-tables.scss">_pricing-tables.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
61
|
+
<p>We've included SCSS mixins used to style pricing tables so that you can code how you want to. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_pricing-tables.scss">_pricing-tables.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
62
62
|
|
63
63
|
<%= code_example '
|
64
64
|
@import "foundation/foundation-global", "foundation/pricing-tables";
|
@@ -46,7 +46,7 @@
|
|
46
46
|
<hr>
|
47
47
|
|
48
48
|
<h3>Build with our Mixins</h3>
|
49
|
-
<p>We've included SCSS mixins used to style progress bars. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_progress-bars.scss">_progress-bars.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
49
|
+
<p>We've included SCSS mixins used to style progress bars. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_progress-bars.scss">_progress-bars.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
50
50
|
|
51
51
|
<%= code_example '
|
52
52
|
@import "foundation/foundation-global", "foundation/labels";
|
@@ -48,6 +48,14 @@
|
|
48
48
|
<%= code_example '
|
49
49
|
<a href="#" data-reveal-id="myModal">Click Me For A Modal</a>', :html %>
|
50
50
|
|
51
|
+
<p>You can also open and close Reveal via JavaScript:</p>
|
52
|
+
|
53
|
+
<%= code_example "
|
54
|
+
// trigger by event
|
55
|
+
$('a.reveal-link').trigger('click');
|
56
|
+
$('a.close-reveal-modal').trigger('click');
|
57
|
+
", :js %>
|
58
|
+
|
51
59
|
<hr>
|
52
60
|
|
53
61
|
<h5>Default SCSS Variables</h5>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<div class="large-3 columns">
|
14
14
|
<div class="section-container vertical-nav" data-section data-options="deep_linking: false">
|
15
15
|
<section class="section">
|
16
|
-
<p class="title"><a href="#
|
16
|
+
<p class="title"><a href="#">Section 1</a></p>
|
17
17
|
<div class="content">
|
18
18
|
<ul class="side-nav">
|
19
19
|
<li><a href="#">Link 1</a></li>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
</div>
|
26
26
|
</section>
|
27
27
|
<section class="section">
|
28
|
-
<p class="title"><a href="#
|
28
|
+
<p class="title"><a href="#">Section 2</a></p>
|
29
29
|
<div class="content">
|
30
30
|
<ul class="side-nav">
|
31
31
|
<li><a href="#">Link 1</a></li>
|
@@ -47,11 +47,37 @@
|
|
47
47
|
</div>
|
48
48
|
</section>
|
49
49
|
<section class="section">
|
50
|
-
<p class="title"><a href="#panel2">Section 2
|
50
|
+
<p class="title"><a href="#panel2">Section 2</a></p>
|
51
51
|
<div class="content" data-slug="panel2">
|
52
52
|
<p>Section 2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
53
53
|
</div>
|
54
54
|
</section>
|
55
|
+
<div class="section">
|
56
|
+
<p class="title"><a href="#panel3">Section 3</a></p>
|
57
|
+
<div class="content" data-slug="panel3">
|
58
|
+
<form>
|
59
|
+
<div class="row collapse">
|
60
|
+
<div class="large-2 columns">
|
61
|
+
<label class="inline">Your Name</label>
|
62
|
+
</div>
|
63
|
+
<div class="large-10 columns">
|
64
|
+
<input type="text" id="yourName" placeholder="Jane Smith">
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
<div class="row collapse">
|
68
|
+
<div class="large-2 columns">
|
69
|
+
<label class="inline"> Your Email</label>
|
70
|
+
</div>
|
71
|
+
<div class="large-10 columns">
|
72
|
+
<input type="text" id="yourEmail" placeholder="jane@smithco.com">
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<label>What's up?</label>
|
76
|
+
<textarea rows="4"></textarea>
|
77
|
+
<button type="submit" class="radius button">Submit</button>
|
78
|
+
</form>
|
79
|
+
</div>
|
80
|
+
</div>
|
55
81
|
</div>
|
56
82
|
</div>
|
57
83
|
</div>
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<hr>
|
54
54
|
|
55
55
|
<h3>Build with our Mixins</h3>
|
56
|
-
<p>We've included SCSS mixins used to style side nav. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_side-nav.scss">_side-nav.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
56
|
+
<p>We've included SCSS mixins used to style side nav. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_side-nav.scss">_side-nav.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
57
57
|
|
58
58
|
<%= code_example '
|
59
59
|
@import "foundation/foundation-global", "foundation/side-nav";
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<hr>
|
54
54
|
|
55
55
|
<h3>Build with Mixins</h3>
|
56
|
-
<p>We've included SCSS mixins used to style buttons. To use these mixins, you'll need to have the <a href="#extention-install">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="#https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_split-buttons.scss">_split-buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
56
|
+
<p>We've included SCSS mixins used to style buttons. To use these mixins, you'll need to have the <a href="#extention-install">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="#https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_split-buttons.scss">_split-buttons.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
57
57
|
|
58
58
|
<%= code_example '
|
59
59
|
@import "foundation/foundation-global", "foundation/buttons", "foundation/split-buttons";
|
@@ -47,7 +47,7 @@
|
|
47
47
|
<hr>
|
48
48
|
|
49
49
|
<h3>Build with our Mixins</h3>
|
50
|
-
<p>We've included SCSS mixins used to style sub-nav. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_sub-nav.scss">_sub-nav.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
50
|
+
<p>We've included SCSS mixins used to style sub-nav. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_sub-nav.scss">_sub-nav.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
51
51
|
|
52
52
|
<%= code_example '
|
53
53
|
@import "foundation/foundation-global", "foundation/sub-nav";
|
@@ -97,7 +97,7 @@
|
|
97
97
|
<hr>
|
98
98
|
|
99
99
|
<h3>Build with our Mixins</h3>
|
100
|
-
<p>We've included SCSS mixins used to style switches. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_switch.scss">_switch.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
100
|
+
<p>We've included SCSS mixins used to style switches. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_switch.scss">_switch.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
101
101
|
|
102
102
|
<%= code_example '
|
103
103
|
@import "foundation/foundation-global", "foundation/switch";
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<div class="row">
|
15
15
|
<div class="large-12 columns">
|
16
16
|
|
17
|
-
<a class="th" href="../img/demos/demo1.
|
17
|
+
<a class="th" href="../img/demos/demo1.jpg"><img src="../img/demos/demo1-th.jpg"></a>
|
18
18
|
|
19
19
|
<hr>
|
20
20
|
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<img src="../img/demos/demo2-th.png">
|
27
27
|
</a>', :html %>
|
28
28
|
|
29
|
-
<a class="th radius" href="../img/demos/demo2.
|
29
|
+
<a class="th radius" href="../img/demos/demo2.jpg"><img src="../img/demos/demo2-th.jpg"></a>
|
30
30
|
|
31
31
|
<hr>
|
32
32
|
|
33
33
|
<h3>Build with our Mixins</h3>
|
34
|
-
<p>We've included SCSS mixins used to style labels. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_thumbs.scss">_thumbs.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
34
|
+
<p>We've included SCSS mixins used to style labels. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_thumbs.scss">_thumbs.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
|
35
35
|
|
36
36
|
<%= code_example '
|
37
37
|
@import "foundation/foundation-global", "foundation/labels";
|
@@ -44,7 +44,7 @@
|
|
44
44
|
/* Using the default styles */
|
45
45
|
.your-class-name { @include thumb; }', :css %>
|
46
46
|
|
47
|
-
<p><a class="th" href="../img/demos/demo3.
|
47
|
+
<p><a class="th" href="../img/demos/demo3.jpg"><img src="../img/demos/demo3-th.jpg"></a></p>
|
48
48
|
|
49
49
|
<p>There are also three options you can customize on the fly when writing this mixin. These controls things like: border-width and hover styles for the box-shadow.</p>
|
50
50
|
|
@@ -64,7 +64,7 @@ $box-shadow-hover: $thumb-box-shadow-hover
|
|
64
64
|
|
65
65
|
<p>You can also add the radius and single-transition mixin on top of this to create even more versatility!</p>
|
66
66
|
|
67
|
-
<p><a class="th-custom" href="../img/demos/demo4.
|
67
|
+
<p><a class="th-custom" href="../img/demos/demo4.jpg"><img src="../img/demos/demo4-th.jpg"></a></p>
|
68
68
|
|
69
69
|
<h5>Default SCSS Variables</h5>
|
70
70
|
|