summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-02-22 02:40:47 +0530
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:53 +0200
commitceb6c4df04c15f3c16af6675b02e460b1ab4b473 (patch)
tree580268e85c5994f460f7727959fd13433ba43482
parentd51b384c0c52771225dbf3f0ab8d379e2ed9ca31 (diff)
downloadnextcloud-server-ceb6c4df04c15f3c16af6675b02e460b1ab4b473.tar.gz
nextcloud-server-ceb6c4df04c15f3c16af6675b02e460b1ab4b473.zip
Enhancement: Makes Edit and Delete Icons Tapable, 44px by 44px dimensions.
-rw-r--r--settings/css/settings.css13
-rw-r--r--settings/templates/users/part.grouplist.php2
2 files changed, 9 insertions, 6 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 067f80fc9a7..0e62ab6763d 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -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; }
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index cf7338b5096..ce038c90107 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -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>