summaryrefslogtreecommitdiffstats
path: root/core/css/icons.css
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-23 14:33:19 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-23 21:49:59 +0200
commitf4bc852db3376f5e602c1970fe76b8698e26f32e (patch)
tree1a8f4e3c8c7717752548b8f66f032bac325a6023 /core/css/icons.css
parentf8f354b351a349898bbb5cdf2d9bee1c798c0f73 (diff)
downloadnextcloud-server-f4bc852db3376f5e602c1970fe76b8698e26f32e.tar.gz
nextcloud-server-f4bc852db3376f5e602c1970fe76b8698e26f32e.zip
Show hint if there is no delete permission
* add class .no-permission which shows the default delete icon * fixes #15172 * add unit test for no permission and for delete permission
Diffstat (limited to 'core/css/icons.css')
-rw-r--r--core/css/icons.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/css/icons.css b/core/css/icons.css
index 0f602515883..e44f9880052 100644
--- a/core/css/icons.css
+++ b/core/css/icons.css
@@ -56,7 +56,9 @@
background-image: url('../img/actions/confirm.svg');
}
-.icon-delete {
+.icon-delete,
+.icon-delete.no-permission:hover,
+.icon-delete.no-permission:focus {
background-image: url('../img/actions/delete.svg');
}
.icon-delete:hover,