Commit e12ba399 authored by Liang Ding's avatar Liang Ding

改进 - 后台图标

parent 841872a0
...@@ -28,15 +28,15 @@ ...@@ -28,15 +28,15 @@
<li> <li>
<div id="tabs_main"> <div id="tabs_main">
<a href="#main"> <a href="#main">
<span class="left usersIcon"></span>${adminIndexLabel} <span class="icon-refresh"></span> ${adminIndexLabel}
</a> </a>
</div> </div>
</li> </li>
<li> <li>
<div id="tabArticleTitle" class="tab-current" onclick="admin.collapseNav(this)"> <div id="tabArticleTitle" class="tab-current" onclick="admin.collapseNav(this)">
<span class="left postIcon"></span> <span class="icon-article"></span>
${articleLabel} ${articleLabel}
<span class="ico-arrow-up"></span> <span class="icon-chevron-up right"></span>
</div> </div>
<ul id="tabArticleMgt"> <ul id="tabArticleMgt">
<li> <li>
...@@ -59,15 +59,15 @@ ...@@ -59,15 +59,15 @@
<li> <li>
<div id="tabs_comment-list"> <div id="tabs_comment-list">
<a href="#comment-list"> <a href="#comment-list">
<span class="left commentIcon"></span>${commentListLabel} <span class="icon-cmts"></span> ${commentListLabel}
</a> </a>
</div> </div>
</li> </li>
<li> <li>
<div id="tabToolsTitle" onclick="admin.collapseNav(this)"> <div id="tabToolsTitle" onclick="admin.collapseNav(this)">
<span class="left preferenceIcon"></span> <span class="icon-setting"></span>
${ToolLabel} ${ToolLabel}
<span class="ico-arrow-down"></span> <span class="icon-chevron-down right"></span>
</div> </div>
<ul class="none" id="tabTools"> <ul class="none" id="tabTools">
<li> <li>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<li> <li>
<div id="tabs_about"> <div id="tabs_about">
<a href="#about"> <a href="#about">
<span class="left aboutIcon"></span>${aboutLabel} <span class="icon-info"></span> ${aboutLabel}
</a> </a>
</div> </div>
</li> </li>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* admin style * admin style
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 2.0.5.2, Aug 26, 2016 * @version 2.0.6.2, Sep 2, 2016
*/ */
/* start resset */ /* start resset */
...@@ -251,9 +251,11 @@ a[class*=" icon-"]:hover { ...@@ -251,9 +251,11 @@ a[class*=" icon-"]:hover {
} }
.icon-chevron-down:before { .icon-chevron-down:before {
content: "\e618"; content: "\e618";
margin-right: 10px;
} }
.icon-chevron-up:before { .icon-chevron-up:before {
content: "\e619"; content: "\e619";
margin-right: 10px;
} }
.icon-reply:before { .icon-reply:before {
content: "\e61a"; content: "\e61a";
...@@ -270,17 +272,6 @@ a[class*=" icon-"]:hover { ...@@ -270,17 +272,6 @@ a[class*=" icon-"]:hover {
.icon-wechat:before { .icon-wechat:before {
content: "\e907"; content: "\e907";
} }
.ico-arrow-down, .ico-arrow-up {
background: url("../images/arrows.png") repeat scroll 0 4px transparent;
float: right;
height: 20px;
margin: -3px 5px 0 0;
width: 18px;
}
.ico-arrow-up {
background-position: 0 -30px;
}
.aboutIcon { .aboutIcon {
background-position: -16px -48px; background-position: -16px -48px;
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* @description index for admin * @description index for admin
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 1.0.2.2, May 28, 2013 * @version 1.0.3.2, Sep 2, 2013
*/ */
var Admin = function () { var Admin = function () {
this.register = {}; this.register = {};
...@@ -230,10 +230,10 @@ $.extend(Admin.prototype, { ...@@ -230,10 +230,10 @@ $.extend(Admin.prototype, {
var subNav = $(it).next(); var subNav = $(it).next();
subNav.slideToggle("normal", function () { subNav.slideToggle("normal", function () {
if (this.style.display !== "none") { if (this.style.display !== "none") {
$(it).find(".ico-arrow-down")[0].className = "ico-arrow-up"; $(it).find(".icon-chevron-down")[0].className = "icon-chevron-up right";
$(it).addClass('tab-current'); $(it).addClass('tab-current');
} else { } else {
$(it).find(".ico-arrow-up")[0].className = "ico-arrow-down"; $(it).find(".icon-chevron-up")[0].className = "icon-chevron-down right";
$(it).removeClass('tab-current'); $(it).removeClass('tab-current');
} }
......
...@@ -16,8 +16,9 @@ ...@@ -16,8 +16,9 @@
# #
# Description: Language configurations(zh_CN) of plugin b3log broadcast. # Description: Language configurations(zh_CN) of plugin b3log broadcast.
# Version: 1.0.0.1, Apr 24, 2013 # Version: 1.0.1.1, Sep 4, 2016
# Author: Liyuan Li # Author: Liyuan Li
# Author: Liang Ding
# #
userBroadcastLabel=User Broadcast userBroadcastLabel=User Broadcast
...@@ -27,4 +28,4 @@ contentLabel1=Content: ...@@ -27,4 +28,4 @@ contentLabel1=Content:
noEmptyLabel=No Empty noEmptyLabel=No Empty
submitLabel=Submit submitLabel=Submit
submitErrorLabel=Error submitErrorLabel=Error
chanceBroadcastLabel=Time to post: chanceBroadcastLabel1=Time to post:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment