Skip to content

Commit 0fc5485

Browse files
committed
fix: make css button for vars
1 parent 1ceafd6 commit 0fc5485

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

admin/css/debug-toolbar/toolbar.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
@import '_mixins';
1414
@import '_settings';
1515

16-
a[role="button"] {
17-
cursor: pointer;
18-
}
19-
2016
// DEBUG ICON
2117
// ========================================================================== */
2218

@@ -39,7 +35,6 @@ a[role="button"] {
3935
clear: both;
4036
text-align: center;
4137

42-
// Cursor
4338
cursor: pointer;
4439

4540
a svg {
@@ -62,6 +57,10 @@ a[role="button"] {
6257
// DEBUG BAR
6358
// ========================================================================== */
6459

60+
.debug-bar-vars {
61+
cursor: pointer;
62+
}
63+
6564
#debug-bar {
6665
// Position
6766
bottom: 0;
@@ -247,6 +246,7 @@ a[role="button"] {
247246
#debug-bar-link {
248247
display: flex;
249248
padding: 6px;
249+
cursor: pointer;
250250
}
251251

252252
// The toolbar menus

system/Debug/Toolbar/Views/toolbar.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.
88
*/
9-
a[role=button] {
10-
cursor: pointer;
11-
}
12-
139
#debug-icon {
1410
bottom: 0;
1511
position: fixed;
@@ -36,6 +32,10 @@ a[role=button] {
3632
display: none;
3733
}
3834

35+
.debug-bar-vars {
36+
cursor: pointer;
37+
}
38+
3939
#debug-bar {
4040
bottom: 0;
4141
left: 0;
@@ -175,6 +175,7 @@ a[role=button] {
175175
#debug-bar #debug-bar-link {
176176
display: flex;
177177
padding: 6px;
178+
cursor: pointer;
178179
}
179180
#debug-bar .ci-label {
180181
display: inline-flex;

system/Debug/Toolbar/Views/toolbar.tpl.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<?php if (isset($vars['varData'])) : ?>
125125
<?php foreach ($vars['varData'] as $heading => $items) : ?>
126126

127-
<a role="button" data-toggle="datatable" data-table="<?= strtolower(str_replace(' ', '-', $heading)) ?>">
127+
<a class="debug-bar-vars" data-toggle="datatable" data-table="<?= strtolower(str_replace(' ', '-', $heading)) ?>">
128128
<h2><?= $heading ?></h2>
129129
</a>
130130

@@ -148,7 +148,7 @@
148148
<?php endif ?>
149149

150150
<!-- Session -->
151-
<a role="button" data-toggle="datatable" data-table="session">
151+
<a class="debug-bar-vars" data-toggle="datatable" data-table="session">
152152
<h2>Session User Data</h2>
153153
</a>
154154

@@ -174,7 +174,7 @@
174174
<h2>Request <span>( <?= $vars['request'] ?> )</span></h2>
175175

176176
<?php if (isset($vars['get']) && $get = $vars['get']) : ?>
177-
<a role="button" data-toggle="datatable" data-table="get">
177+
<a class="debug-bar-vars" data-toggle="datatable" data-table="get">
178178
<h3>$_GET</h3>
179179
</a>
180180

@@ -191,7 +191,7 @@
191191
<?php endif ?>
192192

193193
<?php if (isset($vars['post']) && $post = $vars['post']) : ?>
194-
<a role="button" data-toggle="datatable" data-table="post">
194+
<a class="debug-bar-vars" data-toggle="datatable" data-table="post">
195195
<h3>$_POST</h3>
196196
</a>
197197

@@ -208,7 +208,7 @@
208208
<?php endif ?>
209209

210210
<?php if (isset($vars['headers']) && $headers = $vars['headers']) : ?>
211-
<a role="button" data-toggle="datatable" data-table="request_headers">
211+
<a class="debug-bar-vars" data-toggle="datatable" data-table="request_headers">
212212
<h3>Headers</h3>
213213
</a>
214214

@@ -225,7 +225,7 @@
225225
<?php endif ?>
226226

227227
<?php if (isset($vars['cookies']) && $cookies = $vars['cookies']) : ?>
228-
<a role="button" data-toggle="datatable" data-table="cookie">
228+
<a class="debug-bar-vars" data-toggle="datatable" data-table="cookie">
229229
<h3>Cookies</h3>
230230
</a>
231231

@@ -246,7 +246,7 @@
246246
</h2>
247247

248248
<?php if (isset($vars['response']['headers']) && $headers = $vars['response']['headers']) : ?>
249-
<a role="button" data-toggle="datatable" data-table="response_headers">
249+
<a class="debug-bar-vars" data-toggle="datatable" data-table="response_headers">
250250
<h3>Headers</h3>
251251
</a>
252252

0 commit comments

Comments
 (0)