Skip to content

Commit

Permalink
Merge pull request #25 from mabar/patch-1
Browse files Browse the repository at this point in the history
Latest Tracy compatibility
  • Loading branch information
enumag authored Jun 9, 2017
2 parents bfb9e20 + a0a3916 commit 5f11d1e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"php": ">=5.3.2",
"nette/di": "~2.2",
"nette/http": "~2.2",
"tracy/tracy": "~2.2"
"tracy/tracy": "~2.4"
},
"autoload": {
"psr-0": {
Expand Down
24 changes: 13 additions & 11 deletions src/Kdyby/SessionPanel/Diagnostics/templates/panel.phtml
Original file line number Diff line number Diff line change
@@ -1,39 +1,41 @@
<style>
#nette-debug .nette-sessionPanel h1 {
#tracy-debug .nette-sessionPanel h1 {
min-width: 400px;
}

#nette-debug .nette-sessionPanel h2 {
#tracy-debug .nette-sessionPanel h2 {
font: 11pt/1.5 sans-serif;
margin: 0;
padding: 2px 8px;
background: #3484d2;
color: white;
}

#nette-debug .nette-sessionPanel small {
#tracy-debug .nette-sessionPanel small {
font-size: 70%;
}

#nette-debug .nette-sessionPanel .nette-inner {
width: 700px;
#tracy-debug .nette-sessionPanel .nette-inner{
overflow: auto;
max-height: 600px;
max-width: 700px;
}

#nette-debug .nette-sessionPanel table {
#tracy-debug .nette-sessionPanel table {
width: 100%;
white-space: nowrap;
}

#nette-debug .nette-sessionPanel td.nette-session {
#tracy-debug .nette-sessionPanel td.nette-session {
font-weight: bold;
}

#nette-debug .nette-sessionPanel .section-type {
#tracy-debug .nette-sessionPanel .section-type {
font-size: 85%;
color: #999;
}

#nette-debug .nette-sessionPanel .remove b {
#tracy-debug .nette-sessionPanel .remove b {
line-height: 20px;
cursor: pointer;
-webkit-appearance: none;
Expand All @@ -48,12 +50,12 @@
text-decoration: none;
}

#nette-debug .nette-sessionPanel .remove a:hover {
#tracy-debug .nette-sessionPanel .remove a:hover {
background: transparent;
color: #125EAE;
}

#nette-debug .nette-sessionPanel .remove a:hover span {
#tracy-debug .nette-sessionPanel .remove a:hover span {
text-decoration: underline;
}
</style>
Expand Down

0 comments on commit 5f11d1e

Please sign in to comment.