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

Contacts: Only show group delete action on active group. Ref #94

This commit is contained in:
Thomas Tanghus 2013-02-12 21:19:33 +01:00
parent 8830d8d8a4
commit d370b41062

View File

@ -124,7 +124,7 @@
#grouplist { z-index: 100; }
#grouplist h3 .action:not(.starred):not(.checked):not(.favorite) { float: right; display: none; padding: 0; margin: auto; }
#grouplist h3:not([data-type="shared"]):not(.editing):hover .action.numcontacts, #grouplist h3:not([data-type="shared"]):not(.editing) .active.action.numcontacts { display: inline-block; }
#grouplist h3[data-type="category"]:not(.editing):hover .action.delete { display: inline-block; }
#grouplist h3.active[data-type="category"]:not(.editing):hover .action.delete { display: inline-block; }
#grouplist h3:not(.editing) .action.delete { width: 20px; height: 20px; }
/* First run */
@ -180,6 +180,7 @@
/*.no-svg .add { background-image:url('%webroot%/core/img/actions/add.png'); }*/
.no-svg .delete { background-image:url('%webroot%/core/img/actions/delete.png'); }
/*.no-svg .delete:hover { background-image:url('%webroot%/core/img/actions/delete-hover.png'); }*/
.no-svg .edit { background-image:url('%webroot%/core/img/actions/rename.png'); }
.no-svg .share { background-image:url('%webroot%/core/img/actions/share.png'); }
.no-svg .groups { background-image:url('%webroot%/core/img/actions/shared.png'); }
@ -200,6 +201,7 @@
}
/*.svg .add { background-image:url('%webroot%/core/img/actions/add.svg'); }*/
.svg .delete { background-image:url('%webroot%/core/img/actions/delete.svg'); }
/*.svg .delete:hover { background-image:url('%webroot%/core/img/actions/delete-hover.svg'); }*/
.svg .edit { background-image:url('%webroot%/core/img/actions/rename.svg'); }
.svg .share { background-image:url('%webroot%/core/img/actions/share.svg'); }
.svg .groups { background-image:url('%webroot%/core/img/actions/shared.svg'); }