Project

General

Profile

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
464

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
677
.btn-group .btn {
678
    margin-right: 5px;
679
}
680

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

    
685
.list-group {
686
    margin-bottom: 0;
687
}
688

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

    
696
.widget-heading-icon .fa {
697
    color: #fff;
698
}
699

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

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

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

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

    
726
ul.tree img{
727
    border: none;
728
}
729

    
730
ul.tree, ul.tree ul {
731
    padding-left: 0;
732
}
733

    
734
ul.tree ul {
735
    margin-left: 16px;
736

    
737
}
738

    
739
ul.tree li.closed ul {
740
    display: none;
741
}
742

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

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

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

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

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

    
768
}
769

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

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

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

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

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

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

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

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

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

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

    
821
/* Divs, by default store vertically aligned data */
822

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

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

    
838
ul.tree li .over{
839
    background-color: pink;
840
}
841

    
842
/*
843
 * End of CSS for Standard tree layout
844
 */
845

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

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

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

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

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

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

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

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

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

    
928
/** Text color for diff display when comapring configs */
929
.diff-text {
930
    color: #000000;
931
}
932

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

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

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

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

    
964
.bs-callout code {
965
    border-radius: 3px;
966
}
967

    
968
.bs-callout+.bs-callout {
969
    margin-top: -5px;
970
}
971

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

    
977
.bs-callout-default h4 {
978
    color: #777;
979
}
980

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

    
985
.bs-callout-danger h4 {
986
    color: #d9534f;
987
}
988

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

    
993
.bs-callout-warning h4 {
994
    color: #f0ad4e;
995
}
996

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

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

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

    
1011
/* D3 Styles */
1012

    
1013
svg {
1014
    display: block;
1015
}
1016

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

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

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

    
1033
.nvtooltip > h3 {
1034
    font-size: 14px;
1035
}
1036

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

    
1042
.chkboxlbl {
1043
    padding-top: 4px;
1044
}
1045

    
1046
.colspanth {
1047
    background-color: #eeeeee;
1048
}
1049

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