Skip to content

Commit

Permalink
style css and run sass
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Mar 2, 2024
1 parent 71ab861 commit 55dad58
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 21 deletions.
39 changes: 22 additions & 17 deletions admin/css/debug-toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
@import '_mixins';
@import '_settings';

[role="button"] {
cursor: pointer;
}

// DEBUG ICON
// ========================================================================== */
Expand All @@ -36,6 +39,9 @@
clear: both;
text-align: center;

// Cursor
cursor: pointer;

a svg {
margin: 8px;
max-width: 20px;
Expand Down Expand Up @@ -227,14 +233,13 @@
// The toolbar preferences
#toolbar-position,
#toolbar-theme {
a {
padding: 0 6px;
display: inline-flex;
vertical-align: top;
padding: 0 6px;
display: inline-flex;
vertical-align: top;
cursor: pointer;

&:hover {
text-decoration: none;
}
&:hover {
text-decoration: none;
}
}

Expand Down Expand Up @@ -518,43 +523,43 @@
.debug-bar-dtableRow {
display: table-row;
}

.debug-bar-dinlineBlock {
display: inline-block;
}

.debug-bar-pointer {
cursor: pointer;
}

.debug-bar-mleft4 {
margin-left: 4px;
}

.debug-bar-level-0 {
--level: 0;
}

.debug-bar-level-1 {
--level: 1;
}

.debug-bar-level-2 {
--level: 2;
}

.debug-bar-level-3 {
--level: 3;
}

.debug-bar-level-4 {
--level: 4;
}

.debug-bar-level-5 {
--level: 5;
}

.debug-bar-level-6 {
--level: 6;
}
14 changes: 10 additions & 4 deletions system/Debug/Toolbar/Views/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
[role=button] {
cursor: pointer;
}

#debug-icon {
bottom: 0;
position: fixed;
Expand All @@ -17,6 +21,7 @@
padding: 0px;
clear: both;
text-align: center;
cursor: pointer;
}
#debug-icon a svg {
margin: 8px;
Expand Down Expand Up @@ -156,14 +161,15 @@
bottom: auto;
top: 36px;
}
#debug-bar #toolbar-position a,
#debug-bar #toolbar-theme a {
#debug-bar #toolbar-position,
#debug-bar #toolbar-theme {
padding: 0 6px;
display: inline-flex;
vertical-align: top;
cursor: pointer;
}
#debug-bar #toolbar-position a:hover,
#debug-bar #toolbar-theme a:hover {
#debug-bar #toolbar-position:hover,
#debug-bar #toolbar-theme:hover {
text-decoration: none;
}
#debug-bar #debug-bar-link {
Expand Down

0 comments on commit 55dad58

Please sign in to comment.