]> source.dussan.org Git - nextcloud-server.git/commitdiff
Issue-1776: Add unshare function to 3-dot menu. 1955/head
authorJulia Bode <julia.bode@lulisaur.us>
Sat, 29 Oct 2016 14:32:15 +0000 (16:32 +0200)
committerJulia Bode <julia.bode@lulisaur.us>
Sat, 29 Oct 2016 15:07:06 +0000 (17:07 +0200)
Signed-off-by: Julia Bode <julia.bode@lulisaur.us>
apps/files_sharing/css/sharetabview.css
core/css/share.css
core/js/sharedialogshareelistview.js

index 9592250a7a8145100b129be46565ef99a4b075fd..1de0cc7c75d9c979a20f168a0b5124aa5a1bdc55 100644 (file)
        vertical-align: sub;
 }
 
+#shareWithList .unshare {
+       padding: 0;
+}
+
 #shareWithList .unshare .icon-delete {
-       padding-left: 15px;
-       padding-right: 15px;
+       padding-right: 4px;
+       background-position-x: 0;
 }
 
 #shareWithList label input[type=checkbox]{
index 042c4ddf2aeca7e762848d385a8dff18f63cc24e..b2c47608933d9012cab7d149f27d7ec5d1472728 100644 (file)
 
 #shareWithList .sharingOptionsGroup {
        position: absolute;
-       right: 0;
+       right: 15px;
 }
 
 #shareWithList .sharingOptionsGroup .popovermenu {
-       right: 44px;
+       right: -22px;
+       top: 30px;
 }
 
 #shareWithList .shareOption {
index 9b0d9c8c50eb5385273dd556270ac95bf801731e..66ed85eda33f78414e4a3c6c63ac136488250065 100644 (file)
                                                                        '</li>' +
                                                                        '{{/if}}' +
                                                                '{{/if}}' +
+                                                               '<li>' +
+                                                                       '<a href="#" class="unshare"><span class="icon-loading-small hidden"></span><span class="icon icon-delete"></span><span>{{unshareLabel}}</span></a>' +
+                                                               '</li>' +
                                                        '</ul>' +
                                                '</div>' +
-                                               '<a href="#" class="unshare"><span class="icon-loading-small hidden"></span><span class="icon icon-delete"></span><span class="hidden-visually">{{unshareLabel}}</span></a>' +
-                                       '</span>' +
+                                               '</span>' +
                                '</li>' +
                        '{{/each}}' +
                        '{{#each linkReshares}}' +