##// END OF EJS Templates
clipboard-action: make the icon provide feedback when clicked.
marcink -
r1954:4c6e1090 default
parent child Browse files
Show More
@@ -100,6 +100,10 b' input + .action-link, .action-link.first'
100 100 color: @grey4;
101 101 }
102 102
103 .clipboard-action {
104 cursor: pointer;
105 }
106
103 107 ul.simple-list{
104 108 list-style: none;
105 109 margin: 0;
@@ -219,6 +219,10 b' var clipboardActivate = function() {'
219 219 var clipboard = new Clipboard('.clipboard-action');
220 220
221 221 clipboard.on('success', function(e) {
222 var callback = function () {
223 $(e.trigger).animate({'opacity': 1.00}, 200)
224 };
225 $(e.trigger).animate({'opacity': 0.15}, 200, callback);
222 226 e.clearSelection();
223 227 });
224 228 };
General Comments 0
You need to be logged in to leave comments. Login now