-
Notifications
You must be signed in to change notification settings - Fork 223
/
ui-buttons.html
1219 lines (1064 loc) · 48.7 KB
/
ui-buttons.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>
<!--
TABLE OF CONTENTS.
Use search to find needed section.
============================================================
| 1. $BODY | Body |
| 2. $MAIN_NAVIGATION | Main navigation |
| 3. $NAVBAR_ICON_BUTTONS | Navbar Icon Buttons |
| 4. $MAIN_MENU | Main menu |
| 5. $DEFAULT_BUTTONS | Default buttons |
| 6. $ROUNDED_BUTTONS | Rounded buttons |
| 7. $FLAT_BUTTONS | Flat buttons |
| 8. $BUTTONS_WITH_LABELS | Buttons with labels |
| 9. $BUTTON_DROPDOWNS | Button dropdowns |
| 10. $SPLIT_BUTTON_DROPDOWNS | Split button dropdowns |
| 11. $BOOTSTRAP_BUTTONS | Bootstrap buttons |
| 12. $BUTTON_SIZES | Button sizes |
| 13. $OUTLINE_BUTTONS | Outline buttons |
| 14. $DISABLED_BUTTONS | Disabled buttons |
| 15. $BUTTON_GROUPS | Button groups |
============================================================
-->
<!--[if IE 8]> <html class="ie8"> <![endif]-->
<!--[if IE 9]> <html class="ie9 gt-ie8"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="gt-ie8 gt-ie9 not-ie"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Buttons - UI Elements - PixelAdmin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<!-- Open Sans font from Google CDN -->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin" rel="stylesheet" type="text/css">
<!-- Pixel Admin's stylesheets -->
<link href="assets/stylesheets/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="assets/stylesheets/pixel-admin.min.css" rel="stylesheet" type="text/css">
<link href="assets/stylesheets/widgets.min.css" rel="stylesheet" type="text/css">
<link href="assets/stylesheets/rtl.min.css" rel="stylesheet" type="text/css">
<link href="assets/stylesheets/themes.min.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="assets/javascripts/ie.min.js"></script>
<![endif]-->
<style>
.buttons-with-margins .btn {
margin-bottom: 10px;
}
</style>
</head>
<!-- 1. $BODY ======================================================================================
Body
Classes:
* 'theme-{THEME NAME}'
* 'right-to-left' - Sets text direction to right-to-left
* 'main-menu-right' - Places the main menu on the right side
* 'no-main-menu' - Hides the main menu
* 'main-navbar-fixed' - Fixes the main navigation
* 'main-menu-fixed' - Fixes the main menu
* 'main-menu-animated' - Animate main menu
-->
<body class="theme-default main-menu-animated">
<script>var init = [];</script>
<!-- Demo script --> <script src="assets/demo/demo.js"></script> <!-- / Demo script -->
<div id="main-wrapper">
<!-- 2. $MAIN_NAVIGATION ===========================================================================
Main navigation
-->
<div id="main-navbar" class="navbar navbar-inverse" role="navigation">
<!-- Main menu toggle -->
<button type="button" id="main-menu-toggle"><i class="navbar-icon fa fa-bars icon"></i><span class="hide-menu-text">HIDE MENU</span></button>
<div class="navbar-inner">
<!-- Main navbar header -->
<div class="navbar-header">
<!-- Logo -->
<a href="index.html" class="navbar-brand">
<div><img alt="Pixel Admin" src="assets/images/pixel-admin/main-navbar-logo.png"></div>
PixelAdmin
</a>
<!-- Main navbar toggle -->
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-navbar-collapse"><i class="navbar-icon fa fa-bars"></i></button>
</div> <!-- / .navbar-header -->
<div id="main-navbar-collapse" class="collapse navbar-collapse main-navbar-collapse">
<div>
<ul class="nav navbar-nav">
<li>
<a href="#">Home</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
<ul class="dropdown-menu">
<li><a href="#">First item</a></li>
<li><a href="#">Second item</a></li>
<li class="divider"></li>
<li><a href="#">Third item</a></li>
</ul>
</li>
</ul> <!-- / .navbar-nav -->
<div class="right clearfix">
<ul class="nav navbar-nav pull-right right-navbar-nav">
<!-- 3. $NAVBAR_ICON_BUTTONS =======================================================================
Navbar Icon Buttons
NOTE: .nav-icon-btn triggers a dropdown menu on desktop screens only. On small screens .nav-icon-btn acts like a hyperlink.
Classes:
* 'nav-icon-btn-info'
* 'nav-icon-btn-success'
* 'nav-icon-btn-warning'
* 'nav-icon-btn-danger'
-->
<li class="nav-icon-btn nav-icon-btn-danger dropdown">
<a href="#notifications" class="dropdown-toggle" data-toggle="dropdown">
<span class="label">5</span>
<i class="nav-icon fa fa-bullhorn"></i>
<span class="small-screen-text">Notifications</span>
</a>
<!-- NOTIFICATIONS -->
<!-- Javascript -->
<script>
init.push(function () {
$('#main-navbar-notifications').slimScroll({ height: 250 });
});
</script>
<!-- / Javascript -->
<div class="dropdown-menu widget-notifications no-padding" style="width: 300px">
<div class="notifications-list" id="main-navbar-notifications">
<div class="notification">
<div class="notification-title text-danger">SYSTEM</div>
<div class="notification-description"><strong>Error 500</strong>: Syntax error in index.php at line <strong>461</strong>.</div>
<div class="notification-ago">12h ago</div>
<div class="notification-icon fa fa-hdd-o bg-danger"></div>
</div> <!-- / .notification -->
<div class="notification">
<div class="notification-title text-info">STORE</div>
<div class="notification-description">You have <strong>9</strong> new orders.</div>
<div class="notification-ago">12h ago</div>
<div class="notification-icon fa fa-truck bg-info"></div>
</div> <!-- / .notification -->
<div class="notification">
<div class="notification-title text-default">CRON DAEMON</div>
<div class="notification-description">Job <strong>"Clean DB"</strong> has been completed.</div>
<div class="notification-ago">12h ago</div>
<div class="notification-icon fa fa-clock-o bg-default"></div>
</div> <!-- / .notification -->
<div class="notification">
<div class="notification-title text-success">SYSTEM</div>
<div class="notification-description">Server <strong>up</strong>.</div>
<div class="notification-ago">12h ago</div>
<div class="notification-icon fa fa-hdd-o bg-success"></div>
</div> <!-- / .notification -->
<div class="notification">
<div class="notification-title text-warning">SYSTEM</div>
<div class="notification-description"><strong>Warning</strong>: Processor load <strong>92%</strong>.</div>
<div class="notification-ago">12h ago</div>
<div class="notification-icon fa fa-hdd-o bg-warning"></div>
</div> <!-- / .notification -->
</div> <!-- / .notifications-list -->
<a href="#" class="notifications-link">MORE NOTIFICATIONS</a>
</div> <!-- / .dropdown-menu -->
</li>
<li class="nav-icon-btn nav-icon-btn-success dropdown">
<a href="#messages" class="dropdown-toggle" data-toggle="dropdown">
<span class="label">10</span>
<i class="nav-icon fa fa-envelope"></i>
<span class="small-screen-text">Income messages</span>
</a>
<!-- MESSAGES -->
<!-- Javascript -->
<script>
init.push(function () {
$('#main-navbar-messages').slimScroll({ height: 250 });
});
</script>
<!-- / Javascript -->
<div class="dropdown-menu widget-messages-alt no-padding" style="width: 300px;">
<div class="messages-list" id="main-navbar-messages">
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/3.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Michelle Bortz</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/4.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Timothy Owens</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/5.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Denise Steiner</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/3.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Michelle Bortz</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/4.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Timothy Owens</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/5.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Denise Steiner</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
</div> <!-- / .messages-list -->
<a href="#" class="messages-link">MORE MESSAGES</a>
</div> <!-- / .dropdown-menu -->
</li>
<!-- /3. $END_NAVBAR_ICON_BUTTONS -->
<li>
<form class="navbar-form pull-left">
<input type="text" class="form-control" placeholder="Search">
</form>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle user-menu" data-toggle="dropdown">
<img src="assets/demo/avatars/1.jpg">
<span>John Doe</span>
</a>
<ul class="dropdown-menu">
<li><a href="#"><span class="label label-warning pull-right">New</span>Profile</a></li>
<li><a href="#"><span class="badge badge-primary pull-right">New</span>Account</a></li>
<li><a href="#"><i class="dropdown-icon fa fa-cog"></i> Settings</a></li>
<li class="divider"></li>
<li><a href="pages-signin.html"><i class="dropdown-icon fa fa-power-off"></i> Log Out</a></li>
</ul>
</li>
</ul> <!-- / .navbar-nav -->
</div> <!-- / .right -->
</div>
</div> <!-- / #main-navbar-collapse -->
</div> <!-- / .navbar-inner -->
</div> <!-- / #main-navbar -->
<!-- /2. $END_MAIN_NAVIGATION -->
<!-- 4. $MAIN_MENU =================================================================================
Main menu
Notes:
* to make the menu item active, add a class 'active' to the <li>
example: <li class="active">...</li>
* multilevel submenu example:
<li class="mm-dropdown">
<a href="#"><span class="mm-text">Submenu item text 1</span></a>
<ul>
<li>...</li>
<li class="mm-dropdown">
<a href="#"><span class="mm-text">Submenu item text 2</span></a>
<ul>
<li>...</li>
...
</ul>
</li>
...
</ul>
</li>
-->
<div id="main-menu" role="navigation">
<div id="main-menu-inner">
<div class="menu-content top" id="menu-content-demo">
<!-- Menu custom content demo
CSS: styles/pixel-admin-less/demo.less or styles/pixel-admin-scss/_demo.scss
Javascript: html/assets/demo/demo.js
-->
<div>
<div class="text-bg"><span class="text-slim">Welcome,</span> <span class="text-semibold">John</span></div>
<img src="assets/demo/avatars/1.jpg" alt="" class="">
<div class="btn-group">
<a href="#" class="btn btn-xs btn-primary btn-outline dark"><i class="fa fa-envelope"></i></a>
<a href="#" class="btn btn-xs btn-primary btn-outline dark"><i class="fa fa-user"></i></a>
<a href="#" class="btn btn-xs btn-primary btn-outline dark"><i class="fa fa-cog"></i></a>
<a href="#" class="btn btn-xs btn-danger btn-outline dark"><i class="fa fa-power-off"></i></a>
</div>
<a href="#" class="close">×</a>
</div>
</div>
<ul class="navigation">
<li>
<a href="index.html"><i class="menu-icon fa fa-dashboard"></i><span class="mm-text">Dashboard</span></a>
</li>
<li class="mm-dropdown">
<a href="#"><i class="menu-icon fa fa-th"></i><span class="mm-text">Layouts</span><span class="label label-warning">Updated</span></a>
<ul>
<li>
<a tabindex="-1" href="layouts-grid.html"><span class="mm-text">Grid</span></a>
</li>
<li>
<a tabindex="-1" href="layouts-main-menu.html"><i class="menu-icon fa fa-th-list"></i><span class="mm-text">Main menu</span><span class="label label-warning">Updated</span></a>
</li>
</ul>
</li>
<li>
<a href="stat-panels.html"><i class="menu-icon fa fa-tasks"></i><span class="mm-text">Stat panels</span></a>
</li>
<li>
<a href="widgets.html"><i class="menu-icon fa fa-flask"></i><span class="mm-text">Widgets</span></a>
</li>
<li class="mm-dropdown">
<a href="#"><i class="menu-icon fa fa-desktop"></i><span class="mm-text">UI elements</span></a>
<ul>
<li>
<a tabindex="-1" href="ui-buttons.html"><span class="mm-text">Buttons</span></a>
</li>
<li>
<a tabindex="-1" href="ui-typography.html"><span class="mm-text">Typography</span></a>
</li>
<li>
<a tabindex="-1" href="ui-tabs.html"><span class="mm-text">Tabs & Accordions</span></a>
</li>
<li>
<a tabindex="-1" href="ui-modals.html"><span class="mm-text">Modals</span></a>
</li>
<li>
<a tabindex="-1" href="ui-alerts.html"><span class="mm-text">Alerts & Tooltips</span></a>
</li>
<li>
<a tabindex="-1" href="ui-components.html"><span class="mm-text">Components</span></a>
</li>
<li>
<a tabindex="-1" href="ui-panels.html"><span class="mm-text">Panels</span></a>
</li>
<li>
<a tabindex="-1" href="ui-jqueryui.html"><span class="mm-text">jQuery UI</span></a>
</li>
<li>
<a tabindex="-1" href="ui-icons.html"><span class="mm-text">Icons</span></a>
</li>
<li>
<a tabindex="-1" href="ui-utility-classes.html"><span class="mm-text">Utility classes</span></a>
</li>
</ul>
</li>
<li class="mm-dropdown">
<a href="#"><i class="menu-icon fa fa-check-square"></i><span class="mm-text">Form components</span></a>
<ul>
<li>
<a tabindex="-1" href="forms-layouts.html"><span class="mm-text">Layouts</span></a>
</li>
<li>
<a tabindex="-1" href="forms-general.html"><span class="mm-text">General</span></a>
</li>
<li>
<a tabindex="-1" href="forms-advanced.html"><span class="mm-text">Advanced</span></a>
</li>
<li>
<a tabindex="-1" href="forms-pickers.html"><span class="mm-text">Pickers</span></a>
</li>
<li>
<a tabindex="-1" href="forms-validation.html"><span class="mm-text">Validation</span></a>
</li>
<li>
<a tabindex="-1" href="forms-editors.html"><span class="mm-text">Editors</span></a>
</li>
</ul>
</li>
<li>
<a href="tables.html"><i class="menu-icon fa fa-table"></i><span class="mm-text">Tables</span></a>
</li>
<li>
<a href="charts.html"><i class="menu-icon fa fa-bar-chart-o"></i><span class="mm-text">Charts</span></a>
</li>
<li class="mm-dropdown">
<a href="#"><i class="menu-icon fa fa-files-o"></i><span class="mm-text">Pages</span><span class="label label-success">16</span></a>
<ul>
<li>
<a tabindex="-1" href="pages-search.html"><span class="mm-text">Search results</span></a>
</li>
<li>
<a tabindex="-1" href="pages-pricing.html"><span class="mm-text">Plans & pricing</span></a>
</li>
<li>
<a tabindex="-1" href="pages-faq.html"><span class="mm-text">FAQ</span></a>
</li>
<li>
<a tabindex="-1" href="pages-profile.html"><span class="mm-text">Profile</span></a>
</li>
<li>
<a tabindex="-1" href="pages-timeline.html"><span class="mm-text">Timeline</span></a>
</li>
<li>
<a tabindex="-1" href="pages-signin.html"><span class="mm-text">Sign In</span></a>
</li>
<li>
<a tabindex="-1" href="pages-signup.html"><span class="mm-text">Sign Up</span></a>
</li>
<li>
<a tabindex="-1" href="pages-signin-alt.html"><span class="mm-text">Sign In Alt</span></a>
</li>
<li>
<a tabindex="-1" href="pages-signup-alt.html"><span class="mm-text">Sign Up Alt</span></a>
</li>
<li>
<a tabindex="-1" href="pages-invoice.html"><span class="mm-text">Invoice</span></a>
</li>
<li>
<a tabindex="-1" href="pages-404.html"><span class="mm-text">Error 404</span></a>
</li>
<li>
<a tabindex="-1" href="pages-500.html"><span class="mm-text">Error 500</span></a>
</li>
<li class="mm-dropdown">
<a href="#"><i class="menu-icon fa fa-envelope"></i><span class="mm-text">Messages</span></a>
<ul>
<li>
<a tabindex="-1" href="pages-inbox.html"><span class="mm-text">Inbox</span></a>
</li>
<li>
<a tabindex="-1" href="pages-show-email.html"><span class="mm-text">Show message</span></a>
</li>
<li>
<a tabindex="-1" href="pages-new-email.html"><span class="mm-text">New message</span></a>
</li>
</ul>
</li>
<li>
<a tabindex="-1" href="pages-blank.html"><span class="mm-text">Blank page</span></a>
</li>
</ul>
</li>
<li>
<a href="complete-ui.html"><i class="menu-icon fa fa-briefcase"></i><span class="mm-text">Complete UI</span></a>
</li>
<li>
<a href="color-builder.html"><i class="menu-icon fa fa-tint"></i><span class="mm-text">Color Builder</span></a>
</li>
<li class="mm-dropdown">
<a href="#"><i class="menu-icon fa fa-sitemap"></i><span class="mm-text">Menu levels</span><span class="badge badge-primary">6</span></a>
<ul>
<li>
<a tabindex="-1" href="#"><span class="mm-text">Menu level 1.1</span><span class="badge badge-danger">12</span><span class="label label-info">21</span></a>
</li>
<li>
<a tabindex="-1" href="#"><span class="mm-text">Menu level 1.2</span></a>
</li>
<li class="mm-dropdown">
<a tabindex="-1" href="#"><span class="mm-text">Menu level 1.3</span><span class="label label-warning">5</span></a>
<ul>
<li>
<a tabindex="-1" href="#"><span class="mm-text">Menu level 2.1</span></a>
</li>
<li class="mm-dropdown">
<a tabindex="-1" href="#"><span class="mm-text">Menu level 2.2</span></a>
<ul>
<li class="mm-dropdown">
<a tabindex="-1" href="#"><span class="mm-text">Menu level 3.1</span></a>
<ul>
<li>
<a tabindex="-1" href="#"><span class="mm-text">Menu level 4.1</span></a>
</li>
</ul>
</li>
<li>
<a tabindex="-1" href="#"><span class="mm-text">Menu level 3.2</span></a>
</li>
</ul>
</li>
<li>
<a tabindex="-1" href="#"><span class="mm-text">Menu level 2.2</span></a>
</li>
</ul>
</li>
</ul>
</li>
</ul> <!-- / .navigation -->
<div class="menu-content">
<a href="pages-invoice.html" class="btn btn-primary btn-block btn-outline dark">Create Invoice</a>
</div>
</div> <!-- / #main-menu-inner -->
</div> <!-- / #main-menu -->
<!-- /4. $MAIN_MENU -->
<div id="content-wrapper">
<div class="page-header">
<h1><span class="text-light-gray">UI Elements / </span>Buttons</h1>
</div> <!-- / .page-header -->
<div class="row">
<div class="col-sm-6">
<!-- 5. $DEFAULT_BUTTONS ===========================================================================
Default buttons
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Default buttons</span>
</div>
<div class="panel-body buttons-with-margins">
<button class="btn">Default</button>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-info">Info</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-danger">Danger</button>
</div>
</div>
<!-- /5. $DEFAULT_BUTTONS -->
<!-- 6. $ROUNDED_BUTTONS ===========================================================================
Rounded buttons
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Rounded buttons</span>
</div>
<div class="panel-body buttons-with-margins">
<button class="btn btn-rounded">Default</button>
<button class="btn btn-primary btn-rounded">Primary</button>
<button class="btn btn-info btn-rounded">Info</button>
<button class="btn btn-success btn-rounded">Success</button>
<button class="btn btn-warning btn-rounded">Warning</button>
<button class="btn btn-danger btn-rounded">Danger</button>
</div>
</div>
<!-- /6. $ROUNDED_BUTTONS -->
<!-- 7. $FLAT_BUTTONS ==============================================================================
Flat buttons
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Flat buttons</span>
</div>
<div class="panel-body buttons-with-margins">
<button class="btn btn-flat">Default</button>
<button class="btn btn-primary btn-flat">Primary</button>
<button class="btn btn-info btn-flat">Info</button>
<button class="btn btn-success btn-flat">Success</button>
<button class="btn btn-warning btn-flat">Warning</button>
<button class="btn btn-danger btn-flat">Danger</button>
</div>
</div>
<!-- /7. $FLAT_BUTTONS -->
<!-- 8. $BUTTONS_WITH_LABELS =======================================================================
Buttons with labels
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Buttons with labels</span>
</div>
<div class="panel-body buttons-with-margins">
<!-- Default buttons -->
<button class="btn btn-lg btn-labeled"><span class="btn-label icon fa fa-camera-retro"></span>Large</button>
<button class="btn btn-labeled btn-primary"><span class="btn-label icon fa fa-camera-retro"></span>Default</button>
<button class="btn btn-sm btn-labeled btn-success"><span class="btn-label icon fa fa-camera-retro"></span>Small</button>
<button class="btn btn-xs btn-labeled btn-danger"><span class="btn-label icon fa fa-camera-retro"></span>Extra small</button>
<br><br>
<!-- Outline buttons -->
<button class="btn btn-outline btn-lg btn-labeled"><span class="btn-label icon fa fa-camera-retro"></span>Large</button>
<button class="btn btn-outline btn-labeled btn-primary"><span class="btn-label icon fa fa-camera-retro"></span>Default</button>
<button class="btn btn-outline btn-sm btn-labeled btn-success"><span class="btn-label icon fa fa-camera-retro"></span>Small</button>
<button class="btn btn-outline btn-xs btn-labeled btn-danger"><span class="btn-label icon fa fa-camera-retro"></span>Extra small</button>
<br><br>
<!-- Flat buttons -->
<button class="btn btn-flat btn-lg btn-labeled"><span class="btn-label icon fa fa-camera-retro"></span>Large</button>
<button class="btn btn-flat btn-labeled btn-primary"><span class="btn-label icon fa fa-camera-retro"></span>Default</button>
<button class="btn btn-flat btn-sm btn-labeled btn-success"><span class="btn-label icon fa fa-camera-retro"></span>Small</button>
<button class="btn btn-flat btn-xs btn-labeled btn-danger"><span class="btn-label icon fa fa-camera-retro"></span>Extra small</button>
<br><br>
<!-- Rounded buttons -->
<button class="btn btn-rounded btn-lg btn-labeled"><span class="btn-label icon fa fa-camera-retro"></span>Large</button>
<button class="btn btn-rounded btn-labeled btn-primary"><span class="btn-label icon fa fa-camera-retro"></span>Default</button>
<button class="btn btn-rounded btn-sm btn-labeled btn-success"><span class="btn-label icon fa fa-camera-retro"></span>Small</button>
<button class="btn btn-rounded btn-xs btn-labeled btn-danger"><span class="btn-label icon fa fa-camera-retro"></span>Extra small</button>
<br><br>
<!-- Block buttons -->
<button class="btn btn-labeled btn-block"><span class="btn-label">Text label</span>Block button</button>
</div>
</div>
<!-- /8. $BUTTONS_WITH_LABELS -->
<!-- 9. $BUTTON_DROPDOWNS ==========================================================================
Button dropdowns
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Button dropdowns</span>
</div>
<div class="panel-body">
<!-- Large -->
<div class="btn-group">
<button type="button" class="btn btn-lg dropdown-toggle" data-toggle="dropdown">Large <i class="fa fa-caret-down"></i></button>
<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>
</div>
<!-- Default -->
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Default <i class="fa fa-caret-down"></i></button>
<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>
</div>
<!-- Small -->
<div class="btn-group">
<button type="button" class="btn btn-sm btn-danger dropdown-toggle" data-toggle="dropdown">Small <i class="fa fa-caret-down"></i></button>
<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>
</div>
<!-- Extra small -->
<div class="btn-group">
<button type="button" class="btn btn-xs btn-success dropdown-toggle" data-toggle="dropdown">Extra small <i class="fa fa-caret-down"></i></button>
<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>
</div>
</div>
</div>
<!-- /9. $BUTTON_DROPDOWNS -->
<!-- 10. $SPLIT_BUTTON_DROPDOWNS ===================================================================
Split button dropdowns
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Split button dropdowns</span>
</div>
<div class="panel-body">
<!-- Large -->
<div class="btn-group btn-group-lg">
<button type="button" class="btn">Large</button>
<button type="button" class="btn dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down"></i></button>
<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>
</div>
<!-- Default -->
<div class="btn-group">
<button type="button" class="btn btn-primary">Default</button>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down"></i></button>
<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>
</div>
<!-- Small -->
<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-danger">Small</button>
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down"></i></button>
<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>
</div>
<!-- Extra small -->
<div class="btn-group btn-group-xs">
<button type="button" class="btn btn-success">Extra small</button>
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down"></i></button>
<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>
</div>
</div>
</div>
<!-- /10. $SPLIT_BUTTON_DROPDOWNS -->
<!-- 11. $BOOTSTRAP_BUTTONS ========================================================================
Bootstrap buttons
-->
<!-- Javascript -->
<script>
init.push(function () {
$('#loading-example-btn').click(function () {
var btn = $(this);
btn.button('loading');
setTimeout(function () {
btn.button('reset');
}, 1500);
});
});
</script>
<!-- / Javascript -->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Bootstrap buttons</span>
</div>
<div class="panel-body no-padding-t">
<!-- State buttons -->
<h6 class="text-light-gray text-semibold text-xs" style="margin:20px 0 10px 0;">STATE BUTTONS</h6>
<button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary">Loading state</button>
<hr class="panel-wide">
<!-- Single toggle buttons -->
<h6 class="text-light-gray text-semibold text-xs" style="margin:20px 0 10px 0;">SINGLE TOGGLE BUTTONS</h6>
<button type="button" class="btn btn-danger" data-toggle="button">Single toggle</button>
<hr class="panel-wide">
<!-- Checkbox buttons -->
<h6 class="text-light-gray text-semibold text-xs" style="margin:20px 0 10px 0;">CHECKBOX BUTTONS</h6>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-info">
<input type="checkbox"> Option 1
</label>
<label class="btn btn-info">
<input type="checkbox"> Option 2
</label>
<label class="btn btn-info">
<input type="checkbox"> Option 3
</label>
</div> <!-- / .btn-group -->
<hr class="panel-wide">
<!-- Radio buttons -->
<h6 class="text-light-gray text-semibold text-xs" style="margin:20px 0 10px 0;">RADIO BUTTONS</h6>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-success">
<input type="radio" name="options" id="option1"> Option 1
</label>
<label class="btn btn-success">
<input type="radio" name="options" id="option2"> Option 2
</label>
<label class="btn btn-success">
<input type="radio" name="options" id="option3"> Option 3
</label>
</div> <!-- / .btn-group -->
</div>
</div>
<!-- /11. $BOOTSTRAP_BUTTONS -->
</div>
<div class="col-sm-6">
<!-- 12. $BUTTON_SIZES =============================================================================
Button sizes
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Button sizes</span>
</div>
<div class="panel-body buttons-with-margins">
<button class="btn btn-lg">Large</button>
<button class="btn btn-primary">Default</button>
<button class="btn btn-info btn-sm">Small</button>
<button class="btn btn-success btn-xs">Extra small</button>
</div>
</div>
<!-- /12. $BUTTON_SIZES -->
<!-- 13. $OUTLINE_BUTTONS ==========================================================================
Outline buttons
-->
<!-- Javascript -->
<script>
init.push(function () {
$('#outline-switcher').switcher({
on_state_content: '<span class="fa fa-check" style="font-size:11px;"></span>',
off_state_content: '<span class="fa fa-times" style="font-size:11px;"></span>'
});
$('#outline-switcher').on($('html').hasClass('ie8') ? "propertychange" : "change", function () {
var $panel = $(this).parents('.panel');
if ($(this).is(':checked')) {
$panel.addClass('panel-danger panel-dark panel-body-colorful');
$panel.find('.panel-body .btn').addClass('dark');
} else {
$panel.removeClass('panel-danger panel-dark panel-body-colorful');
$panel.find('.panel-body .btn').removeClass('dark');
}
});
});
</script>
<!-- / Javascript -->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Outline buttons</span>
<div class="panel-heading-controls">
<span class="panel-heading-text" style="font-size:11px;font-weight:600;">DARK </span>
<input type="checkbox" data-class="switcher-sm" id="outline-switcher">
</div> <!-- / .panel-heading-controls -->
</div>
<div class="panel-body buttons-with-margins">
<!-- Default -->
<button class="btn btn-lg btn-outline">Large</button>
<button class="btn btn-primary btn-outline">Default</button>
<button class="btn btn-info btn-sm btn-outline">Small</button>
<button class="btn btn-success btn-xs btn-outline">Extra small</button>
<br>
<!-- Rounded -->
<button class="btn btn-lg btn-outline btn-rounded">Large</button>
<button class="btn btn-primary btn-outline btn-rounded">Default</button>
<button class="btn btn-info btn-sm btn-outline btn-rounded">Small</button>
<button class="btn btn-success btn-xs btn-outline btn-rounded">Extra small</button>
<br>
<!-- Flat -->
<button class="btn btn-lg btn-outline btn-flat">Large</button>
<button class="btn btn-primary btn-outline btn-flat">Default</button>
<button class="btn btn-info btn-sm btn-outline btn-flat">Small</button>
<button class="btn btn-success btn-xs btn-outline btn-flat">Extra small</button>
<br>
<!-- Flat rounded -->
<button class="btn btn-lg btn-outline btn-flat btn-rounded">Large</button>
<button class="btn btn-primary btn-outline btn-flat btn-rounded">Default</button>
<button class="btn btn-info btn-sm btn-outline btn-flat btn-rounded">Small</button>
<button class="btn btn-success btn-xs btn-outline btn-flat btn-rounded">Extra small</button>
</div>
</div>
<!-- /13. $OUTLINE_BUTTONS -->
<!-- 14. $DISABLED_BUTTONS =========================================================================
Disabled buttons
-->
<div class="panel">
<div class="panel-heading">
<span class="panel-title">Disabled buttons</span>
</div>
<div class="panel-body buttons-with-margins">
<button class="btn disabled">Default</button>
<button class="btn btn-primary disabled">Primary</button>
<button class="btn btn-info disabled">Info</button>
<button class="btn btn-success disabled">Success</button>