Merge pull request #14962 from owncloud/safer-deletion

Add whitespace to right of list to prevent accidental deletion when scrolling
This commit is contained in:
Morris Jobke 2015-03-17 16:54:57 +01:00
commit ebb834d879
2 changed files with 7 additions and 3 deletions

View File

@ -488,7 +488,7 @@ table td.filename .uploadtext {
#fileList img.move2trash { display:inline; margin:-8px 0; padding:16px 8px 16px 8px !important; float:right; }
#fileList a.action.delete {
position: absolute;
right: 0;
right: 15px;
padding: 17px 14px;
}

View File

@ -99,10 +99,14 @@ span.usersLastLoginTooltip { white-space: nowrap; }
display : none;
}
td.remove { width:1em; padding-right:1em; }
tr:hover>td.password>span, tr:hover>td.displayName>span { margin:0; cursor:pointer; }
tr:hover>td.remove>a, tr:hover>td.password>img,tr:hover>td.displayName>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
tr:hover>td.remove>a { float:right; }
td.remove {
width: 25px;
}
tr:hover>td.remove>a {
float: left;
}
div.recoveryPassword { left:50em; display:block; position:absolute; top:-1px; }
input#recoveryPassword {width:15em;}