diff options
author | Julien Lemaire <sticmac@outlook.fr> | 2017-12-11 11:59:39 -0500 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-11 17:59:39 +0100 |
commit | c7e1e432b0e5d321ff2331cf3ddff56c43500788 (patch) | |
tree | 753cdd499a0f04059869a96f41fb6a20d8eef258 /client/src/app/videos/+video-watch/video-share.component.scss | |
parent | ed9f9f5fb04437b8dcf164fd0ae9c29b90826096 (diff) | |
download | PeerTube-c7e1e432b0e5d321ff2331cf3ddff56c43500788.tar.gz PeerTube-c7e1e432b0e5d321ff2331cf3ddff56c43500788.tar.zst PeerTube-c7e1e432b0e5d321ff2331cf3ddff56c43500788.zip |
Copy to clipboard (#142)
* Copy buttons on share view
Ugly but working buttons to copy video url and video iframe code.
Add ngx-clipboard dependency to allow easy copy to clipboard directive.
* Designed copy buttons
Using some css (scss) rules to make buttons look better.
* First version on copy feedback
Little success alert message on copy.
Fix lint errors
Move dependencies to dev dependencies
* Update button design
* Use of notifications service
Provides feedback of copy action to the user through the
angular2-notifications module.
Diffstat (limited to 'client/src/app/videos/+video-watch/video-share.component.scss')
-rw-r--r-- | client/src/app/videos/+video-watch/video-share.component.scss | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-share.component.scss b/client/src/app/videos/+video-watch/video-share.component.scss new file mode 100644 index 000000000..519631792 --- /dev/null +++ b/client/src/app/videos/+video-watch/video-share.component.scss | |||
@@ -0,0 +1,3 @@ | |||
1 | .btn-search { | ||
2 | padding: 4.1px 12px; | ||
3 | } | ||