Skip to content

Commit 9d8b5ef

Browse files
committed
style(panel): update tracy toggle styles for table cells
- Adjusted CSS selectors to target toggle elements within table cells - Enhanced hover and active states for better user interaction
1 parent 1a1ad08 commit 9d8b5ef

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/Diagnostics/Panel/panel.phtml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ namespace Spameri\Elastic\Diagnostics\Panel;
3434
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
3535
}
3636

37-
#nette-debug .elasticSearchPanel .tracy-toggle,
38-
#tracy-debug .elasticSearchPanel .tracy-toggle {
37+
#nette-debug .elasticSearchPanel td > .tracy-toggle,
38+
#tracy-debug .elasticSearchPanel td > .tracy-toggle {
3939
cursor: pointer !important;
4040
display: inline-block !important;
4141
padding: 4px 10px !important;
@@ -48,20 +48,20 @@ namespace Spameri\Elastic\Diagnostics\Panel;
4848
font-weight: bold !important;
4949
}
5050

51-
#nette-debug .elasticSearchPanel .tracy-toggle:hover,
52-
#tracy-debug .elasticSearchPanel .tracy-toggle:hover {
51+
#nette-debug .elasticSearchPanel td > .tracy-toggle:hover,
52+
#tracy-debug .elasticSearchPanel td > .tracy-toggle:hover {
5353
background: #e8e8e8 !important;
5454
border-color: #aaa !important;
5555
}
5656

57-
#nette-debug .elasticSearchPanel .tracy-toggle:active,
58-
#tracy-debug .elasticSearchPanel .tracy-toggle:active {
57+
#nette-debug .elasticSearchPanel td > .tracy-toggle:active,
58+
#tracy-debug .elasticSearchPanel td > .tracy-toggle:active {
5959
background: #ddd !important;
6060
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
6161
}
6262

63-
#nette-debug .elasticSearchPanel .tracy-toggle::after,
64-
#tracy-debug .elasticSearchPanel .tracy-toggle::after {
63+
#nette-debug .elasticSearchPanel td > .tracy-toggle::after,
64+
#tracy-debug .elasticSearchPanel td > .tracy-toggle::after {
6565
opacity: 0.7 !important;
6666
margin-left: 4px !important;
6767
}

0 commit comments

Comments
 (0)