forked from designmodo/Flat-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
components.html
1375 lines (1220 loc) · 49.7 KB
/
components.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
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Components · Flat UI Free</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Loading Bootstrap -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="bootstrap/css/prettify.css" rel="stylesheet">
<!-- Loading Flat UI -->
<link href="css/flat-ui.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<link rel="shortcut icon" href="images/favicon.ico">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<ul class="demo-sidebar hide-on-tablets">
<li><a href="#fui-button">Buttons</a></li>
<li><a href="#fui-checkbox">Checkboxes</a></li>
<li><a href="#fui-radio">Radio buttons</a></li>
<li><a href="#fui-dropdown">Dropdown</a></li>
<li><a href="#fui-input">Input</a></li>
<li><a href="#fui-navbar">Navbar</a></li>
<li><a href="#fui-pager">Pager</a></li>
<li><a href="#fui-pagination">Pagination</a></li>
<li><a href="#fui-progress">Progress</a></li>
<li><a href="#fui-select">Select</a></li>
<li><a href="#fui-switch">Switch</a></li>
<li><a href="#fui-tagsinput">Tags Input</a></li>
<li><a href="#fui-tooltip">Tooltip</a></li>
<li><a href="#fui-slider">Slider</a></li>
<li><a href="#fui-typeahead">Typeahead</a></li>
</ul> <!-- /nav -->
<h1 class="demo-headline">Components</h1>
<div class="container">
<div id="fui-button" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Buttons</h3>
</div>
<div class="demo-content">
<p>
After restyling the <a href="http://getbootstrap.com/css/#buttons">Bootstrap buttons</a>, we have decided to add a new size: <code>btn-hg</code> which will be used for the main call to action buttons on the page:
</p>
<p class="mbl">
<button class="btn btn-hg btn-primary">Huge Button</button>
</p>
<pre class="prettyprint">
<button class="btn btn-hg btn-primary">
Boss Button
</button>
</pre>
<p class="ptl">
In addition, we have added <code>btn-embossed</code> to make buttons look more realistic, but we still prefer them flat.
</p>
<p class="mbl">
<button class="btn btn-embossed btn-primary">Embossed Button</button>
</p>
<pre class="prettyprint">
<button class="btn btn-embossed btn-primary">
Embossed Button
</button>
</pre>
<p class="ptl">
In some cases buttons need to become wider. Yes, we have taken care of that as well:
</p>
<p class="mbl">
<button class="btn btn-wide btn-primary mrm">Save</button>
<button class="btn btn-wide btn-default">Cancel</button>
</p>
<pre class="prettyprint">
<button class="btn btn-default btn-wide">
Cancel
</button>
</pre>
<p class="ptl">
Another new thing is <code>btn-tip</code>. Use it when you need to highlight a part of the button text:
</p>
<p class="mbl">
<button class="btn btn-primary">
Save
<span class="btn-tip">$300</span>
</button>
</p>
<pre class="prettyprint">
<button class="btn btn-primary">
Save
<span class="btn-tip">$300</span>
</button>
</pre>
<p class="ptl">
As usual you can set different colors:
</p>
<p>
<button class="btn btn-default mrs">Default</button>
<button class="btn btn-primary mrs">Primary</button>
<button class="btn btn-info mrs">Info</button>
<button class="btn btn-danger mrs">Danger</button>
</p>
<p class="mbl">
<button class="btn btn-success mrs">Success</button>
<button class="btn btn-warning mrs">Warning</button>
<button class="btn btn-inverse mrs">Inverse</button>
</p>
<pre class="prettyprint">
<button class="btn btn-default">Default</button>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-info">Info</button>
<button class="btn btn-danger">Danger</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-inverse">Inverse</button>
</pre>
<p>
Button groups, toolbars, and disabled state also work as expected.
</p>
</div>
</div><!-- /.demo-row -->
<div id="fui-checkbox" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Checkboxes</h3>
</div>
<div class="demo-content">
<p>
Using flat style checkboxes requires a JS plugin which creates all the custom markup for us. Let's take a look:
</p>
<label class="checkbox" for="checkbox1">
<input type="checkbox" value="" id="checkbox1" data-toggle="checkbox">
Checkbox
</label>
<label class="checkbox" for="checkbox2">
<input type="checkbox" value="" id="checkbox2" checked="checked" data-toggle="checkbox">
Checkbox
</label>
<label class="checkbox" for="checkbox3">
<input type="checkbox" value="" id="checkbox3" data-toggle="checkbox" disabled="">
Checkbox
</label>
<label class="checkbox" for="checkbox4">
<input type="checkbox" value="" id="checkbox4" checked="checked" data-toggle="checkbox" disabled="">
Checkbox
</label>
<h6 class="ptl">The Data Attributes:</h6>
<pre class="prettyprint">
<label class="checkbox" for="checkbox1">
<input type="checkbox" value="" id="checkbox1" data-toggle="checkbox">
Checkbox
</label>
</pre>
<h6 class="ptl">Usage via JS:</h6>
<pre class="prettyprint">
$(':checkbox').checkbox();
</pre>
<div class="pvm">
<h6>Methods:</h6>
</div>
<p class="mbl">
<strong>.checkbox('toggle')</strong>
<br/>
toggles the checkbox state from <span class="text-info">checked</span>
to <span class="text-info">unchecked</span> and back.
</p>
<p class="mbl">
<strong>.checkbox('check')</strong>
<br/>
sets the checkbox state to <span class="text-info">checked</span>.
</p>
<p class="mbl">
<strong>.checkbox('uncheck')</strong>
<br/>
sets the checkbox state to <span class="text-info">unchecked</span>.
</p>
<pre class="prettyprint">
$(':checkbox').checkbox('check');
</pre>
<div class="pbm ptl">
<h6>Events:</h6>
</div>
<p class="mbl">
<strong>.on('toggle')</strong>
<br/>
Fired when the checkbox state changes between
<span class="text-info">checked</span> and
<span class="text-info">unchecked</span>.
</p>
<p class="mbl">
<strong>.on('change')</strong>
<br/>
Same as <span class="text-info">toggle</span>.
</p>
<pre class="prettyprint">
$(':checkbox').on('toggle', function() {
// Do something
});
</pre>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
<div id="fui-radio" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Radio buttons</h3>
</div>
<div class="demo-content">
<p>
Styling radio buttons also requires using a JS plugin. We have tried making things easy so you won't have to spend a huge amount of time playing around with custom components.
</p>
<label class="radio">
<input type="radio" name="group1" value="1" data-toggle="radio">
Radio is off
</label>
<label class="radio">
<input type="radio" name="group1" value="2" data-toggle="radio" checked>
Radio is on
</label>
<label class="radio">
<input type="radio" name="group2" value="1" data-toggle="radio" disabled>
Radio is off
</label>
<label class="radio">
<input type="radio" name="group2" value="2" data-toggle="radio" disabled checked>
Radio is on
</label>
<h6 class="ptl">The Data Attributes:</h6>
<pre class="prettyprint">
<label class="radio">
<input type="radio" name="group1" value="1" data-toggle="radio">
Radio is off
</label>
<label class="radio">
<input type="radio" name="group1" value="2" data-toggle="radio" checked>
Radio is on
</label>
</pre>
<h6 class="ptl">The JS:</h6>
<pre class="prettyprint">
$(':radio').radio();
</pre>
<div class="pvm">
<h6>Methods:</h6>
</div>
<p class="mbl">
<strong>.radio('check')</strong>
<br/>
sets the radio button state to <span class="text-info">checked</span>.
</p>
<p class="mbl">
<strong>.radio('uncheck')</strong>
<br/>
sets the radio state to <span class="text-info">unchecked</span>.
</p>
<pre class="prettyprint">
$(':radio').radio('check');
</pre>
<div class="pbm ptl">
<h6>Events:</h6>
</div>
<p class="mbl">
<strong>.on('toggle')</strong>
<br/>
Fired when the radio button state changes between
<span class="text-info">checked</span> and
<span class="text-info">unchecked</span>.
</p>
<p class="mbl">
<strong>.on('change')</strong>
<br/>
Same as <span class="text-info">toggle</span> with just one difference — the event is fired for each radio button that gets a state change.
</p>
<pre class="prettyprint">
$(':radio').on('toggle', function() {
// Do something
});
</pre>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
</div><!-- /.container -->
<div class="container ptl">
<div id="fui-dropdown" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Dropdown</h3>
</div>
<div class="demo-content">
<p class="mbl">
The same <a href="http://getbootstrap.com/components/#dropdowns">Bootstrap dropdown</a> is used as a part of the <code>select</code>, <code>btn-group</code>, <code>nav-tabs</code> and eventually other components to present information as a menu.
</p>
<p class="mbl">
Notice <code>dropdown-arrow</code>, which is needed when you want to add a small triangle that visually connects the clickable element with the dropdown menu.
</p>
<select name="info" class="mbn">
<optgroup label="Profile">
<option value="0">My Profile</option>
<option value="1">My Friends</option>
</optgroup>
<optgroup label="System">
<option value="2">Messages</option>
<option value="3">My Settings</option>
<option value="4" class="highlighted">Logout</option>
</optgroup>
</select>
<hr/>
<div class="row">
<div class="col-md-3">
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Dropdown<span class="caret"></span></button>
<span class="dropdown-arrow dropdown-arrow-inverse"></span>
<ul class="dropdown-menu dropdown-inverse">
<li><a href="#fakelink">Sub Menu Element</a></li>
<li><a href="#fakelink">Sub Menu Element</a></li>
<li><a href="#fakelink">Sub Menu Element</a></li>
</ul>
</div>
</div>
</div>
<div class="pvl">
<pre class="prettyprint">
<!-- Default look -->
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Dropdown<span class="caret"></span></button>
<span class="dropdown-arrow"></span>
<ul class="dropdown-menu">
<li><a href="#fakelink">Sub Menu Element</a></li>
<li><a href="#fakelink">Sub Menu Element</a></li>
<li><a href="#fakelink">Sub Menu Element</a></li>
</u>
</div>
<!-- Inverse look -->
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Dropdown<span class="caret"></span></button>
<span class="dropdown-arrow dropdown-arrow-inverse"></span>
<ul class="dropdown-menu dropdown-inverse">
<li><a href="#fakelink">Sub Menu Element</a></li>
<li><a href="#fakelink">Sub Menu Element</a></li>
<li><a href="#fakelink">Sub Menu Element</a></li>
</u>
</div>
</pre>
</div>
<p>
To highlight the information we added 2 additional states for the dropdown-menu items: <code>selected</code> and <code>highlighted</code>:
</p>
<pre class="prettyprint">
<ul class="dropdown-menu">
<li class="selected">
<a href="#">Item</a>
</li>
<li class="highlighted">
<a href="#">Item</a>
</li>
</ul>
</pre>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
<div id="fui-input" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Input</h3>
</div>
<div class="demo-content">
<p class="mbl">
The restyled <a href="http://getbootstrap.com/css/#forms">Bootstrap input</a>. Add <span class="text-info">flat</span> as an additional class to completely remove the borders:
</p>
<div class="row">
<div class="col-lg-5">
<input type="text" value="" placeholder="Enter something" class="form-control" />
</div>
</div>
<hr />
<div class="row">
<div class="col-lg-5">
<input type="text" value="" placeholder="Enter something" class="form-control flat" />
</div>
</div>
<pre class="prettyprint mtl">
<!-- Default input -->
<input type="text" placeholder="Enter something" class="form-control" />
<!-- Without borders -->
<input type="text" placeholder="Enter something" class="form-control flat" />
</pre>
<p class="ptl">And few sizes:</p>
<div class="row">
<div class="col-lg-5">
<input type="text" value="" placeholder="Huge" class="form-control input-hg" />
</div>
</div>
<hr />
<div class="row">
<div class="col-lg-5">
<input type="text" value="" placeholder="Large" class="form-control input-lg" />
</div>
</div>
<hr />
<div class="row">
<div class="col-lg-5">
<input type="text" value="" placeholder="Default" class="form-control" />
</div>
</div>
<hr />
<div class="row">
<div class="col-lg-5">
<input type="text" value="" placeholder="Small" class="form-control input-sm" />
</div>
</div>
<pre class="prettyprint mtl">
<input type="text" class="form-control input-hg" placeholder="Huge" />
<input type="text" class="form-control input-lg" placeholder="Large" />
<input type="text" class="form-control" placeholder="Default" />
<input type="text" class="form-control input-sm" placeholder="Small" />
</pre>
<p class="ptl">You can have an icon inside:</p>
<div class="row">
<div class="col-lg-5">
<div class="form-group">
<input type="text" value="" placeholder="With icon" class="form-control" />
<span class="input-icon fui-check-inverted"></span>
</div>
</div>
</div>
<pre class="prettyprint mtm">
<div class="form-group">
<input type="text" class="form-control" placeholder="With icon" />
<span class="input-icon fui-check-inverted"></span>
</div>
</pre>
<p class="ptl">You can have the input with append/prepend options:</p>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">@</span>
<input class="form-control" type="text" placeholder="Prepend" />
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<div class="input-group">
<input class="form-control" type="text" placeholder="Append" />
<span class="input-group-addon">@</span>
</div>
</div>
</div>
</div>
<pre class="prettyprint mtm">
<!-- Prepend -->
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" placeholder="Prepend" />
</div>
</div>
<!-- Append -->
<div class="form-group">
<div class="input-group">
<input type="text" class="form-control" placeholder="Append" />
<span class="input-group-addon">@</span>
</div>
</div>
</pre>
<p class="ptl">
The different color styles and the disabled state work as expected:
<div class="row">
<div class="col-lg-6">
<div class="form-group has-error">
<input class="form-control" type="text" placeholder="Error" />
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="form-group has-warning">
<input class="form-control" type="text" placeholder="Warning" />
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="form-group has-success">
<input class="form-control" type="text" placeholder="Success" />
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<input class="form-control" type="text" placeholder="Disabled" disabled />
</div>
</div>
</div>
</p>
<p class="ptl mtl">
The search form doesn't have any background color set to append/prepend:
</p>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<div class="input-group input-group-hg input-group-rounded">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
<input type="text" class="form-control" placeholder="Search" id="search-query-2">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" id="search-query-3">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
</div>
</div>
</div>
</div>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
<div id="fui-navbar" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Navbar</h3>
</div>
<div class="demo-content">
<p class="mbl">
The restyled <a href="http://getbootstrap.com/components/#navbar">Bootstrap navbar</a>.
</p>
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="#">Flat UI</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-01">
<ul class="nav navbar-nav">
<li class="active"><a href="#fakelink">Products</a></li>
<li><a href="#fakelink">Features</a></li>
</ul>
<form class="navbar-form navbar-right" action="#" role="search" style="width: 250px">
<div class="form-group">
<div class="input-group">
<input class="form-control" id="navbarInput-01" type="search" placeholder="Search">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
</div>
</div>
</form>
</div><!-- /.navbar-collapse -->
</nav><!-- /navbar -->
<pre class="prettyprint mvl">
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="#">Flat UI</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-01">
<ul class="nav navbar-nav">
<li class="active"><a href="#fakelink">Products</a></li>
<li><a href="#fakelink">Features</a></li>
</ul>
<form class="navbar-form navbar-right" action="#" role="search">
<div class="form-group">
<div class="input-group">
<input class="form-control" id="navbarInput-01" type="search" placeholder="Search">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
</div>
</div>
</form>
</div><!-- /.navbar-collapse -->
</nav><!-- /navbar -->
</pre>
<p class="ptl">Inverted navbar:</p>
<nav class="navbar navbar-inverse" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-02">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="#">Flat UI</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-02">
<ul class="nav navbar-nav">
<li class="active"><a href="#fakelink">Products</a></li>
<li><a href="#fakelink">Features</a></li>
</ul>
<form class="navbar-form navbar-right" action="#" role="search" style="width: 250px">
<div class="form-group">
<div class="input-group">
<input class="form-control" id="navbarInput-01" type="search" placeholder="Search">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
</div>
</div>
</form>
</div><!-- /.navbar-collapse -->
</nav><!-- /navbar -->
<pre class="prettyprint mvl">
<nav class="navbar navbar-inverse" role="navigation">
<!-- Navbar content -->
</nav>
</pre>
<p class="ptl">Embossed navbar:</p>
<nav class="navbar navbar-inverse navbar-embossed" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-02">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="#">Flat UI</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-02">
<ul class="nav navbar-nav">
<li class="active"><a href="#fakelink">Products</a></li>
<li><a href="#fakelink">Features</a></li>
</ul>
<form class="navbar-form navbar-right" action="#" role="search" style="width: 250px">
<div class="form-group">
<div class="input-group">
<input class="form-control" id="navbarInput-01" type="search" placeholder="Search">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
</div>
</div>
</form>
</div><!-- /.navbar-collapse -->
</nav><!-- /navbar -->
<pre class="prettyprint mvl">
<nav class="navbar navbar-inverse navbar-embossed" role="navigation">
<!-- Navbar content -->
</nav>
</pre>
<p class="ptl">Large navbar:</p>
<nav class="navbar navbar-default navbar-lg" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-03">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="#">Flat UI</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-03">
<ul class="nav navbar-nav">
<li class="active"><a href="#fakelink">Products</a></li>
<li><a href="#fakelink">Features</a></li>
</ul>
<form class="navbar-form navbar-right" action="#" role="search" style="width: 250px">
<div class="form-group">
<div class="input-group">
<input class="form-control" id="navbarInput-01" type="search" placeholder="Search">
<span class="input-group-btn">
<button type="submit" class="btn"><span class="fui-search"></span></button>
</span>
</div>
</div>
</form>
</div><!-- /.navbar-collapse -->
</nav><!-- /navbar -->
<pre class="prettyprint mvl">
<nav class="navbar navbar-default navbar-lg" role="navigation">
<!-- Navbar content -->
</nav>
</pre>
<p class="ptl">Inline forms:</p>
<nav role="navigation" class="navbar navbar-inverse navbar-embossed">
<div class="navbar-header">
<button data-target="#navbar-collapse-04" data-toggle="collapse" class="navbar-toggle" type="button">
<span class="sr-only">Toggle navigation</span>
</button>
<a href="#" class="navbar-brand">Flat UI</a>
</div>
<div id="navbar-collapse-04" class="collapse navbar-collapse">
<form role="search" class="navbar-form navbar-left">
<div class="form-group">
<input type="text" placeholder="Search" class="form-control">
</div>
<button class="btn btn-default" type="submit">Submit</button>
</form>
</div>
</nav>
<pre class="prettyprint mvl">
<form role="search" class="navbar-form navbar-left">
<div class="form-group">
<input type="text" placeholder="Search" class="form-control">
</div>
<button class="btn btn-default" type="submit">Submit</button>
</form>
</pre>
<p class="ptl">Buttons:</p>
<nav role="navigation" class="navbar navbar-inverse navbar-embossed">
<div class="navbar-header">
<button data-target="#navbar-collapse-05" data-toggle="collapse" class="navbar-toggle" type="button">
</button>
<a href="#" class="navbar-brand">Flat UI</a>
</div>
<div id="navbar-collapse-05" class="collapse navbar-collapse">
<button class="btn btn-default navbar-btn" type="button">Sign in</button>
<button class="btn btn-default navbar-btn btn-sm" type="button">Sign in</button>
<button class="btn btn-default navbar-btn btn-xs" type="button">Sign in</button>
</div>
</nav>
<pre class="prettyprint mvl">
<!-- Default Navbar Button -->
<button class="btn btn-default navbar-btn" type="button">Sign in</button>
<!-- Small Navbar Button -->
<button class="btn btn-default navbar-btn btn-sm" type="button">Sign in</button>
<!-- Extra Small Navbar Button -->
<button class="btn btn-default navbar-btn btn-xs" type="button">Sign in</button>
</pre>
<p class="ptl">Text:</p>
<nav role="navigation" class="navbar navbar-inverse navbar-embossed">
<div class="navbar-header">
<button data-target="#navbar-collapse-06" data-toggle="collapse" class="navbar-toggle" type="button">
</button>
<a href="#" class="navbar-brand">Flat UI</a>
</div>
<div id="navbar-collapse-06" class="collapse navbar-collapse">
<p class="navbar-text">Signed in as Mark Otto</p>
</div>
</nav>
<pre class="prettyprint mvl">
<p class="navbar-text">Signed in as Mark Otto</p>
</pre>
<p class="ptl">Non-nav links:</p>
<nav role="navigation" class="navbar navbar-inverse navbar-embossed">
<div class="navbar-header">
<button data-target="#navbar-collapse-07" data-toggle="collapse" class="navbar-toggle" type="button">
</button>
<a href="#" class="navbar-brand">Flat UI</a>
</div>
<div id="navbar-collapse-07" class="collapse navbar-collapse">
<p class="navbar-text navbar-right">Signed in as <a class="navbar-link" href="#">Mark Otto</a></p>
</div>
</nav>
<pre class="prettyprint mvl">
<p class="navbar-text navbar-right">Signed in as <a class="navbar-link" href="#">Mark Otto</a></p>
</pre>
<p class="ptl">New and Unread indicators:</p>
<nav class="navbar navbar-inverse navbar-embossed" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-02">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" href="#">Flat UI</a>
</div>
<div class="collapse navbar-collapse" id="#navbar-collapse-02">
<ul class="nav navbar-nav">
<li><a href="#">Messages<span class="navbar-unread">1</span></a></li>
<li><a href="#">About Us<span class="navbar-new">1</span></a></li>
</ul>
</div><!-- /.navbar-collapse -->
</nav><!-- /navbar -->
<pre class="prettyprint mvl">
<!-- ... -->
<ul class="nav navbar-nav">
<li>
<a href="#">
Menu item
<!-- Indicator with number -->
<span class="navbar-new">2</span>
</a>
</li>
</ul>
<!-- ... -->
</pre>
<pre class="prettyprint mvl">
<!-- ... -->
<ul class="nav navbar-nav">
<li>
<a href="#">
Menu item
<!-- Indicator without number -->
<span class="navbar-unread"></span>
</a>
</li>
</ul>
<!-- ... -->
</pre>
<p class="ptl">Fixed to top:</p>
<pre class="prettyprint mvl">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<!-- Navbar content -->
</nav>
</pre>
<p class="ptl">Fixed to bottom:</p>
<pre class="prettyprint mvl">
<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
<!-- Navbar content -->
</nav>
</pre>
<p class="ptl">Static top:</p>
<pre class="prettyprint mvl">
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<!-- Navbar content -->
</nav>
</pre>
<div id="fui-pager"></div>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
<div id="fui-pager" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Pager</h3>
</div>
<div class="demo-content">
<p>
Short pagination where links have a button look. Used for navigating to the next/prev item.
</p>
<ul class="pager">
<li class="previous">
<a href="#fakelink">
<i class="fui-arrow-left"></i>
<span>All messages</span>
</a>
</li>
<li class="next">
<a href="#fakelink">
<i class="fui-arrow-right"></i>
</a>
</li>
</ul>
<pre class="prettyprint mvl">
<ul class="pager">
<li class="previous">
<a href="#">
<span>
<i class="fui-arrow-left"></i>
All messages
</span>
</a>
</li>
<li class="next">
<a href="#">
<i class="fui-arrow-right"></i>
</a>
</li>
</ul>
</pre>
<div id="fui-pagination"></div>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
<div id="fui-pagination" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Pagination</h3>
</div>
<div class="demo-content">
<p>
The restyled <a href="http://getbootstrap.com/components/#pagination">Bootstrap pagination</a>. We have added a dropdown navigation, a minimalistic look and a text-only look. We have also added a few color schemes with an alternative layout.
</p>
<div class="pagination">
<ul>
<li class="previous"><a href="#fakelink" class="fui-arrow-left"></a></li>
<li class="active"><a href="#fakelink">1</a></li>
<li><a href="#fakelink">2</a></li>
<li><a href="#fakelink">3</a></li>
<li><a href="#fakelink">4</a></li>
<li><a href="#fakelink">5</a></li>
<li><a href="#fakelink">6</a></li>
<li><a href="#fakelink">7</a></li>
<li><a href="#fakelink">8</a></li>
<li><a href="#fakelink">9</a></li>
<li><a href="#fakelink">10</a></li>
<li class="next"><a href="#fakelink" class="fui-arrow-right"></a></li>
</ul>
</div>
<pre class="prettyprint mvl">
<div class="pagination">
<ul>
<li class="previous">
<a href="#" class="fui-arrow-left"></a>
</li>
<li class="active"><a href="#fakelink">1</a></li>
...
<li><a href="#fakelink">10</a></li>
<li class="next">
<a href="#" class="fui-arrow-right"></a>
</li>
</ul>
</div>
</pre>
</div> <!-- /.demo-content -->
</div> <!-- /.demo-row -->
<div id="fui-progress" class="pbl"></div>
<div class="demo-row">
<div class="demo-title">
<h3>Progress</h3>
</div>
<div class="demo-content">
<p>
The restyled <a href="http://getbootstrap.com/components/#progress">Bootstrap progress</a>.
</p>