Update icons, remove old navbar file
This commit is contained in:
parent
5592d5bb0d
commit
1474702338
@ -226,3 +226,9 @@
|
||||
.icon-x2:before {
|
||||
content: "\e03d";
|
||||
}
|
||||
.icon-gh:before {
|
||||
content: "\e03e";
|
||||
}
|
||||
.icon-signout:before {
|
||||
content: "\e036";
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
{{/gh-dropdown-button}}
|
||||
{{#gh-dropdown tagName="div" classNames="dropdown" name="user-menu" closeOnClick="true"}}
|
||||
<ul class="dropdown-menu dropdown-triangle-top js-user-menu-dropdown-menu" role="menu" style="right:-50%;left:auto;margin-right:40px">
|
||||
<li role="presentation">{{#link-to "settings.about" classNames="dropdown-item js-nav-item" role="menuitem" tabindex="-1"}}About Ghost{{/link-to}}</li>
|
||||
<li role="presentation">{{#link-to "settings.about" classNames="dropdown-item js-nav-item" role="menuitem" tabindex="-1"}}<i class="icon-gh"></i> About Ghost{{/link-to}}</li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation">{{#link-to "settings.users.user" session.user.slug classNames="dropdown-item user-menu-profile js-nav-item" role="menuitem" tabindex="-1"}}<i class="icon-user"></i> Your Profile{{/link-to}}</li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation">{{#link-to "signout" classNames="dropdown-item user-menu-signout" role="menuitem" tabindex="-1"}}<i class="icon-power"></i> Sign Out{{/link-to}}</li>
|
||||
<li role="presentation">{{#link-to "signout" classNames="dropdown-item user-menu-signout" role="menuitem" tabindex="-1"}}<i class="icon-signout"></i> Sign Out{{/link-to}}</li>
|
||||
</ul>
|
||||
{{/gh-dropdown}}
|
||||
<section class="gh-nav-body">
|
||||
|
@ -1,72 +0,0 @@
|
||||
<nav class="global-nav" role="navigation">
|
||||
|
||||
<a class="nav-item ghost-logo" href="{{config.blogUrl}}/" title="Visit blog">
|
||||
<div class="nav-label"><i class="icon-ghost"></i> <span>Visit blog</span> </div>
|
||||
</a>
|
||||
|
||||
{{#link-to "posts" classNames="nav-item nav-content js-nav-item"}}
|
||||
<div class="nav-label"><i class="icon-content"></i> Content</div>
|
||||
{{/link-to}}
|
||||
|
||||
{{#link-to "editor.new" classNames="nav-item nav-new js-nav-item"}}
|
||||
<div class="nav-label"><i class="icon-add"></i> New Post</div>
|
||||
{{/link-to}}
|
||||
|
||||
{{#unless session.user.isAuthor}}
|
||||
{{#link-to "settings" classNames="nav-item nav-settings js-nav-item"}}
|
||||
<div class="nav-label"><i class="icon-settings2"></i> Settings</div>
|
||||
{{/link-to}}
|
||||
{{/unless}}
|
||||
|
||||
{{! TODO: Mobile-only menu items
|
||||
|
||||
<a class="nav-item thing" href="#">
|
||||
<div class="nav-label">Thing</div>
|
||||
</a>
|
||||
<a class="nav-item thing2" href="#">
|
||||
<div class="nav-label">Thing2</div>
|
||||
</a>
|
||||
|
||||
}}
|
||||
|
||||
<div class="nav-item user-menu">
|
||||
{{#gh-dropdown-button dropdownName="user-menu" tagName="div" classNames="nav-label clearfix"}}
|
||||
<span class="image" style={{userImageBackground}}>
|
||||
<img src={{userImage}} title={{userImageAlt}}>
|
||||
</span>
|
||||
<div class="name">
|
||||
{{session.user.name}} <i class="icon-chevron-down"></i>
|
||||
<small>Profile & Settings</small>
|
||||
</div>
|
||||
{{/gh-dropdown-button}}
|
||||
{{#gh-dropdown tagName="div" classNames="dropdown" name="user-menu" closeOnClick="true"}}
|
||||
<ul class="dropdown-menu dropdown-triangle-top-right js-user-menu-dropdown-menu" role="menu">
|
||||
<li role="presentation">{{#link-to "settings.users.user" session.user.slug classNames="dropdown-item user-menu-profile js-nav-item" role="menuitem" tabindex="-1"}}<i class="icon-user"></i> Your Profile{{/link-to}}</li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation">{{#link-to "signout" classNames="dropdown-item user-menu-signout" role="menuitem" tabindex="-1"}}<i class="icon-power"></i> Sign Out{{/link-to}}</li>
|
||||
</ul>
|
||||
{{/gh-dropdown}}
|
||||
</div>{{! .user-menu }}
|
||||
|
||||
<div class="nav-item help-menu">
|
||||
{{#gh-dropdown-button dropdownName="help-menu" tagName="div" classNames="nav-label clearfix"}}
|
||||
<div class="help-button">
|
||||
<i class="icon-question"><span class="hidden">Help</span></i>
|
||||
</div>
|
||||
{{/gh-dropdown-button}}
|
||||
{{#gh-dropdown tagName="div" classNames="dropdown" name="help-menu" closeOnClick="true"}}
|
||||
<ul class="dropdown-menu dropdown-triangle-top" role="menu">
|
||||
<li role="presentation"><a class="dropdown-item help-menu-support" role="menuitem" tabindex="-1" href="http://support.ghost.org/" target="_blank"><i class="icon-support"></i> Support Center</a></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-tweet" role="menuitem" tabindex="-1" href="https://twitter.com/intent/tweet?text=%40TryGhost+Hi%21+Can+you+help+me+with+&related=TryGhost" target="_blank" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"><i class="icon-twitter"></i> Tweet @TryGhost!</a></li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-how-to" role="menuitem" tabindex="-1" href="http://support.ghost.org/how-to-use-ghost/" target="_blank"><i class="icon-book"></i> How to Use Ghost</a></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-markdown" role="menuitem" tabindex="-1" href="" {{action "openModal" "markdown"}}><i class="icon-markdown"></i> Markdown Help</a></li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-wishlist" role="menuitem" tabindex="-1" href="http://ideas.ghost.org/" target="_blank"><i class="icon-list"></i> Wishlist</a></li>
|
||||
</ul>
|
||||
{{/gh-dropdown}}
|
||||
</div>{{! .help-menu }}
|
||||
|
||||
</nav>{{! .global-nav }}
|
||||
|
||||
<div class="nav-cover js-nav-cover"></div>
|
Binary file not shown.
@ -61,7 +61,6 @@
|
||||
<glyph unicode="" d="M501 512l-490 0c-6 0-11-5-11-11l0-490c0-6 5-11 11-11l490 0c6 0 11 5 11 11l0 490c0 6-5 11-11 11z m-10-491l-470 0 0 470 470 0z m-203 342l149 0c6 0 11 4 11 10 0 6-5 11-11 11l-149 0c-6 0-11-5-11-11 0-6 5-10 11-10z m-64-64l213 0c6 0 11 4 11 10 0 6-5 11-11 11l-213 0c-6 0-11-5-11-11 0-6 5-10 11-10z m0-64l213 0c6 0 11 4 11 10 0 6-5 11-11 11l-213 0c-6 0-11-5-11-11 0-6 5-10 11-10z m0-64l213 0c6 0 11 4 11 10 0 6-5 11-11 11l-213 0c-6 0-11-5-11-11 0-6 5-10 11-10z m0-64l149 0c6 0 11 4 11 10 0 6-5 11-11 11l-149 0c-6 0-11-5-11-11 0-6 5-10 11-10z m-149 234l85 0c6 0 11 5 11 11l0 85c0 6-5 11-11 11l-85 0c-6 0-11-5-11-11l0-85c0-6 5-11 11-11z m10 86l64 0 0-64-64 0z m-10-235l85 0c6 0 11 5 11 11l0 106c0 6-5 11-11 11l-85 0c-6 0-11-5-11-11l0-106c0-6 5-11 11-11z m10 107l64 0 0-86-64 0z m-10-235l85 0c6 0 11 5 11 11l0 85c0 6-5 11-11 11l-85 0c-6 0-11-5-11-11l0-85c0-6 5-11 11-11z m10 85l64 0 0-64-64 0z"/>
|
||||
<glyph unicode="" d="M277 128c0-12-9-21-21-21-12 0-21 9-21 21 0 12 9 21 21 21 12 0 21-9 21-21z m-21 384c-141 0-256-115-256-256 0-141 115-256 256-256 141 0 256 115 256 256 0 141-115 256-256 256z m0-491c-129 0-235 106-235 235 0 129 106 235 235 235 129 0 235-106 235-235 0-129-106-235-235-235z m0 363c-41 0-75-33-75-75 0-6 5-10 11-10 6 0 11 4 11 10 0 30 24 54 53 54 29 0 53-24 53-54 0-29-24-53-53-53-6 0-11-5-11-11l0-64c0-6 5-10 11-10 6 0 11 4 11 10l0 54c36 6 64 37 64 74 0 42-34 75-75 75z"/>
|
||||
<glyph unicode="" d="M249 512l-4 0c-137-2-247-114-245-250 2-135 108-241 241-241l5 0c65 1 127 28 174 75 47 47 72 110 71 175-3 135-109 241-242 241z m156-401c-43-43-100-67-160-68l-4 0c-121 0-217 96-220 220-2 123 99 225 225 228l3 0c122 0 218-97 220-220 1-60-22-117-64-160z m-160 113c6 0 11 5 11 11l0 149c0 6-5 11-11 11-6 0-10-5-10-11l0-149c0-6 4-11 10-11z m0-43c0 0 0 0 0 0-12 0-21-10-21-21 0-12 10-21 21-21 0 0 1 0 1 0 11 0 21 10 21 21-1 12-10 21-22 21z"/>
|
||||
<glyph unicode="" d="M324 364c-5 3-11 0-14-5-2-6 1-12 6-14 48-20 79-67 79-119 0-34-14-66-38-90-24-24-56-37-90-37 0 0 0 0-1 0-70 0-127 57-127 128 0 51 31 98 78 118 6 2 8 8 6 14-3 5-9 8-14 5-56-23-92-77-92-137 0-82 67-150 149-150 0 0 1 0 1 0 39 0 77 16 105 44 28 28 44 65 44 105 0 61-36 115-92 138z m-57-116l0 0c6 0 10 5 10 11l1 138c0 6-5 11-11 11 0 0 0 0 0 0-6 0-11-5-11-11l0-138c0-6 5-11 11-11z"/>
|
||||
<glyph unicode="" d="M475 416l-438 0c-20 0-37-17-37-37l0-246c0-20 17-37 37-37l438 0c20 0 37 17 37 37l0 246c0 20-17 37-37 37z m-187-256l-64 0 0 96-48-62-48 62 0-96-64 0 0 192 64 0 48-64 48 64 64 0z m96-16l-80 112 48 0 0 96 64 0 0-96 48 0z"/>
|
||||
<glyph unicode="" d="M384 128l-256 0 0 255 64 1 0 64-128 0 0-384 384 0 0 160-64 0z m-128 320l64-64-96-96 64-64 96 96 64-64 0 192z"/>
|
||||
<glyph unicode="" d="M504 413c-9 7-22 6-30-3l-218-261-218 261c-8 9-21 10-30 3-9-8-11-21-3-30l235-281c4-5 10-8 16-8 6 0 12 3 16 8l235 281c8 9 6 22-3 30z"/>
|
||||
@ -69,4 +68,6 @@
|
||||
<glyph unicode="" d="M149 256l261 218c9 8 10 21 3 30-8 9-21 11-30 3l-281-235c-5-4-8-10-8-16 0-6 3-12 8-16l280-235c4-3 9-5 14-5 6 0 12 3 17 8 7 9 6 22-3 30z"/>
|
||||
<glyph unicode="" d="M410 272l-281 235c-9 8-22 6-30-3-7-9-6-22 3-30l261-218-261-218c-9-8-10-21-3-30 5-5 11-8 17-8 5 0 10 2 13 5l281 235c5 4 8 10 8 16 0 6-3 12-8 16z"/>
|
||||
<glyph unicode="" d="M286 256l220 220c8 8 8 21 0 30-9 8-22 8-30 0l-220-220-220 220c-8 8-21 8-30 0-8-9-8-22 0-30l220-220-220-220c-8-8-8-21 0-30 4-4 10-6 15-6 6 0 11 2 15 6l220 220 220-220c4-4 9-6 15-6 5 0 11 2 15 6 8 9 8 22 0 30z"/>
|
||||
<glyph unicode="" d="M19 512l260 0c10 0 19-9 19-19l0-65c0-11-9-20-19-20l-260 0c-10 0-19 9-19 20l0 65c0 10 9 19 19 19z m0-207l474 0c10 0 19-9 19-20l0-65c0-10-9-19-19-19l-474 0c-10 0-19 9-19 19l0 65c0 11 9 20 19 20z m408 207l65 0c10 0 19-9 19-19l0-65c0-11-9-20-19-20l-65 0c-11 0-20 9-20 20l0 65c0 10 9 19 20 19z m-408-408l162 0c11 0 20-9 20-20l0-65c0-10-9-19-20-19l-162 0c-10 0-19 9-19 19l0 65c0 11 9 20 19 20z m311 1l162 0c10 0 19-9 19-20l0-65c0-10-9-19-19-19l-162 0c-11 0-20 9-20 19l0 65c0 11 9 20 20 20z"/>
|
||||
<glyph unicode="" d="M288 127c0 0 0 0 0 0-6 0-10-4-10-10l-1-75-256 1 0 426 257 0 0-75c0-6 5-11 11-11 0 0 0 0 0 0 6 0 10 5 10 11l1 85c0 6-5 11-11 11l-278 1c0 0 0 0 0 0-3 0-6-1-8-3-2-2-3-5-3-8l0-448c0-6 5-11 11-11l277 0 0 0c6 0 11 5 11 10l0 86c0 6-5 10-11 10z m223 122c-1 2-2 4-4 5l-104 105c-4 4-11 4-15 0-4-4-4-11 0-15l87-88-357 0c-6 0-11-5-11-11 0-6 5-11 11-11l359 1-90-90c-4-4-4-10 0-15 2-2 5-3 8-3 3 0 5 1 7 3l107 107c2 2 3 5 3 7 0 2 0 4-1 5z"/>
|
||||
</font></defs></svg>
|
||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user