diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 14:05:38 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 14:05:38 +0100 |
commit | 332542bc6814bd16c2daf47dc776f9f4b126ec2e (patch) | |
tree | 83178767d115b04769e538bfb51a23631bef1044 /client/src/app/account/account-videos/account-videos.component.scss | |
parent | a2b817d322ef4074bdaaf2589ada567f338323f4 (diff) | |
download | PeerTube-332542bc6814bd16c2daf47dc776f9f4b126ec2e.tar.gz PeerTube-332542bc6814bd16c2daf47dc776f9f4b126ec2e.tar.zst PeerTube-332542bc6814bd16c2daf47dc776f9f4b126ec2e.zip |
Add delete button to my videos
Diffstat (limited to 'client/src/app/account/account-videos/account-videos.component.scss')
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.scss | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.scss b/client/src/app/account/account-videos/account-videos.component.scss index c31497350..7ac25afc3 100644 --- a/client/src/app/account/account-videos/account-videos.component.scss +++ b/client/src/app/account/account-videos/account-videos.component.scss | |||
@@ -25,7 +25,7 @@ | |||
25 | } | 25 | } |
26 | } | 26 | } |
27 | 27 | ||
28 | .edit-button { | 28 | .action-button { |
29 | @include peertube-button-link; | 29 | @include peertube-button-link; |
30 | 30 | ||
31 | font-size: 15px; | 31 | font-size: 15px; |
@@ -33,15 +33,27 @@ | |||
33 | color: #585858; | 33 | color: #585858; |
34 | background-color: #E5E5E5; | 34 | background-color: #E5E5E5; |
35 | 35 | ||
36 | .icon.icon-edit { | 36 | &.action-button-delete { |
37 | margin-right: 10px; | ||
38 | } | ||
39 | |||
40 | .icon.icon-edit, .icon.icon-delete { | ||
37 | display: inline-block; | 41 | display: inline-block; |
38 | background: url('../../../assets/images/account/edit.svg') no-repeat; | 42 | background-repeat: no-repeat; |
39 | background-size: contain; | 43 | background-size: contain; |
40 | width: 21px; | 44 | width: 21px; |
41 | height: 21px; | 45 | height: 21px; |
42 | vertical-align: middle; | 46 | vertical-align: middle; |
43 | position: relative; | 47 | position: relative; |
44 | top: -2px; | 48 | top: -2px; |
49 | |||
50 | &.icon-edit { | ||
51 | background-image: url('../../../assets/images/account/edit.svg'); | ||
52 | } | ||
53 | |||
54 | &.icon-delete { | ||
55 | background-image: url('../../../assets/images/account/delete.svg'); | ||
56 | } | ||
45 | } | 57 | } |
46 | } | 58 | } |
47 | } | 59 | } |