mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-24 01:30:57 +00:00
[grp list] improved link icons ui
This commit is contained in:
parent
48387eae05
commit
6b6512b54d
23
media/css/font-awesome.css
vendored
23
media/css/font-awesome.css
vendored
@ -23,29 +23,6 @@
|
|||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
speak: none;
|
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
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||||
readers do not read off random characters that represent icons */
|
readers do not read off random characters that represent icons */
|
||||||
.icon-glass:before { content: "\f000"; }
|
.icon-glass:before { content: "\f000"; }
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
line-height: 1;
|
|
||||||
vertical-align:baseline;
|
vertical-align:baseline;
|
||||||
|
|
||||||
/* Better Font Rendering =========== */
|
/* Better Font Rendering =========== */
|
||||||
@ -1688,6 +1687,13 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
font-size:18px;
|
font-size:18px;
|
||||||
color:#FEAC74;
|
color:#FEAC74;
|
||||||
margin-right:5px;
|
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 {
|
.group .fast .a:hover {
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<p><span class="item-name">{% trans "Time: "%}</span>{{ group.props.timestamp|tsstr_sec }}</p>
|
<p><span class="item-name">{% trans "Time: "%}</span>{{ group.props.timestamp|tsstr_sec }}</p>
|
||||||
<div class="fast vh">
|
<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_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 %}
|
{% if group.wiki_enabled %}
|
||||||
<a href="{% url 'group_wiki' group.props.id %}" title="{% trans "Wiki" %}" class="a"><span class="icon-book"></span></a>
|
<a href="{% url 'group_wiki' group.props.id %}" title="{% trans "Wiki" %}" class="a"><span class="icon-book"></span></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user