@@ -17,9 +17,15 @@ html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:1
17
17
18
18
{# Basic styles
19
19
========================================================================= #}
20
+ html, body {
21
+ height: 100%;
22
+ width: 100%;
23
+ }
20
24
body {
21
25
background-color: #F9F9F9;
22
26
color: #222;
27
+ display: flex;
28
+ flex-direction: column;
23
29
{{ mixins .sans_serif_font | raw }}
24
30
font-size: 14px;
25
31
line-height: 1.4;
@@ -401,16 +407,34 @@ tr.status-warning td {
401
407
max-width: 1300px;
402
408
padding-right: 15px;
403
409
}
410
+ #header {
411
+ flex: 0 0 auto;
412
+ }
413
+ #header .container {
414
+ display: flex;
415
+ flex-direction: row;
416
+ justify-content: space-between;
417
+ }
418
+ #summary {
419
+ flex: 0 0 auto;
420
+ }
404
421
#content {
405
- min-height: 1024px;
406
- overflow: hidden;
422
+ height: 100%;
423
+ }
424
+ #main {
425
+ display: flex;
426
+ flex-direction: row-reverse;
427
+ min-height: 100%;
428
+ }
429
+ #sidebar {
430
+ flex: 0 0 220px;
407
431
}
408
432
#collector-wrapper {
409
- float: left ;
410
- width: 100% ;
433
+ flex: 0 1 100% ;
434
+ min- width: 0 ;
411
435
}
412
436
#collector-content {
413
- margin: 0 0 30px 220px ;
437
+ margin: 0 0 30px 0 ;
414
438
padding: 14px 0 14px 20px;
415
439
}
416
440
@@ -428,7 +452,6 @@ tr.status-warning td {
428
452
color: #FFF;
429
453
font-weight: normal;
430
454
font-size: 21px;
431
- float: left;
432
455
margin: 0;
433
456
padding: 10px 10px 8px;
434
457
}
@@ -445,7 +468,6 @@ tr.status-warning td {
445
468
fill: #FFF;
446
469
}
447
470
#header .search {
448
- float: right;
449
471
padding-top: 11px;
450
472
}
451
473
#header .search input {
@@ -511,10 +533,7 @@ tr.status-warning td {
511
533
#sidebar {
512
534
background: #444;
513
535
color: #CCC;
514
- float: left;
515
- margin-bottom: -99999px; {# needed for 'same-height columns' trick #}
516
- margin-left: -100%;
517
- padding-bottom: 99999px; {# needed for 'same-height columns' trick #}
536
+ padding-bottom: 30px;
518
537
position: relative;
519
538
width: 220px;
520
539
z-index: 9999;
@@ -597,7 +616,6 @@ tr.status-warning td {
597
616
#menu-profiler li {
598
617
position: relative;
599
618
margin-bottom: 0;
600
- width: 220px;
601
619
}
602
620
#menu-profiler li a {
603
621
border: solid transparent;
@@ -922,17 +940,13 @@ table.logs .sf-call-stack abbr {
922
940
}
923
941
924
942
@media (max-width: 768px) {
925
- #collector-content {
926
- margin-left: 50px;
927
- }
928
-
929
943
#sidebar {
930
- width : 50px;
931
- overflow-y : hidden;
932
- transition: width 200ms ease-out;
944
+ flex-basis : 50px;
945
+ overflow-x : hidden;
946
+ transition: flex-basis 200ms ease-out;
933
947
}
934
948
#sidebar:hover, #sidebar.expanded {
935
- width : 220px;
949
+ flex-basis : 220px;
936
950
}
937
951
938
952
#sidebar-search {
0 commit comments