themepile-abstractio 1.0.4 → 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +1 -0
  3. data/CONTRIBUTING.md +7 -7
  4. data/Gemfile.lock +19 -0
  5. data/Gruntfile.js +27 -0
  6. data/README.md +38 -38
  7. data/abstractio.gemspec +20 -18
  8. data/docs/CHANGELOG.md +275 -0
  9. data/docs/Capfile +4 -0
  10. data/docs/Gemfile +13 -0
  11. data/docs/Gemfile.lock +45 -0
  12. data/docs/Procfile +2 -0
  13. data/docs/README.md +1 -0
  14. data/docs/_sidebar-components.html.erb +115 -0
  15. data/docs/_sidebar.html.erb +115 -0
  16. data/docs/changelog.html.erb +33 -0
  17. data/docs/compile.rb +34 -0
  18. data/docs/components/alert-boxes.html.erb +204 -0
  19. data/docs/components/block-grid.html.erb +132 -0
  20. data/docs/components/breadcrumbs.html.erb +156 -0
  21. data/docs/components/button-groups.html.erb +230 -0
  22. data/docs/components/buttons.html.erb +222 -0
  23. data/docs/components/clearing.html.erb +152 -0
  24. data/docs/components/custom-forms.html.erb +309 -0
  25. data/docs/components/dropdown-buttons.html.erb +235 -0
  26. data/docs/components/dropdown.html.erb +188 -0
  27. data/docs/components/flex-video.html.erb +95 -0
  28. data/docs/components/forms.html.erb +477 -0
  29. data/docs/components/global.html.erb +92 -0
  30. data/docs/components/grid.html.erb +366 -0
  31. data/docs/components/inline-lists.html.erb +91 -0
  32. data/docs/components/joyride.html.erb +183 -0
  33. data/docs/components/keystrokes.html.erb +76 -0
  34. data/docs/components/kitchen-sink.html.erb +870 -0
  35. data/docs/components/labels.html.erb +102 -0
  36. data/docs/components/magellan.html.erb +86 -0
  37. data/docs/components/orbit.html.erb +276 -0
  38. data/docs/components/pagination.html.erb +183 -0
  39. data/docs/components/panels.html.erb +123 -0
  40. data/docs/components/pricing-tables.html.erb +156 -0
  41. data/docs/components/progress-bars.html.erb +123 -0
  42. data/docs/components/reveal.html.erb +162 -0
  43. data/docs/components/section.html.erb +1023 -0
  44. data/docs/components/side-nav.html.erb +124 -0
  45. data/docs/components/split-buttons.html.erb +220 -0
  46. data/docs/components/sub-nav.html.erb +122 -0
  47. data/docs/components/switch.html.erb +290 -0
  48. data/docs/components/tables.html.erb +125 -0
  49. data/docs/components/thumbnails.html.erb +89 -0
  50. data/docs/components/tooltips.html.erb +76 -0
  51. data/docs/components/top-bar.html.erb +300 -0
  52. data/docs/components/type.html.erb +396 -0
  53. data/docs/components/visibility.html.erb +110 -0
  54. data/docs/config.ru +12 -0
  55. data/docs/config/deploy.rb +36 -0
  56. data/docs/controller.rb +49 -0
  57. data/docs/css/_coderay.scss +116 -0
  58. data/docs/css/_settings.scss +1 -0
  59. data/docs/css/docs.scss +239 -0
  60. data/docs/css/normalize.scss +396 -0
  61. data/docs/css/qunit-composite.css +13 -0
  62. data/docs/css/qunit.css +235 -0
  63. data/docs/faq.html.erb +63 -0
  64. data/docs/img/demos/demo1-th.jpg +0 -0
  65. data/docs/img/demos/demo1.jpg +0 -0
  66. data/docs/img/demos/demo2-th.jpg +0 -0
  67. data/docs/img/demos/demo2.jpg +0 -0
  68. data/docs/img/demos/demo3-th.jpg +0 -0
  69. data/docs/img/demos/demo3.jpg +0 -0
  70. data/docs/img/demos/demo4-th.jpg +0 -0
  71. data/docs/img/demos/demo4.jpg +0 -0
  72. data/docs/img/demos/demo5-th.jpg +0 -0
  73. data/docs/img/demos/demo5.jpg +0 -0
  74. data/docs/index.html.erb +298 -0
  75. data/docs/javascript.html.erb +138 -0
  76. data/docs/js/docs.js +3 -0
  77. data/docs/js/qunit-composite.js +105 -0
  78. data/docs/js/qunit.js +1977 -0
  79. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  80. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  81. data/docs/js/tests/tooltips/tooltips.html +39 -0
  82. data/docs/js/tests/tooltips/tooltips.js +11 -0
  83. data/docs/layout.html.erb +128 -0
  84. data/docs/media-queries.html.erb +96 -0
  85. data/docs/rails.html.erb +76 -0
  86. data/docs/rtl.html.erb +53 -0
  87. data/docs/sass.html.erb +1297 -0
  88. data/docs/support.html.erb +143 -0
  89. data/js/{foundation/foundation.alerts.js → abstractio/abstractio.alerts.js} +2 -2
  90. data/js/{foundation/foundation.clearing.js → abstractio/abstractio.clearing.js} +6 -6
  91. data/js/{foundation/foundation.cookie.js → abstractio/abstractio.cookie.js} +1 -1
  92. data/js/{foundation/foundation.dropdown.js → abstractio/abstractio.dropdown.js} +5 -5
  93. data/js/{foundation/foundation.forms.js → abstractio/abstractio.forms.js} +7 -7
  94. data/js/{foundation/foundation.joyride.js → abstractio/abstractio.joyride.js} +5 -5
  95. data/js/{foundation/foundation.js → abstractio/abstractio.js} +13 -13
  96. data/js/{foundation/foundation.magellan.js → abstractio/abstractio.magellan.js} +3 -3
  97. data/js/{foundation/foundation.orbit.js → abstractio/abstractio.orbit.js} +6 -6
  98. data/js/{foundation/foundation.placeholder.js → abstractio/abstractio.placeholder.js} +1 -1
  99. data/js/{foundation/foundation.reveal.js → abstractio/abstractio.reveal.js} +3 -3
  100. data/js/{foundation/foundation.section.js → abstractio/abstractio.section.js} +5 -5
  101. data/js/{foundation/foundation.tooltips.js → abstractio/abstractio.tooltips.js} +6 -6
  102. data/js/{foundation/foundation.topbar.js → abstractio/abstractio.topbar.js} +3 -3
  103. data/js/abstractio/index.js +16 -0
  104. data/js/vendor/jquery.js +3 -3
  105. data/lib/abstractio/generators/USAGE +1 -1
  106. data/lib/abstractio/version.rb +1 -1
  107. data/package.json +15 -0
  108. data/scss/abstractio.scss +37 -37
  109. data/scss/abstractio/_variables.scss +1 -1
  110. data/scss/abstractio/components/_alert-boxes.scss +1 -1
  111. data/scss/abstractio/components/_block-grid.scss +2 -2
  112. data/scss/abstractio/components/_dropdown.scss +1 -1
  113. data/scss/abstractio/components/_global.scss +2 -2
  114. data/scss/abstractio/components/_joyride.scss +1 -1
  115. data/scss/abstractio/components/_pagination.scss +1 -1
  116. data/scss/abstractio/components/_switch.scss +1 -1
  117. data/scss/abstractio/components/_visibility.scss +2 -2
  118. data/templates/project/.gitignore +1 -1
  119. data/templates/project/MIT-LICENSE.txt +1 -1
  120. data/templates/project/config.rb +1 -1
  121. data/templates/project/humans.txt +2 -2
  122. data/templates/project/index.html +11 -11
  123. data/templates/project/manifest.rb +1 -1
  124. data/templates/project/scss/app.scss +38 -38
  125. data/templates/upgrade/manifest.rb +2 -2
  126. metadata +104 -22
  127. data/Gemfile +0 -4
  128. data/Rakefile +0 -2
  129. data/js/foundation/index.js +0 -16
  130. data/lib/abstractio.rb +0 -17
@@ -0,0 +1,91 @@
1
+ <% @side_nav = "type" %>
2
+
3
+ <div class="row">
4
+ <div class="large-9 push-3 columns">
5
+
6
+ <% @page_title = "Inline Lists" %>
7
+ <div class="row">
8
+ <div class="large-12 columns">
9
+ <h2><%= @page_title %></h2>
10
+ <h4 class="subheader">You can use this simple construct when you just need a horizontal list of links, like in a footer, and want more control than just spaces between them.</h4>
11
+
12
+ <ul class="inline-list">
13
+ <li><a href="#">Link 1</a></li>
14
+ <li><a href="#">Link 2</a></li>
15
+ <li><a href="#">Link 3</a></li>
16
+ <li><a href="#">Link 4</a></li>
17
+ <li><a href="#">Link 5</a></li>
18
+ </ul>
19
+
20
+ <hr>
21
+ </div>
22
+ </div>
23
+
24
+ <div class="row">
25
+ <div class="large-12 columns">
26
+
27
+ <h3>Build With Predefined HTML Classes</h3>
28
+ <p>There are two ways to build inline lists in Abstractio 4: with our predefined HTML or with our mixins. Building inline lists using our predefined classes is easy. You'll start with an unordered list and add a class of <code>.inline-list</code> to it. From there, you just need to add list items with links in them.</p>
29
+
30
+ <%= code_example '
31
+ <ul class="inline-list">
32
+ <li><a href="#">Link 1</a></li>
33
+ <li><a href="#">Link 2</a></li>
34
+ <li><a href="#">Link 3</a></li>
35
+ <li><a href="#">Link 4</a></li>
36
+ <li><a href="#">Link 5</a></li>
37
+ </ul>', :html %>
38
+
39
+ <p>For these styles to come across, make sure you have the default Abstractio CSS package or that you've selected inline-lists from a custom package. These should be linked up following our default HTML page structure.</p>
40
+
41
+ <hr>
42
+
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/themepile/abstractio/blob/master/scss/abstractio/_abstractio-global.scss">_abstractio-global.scss</a>, <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/components/_global.scss">_global.scss</a> and <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/components/_inline-lists.scss">_inline-lists.scss</a> from Github and throw them into a Abstractio folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
45
+
46
+ <%= code_example '
47
+ @import "abstractio/abstractio-global", "abstractio/components/global", "abstractio/components/inline-lists";
48
+ ', :css %>
49
+
50
+ <h5>Quick Mixin</h5>
51
+ <p>You can build your inline lists using our global mixin by including it on your own custom class. The mixin contains all the necessary styles for positioning and styling the unordered list full of list items, the code looks like this:</p>
52
+
53
+ <%= code_example '
54
+ .your-class-name { @include inline-list; }', :css %>
55
+
56
+ <ul class="inline-list">
57
+ <li><a href="#">Link 1</a></li>
58
+ <li><a href="#">Link 2</a></li>
59
+ <li><a href="#">Link 3</a></li>
60
+ <li><a href="#">Link 4</a></li>
61
+ <li><a href="#">Link 5</a></li>
62
+ </ul>
63
+
64
+ <h5>Default SCSS Variables</h5>
65
+
66
+ <%= code_example '
67
+ /* We use this to control the margins and padding of the inline list. */
68
+ $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
69
+ $inline-list-margin: 0 0;
70
+ $inline-list-padding: 0;
71
+
72
+ /* We use this to control the overflow of the inline list. */
73
+ $inline-list-overflow: hidden;
74
+
75
+ /* We use this to control the list items */
76
+ $inline-list-display: block;
77
+
78
+ /* We use this to control any elements within list items */
79
+ $inline-list-children-display: block;', :css %>
80
+
81
+ <p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_abstractio-global.scss</strong>.</p>
82
+
83
+ </div>
84
+ </div>
85
+ </div>
86
+
87
+ <div class="large-3 pull-9 columns">
88
+ <%= render "_sidebar-components.html.erb" %>
89
+ </div>
90
+
91
+ </div>
@@ -0,0 +1,183 @@
1
+
2
+ <%
3
+ @side_nav = "js"
4
+ @joyride = true
5
+ %>
6
+ <div class="row">
7
+ <div class="large-9 push-3 columns">
8
+
9
+ <% @page_title = "Joyride" %>
10
+ <div class="row">
11
+ <div class="large-12 columns">
12
+ <h2><%= @page_title %></h2>
13
+ <h4 class="subheader">Joyride is an extremely flexible plugin that gives users a tour of your site or app when they visit.</h4>
14
+
15
+ <div id="firstStop" class="panel">Some awesome part of your site!</div>
16
+
17
+ <hr>
18
+ </div>
19
+ </div>
20
+
21
+ <div class="row">
22
+ <div class="large-12 columns">
23
+ <h2 id="numero1" class="so-awesome">Build Joyride with HTML</h2>
24
+ <p>At the bottom of your page but inside of the body, place either an <code>ol</code> or <code>ul</code> with the <code>data-joyride</code> attribute. This list will contain all of the stops on your tour. To associate the tour stops with an item on your page, make sure the ID and data-id match between the two. If you do not associate an if, the tour stop will take on a modal style, positioning itself in the middle of the screen.</p>
25
+
26
+ <%= code_example '
27
+ <!-- At the bottom of your page but inside of the body tag -->
28
+ <ol class="joyride-list" data-joyride>
29
+ <li data-id="firstStop" data-text="Next">
30
+ <p>Hello and welcome to the Joyride documentation page.</p>
31
+ </li>
32
+ <li data-id="numero1" data-class="custom so-awesome" data-text="Next">
33
+ <h4>Stop #1</h4>
34
+ <p>You can control all the details for you tour stop. Any valid HTML will work inside of Joyride.</p>
35
+ </li>
36
+ <li data-id="numero2" data-button="Next" data-options="tipLocation:top;tipAnimation:fade">
37
+ <h4>Stop #2</h4>
38
+ <p>Get the details right by styling Joyride with a custom stylesheet!</p>
39
+ </li>
40
+ <li data-button="Next">
41
+ <h4>Stop #4</h4>
42
+ <p>It works as a modal too!</p>
43
+ </li>
44
+ </ol>
45
+ ', :html %>
46
+
47
+ <h5>We Add Some HTML with JS</h5>
48
+ <p>To make Joyride really easy to use, we built its container and tour element inside the JS. This can make it hard to know what to target for styling purposes in some cases. To help this process go smoothly, here's what the output looks like with the appropriate classes to target for styling:</p>
49
+
50
+ <%= code_example '
51
+ <!-- Here is the markup our JS creates for you -->
52
+ <div class="joyride-tip-guide">
53
+ <span class="joyride-nub top"></span>
54
+ <div class="joyride-content-wrapper">
55
+ <p>Hello and welcome to the Joyride documentation page.</p>
56
+ <a href="#" class="small button joyride-next-tip">Next</a>
57
+ <a href="#close" class="joyride-close-tip">&times;</a>
58
+ </div>
59
+ </div>
60
+ ', :html %>
61
+
62
+ <hr>
63
+
64
+ <h3 id="numero2">Available SCSS Variables</h3>
65
+ <p>We've included a bunch of variables that you'll be able to use if you're into getting SASSy with things.</p>
66
+
67
+ <%= code_example '
68
+ /* Controlling default Joyride styles */
69
+ $joyride-tip-bg: rgb(0,0,0);
70
+ $joyride-tip-default-width: 300px;
71
+ $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
72
+ $joyride-tip-border: solid 1px #555;
73
+ $joyride-tip-radius: 4px;
74
+ $joyride-tip-position-offset: 22px;
75
+
76
+ /* Here, we are setting the tip dont styles */
77
+ $joyride-tip-font-color: #fff;
78
+ $joyride-tip-font-size: emCalc(14px);
79
+ $joyride-tip-header-weight: bold;
80
+
81
+ /* This changes the nub size */
82
+ $joyride-tip-nub-size: 14px;
83
+
84
+ /* This adjusts the styles for the timer when its enabled */
85
+ $joyride-tip-timer-width: 50px;
86
+ $joyride-tip-timer-height: 3px;
87
+ $joyride-tip-timer-color: #666;
88
+
89
+ /* This changes up the styles for the close button */
90
+ $joyride-tip-close-color: #777;
91
+ $joyride-tip-close-size: 30px;
92
+ $joyride-tip-close-weight: normal;
93
+
94
+ /* When Joyride is filling the screen, we use this style for the bg */
95
+ $joyride-screenfill: rgba(0,0,0,0.5);
96
+ ', :css %>
97
+
98
+ <hr>
99
+
100
+ <h3>Using the JavaScript</h3>
101
+ <p>You'll need to include <code>abstractio.joyride.js</code> to get plugin to work. You'll also need to make sure to include <code>zepto.js</code> and <code>abstractio.js</code> above the alert plugin. Above your closing <code>&lt;/body&gt;</code> tag include the following line of code and make sure you have the JS in your directory.</p>
102
+
103
+ <p><a href="../javascript.html" title="How to install Abstractio JavaScript">Read how to install Abstractio JavaScript</a></p>
104
+
105
+ <p>Required Abstractio Library: <code>abstractio.joyride.js</code>, Optional JS Library: <code>abstractio.cookie.js</code></p>
106
+
107
+ <p>Joyride does not initialize on page load like the rest of the plugins. You need to call <code>start</code> to get it to load.</p>
108
+
109
+ <%= code_example '
110
+ <script type="text/javascript">
111
+ $(document).abstractio(\'joyride\', \'start\');
112
+ </script>
113
+ ', :html %>
114
+
115
+ <p>Then, you'll need to add a data-joyride to make the JS work properly on that element. It looks something like this:</p>
116
+
117
+ <%= code_example '
118
+ <ol data-joyride>
119
+ ...
120
+ </ol>
121
+ ', :html %>
122
+
123
+ <h5>Optional JavaScript Configuration</h5>
124
+
125
+ <p>You can either set these options in a <code>data-options</code> attribute in the markup, <code>data-options="option: value; option2: value syntax"</code>, or pass in on initialization. Configurations that are <i>objects</i>, <i>functions</i>, or <i>arrays</i> can only be passed in during intitialization.</p>
126
+
127
+ <%= code_example "
128
+ {
129
+ tipLocation : 'bottom', // 'top' or 'bottom' in relation to parent
130
+ nubPosition : 'auto', // override on a per tooltip bases
131
+ scrollSpeed : 300, // Page scrolling speed in milliseconds
132
+ timer : 0, // 0 = no timer , all other numbers = timer in milliseconds
133
+ startTimerOnClick : true, // true or false - true requires clicking the first button start the timer
134
+ startOffset : 0, // the index of the tooltip you want to start on (index of the li)
135
+ nextButton : true, // true or false to control whether a next button is used
136
+ tipAnimation : 'fade', // 'pop' or 'fade' in each tip
137
+ pauseAfter : [], // array of indexes where to pause the tour after
138
+ tipAnimationFadeSpeed: 300, // when tipAnimation = 'fade' this is speed in milliseconds for the transition
139
+ cookieMonster : false, // true or false to control whether cookies are used
140
+ cookieName : 'joyride', // Name the cookie you'll use
141
+ cookieDomain : false, // Will this cookie be attached to a domain, ie. '.notableapp.com'
142
+ cookieExpires : 365, // set when you would like the cookie to expire.
143
+ tipContainer : 'body', // Where will the tip be attached
144
+ postRideCallback : function (){}, // A method to call once the tour closes (canceled or complete)
145
+ postStepCallback : function (){}, // A method to call after each step
146
+ template : { // HTML segments for tip layout
147
+ link : '<a href=\"#close\" class=\"joyride-close-tip\">&times;</a>',
148
+ timer : '<div class=\"joyride-timer-indicator-wrap\"><span class=\"joyride-timer-indicator\"></span></div>',
149
+ tip : '<div class=\"joyride-tip-guide\"><span class=\"joyride-nub\"></span></div>',
150
+ wrapper : '<div class=\"joyride-content-wrapper\"></div>',
151
+ button : '<a href=\"#\" class=\"small button joyride-next-tip\"></a>'
152
+ }
153
+ }", :js %>
154
+
155
+ </div>
156
+ </div>
157
+
158
+ </div>
159
+
160
+ <div class="large-3 pull-9 columns">
161
+ <%= render "_sidebar-components.html.erb" %>
162
+ </div>
163
+
164
+ </div>
165
+
166
+ <!-- TOUR STOPS -->
167
+ <ol class="joyride-list" data-joyride>
168
+ <li data-id="firstStop" data-text="Next">
169
+ <p>Hello and welcome to the Joyride documentation page.</p>
170
+ </li>
171
+ <li data-id="numero1" data-class="custom so-awesome" data-text="Next">
172
+ <h4>Stop #1</h4>
173
+ <p>You can control all the details for you tour stop. Any valid HTML will work inside of Joyride.</p>
174
+ </li>
175
+ <li data-id="numero2" data-button="Next" data-options="tipLocation:top;tipAnimation:fade">
176
+ <h4>Stop #2</h4>
177
+ <p>Get the details right by styling Joyride with a custom stylesheet!</p>
178
+ </li>
179
+ <li data-button="Next">
180
+ <h4>Stop #4</h4>
181
+ <p>It works as a modal too!</p>
182
+ </li>
183
+ </ol>
@@ -0,0 +1,76 @@
1
+ <% @side_nav = "type" %>
2
+
3
+ <div class="row">
4
+ <div class="large-9 push-3 columns">
5
+
6
+ <% @page_title = "Keystrokes" %>
7
+ <div class="row">
8
+ <div class="large-12 columns">
9
+ <h2><%= @page_title %></h2>
10
+ <h4 class="subheader">If you have keyboard affordances, you might need to explain them. To that end, there's a simple keystroke character affordance in Abstractio.</h4>
11
+ </div>
12
+ </div>
13
+
14
+ <div class="row">
15
+ <div class="large-12 columns">
16
+ <p>For example, to close your browser hit <kbd>Cmd</kbd> + <kbd>Q</kbd>. Don't actually do it. There's more docs to read.</p>
17
+
18
+ <hr>
19
+
20
+ <h3>Build With Predefined HTML Classes</h3>
21
+ <p>There are two ways to build keystrokes in Abstractio 4: with our predefined HTML or with our mixins. Building keystrokes using our predefined classes is simple, you simply wrap <code>kbd</code> or <code>.keystroke</code> around whatever you want to call out.</p>
22
+
23
+ <%= code_example '
24
+ <p>For example, to close your browser hit <kbd>Cmd</kbd> + <kbd>Q</kbd>', :html %>
25
+
26
+ <p>For these styles to come across, make sure you have the default Abstractio CSS package or that you've selected keystrokes from a custom package. These should be linked up following our <a href="../index.html">default HTML page structure.</a></p>
27
+
28
+ <hr>
29
+
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/themepile/abstractio/blob/master/scss/abstractio/_abstractio-global.scss">_abstractio-global.scss</a>, <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/components/_global.scss">_global.scss</a> and <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/components/_keystrokes.scss">_keystrokes.scss</a> from Github and throw them into a Abstractio folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
32
+
33
+ <%= code_example '
34
+ @import "abstractio/abstractio-global", "abstractio/components/global", "abstractio/components/keystrokes";
35
+ ', :css %>
36
+
37
+ <h5>Quick Mixin</h5>
38
+ <p>You can build your keystrokes using our global mixin by including it on your custom class or the <code>kbd</code> element in your own stylesheet. The mixin contains options for changing the background color, which also controls the border and text color. The rest of the defaults can be modified using the available variables. The global mixin looks like this:</p>
39
+
40
+ <%= code_example '
41
+ .your-class-name { @include keystroke($bg); }
42
+
43
+ /* You can set the background color of your keystrokes, which also effects text and border */
44
+ $bg: $keystroke-bg', :css %>
45
+
46
+ <p class="custom-keystroke">Here's an example of a custom <kbd>keystroke</kbd> style.</p>
47
+
48
+ <h5>Default SCSS Variables</h5>
49
+
50
+ <%= code_example '
51
+ /* We use these to control text styles. */
52
+ $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
53
+ $keystroke-font-size: emCalc(15px);
54
+ $keystroke-font-color: #222;
55
+ $keystroke-font-color-alt: #fff;
56
+ $keystroke-function-factor: 7%;
57
+
58
+ /* We use this to control keystroke padding. */
59
+ $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
60
+
61
+ /* We use these to control background and border styles. */
62
+ $keystroke-bg: darken(#fff, $keystroke-function-factor);
63
+ $keystroke-border-style: solid;
64
+ $keystroke-border-width: 1px;
65
+ $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
66
+ $keystroke-radius: $global-radius;', :css %>
67
+
68
+ <p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_abstractio-global.scss</strong>.</p>
69
+
70
+ </div>
71
+ </div>
72
+ </div>
73
+ <div class="large-3 pull-9 columns">
74
+ <%= render "_sidebar-components.html.erb" %>
75
+ </div>
76
+ </div>
@@ -0,0 +1,870 @@
1
+ <div class="row">
2
+ <div class="large-12 columns">
3
+ <div class="row">
4
+ <div class="large-12 columns">
5
+ <% @page_title = "Kitchen Sink" %>
6
+ <h2><%= @page_title %></h2>
7
+ <h4 class="subheader">This page included every single Abstractio element so that we can make sure things work together smoothly.</h4>
8
+ <hr>
9
+ </div>
10
+ </div>
11
+
12
+ <div class="row">
13
+ <div class="large-12 columns">
14
+
15
+ <h4>Alert Boxes</h4>
16
+
17
+ <div data-alert class="alert-box radius">
18
+ This is a standard alert (div.alert-box).
19
+ <a href="" class="close">&times;</a>
20
+ </div>
21
+
22
+ <div data-alert class="alert-box success">
23
+ This is a success alert (div.alert-box.success).
24
+ <a href="" class="close">&times;</a>
25
+ </div>
26
+
27
+ <div data-alert class="alert-box alert round">
28
+ This is an alert (div.alert-box.alert.round).
29
+ <a href="" class="close">&times;</a>
30
+ </div>
31
+
32
+ <div data-alert class="alert-box secondary">
33
+ This is a secondary alert (div.alert-box.secondary).
34
+ <a href="" class="close">&times;</a>
35
+ </div>
36
+
37
+ <hr>
38
+
39
+ <h4>Block Grid</h4>
40
+
41
+ <ul class="small-block-grid-2 large-block-grid-4">
42
+ <li><img class="th" src="../img/demos/demo1.jpg"></li>
43
+ <li><img class="th" src="../img/demos/demo2.jpg"></li>
44
+ <li><img class="th" src="../img/demos/demo3.jpg"></li>
45
+ <li><img class="th" src="../img/demos/demo4.jpg"></li>
46
+ </ul>
47
+
48
+ <hr>
49
+
50
+ <h4>Breadcrumbs</h4>
51
+
52
+ <ul class="breadcrumbs">
53
+ <li><a href="#">Home</a></li>
54
+ <li><a href="#">Features</a></li>
55
+ <li class="unavailable"><a href="#">Gene Splicing</a></li>
56
+ <li class="current"><a href="#">Cloning</a></li>
57
+ </ul>
58
+
59
+ <hr>
60
+
61
+ <h4>Buttons</h4>
62
+
63
+ <div class="row">
64
+ <div class="small-6 large-6 columns">
65
+ <a href="#" class="tiny button">.tiny.button</a><br>
66
+ <a href="#" class="small button">.small.button</a><br>
67
+ <a href="#" class="button">.button</a><br>
68
+ </div>
69
+ <div class="small-6 large-6 columns">
70
+ <a href="#" class="tiny button secondary">.tiny.secondary</a><br>
71
+ <a href="#" class="small button success radius">.small.success.radius</a><br>
72
+ <a href="#" class="button alert round disabled">.round.disabled</a><br>
73
+ </div>
74
+ </div>
75
+
76
+ <hr>
77
+
78
+ <h4>Button Groups</h4>
79
+
80
+ <ul class="button-group">
81
+ <li><a href="#" class="small button">Button 1</a></li>
82
+ <li><a href="#" class="small button">Button 2</a></li>
83
+ <li><a href="#" class="small button">Button 3</a></li>
84
+ </ul>
85
+ <ul class="button-group radius">
86
+ <li><a href="#" class="button secondary">Button 1</a></li>
87
+ <li><a href="#" class="button secondary">Button 2</a></li>
88
+ <li><a href="#" class="button secondary">Button 3</a></li>
89
+ <li><a href="#" class="button secondary">Button 4</a></li>
90
+ </ul>
91
+ <ul class="button-group round even-3">
92
+ <li><a href="#" class="button alert">Button 1</a></li>
93
+ <li><a href="#" class="button alert">Button 2</a></li>
94
+ <li><a href="#" class="button alert">Button 3</a></li>
95
+ </ul>
96
+ <ul class="button-group round even-3">
97
+ <li><input type="submit" class="button success" value="Button 1"></li>
98
+ <li><input type="submit" class="button success" value="Button 2"></li>
99
+ <li><input type="submit" class="button success" value="Button 3"></li>
100
+ </ul>
101
+
102
+ <hr>
103
+
104
+ <h4>Dropdown Buttons</h4>
105
+
106
+ <a href="#" data-dropdown="drop" class="tiny button dropdown">Dropdown Button</a><br>
107
+ <a href="#" data-dropdown="drop2" class="small secondary radius button dropdown">Dropdown Button</a><br>
108
+ <a href="#" data-dropdown="drop3" class="button alert round dropdown">Dropdown Button</a><br>
109
+ <a href="#" data-dropdown="drop4" class="large success button dropdown">Dropdown Button</a><br>
110
+ <a href="#" data-dropdown="drop5" class="large button dropdown expand">Dropdown Button</a>
111
+
112
+ <hr>
113
+
114
+ <h4>Split Buttons</h4>
115
+
116
+ <a href="#" class="tiny button split">Split Button <span data-dropdown="drop"></span></a><br>
117
+ <a href="#" class="small secondary radius button split">Split Button <span data-dropdown="drop2"></span></a><br>
118
+ <a href="#" class="button alert round split">Split Button <span data-dropdown="drop3"></span></a><br>
119
+ <a href="#" class="large success button split">Split Button <span data-dropdown="drop4"></span></a>
120
+
121
+ <hr>
122
+
123
+ <h4>Clearing</h4>
124
+
125
+ <div>
126
+ <ul class="clearing-thumbs" data-clearing>
127
+ <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>
128
+ <li><a class="th" href="../img/demos/demo2.jpg"><img src="../img/demos/demo2-th.jpg"></a></li>
129
+ <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>
130
+ <li><a class="th" href="../img/demos/demo4.jpg"><img src="../img/demos/demo4-th.jpg"></a></li>
131
+ <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>
132
+ </ul>
133
+ </div>
134
+
135
+ <hr>
136
+
137
+ <h4>Forms</h4>
138
+
139
+ <form>
140
+ <fieldset>
141
+ <legend>Fieldset</legend>
142
+
143
+ <div class="row">
144
+ <div class="large-12 columns">
145
+ <label>Input Label</label>
146
+ <input type="text" placeholder="large-12.columns">
147
+ </div>
148
+ </div>
149
+
150
+ <div class="row">
151
+ <div class="large-4 columns">
152
+ <label>Input Label</label>
153
+ <input type="text" placeholder="large-4.columns">
154
+ </div>
155
+ <div class="large-4 columns">
156
+ <label>Input Label</label>
157
+ <input type="text" placeholder="large-4.columns">
158
+ </div>
159
+ <div class="large-4 columns">
160
+ <div class="row collapse">
161
+ <label>Input Label</label>
162
+ <div class="small-9 columns">
163
+ <input type="text" placeholder="small-9.columns">
164
+ </div>
165
+ <div class="small-3 columns">
166
+ <span class="postfix">.com</span>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+
172
+ <div class="row">
173
+ <div class="large-12 columns">
174
+ <label>Textarea Label</label>
175
+ <textarea placeholder="small-12.columns"></textarea>
176
+ </div>
177
+ </div>
178
+
179
+ </fieldset>
180
+ </form>
181
+
182
+ <hr>
183
+
184
+ <h4>Custom Forms</h4>
185
+
186
+ <form class="custom">
187
+ <div class="row">
188
+ <div class="large-4 columns">
189
+ <label for="radio1"><input name="radio1" type="radio" id="radio1" style="display:none;" CHECKED><span class="custom radio checked"></span> Radio Button 1</label>
190
+ <label for="radio1"><input name="radio1" type="radio" id="radio1" style="display:none;"><span class="custom radio"></span> Radio Button 2</label>
191
+ <label for="radio1"><input name="radio1" type="radio" id="radio1" disabled style="display:none;"><span class="custom radio"></span> Radio Button 3</label>
192
+ </div>
193
+ <div class="large-4 columns">
194
+ <label for="checkbox1"><input type="checkbox" id="checkbox1" style="display: none;"><span class="custom checkbox"></span> Label for Checkbox</label>
195
+ <label for="checkbox2"><input type="checkbox" id="checkbox2" CHECKED style="display: none;"><span class="custom checkbox checked"></span> Label for Checkbox</label>
196
+ <label for="checkbox3"><input type="checkbox" CHECKED id="checkbox3" style="display: none;"><span class="custom checkbox checked"></span> Label for Checkbox</label>
197
+ </div>
198
+ <div class="large-4 columns">
199
+ <label for="customDropdown1">Medium Example</label>
200
+ <select id="customDropdown1" class="medium">
201
+ <option DISABLED>This is a dropdown</option>
202
+ <option>This is another option</option>
203
+ <option>This is another option too</option>
204
+ <option>Look, a third option</option>
205
+ </select>
206
+ </div>
207
+ </div>
208
+ </form>
209
+
210
+ <hr>
211
+
212
+ <h4>Dropdowns</h4>
213
+
214
+ <a href="#" class="button" data-dropdown="tinyDrop">Link Dropdown &raquo;</a>
215
+ <a href="#" class="button" data-dropdown="contentDrop">Content Dropdown &raquo;</a>
216
+
217
+ <hr>
218
+
219
+ <h4>Flex Video</h4>
220
+
221
+ <div class="flex-video">
222
+ <iframe width="420" height="315" src="http://www.youtube.com/embed/0_EW8aNgKlA" frameborder="0" allowfullscreen></iframe>
223
+ </div>
224
+
225
+ <hr>
226
+
227
+ <h4>Inline Lists</h4>
228
+
229
+ <ul class="inline-list">
230
+ <li><a href="#">Link 1</a></li>
231
+ <li><a href="#">Link 2</a></li>
232
+ <li><a href="#">Link 3</a></li>
233
+ <li><a href="#">Link 4</a></li>
234
+ <li><a href="#">Link 5</a></li>
235
+ </ul>
236
+
237
+ <hr>
238
+
239
+ <h4>Joyride</h4>
240
+
241
+ <a id="start-jr" class="secondary button">Start Joyride</a>
242
+ <h5 id="numero1" class="so-awesome">Build Joyride with HTML</h5>
243
+ <p id="numero2" class="so-awesome">Stop Number 2 for You!</p>
244
+
245
+ <hr>
246
+
247
+ <h4>Keystroke</h4>
248
+
249
+ <p>To make something pretty, press and hold <kbd>cmd + alt + shift + w + a + !</kbd></p>
250
+
251
+ <hr>
252
+
253
+ <h4>Labels</h4>
254
+
255
+ <p>
256
+ <span class="label">Regular Label</span><br>
257
+ <span class="radius secondary label">Radius Secondary Label</span><br>
258
+ <span class="round alert label">Round Alert Label</span><br>
259
+ <span class="success label">Success Label</span><br>
260
+ </p>
261
+
262
+ <hr>
263
+
264
+ <h4>Magellan</h4>
265
+
266
+ <div data-magellan-expedition="fixed">
267
+ <dl class="sub-nav">
268
+ <dd data-magellan-arrival="build"><a href="#build">Build with HTML</a></dd>
269
+ <dd data-magellan-arrival="js"><a href="#js">Using Javascript</a></dd>
270
+ </dl>
271
+ </div>
272
+
273
+ <h5 data-magellan-destination="build">Build With Predefined HTML Structure</h5>
274
+ <p>Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Vestibulum id ligula porta felis euismod semper.</p>
275
+ <h5 data-magellan-destination="js">Awesome JS Goodness</h5>
276
+ <p>Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Vestibulum id ligula porta felis euismod semper.</p>
277
+
278
+ <hr>
279
+
280
+ <h4>Orbit</h4>
281
+
282
+ <div class="row">
283
+ <div class="large-6 columns">
284
+ <ul id="featured1" data-orbit data-options="timer_speed:5000;">
285
+ <li>
286
+ <img src="../img/demos/demo1.jpg" />
287
+ <div class="orbit-caption">
288
+ Caption One. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
289
+ </div>
290
+ </li>
291
+ <li>
292
+ <img src="../img/demos/demo2.jpg" />
293
+ <div class="orbit-caption">
294
+ Caption Two. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
295
+ </div>
296
+ </li>
297
+ <li>
298
+ <img src="../img/demos/demo3.jpg" />
299
+ <div class="orbit-caption">
300
+ Caption Three. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
301
+ </div>
302
+ </li>
303
+ </ul>
304
+ </div>
305
+ </div>
306
+
307
+ <hr>
308
+
309
+ <h4>Pagination</h4>
310
+
311
+ <ul class="pagination">
312
+ <li class="arrow unavailable"><a href="">&laquo;</a></li>
313
+ <li class="current"><a href="">1</a></li>
314
+ <li><a href="">2</a></li>
315
+ <li><a href="">3</a></li>
316
+ <li><a href="">4</a></li>
317
+ <li class="unavailable"><a href="">&hellip;</a></li>
318
+ <li><a href="">12</a></li>
319
+ <li><a href="">13</a></li>
320
+ <li class="arrow"><a href="">&raquo;</a></li>
321
+ </ul>
322
+
323
+ <hr>
324
+
325
+ <h4>Panels</h4>
326
+
327
+ <div class="row">
328
+ <div class="large-6 columns">
329
+ <div class="panel">
330
+ <h5>This is a regular panel.</h5>
331
+ <p>It has an easy to override visual style, and is appropriately subdued.</p>
332
+ </div>
333
+ </div>
334
+ <div class="large-6 columns">
335
+ <div class="panel callout radius">
336
+ <h5>This is a callout panel.</h5>
337
+ <p>It's a little ostentatious, but useful for important content.</p>
338
+ </div>
339
+ </div>
340
+ </div>
341
+
342
+ <hr>
343
+
344
+ <h4>Pricing Tables</h4>
345
+
346
+ <div class="row">
347
+ <div class="large-4 columns">
348
+ <ul class="pricing-table">
349
+ <li class="title">Standard</li>
350
+ <li class="price">$99.99</li>
351
+ <li class="description">An awesome description</li>
352
+ <li class="bullet-item">1 Database</li>
353
+ <li class="bullet-item">5GB Storage</li>
354
+ <li class="bullet-item">20 Users</li>
355
+ <li class="cta-button"><a class="button" href="#">Buy Now</a></li>
356
+ </ul>
357
+ </div>
358
+ </div>
359
+
360
+ <hr>
361
+
362
+ <h4>Progress Bars</h4>
363
+
364
+ <div class="progress large-6"><span class="meter" style="width: 40%"></span></div>
365
+ <div class="radius progress success large-8"><span class="meter" style="width: 80%"></span></div>
366
+ <div class="nice round progress alert large-10"><span class="meter" style="width: 30%"></span></div>
367
+ <div class="nice secondary progress"><span class="meter" style="width: 50%"></span></div>
368
+
369
+ <hr>
370
+
371
+ <h4>Reveal</h4>
372
+
373
+ <a href="#" data-reveal-id="firstModal" class="radius button">Example Modal&hellip;</a>
374
+ <a href="#" data-reveal-id="videoModal" class="radius button">Example Modal w/Video&hellip;</a>
375
+
376
+ <hr>
377
+
378
+ <h4>Section</h4>
379
+
380
+ <div class="row">
381
+ <div class="large-3 columns">
382
+ <div class="section-container vertical-nav" data-section="vertical-nav">
383
+ <section class="section">
384
+ <p class="title"><a href="#">Section 1</a></p>
385
+ <div class="content">
386
+ <ul class="side-nav">
387
+ <li><a href="#">Link 1</a></li>
388
+ <li><a href="#">Link 2</a></li>
389
+ <li><a href="#">Link 3</a></li>
390
+ <li class="divider"></li>
391
+ <li><a href="#">Link 1</a></li>
392
+ </ul>
393
+ </div>
394
+ </section>
395
+ <section class="section">
396
+ <p class="title"><a href="#">Section 2</a></p>
397
+ <div class="content">
398
+ <ul class="side-nav">
399
+ <li><a href="#">Link 1</a></li>
400
+ <li><a href="#">Link 2</a></li>
401
+ <li><a href="#">Link 3</a></li>
402
+ <li class="divider"></li>
403
+ <li><a href="#">Link 1</a></li>
404
+ </ul>
405
+ </div>
406
+ </section>
407
+ </div>
408
+ </div>
409
+ <div class="large-9 columns">
410
+ <div class="section-container horizontal-nav" data-section="horizontal-nav">
411
+ <section class="section">
412
+ <p class="title"><a href="#">Section 1</a></p>
413
+ <div class="content">
414
+ <ul class="side-nav">
415
+ <li><a href="#">Link 1</a></li>
416
+ <li><a href="#">Link 2</a></li>
417
+ <li><a href="#">Link 3</a></li>
418
+ <li class="divider"></li>
419
+ <li><a href="#">Link 1</a></li>
420
+ </ul>
421
+ </div>
422
+ </section>
423
+ <section class="section">
424
+ <p class="title"><a href="#">Section 2</a></p>
425
+ <div class="content">
426
+ <ul class="side-nav">
427
+ <li><a href="#">Link 1</a></li>
428
+ <li><a href="#">Link 2</a></li>
429
+ <li><a href="#">Link 3</a></li>
430
+ <li class="divider"></li>
431
+ <li><a href="#">Link 1</a></li>
432
+ </ul>
433
+ </div>
434
+ </section>
435
+ </div>
436
+ <div class="section-container auto" data-section data-options="deep_linking: true;">
437
+ <section class="section">
438
+ <p class="title"><a href="#panel1">Section 1</a></p>
439
+ <div class="content" data-slug="panel1">
440
+ <p>Section 1. 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>
441
+ </div>
442
+ </section>
443
+ <section class="section">
444
+ <p class="title"><a href="#panel2">Section 2</a></p>
445
+ <div class="content" data-slug="panel2">
446
+ <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>
447
+ </div>
448
+ </section>
449
+ <div class="section">
450
+ <p class="title"><a href="#panel3">Section 3</a></p>
451
+ <div class="content" data-slug="panel3">
452
+ <form>
453
+ <div class="row collapse">
454
+ <div class="large-2 columns">
455
+ <label class="inline">Your Name</label>
456
+ </div>
457
+ <div class="large-10 columns">
458
+ <input type="text" id="yourName" placeholder="Jane Smith">
459
+ </div>
460
+ </div>
461
+ <div class="row collapse">
462
+ <div class="large-2 columns">
463
+ <label class="inline"> Your Email</label>
464
+ </div>
465
+ <div class="large-10 columns">
466
+ <input type="text" id="yourEmail" placeholder="jane@smithco.com">
467
+ </div>
468
+ </div>
469
+ <label>What's up?</label>
470
+ <textarea rows="4"></textarea>
471
+ <button type="submit" class="radius button">Submit</button>
472
+ </form>
473
+ </div>
474
+ </div>
475
+ </div>
476
+ <div class="section-container accordion" data-section="accordion">
477
+ <section class="section">
478
+ <p class="title"><a href="#panel1">Section 1</a></p>
479
+ <div class="content" data-slug="panel1">
480
+ <p>Section 1. 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>
481
+ </div>
482
+ </section>
483
+ <section class="section">
484
+ <p class="title"><a href="#panel2">Section 2</a></p>
485
+ <div class="content" data-slug="panel2">
486
+ <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>
487
+ </div>
488
+ </section>
489
+ <section class="section">
490
+ <p class="title"><a href="#panel3">Section 3</a></p>
491
+ <div class="content" data-slug="panel3">
492
+ <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>
493
+ </div>
494
+ </section>
495
+ </div>
496
+ <div class="section-container tabs" data-section="tabs">
497
+ <section class="section">
498
+ <p class="title"><a href="#panel1">Section 1</a></p>
499
+ <div class="content" data-slug="panel1">
500
+ <p>Section 1. 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>
501
+ </div>
502
+ </section>
503
+ <section class="section">
504
+ <p class="title"><a href="#panel2">Section 2</a></p>
505
+ <div class="content" data-slug="panel2">
506
+ <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>
507
+ </div>
508
+ </section>
509
+ <section class="section">
510
+ <p class="title"><a href="#panel3">Section 3</a></p>
511
+ <div class="content" data-slug="panel3">
512
+ <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>
513
+ </div>
514
+ </section>
515
+ </div>
516
+ </div>
517
+ </div>
518
+
519
+ <hr>
520
+
521
+ <h4>Side Nav</h4>
522
+
523
+ <div class="row">
524
+ <div class="large-4 columns end">
525
+ <ul class="side-nav">
526
+ <li class="active"><a href="#">Link 1</a></li>
527
+ <li><a href="#">Link 2</a></li>
528
+ <li class="divider"></li>
529
+ <li><a href="#">Link 3</a></li>
530
+ <li><a href="#">Link 4</a></li>
531
+ </ul>
532
+ </div>
533
+ </div>
534
+
535
+ <hr>
536
+
537
+ <h4>Sub Nav</h4>
538
+
539
+ <dl class="sub-nav">
540
+ <dt>Filter:</dt>
541
+ <dd class="active"><a href="#">All</a></dd>
542
+ <dd><a href="#">Active</a></dd>
543
+ <dd><a href="#">Pending</a></dd>
544
+ <dd><a href="#">Suspended</a></dd>
545
+ </dl>
546
+
547
+ <hr>
548
+
549
+ <h4>Switch</h4>
550
+
551
+ <div class="small-2 switch tiny">
552
+ <input id="a" name="switch-a" type="radio" checked>
553
+ <label for="a" onclick="">Off</label>
554
+
555
+ <input id="a1" name="switch-a" type="radio">
556
+ <label for="a1" onclick="">On</label>
557
+
558
+ <span></span>
559
+ </div>
560
+
561
+ <div class="small-3 switch small">
562
+ <input id="b" name="switch-b" type="radio" checked>
563
+ <label for="b" onclick="">Off</label>
564
+
565
+ <input id="b1" name="switch-b" type="radio">
566
+ <label for="b1" onclick="">On</label>
567
+
568
+ <span></span>
569
+ </div>
570
+
571
+ <div class="small-4 switch radius">
572
+ <input id="c" name="switch-c" type="radio" checked>
573
+ <label for="c" onclick="">Off</label>
574
+
575
+ <input id="c1" name="switch-c" type="radio">
576
+ <label for="c1" onclick="">On</label>
577
+
578
+ <span></span>
579
+ </div>
580
+
581
+ <div class="small-6 switch large round">
582
+ <input id="d" name="switch-d" type="radio" checked>
583
+ <label for="d" onclick="">Off</label>
584
+
585
+ <input id="d1" name="switch-d" type="radio">
586
+ <label for="d1" onclick="">On</label>
587
+
588
+ <span></span>
589
+ </div>
590
+
591
+ <hr>
592
+
593
+ <h4>Tables</h4>
594
+
595
+ <table>
596
+ <thead>
597
+ <tr>
598
+ <th width="200">Table Header</th>
599
+ <th>Table Header</th>
600
+ <th width="150">Table Header</th>
601
+ <th width="150">Table Header</th>
602
+ </tr>
603
+ </thead>
604
+ <tbody>
605
+ <tr>
606
+ <td>Content Goes Here</td>
607
+ <td>This is longer content Donec id elit non mi porta gravida at eget metus.</td>
608
+ <td>Content Goes Here</td>
609
+ <td>Content Goes Here</td>
610
+ </tr>
611
+ <tr>
612
+ <td>Content Goes Here</td>
613
+ <td>This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.</td>
614
+ <td>Content Goes Here</td>
615
+ <td>Content Goes Here</td>
616
+ </tr>
617
+ <tr>
618
+ <td>Content Goes Here</td>
619
+ <td>This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.</td>
620
+ <td>Content Goes Here</td>
621
+ <td>Content Goes Here</td>
622
+ </tr>
623
+ </tbody>
624
+ </table>
625
+
626
+ <hr>
627
+
628
+ <h4>Thumbnails</h4>
629
+
630
+ <p><a class="th" href="../img/demos/demo1.jpg"><img src="../img/demos/demo1-th.jpg"></a></p>
631
+ <img class="th" src="../img/demos/demo2-th.jpg">
632
+
633
+ <hr>
634
+
635
+ <h4>Tooltips</h4>
636
+
637
+ <p>The tooltips can be positioned on the <span data-tooltip class="has-tip" data-width="210" title="I'm on bottom and the default position.">"tip-bottom"</span>, which is the default position, <span data-tooltip class="has-tip tip-top noradius" data-width="210" title="I'm on the top and I'm not rounded!">"tip-top" (hehe)</span>, <span data-tooltip="left" class="has-tip tip-left" data-width="90" title="I'm on the left!">"tip-left"</span>, or <span data-tooltip="right" class="has-tip tip-right" data-width="120" title="I'm on the right!">"tip-right"</span> of the target element by adding the appropriate class to them. You can even add your own custom class to style each tip differently. On a small device, the tooltips are full width and bottom aligned.</p>
638
+
639
+ <hr>
640
+
641
+ <h4>Top Bar</h4>
642
+
643
+ <nav class="top-bar">
644
+ <ul class="title-area">
645
+ <!-- Title Area -->
646
+ <li class="name">
647
+ <h1><a href="/">Top Bar</a></h1>
648
+ </li>
649
+ <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
650
+ <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
651
+ </ul>
652
+
653
+ <section class="top-bar-section">
654
+ <ul class="left">
655
+ <li class="divider"></li>
656
+ <li class="has-dropdown"><a href="<%= features_path %>">Item 1</a>
657
+
658
+ <ul class="dropdown">
659
+ <li><label>Level One</label></li>
660
+ <li><a href="#">Sub-item 1</a></li>
661
+ <li><a href="#">Sub-item 2</a></li>
662
+ <li class="divider"></li>
663
+ <li><a href="#">Sub-item 3</a></li>
664
+ <li class="has-dropdown"><a href="#">Sub-item 4</a>
665
+
666
+ <ul class="dropdown">
667
+ <li><label>Level Two</label></li>
668
+ <li class="has-dropdown"><a href="#">Sub-item 1</a>
669
+
670
+ <ul class="dropdown">
671
+ <li><label>Level Three</label></li>
672
+ <li class="has-dropdown"><a href="#">Sub-item 1</a>
673
+
674
+ <ul class="dropdown">
675
+ <li><label>Level Four</label></li>
676
+ <li><a href="#">Sub-item 1</a></li>
677
+ </ul>
678
+ </li>
679
+ <li><a href="#">Sub-item 2</a></li>
680
+ <li><a href="#">Sub-item 3</a></li>
681
+ <li class="divider"></li>
682
+ <li><a href="#">Sub-item 4</a></li>
683
+ </ul>
684
+ </li>
685
+ <li><a href="#">Sub-item 2</a></li>
686
+ <li><a href="#">Sub-item 3</a></li>
687
+ <li><a href="#">Sub-item 4</a>
688
+ </ul>
689
+ </li>
690
+ <li><a href="#">Sub-item 5</a></li>
691
+ </ul>
692
+ </li>
693
+ <li class="divider"></li>
694
+ </ul>
695
+ <!-- Right Nav Section -->
696
+ <ul class="right">
697
+ <li class="divider hide-for-small"></li>
698
+ <li><a href="#">Item 2</a></li>
699
+ </ul>
700
+ </section>
701
+ </nav>
702
+
703
+ <hr>
704
+
705
+ <h4>Type</h4>
706
+
707
+ <h1>h1. This is a very large header.</h1>
708
+ <h2>h2. This is a large header.</h2>
709
+ <h3>h3. This is a medium header.</h3>
710
+ <h4>h4. This is a moderate header.</h4>
711
+ <h5>h5. This is a small header. h1.</h5>
712
+ <h6>h6. This is a tiny header. h1.</h6>
713
+
714
+ <br>
715
+
716
+ <h1 class="subheader">h1.subheader</h1>
717
+ <h2 class="subheader">h2.subheader</h2>
718
+ <h3 class="subheader">h3.subheader</h3>
719
+ <h4 class="subheader">h4.subheader</h4>
720
+ <h5 class="subheader">h5.subheader</h5>
721
+ <h6 class="subheader">h6.subheader</h6>
722
+
723
+ <br>
724
+
725
+ <ul class="disc">
726
+ <li>List item with a much longer description or more content.</li>
727
+ <li>List item</li>
728
+ <li>List item
729
+ <ul>
730
+ <li>Nested List Item</li>
731
+ <li>Nested List Item</li>
732
+ <li>Nested List Item</li>
733
+ </ul>
734
+ </li>
735
+ <li>List item</li>
736
+ <li>List item</li>
737
+ <li>List item</li>
738
+ </ul>
739
+
740
+ <!-- Ordered lists are great for lists that need order, duh -->
741
+ <ol>
742
+ <li>List Item 1</li>
743
+ <li>List Item 2</li>
744
+ <li>List Item 3</li>
745
+ </ol>
746
+
747
+ <!-- Definition lists are great for small block of copy that describe the header -->
748
+ <dl>
749
+ <dt>Definition List</dt>
750
+ <dd>Definition Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nullam id dolor id nibh ultricies vehicula ut id elit.</dd>
751
+ </dl>
752
+
753
+ <br>
754
+
755
+ <blockquote>I do not fear computers. I fear the lack of them. Maecenas faucibus mollis interdum. Aenean lacinia bibendum nulla sed consectetur.<cite>Isaac Asimov</cite></blockquote>
756
+
757
+ <br>
758
+
759
+ <ul class="vcard">
760
+ <li class="fn">Gaius Baltar</li>
761
+ <li class="street-address">123 Colonial Ave.</li>
762
+ <li class="locality">Caprica City</li>
763
+ <li><span class="state">Caprica</span>, <span class="zip">12345</span></li>
764
+ <li class="email"><a href="#">g.baltar@cmail.com</a></li>
765
+ </ul>
766
+
767
+ <hr>
768
+
769
+ <h4>Visibility Classes</h4>
770
+
771
+ <h5>Screen Size Visibility Control (Show)</h5>
772
+ <p>The following text should describe the screen size you're using:</p>
773
+ <p class="panel">
774
+ <strong class="show-for-small">You are on a small screen.</strong>
775
+ <strong class="show-for-medium">You are on a medium screen.</strong>
776
+ <strong class="show-for-medium-up">You are on a medium, large or xlarge screen.</strong>
777
+ <strong class="show-for-medium-down">You are on a medium or small screen.</strong>
778
+ <strong class="show-for-large">You are on a large screen.</strong>
779
+ <strong class="show-for-large-up">You are on a large or xlarge screen.</strong>
780
+ <strong class="show-for-large-down">You are on a large, medium or small screen.</strong>
781
+ <strong class="show-for-xlarge">You are on a xlarge screen.</strong>
782
+ </p>
783
+
784
+ <h5>Screen Size Visibility Control (Hide)</h5>
785
+ <p>The following text should describe the screen size you aren't using:</p>
786
+ <p class="panel">
787
+ <strong class="hide-for-small">You are <em>not</em> on a small screen.</strong>
788
+ <strong class="hide-for-medium">You are <em>not</em> on a medium screen.</strong>
789
+ <strong class="hide-for-medium-up">You are <em>not</em> on a medium, large or xlarge screen.</strong>
790
+ <strong class="hide-for-medium-down">You are <em>not</em> on a medium or small screen.</strong>
791
+ <strong class="hide-for-large">You are <em>not</em> on a large screen.</strong>
792
+ <strong class="hide-for-large-up">You are <em>not</em> on a large or xlarge screen.</strong>
793
+ <strong class="hide-for-large-down">You are <em>not</em> on a large, medium or small screen.</strong>
794
+ <strong class="hide-for-xlarge">You are <em>not</em> on a xlarge screen.</strong>
795
+ </p>
796
+
797
+ <h5>Orientation Detection</h5>
798
+ <p>The following text should describe the device orientation you're using:</p>
799
+ <p class="panel">
800
+ <strong class="show-for-landscape">You are in landscape orientation.</strong>
801
+ <strong class="show-for-portrait">You are in portrait orientation.</strong>
802
+ </p>
803
+
804
+ <h5>Touch Detection</h5>
805
+ <p>The following text should describe if you're using a touch device:</p>
806
+ <p class="panel">
807
+ <strong class="show-for-touch">You are on a touch-enabled device.</strong>
808
+ <strong class="hide-for-touch">You are not on a touch-enabled device.</strong>
809
+ </p>
810
+
811
+
812
+ </div>
813
+ </div>
814
+
815
+ </div>
816
+
817
+ </div>
818
+
819
+ <!-- Dropdowns -->
820
+ <ul id="tinyDrop" class="f-dropdown" data-dropdown-content>
821
+ <li><a href="#">This is a link</a></li>
822
+ <li><a href="#">This is another</a></li>
823
+ <li><a href="#">Yet another</a></li>
824
+ </ul>
825
+ <div id="contentDrop" class="f-dropdown content medium" data-dropdown-content>
826
+ <h4>Title</h4>
827
+ <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>
828
+ <img src="../img/demos/demo1.jpg">
829
+ <p>More test.</p>
830
+ <a href="#" class="button">Button</a>
831
+ </div>
832
+
833
+ <!-- Joyride -->
834
+ <ol class="joyride-list" data-joyride>
835
+ <li data-id="numero1" data-class="custom so-awesome" data-text="Next">
836
+ <h4>Stop #1</h4>
837
+ <p>You can control all the details for you tour stop. Any valid HTML will work inside of Joyride.</p>
838
+ </li>
839
+ <li data-id="numero2" data-button="Next">
840
+ <h4>Stop #2</h4>
841
+ <p>Get the details right by styling Joyride with a custom stylesheet!</p>
842
+ </li>
843
+ <li data-button="Next">
844
+ <h4>Stop #3</h4>
845
+ <p>It works as a modal too!</p>
846
+ </li>
847
+ </ol>
848
+
849
+ <!-- Reveal Modals -->
850
+ <div id="firstModal" class="reveal-modal">
851
+ <h2>This is a modal.</h2>
852
+ <p>Reveal makes these very easy to summon and dismiss. The close button is simply an anchor with a unicode character icon and a class of <code>close-reveal-modal</code>. Clicking anywhere outside the modal will also dismiss it.</p>
853
+ <p>Finally, if your modal summons another Reveal modal, the plugin will handle that for you gracefully.</p>
854
+ <p><a href="#" data-reveal-id="secondModal" class="secondary button">Second Modal…</a></p>
855
+ <a class="close-reveal-modal">&#215;</a>
856
+ </div>
857
+ <div id="secondModal" class="reveal-modal">
858
+ <h2>This is a second modal.</h2>
859
+ <p>Reveal makes these very easy to summon and dismiss. The close button is simply an anchor with a unicode character icon and a class of <code>close-reveal-modal</code>. Clicking anywhere outside the modal will also dismiss it.</p>
860
+ <p>Finally, if your modal summons another Reveal modal, the plugin will handle that for you gracefully.</p>
861
+ <a class="close-reveal-modal">&#215;</a>
862
+ </div>
863
+ <div id="videoModal" class="reveal-modal large">
864
+ <h2>This modal has video</h2>
865
+ <div class="flex-video">
866
+ <iframe width="800" height="315" src="http://www.youtube.com/embed/IkOQw96cfyE" frameborder="0" allowfullscreen></iframe>
867
+ </div>
868
+
869
+ <a class="close-reveal-modal">&#215;</a>
870
+ </div>