zurb-foundation 3.2.3 → 3.2.4.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +19 -0
- data/README.md +1 -0
- data/foundation.gemspec +1 -1
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_settings.scss +8 -3
- data/scss/foundation/common/_forms.scss +6 -8
- data/scss/foundation/components/_grid.scss +8 -8
- data/scss/foundation/components/modules/_buttons.scss +11 -12
- data/scss/foundation/components/modules/_clearing.scss +1 -1
- data/scss/foundation/components/modules/_mqueries.scss +9 -9
- data/scss/foundation/components/modules/_orbit.scss +16 -16
- data/scss/foundation/components/modules/_reveal.scss +1 -2
- data/scss/foundation/components/modules/_tabs.scss +3 -3
- data/scss/foundation/components/modules/_topbar.scss +31 -5
- data/scss/foundation/components/modules/_ui.scss +7 -2
- data/scss/foundation/mixins/_semantic-grid.scss +3 -3
- data/templates/project/scss/_settings.scss +2 -0
- data/test/buttons.html +1 -0
- data/test/elements.html +1 -1
- data/test/grid.html +0 -11
- data/test/navigation.html +22 -0
- data/test/orbit.html +2 -1
- data/test/scss/_settings.scss +2 -0
- data/test/topbar-login.html +194 -0
- data/test/topbar.html +50 -95
- data/vendor/assets/javascripts/foundation/app.js +4 -1
- data/vendor/assets/javascripts/foundation/jquery.foundation.accordion.js +33 -24
- data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +3 -3
- data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +21 -5
- data/vendor/assets/javascripts/foundation/jquery.foundation.joyride.js +6 -6
- data/vendor/assets/javascripts/foundation/jquery.foundation.magellan.js +29 -22
- data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +10 -5
- data/vendor/assets/javascripts/foundation/jquery.foundation.tabs.js +14 -4
- data/vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js +17 -8
- data/vendor/assets/javascripts/foundation/jquery.foundation.topbar.js +17 -1
- metadata +12 -14
- data/marketing/.rbenv-version +0 -1
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
/* Alerts ---------------------- */
|
26
26
|
|
27
|
-
div.alert-box { display: block; padding: 6px 7px 7px; font-weight: bold; font-size: ms(0); color: $white; background-color: $mainColor; border: 1px solid rgba(#000,.1); margin-bottom: 12px; @include border-radius(
|
27
|
+
div.alert-box { display: block; padding: 6px 7px 7px; font-weight: bold; font-size: ms(0); color: $white; background-color: $mainColor; border: 1px solid rgba(#000,.1); margin-bottom: 12px; @include border-radius($alertBorderRadius); text-shadow: 0 -1px rgba(#000,.3); position: relative;
|
28
28
|
|
29
29
|
&.success { background-color: $successColor; color: #fff; text-shadow: 0 -1px rgba(#000,.3); }
|
30
30
|
&.alert { background-color: $alertColor; color: #fff; text-shadow: 0 -1px rgba(#000,.3); }
|
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
&>.nub { display: block; width: 0; height: 0; border: solid 5px; border-color: transparent transparent $tooltipBackgroundColor transparent; border-color: transparent transparent rgba($tooltipBackgroundColor,$tooltipBackgroundOpacity) transparent; position: absolute; top: -10px; #{$defaultFloat}: 10px; }
|
64
64
|
&.tip-override>.nub { border-color: transparent transparent $tooltipBackgroundColor transparent !important; border-color: transparent transparent rgba($tooltipBackgroundColor,$tooltipBackgroundOpacity) transparent !important; top: -10px !important; }
|
65
|
-
&.tip-top>.nub { border-color: $tooltipBackgroundColor transparent transparent transparent; border-color: rgba($tooltipBackgroundColor,$tooltipBackgroundOpacity) transparent transparent transparent; top: auto; bottom: -10px; }
|
65
|
+
&.tip-top>.nub, &.tip-centered-top>.nub { border-color: $tooltipBackgroundColor transparent transparent transparent; border-color: rgba($tooltipBackgroundColor,$tooltipBackgroundOpacity) transparent transparent transparent; top: auto; bottom: -10px; }
|
66
66
|
|
67
67
|
&.tip-left, &.tip-right { float: none !important; }
|
68
68
|
|
@@ -162,6 +162,11 @@
|
|
162
162
|
|
163
163
|
}
|
164
164
|
|
165
|
+
div.pagination-centered { text-align: center;
|
166
|
+
|
167
|
+
ul > li { float: none; display: inline-block; }
|
168
|
+
}
|
169
|
+
|
165
170
|
/* Breadcrums ---------------------- */
|
166
171
|
|
167
172
|
ul.breadcrumbs { display: block; background: lighten($secondaryColor, 5%); padding: 6px 10px 7px; border: 1px solid $secondaryColor; @include border-radius(2px); overflow: hidden; margin-#{$defaultFloat}: 0;
|
@@ -17,9 +17,9 @@
|
|
17
17
|
// Columns mixin, syntax is ($columns, $behavior). Behavior can be 'centered' which centers things or 'collapse' which collapses the gutters. ex @include row(4,[center | collapse])
|
18
18
|
|
19
19
|
@mixin column($columns:$columns, $behavior: false) {
|
20
|
-
@if $behavior == center { @extend %fl-n; margin:
|
21
|
-
} @else if $behavior == collapse { @extend %fl-l; @extend %c-base; padding: 0; width: gridCalc($columns, $totalColumns); @include respondTo(smallScreen) { float:
|
22
|
-
} @else { @extend %fl-l; @extend %c-base; width: gridCalc($columns, $totalColumns); @include respondTo(smallScreen) { float:
|
20
|
+
@if $behavior == center { @extend %fl-n; margin-left: auto; margin-right: auto; @extend %c-base; width: gridCalc($columns, $totalColumns); @include respondTo(smallScreen) { float: none; width: auto; }
|
21
|
+
} @else if $behavior == collapse { @extend %fl-l; @extend %c-base; padding: 0; width: gridCalc($columns, $totalColumns); @include respondTo(smallScreen) { float: none; width: auto; }
|
22
|
+
} @else { @extend %fl-l; @extend %c-base; width: gridCalc($columns, $totalColumns); @include respondTo(smallScreen) { float: none; width: auto; } }
|
23
23
|
}
|
24
24
|
|
25
25
|
// Offset Mixin, include after a column mixin to manipulate its grid offset.
|
@@ -112,6 +112,7 @@
|
|
112
112
|
// $topBarSearchWidth: 200px;
|
113
113
|
// $topBarBreakPoint: 940px; // Change to 9999px for always mobile layout
|
114
114
|
// $topBarNavToggleSize: 8px;
|
115
|
+
// $topBarNavToggleColor: #fff;
|
115
116
|
|
116
117
|
// UI Settings
|
117
118
|
|
@@ -122,6 +123,7 @@
|
|
122
123
|
// $progBarPad: 2px;
|
123
124
|
// $linkListBottomMargin: 17px -22px;
|
124
125
|
// $tableBorderRadius: 3px;
|
126
|
+
// $alertBorderRadius: 3px;
|
125
127
|
|
126
128
|
// Tooltip Settings
|
127
129
|
|
data/test/buttons.html
CHANGED
@@ -133,6 +133,7 @@
|
|
133
133
|
<ul>
|
134
134
|
<li><a href="#">Dropdown Item</a></li>
|
135
135
|
<li><a href="#">Another Dropdown Item</a></li>
|
136
|
+
<li><button name="action" onclick="javascript: alert('button clicked')">Button Element</button></li>
|
136
137
|
<li class="divider"></li>
|
137
138
|
<li><a href="#">Last Item</a></li>
|
138
139
|
</ul>
|
data/test/elements.html
CHANGED
@@ -168,7 +168,7 @@
|
|
168
168
|
</div>
|
169
169
|
<br>
|
170
170
|
<div class="eight columns">
|
171
|
-
<p>The tooltips can be positioned on the <span class="has-tip" data-width="210" title="I'm on bottom and the default position.">"tip-bottom"</span>, which is the default position, <span 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 class="has-tip tip-left" data-width="90" title="I'm on the left!">"tip-left"</span>, or <span class="has-tip tip-right" data-width="120" title="I'm on the right!">"tip-right"</span> of the target element. On a small device, the tooltips are full width and bottom aligned.</p>
|
171
|
+
<p>The tooltips can be positioned on the <span class="has-tip" data-width="210" title="I'm on bottom and the default position.">"tip-bottom"</span>, which is the default position, <span 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 class="has-tip tip-left" data-width="90" title="I'm on the left!">"tip-left"</span>, or <span class="has-tip tip-right" data-width="120" title="I'm on the right!">"tip-right"</span> of the target element. Centered tips are avaliable in bottom <span class="has-tip tip-centered-bottom" data-width="180" title="I'm a centered tip below the target element.">tip-centered-bottom</span> and in top <span class="has-tip tip-centered-top" data-width="120" title="I'm a centered tip above the target element.">tip-centered-top</span> flavors for an element. On a small device, the tooltips are full width and bottom aligned.</p>
|
172
172
|
|
173
173
|
<h3>Custom Options</h3>
|
174
174
|
<p>
|
data/test/grid.html
CHANGED
@@ -54,17 +54,6 @@
|
|
54
54
|
<h3>The Grid</h3>
|
55
55
|
<h4 class="subheader">Create powerful multi-device layouts quickly and easily with the 12-column, nestable Foundation 3 grid. If you're familiar with grid systems, you'll feel right at home.</h4>
|
56
56
|
|
57
|
-
<!-- <h4>The Basics</h4>
|
58
|
-
<p>The grid is built around two key elements: rows and columns. Rows create a max-width and contain the columns; columns create the actual structure. For layouts to work properly, always put your page content inside a row and a column.</p>
|
59
|
-
|
60
|
-
<p>What you need to know is that <strong>columns don't have a fixed width.</strong> They can vary based on the resolution of the screen, or the size of the window (try scaling down this window to see what we mean). Design with that in mind.</p>
|
61
|
-
|
62
|
-
<hr />
|
63
|
-
|
64
|
-
<h4>Technical Details</h4>
|
65
|
-
<p>The Foundation 3 grid, like everything else in Foundation 3, is built with <code>box-sizing: border-box</code>, a powerful CSS property that tells the browser to consider border and padding as part of the width of an object rather than as an addition. That enables us to construct the grid extremely simply, which is good news for anyone who lamented how difficult it was to modify the Foundation 2 grid.</p>
|
66
|
-
<p>Now, gutters are created simply with padding on the columns. That means columns have simple widths like 25%, or 50%. Adjusting the padding adjusts the gutters, and this can be controlled either through SCSS variables, the download customizer, or through the CSS itself.</p>
|
67
|
-
-->
|
68
57
|
<br>
|
69
58
|
|
70
59
|
<div class="row">
|
data/test/navigation.html
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
<dd><a href="#side-nav">Side Nav</a></dd>
|
31
31
|
<dd><a href="#sub-nav">Sub Nav</a></dd>
|
32
32
|
<dd><a href="#pagination">Pagination</a></dd>
|
33
|
+
<dd><a href="#centered-pagination">Centered pagination</a></dd>
|
33
34
|
</dl>
|
34
35
|
</div>
|
35
36
|
</div>
|
@@ -223,6 +224,27 @@
|
|
223
224
|
</div>
|
224
225
|
</div>
|
225
226
|
|
227
|
+
<div class="row">
|
228
|
+
<div class="four columns">
|
229
|
+
<a name="centered-pagination"></a>
|
230
|
+
<h4>Centered pagination</h4>
|
231
|
+
<p>You can also center your pagination by adding <code>.pagination-centered</code> to its outer div.</p>
|
232
|
+
</div>
|
233
|
+
<br>
|
234
|
+
<div class="eight columns">
|
235
|
+
<div class="pagination-centered">
|
236
|
+
<ul class="pagination">
|
237
|
+
<li class="arrow unavailable"><a href="">«</a></li>
|
238
|
+
<li class="current"><a href="">1</a></li>
|
239
|
+
<li><a href="">2</a></li>
|
240
|
+
<li><a href="">3</a></li>
|
241
|
+
<li><a href="">4</a></li>
|
242
|
+
<li class="unavailable"><a href="">…</a></li>
|
243
|
+
<li><a href="">12</a></li>
|
244
|
+
<li><a href="">13</a></li>
|
245
|
+
<li class="arrow"><a href="">»</a></li>
|
246
|
+
</ul>
|
247
|
+
</div>
|
226
248
|
</div>
|
227
249
|
</div>
|
228
250
|
|
data/test/orbit.html
CHANGED
data/test/scss/_settings.scss
CHANGED
@@ -112,6 +112,7 @@
|
|
112
112
|
// $topBarSearchWidth: 200px;
|
113
113
|
// $topBarBreakPoint: 940px; // Change to 9999px for always mobile layout
|
114
114
|
// $topBarNavToggleSize: 8px;
|
115
|
+
// $topBarNavToggleColor: #fff;
|
115
116
|
|
116
117
|
// UI Settings
|
117
118
|
|
@@ -122,6 +123,7 @@
|
|
122
123
|
// $progBarPad: 2px;
|
123
124
|
// $linkListBottomMargin: 17px -22px;
|
124
125
|
// $tableBorderRadius: 3px;
|
126
|
+
// $alertBorderRadius: 3px;
|
125
127
|
|
126
128
|
// Tooltip Settings
|
127
129
|
|
@@ -0,0 +1,194 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
3
|
+
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
4
|
+
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
5
|
+
<head>
|
6
|
+
<meta charset="utf-8" />
|
7
|
+
|
8
|
+
<!-- Set the viewport width to device width for mobile -->
|
9
|
+
<meta name="viewport" content="width=device-width" />
|
10
|
+
|
11
|
+
<title>Foundation Top Bar Testing</title>
|
12
|
+
|
13
|
+
<!-- Included CSS Files -->
|
14
|
+
<link rel="stylesheet" href="stylesheets/styles.css">
|
15
|
+
|
16
|
+
<script src="../vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>
|
17
|
+
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
|
21
|
+
<div class="fixed contain-to-grid"> <!-- Could do .fixed to fix to top or .contain-to-grid for grid width -->
|
22
|
+
<nav class="top-bar">
|
23
|
+
<ul>
|
24
|
+
<!-- Title Area -->
|
25
|
+
<li class="name">
|
26
|
+
<h1>
|
27
|
+
<a href="#">
|
28
|
+
<!-- <img src="http://placehold.it/25x25"> -->
|
29
|
+
Top Bar Title
|
30
|
+
</a>
|
31
|
+
</h1>
|
32
|
+
</li>
|
33
|
+
<li class="toggle-topbar"><a href="#"></a></li>
|
34
|
+
</ul>
|
35
|
+
|
36
|
+
<section>
|
37
|
+
<!-- Left Nav Section -->
|
38
|
+
<ul class="left">
|
39
|
+
<li class="divider"></li>
|
40
|
+
<li class="active has-dropdown">
|
41
|
+
<a href="#">Main Item 1</a>
|
42
|
+
<ul class="dropdown">
|
43
|
+
<li><a href="#">Dropdown Option</a></li>
|
44
|
+
<li class="active"><a href="#">Dropdown Option</a></li>
|
45
|
+
<li><a href="#">Dropdown Option</a></li>
|
46
|
+
<li class="divider"></li>
|
47
|
+
<li><a href="#">See all →</a></li>
|
48
|
+
</ul>
|
49
|
+
</li>
|
50
|
+
<li class="divider"></li>
|
51
|
+
<li><a href="#">Main Item 2</a></li>
|
52
|
+
<li class="divider"></li>
|
53
|
+
<li class="has-dropdown">
|
54
|
+
<a href="#">Main Item 3</a>
|
55
|
+
<ul class="dropdown">
|
56
|
+
<li><label>Section Name</label></li>
|
57
|
+
<li class="has-dropdown">
|
58
|
+
<a href="#" class="">Dropdown Level 1a</a>
|
59
|
+
<ul class="dropdown">
|
60
|
+
<li><a href="#">Subdropdown Option</a></li>
|
61
|
+
<li><a href="#">Subdropdown Option</a></li>
|
62
|
+
<li class="has-dropdown"><a href="#">Dropdown Level 3a</a>
|
63
|
+
<ul class="dropdown">
|
64
|
+
<li><label>Section Name</label></li>
|
65
|
+
<li><a href="#">Subdropdown Option</a></li>
|
66
|
+
<li><a href="#">Subdropdown Option</a></li>
|
67
|
+
<li class="divider"></li>
|
68
|
+
<li><a href="#">Subdropdown Option</a></li>
|
69
|
+
</ul>
|
70
|
+
</li>
|
71
|
+
<li><a href="#">Subdropdown Option</a></li>
|
72
|
+
<li><a href="#">Subdropdown Option</a></li>
|
73
|
+
<li><a href="#">Subdropdown Option</a></li>
|
74
|
+
</ul>
|
75
|
+
</li>
|
76
|
+
<li class="has-dropdown">
|
77
|
+
<a href="#" class="">Dropdown Level 1b</a>
|
78
|
+
<ul class="dropdown">
|
79
|
+
<li><a href="#">Subdropdown Option</a></li>
|
80
|
+
<li><a href="#">Subdropdown Option</a></li>
|
81
|
+
<li class="has-dropdown"><a href="#">Dropdown Level 3b</a>
|
82
|
+
<ul class="dropdown">
|
83
|
+
<li><label>Section Name</label></li>
|
84
|
+
<li><a href="#">Subdropdown Option</a></li>
|
85
|
+
<li><a href="#">Subdropdown Option</a></li>
|
86
|
+
<li class="divider"></li>
|
87
|
+
<li><a href="#">Subdropdown Option</a></li>
|
88
|
+
</ul>
|
89
|
+
</li>
|
90
|
+
<li><a href="#">Subdropdown Option</a></li>
|
91
|
+
<li><a href="#">Subdropdown Option</a></li>
|
92
|
+
<li><a href="#">Subdropdown Option</a></li>
|
93
|
+
</ul>
|
94
|
+
</li>
|
95
|
+
<li><a href="#">Dropdown Option</a></li>
|
96
|
+
<li><a href="#">Dropdown Option</a></li>
|
97
|
+
<li class="divider"></li>
|
98
|
+
<li><label>Section Name</label></li>
|
99
|
+
<li><a href="#">Dropdown Option</a></li>
|
100
|
+
<li><a href="#">Dropdown Option</a></li>
|
101
|
+
<li><a href="#">Dropdown Option</a></li>
|
102
|
+
<li class="divider"></li>
|
103
|
+
<li><a href="#">See all →</a></li>
|
104
|
+
</ul>
|
105
|
+
</li>
|
106
|
+
<li class="divider"></li>
|
107
|
+
</ul>
|
108
|
+
|
109
|
+
<!-- Right Nav Section -->
|
110
|
+
<ul class="right">
|
111
|
+
<li class="show-for-large divider"></li>
|
112
|
+
|
113
|
+
<li class="has-dropdown">
|
114
|
+
<a href="#">Main Item 4</a>
|
115
|
+
<ul class="dropdown">
|
116
|
+
<li><label>Section Name</label></li>
|
117
|
+
<li class="has-dropdown">
|
118
|
+
<a href="#" class="">Has Dropdown, Level 1</a>
|
119
|
+
<ul class="dropdown">
|
120
|
+
<li><a href="#">Dropdown Options</a></li>
|
121
|
+
<li><a href="#">Dropdown Options</a></li>
|
122
|
+
<li class="has-dropdown">
|
123
|
+
<a href="#">Has Dropdown, Level 2</a>
|
124
|
+
<ul class="dropdown test">
|
125
|
+
<li><a href="#">Subdropdown Option</a></li>
|
126
|
+
<li><a href="#">Subdropdown Option</a></li>
|
127
|
+
<li><a href="#">Subdropdown Option</a></li>
|
128
|
+
</ul>
|
129
|
+
</li>
|
130
|
+
<li><a href="#">Subdropdown Option</a></li>
|
131
|
+
<li><a href="#">Subdropdown Option</a></li>
|
132
|
+
<li><a href="#">Subdropdown Option</a></li>
|
133
|
+
</ul>
|
134
|
+
</li>
|
135
|
+
<li><a href="#">Dropdown Option</a></li>
|
136
|
+
<li><a href="#">Dropdown Option</a></li>
|
137
|
+
<li class="divider"></li>
|
138
|
+
<li><label>Section Name</label></li>
|
139
|
+
<li><a href="#">Dropdown Option</a></li>
|
140
|
+
<li><a href="#">Dropdown Option</a></li>
|
141
|
+
<li><a href="#">Dropdown Option</a></li>
|
142
|
+
<li class="divider"></li>
|
143
|
+
<li><a href="#">See all →</a></li>
|
144
|
+
</ul>
|
145
|
+
</li>
|
146
|
+
<li class="divider"></li>
|
147
|
+
<li class="login">
|
148
|
+
<form>
|
149
|
+
<input type="text" placeholder="User Name">
|
150
|
+
<input type="password" placeholder="Password">
|
151
|
+
<input type="submit" class="small button" value="Log In">
|
152
|
+
</form>
|
153
|
+
</li>
|
154
|
+
<li class="divider show-for-small"></li>
|
155
|
+
|
156
|
+
</ul>
|
157
|
+
</section>
|
158
|
+
</nav>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div class="row">
|
162
|
+
<div class="twelve columns">
|
163
|
+
<p><a href="index.html">« Back</a></p>
|
164
|
+
<h2>Foundation Top Bar Testing</h2>
|
165
|
+
<hr>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
|
169
|
+
<div class="row">
|
170
|
+
<div class="twelve columns">
|
171
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
|
175
|
+
<!-- Included JS Files -->
|
176
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.js"></script>
|
177
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js"></script>
|
178
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.placeholder.js"></script>
|
179
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.alerts.js"></script>
|
180
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.accordion.js"></script>
|
181
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.buttons.js"></script>
|
182
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js"></script>
|
183
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.forms.js"></script>
|
184
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.tabs.js"></script>
|
185
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.navigation.js"></script>
|
186
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.topbar.js"></script>
|
187
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.reveal.js"></script>
|
188
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.orbit.js"></script>
|
189
|
+
<script src="../vendor/assets/javascripts/foundation/app.js"></script>
|
190
|
+
<script type="text/javascript">
|
191
|
+
// Page-Specific JavaScript Goes Here
|
192
|
+
</script>
|
193
|
+
</body>
|
194
|
+
</html>
|
data/test/topbar.html
CHANGED
@@ -18,14 +18,31 @@
|
|
18
18
|
</head>
|
19
19
|
<body>
|
20
20
|
|
21
|
-
|
21
|
+
<div class="row">
|
22
|
+
<div class="twelve columns">
|
23
|
+
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="row">
|
28
|
+
<div class="twelve columns">
|
29
|
+
<p><a href="index.html">« Back</a></p>
|
30
|
+
<h2>Foundation Top Bar Testing</h2>
|
31
|
+
<hr>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="row">
|
36
|
+
<div class="twelve columns">
|
37
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
38
|
+
|
39
|
+
<div class="contain-to-grid sticky">
|
22
40
|
<nav class="top-bar">
|
23
41
|
<ul>
|
24
42
|
<!-- Title Area -->
|
25
43
|
<li class="name">
|
26
44
|
<h1>
|
27
45
|
<a href="#">
|
28
|
-
<!-- <img src="http://placehold.it/25x25"> -->
|
29
46
|
Top Bar Title
|
30
47
|
</a>
|
31
48
|
</h1>
|
@@ -36,101 +53,51 @@
|
|
36
53
|
<section>
|
37
54
|
<!-- Left Nav Section -->
|
38
55
|
<ul class="left">
|
39
|
-
<li class="divider"></li>
|
40
|
-
<li class="active has-dropdown">
|
41
|
-
<a href="#">Main Item 1</a>
|
42
|
-
<ul class="dropdown">
|
43
|
-
<li><a href="#">Dropdown Option</a></li>
|
44
|
-
<li class="active"><a href="#">Dropdown Option</a></li>
|
45
|
-
<li><a href="#">Dropdown Option</a></li>
|
46
|
-
<li class="divider"></li>
|
47
|
-
<li><a href="#">See all →</a></li>
|
48
|
-
</ul>
|
49
|
-
</li>
|
50
|
-
<li class="divider"></li>
|
51
|
-
<li><a href="#">Main Item 2</a></li>
|
52
56
|
<li class="divider"></li>
|
53
57
|
<li class="has-dropdown">
|
54
|
-
<a href="#">
|
58
|
+
<a class="active" href="#">Item 1</a>
|
55
59
|
<ul class="dropdown">
|
56
60
|
<li><label>Section Name</label></li>
|
57
61
|
<li class="has-dropdown">
|
58
|
-
<a href="#" class="">
|
59
|
-
<ul class="dropdown">
|
60
|
-
<li><a href="#">Subdropdown Option</a></li>
|
61
|
-
<li><a href="#">Subdropdown Option</a></li>
|
62
|
-
<li class="has-dropdown"><a href="#">Dropdown Level 3a</a>
|
63
|
-
<ul class="dropdown">
|
64
|
-
<li><label>Section Name</label></li>
|
65
|
-
<li><a href="#">Subdropdown Option</a></li>
|
66
|
-
<li><a href="#">Subdropdown Option</a></li>
|
67
|
-
<li class="divider"></li>
|
68
|
-
<li><a href="#">Subdropdown Option</a></li>
|
69
|
-
</ul>
|
70
|
-
</li>
|
71
|
-
<li><a href="#">Subdropdown Option</a></li>
|
72
|
-
<li><a href="#">Subdropdown Option</a></li>
|
73
|
-
<li><a href="#">Subdropdown Option</a></li>
|
74
|
-
</ul>
|
75
|
-
</li>
|
76
|
-
<li class="has-dropdown">
|
77
|
-
<a href="#" class="">Dropdown Level 1b</a>
|
62
|
+
<a href="#" class="">Level 1, Has Dropdown</a>
|
78
63
|
<ul class="dropdown">
|
79
|
-
<li><a href="#">
|
80
|
-
<li><a href="#">
|
81
|
-
<li class="has-dropdown"><a href="#">
|
64
|
+
<li><a href="#">Level 2</a></li>
|
65
|
+
<li><a href="#">Level 2</a></li>
|
66
|
+
<li class="has-dropdown"><a href="#">Level 2, Has Dropdown</a>
|
82
67
|
<ul class="dropdown">
|
83
|
-
<li><label>Section
|
84
|
-
<li><a href="#">
|
85
|
-
<li><a href="#">
|
68
|
+
<li><label>Section</label></li>
|
69
|
+
<li><a href="#">Level 3</a></li>
|
70
|
+
<li><a href="#">Level 3</a></li>
|
86
71
|
<li class="divider"></li>
|
87
|
-
<li><a href="#">
|
72
|
+
<li><a href="#">Level 3</a></li>
|
88
73
|
</ul>
|
89
74
|
</li>
|
90
|
-
<li><a href="#">
|
91
|
-
<li><a href="#">
|
92
|
-
<li><a href="#">Subdropdown Option</a></li>
|
75
|
+
<li><a href="#">Level 2</a></li>
|
76
|
+
<li><a href="#">Level 2</a></li>
|
93
77
|
</ul>
|
94
78
|
</li>
|
95
|
-
<li><a href="#">
|
96
|
-
<li><a href="#">
|
79
|
+
<li><a href="#">Level 1</a></li>
|
80
|
+
<li><a href="#">Level 1</a></li>
|
97
81
|
<li class="divider"></li>
|
98
82
|
<li><label>Section Name</label></li>
|
99
|
-
<li><a href="#">
|
100
|
-
<li><a href="#">
|
101
|
-
<li><a href="#">
|
83
|
+
<li><a href="#">Level 1</a></li>
|
84
|
+
<li><a href="#">Level 1</a></li>
|
85
|
+
<li><a href="#">Level 1</a></li>
|
102
86
|
<li class="divider"></li>
|
103
87
|
<li><a href="#">See all →</a></li>
|
104
88
|
</ul>
|
105
89
|
</li>
|
106
|
-
<li class="divider"></li>
|
90
|
+
<li class="divider hide-for-small"></li>
|
107
91
|
</ul>
|
108
92
|
|
109
93
|
<!-- Right Nav Section -->
|
110
94
|
<ul class="right">
|
111
|
-
<li class="show-for-
|
95
|
+
<li class="divider show-for-medium-and-up"></li>
|
112
96
|
<li class="has-dropdown">
|
113
|
-
<a href="#">
|
97
|
+
<a href="#">Item 2</a>
|
114
98
|
<ul class="dropdown">
|
115
99
|
<li><label>Section Name</label></li>
|
116
|
-
<li class="
|
117
|
-
<a href="#" class="">Has Dropdown, Level 1</a>
|
118
|
-
<ul class="dropdown">
|
119
|
-
<li><a href="#">Dropdown Options</a></li>
|
120
|
-
<li><a href="#">Dropdown Options</a></li>
|
121
|
-
<li class="has-dropdown">
|
122
|
-
<a href="#">Has Dropdown, Level 2</a>
|
123
|
-
<ul class="dropdown test">
|
124
|
-
<li><a href="#">Subdropdown Option</a></li>
|
125
|
-
<li><a href="#">Subdropdown Option</a></li>
|
126
|
-
<li><a href="#">Subdropdown Option</a></li>
|
127
|
-
</ul>
|
128
|
-
</li>
|
129
|
-
<li><a href="#">Subdropdown Option</a></li>
|
130
|
-
<li><a href="#">Subdropdown Option</a></li>
|
131
|
-
<li><a href="#">Subdropdown Option</a></li>
|
132
|
-
</ul>
|
133
|
-
</li>
|
100
|
+
<li><a href="#" class="">Level 1</a></li>
|
134
101
|
<li><a href="#">Dropdown Option</a></li>
|
135
102
|
<li><a href="#">Dropdown Option</a></li>
|
136
103
|
<li class="divider"></li>
|
@@ -142,33 +109,21 @@
|
|
142
109
|
<li><a href="#">See all →</a></li>
|
143
110
|
</ul>
|
144
111
|
</li>
|
145
|
-
<li class="divider"></li>
|
146
|
-
<li class="search">
|
147
|
-
<!-- <form class="collapse">
|
148
|
-
<input type="text">
|
149
|
-
<button type="submit" class="secondary radius button">Search</button>
|
150
|
-
</form> -->
|
151
|
-
<form>
|
152
|
-
<input type="search">
|
153
|
-
</form>
|
154
|
-
</li>
|
155
|
-
<li class="divider show-for-small"></li>
|
156
|
-
<li class="has-button"><a class="small button" href="#">Button!</a></li>
|
157
112
|
</ul>
|
158
113
|
</section>
|
159
114
|
</nav>
|
160
115
|
</div>
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
<
|
165
|
-
<
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
116
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
117
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
118
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
119
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
120
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
121
|
+
v
|
122
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
123
|
+
v
|
124
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
125
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
126
|
+
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
172
127
|
<h4 class="subheader">We designed our responsive navigation bar to be super flexible! You have control over almost every aspect of it, including: size, colors, static, fixed and/or contained to grid width, customizable breakpoint and more. Play around with it here and see what it can do.</h4>
|
173
128
|
</div>
|
174
129
|
</div>
|