From 3536fcc81a9548f23204b2b0efc4c9084a4548dc Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Thu, 27 Feb 2014 15:03:44 +0100 Subject: [PATCH 1/2] Add missing class for list item delete --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index ed69e50f..3d183c0c 100644 --- a/js/app.js +++ b/js/app.js @@ -944,7 +944,7 @@ OC.Contacts = OC.Contacts || { this.$contactList.on('mouseenter', 'tr.contact', function(event) { var $td = $(this).find('td').filter(':visible').last(); - $('').addClass('svg delete action').appendTo($td); + $('').addClass('icon-delete svg delete action').appendTo($td); }); this.$contactList.on('mouseleave', 'tr.contact', function(event) { From ad15cb6471f6cc3ea963f5d6999396f28c6c68ab Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Thu, 27 Feb 2014 18:21:34 +0100 Subject: [PATCH 2/2] Remove unneeded icon class --- css/contacts.css | 9 ++++--- templates/contacts.php | 56 +++++++++++++++++++++--------------------- 2 files changed, 33 insertions(+), 32 deletions(-) diff --git a/css/contacts.css b/css/contacts.css index 2a72e507..d24a3953 100644 --- a/css/contacts.css +++ b/css/contacts.css @@ -524,8 +524,8 @@ input:not([type=checkbox]).propertytype { } input[type=checkbox].propertytype { width: 10px; } .contactphoto { - border: 1px solid #bbb; - -moz-box-shadow: 0 1px 3px #777; -webkit-box-shadow: 0 1px 3px #777; box-shadow: 0 1px 3px #777; + border: 1px solid #bbb; border-radius: 3px; + -moz-box-shadow: 0 1px 2px #777; -webkit-box-shadow: 0 1px 2px #777; box-shadow: 0 1px 2px #777; } .contactphoto:hover { background: #fff; cursor: default; } #photowrapper { @@ -551,7 +551,8 @@ input[type=checkbox].propertytype { width: 10px; } width:auto; height: auto; background-color:#fff; list-style-type:none; border-radius: 3px; - -moz-box-shadow: 0 1px 3px #777; -webkit-box-shadow: 0 1px 3px #777; box-shadow: 0 1px 3px #777; + border: 1px solid #DDDDDD; + /*-moz-box-shadow: 0 1px 2px #777; -webkit-box-shadow: 0 1px 2px #777; box-shadow: 0 1px 2px #777;*/ } #phototools li { display: inline-block; } #phototools li a { @@ -559,7 +560,7 @@ input[type=checkbox].propertytype { width: 10px; } opacity: 0.6; width: 40px; height: 40px; background-position: center; - background-size: 90%; + background-size: 80%; } #phototools li a:hover { opacity: 0.8; } #contactphoto_fileupload, #import_upload_start { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; z-index:1001; } diff --git a/templates/contacts.php b/templates/contacts.php index 733c7b71..9028ac0c 100644 --- a/templates/contacts.php +++ b/templates/contacts.php @@ -28,7 +28,7 @@ - +
  • @@ -56,15 +56,15 @@ - + t('Delete')); ?> <?php p($l->t('Delete'))?>" /> - t('Download')); ?> - t('Merge')); ?> + t('Download')); ?> + t('Merge')); ?> t('Email')); ?> @@ -160,8 +160,8 @@
  • {name} - - + + {num}
  • @@ -192,7 +192,7 @@ {email} - + {tel} {adr} @@ -220,10 +220,10 @@
  • @@ -268,7 +268,7 @@ - + @@ -278,7 +278,7 @@ - + @@ -288,7 +288,7 @@ - + @@ -298,7 +298,7 @@ - + @@ -375,8 +375,8 @@ - - + +
  • @@ -390,7 +390,7 @@ - + @@ -404,8 +404,8 @@ - - + + @@ -421,8 +421,8 @@ {value} - - + +