Skip to content

Commit

Permalink
Less offensive tree icons
Browse files Browse the repository at this point in the history
  • Loading branch information
olibu committed Apr 20, 2024
1 parent fbd2b26 commit ea3c28f
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 48 deletions.
4 changes: 2 additions & 2 deletions index-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ h1 {
#dump .hexCurrent .dlen { color: #00b6b6; }

.treecollapse ul li{
border-left: 1px solid #888;
border-left: 1px solid #333;
}

.treecollapse ul li::before{
Expand All @@ -54,7 +54,7 @@ h1 {
left: -1px;
width: calc(var(--spacing) + 2px);
height: calc(var(--spacing) + 1px);
border: solid #888;
border: solid #333;
border-width: 0 0 1px 1px;
}

Expand Down
7 changes: 4 additions & 3 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ header {
}
.treecollapse {
--spacing: 1.5rem;
--radius: 8px;
--radius: 7px;
padding-inline-start: 0px;
}

Expand All @@ -231,7 +231,7 @@ header {
}

.treecollapse ul li{
border-left: 1px solid #ddd;
border-left: 1px solid #999;
}

.treecollapse ul li:last-child{
Expand All @@ -246,7 +246,7 @@ header {
left: -1px;
width: calc(var(--spacing) + 2px);
height: calc(var(--spacing) + 1px);
border: solid #ddd;
border: solid #999;
border-width: 0 0 1px 1px;
}

Expand Down Expand Up @@ -280,6 +280,7 @@ header {

.treecollapse summary::before{
z-index: 1;
top: 1px;
background: url('tree-icon-light.svg');
}

Expand Down
53 changes: 31 additions & 22 deletions tree-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 27 additions & 21 deletions tree-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea3c28f

Please sign in to comment.