1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-22 03:16:34 +00:00

[wiki] modified wiki nav ui

This commit is contained in:
llj
2014-02-26 11:55:54 +08:00
parent 945320c1d9
commit 584738e1e1
5 changed files with 17 additions and 23 deletions

View File

@@ -939,14 +939,16 @@ textarea:-moz-placeholder {/* for FF */
}
#right-panel .hd,
.tabnav,
.repo-file-list-topbar {
.repo-file-list-topbar,
.wiki-top {
padding:9px 10px;
background:#f2f2f2;
margin-bottom:.5em;
border-radius:2px;
}
#right-panel .hd,
.tabnav {
.tabnav,
.wiki-top {
padding-bottom:0;
height:39px;
}
@@ -964,7 +966,8 @@ textarea:-moz-placeholder {/* for FF */
top:0;
}
#right-panel .hd .a,
.tabnav-tab a {
.tabnav-tab a,
.wiki-nav .link {
display:inline-block;
font-size:15px;
color:#333;
@@ -976,6 +979,8 @@ textarea:-moz-placeholder {/* for FF */
}
.tabnav-tab-cur a,
.tabnav-tab a:hover,
.wiki-nav .cur-item .link,
.wiki-nav .link:hover,
#right-panel .hd .ui-state-active .a,
#right-panel .hd .a:hover {
color:#eb8205;
@@ -984,7 +989,8 @@ textarea:-moz-placeholder {/* for FF */
}
#right-panel .hd button,
.tabnav button,
.repo-file-list-topbar button {
.repo-file-list-topbar button,
.wiki-top .op-btn {
height:29px;
background:#fff;
line-height:17px;
@@ -2532,32 +2538,20 @@ textarea:-moz-placeholder {/* for FF */
}
/* wiki page */
.wiki-top {
.wiki-top {/* for lang with long words */
text-align:right;
padding-bottom:4px;
border-bottom:1px solid #eee;
height:auto;
}
.wiki-top .op-btn {
margin-left:3px;
padding-top:0;
padding-bottom:0;
height:24px;
}
.wiki-nav .item {
float:left;
font-size:15px;
line-height:24px;
margin:0 5px 0 10px;
}
.wiki-nav .link {
color:#333;
font-weight:normal;
}
.wiki-nav .cur-item .link,
.wiki-nav .link:hover {
color: #eb8205;
text-decoration: underline;
}
#wiki-area {
padding: 0 0;
}

View File

@@ -63,7 +63,7 @@
</form>
{% else %}
<div class="wiki-top w100 ovhd">
<div class="wiki-top ovhd">
<ul class="wiki-nav fleft">
<li class="item{% if page == 'home' %} cur-item{% endif %}"><a href="{% url 'group_wiki' group.id %}" class="link">{% trans "Home" %}</a></li>
<li class="item"><a href="{% url 'group_wiki_pages' group.id %}" class="link">{% trans "Pages" %}</a></li>

View File

@@ -6,7 +6,7 @@
{% block cur_wiki %}tab-cur{% endblock %}
{% block right_panel %}
<div class="wiki-top w100 ovhd">
<div class="wiki-top ovhd">
<ul class="wiki-nav fleft">
<li class="item"><a href="{% url 'group_wiki' group.id %}" class="link">{% trans "Home" %}</a></li>
<li class="item cur-item"><a href="{% url 'group_wiki_pages' group.id %}" class="link">{% trans "Pages" %}</a></li>

View File

@@ -58,7 +58,7 @@
</form>
{% else %}
<div class="wiki-top w100 ovhd">
<div class="wiki-top ovhd">
<ul class="wiki-nav fleft">
<li class="item{% if page == 'home' %} cur-item{% endif %}"><a href="{% url 'personal_wiki' %}" class="link">{% trans "Home" %}</a></li>
<li class="item"><a href="{% url 'personal_wiki_pages' %}" class="link">{% trans "Pages" %}</a></li>

View File

@@ -8,7 +8,7 @@
{% block cur_personal_wiki %}tab-cur{% endblock %}
{% block right_panel %}
<div class="wiki-top w100 ovhd">
<div class="wiki-top ovhd">
<ul class="wiki-nav fleft">
<li class="item"><a href="{% url 'personal_wiki' %}" class="link">{% trans "Home" %}</a></li>
<li class="item cur-item"><a href="{% url 'personal_wiki_pages' %}" class="link">{% trans "Pages" %}</a></li>