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

Improve devices page to support focus

This commit is contained in:
Daniel Pan
2016-03-31 17:20:06 +08:00
parent 00566e24bc
commit d07e7be840
2 changed files with 7 additions and 4 deletions

View File

@@ -176,9 +176,12 @@ a:focus, a:hover {
text-decoration: underline; text-decoration: underline;
} }
a:focus { a:focus {
outline: thin dotted; outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color; outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px; outline-offset: -2px;
}
a.black {
color:#322;
} }
img { border:none; } img { border:none; }
textarea { textarea {

View File

@@ -1399,7 +1399,7 @@
<td> <td>
<% if (synced_repos.length > 0) { %> <% if (synced_repos.length > 0) { %>
<div class="dropdown js-dropdown"> <div class="dropdown js-dropdown">
<span class="js-dropdown-toggle cspt"><%- synced_repos_length %> <span class="icon-caret-down"></span></span> <a href="#" class="normal black js-dropdown-toggle"><%- synced_repos_length %> <span class="icon-caret-down"></span></a>
<ul class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide"> <ul class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide">
<% for (var i = 0, len = synced_repos_length; i < len; i++) { %> <% for (var i = 0, len = synced_repos_length; i < len; i++) { %>
<li><a href="#common/lib/<%- synced_repos[i].repo_id %>"><%- synced_repos[i].repo_name %></a></li> <li><a href="#common/lib/<%- synced_repos[i].repo_id %>"><%- synced_repos[i].repo_name %></a></li>