1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-23 17:20:29 +00:00

[grp list] improved link icons ui

This commit is contained in:
llj 2013-12-20 13:20:19 +08:00
parent 48387eae05
commit 6b6512b54d
3 changed files with 8 additions and 25 deletions

View File

@ -23,29 +23,6 @@
vertical-align: baseline;
speak: none;
}
li [class^="icon-"],
.nav li [class^="icon-"],
li [class*=" icon-"],
.nav li [class*=" icon-"] {
display: inline-block;
width: 1.25em;
text-align: center;
}
li [class^="icon-"].icon-large,
.nav li [class^="icon-"].icon-large,
li [class*=" icon-"].icon-large,
.nav li [class*=" icon-"].icon-large {
/* increased font size for icon-large */
width: 1.5625em;
}
[class^="icon-"].fleft,
[class*=" icon-"].fleft {
margin-right: .3em;
}
[class^="icon-"].fright,
[class*=" icon-"].fright {
margin-left: .3em;
}
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.icon-glass:before { content: "\f000"; }

View File

@ -36,7 +36,6 @@
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
vertical-align:baseline;
/* Better Font Rendering =========== */
@ -1688,6 +1687,13 @@ textarea:-moz-placeholder {/* for FF */
font-size:18px;
color:#FEAC74;
margin-right:5px;
display:inline-block;
vertical-align:middle;
line-height:24px;
height:24px;
}
.group .fast .discuss {
margin-top:-2px; /* for vertical alignment */
}
.group .fast .a:hover {
text-decoration:none;

View File

@ -14,7 +14,7 @@
<p><span class="item-name">{% trans "Time: "%}</span>{{ group.props.timestamp|tsstr_sec }}</p>
<div class="fast vh">
<a href="{% url 'group_info' group.props.id %}" title="{% trans "Libraries" %}" class="a"><span class="sf2-icon-archive"></span></a>
<a href="{% url 'group_discuss' group.props.id %}" title="{% trans "Discussion" %}" class="a"><span class="icon-comment"></span></a>
<a href="{% url 'group_discuss' group.props.id %}" title="{% trans "Discussion" %}" class="a discuss"><span class="icon-comment"></span></a>
{% if group.wiki_enabled %}
<a href="{% url 'group_wiki' group.props.id %}" title="{% trans "Wiki" %}" class="a"><span class="icon-book"></span></a>
{% endif %}