1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-30 21:50:59 +00:00

Clean .hidden-op

This commit is contained in:
Daniel Pan 2016-03-14 16:31:52 +08:00 committed by llj
parent 3bea301096
commit d1559c829e
3 changed files with 7 additions and 24 deletions

View File

@ -1936,8 +1936,7 @@ textarea:-moz-placeholder {/* for FF */
.displayed-op .op:hover {
text-decoration:none;
}
.audit-item .audit-select-hidden,
.repo-file-list .hidden-op {
.audit-item .audit-select-hidden {
position:absolute;
background:#fff;
padding:6px 1px;
@ -1945,14 +1944,10 @@ textarea:-moz-placeholder {/* for FF */
border-radius:5px;
z-index:10;
}
.audit-select-hidden li a,
.hidden-op a {
.audit-select-hidden li a {
display:block;
padding:0 12px;
}
.hidden-op a:hover {
background: #eee;
}
.file-choose-form {
width:500px;
padding:10px 20px;

View File

@ -207,7 +207,7 @@
</div>
<% if (dirent.perm == 'rw') { %>
<span class="more-op-icon sf2-icon-caret-down op-icon" title="{% trans "More operations" %}"></span>
<ul class="hidden-op dirent-hidden-op hide">
<ul class="hidden-op dirent-hidden-op hide dropdown-menu">
<li><a class="op rename" href="#">{% trans "Rename" %}</a></li>
<li><a class="op mv" href="#">{% trans "Move" %}</a></li>
<li><a class="op cp" href="#">{% trans "Copy" %}</a></li>
@ -218,7 +218,7 @@
</ul>
<% } else if (dirent.perm == 'r' && !repo_encrypted) { %>
<span class="more-op-icon sf2-icon-caret-down op-icon" title="{% trans "More operations" %}"></span>
<ul class="hidden-op hide">
<ul class="hidden-op dirent-hidden-op hide dropdown-menu">
<li><a class="op cp" href="#">{% trans "Copy" %}</a></li>
</ul>
<% } %>
@ -286,7 +286,7 @@
</div>
<% if (dirent.perm == 'rw') { %>
<span class="more-op-icon sf2-icon-caret-down op-icon" title="{% trans "More Operations"%}"></span>
<ul class="hidden-op dirent-hidden-op hide">
<ul class="hidden-op dirent-hidden-op hide dropdown-menu">
<li><a class="op rename" href="#">{% trans "Rename" %}</a></li>
<li><a class="op mv" href="#">{% trans "Move" %}</a></li>
<li><a class="op cp" href="#">{% trans "Copy" %}</a></li>
@ -308,7 +308,7 @@
</ul>
<% } else if (dirent.perm == 'r' && !repo_encrypted) { %>
<span class="more-op-icon sf2-icon-caret-down op-icon" title="{% trans "More operations" %}"></span>
<ul class="hidden-op hide">
<ul class="hidden-op dirent-hidden-op hide dropdown-menu">
<li><a class="op cp" href="#">{% trans "Copy" %}</a></li>
</ul>
<% } %>

View File

@ -17,18 +17,6 @@
padding-left:30px;
width:120px;
}
.repo-file-list .hidden-op {
min-width: 100px;
white-space:nowrap;
}
.hidden-op a {
color:#444;
}
.hidden-op a:hover {
color:#fff;
text-decoration:none;
background:#feaa7c;
}
/* custom select2 */
.select2-container-multi .select2-choices {
border-color: #ddd;