Skip to content

Commit 5f11d1e

Browse files
authored
Merge pull request #25 from mabar/patch-1
Latest Tracy compatibility
2 parents bfb9e20 + a0a3916 commit 5f11d1e

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"php": ">=5.3.2",
2424
"nette/di": "~2.2",
2525
"nette/http": "~2.2",
26-
"tracy/tracy": "~2.2"
26+
"tracy/tracy": "~2.4"
2727
},
2828
"autoload": {
2929
"psr-0": {

src/Kdyby/SessionPanel/Diagnostics/templates/panel.phtml

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
<style>
2-
#nette-debug .nette-sessionPanel h1 {
2+
#tracy-debug .nette-sessionPanel h1 {
33
min-width: 400px;
44
}
55

6-
#nette-debug .nette-sessionPanel h2 {
6+
#tracy-debug .nette-sessionPanel h2 {
77
font: 11pt/1.5 sans-serif;
88
margin: 0;
99
padding: 2px 8px;
1010
background: #3484d2;
1111
color: white;
1212
}
1313

14-
#nette-debug .nette-sessionPanel small {
14+
#tracy-debug .nette-sessionPanel small {
1515
font-size: 70%;
1616
}
1717

18-
#nette-debug .nette-sessionPanel .nette-inner {
19-
width: 700px;
18+
#tracy-debug .nette-sessionPanel .nette-inner{
19+
overflow: auto;
20+
max-height: 600px;
21+
max-width: 700px;
2022
}
2123

22-
#nette-debug .nette-sessionPanel table {
24+
#tracy-debug .nette-sessionPanel table {
2325
width: 100%;
2426
white-space: nowrap;
2527
}
2628

27-
#nette-debug .nette-sessionPanel td.nette-session {
29+
#tracy-debug .nette-sessionPanel td.nette-session {
2830
font-weight: bold;
2931
}
3032

31-
#nette-debug .nette-sessionPanel .section-type {
33+
#tracy-debug .nette-sessionPanel .section-type {
3234
font-size: 85%;
3335
color: #999;
3436
}
3537

36-
#nette-debug .nette-sessionPanel .remove b {
38+
#tracy-debug .nette-sessionPanel .remove b {
3739
line-height: 20px;
3840
cursor: pointer;
3941
-webkit-appearance: none;
@@ -48,12 +50,12 @@
4850
text-decoration: none;
4951
}
5052

51-
#nette-debug .nette-sessionPanel .remove a:hover {
53+
#tracy-debug .nette-sessionPanel .remove a:hover {
5254
background: transparent;
5355
color: #125EAE;
5456
}
5557

56-
#nette-debug .nette-sessionPanel .remove a:hover span {
58+
#tracy-debug .nette-sessionPanel .remove a:hover span {
5759
text-decoration: underline;
5860
}
5961
</style>

0 commit comments

Comments
 (0)