Project

General

Profile

Download (18.3 KB) Statistics
| Branch: | Tag: | Revision:
1 ac24dc24 Renato Botelho
/*
2
 * pfSense.css
3
 *
4
 * part of pfSense (https://www.pfsense.org)
5 81299b5c Renato Botelho
 * Copyright (c) 2016 Rubicon Communications, LLC (Netgate)
6 ac24dc24 Renato Botelho
 * All rights reserved.
7
 *
8 0f3f6cc9 Jared Dillard
 * 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 ac24dc24 Renato Botelho
 *
12 0f3f6cc9 Jared Dillard
 * http://www.apache.org/licenses/LICENSE-2.0
13 ac24dc24 Renato Botelho
 *
14 0f3f6cc9 Jared Dillard
 * 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 ac24dc24 Renato Botelho
 */
20
21 9d1be24e Jared Dillard
@import url("/vendor/bootstrap/css/bootstrap.min.css");
22
@import url("/css/fonts/roboto.css");
23 4f5f1638 Jared Dillard
@import url("/vendor/jquery/jquery-ui/themes/smoothness/theme.css");
24 1180e4f0 Sjon Hortensius
25 90a5392c Jared Dillard
html {
26
    position: relative;
27
    min-height: 100%;
28 1180e4f0 Sjon Hortensius
}
29
30 90a5392c Jared Dillard
body {
31
    margin-bottom: 80px;
32
    background-color: #F5F5F5;
33
    font-family: 'Roboto', sans-serif;
34 a42e7aa2 Sjon Hortensius
}
35
36 90a5392c Jared Dillard
body.no-menu #jumbotron {
37
    padding: 100px 0;
38
    background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%)
39
}
40 1180e4f0 Sjon Hortensius
41 90a5392c Jared Dillard
body.no-menu {
42
    background: url("/logo-black.png") no-repeat center 30px;
43
    padding-top: 70px;
44
}
45 50d293a8 Jared Dillard
46 90a5392c Jared Dillard
body.no-menu #jumbotron {
47
    margin-top: 75px;
48 50d293a8 Jared Dillard
}
49
50 90a5392c Jared Dillard
body#index .icons {
51
    float: right;
52 e3c7770d Jared Dillard
}
53
54 90a5392c Jared Dillard
a:hover {
55
    text-decoration: none;
56 e3c7770d Jared Dillard
}
57
58 90a5392c Jared Dillard
a.fa, i.fa {
59
    font-size: 18px;
60 e3c7770d Jared Dillard
}
61
62 90a5392c Jared Dillard
h1 a:link, h1 a:visited {
63
    color: #000000;
64
    text-decoration: none !important;
65 e3c7770d Jared Dillard
}
66
67 8ed6b8e3 Stephen Beaver
h1 a:hover, h1 a:active {
68
    color: #000000;
69
    text-decoration: none !important;
70 e3c7770d Jared Dillard
}
71
72 e67157be stilez
/* Zero-width optional linebreaks can help the browser to linebreak at 'good' places.
73 a5d486e9 Steve Beaver
   Unfortunately the two most compatible options aren't consistently supported.
74 e67157be stilez
   "\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 90a5392c Jared Dillard
.container.fixed {
84
    padding-top: 60px;
85
}
86
87 41ea4cf3 Sjon Hortensius
.ui-sortable-handle {
88 90a5392c Jared Dillard
    cursor: move;
89 41ea4cf3 Sjon Hortensius
}
90
91 e540a9d7 Jose Luis Duran
.ui-widget {
92
    font-family: Roboto, sans-serif;
93
}
94
95 d9bad9e8 Jared Dillard
.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 90a5392c Jared Dillard
    opacity: .5;
111 3b2c83b8 Sjon Hortensius
}
112
113 d9bad9e8 Jared Dillard
tr.disabled a {
114
    color: rgba(51, 122, 183, .5)
115
}
116
117 5ddd7e7b Sander van Leeuwen
.contains-table table {
118 90a5392c Jared Dillard
    border: 1px solid #ddd;
119 50d293a8 Jared Dillard
}
120 83146776 Jared Dillard
121 4afd1362 Stephen Beaver
/** Content structure */
122
.table-responsive {
123 90a5392c Jared Dillard
    clear: both;
124
    margin-bottom: 0px;
125 83146776 Jared Dillard
}
126 50d293a8 Jared Dillard
127 90a5392c Jared Dillard
/* navigation */
128 4afd1362 Stephen Beaver
.navbar {
129 90a5392c Jared Dillard
    margin-bottom: 10px;
130 bfebdb58 Jared Dillard
}
131
132 90a5392c Jared Dillard
.navbar-inverse {
133 874155f8 Jared Dillard
    background-color: #212121;
134 e3c7770d Jared Dillard
}
135
136 f56be7c7 k-paulius
.navbar-brand > img {
137
    /* reduce logo size */
138
    max-width: 127px;
139
    max-height: 36px;
140
    width: auto;
141
    height: auto;
142
}
143
144 90a5392c Jared Dillard
.navbar-brand {
145 89c70e81 Jared Dillard
    padding: 7px 0 0 5px;
146 90a5392c Jared Dillard
}
147
148
.nav>li>a {
149
    padding: 14px 19px 10px 19px;
150
    border-bottom: 5px solid #F5F5F5;
151
    border-radius: 0;
152
    color: #B71C1C;
153
}
154
155
.nav>li>a:focus, .nav>li>a:hover {
156
    border-bottom: 5px solid #B71C1C;
157
    background-color: #f5f5f5;
158
}
159
160
.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 {
161
    border-bottom: 5px solid #B71C1C;
162
    color: #B71C1C;
163
    background-color: #F5F5F5;
164
}
165
166 874155f8 Jared Dillard
.navbar-inverse .navbar-nav >li>a {
167
    border-bottom: 5px solid #212121;
168
    color: #BDBDBD;
169 90a5392c Jared Dillard
}
170
171
.nav-tabs>li>a {
172
    border-bottom: 5px solid #F5F5F5;
173
    margin-bottom: 1px;
174
}
175
176
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover, .nav-tabs>li>a:hover {
177
    border-left: 1px solid #F5F5F5;
178
    border-right: 1px solid #F5F5F5;
179
    border-top: 1px solid #F5F5F5;
180
    background-color: #F5F5F5;
181
    border-bottom: 5px solid #B71C1C;
182
    margin-bottom: 0;
183
    color: #B71C1C;
184
    box-shadow: none;
185
}
186
187
.nav-tabs {
188
    border-bottom: 1px solid #B71C1C;
189
    margin-bottom: 15px;
190
}
191
192
.nav-pills {
193
    margin-bottom: 20px;
194
}
195
196
.dropdown-menu>li>a {
197 60bcf1db Stephen Beaver
    padding: 5px 20px;
198 90a5392c Jared Dillard
}
199 bfb82fac Jared Dillard
200
.navbar-right>li>a {
201
    padding: 14px 15px 10px 15px;
202
}
203 90a5392c Jared Dillard
/* end navigation */
204
205
.alert {
206
    border-radius: 0;
207
    box-shadow: 0px 1px 10px rgba(0,0,0,0.1);
208
}
209
210
.panel {
211
    margin-bottom: 10px;
212 60bcf1db Stephen Beaver
    border-radius: 0;
213 90a5392c Jared Dillard
    box-shadow: 0px 3px 7px rgba(0,0,0,.1);
214
}
215
216
.panel-default>.panel-heading {
217
    color: #fff;
218
    background-color: #424242;
219
    letter-spacing: 1px;
220 e3c7770d Jared Dillard
}
221
222 24e2d045 Jared Dillard
.panel-heading {
223 90a5392c Jared Dillard
    padding: 5px 15px;
224 60bcf1db Stephen Beaver
    border-radius: 0;
225 90a5392c Jared Dillard
}
226
227 811fbcd8 Jared Dillard
.panel-heading a:link, .panel-heading a:visited {
228
    color: white;
229
}
230
231 90a5392c Jared Dillard
.panel-title {
232 cfc6161c Stephen Beaver
    font-size: 16px;
233 90a5392c Jared Dillard
}
234
235
.panel-body {
236
    padding: 0px;
237 e3c7770d Jared Dillard
}
238
239 24e2d045 Jared Dillard
#login .panel-heading {
240 90a5392c Jared Dillard
    padding: 10px 15px
241 24e2d045 Jared Dillard
}
242
243 9239f765 Jared Dillard
.content {
244 90a5392c Jared Dillard
    padding: 10px;
245
}
246
247 765b79f9 Sander van Leeuwen
.form-horizontal {
248 90a5392c Jared Dillard
    margin-bottom: 10px;
249
    overflow: hidden;
250 765b79f9 Sander van Leeuwen
}
251
252 24e2d045 Jared Dillard
.form-horizontal .checkbox {
253 90a5392c Jared Dillard
    padding: 3px 16px;
254 24e2d045 Jared Dillard
}
255
256
.form-control {
257
    height: 24px;
258 467669bf Stephen Beaver
    padding: 0 6px;
259 24e2d045 Jared Dillard
    margin-bottom: 5px;
260
}
261
262 cd70be5d Stephen Beaver
.form-control option {
263 90a5392c Jared Dillard
    padding: inherit;
264 467669bf Stephen Beaver
}
265
266 57625777 PiBa-NL
/* location of bottom right drag icon on resizable elements */
267
.ui-resizable-se {
268
	bottom: 2px;
269
	right: 46px;
270
}
271
272 24e2d045 Jared Dillard
#login .form-control {
273 90a5392c Jared Dillard
    height: 34px;
274 24e2d045 Jared Dillard
}
275
276
#login .form-group {
277 90a5392c Jared Dillard
    border: none;
278 24e2d045 Jared Dillard
}
279
280 fbd9fabb Jared Dillard
.form-group {
281 24e2d045 Jared Dillard
    margin: 0;
282
    padding: 7px 5px 5px 5px;
283 90a5392c Jared Dillard
    border-bottom: 1px solid #E0E0E0;
284 fbd9fabb Jared Dillard
}
285
286
.form-group:last-child {
287 90a5392c Jared Dillard
    border-bottom: none;
288 24e2d045 Jared Dillard
}
289
290
.input-group-addon {
291 90a5392c Jared Dillard
    padding: 0 12px;
292 24e2d045 Jared Dillard
}
293
294 90a5392c Jared Dillard
.table {
295
    margin-bottom: 0;
296 24e2d045 Jared Dillard
}
297
298 90a5392c Jared Dillard
.table>tbody>tr>td {
299 45e849c1 Jared Dillard
    padding: 6px 4px 6px 10px;
300 24e2d045 Jared Dillard
}
301
302 90a5392c Jared Dillard
/* active table row */
303
.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 {
304
    background-color: #BDBDBD;
305 b6902e4c Jared Dillard
}
306
307 90a5392c Jared Dillard
/* active table row on hover */
308
.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 {
309
    background-color: #BDBDBD;
310 b6902e4c Jared Dillard
}
311
312 90a5392c Jared Dillard
.popover {
313
    max-width: none;
314 8070ead5 Jared Dillard
}
315
316 24e2d045 Jared Dillard
.help-block {
317 90a5392c Jared Dillard
    margin-bottom: 0;
318 24e2d045 Jared Dillard
}
319
320 765b79f9 Sander van Leeuwen
.action-buttons {
321 90a5392c Jared Dillard
    text-align: right;
322
    margin-top: 10px;
323
    margin-bottom: 20px;
324 765b79f9 Sander van Leeuwen
}
325
326 c4a7740d Sander van Leeuwen
/** Form validation */
327
.input-errors ul {
328 90a5392c Jared Dillard
    margin-top: 20px;
329 c4a7740d Sander van Leeuwen
}
330
331 45eebe10 Sander van Leeuwen
/** Page header with title and breadcrumb */
332
.header {
333 90a5392c Jared Dillard
    position: relative;
334 9c864a5b Jared Dillard
    margin: 10px 0 20px 0;
335 5f294e76 Jared Dillard
    box-shadow: 0px 1px 10px rgba(0,0,0,.3);
336
    margin-bottom: 10px;
337 54fc9503 Stephen Beaver
    background-color: #E0E0E0;
338 45eebe10 Sander van Leeuwen
}
339
340 0bf1e5fe Sjon Hortensius
.header .context-links {
341 90a5392c Jared Dillard
    position: absolute;
342
    right: 15px;
343
    top: 15px;
344 45eebe10 Sander van Leeuwen
}
345
346 0bf1e5fe Sjon Hortensius
.header .context-links li {
347 90a5392c Jared Dillard
    float: left;
348
    display: inline;
349
    margin-left: 10px;
350 0bf1e5fe Sjon Hortensius
}
351
352 5f294e76 Jared Dillard
.breadcrumb {
353
    background-color: #E0E0E0;
354
    font-size: 22px;
355
}
356
357
.breadcrumb>li+li:before {
358
    color: #B71C1C;
359
}
360
361
ul.context-links li a {
362
    color: #B71C1C;
363
}
364
365 765b79f9 Sander van Leeuwen
/** Form tweaks */
366 feebcbfa Sander van Leeuwen
form .btn + .btn {
367 90a5392c Jared Dillard
    margin-left: 5px;
368 9d45f8b8 Sjon Hortensius
}
369
370 214a9c33 Sjon Hortensius
.input-group-inbetween {
371 90a5392c Jared Dillard
    border-left: 0;
372 214a9c33 Sjon Hortensius
}
373
374 8c10899b Sander van Leeuwen
.user-duplication .controls {
375 90a5392c Jared Dillard
    margin-top: 10px;
376 8c10899b Sander van Leeuwen
}
377
378 85033097 Sjon Hortensius
.checkbox.multi label {
379 90a5392c Jared Dillard
    display: block;
380 85033097 Sjon Hortensius
}
381
382 f0a108f2 Sander van Leeuwen
.checkbox.multi .btn {
383 90a5392c Jared Dillard
    margin-top: 5px;
384 f0a108f2 Sander van Leeuwen
}
385
386 e5cb3cf8 Sander van Leeuwen
.col-sm-10 .form-control {
387 6e14a6ca Stephen Beaver
    width: calc(50% - 15px);
388 e5cb3cf8 Sander van Leeuwen
}
389
390
@media (max-width: 991px) {
391 90a5392c Jared Dillard
    .col-sm-10 .form-control {
392
        width: 100%;
393
    }
394 e5cb3cf8 Sander van Leeuwen
}
395
396 45eebe10 Sander van Leeuwen
/** Page footer */
397 1180e4f0 Sjon Hortensius
.footer {
398 90a5392c Jared Dillard
    position: absolute;
399
    bottom: 0;
400
    left: 0;
401
    width: 100%;
402
    height: 60px;
403
    background-color: #212121;
404
    padding-top: 10px;
405
    text-align: center;
406 9a9c8e25 Sander van Leeuwen
}
407
408 90a5392c Jared Dillard
footer a {
409
    color: #ffffff;
410
}
411
412
413 9a9c8e25 Sander van Leeuwen
/** Homepage / dashboard */
414 90a5392c Jared Dillard
[id^="widgets-col"] {
415
    min-height: 300px;
416
}
417
418 05dc7976 Jared Dillard
.widget .panel-heading {
419
    background-color: #757575;
420
}
421
422 9a9c8e25 Sander van Leeuwen
#widgetSequence {
423 90a5392c Jared Dillard
    position: fixed;
424
    left: 0;
425
    bottom: 0;
426
    padding: 20px 0;
427
    width: 100%;
428
    z-index: 100;
429
    text-align: center;
430
    background: rgba(255, 255, 255, 0.6);
431
    border-top: 1px solid #ddd;
432 c1a95a66 Stephen Beaver
}
433
434
/** Styling for jQuery autocomplete widget */
435
.ui-autocomplete {
436
    position: absolute;
437
    top: 100%;
438
    left: 0;
439
    z-index: 1000;
440
    float: left;
441
    display: none;
442
    min-width: 160px;
443
    padding: 4px 0;
444
    margin: 0 0 10px 25px;
445
    list-style: none;
446
    background-color: #ffffff;
447
    border-color: #ccc;
448
    border-color: rgba(0, 0, 0, 0.2);
449
    border-style: solid;
450
    border-width: 1px;
451
    -webkit-border-radius: 5px;
452
    -moz-border-radius: 5px;
453
    border-radius: 5px;
454
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
455
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
456
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
457
    -webkit-background-clip: padding-box;
458
    -moz-background-clip: padding;
459
    background-clip: padding-box;
460
    *border-right-width: 2px;
461
    *border-bottom-width: 2px;
462 54a2bd65 Stephen Beaver
}
463
464
/** Disable the autocomplete helper text */
465
.ui-helper-hidden-accessible {
466
    border: 0;
467
    clip: rect(0 0 0 0);
468
    height: 1px;
469
    margin: -1px;
470
    overflow: hidden;
471
    padding: 0;
472
    position: absolute;
473
    width: 1px;
474
}
475 1e682717 Stephen Beaver
476 79012b3f Stephen Beaver
/** Override the bootstrap progress bar margins */
477 1e682717 Stephen Beaver
.progress {
478 90a5392c Jared Dillard
    margin-bottom: 0px;
479
    height: 14px;
480 ec0696e1 Jake Rote
}
481
482 039ec196 Jared Dillard
#wizard .progress {
483 90a5392c Jared Dillard
    margin-bottom: 10px;
484
}
485
486
.progress-bar {
487
    background-color: #B71C1C;
488 7b4fedad Jared Dillard
}
489
490 6241ddc0 Jared Dillard
.progress-bar.progress-bar-success {
491 b28dbd85 Jared Dillard
    background-color: #4CAF50;
492 6241ddc0 Jared Dillard
}
493
494
.progress-bar.progress-bar-warning {
495 b28dbd85 Jared Dillard
    background-color: #FBC02D;
496 6241ddc0 Jared Dillard
}
497
498
.progress-bar.progress-bar-danger {
499
    background-color: #B71C1C;
500
}
501
502 ec0696e1 Jake Rote
.panel-body.collapse.in {
503 90a5392c Jared Dillard
    overflow-x: auto;
504 ec0696e1 Jake Rote
}
505 8ae794da heper
506 f0e52fb3 Jared Dillard
/** start common colors */
507
.alert-warning {
508
    color: #FF6F00;
509
    background-color: #FFFDE7;
510
    border-color: #FFECB3;
511
    border-top: 5px solid #FFD600;
512 90a5392c Jared Dillard
}
513
514 f0e52fb3 Jared Dillard
.alert-success {
515
    color: #1B5E20;
516
    background-color: #E8F5E9;
517
    border-color: #DCEDC8;
518
    border-top: 5px solid #1B5E20;
519 90a5392c Jared Dillard
}
520
521 f0e52fb3 Jared Dillard
.alert-info {
522
    color: #01579B;
523
    background-color: #E1F5FE;
524
    border-color: #B2EBF2;
525
    border-top: 5px solid #01579B;
526 90a5392c Jared Dillard
}
527
528
.bg-primary {
529
    color: #000;
530
    background-color: #009688;
531
}
532
533
.bg-info {
534 45e849c1 Jared Dillard
    color: #01579B;
535 106e14c1 Jared Dillard
    background-color: #B3E5FC;
536 90a5392c Jared Dillard
}
537
538
.bg-danger {
539
    color: #000;
540
    background-color: #EF9A9A;
541
}
542
543
.bg-warning {
544
    color: #000;
545
    background-color: #FFF9C4;
546
}
547
548
.bg-success {
549 f0e52fb3 Jared Dillard
    color: #1B5E20;
550 106e14c1 Jared Dillard
    background-color: #C8E6C9;
551 f0e52fb3 Jared Dillard
}
552
553
.btn-success {
554
    background-color: #43A047;
555
}
556
557
.btn-danger {
558
    background-color: #B71C1C;
559
}
560
561
.btn-primary {
562
    background-color: #1976D2;
563
}
564
565
.text-warning {
566
    color: #F57F17;
567
}
568
569
.text-success {
570
    color: #4CAF50;
571
}
572
573
.text-danger {
574
    color: #B71C1C;
575 90a5392c Jared Dillard
}
576 f0e52fb3 Jared Dillard
/** end common colors */
577 90a5392c Jared Dillard
578 45e849c1 Jared Dillard
.table-hover>tbody>tr.hover-success:hover {
579
    color: #000;
580 60bcf1db Stephen Beaver
    background-color: #A5D6A7;
581 45e849c1 Jared Dillard
}
582
583
.table-hover>tbody>tr.hover-danger:hover {
584
    color: #000;
585 60bcf1db Stephen Beaver
    background-color: #EF9A9A;
586 45e849c1 Jared Dillard
}
587
588
.table-hover>tbody>tr.hover-warning:hover {
589
    color: #000;
590
    background-color: #FFF9C4;
591
}
592
593 b38e4b6c Stephen Beaver
/** icons are often used with onclick actions, so we need the cursor to change to a pointer */
594 0e445ef7 Stephen Beaver
.icon-pointer
595
{
596 90a5392c Jared Dillard
    cursor: pointer;
597 3e113455 heper
}
598
599
.icon-embed-btn
600
{
601 90a5392c Jared Dillard
    font-size: 15px;
602
    vertical-align: middle;
603
    color: white;
604 60bcf1db Stephen Beaver
    padding-right: 22px;
605 5ea58738 Stephen Beaver
    padding-bottom: 17px;
606 eaf03b3d Stephen Beaver
    margin-top: -0.125em;
607
    width: 14px;
608
    height: 14px
609 3e113455 heper
}
610 0619c9db Stephen Beaver
611 f34b7665 Stephen Beaver
/* Used when you need an icon to act as a submit button **/
612
.button-icon
613
{
614 90a5392c Jared Dillard
    color: #337AB7;
615
    background: none;
616
    border: 0px;
617 f34b7665 Stephen Beaver
}
618
619 33f0b0d5 Stephen Beaver
.btn
620 0619c9db Stephen Beaver
{
621 90a5392c Jared Dillard
    padding-right: 4px;
622
    padding-left: 4px;
623
}
624
625 3de66582 Jared Dillard
.btn-group .btn {
626
    margin-right: 5px;
627
}
628
629
.btn-group .btn:last-child {
630
    margin-right: 0px;
631
}
632
633 90a5392c Jared Dillard
.list-group {
634
    margin-bottom: 0;
635 a4592b38 Jared Dillard
}
636
637 d86522be Stephen Beaver
/* icons in the dashboard panel headings should pull-right **/
638
.widget-heading-icon
639
{
640 90a5392c Jared Dillard
    display: block;
641 4372f8a4 Jose Luis Duran
    float: right;
642 597241a9 Jared Dillard
}
643
644
.widget-heading-icon .fa {
645
    color: #fff;
646
}
647
648
.widget-heading-icon .fa:hover {
649
    color: #e0e0e0;
650 32e3df81 Stephen Beaver
}
651
652
/* All pfSense textareas benefit from using a fixed width font **/
653
textarea
654
{
655 90a5392c Jared Dillard
    font-family: monospace;
656
    font-size: 12px;
657
    -moz-tab-size: 4;
658
    -o-tab-size: 4;
659
}
660
661 2a425b40 Jared Dillard
/*
662
 * CSS for Standard tree layout
663
 * Copyright (C) 2005 SilverStripe Limited
664
 * Feel free to use this on your websites, but please leave this message in the fies
665
 * http://www.silverstripe.com/blog
666
 */
667 60bcf1db Stephen Beaver
668 2a425b40 Jared Dillard
ul.tree{
669
    width: auto;
670 4372f8a4 Jose Luis Duran
    padding-left: 0px;
671
    margin-left: 0px;
672 2a425b40 Jared Dillard
}
673
674
ul.tree img{
675 4372f8a4 Jose Luis Duran
    border: none;
676 2a425b40 Jared Dillard
}
677
678
ul.tree, ul.tree ul {
679
    padding-left: 0;
680
}
681
682
ul.tree ul {
683
    margin-left: 16px;
684 60bcf1db Stephen Beaver
685 2a425b40 Jared Dillard
}
686
687
ul.tree li.closed ul {
688
    display: none;
689
}
690
691
ul.tree li {
692
    list-style: none;
693 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/i-repeater.gif) 0 0 repeat-y;
694 2a425b40 Jared Dillard
    display: block;
695
    width: auto;
696
}
697
698
ul.tree li.last {
699
    list-style: none;
700
    background-image: none;
701
}
702
703
/* Span-A: I/L/I glpyhs */
704
ul.tree span.a {
705 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/t.gif) 0 50% no-repeat;
706 2a425b40 Jared Dillard
    display: block;
707
}
708
709
ul.tree span.a.last {
710 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/l.gif) 0 50% no-repeat;
711 2a425b40 Jared Dillard
}
712
713
/* Span-B: Plus/Minus icon */
714
ul.tree span.b {
715
716
}
717
718
ul.tree span.a.children span.b {
719 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/minus.gif) 0 50% no-repeat;
720 2a425b40 Jared Dillard
    cursor: pointer;
721
}
722
723
ul.tree li.closed span.a.children span.b {
724 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/plus.gif) 0 50% no-repeat;
725 2a425b40 Jared Dillard
    cursor: pointer;
726
}
727
728
/* Span-C: Spacing and extending tree line below the icon */
729
ul.tree span.c {
730
    margin-left: 16px;
731
}
732
733
ul.tree span.a.children span.c {
734 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/i-bottom.gif) 0 50% no-repeat;
735 2a425b40 Jared Dillard
}
736
737
ul.tree span.a.spanClosed span.c {
738
    background-image: none;
739
}
740
741
/* Anchor tag: Page icon */
742
ul.tree a  {
743
    white-space: nowrap;
744
    overflow: hidden;
745
    padding: 3px 0px 3px 18px;
746
    line-height: 16px;
747 8ed6b8e3 Stephen Beaver
    background: url(../../vendor/tree/page-file.png) 0 0 no-repeat;
748 2a425b40 Jared Dillard
}
749
750
ul.tree span.a.children a {
751 8ed6b8e3 Stephen Beaver
    background-image: url(../../vendor/tree/page-openfoldericon.png);
752 2a425b40 Jared Dillard
}
753
754
ul.tree span.a.children.spanClosed a {
755 8ed6b8e3 Stephen Beaver
    background-image: url(../../vendor/tree/page-foldericon.png);
756 2a425b40 Jared Dillard
}
757
758
/* Unformatted tree */
759
ul.tree.unformatted li {
760
    background-image: none;
761
    padding-left: 16px;
762
}
763
764
ul.tree.unformatted li li {
765
    background-image: none;
766
    padding-left: 0px;
767
}
768
769
/* Divs, by default store vertically aligned data */
770
771
ul.tree li div {
772
    float: right;
773
    clear: right;
774
    height: 1em;
775
    margin-top: -26px;
776
}
777
778
/* As inside DIVs should be treated normally */
779
ul.tree div a  {
780
    padding: 0;
781
    background-image: none;
782
    min-height: auto;
783
    height: auto;
784
}
785
786
ul.tree li .over{
787 4372f8a4 Jose Luis Duran
    background-color: pink;
788 2a425b40 Jared Dillard
}
789
790
/*
791
 * End of CSS for Standard tree layout
792
 */
793
794 4372f8a4 Jose Luis Duran
table[data-sortable].sortable-theme-bootstrap {
795
    font-family: Roboto, sans-serif;
796
}
797
798
table[data-sortable].sortable-theme-bootstrap thead th {
799 b9212b15 Jared Dillard
    white-space: nowrap;
800 4372f8a4 Jose Luis Duran
}
801 b9212b15 Jared Dillard
802 90a5392c Jared Dillard
@media (max-width: 1199px) {
803
    .nav>li>a {
804
        padding: 14px 9px 10px 9px;
805
    }
806 4372f8a4 Jose Luis Duran
}
807 90a5392c Jared Dillard
808 4372f8a4 Jose Luis Duran
@media (max-width: 991px) {
809 90a5392c Jared Dillard
    /* change top navbar from horizontal to vertical */
810
    .navbar-header {
811
        float: none;
812
    }
813
    .navbar-toggle {
814
        display: block;
815
    }
816
    .navbar-collapse {
817
        border-top: 1px solid transparent;
818
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
819
    }
820
    .navbar-collapse.collapse {
821
        display: none!important;
822
    }
823
    .navbar-nav {
824
        float: none!important;
825
        margin: 7.5px -15px;
826
    }
827
    .navbar-nav>li {
828
        float: none;
829
    }
830
    .navbar-nav>li>a {
831
        padding-top: 10px;
832
        padding-bottom: 10px;
833
    }
834
    .navbar-text {
835
        float: none;
836
        margin: 15px 0;
837
    }
838
    /* since 3.1.0 */
839 60bcf1db Stephen Beaver
    .navbar-collapse.collapse.in {
840 90a5392c Jared Dillard
        display: block!important;
841
    }
842
    .collapsing {
843
        overflow: hidden!important;
844
    }
845
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
846
        max-height: none !important;
847
    }
848 e15815e0 Jared Dillard
}
849 341b24ef Stephen Beaver
850 4372f8a4 Jose Luis Duran
@media (max-width: 767px) {
851 5f294e76 Jared Dillard
    .header {
852
        margin-bottom: 5px;
853
    }
854
855
    .breadcrumb {
856
        font-size: 14px;
857
        padding: 15px;
858
        width: 50%;
859
    }
860
861 54fc9503 Stephen Beaver
    .breadcrumb li:not(:last-child), .breadcrumb>li+li:before {
862
        display: none;
863 5f294e76 Jared Dillard
    }
864
}
865
866 341b24ef Stephen Beaver
/** Override text-warning with something less red. */
867
.text-warning {
868 4372f8a4 Jose Luis Duran
    color: #ffcc00;
869 51f33651 Stephen Beaver
}
870
871
/**Suppress href links when printing */
872
a[href]:after {
873 4372f8a4 Jose Luis Duran
    content: normal;
874 51f33651 Stephen Beaver
}
875 f4047b7b Stephen Beaver
876 143db93e Stephen Beaver
/** Text color for diff display when comapring configs */
877
.diff-text {
878
    color: #000000;
879
}
880 4129ab1e NOYB
881
/** Eliminate overflow in available widgets, log filter, and manage log panels. (cause of scroll bar) */
882
#widget-available_panel-body>.content>.row,
883
#filter-panel_panel-body>.form-group,
884
#manage-log-panel_panel-body>.form-group,
885 b1b8784a NOYB
#monitoring-settings-panel_panel-body>.form-group,
886 4129ab1e NOYB
/** optionally prevent more globally by using the class hierarchy */
887
.panel-body.collapse.in>.content>.row,
888
.panel-body.collapse.in>.form-group
889
{
890 4372f8a4 Jose Luis Duran
    margin-right: 0px;
891 8c9d0b20 k-paulius
}
892
893
/* Callouts */
894
.bs-callout {
895
    padding: 10px 15px;
896
    margin: 20px 0;
897
    border: 2px solid #eee;
898
    border-left-width: 5px;
899
    border-radius: 3px;
900
    font-size: 13px;
901
}
902
903
.bs-callout h4 {
904
    margin-top: 0;
905
    margin-bottom: 5px;
906
}
907
908
.bs-callout p:last-child {
909
    margin-bottom: 0;
910
}
911
912
.bs-callout code {
913
    border-radius: 3px;
914
}
915
916
.bs-callout+.bs-callout {
917
    margin-top: -5px;
918
}
919
920
/* Callout contextual classes */
921
.bs-callout-default {
922
    border-left-color: #777;
923
}
924
925
.bs-callout-default h4 {
926
    color: #777;
927
}
928
929
.bs-callout-danger {
930
    border-left-color: #d9534f;
931
}
932
933
.bs-callout-danger h4 {
934
    color: #d9534f;
935
}
936
937
.bs-callout-warning {
938
    border-left-color: #f0ad4e;
939
}
940
941
.bs-callout-warning h4 {
942
    color: #f0ad4e;
943
}
944
945
.bs-callout-info {
946
    border-left-color: #01579B;
947
}
948
949
.bs-callout-info h4 {
950
    color: #01579B;
951
}
952 5e5adb2b NOYB
953
/* Disable 300 ms click delay so event handlers are effective. */
954
/* Makes posible for non-touch compatible features to work; e.g. double tap rule to edit. */
955
body{
956 4372f8a4 Jose Luis Duran
    touch-action: manipulation;
957 5e5adb2b NOYB
}
958 dc60c816 Jared Dillard
959
/* D3 Styles */
960
961
svg {
962
    display: block;
963
}
964
965 849d3a37 Jared Dillard
.d3-chart, .d3-chart svg {
966 dc60c816 Jared Dillard
    margin: 0px;
967
    padding: 10px 0;
968 74d0b2c9 Jared Dillard
    height: 445px;
969 dc60c816 Jared Dillard
    width: 100%;
970
}
971
972 849d3a37 Jared Dillard
.traffic-widget-chart, .traffic-widget-chart svg {
973
    padding: 0;
974
    height: 250px;
975
}
976
977
.traffic-widget-chart:not(:last-child) {
978
    border-bottom: 2px solid #ccc;
979
}
980
981
.d3-chart .nvtooltip > h3 {
982 dc60c816 Jared Dillard
    font-size: 14px;
983 54fc9503 Stephen Beaver
}
984
985
/* Experimental styles to correct vertical alignment in forms */
986
.col-sm-10 {
987
    padding-top: 7px;
988
}
989
990
.chkboxlbl {
991
    padding-top: 4px;
992
}
993 ca3dc6c9 Stephen Beaver
994
.colspanth {
995
    background-color: #eeeeee;
996
}
997 57026d17 Steve Beaver
998
/* Required input elements have a title that begins with "*". This causes
999
Group.class.php to add <span class="element-required" to the title, which
1000
can then be used to style required input here. Example below uses a custom
1001
text underline, but text-color, background, font etc. could also be used */
1002
.element-required {
1003
    box-shadow: inset 0 0px 0 white, inset 0 -1px 0 black
1004
}