Updated Explore menu

no issue

- Explore menu was before View site
- Explore menu colors were off in dark mode because it used old icon styles
This commit is contained in:
Peter Zimon 2022-10-25 07:13:22 +02:00
parent 0d3d85df64
commit f5a55092e5
3 changed files with 8 additions and 18 deletions

View File

@ -21,11 +21,6 @@
<li class="relative">
<LinkTo @route="dashboard" @alt="Dashboard" title="Dashboard" data-test-nav="dashboard">{{svg-jar "house"}} Dashboard</LinkTo>
</li>
{{#if (feature "exploreApp")}}
<li class="relative">
<LinkTo @route="explore" title="Ghost Explore" data-test-nav="explore">{{svg-jar "globe"}} Explore</LinkTo>
</li>
{{/if}}
{{/if}}
<li class="relative">
<span {{action "transitionToOrRefreshSite" on="click"}}>
@ -37,6 +32,13 @@
<span>{{svg-jar "external"}}</span>
</a>
</li>
{{#if (gh-user-can-admin this.session.user)}}
{{#if (feature "exploreApp")}}
<li class="relative">
<LinkTo @route="explore" title="Ghost Explore" data-test-nav="explore">{{svg-jar "globe-simple"}} Explore</LinkTo>
</li>
{{/if}}
{{/if}}
</ul>
<ul class="gh-nav-list gh-nav-manage">
<li class="gh-nav-list-new relative">

View File

@ -484,19 +484,6 @@
fill: var(--black);
}
.gh-nav-list a svg g,
.gh-nav-list button.main-menu-item svg g {
stroke: var(--midgrey);
}
.gh-nav-list a:not(.active):hover svg g {
stroke: var(--darkgrey);
}
.gh-nav-list .active svg g {
stroke: #8FD200;
}
.gh-nav-button-expand {
display: flex;
align-items: center;

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.25 0.25 23.5 23.5" stroke-width="1" height="24" width="24"><g><circle cx="12" cy="12" r="11.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle><path d="M9.88,23.05c-1.57-2.2-2.63-6.33-2.63-11S8.31,3.15,9.88,1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.12,23.05c1.57-2.2,2.63-6.33,2.63-11S15.69,3.15,14.12,1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="0.75" y1="12" x2="23.25" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.05" y1="17.25" x2="21.95" y2="17.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.05" y1="6.75" x2="21.95" y2="6.75" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>

After

Width:  |  Height:  |  Size: 962 B