1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-10 21:24:33 +01:00

Merge branch 'master' of https://github.com/owncloud/contacts into ldap

This commit is contained in:
babelouest 2014-02-07 15:56:20 -05:00
commit 904bc4b523
2 changed files with 10 additions and 8 deletions

View File

@ -676,8 +676,9 @@ fieldset.adr ul li input.label { margin-top: -4px !important; }
.multiselect #contactsHeader > td.name {
width: 100%;
display: inline-block;
background-color: white;
opacity: 1;
color: #000;
background-color: rgba(220, 220, 220, 0.8);
opacity: 0.9;
}
#contactsHeader .delete {
background-image: none;
@ -778,12 +779,10 @@ tbody tr.contact.active, tbody tr.contact:hover {
vertical-align: top;
white-space: nowrap;
}
#contactlist tr > td {
#contactlist tbody > tr > td {
min-width: 80px;
line-height: 50px;
}
#contactlist:not(.multiselect) tr > td {
max-width: 250px;
line-height: 50px;
}
#contactlist tbody > tr > td.name > input[type=checkbox]:first-child:not(.toggle) {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0;
@ -916,6 +915,9 @@ tbody tr.contact.active, tbody tr.contact:hover {
#contactsHeader tr td.tel { display: none; }
#app-navigation { width: 200px; }
#app-settings { width: 199px; }
.multiselect #contactsHeader {
margin-left: 280px; padding-right: 280px;
}
}
@media screen and (max-width: 900px) {
#contactsHeader .delete { display: none; }

View File

@ -2476,8 +2476,8 @@ OC.Contacts = OC.Contacts || {};
if(rows[0].firstElementChild && rows[0].firstElementChild.textContent) {
rows.sort(function(a, b) {
// 10 (TEN!) times faster than using jQuery!
return a.firstElementChild.textContent.trim().toUpperCase()
.localeCompare(b.firstElementChild.textContent.trim().toUpperCase());
return a.firstElementChild.lastElementChild.textContent.trim().toUpperCase()
.localeCompare(b.firstElementChild.lastElementChild.textContent.trim().toUpperCase());
});
} else {
// IE8 doesn't support firstElementChild or textContent