-
Notifications
You must be signed in to change notification settings - Fork 16
/
example.html
204 lines (167 loc) · 7.5 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bare Ninja | Kitchen Sink</title>
<link rel="stylesheet" href="css/barekit.css">
</head>
<body>
<h1>Accordion</h1>
<dl class="accordion" data-options='{ "multiExpand": true }'>
<dt><a href="#">Accordion title 1</a></dt>
<dd>Accordion content 1</dd>
<dt><a href="#">Accordion title 2</a></dt>
<dd>Accordion content 2</dd>
<dt><a href="#">Accordion title 3</a></dt>
<dd>Accordion content 3</dd>
</dl>
<h1>Dropdown Navigation</h1>
<ul class="dropdown-nav" id="drop1">
<li>
<a href="#">Link 1</a>
<ul style="background: #e1e1e1; width: 100px">
<li><a href="#">Sublink 1</a></li>
<li><a href="#">Sublink 2</a></li>
<li><a href="#">Sublink 3</a></li>
</ul>
</li>
<li>
<a href="#">Link 2</a>
</li>
<li>
<a href="#">Link 3</a>
</li>
<li>
<a href="#">Link 4</a>
</li>
</ul>
<ul class="dropdown-nav" data-options='{ "click": true }'>
<li>
<a href="#">Link 1</a>
<ul style="background: #e1e1e1; width: 100px">
<li><a href="#">Sublink 1</a></li>
<li><a href="#">Sublink 2</a></li>
<li><a href="#">Sublink 3</a></li>
</ul>
</li>
<li>
<a href="#">Link 2</a>
</li>
<li>
<a href="#">Link 3</a>
</li>
<li>
<a href="#">Link 4</a>
</li>
</ul>
<div class="clearfix"></div>
<h1>Form</h1>
<label class="checkbox">
<input type="checkbox">
<span>Checkbox</span>
</label>
<div class="clearfix"></div>
<label class="radio">
<input type="radio">
<span>Radio</span>
</label>
<h1>Grid</h1>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-1 has-gutter" style="background: #e1e1e1">1</div>
<div class="df-12 sm-12 md-6 lg-9 lg-offset-2 has-gutter" style="background: #c6c6c6">9 / offset 2</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-2 has-gutter" style="background: #e1e1e1">2</div>
<div class="df-12 sm-12 md-6 lg-10 has-gutter" style="background: #c6c6c6">10</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-3 has-gutter" style="background: #e1e1e1">3</div>
<div class="df-12 sm-12 md-3 md-offset-3 lg-9 lg-offset-0 has-gutter" style="background: #c6c6c6">9</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-4 has-gutter" style="background: #e1e1e1">4</div>
<div class="df-12 sm-12 md-6 lg-8 has-gutter" style="background: #c6c6c6">8</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-5 has-gutter" style="background: #e1e1e1">5</div>
<div class="df-12 sm-12 md-6 lg-7 has-gutter" style="background: #c6c6c6">7</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-6 has-gutter" style="background: #e1e1e1">6</div>
<div class="df-12 sm-12 md-6 lg-6 has-gutter" style="background: #c6c6c6">6</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-7 has-gutter" style="background: #e1e1e1">7</div>
<div class="df-12 sm-12 md-6 lg-5 has-gutter" style="background: #c6c6c6">5</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-8 has-gutter" style="background: #e1e1e1">8</div>
<div class="df-12 sm-12 md-6 lg-4 has-gutter" style="background: #c6c6c6">4</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-9 has-gutter" style="background: #e1e1e1">9</div>
<div class="df-12 sm-12 md-6 lg-3 has-gutter" style="background: #c6c6c6">3</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-10 has-gutter" style="background: #e1e1e1">10</div>
<div class="df-12 sm-12 md-6 lg-2 has-gutter" style="background: #c6c6c6">2</div>
</div>
<div class="row text-center">
<div class="df-12 sm-12 md-6 lg-11 has-gutter" style="background: #e1e1e1">11</div>
<div class="df-12 sm-12 md-6 lg-1 has-gutter" style="background: #c6c6c6">1</div>
</div>
<div class="clearfix"></div>
<h1>Modal</h1>
<a href="#" class="modal-trigger" data-options='{ "modalId": "example-modal" }'>Trigger modal</a>
<div class="modal" id="example-modal">
<a href="#" class="modal-close right">X</a>
<p>This is a modal</p>
<p>This is a modal</p>
<p>This is a modal</p>
<p>This is a modal</p>
</div>
<h1>Off-Canvas</h1>
<div class="off-canvas-contain">
<section class="off-canvas-left">
I am content off-canvas.
</section>
<section class="off-canvas-right">
I am content off-canvas.
</section>
<section class="off-canvas-content">
<a href="#" class="off-canvas-trigger-left"><img class="header--avatar" src="https://s3.amazonaws.com/uifaces/faces/twitter/joshhemsley/128.jpg"></a>
<a href="#" class="off-canvas-trigger-right">Right trigger</a>
<p>I am the main content of the page that gets pushed over when the off-canvas is open. I also contain the off-canvas trigger.</p>
</section>
</div>
<h1>Toggle</h1>
<a href="#" class="toggle-trigger" data-options='{ "toggle": "toggle-example" }'>Toggle</a>
<div class="toggle" id="toggle-example">Hello!</div>
<a href="#" class="toggle-trigger" data-options='{ "toggle": "toggle-example2", "closeOnClick": true }'>Toggle (close on click)</a>
<div class="toggle" id="toggle-example2">Hello again!</div>
<h1>Tabs</h1>
<ul class="tabs">
<li class="tab-trigger--open"><a href="#">Tab title 1</a></li>
<li><a href="#">Tab title 2</a></li>
<li><a href="#">Tab title 3</a></li>
</ul>
<ul class="tabs-panels">
<li class="tab-panel--open">Tab content 1</li>
<li>Tab content 2</li>
<li>Tab content 3</li>
</ul>
<h1>Lazy Loading Modules</h1>
<ul>
<li><a href="#" id="add-accordion">Accordion</a></li>
<li><a href="#" id="add-dropdown">Dropdown Navigation</a></li>
<li><a href="#" id="add-modal">Modal</a></li>
<li><a href="#" id="add-offcanvas">Off-Canvas</a></li>
<li><a href="#" id="add-tabs">Tabs</a></li>
<li><a href="#" id="add-toggle">Toggle</a></li>
</ul>
<div id="lazy-load-example" style="height: 400px"></div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="js/barekit.min.js"></script>
</body>
</html>