Project

General

Profile

Download (19.2 KB) Statistics
| Branch: | Tag: | Revision:
1
/*
2
 * pfSense.css
3
 *
4
 * part of pfSense (https://www.pfsense.org)
5
 * Copyright (c) 2016 Rubicon Communications, LLC (Netgate)
6
 * All rights reserved.
7
 *
8
 * Redistribution and use in source and binary forms, with or without
9
 * modification, are permitted provided that the following conditions are met:
10
 *
11
 * 1. Redistributions of source code must retain the above copyright notice,
12
 *    this list of conditions and the following disclaimer.
13
 *
14
 * 2. Redistributions in binary form must reproduce the above copyright
15
 *    notice, this list of conditions and the following disclaimer in
16
 *    the documentation and/or other materials provided with the
17
 *    distribution.
18
 *
19
 * 3. All advertising materials mentioning features or use of this software
20
 *    must display the following acknowledgment:
21
 *    "This product includes software developed by the pfSense Project
22
 *    for use in the pfSense® software distribution. (http://www.pfsense.org/).
23
 *
24
 * 4. The names "pfSense" and "pfSense Project" must not be used to
25
 *    endorse or promote products derived from this software without
26
 *    prior written permission. For written permission, please contact
27
 *    coreteam@pfsense.org.
28
 *
29
 * 5. Products derived from this software may not be called "pfSense"
30
 *    nor may "pfSense" appear in their names without prior written
31
 *    permission of the Electric Sheep Fencing, LLC.
32
 *
33
 * 6. Redistributions of any form whatsoever must retain the following
34
 *    acknowledgment:
35
 *
36
 * "This product includes software developed by the pfSense Project
37
 * for use in the pfSense software distribution (http://www.pfsense.org/).
38
 *
39
 * THIS SOFTWARE IS PROVIDED BY THE pfSense PROJECT ``AS IS'' AND ANY
40
 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
41
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
42
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE pfSense PROJECT OR
43
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
45
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
46
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
47
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
48
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
49
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50
 * OF THE POSSIBILITY OF SUCH DAMAGE.
51
 */
52

    
53
@import url("/vendor/bootstrap/css/bootstrap.min.css");
54
@import url("/css/fonts/roboto.css");
55
@import url("/vendor/jquery/jquery-ui/themes/smoothness/theme.css");
56

    
57
html {
58
    position: relative;
59
    min-height: 100%;
60
}
61

    
62
body {
63
    margin-bottom: 80px;
64
    background-color: #F5F5F5;
65
    font-family: 'Roboto', sans-serif;
66
}
67

    
68
body.no-menu #jumbotron {
69
    padding: 100px 0;
70
    background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%)
71
}
72

    
73
body.no-menu {
74
    background: url("/logo-black.png") no-repeat center 30px;
75
    padding-top: 70px;
76
}
77

    
78
body.no-menu #jumbotron {
79
    margin-top: 75px;
80
}
81

    
82
body#index .icons {
83
    float: right;
84
}
85

    
86
a:hover {
87
    text-decoration: none;
88
}
89

    
90
a.fa, i.fa {
91
    font-size: 18px;
92
}
93

    
94
h1 a:link, h1 a:visited {
95
    color: #000000;
96
    text-decoration: none !important;
97
}
98

    
99
h1 a:hover, h1 a:active {
100
    color: #000000;
101
    text-decoration: none !important;
102
}
103

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

    
115
.container.fixed {
116
    padding-top: 60px;
117
}
118

    
119
.ui-sortable-handle {
120
    cursor: move;
121
}
122

    
123
.ui-widget {
124
    font-family: Roboto, sans-serif;
125
}
126

    
127
tr.disabled td,
128
tr.disabled th {
129
    opacity: .5;
130
}
131

    
132
.contains-table table {
133
    border: 1px solid #ddd;
134
}
135

    
136
/** Content structure */
137
.table-responsive {
138
    clear: both;
139
    margin-bottom: 0px;
140
}
141

    
142
/* navigation */
143
.navbar {
144
    margin-bottom: 10px;
145
}
146

    
147
.navbar-inverse {
148
    background-color: #212121;
149
}
150

    
151
.navbar-brand > img {
152
    /* reduce logo size */
153
    max-width: 127px;
154
    max-height: 36px;
155
    width: auto;
156
    height: auto;
157
}
158

    
159
.navbar-brand {
160
    padding: 7px 0 0 5px;
161
}
162

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
305
.input-group-addon {
306
    padding: 0 12px;
307
}
308

    
309
.table {
310
    margin-bottom: 0;
311
}
312

    
313
.table>tbody>tr>td {
314
    padding: 6px 4px 6px 10px;
315
}
316

    
317
/* active table row */
318
.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 {
319
    background-color: #BDBDBD;
320
}
321

    
322
/* active table row on hover */
323
.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 {
324
    background-color: #BDBDBD;
325
}
326

    
327
.popover {
328
    max-width: none;
329
}
330

    
331
.help-block {
332
    margin-bottom: 0;
333
}
334

    
335
.action-buttons {
336
    text-align: right;
337
    margin-top: 10px;
338
    margin-bottom: 20px;
339
}
340

    
341
/** Form validation */
342
.input-errors ul {
343
    margin-top: 20px;
344
}
345

    
346
/** Page header with title and breadcrumb */
347
.header {
348
    position: relative;
349
    margin: 10px 0 20px 0;
350
    box-shadow: 0px 1px 10px rgba(0,0,0,.3);
351
    margin-bottom: 10px;
352
    background-color: #E0E0E0;
353
}
354

    
355
.header .context-links {
356
    position: absolute;
357
    right: 15px;
358
    top: 15px;
359
}
360

    
361
.header .context-links li {
362
    float: left;
363
    display: inline;
364
    margin-left: 10px;
365
}
366

    
367
.breadcrumb {
368
    background-color: #E0E0E0;
369
    font-size: 22px;
370
}
371

    
372
.breadcrumb>li+li:before {
373
    color: #B71C1C;
374
}
375

    
376
ul.context-links li a {
377
    color: #B71C1C;
378
}
379

    
380
/** Form tweaks */
381
form .btn + .btn {
382
    margin-left: 5px;
383
}
384

    
385
.input-group-inbetween {
386
    border-left: 0;
387
}
388

    
389
.user-duplication .controls {
390
    margin-top: 10px;
391
}
392

    
393
.checkbox.multi label {
394
    display: block;
395
}
396

    
397
.checkbox.multi .btn {
398
    margin-top: 5px;
399
}
400

    
401
.col-sm-10 .form-control {
402
    width: calc(50% - 15px);
403
}
404

    
405
@media (max-width: 991px) {
406
    .col-sm-10 .form-control {
407
        width: 100%;
408
    }
409
}
410

    
411
/** Page footer */
412
.footer {
413
    position: absolute;
414
    bottom: 0;
415
    left: 0;
416
    width: 100%;
417
    height: 60px;
418
    background-color: #212121;
419
    padding-top: 10px;
420
    text-align: center;
421
}
422

    
423
footer a {
424
    color: #ffffff;
425
}
426

    
427

    
428
/** Homepage / dashboard */
429
[id^="widgets-col"] {
430
    min-height: 300px;
431
}
432

    
433
.widget .panel-heading {
434
    background-color: #757575;
435
}
436

    
437
#widgetSequence {
438
    position: fixed;
439
    left: 0;
440
    bottom: 0;
441
    padding: 20px 0;
442
    width: 100%;
443
    z-index: 100;
444
    text-align: center;
445
    background: rgba(255, 255, 255, 0.6);
446
    border-top: 1px solid #ddd;
447
}
448

    
449
/** Styling for jQuery autocomplete widget */
450
.ui-autocomplete {
451
    position: absolute;
452
    top: 100%;
453
    left: 0;
454
    z-index: 1000;
455
    float: left;
456
    display: none;
457
    min-width: 160px;
458
    padding: 4px 0;
459
    margin: 0 0 10px 25px;
460
    list-style: none;
461
    background-color: #ffffff;
462
    border-color: #ccc;
463
    border-color: rgba(0, 0, 0, 0.2);
464
    border-style: solid;
465
    border-width: 1px;
466
    -webkit-border-radius: 5px;
467
    -moz-border-radius: 5px;
468
    border-radius: 5px;
469
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
470
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
471
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
472
    -webkit-background-clip: padding-box;
473
    -moz-background-clip: padding;
474
    background-clip: padding-box;
475
    *border-right-width: 2px;
476
    *border-bottom-width: 2px;
477
}
478

    
479
/** Disable the autocomplete helper text */
480
.ui-helper-hidden-accessible {
481
    border: 0;
482
    clip: rect(0 0 0 0);
483
    height: 1px;
484
    margin: -1px;
485
    overflow: hidden;
486
    padding: 0;
487
    position: absolute;
488
    width: 1px;
489
}
490

    
491
/** Override the bootstrap progress bar margins */
492
.progress {
493
    margin-bottom: 0px;
494
    height: 14px;
495
}
496

    
497
#wizard .progress {
498
    margin-bottom: 10px;
499
}
500

    
501
.progress-bar {
502
    background-color: #B71C1C;
503
}
504

    
505
.progress-bar.progress-bar-success {
506
    background-color: #4CAF50;
507
}
508

    
509
.progress-bar.progress-bar-warning {
510
    background-color: #FBC02D;
511
}
512

    
513
.progress-bar.progress-bar-danger {
514
    background-color: #B71C1C;
515
}
516

    
517
.panel-body.collapse.in {
518
    overflow-x: auto;
519
}
520

    
521
/** start common colors */
522
.alert-warning {
523
    color: #FF6F00;
524
    background-color: #FFFDE7;
525
    border-color: #FFECB3;
526
    border-top: 5px solid #FFD600;
527
}
528

    
529
.alert-success {
530
    color: #1B5E20;
531
    background-color: #E8F5E9;
532
    border-color: #DCEDC8;
533
    border-top: 5px solid #1B5E20;
534
}
535

    
536
.alert-info {
537
    color: #01579B;
538
    background-color: #E1F5FE;
539
    border-color: #B2EBF2;
540
    border-top: 5px solid #01579B;
541
}
542

    
543
.bg-primary {
544
    color: #000;
545
    background-color: #009688;
546
}
547

    
548
.bg-info {
549
    color: #01579B;
550
    background-color: #B3E5FC;
551
}
552

    
553
.bg-danger {
554
    color: #000;
555
    background-color: #EF9A9A;
556
}
557

    
558
.bg-warning {
559
    color: #000;
560
    background-color: #FFF9C4;
561
}
562

    
563
.bg-success {
564
    color: #1B5E20;
565
    background-color: #C8E6C9;
566
}
567

    
568
.btn-success {
569
    background-color: #43A047;
570
}
571

    
572
.btn-danger {
573
    background-color: #B71C1C;
574
}
575

    
576
.btn-primary {
577
    background-color: #1976D2;
578
}
579

    
580
.text-warning {
581
    color: #F57F17;
582
}
583

    
584
.text-success {
585
    color: #4CAF50;
586
}
587

    
588
.text-danger {
589
    color: #B71C1C;
590
}
591
/** end common colors */
592

    
593
.table-hover>tbody>tr.hover-success:hover {
594
    color: #000;
595
    background-color: #A5D6A7;
596
}
597

    
598
.table-hover>tbody>tr.hover-danger:hover {
599
    color: #000;
600
    background-color: #EF9A9A;
601
}
602

    
603
.table-hover>tbody>tr.hover-warning:hover {
604
    color: #000;
605
    background-color: #FFF9C4;
606
}
607

    
608
/** icons are often used with onclick actions, so we need the cursor to change to a pointer */
609
.icon-pointer
610
{
611
    cursor: pointer;
612
}
613

    
614
.icon-embed-btn
615
{
616
    font-size: 15px;
617
    vertical-align: middle;
618
    color: white;
619
    padding-right: 22px;
620
    padding-bottom: 17px;
621
    margin-top: -0.125em;
622
    width: 14px;
623
    height: 14px
624
}
625

    
626
/* Used when you need an icon to act as a submit button **/
627
.button-icon
628
{
629
    color: #337AB7;
630
    background: none;
631
    border: 0px;
632
}
633

    
634
.btn
635
{
636
    padding-right: 4px;
637
    padding-left: 4px;
638
}
639

    
640
.btn-group .btn {
641
    margin-right: 5px;
642
}
643

    
644
.btn-group .btn:last-child {
645
    margin-right: 0px;
646
}
647

    
648
.list-group {
649
    margin-bottom: 0;
650
}
651

    
652
/* icons in the dashboard panel headings should pull-right **/
653
.widget-heading-icon
654
{
655
    display: block;
656
    float: right;
657
}
658

    
659
.widget-heading-icon .fa {
660
    color: #fff;
661
}
662

    
663
.widget-heading-icon .fa:hover {
664
    color: #e0e0e0;
665
}
666

    
667
/* All pfSense textareas benefit from using a fixed width font **/
668
textarea
669
{
670
    font-family: monospace;
671
    font-size: 12px;
672
    -moz-tab-size: 4;
673
    -o-tab-size: 4;
674
}
675

    
676
/*
677
 * CSS for Standard tree layout
678
 * Copyright (C) 2005 SilverStripe Limited
679
 * Feel free to use this on your websites, but please leave this message in the fies
680
 * http://www.silverstripe.com/blog
681
 */
682

    
683
ul.tree{
684
    width: auto;
685
    padding-left: 0px;
686
    margin-left: 0px;
687
}
688

    
689
ul.tree img{
690
    border: none;
691
}
692

    
693
ul.tree, ul.tree ul {
694
    padding-left: 0;
695
}
696

    
697
ul.tree ul {
698
    margin-left: 16px;
699

    
700
}
701

    
702
ul.tree li.closed ul {
703
    display: none;
704
}
705

    
706
ul.tree li {
707
    list-style: none;
708
    background: url(../../vendor/tree/i-repeater.gif) 0 0 repeat-y;
709
    display: block;
710
    width: auto;
711
}
712

    
713
ul.tree li.last {
714
    list-style: none;
715
    background-image: none;
716
}
717

    
718
/* Span-A: I/L/I glpyhs */
719
ul.tree span.a {
720
    background: url(../../vendor/tree/t.gif) 0 50% no-repeat;
721
    display: block;
722
}
723

    
724
ul.tree span.a.last {
725
    background: url(../../vendor/tree/l.gif) 0 50% no-repeat;
726
}
727

    
728
/* Span-B: Plus/Minus icon */
729
ul.tree span.b {
730

    
731
}
732

    
733
ul.tree span.a.children span.b {
734
    background: url(../../vendor/tree/minus.gif) 0 50% no-repeat;
735
    cursor: pointer;
736
}
737

    
738
ul.tree li.closed span.a.children span.b {
739
    background: url(../../vendor/tree/plus.gif) 0 50% no-repeat;
740
    cursor: pointer;
741
}
742

    
743
/* Span-C: Spacing and extending tree line below the icon */
744
ul.tree span.c {
745
    margin-left: 16px;
746
}
747

    
748
ul.tree span.a.children span.c {
749
    background: url(../../vendor/tree/i-bottom.gif) 0 50% no-repeat;
750
}
751

    
752
ul.tree span.a.spanClosed span.c {
753
    background-image: none;
754
}
755

    
756
/* Anchor tag: Page icon */
757
ul.tree a  {
758
    white-space: nowrap;
759
    overflow: hidden;
760
    padding: 3px 0px 3px 18px;
761
    line-height: 16px;
762
    background: url(../../vendor/tree/page-file.png) 0 0 no-repeat;
763
}
764

    
765
ul.tree span.a.children a {
766
    background-image: url(../../vendor/tree/page-openfoldericon.png);
767
}
768

    
769
ul.tree span.a.children.spanClosed a {
770
    background-image: url(../../vendor/tree/page-foldericon.png);
771
}
772

    
773
/* Unformatted tree */
774
ul.tree.unformatted li {
775
    background-image: none;
776
    padding-left: 16px;
777
}
778

    
779
ul.tree.unformatted li li {
780
    background-image: none;
781
    padding-left: 0px;
782
}
783

    
784
/* Divs, by default store vertically aligned data */
785

    
786
ul.tree li div {
787
    float: right;
788
    clear: right;
789
    height: 1em;
790
    margin-top: -26px;
791
}
792

    
793
/* As inside DIVs should be treated normally */
794
ul.tree div a  {
795
    padding: 0;
796
    background-image: none;
797
    min-height: auto;
798
    height: auto;
799
}
800

    
801
ul.tree li .over{
802
    background-color: pink;
803
}
804

    
805
/*
806
 * End of CSS for Standard tree layout
807
 */
808

    
809
table[data-sortable].sortable-theme-bootstrap {
810
    font-family: Roboto, sans-serif;
811
}
812

    
813
table[data-sortable].sortable-theme-bootstrap thead th {
814
    white-space: nowrap;
815
}
816

    
817
@media (max-width: 1199px) {
818
    .nav>li>a {
819
        padding: 14px 9px 10px 9px;
820
    }
821
}
822

    
823
@media (max-width: 991px) {
824
    /* change top navbar from horizontal to vertical */
825
    .navbar-header {
826
        float: none;
827
    }
828
    .navbar-toggle {
829
        display: block;
830
    }
831
    .navbar-collapse {
832
        border-top: 1px solid transparent;
833
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
834
    }
835
    .navbar-collapse.collapse {
836
        display: none!important;
837
    }
838
    .navbar-nav {
839
        float: none!important;
840
        margin: 7.5px -15px;
841
    }
842
    .navbar-nav>li {
843
        float: none;
844
    }
845
    .navbar-nav>li>a {
846
        padding-top: 10px;
847
        padding-bottom: 10px;
848
    }
849
    .navbar-text {
850
        float: none;
851
        margin: 15px 0;
852
    }
853
    /* since 3.1.0 */
854
    .navbar-collapse.collapse.in {
855
        display: block!important;
856
    }
857
    .collapsing {
858
        overflow: hidden!important;
859
    }
860
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
861
        max-height: none !important;
862
    }
863
}
864

    
865
@media (max-width: 767px) {
866
    .header {
867
        margin-bottom: 5px;
868
    }
869

    
870
    .breadcrumb {
871
        font-size: 14px;
872
        padding: 15px;
873
        width: 50%;
874
    }
875

    
876
    .breadcrumb li:not(:last-child), .breadcrumb>li+li:before {
877
        display: none;
878
    }
879
}
880

    
881
/** Override text-warning with something less red. */
882
.text-warning {
883
    color: #ffcc00;
884
}
885

    
886
/**Suppress href links when printing */
887
a[href]:after {
888
    content: normal;
889
}
890

    
891
/** Text color for diff display when comapring configs */
892
.diff-text {
893
    color: #000000;
894
}
895

    
896
/** Eliminate overflow in available widgets, log filter, and manage log panels. (cause of scroll bar) */
897
#widget-available_panel-body>.content>.row,
898
#filter-panel_panel-body>.form-group,
899
#manage-log-panel_panel-body>.form-group,
900
#monitoring-settings-panel_panel-body>.form-group,
901
/** optionally prevent more globally by using the class hierarchy */
902
.panel-body.collapse.in>.content>.row,
903
.panel-body.collapse.in>.form-group
904
{
905
    margin-right: 0px;
906
}
907

    
908
/* Callouts */
909
.bs-callout {
910
    padding: 10px 15px;
911
    margin: 20px 0;
912
    border: 2px solid #eee;
913
    border-left-width: 5px;
914
    border-radius: 3px;
915
    font-size: 13px;
916
}
917

    
918
.bs-callout h4 {
919
    margin-top: 0;
920
    margin-bottom: 5px;
921
}
922

    
923
.bs-callout p:last-child {
924
    margin-bottom: 0;
925
}
926

    
927
.bs-callout code {
928
    border-radius: 3px;
929
}
930

    
931
.bs-callout+.bs-callout {
932
    margin-top: -5px;
933
}
934

    
935
/* Callout contextual classes */
936
.bs-callout-default {
937
    border-left-color: #777;
938
}
939

    
940
.bs-callout-default h4 {
941
    color: #777;
942
}
943

    
944
.bs-callout-danger {
945
    border-left-color: #d9534f;
946
}
947

    
948
.bs-callout-danger h4 {
949
    color: #d9534f;
950
}
951

    
952
.bs-callout-warning {
953
    border-left-color: #f0ad4e;
954
}
955

    
956
.bs-callout-warning h4 {
957
    color: #f0ad4e;
958
}
959

    
960
.bs-callout-info {
961
    border-left-color: #01579B;
962
}
963

    
964
.bs-callout-info h4 {
965
    color: #01579B;
966
}
967

    
968
/* Disable 300 ms click delay so event handlers are effective. */
969
/* Makes posible for non-touch compatible features to work; e.g. double tap rule to edit. */
970
body{
971
    touch-action: manipulation;
972
}
973

    
974
/* D3 Styles */
975

    
976
svg {
977
    display: block;
978
}
979

    
980
.d3-chart, .d3-chart svg {
981
    margin: 0px;
982
    padding: 10px 0;
983
    height: 445px;
984
    width: 100%;
985
}
986

    
987
.traffic-widget-chart, .traffic-widget-chart svg {
988
    padding: 0;
989
    height: 250px;
990
}
991

    
992
.traffic-widget-chart:not(:last-child) {
993
    border-bottom: 2px solid #ccc;
994
}
995

    
996
.d3-chart .nvtooltip > h3 {
997
    font-size: 14px;
998
}
999

    
1000
/* Experimental styles to correct vertical alignment in forms */
1001
.col-sm-10 {
1002
    padding-top: 7px;
1003
}
1004

    
1005
.chkboxlbl {
1006
    padding-top: 4px;
1007
}
1008

    
1009
.colspanth {
1010
    background-color: #eeeeee;
1011
}
(5-5/5)