-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
486 lines (450 loc) · 20 KB
/
index.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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/pe-icon-7-stroke.css" rel="stylesheet" />
<link href="css/ct-navbar.css" rel="stylesheet" />
<!-- Font Awesome -->
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Grand+Hotel' rel='stylesheet' type='text/css'>
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
<style>
.fa-heart{
color: #F74933;
}
.space-100{
height: 100px;
display: block;
}
pre.prettyprint{
background-color: #ffffff;
border: 1px solid #999;
margin-top: 20px;
padding: 20px;
text-align: left;
}
.atv, .str{
color: #05AE0E;
}
.tag, .pln, .kwd{
color: #3472F7;
}
.atn{
color: #2C93FF;
}
.pln{
color: #333;
}
.com{
color: #999;
}
</style>
</head>
<body>
<div id="navbar-full">
<div id="navbar">
<!--
navbar-default can be changed with navbar-ct-blue navbar-ct-azzure navbar-ct-red navbar-ct-green navbar-ct-orange
-->
<nav class="navbar navbar-ct-blue navbar-fixed-top navbar-transparent" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand navbar-brand-logo" href="http://www.creative-tim.com">
<div class="logo">
<img src="https://s3.amazonaws.com/creativetim_bucket/new_logo.png">
</div>
<div class="brand"> Creative Tim </div>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="javascript:void(0);" data-toggle="search" class="hidden-xs">
<i class="pe-7s-search"></i>
<p>Search</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label">23</span>
</i>
<p>Messages</p>
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-right navbar-search-form" role="search">
<div class="form-group">
<input type="text" value="" class="form-control" placeholder="Search...">
</div>
</form>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="blurred-container">
<div class="img-src" style="background-image: url('images/bg.jpg')"></div>
</div>
</div><!-- end navbar -->
</div> <!-- end menu-dropdown -->
<div class="main">
<div class="container tim-container" style="max-width:800px; padding-top:100px">
<h1 class="text-center">Bootstrap Navigation Bar<br> With Icons<small class="subtitle">This item was made because of many requests of the users who <br>downloaded <a href="http://creative-tim.com/get-shit-done">Get Shit Done Kit.</a></small>
</h1>
<div class="col-md-12">
<br>
<h4>
We restyled the classic Bootstrap Navbar and we added brand new icons. If you want to add icons to the regular navbar you have to add to your project these files:
</h4>
<pre class="prettyprint">
<br>
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/pe-icon-7-stroke.css" rel="stylesheet" />
<link href="css/ct-navbar.css" rel="stylesheet" />
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/ct-navbar.js"></script>
</pre>
<h4 class="text-danger">Important</h4><h5>Don't forget to add the font files('<b>Pe-icon7-stroke.eot</b>','<b>Pe-icon-7-stroke.svg</b>','<b>Pe-icon-7-stroke.ttf</b>','<b>Pe-icon-7-stroke.woff</b>') in "/Fonts/"</h5>
<h4>If you want to add the new icons to the navbar just change this code from your navbar:
<pre class="prettyprint">
<br>
<li><a href="#">Account</a></li>
</pre>
<h4>
With this one:
</h4>
<pre class="prettyprint">
<br>
<li>
<a href="#">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
</li>
</pre>
<h4>If you want to add a small badge, like the one that we have in our current navbar at "Messages" button, add this code:</h4>
<pre class="prettyprint">
<br>
<li>
<a href="#">
<i class="pe-7s-user">
<span class="label"> 23 </span>
</i>
<p>Account</p>
</a>
</li>
</pre>
<h4>
Besides the default navbar, we added 5 new colors: <b>blue</b>, <b>azzure</b>, <b>green</b>, <b>orange</b>, <b>red</b>. If you want to use one of them, you have to replace the 'navbar-default' with the class for the chosen color 'navbr-ct-{<b>color</b>}'.
</h4>
<!-- navbar blue -->
<div id="navbar-blue">
<nav class="navbar navbar-ct-blue" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<i class="pe-7s-global"></i>
<p>Explore</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label">23</span>
</i>
<p>Messages</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</div><!-- end navbar -->
<!-- navbar azzure -->
<div id="navbar-azzure">
<nav class="navbar navbar-ct-azzure" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<i class="pe-7s-global"></i>
<p>Explore</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label">23</span>
</i>
<p>Messages</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</div><!-- end navbar -->
<!-- navbar green -->
<div id="navbar-green">
<nav class="navbar navbar-ct-green" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<i class="pe-7s-global"></i>
<p>Explore</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label">23</span>
</i>
<p>Messages</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</div><!-- end navbar -->
<!-- navbar orange -->
<div id="navbar-orange">
<nav class="navbar navbar-ct-orange" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<i class="pe-7s-global"></i>
<p>Explore</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label">23</span>
</i>
<p>Messages</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</div><!-- end navbar -->
<!-- navbar red -->
<div id="navbar-red">
<nav class="navbar navbar-ct-red" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<i class="pe-7s-global"></i>
<p>Explore</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label">23</span>
</i>
<p>Messages</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</div><!-- end navbar -->
<h4>Here is a full example of the blue navbar</h4>
<pre class="prettyprint">
<nav class="navbar navbar-ct-blue navbar-fixed-top navbar-transparent" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand navbar-brand-logo" href="http://www.creative-tim.com">
<div class="logo">
<img src="https://s3.amazonaws.com/creativetim_bucket/new_logo.png">
</div>
<div class="brand"> Creative Tim </div>
</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="javascript:void(0)" data-toggle="search">
<i class="pe-7s-search"></i>
<p>Search</p>
</a>
</li>
<li>
<a href="#">
<i class="pe-7s-mail">
<span class="label"> 23 </span>
</i>
<p>Messages</p>
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="pe-7s-user"></i>
<p>Account</p>
</a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- end navbar -->
</pre>
<br>
<h4>Many thanks to our friends from <a href="http://www.pixeden.com">Pixeden</a> for the icons font. More details about the icons names can be found <a href="http://themes-pixeden.com/font-demos/7-stroke/index.html">here.</a>
</h4>
<h4>Get more useful items for bootstrap on <a href="http://creative-tim.com">Creative Tim</a></h4>
</div>
<div class="space-100"></div>
<div class="row">
<div class="col-sm-4"></div>
<div class="col-sm-4">
<a href="http://creative-tim.com/product/navbar-with-icons" class="btn btn-info btn-lg btn-block">Download</a>
</div>
<div class="col-sm-4"></div>
</div>
<div class="space-100"></div>
<p class="text-center">Copyright © 2014 <a href="http://creative-tim.com">Creative Tim</a>, made with <i class="fa fa-heart"></i> for a better web.</p>
<!-- end container -->
</div>
<!-- end main -->
</body>
<script src="js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
<script src="js/ct-navbar.js"></script>
</html>