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
|
/*
* pfSense.css
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2016 Rubicon Communications, LLC (Netgate)
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@import url("/vendor/bootstrap/css/bootstrap.min.css");
@import url("/css/fonts/roboto.css");
@import url("/vendor/jquery/jquery-ui/themes/smoothness/theme.css");
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 80px;
background-color: #F5F5F5;
font-family: 'Roboto', sans-serif;
}
body.no-menu #jumbotron {
padding: 100px 0;
background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%)
}
body.no-menu {
background: url("/logo-black.png") no-repeat center 30px;
padding-top: 70px;
}
body.no-menu #jumbotron {
margin-top: 75px;
}
body#index .icons {
float: right;
}
a:hover {
text-decoration: none;
}
a.fa, i.fa {
font-size: 18px;
}
h1 a:link, h1 a:visited {
color: #000000;
text-decoration: none !important;
}
h1 a:hover, h1 a:active {
color: #000000;
text-decoration: none !important;
}
/* Zero-width optional linebreaks can help the browser to linebreak at 'good' places.
Unfortunately the two most compatible options aren't consistently supported.
"\00200B" or #8203; is part of unicode and widely implemented; and <wbr> is widely
supported even on old browsers but not IE<5.5 and IE>7.
http://stackoverflow.com/a/23759279/2238378 suggests a neat "80%" solution for broad
compatibility pre-HTML5 - use <wbr> and automatically insert #&8203; after it. Should
be invisible, facilitates neat line breaking when manual control is desired. */
wbr:after {
content: "\00200B";
}
.container.fixed {
padding-top: 60px;
}
.ui-sortable-handle {
cursor: move;
}
.ui-widget {
font-family: Roboto, sans-serif;
}
tr.disabled td,
tr.disabled th {
opacity: .5;
}
.contains-table table {
border: 1px solid #ddd;
}
/** Content structure */
.table-responsive {
clear: both;
margin-bottom: 0px;
}
/* navigation */
.navbar {
margin-bottom: 10px;
}
.navbar-inverse {
background-color: #212121;
}
.navbar-brand > img {
/* reduce logo size */
max-width: 127px;
max-height: 36px;
width: auto;
height: auto;
}
.navbar-brand {
padding: 7px 0 0 5px;
}
.nav>li>a {
padding: 14px 19px 10px 19px;
border-bottom: 5px solid #F5F5F5;
border-radius: 0;
color: #B71C1C;
}
.nav>li>a:focus, .nav>li>a:hover {
border-bottom: 5px solid #B71C1C;
background-color: #f5f5f5;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav li.open>a, .nav li.open>a:focus, .nav-pills>li.active>a:hover {
border-bottom: 5px solid #B71C1C;
color: #B71C1C;
background-color: #F5F5F5;
}
.navbar-inverse .navbar-nav >li>a {
border-bottom: 5px solid #212121;
color: #BDBDBD;
}
.nav-tabs>li>a {
border-bottom: 5px solid #F5F5F5;
margin-bottom: 1px;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover, .nav-tabs>li>a:hover {
border-left: 1px solid #F5F5F5;
border-right: 1px solid #F5F5F5;
border-top: 1px solid #F5F5F5;
background-color: #F5F5F5;
border-bottom: 5px solid #B71C1C;
margin-bottom: 0;
color: #B71C1C;
box-shadow: none;
}
.nav-tabs {
border-bottom: 1px solid #B71C1C;
margin-bottom: 15px;
}
.nav-pills {
margin-bottom: 20px;
}
.dropdown-menu>li>a {
padding: 5px 20px;
}
.navbar-right>li>a {
padding: 14px 15px 10px 15px;
}
/* end navigation */
.alert {
border-radius: 0;
box-shadow: 0px 1px 10px rgba(0,0,0,0.1);
}
.panel {
margin-bottom: 10px;
border-radius: 0;
box-shadow: 0px 3px 7px rgba(0,0,0,.1);
}
.panel-default>.panel-heading {
color: #fff;
background-color: #424242;
letter-spacing: 1px;
}
.panel-heading {
padding: 5px 15px;
border-radius: 0;
}
.panel-heading a:link, .panel-heading a:visited {
color: white;
}
.panel-title {
font-size: 16px;
}
.panel-body {
padding: 0px;
}
#login .panel-heading {
padding: 10px 15px
}
.content {
padding: 10px;
}
.form-horizontal {
margin-bottom: 10px;
overflow: hidden;
}
.form-horizontal .checkbox {
padding: 3px 16px;
}
.form-control {
height: 24px;
padding: 0 6px;
margin-bottom: 5px;
}
.form-control option {
padding: inherit;
}
/* location of bottom right drag icon on resizable elements */
.ui-resizable-se {
bottom: 2px;
right: 46px;
}
#login .form-control {
height: 34px;
}
#login .form-group {
border: none;
}
.form-group {
margin: 0;
padding: 7px 5px 5px 5px;
border-bottom: 1px solid #E0E0E0;
}
.form-group:last-child {
border-bottom: none;
}
.input-group-addon {
padding: 0 12px;
}
.table {
margin-bottom: 0;
}
.table>tbody>tr>td {
padding: 6px 4px 6px 10px;
}
/* active table row */
.table>tbody>tr.active>td, .table>tbody>tr.active>th, .table>tbody>tr>td.active, .table>tbody>tr>th.active, .table>tfoot>tr.active>td, .table>tfoot>tr.active>th, .table>tfoot>tr>td.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>thead>tr.active>th, .table>thead>tr>td.active, .table>thead>tr>th.active {
background-color: #BDBDBD;
}
/* active table row on hover */
.table-hover>tbody>tr.active:hover>td, .table-hover>tbody>tr.active:hover>th, .table-hover>tbody>tr:hover>.active, .table-hover>tbody>tr>td.active:hover, .table-hover>tbody>tr>th.active:hover {
background-color: #BDBDBD;
}
.popover {
max-width: none;
}
.help-block {
margin-bottom: 0;
}
.action-buttons {
text-align: right;
margin-top: 10px;
margin-bottom: 20px;
}
/** Form validation */
.input-errors ul {
margin-top: 20px;
}
/** Page header with title and breadcrumb */
.header {
position: relative;
margin: 10px 0 20px 0;
box-shadow: 0px 1px 10px rgba(0,0,0,.3);
margin-bottom: 10px;
background-color: #E0E0E0;
}
.header .context-links {
position: absolute;
right: 15px;
top: 15px;
}
.header .context-links li {
float: left;
display: inline;
margin-left: 10px;
}
.breadcrumb {
background-color: #E0E0E0;
font-size: 22px;
}
.breadcrumb>li+li:before {
color: #B71C1C;
}
ul.context-links li a {
color: #B71C1C;
}
/** Form tweaks */
form .btn + .btn {
margin-left: 5px;
}
.input-group-inbetween {
border-left: 0;
}
.user-duplication .controls {
margin-top: 10px;
}
.checkbox.multi label {
display: block;
}
.checkbox.multi .btn {
margin-top: 5px;
}
.col-sm-10 .form-control {
width: calc(50% - 15px);
}
@media (max-width: 991px) {
.col-sm-10 .form-control {
width: 100%;
}
}
/** Page footer */
.footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 60px;
background-color: #212121;
padding-top: 10px;
text-align: center;
}
footer a {
color: #ffffff;
}
/** Homepage / dashboard */
[id^="widgets-col"] {
min-height: 300px;
}
.widget .panel-heading {
background-color: #757575;
}
#widgetSequence {
position: fixed;
left: 0;
bottom: 0;
padding: 20px 0;
width: 100%;
z-index: 100;
text-align: center;
background: rgba(255, 255, 255, 0.6);
border-top: 1px solid #ddd;
}
/** Styling for jQuery autocomplete widget */
.ui-autocomplete {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
float: left;
display: none;
min-width: 160px;
padding: 4px 0;
margin: 0 0 10px 25px;
list-style: none;
background-color: #ffffff;
border-color: #ccc;
border-color: rgba(0, 0, 0, 0.2);
border-style: solid;
border-width: 1px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
*border-right-width: 2px;
*border-bottom-width: 2px;
}
/** Disable the autocomplete helper text */
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/** Override the bootstrap progress bar margins */
.progress {
margin-bottom: 0px;
height: 14px;
}
#wizard .progress {
margin-bottom: 10px;
}
.progress-bar {
background-color: #B71C1C;
}
.progress-bar.progress-bar-success {
background-color: #4CAF50;
}
.progress-bar.progress-bar-warning {
background-color: #FBC02D;
}
.progress-bar.progress-bar-danger {
background-color: #B71C1C;
}
.panel-body.collapse.in {
overflow-x: auto;
}
/** start common colors */
.alert-warning {
color: #FF6F00;
background-color: #FFFDE7;
border-color: #FFECB3;
border-top: 5px solid #FFD600;
}
.alert-success {
color: #1B5E20;
background-color: #E8F5E9;
border-color: #DCEDC8;
border-top: 5px solid #1B5E20;
}
.alert-info {
color: #01579B;
background-color: #E1F5FE;
border-color: #B2EBF2;
border-top: 5px solid #01579B;
}
.bg-primary {
color: #000;
background-color: #009688;
}
.bg-info {
color: #01579B;
background-color: #B3E5FC;
}
.bg-danger {
color: #000;
background-color: #EF9A9A;
}
.bg-warning {
color: #000;
background-color: #FFF9C4;
}
.bg-success {
color: #1B5E20;
background-color: #C8E6C9;
}
.btn-success {
background-color: #43A047;
}
.btn-danger {
background-color: #B71C1C;
}
.btn-primary {
background-color: #1976D2;
}
.text-warning {
color: #F57F17;
}
.text-success {
color: #4CAF50;
}
.text-danger {
color: #B71C1C;
}
/** end common colors */
.table-hover>tbody>tr.hover-success:hover {
color: #000;
background-color: #A5D6A7;
}
.table-hover>tbody>tr.hover-danger:hover {
color: #000;
background-color: #EF9A9A;
}
.table-hover>tbody>tr.hover-warning:hover {
color: #000;
background-color: #FFF9C4;
}
/** icons are often used with onclick actions, so we need the cursor to change to a pointer */
.icon-pointer
{
cursor: pointer;
}
.icon-embed-btn
{
font-size: 15px;
vertical-align: middle;
color: white;
padding-right: 22px;
padding-bottom: 17px;
margin-top: -0.125em;
width: 14px;
height: 14px
}
/* Used when you need an icon to act as a submit button **/
.button-icon
{
color: #337AB7;
background: none;
border: 0px;
}
.btn
{
padding-right: 4px;
padding-left: 4px;
}
.btn-group .btn {
margin-right: 5px;
}
.btn-group .btn:last-child {
margin-right: 0px;
}
.list-group {
margin-bottom: 0;
}
/* icons in the dashboard panel headings should pull-right **/
.widget-heading-icon
{
display: block;
float: right;
}
.widget-heading-icon .fa {
color: #fff;
}
.widget-heading-icon .fa:hover {
color: #e0e0e0;
}
/* All pfSense textareas benefit from using a fixed width font **/
textarea
{
font-family: monospace;
font-size: 12px;
-moz-tab-size: 4;
-o-tab-size: 4;
}
/*
* CSS for Standard tree layout
* Copyright (C) 2005 SilverStripe Limited
* Feel free to use this on your websites, but please leave this message in the fies
* http://www.silverstripe.com/blog
*/
ul.tree{
width: auto;
padding-left: 0px;
margin-left: 0px;
}
ul.tree img{
border: none;
}
ul.tree, ul.tree ul {
padding-left: 0;
}
ul.tree ul {
margin-left: 16px;
}
ul.tree li.closed ul {
display: none;
}
ul.tree li {
list-style: none;
background: url(../../vendor/tree/i-repeater.gif) 0 0 repeat-y;
display: block;
width: auto;
}
ul.tree li.last {
list-style: none;
background-image: none;
}
/* Span-A: I/L/I glpyhs */
ul.tree span.a {
background: url(../../vendor/tree/t.gif) 0 50% no-repeat;
display: block;
}
ul.tree span.a.last {
background: url(../../vendor/tree/l.gif) 0 50% no-repeat;
}
/* Span-B: Plus/Minus icon */
ul.tree span.b {
}
ul.tree span.a.children span.b {
background: url(../../vendor/tree/minus.gif) 0 50% no-repeat;
cursor: pointer;
}
ul.tree li.closed span.a.children span.b {
background: url(../../vendor/tree/plus.gif) 0 50% no-repeat;
cursor: pointer;
}
/* Span-C: Spacing and extending tree line below the icon */
ul.tree span.c {
margin-left: 16px;
}
ul.tree span.a.children span.c {
background: url(../../vendor/tree/i-bottom.gif) 0 50% no-repeat;
}
ul.tree span.a.spanClosed span.c {
background-image: none;
}
/* Anchor tag: Page icon */
ul.tree a {
white-space: nowrap;
overflow: hidden;
padding: 3px 0px 3px 18px;
line-height: 16px;
background: url(../../vendor/tree/page-file.png) 0 0 no-repeat;
}
ul.tree span.a.children a {
background-image: url(../../vendor/tree/page-openfoldericon.png);
}
ul.tree span.a.children.spanClosed a {
background-image: url(../../vendor/tree/page-foldericon.png);
}
/* Unformatted tree */
ul.tree.unformatted li {
background-image: none;
padding-left: 16px;
}
ul.tree.unformatted li li {
background-image: none;
padding-left: 0px;
}
/* Divs, by default store vertically aligned data */
ul.tree li div {
float: right;
clear: right;
height: 1em;
margin-top: -26px;
}
/* As inside DIVs should be treated normally */
ul.tree div a {
padding: 0;
background-image: none;
min-height: auto;
height: auto;
}
ul.tree li .over{
background-color: pink;
}
/*
* End of CSS for Standard tree layout
*/
table[data-sortable].sortable-theme-bootstrap {
font-family: Roboto, sans-serif;
}
table[data-sortable].sortable-theme-bootstrap thead th {
white-space: nowrap;
}
@media (max-width: 1199px) {
.nav>li>a {
padding: 14px 9px 10px 9px;
}
}
@media (max-width: 991px) {
/* change top navbar from horizontal to vertical */
.navbar-header {
float: none;
}
.navbar-toggle {
display: block;
}
.navbar-collapse {
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.navbar-collapse.collapse {
display: none!important;
}
.navbar-nav {
float: none!important;
margin: 7.5px -15px;
}
.navbar-nav>li {
float: none;
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
}
.navbar-text {
float: none;
margin: 15px 0;
}
/* since 3.1.0 */
.navbar-collapse.collapse.in {
display: block!important;
}
.collapsing {
overflow: hidden!important;
}
.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
max-height: none !important;
}
}
@media (max-width: 767px) {
.header {
margin-bottom: 5px;
}
.breadcrumb {
font-size: 14px;
padding: 15px;
width: 50%;
}
.breadcrumb li:not(:last-child), .breadcrumb>li+li:before {
display: none;
}
}
/** Override text-warning with something less red. */
.text-warning {
color: #ffcc00;
}
/**Suppress href links when printing */
a[href]:after {
content: normal;
}
/** Text color for diff display when comapring configs */
.diff-text {
color: #000000;
}
/** Eliminate overflow in available widgets, log filter, and manage log panels. (cause of scroll bar) */
#widget-available_panel-body>.content>.row,
#filter-panel_panel-body>.form-group,
#manage-log-panel_panel-body>.form-group,
#monitoring-settings-panel_panel-body>.form-group,
/** optionally prevent more globally by using the class hierarchy */
.panel-body.collapse.in>.content>.row,
.panel-body.collapse.in>.form-group
{
margin-right: 0px;
}
/* Callouts */
.bs-callout {
padding: 10px 15px;
margin: 20px 0;
border: 2px solid #eee;
border-left-width: 5px;
border-radius: 3px;
font-size: 13px;
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 5px;
}
.bs-callout p:last-child {
margin-bottom: 0;
}
.bs-callout code {
border-radius: 3px;
}
.bs-callout+.bs-callout {
margin-top: -5px;
}
/* Callout contextual classes */
.bs-callout-default {
border-left-color: #777;
}
.bs-callout-default h4 {
color: #777;
}
.bs-callout-danger {
border-left-color: #d9534f;
}
.bs-callout-danger h4 {
color: #d9534f;
}
.bs-callout-warning {
border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
color: #f0ad4e;
}
.bs-callout-info {
border-left-color: #01579B;
}
.bs-callout-info h4 {
color: #01579B;
}
/* Disable 300 ms click delay so event handlers are effective. */
/* Makes posible for non-touch compatible features to work; e.g. double tap rule to edit. */
body{
touch-action: manipulation;
}
/* D3 Styles */
svg {
display: block;
}
.d3-chart, .d3-chart svg {
margin: 0px;
padding: 10px 0;
height: 445px;
width: 100%;
}
.traffic-widget-chart, .traffic-widget-chart svg {
padding: 0;
height: 250px;
}
.traffic-widget-chart:not(:last-child) {
border-bottom: 2px solid #ccc;
}
.d3-chart .nvtooltip > h3 {
font-size: 14px;
}
/* Experimental styles to correct vertical alignment in forms */
.col-sm-10 {
padding-top: 7px;
}
.chkboxlbl {
padding-top: 4px;
}
.colspanth {
background-color: #eeeeee;
}
input[type="checkbox"]{
outline: 1px solid #888888;
}
|