Project

General

Profile

Download (19.4 KB) Statistics
| Branch: | Tag: | Revision:
1
/*
2
 * pfSense.css
3
 *
4
 * part of pfSense (https://www.pfsense.org)
5
 * Copyright (c) 2016 Electric Sheep Fencing
6
 * Copyright (c) 2016-2021 Rubicon Communications, LLC (Netgate)
7
 * All rights reserved.
8
 *
9
 * Licensed under the Apache License, Version 2.0 (the "License");
10
 * you may not use this file except in compliance with the License.
11
 * You may obtain a copy of the License at
12
 *
13
 * http://www.apache.org/licenses/LICENSE-2.0
14
 *
15
 * Unless required by applicable law or agreed to in writing, software
16
 * distributed under the License is distributed on an "AS IS" BASIS,
17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
 * See the License for the specific language governing permissions and
19
 * limitations under the License.
20
 */
21

    
22
@import url("/vendor/bootstrap/css/bootstrap.min.css");
23
@import url("/css/fonts/roboto.css");
24
@import url("/vendor/jquery-ui/jquery-ui-1.12.1.min.css");
25

    
26
html {
27
    position: relative;
28
    min-height: 100%;
29
}
30

    
31
body {
32
    margin-bottom: 80px;
33
    background-color: #F5F5F5;
34
    font-family: 'Roboto', sans-serif;
35
}
36

    
37
body.no-menu #jumbotron {
38
    padding: 100px 0;
39
    background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%)
40
}
41

    
42
body.no-menu {
43
    padding-top: 70px;
44
}
45

    
46
body.no-menu #jumbotron {
47
    margin-top: 75px;
48
}
49

    
50
body#index .icons {
51
    float: right;
52
}
53

    
54
a:hover {
55
    text-decoration: none;
56
}
57

    
58
a.fa, i.fa {
59
    font-size: 18px;
60
}
61

    
62
h1 a:link, h1 a:visited {
63
    color: #000000;
64
    text-decoration: none !important;
65
}
66

    
67
h1 a:hover, h1 a:active {
68
    color: #000000;
69
    text-decoration: none !important;
70
}
71

    
72
/* Zero-width optional linebreaks can help the browser to linebreak at 'good' places.
73
   Unfortunately the two most compatible options aren't consistently supported.
74
   "\00200B" or #8203; is part of unicode and widely implemented; and <wbr> is widely
75
   supported even on old browsers but not IE<5.5 and IE>7.
76
   http://stackoverflow.com/a/23759279/2238378 suggests a neat "80%" solution for broad
77
   compatibility pre-HTML5 - use <wbr> and automatically insert #&8203; after it. Should
78
   be invisible, facilitates neat line breaking when manual control is desired. */
79
wbr:after {
80
    content: "\00200B";
81
}
82

    
83
.container.fixed {
84
    padding-top: 60px;
85
}
86

    
87
.ui-sortable-handle {
88
    cursor: move;
89
}
90

    
91
.ui-widget {
92
    font-family: Roboto, sans-serif;
93
}
94

    
95
.table-striped>tbody>tr.disabled:nth-of-type(odd) {
96
    background-color: rgba(249, 249, 249, .5);
97
    color: rgba(51,51,51,.5);
98
}
99

    
100
.table-striped>tbody>tr.disabled:nth-of-type(even) {
101
    background-color: rgba(255, 255, 255, .5);
102
    color: rgba(51,51,51,.5);
103
}
104

    
105
.table-hover>tbody>tr.disabled:hover {
106
    background-color: rgba(245, 245, 245, .5);
107
}
108

    
109
tr.disabled i.fa {
110
    opacity: .5;
111
}
112

    
113
tr.disabled a {
114
    color: rgba(51, 122, 183, .5)
115
}
116

    
117
.contains-table table {
118
    border: 1px solid #ddd;
119
}
120

    
121
/** Content structure */
122
.table-responsive {
123
    clear: both;
124
    margin-bottom: 0px;
125
}
126

    
127
/* navigation */
128
.navbar {
129
    margin-bottom: 10px;
130
}
131

    
132
.navbar-inverse {
133
    background-color: #212121;
134
}
135

    
136
.navbar-brand > img {
137
    /* reduce logo size */
138
    max-width: 127px;
139
    max-height: 36px;
140
    width: auto;
141
    height: auto;
142
}
143

    
144
.navbar-brand svg#logo {
145
    width: 105px;
146
}
147

    
148
.logo-st0 {
149
    fill:#FFFFFF;
150
}
151

    
152
.logo-st1 {
153
    fill:#FFFFFF;
154
}
155

    
156
.logo-st2 {
157
    fill:#FFFFFF;
158
}
159

    
160
.navbar-brand {
161
    padding: 5px 10px 0 10px;
162
    line-height: .3em;
163
}
164

    
165
.nav>li>a {
166
    padding: 14px 19px 10px 19px;
167
    border-bottom: 5px solid #F5F5F5;
168
    border-radius: 0;
169
    color: #B71C1C;
170
}
171

    
172
.nav>li>a:focus, .nav>li>a:hover {
173
    border-bottom: 5px solid #B71C1C;
174
    background-color: #f5f5f5;
175
}
176

    
177
.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 {
178
    border-bottom: 5px solid #B71C1C;
179
    color: #B71C1C;
180
    background-color: #F5F5F5;
181
}
182

    
183
.navbar-inverse .navbar-nav >li>a {
184
    border-bottom: 5px solid #212121;
185
    color: #BDBDBD;
186
}
187

    
188
.nav-tabs>li>a {
189
    border-bottom: 5px solid #F5F5F5;
190
    margin-bottom: 1px;
191
}
192

    
193
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover, .nav-tabs>li>a:hover {
194
    border-left: 1px solid #F5F5F5;
195
    border-right: 1px solid #F5F5F5;
196
    border-top: 1px solid #F5F5F5;
197
    background-color: #F5F5F5;
198
    border-bottom: 5px solid #B71C1C;
199
    margin-bottom: 0;
200
    color: #B71C1C;
201
    box-shadow: none;
202
}
203

    
204
.nav-tabs {
205
    border-bottom: 1px solid #B71C1C;
206
    margin-bottom: 15px;
207
}
208

    
209
.nav-pills {
210
    margin-bottom: 20px;
211
}
212

    
213
.dropdown-menu>li>a {
214
    padding: 5px 20px;
215
}
216

    
217
.navbar-right>li>a {
218
    padding: 14px 15px 10px 15px;
219
}
220
/* end navigation */
221

    
222
.alert {
223
    border-radius: 0;
224
    box-shadow: 0px 1px 10px rgba(0,0,0,0.1);
225
}
226

    
227
.panel {
228
    margin-bottom: 10px;
229
    border-radius: 0;
230
    box-shadow: 0px 3px 7px rgba(0,0,0,.1);
231
}
232

    
233
.panel-default>.panel-heading {
234
    color: #fff;
235
    background-color: #424242;
236
    letter-spacing: 1px;
237
}
238

    
239
.panel-heading {
240
    padding: 5px 15px;
241
    border-radius: 0;
242
}
243

    
244
.panel-heading a:link, .panel-heading a:visited {
245
    color: white;
246
}
247

    
248
.panel-title {
249
    font-size: 16px;
250
}
251

    
252
.panel-body {
253
    padding: 0px;
254
}
255

    
256
#login .panel-heading {
257
    padding: 10px 15px
258
}
259

    
260
.content {
261
    padding: 10px;
262
}
263

    
264
.form-horizontal {
265
    margin-bottom: 10px;
266
    overflow: hidden;
267
}
268

    
269
.form-horizontal .checkbox {
270
    padding: 3px 16px;
271
}
272

    
273
.form-control {
274
    height: 24px;
275
    padding: 0 6px;
276
    margin-bottom: 5px;
277
}
278

    
279
.form-control option {
280
    padding: inherit;
281
}
282

    
283
/* location of bottom right drag icon on resizable elements */
284
.ui-resizable-se {
285
	bottom: 2px;
286
	right: 46px;
287
}
288

    
289
#login .form-control {
290
    height: 34px;
291
}
292

    
293
#login .form-group {
294
    border: none;
295
}
296

    
297
.form-group {
298
    margin: 0;
299
    padding: 7px 5px 5px 5px;
300
    border-bottom: 1px solid #E0E0E0;
301
}
302

    
303
.form-group:last-child {
304
    border-bottom: none;
305
}
306

    
307
.form-listitem {
308
	border-top: 3px solid #E0E0E0;
309
}
310
.form-listitem:first-child {
311
	border-top: none;
312
}
313

    
314
.input-group-addon {
315
    padding: 0 12px;
316
}
317

    
318
.table {
319
    margin-bottom: 0px;
320
}
321
/*This is parsed by IE10+ only. Need this to stop empty tables from collapsing */
322
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
323
 .table {
324
	  margin-bottom:1px !important;
325
  }
326
 }
327

    
328
.table>tbody>tr>td {
329
    padding: 6px 4px 6px 10px;
330
}
331

    
332
/* active table row */
333
.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 {
334
    background-color: #BDBDBD;
335
}
336

    
337
/* active table row on hover */
338
.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 {
339
    background-color: #BDBDBD;
340
}
341

    
342
/* Handle the limited space available on the Status DHCPv6 Leases table.
343
 * Break DUID string when needed and use smaller text.
344
 */
345
.statusdhcpv6leases tbody>tr>td:nth-of-type(4) {
346
    word-wrap: break-word;
347
    word-break: break-all;
348
    font-size: smaller;
349
}
350

    
351
/* Smaller text for IAID in leases table and in prefixes table
352
 * for the route ip and its IAID.
353
 */
354
.statusdhcpv6leases tbody>tr>td:nth-of-type(3),
355
.statusdhcpv6prefixes tbody>tr>td:nth-of-type(3) {
356
    font-size: smaller;
357
}
358

    
359
/* Break DUID string in the prefixes table. */
360
.statusdhcpv6prefixes tbody>tr>td:nth-of-type(5) {
361
    word-wrap: break-word;
362
    word-break: break-all;
363
}
364

    
365
.popover {
366
    max-width: none;
367
}
368

    
369
.help-block {
370
    margin-bottom: 0;
371
}
372

    
373
.action-buttons {
374
    text-align: right;
375
    margin-top: 10px;
376
    margin-bottom: 20px;
377
}
378

    
379
/** Form validation */
380
.input-errors ul {
381
    margin-top: 20px;
382
}
383

    
384
/** Page header with title and breadcrumb */
385
.header {
386
    position: relative;
387
    margin: 10px 0 20px 0;
388
    box-shadow: 0px 1px 10px rgba(0,0,0,.3);
389
    margin-bottom: 10px;
390
    background-color: #E0E0E0;
391
}
392

    
393
.header .context-links {
394
    position: absolute;
395
    right: 15px;
396
    top: 15px;
397
}
398

    
399
.header .context-links li {
400
    float: left;
401
    display: inline;
402
    margin-left: 10px;
403
}
404

    
405
.breadcrumb {
406
    background-color: #E0E0E0;
407
    font-size: 22px;
408
}
409

    
410
.breadcrumb>li+li:before {
411
    color: #B71C1C;
412
}
413

    
414
ul.context-links li a {
415
    color: #B71C1C;
416
}
417

    
418
/** Form tweaks */
419
form .btn + .btn {
420
    margin-left: 5px;
421
}
422

    
423
.input-group-inbetween {
424
    border-left: 0;
425
}
426

    
427
.user-duplication .controls {
428
    margin-top: 10px;
429
}
430

    
431
.checkbox.multi label {
432
    display: block;
433
}
434

    
435
.checkbox.multi .btn {
436
    margin-top: 5px;
437
}
438

    
439
.col-sm-10 .form-control {
440
    width: calc(50% - 15px);
441
}
442

    
443
@media (max-width: 991px) {
444
    .col-sm-10 .form-control {
445
        width: 100%;
446
    }
447
}
448

    
449
/** Page footer */
450
.footer {
451
    position: absolute;
452
    bottom: 0;
453
    left: 0;
454
    width: 100%;
455
    height: 40px;
456
    background-color: #212121;
457
    padding-top: 10px;
458
    text-align: center;
459
}
460

    
461
footer a {
462
    color: #ffffff;
463
}
464

    
465

    
466
/** Homepage / dashboard */
467
[id^="widgets-col"] {
468
    min-height: 300px;
469
}
470

    
471
.widget .panel-heading {
472
    background-color: #757575;
473
}
474

    
475
#widgetSequence {
476
    position: fixed;
477
    left: 0;
478
    bottom: 0;
479
    padding: 20px 0;
480
    width: 100%;
481
    z-index: 100;
482
    text-align: center;
483
    background: rgba(255, 255, 255, 0.6);
484
    border-top: 1px solid #ddd;
485
}
486

    
487
/** Styling for jQuery autocomplete widget */
488
.ui-autocomplete {
489
    position: absolute;
490
    top: 100%;
491
    left: 0;
492
    z-index: 1000;
493
    float: left;
494
    display: none;
495
    min-width: 160px;
496
    padding: 4px 0;
497
    margin: 0 0 10px 25px;
498
    list-style: none;
499
    background-color: #ffffff;
500
    border-color: #ccc;
501
    border-color: rgba(0, 0, 0, 0.2);
502
    border-style: solid;
503
    border-width: 1px;
504
    -webkit-border-radius: 5px;
505
    -moz-border-radius: 5px;
506
    border-radius: 5px;
507
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
508
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
509
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
510
    -webkit-background-clip: padding-box;
511
    -moz-background-clip: padding;
512
    background-clip: padding-box;
513
    *border-right-width: 2px;
514
    *border-bottom-width: 2px;
515
}
516

    
517
/** Disable the autocomplete helper text */
518
.ui-helper-hidden-accessible {
519
    border: 0;
520
    clip: rect(0 0 0 0);
521
    height: 1px;
522
    margin: -1px;
523
    overflow: hidden;
524
    padding: 0;
525
    position: absolute;
526
    width: 1px;
527
}
528

    
529
/** Override the bootstrap progress bar margins */
530
.progress {
531
    margin-bottom: 0px;
532
    height: 14px;
533
}
534

    
535
#wizard .progress {
536
    margin-bottom: 10px;
537
}
538

    
539
.progress-bar {
540
    background-color: #B71C1C;
541
}
542

    
543
.progress-bar.progress-bar-success {
544
    background-color: #4CAF50;
545
}
546

    
547
.progress-bar.progress-bar-warning {
548
    background-color: #FBC02D;
549
}
550

    
551
.progress-bar.progress-bar-danger {
552
    background-color: #B71C1C;
553
}
554

    
555
.panel-body.collapse.in {
556
    overflow-x: auto;
557
}
558

    
559
/** start common colors */
560
.alert-warning {
561
    color: #FF6F00;
562
    background-color: #FFFDE7;
563
    border-color: #FFECB3;
564
    border-top: 5px solid #FFD600;
565
}
566

    
567
.alert-success {
568
    color: #1B5E20;
569
    background-color: #E8F5E9;
570
    border-color: #DCEDC8;
571
    border-top: 5px solid #1B5E20;
572
}
573

    
574
.alert-info {
575
    color: #01579B;
576
    background-color: #E1F5FE;
577
    border-color: #B2EBF2;
578
    border-top: 5px solid #01579B;
579
}
580

    
581
.bg-primary {
582
    color: #000;
583
    background-color: #009688;
584
}
585

    
586
.bg-info {
587
    color: #01579B;
588
    background-color: #B3E5FC;
589
}
590

    
591
.bg-danger {
592
    color: #000;
593
    background-color: #EF9A9A;
594
}
595

    
596
.bg-warning {
597
    color: #000;
598
    background-color: #FFF9C4;
599
}
600

    
601
.bg-success {
602
    color: #1B5E20;
603
    background-color: #C8E6C9;
604
}
605

    
606
.btn-success {
607
    background-color: #43A047;
608
}
609

    
610
.btn-danger {
611
    background-color: #B71C1C;
612
}
613

    
614
.btn-primary {
615
    background-color: #1976D2;
616
}
617

    
618
.text-warning {
619
    color: #F57F17;
620
}
621

    
622
.text-success {
623
    color: #4CAF50;
624
}
625

    
626
.text-danger {
627
    color: #B71C1C;
628
}
629
/** end common colors */
630

    
631
.table-hover>tbody>tr.hover-success:hover {
632
    color: #000;
633
    background-color: #A5D6A7;
634
}
635

    
636
.table-hover>tbody>tr.hover-danger:hover {
637
    color: #000;
638
    background-color: #EF9A9A;
639
}
640

    
641
.table-hover>tbody>tr.hover-warning:hover {
642
    color: #000;
643
    background-color: #FFF9C4;
644
}
645

    
646
/** icons are often used with onclick actions, so we need the cursor to change to a pointer */
647
.icon-pointer
648
{
649
    cursor: pointer;
650
}
651

    
652
.icon-embed-btn
653
{
654
    font-size: 15px;
655
    vertical-align: middle;
656
    color: white;
657
    padding-right: 22px;
658
    padding-bottom: 17px;
659
    margin-top: -0.125em;
660
    width: 14px;
661
    height: 14px;
662
    pointer-events: none;
663
}
664

    
665
/* Used when you need an icon to act as a submit button **/
666
.button-icon
667
{
668
    color: #337AB7;
669
    background: none;
670
    border: 0px;
671
}
672

    
673
.btn
674
{
675
    padding-right: 4px;
676
    padding-left: 4px;
677
}
678

    
679
.btn-group .btn {
680
    margin-right: 5px;
681
}
682

    
683
.btn-group .btn:last-child {
684
    margin-right: 0px;
685
}
686

    
687
.list-group {
688
    margin-bottom: 0;
689
}
690

    
691
/* icons in the dashboard panel headings should pull-right **/
692
.widget-heading-icon
693
{
694
    display: block;
695
    float: right;
696
}
697

    
698
.widget-heading-icon .fa {
699
    color: #fff;
700
}
701

    
702
.widget-heading-icon .fa:hover {
703
    color: #e0e0e0;
704
}
705

    
706
/* All pfSense textareas benefit from using a fixed width font **/
707
textarea
708
{
709
    font-family: monospace;
710
    font-size: 12px;
711
    -moz-tab-size: 4;
712
    -o-tab-size: 4;
713
}
714

    
715
/*
716
 * CSS for Standard tree layout
717
 * Copyright (c) 2005 SilverStripe Limited
718
 * Feel free to use this on your websites, but please leave this message in the fies
719
 * http://www.silverstripe.com/blog
720
 */
721

    
722
ul.tree{
723
    width: auto;
724
    padding-left: 0px;
725
    margin-left: 0px;
726
}
727

    
728
ul.tree img{
729
    border: none;
730
}
731

    
732
ul.tree, ul.tree ul {
733
    padding-left: 0;
734
}
735

    
736
ul.tree ul {
737
    margin-left: 16px;
738

    
739
}
740

    
741
ul.tree li.closed ul {
742
    display: none;
743
}
744

    
745
ul.tree li {
746
    list-style: none;
747
    background: url(../../vendor/tree/i-repeater.gif) 0 0 repeat-y;
748
    display: block;
749
    width: auto;
750
}
751

    
752
ul.tree li.last {
753
    list-style: none;
754
    background-image: none;
755
}
756

    
757
/* Span-A: I/L/I glpyhs */
758
ul.tree span.a {
759
    background: url(../../vendor/tree/t.gif) 0 50% no-repeat;
760
    display: block;
761
}
762

    
763
ul.tree span.a.last {
764
    background: url(../../vendor/tree/l.gif) 0 50% no-repeat;
765
}
766

    
767
/* Span-B: Plus/Minus icon */
768
ul.tree span.b {
769

    
770
}
771

    
772
ul.tree span.a.children span.b {
773
    background: url(../../vendor/tree/minus.gif) 0 50% no-repeat;
774
    cursor: pointer;
775
}
776

    
777
ul.tree li.closed span.a.children span.b {
778
    background: url(../../vendor/tree/plus.gif) 0 50% no-repeat;
779
    cursor: pointer;
780
}
781

    
782
/* Span-C: Spacing and extending tree line below the icon */
783
ul.tree span.c {
784
    margin-left: 16px;
785
}
786

    
787
ul.tree span.a.children span.c {
788
    background: url(../../vendor/tree/i-bottom.gif) 0 50% no-repeat;
789
}
790

    
791
ul.tree span.a.spanClosed span.c {
792
    background-image: none;
793
}
794

    
795
/* Anchor tag: Page icon */
796
ul.tree a  {
797
    white-space: nowrap;
798
    overflow: hidden;
799
    padding: 3px 0px 3px 18px;
800
    line-height: 16px;
801
    background: url(../../vendor/tree/page-file.png) 0 0 no-repeat;
802
}
803

    
804
ul.tree span.a.children a {
805
    background-image: url(../../vendor/tree/page-openfoldericon.png);
806
}
807

    
808
ul.tree span.a.children.spanClosed a {
809
    background-image: url(../../vendor/tree/page-foldericon.png);
810
}
811

    
812
/* Unformatted tree */
813
ul.tree.unformatted li {
814
    background-image: none;
815
    padding-left: 16px;
816
}
817

    
818
ul.tree.unformatted li li {
819
    background-image: none;
820
    padding-left: 0px;
821
}
822

    
823
/* Divs, by default store vertically aligned data */
824

    
825
ul.tree li div {
826
    float: right;
827
    clear: right;
828
    height: 1em;
829
    margin-top: -26px;
830
}
831

    
832
/* As inside DIVs should be treated normally */
833
ul.tree div a  {
834
    padding: 0;
835
    background-image: none;
836
    min-height: auto;
837
    height: auto;
838
}
839

    
840
ul.tree li .over{
841
    background-color: pink;
842
}
843

    
844
/*
845
 * End of CSS for Standard tree layout
846
 */
847

    
848
table[data-sortable].sortable-theme-bootstrap {
849
    font-family: Roboto, sans-serif;
850
}
851

    
852
table[data-sortable].sortable-theme-bootstrap thead th {
853
    white-space: nowrap;
854
}
855

    
856
@media (max-width: 1199px) {
857
    .nav>li>a {
858
        padding: 14px 9px 10px 9px;
859
    }
860
}
861

    
862
@media (max-width: 991px) {
863
    /* change top navbar from horizontal to vertical */
864
    .navbar-header {
865
        float: none;
866
    }
867
    .navbar-toggle {
868
        display: block;
869
    }
870
    .navbar-collapse {
871
        border-top: 1px solid transparent;
872
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
873
    }
874
    .navbar-collapse.collapse {
875
        display: none!important;
876
    }
877
    .navbar-nav {
878
        float: none!important;
879
        margin: 7.5px -15px;
880
    }
881
    .navbar-nav>li {
882
        float: none;
883
    }
884
    .navbar-nav>li>a {
885
        padding-top: 10px;
886
        padding-bottom: 10px;
887
    }
888
    .navbar-text {
889
        float: none;
890
        margin: 15px 0;
891
    }
892
    /* since 3.1.0 */
893
    .navbar-collapse.collapse.in {
894
        display: block!important;
895
    }
896
    .collapsing {
897
        overflow: hidden!important;
898
    }
899
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
900
        max-height: none !important;
901
    }
902
}
903

    
904
@media (max-width: 767px) {
905
    .header {
906
        margin-bottom: 5px;
907
    }
908

    
909
    .breadcrumb {
910
        font-size: 14px;
911
        padding: 15px;
912
        width: 50%;
913
    }
914

    
915
    .breadcrumb li:not(:last-child), .breadcrumb>li+li:before {
916
        display: none;
917
    }
918
}
919

    
920
/** Override text-warning with something less red. */
921
.text-warning {
922
    color: #ffcc00;
923
}
924

    
925
/**Suppress href links when printing */
926
a[href]:after {
927
    content: normal;
928
}
929

    
930
/** Text color for diff display when comparing configs */
931
.diff-text {
932
    color: #000000;
933
}
934

    
935
/** Eliminate overflow in available widgets, log filter, and manage log panels. (cause of scroll bar) */
936
#widget-available_panel-body>.content>.row,
937
#filter-panel_panel-body>.form-group,
938
#manage-log-panel_panel-body>.form-group,
939
#monitoring-settings-panel_panel-body>.form-group,
940
/** optionally prevent more globally by using the class hierarchy */
941
.panel-body.collapse.in>.content>.row,
942
.panel-body.collapse.in>.form-group
943
{
944
    margin-right: 0px;
945
}
946

    
947
/* Callouts */
948
.bs-callout {
949
    padding: 10px 15px;
950
    margin: 20px 0;
951
    border: 2px solid #eee;
952
    border-left-width: 5px;
953
    border-radius: 3px;
954
    font-size: 13px;
955
}
956

    
957
.bs-callout h4 {
958
    margin-top: 0;
959
    margin-bottom: 5px;
960
}
961

    
962
.bs-callout p:last-child {
963
    margin-bottom: 0;
964
}
965

    
966
.bs-callout code {
967
    border-radius: 3px;
968
}
969

    
970
.bs-callout+.bs-callout {
971
    margin-top: -5px;
972
}
973

    
974
/* Callout contextual classes */
975
.bs-callout-default {
976
    border-left-color: #777;
977
}
978

    
979
.bs-callout-default h4 {
980
    color: #777;
981
}
982

    
983
.bs-callout-danger {
984
    border-left-color: #d9534f;
985
}
986

    
987
.bs-callout-danger h4 {
988
    color: #d9534f;
989
}
990

    
991
.bs-callout-warning {
992
    border-left-color: #f0ad4e;
993
}
994

    
995
.bs-callout-warning h4 {
996
    color: #f0ad4e;
997
}
998

    
999
.bs-callout-info {
1000
    border-left-color: #01579B;
1001
}
1002

    
1003
.bs-callout-info h4 {
1004
    color: #01579B;
1005
}
1006

    
1007
/* Disable 300 ms click delay so event handlers are effective. */
1008
/* Makes posible for non-touch compatible features to work; e.g. double tap rule to edit. */
1009
body{
1010
    touch-action: manipulation;
1011
}
1012

    
1013
/* D3 Styles */
1014

    
1015
svg {
1016
    display: block;
1017
}
1018

    
1019
.d3-chart, .d3-chart svg {
1020
    margin: 0px;
1021
    padding: 10px 0;
1022
    height: 445px;
1023
    width: 100%;
1024
}
1025

    
1026
.traffic-widget-chart, .traffic-widget-chart svg {
1027
    padding: 0;
1028
    height: 250px;
1029
}
1030

    
1031
.traffic-widget-chart:not(:last-child) {
1032
    border-bottom: 2px solid #ccc;
1033
}
1034

    
1035
.nvtooltip > h3 {
1036
    font-size: 14px;
1037
}
1038

    
1039
/* Experimental styles to correct vertical alignment in forms */
1040
.col-sm-10 {
1041
    padding-top: 7px;
1042
}
1043

    
1044
.chkboxlbl {
1045
    padding-top: 4px;
1046
}
1047

    
1048
.colspanth {
1049
    background-color: #eeeeee;
1050
}
1051

    
1052
/* Required input elements have a title that begins with "*". This causes
1053
Group.class.php to add <span class="element-required" to the title, which
1054
can then be used to style required input here. Example below uses a custom
1055
text underline, but text-color, background, font etc. could also be used */
1056
.element-required {
1057
    box-shadow: inset 0 0px 0 white, inset 0 -1px 0 black
1058
}
(7-7/7)