Enhancement: Makes Edit and Delete Icons Tapable, 44px by 44px dimensions.

This commit is contained in:
raghunayyar 2014-02-22 02:40:47 +05:30 committed by Arthur Schiwon
parent d51b384c0c
commit ceb6c4df04
2 changed files with 9 additions and 6 deletions

View file

@ -52,17 +52,20 @@ table.nostyle td { padding: 0.2em 0; }
/* USERS */
.usercount { float: left; margin: 5px; }
li.active span.utils .delete { left: 7px; }
li.active span.utils .delete, li.active span.utils .rename {
float: left; position: relative;
margin: 3px; top: 4px;
top: -7px; width: 44px; height: 44px;
}
li.active span.utils .rename {
width: 16px; height: 16px;
padding: 14px;
cursor: pointer;
}
li.active span.utils .delete img { margin: 14px; }
span.utils .delete, span.utils .rename { display: none; }
#app-navigation ul li.active > span.utils .delete,
#app-navigation ul li.active > span.utils .rename { display: block; }
li.active span.utils .delete {
float: left; position: relative;
margin: 3px; top: 4px;
}
#usersearchform { position: absolute; top: 4px; right: 10px; }
#usersearchform label { font-weight: 700; }
form { display:inline; }

View file

@ -28,7 +28,7 @@
<span class="utils">
<span class="usercount"><?php if(count($group['useringroup']) > 0) { p(count($group['useringroup'])); } ?></span>
<img class="svg action rename" src="<?php p(image_path('core', 'actions/rename.svg'))?>"
alt="<?php p($l->t("change group name"))?>" title="<?php p($l->t("change group name"))?>" />
original-title="<?php p($l->t('Edit'))?>" alt="<?php p($l->t("change group name"))?>" title="<?php p($l->t("change group name"))?>" />
<a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>">
<img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" class="svg" />
</a>